@everymatrix/casino-engagement-suite-container 1.72.2 → 1.73.0
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/dist/casino-engagement-suite-container/casino-engagement-suite-bar_17.entry.js +1 -1
- package/dist/casino-engagement-suite-container/tournament-item-title_2.entry.js +1 -1
- package/dist/casino-engagement-suite-container/{util.date-bda58828.js → util.date-3169fc53.js} +1 -1
- package/dist/cjs/casino-engagement-suite-bar_17.cjs.entry.js +36 -17
- package/dist/cjs/tournament-item-title_2.cjs.entry.js +1 -1
- package/dist/cjs/{util.date-785bd504.js → util.date-e14691ef.js} +1 -1
- package/dist/collection/components/casino-engagement-suite-container/casino-engagement-suite-container.js +9 -3
- package/dist/collection/utils/constants.js +1 -0
- package/dist/esm/casino-engagement-suite-bar_17.entry.js +36 -17
- package/dist/esm/tournament-item-title_2.entry.js +1 -1
- package/dist/esm/{util.date-bda58828.js → util.date-3169fc53.js} +1 -1
- package/dist/types/utils/constants.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as i,h as s}from"./index-58fe1cb7.js";import{D as e,d as n,r as a,t as h,L as d,f as o,b as r,h as c}from"./util.date-
|
|
1
|
+
import{r as t,c as i,h as s}from"./index-58fe1cb7.js";import{D as e,d as n,r as a,t as h,L as d,f as o,b as r,h as c}from"./util.date-3169fc53.js";import"./utils-25141486.js";const l=class{constructor(s){t(this,s),this.unjoinTournamentConfirmEvent=i(this,"unjoinTournamentConfirmEvent",7),this.joinTournamentEvent=i(this,"joinTournamentEvent",7),this.tournament=void 0,this.language="en",this.isButtonDisabed=!1}onTournamentChanged(t){this.isButtonDisabed=!0===t.isActionJoinPending}onClickItemJoin(){this.isButtonDisabed||(this.isButtonDisabed=!this.tournament.isPlayerAcknowledged,this.tournament.isPlayerAcknowledged?this.unjoinTournamentConfirmEvent.emit({type:e.unjoin,tournament:this.tournament}):this.joinTournamentEvent.emit(this.tournament))}componentDidLoad(){this.isButtonDisabed=!0===this.tournament.isActionJoinPending}render(){return s("div",{key:"3123b0ffd6335833a5938b13e4c620ded693da38",class:"TitleContainer"},s("div",{key:"88977f242dd5cce6265c679ae55dc1dfdecd7fd0",class:"Title"},this.tournament.nameOrTitle),!n(this.tournament)&&s("div",{key:"bf2aad175409e687ed2bd42350a7f8585d86c112"},a({statedClasses:{isHollow:this.tournament.isPlayerAcknowledged,isPending:this.isButtonDisabed},onClick:t=>{t.stopPropagation(),this.onClickItemJoin()},innerHTML:h(this.tournament.isPlayerAcknowledged?"Unjoin":"Join",this.language)})))}static get watchers(){return{tournament:["onTournamentChanged"]}}},m=class{constructor(i){t(this,i),this.tournament=void 0,this.isDetail=!1,this.timeHolder=void 0,this.timeClock=!0,this.lastTimeDiff=void 0,this.lastProgress=void 0}containerPageChangeHandler(t){this.timeClock=t.detail.page===d.list&&!this.isDetail||t.detail.page===d.item&&this.isDetail}componentWillLoad(){this.lastProgress=o(this.tournament.startTime,this.tournament.endTime),this.lastTimeDiff=r(new Date,this.tournament.endTime,this.lastProgress)}setTimeInterval(){this.timeHolder=setInterval((()=>{const t=o(this.tournament.startTime,this.tournament.endTime),i=r(new Date,this.tournament.endTime,t);!this.timeClock||n(this.tournament)||i==this.lastTimeDiff&&t==this.lastProgress||(this.lastProgress=t,this.lastTimeDiff=i)}),2e3)}connectedCallback(){this.setTimeInterval()}disconnectedCallback(){clearInterval(this.timeHolder)}render(){return s("section",{key:"11426165a8f384d97f2b0158f7435f80ac0965a2",class:"TimeContainer"},s("div",{key:"b86c8a42a73b358fcc855a853cb322d1d314471a",class:"Time"},"Running"===this.tournament.state?s("div",{class:"Running"},s("div",null,this.lastTimeDiff),s("div",null,a({statedClasses:{isHollow:!0,isPending:!!this.tournament.isActionJoinPending},innerHTML:`${this.lastProgress}%`}))):[s("div",{class:"NotRunning"},c(this.tournament.startTime)),s("div",null,c(this.tournament.endTime))]),s("casino-engagement-suite-progress-bar",{key:"7f98e88679f30d0a0737d94ee806b1d92800b6a3",indeterminate:!1,value:Number(this.lastProgress>=100?100:this.lastProgress),"hide-percent":!0}))}};export{l as tournament_item_title,m as tournament_timer}
|
package/dist/casino-engagement-suite-container/{util.date-bda58828.js → util.date-3169fc53.js}
RENAMED
|
@@ -12,4 +12,4 @@ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
|
12
12
|
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
13
13
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
14
14
|
PERFORMANCE OF THIS SOFTWARE.
|
|
15
|
-
***************************************************************************** */function a(e,n){var a={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&n.indexOf(t)<0&&(a[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(t=Object.getOwnPropertySymbols(e);r<t.length;r++)n.indexOf(t[r])<0&&Object.prototype.propertyIsEnumerable.call(e,t[r])&&(a[t[r]]=e[t[r]])}return a}var t,r;!function(e){e.info="info",e.leaderboard="leaderboard",e.games="games"}(t||(t={})),function(e){e.Starts="Starts",e.Ends="Ends"}(r||(r={}));const o=["en","zh"],i=(e,n)=>(Object.keys(n).map((a=>{e=e.replace(`{${a}}`,n[a])})),e),s={en:Object.assign(Object.assign(Object.assign({Join:"Join",Unjoin:"Unjoin"},t),r),{TC:"Terms & Conditions",ScoreCriteria:"Score Criteria",MinimumBetCriteria:"Minimum bet criteria",Place:"place",Places:"places",Prizes:"Rewards",Player:"Player",Rank:"Rank",Score:"Score",Prize:"Prize",LeaderboardDetails:"Leaderboard Details",UnjoinDialog:{Title:"Quit Leaderboard?",Description:"Any progress on the current Leaderboard won’t be kept and you can not rejoin the Leaderboard any more. <br /><br />Would you still like to quit?",ButtonYes:"Yes, I want to quit leaderboard",ButtonNo:"No, Stay on the leaderboard"},WinDialog:{Title:"Congratulations!",Description:"You won <span>{rewards}</span>!",ButtonContinue:"Continue",FailedTitle:"Reward cannot be issued",FailedDescription:"Please contact support.",FailedButtonContinue:"Ok, continue"},NoLeaderboards:"No Leaderboards yet",NoLeaderboardsTip:"Try winning tickets to Leaderboards as rewards or launching other booster games",Leaderboards:"Leaderboards",TipPrize:"You took <span>{place}</span> place and win <span>{prize}</span>",TipPrizeWithoutReward:"You took <span>{place}</span> place</span>",Tip:"Competition where your real money bets contribute towards the leaderboard score calculation to win the leaderboard reward.",TournamentNotStarted:"The leaderboard is not started yet. <br> It will start in {startTime}.",BeOne:"No winners for the time being. Be one of them!",NoGameConfiged:"No game configed",FailedToJoin:"Oops! some unexpected error happened, please try it again.",FailedToUnjoin:"Oops! some unexpected error happened, please try it again."}),zh:{Join:"加入",Unjoin:"取消",info:"信息",leaderboard:"排行榜",games:"游戏",Starts:"开始",Ends:"结束",TC:"条款与条件",ScoreCriteria:"积分规则",MinimumBetCriteria:"最低投注要求",Place:"名次",Places:"名次",Prizes:"奖励",Player:"玩家",Rank:"排名",Score:"积分",Prize:"奖品",LeaderboardDetails:"排行榜详情",UnjoinDialog:{Title:"退出排行榜?",Description:"当前排行榜的进度将不会被保留,且您无法再次加入该排行榜。 <br /><br />您确定要退出吗?",ButtonYes:"是的,我要退出排行榜",ButtonNo:"不,留在排行榜"},WinDialog:{Title:"恭喜!",Description:"您赢得了 <span>{rewards}</span>!",ButtonContinue:"继续",FailedTitle:"奖励无法发放",FailedDescription:"请联系客服。",FailedButtonContinue:"好的,继续"},NoLeaderboards:"暂无排行榜",NoLeaderboardsTip:"尝试通过赢得奖品或启动其他增强游戏来获得排行榜",Leaderboards:"排行榜",TipPrize:"您获得 <span>{place}</span> 名,并赢得 <span>{prize}</span>",TipPrizeWithoutReward:"您获得 <span>{place}</span> 名",Tip:"您的真实资金投注将计入排行榜积分计算,以赢得排行榜奖励。",TournamentNotStarted:"排行榜尚未开始。 <br> 它将在 {startTime} 开始。",BeOne:"目前暂无赢家。成为其中之一!",NoGameConfiged:"没有配置游戏",FailedToJoin:"哦哦!发生了一些意外错误,请再试一次。",FailedToUnjoin:"哦哦!发生了一些意外错误,请再试一次。"}},d=(e,n)=>{const a=n;return s[void 0!==a&&o.includes(a)?a:"en"][e]};var l,u,c,p;!function(e){e.list="list",e.item="item"}(l||(l={})),function(e){e.Running="Running",e.Unstarted="Unstarted",e.Closed="Closed",e.Closing="Closing"}(u||(u={})),function(e){e.FreeSpin="FreeSpin",e.Mission="Challenge",e.Leaderboard="TournamentTicket",e.Custom="Custom",e.LuckyWheel="PrizeEngine"}(c||(c={})),function(e){e.unjoin="unjoin",e.tip="tip",e.gift="gift",e.error="error"}(p||(p={}));const b=
|
|
15
|
+
***************************************************************************** */function a(e,n){var a={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&n.indexOf(t)<0&&(a[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(t=Object.getOwnPropertySymbols(e);r<t.length;r++)n.indexOf(t[r])<0&&Object.prototype.propertyIsEnumerable.call(e,t[r])&&(a[t[r]]=e[t[r]])}return a}var t,r;!function(e){e.info="info",e.leaderboard="leaderboard",e.games="games"}(t||(t={})),function(e){e.Starts="Starts",e.Ends="Ends"}(r||(r={}));const o=["en","zh"],i=(e,n)=>(Object.keys(n).map((a=>{e=e.replace(`{${a}}`,n[a])})),e),s={en:Object.assign(Object.assign(Object.assign({Join:"Join",Unjoin:"Unjoin"},t),r),{TC:"Terms & Conditions",ScoreCriteria:"Score Criteria",MinimumBetCriteria:"Minimum bet criteria",Place:"place",Places:"places",Prizes:"Rewards",Player:"Player",Rank:"Rank",Score:"Score",Prize:"Prize",LeaderboardDetails:"Leaderboard Details",UnjoinDialog:{Title:"Quit Leaderboard?",Description:"Any progress on the current Leaderboard won’t be kept and you can not rejoin the Leaderboard any more. <br /><br />Would you still like to quit?",ButtonYes:"Yes, I want to quit leaderboard",ButtonNo:"No, Stay on the leaderboard"},WinDialog:{Title:"Congratulations!",Description:"You won <span>{rewards}</span>!",ButtonContinue:"Continue",FailedTitle:"Reward cannot be issued",FailedDescription:"Please contact support.",FailedButtonContinue:"Ok, continue"},NoLeaderboards:"No Leaderboards yet",NoLeaderboardsTip:"Try winning tickets to Leaderboards as rewards or launching other booster games",Leaderboards:"Leaderboards",TipPrize:"You took <span>{place}</span> place and win <span>{prize}</span>",TipPrizeWithoutReward:"You took <span>{place}</span> place</span>",Tip:"Competition where your real money bets contribute towards the leaderboard score calculation to win the leaderboard reward.",TournamentNotStarted:"The leaderboard is not started yet. <br> It will start in {startTime}.",BeOne:"No winners for the time being. Be one of them!",NoGameConfiged:"No game configed",FailedToJoin:"Oops! some unexpected error happened, please try it again.",FailedToUnjoin:"Oops! some unexpected error happened, please try it again."}),zh:{Join:"加入",Unjoin:"取消",info:"信息",leaderboard:"排行榜",games:"游戏",Starts:"开始",Ends:"结束",TC:"条款与条件",ScoreCriteria:"积分规则",MinimumBetCriteria:"最低投注要求",Place:"名次",Places:"名次",Prizes:"奖励",Player:"玩家",Rank:"排名",Score:"积分",Prize:"奖品",LeaderboardDetails:"排行榜详情",UnjoinDialog:{Title:"退出排行榜?",Description:"当前排行榜的进度将不会被保留,且您无法再次加入该排行榜。 <br /><br />您确定要退出吗?",ButtonYes:"是的,我要退出排行榜",ButtonNo:"不,留在排行榜"},WinDialog:{Title:"恭喜!",Description:"您赢得了 <span>{rewards}</span>!",ButtonContinue:"继续",FailedTitle:"奖励无法发放",FailedDescription:"请联系客服。",FailedButtonContinue:"好的,继续"},NoLeaderboards:"暂无排行榜",NoLeaderboardsTip:"尝试通过赢得奖品或启动其他增强游戏来获得排行榜",Leaderboards:"排行榜",TipPrize:"您获得 <span>{place}</span> 名,并赢得 <span>{prize}</span>",TipPrizeWithoutReward:"您获得 <span>{place}</span> 名",Tip:"您的真实资金投注将计入排行榜积分计算,以赢得排行榜奖励。",TournamentNotStarted:"排行榜尚未开始。 <br> 它将在 {startTime} 开始。",BeOne:"目前暂无赢家。成为其中之一!",NoGameConfiged:"没有配置游戏",FailedToJoin:"哦哦!发生了一些意外错误,请再试一次。",FailedToUnjoin:"哦哦!发生了一些意外错误,请再试一次。"}},d=(e,n)=>{const a=n;return s[void 0!==a&&o.includes(a)?a:"en"][e]};var l,u,c,p;!function(e){e.list="list",e.item="item"}(l||(l={})),function(e){e.Running="Running",e.Unstarted="Unstarted",e.Closed="Closed",e.Closing="Closing"}(u||(u={})),function(e){e.FreeSpin="FreeSpin",e.Mission="Challenge",e.Leaderboard="TournamentTicket",e.Custom="Custom",e.LuckyWheel="PrizeEngine"}(c||(c={})),function(e){e.unjoin="unjoin",e.tip="tip",e.gift="gift",e.error="error"}(p||(p={}));const b=12,m=e=>{let n=null;return(e||[]).map((e=>{var a;const{leaderBoard:{rank:t}}=e;t&&(n=!n||(null===(a=n.leaderBoard)||void 0===a?void 0:a.rank)>t?e:n)})),{rank:n?`${n.leaderBoard.rank} / ${n.endRank}`:"-",detail:n?{playerRank:n.leaderBoard.rank,total:n.endRank}:null}},g=e=>[u.Closed].includes(e.state),T=e=>[u.Closed,u.Closing].includes(e.state),h=e=>{switch(e.type){case c.FreeSpin:return e.campaignName;case c.Mission:return e.challengeName;case c.Leaderboard:return e.ticketProgramName;case c.LuckyWheel:return e.prizeEngineProgramName;case c.Custom:return e.value;default:return e.name}},f=t=>{var{statedClasses:r,innerHTML:o}=t,i=a(t,["statedClasses","innerHTML"]);const{isHollow:s,isPending:d}=r;return e("button",Object.assign({class:n("GradientRoundedButton","GradientRounded",{Hollow:s||!1,Pending:d||!1})},i),e("span",null,o))};function w(e){return e.toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric",hour:"2-digit",minute:"2-digit",hour12:!1}).replace(" at",",")}function C(e,n){return(new Date).getTime()>=n.getTime()?100:Math.floor(100*((new Date).getTime()-e.getTime())/(n.getTime()-e.getTime()))}function j(e,n,a=0){const t=Math.abs(n.getTime()-e.getTime()),r=Math.floor(t/864e5),o=Math.floor(t%864e5/36e5),i=Math.floor(t%36e5/6e4),s=100===a?0:0===i?1:i;return`${String(r).padStart(2,"0")}d:${String(o).padStart(2,"0")}h:${String(s).padStart(2,"0")}m`}export{p as D,l as L,t as T,a as _,h as a,j as b,s as c,T as d,b as e,C as f,m as g,w as h,g as i,i as l,f as r,d as t}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-14c77f03.js');
|
|
6
|
-
const util_date = require('./util.date-
|
|
6
|
+
const util_date = require('./util.date-e14691ef.js');
|
|
7
7
|
const utils = require('./utils-22119cc1.js');
|
|
8
8
|
|
|
9
9
|
function formatBalance$4(amount, currency, maxAmount = 99999999) {
|
|
@@ -3151,6 +3151,7 @@ const MODAL_TYPES = {
|
|
|
3151
3151
|
TARGET_MODAL: 'TARGET_MODAL',
|
|
3152
3152
|
SUPPORT_MODAL: 'SUPPORT_MODAL',
|
|
3153
3153
|
NO_SPIN_LEFT_MODAL: 'NO_SPIN_LEFT_MODAL',
|
|
3154
|
+
NO_PRIZE_MODAL: 'NO_PRIZE_MODAL'
|
|
3154
3155
|
};
|
|
3155
3156
|
|
|
3156
3157
|
const casinoEngagementSuiteContainerCss = ":host{display:inline-block;font-family:inherit}.Backdrop{padding:20px 20px 20px 172px;display:none;position:fixed;inset:0;height:100dvh;width:100vw}.Backdrop.Opened{display:block}.Backdrop .CasinoEngagementSuiteDialog{height:calc(100dvh - 40px);max-width:600px}.CasinoEngagementSuiteContainer.Portrait{width:100vw}.CasinoEngagementSuiteContainer.Portrait .Backdrop{padding:calc(var(--barHeight) + 12px) 0 20px}.CasinoEngagementSuiteContainer.Portrait .Backdrop .CasinoEngagementSuiteDialog{max-width:initial;padding:0 4px;margin:0 auto;height:calc(100dvh - (var(--barHeight) + 20px))}.CasinoEngagementSuiteContainer.Landscape.Mobile .CasinoEngagementSuiteDialog{max-width:366px}.CasinoEngagementSuiteContainer.Landscape.Desktop .Backdrop{padding-left:272px}";
|
|
@@ -3550,8 +3551,14 @@ const CasinoEngagementSuiteContainer = class {
|
|
|
3550
3551
|
break;
|
|
3551
3552
|
}
|
|
3552
3553
|
case 'ShowLuckywheelRewardModal': {
|
|
3553
|
-
const { HasError, PrizeMessage, PrizeText } = rest.data;
|
|
3554
|
-
|
|
3554
|
+
const { HasError, PrizeMessage, PrizeText, NoPrize } = rest.data;
|
|
3555
|
+
let type = MODAL_TYPES.REWARD_MODAL;
|
|
3556
|
+
if (HasError) {
|
|
3557
|
+
type = MODAL_TYPES.SUPPORT_MODAL;
|
|
3558
|
+
}
|
|
3559
|
+
else if (NoPrize) {
|
|
3560
|
+
type = MODAL_TYPES.NO_PRIZE_MODAL;
|
|
3561
|
+
}
|
|
3555
3562
|
this.setRemainingLuckyWheels();
|
|
3556
3563
|
const event = {
|
|
3557
3564
|
modalType: type,
|
|
@@ -3837,7 +3844,7 @@ const CasinoEngagementSuiteContainer = class {
|
|
|
3837
3844
|
return (((_d = (_c = (_b = (_a = this.challenges) === null || _a === void 0 ? void 0 : _a.find((el) => el.Id === challengeId)) === null || _b === void 0 ? void 0 : _b.LevelProgresses) === null || _c === void 0 ? void 0 : _c.find((el) => el.LevelId === levelId)) === null || _d === void 0 ? void 0 : _d.CustomRewardMessage) || '');
|
|
3838
3845
|
}
|
|
3839
3846
|
render() {
|
|
3840
|
-
return (index.h("div", { key: '
|
|
3847
|
+
return (index.h("div", { key: '806091d9b47fb8b500efa55b8f5e7d805734095d', class: `CasinoEngagementSuiteContainer ${this.device} ${this.orientation}`, style: { ['--barHeight']: `${this.barHeight}px` } }, index.h("div", { key: 'fad160ba7e27afbec626c9ac39f75d3f058371d4', class: "barWrapper", ref: (el) => (this.barWrapperEl = el) }, index.h("casino-engagement-suite-bar", { key: 'cb5c8e908eab03b51b59b6563f320955aff85a5b', clientStylingUrl: this.clientStylingUrl, orientation: this.orientation, device: this.device, "active-widget": this.activeWidget, "is-challenge-label": this.isChallengeLabel, "is-spin-forfeited-label": this.isForfeitedSpinsLabel, leaderboards: this.leaderboards, jackpots: this.jackpots, remainingFreeSpins: this.remainingFreeSpins, remainingLuckywheels: this.remainingLuckywheels, highlightChallenge: this.highlightChallenge, "challenge-percent": this.challengePercent, "is-forfeited-challenge-label": this.isForfeitedChallengeLabel })), this.challenges && this.getChallengesWidgets(), this.freeSpins && this.getFreeSpinWidgets(), !!this.jackpots.length && this.getJackpotsWidgets(), this.leaderboards && this.getLeaderboardsWidgets(), this.luckyWheels && this.getLuckyWheelsWidgets(), index.h("casino-engagement-suite-modal-container", { key: 'e547e22fae4383d94a67f8abfe6a362dae793d5f', clientStylingUrl: this.clientStylingUrl, device: this.device, isJoiningToChallenge: this.isJoiningToChallenge })));
|
|
3841
3848
|
}
|
|
3842
3849
|
get host() { return index.getElement(this); }
|
|
3843
3850
|
};
|
|
@@ -4775,6 +4782,12 @@ var ELuckyWheelResultState;
|
|
|
4775
4782
|
ELuckyWheelResultState["fulfilled"] = "fulfilled";
|
|
4776
4783
|
ELuckyWheelResultState["drawn"] = "drawn";
|
|
4777
4784
|
})(ELuckyWheelResultState || (ELuckyWheelResultState = {}));
|
|
4785
|
+
var ELuckyWheelActionTypes;
|
|
4786
|
+
(function (ELuckyWheelActionTypes) {
|
|
4787
|
+
ELuckyWheelActionTypes["noPrize"] = "noprize";
|
|
4788
|
+
ELuckyWheelActionTypes["luckywheel"] = "luckywheel";
|
|
4789
|
+
ELuckyWheelActionTypes["bonus"] = "bonus";
|
|
4790
|
+
})(ELuckyWheelActionTypes || (ELuckyWheelActionTypes = {}));
|
|
4778
4791
|
|
|
4779
4792
|
var PointerMode;
|
|
4780
4793
|
(function (PointerMode) {
|
|
@@ -5411,9 +5424,11 @@ const CasinoEngagementSuiteLuckywheel = class {
|
|
|
5411
5424
|
if (this.luckywheel.Program.Id === data.LotteryProgramID) {
|
|
5412
5425
|
const partitionDegree = this.settings.getDeg(index);
|
|
5413
5426
|
this.spinner.halt(partitionDegree, () => {
|
|
5427
|
+
var _a;
|
|
5414
5428
|
this.isSpinning = false;
|
|
5415
5429
|
this.updateSpinable();
|
|
5416
5430
|
const partition = this.luckywheel.Program.WheelOfFortune.Partitions[index];
|
|
5431
|
+
const noPrize = (_a = data.Result.Outcomes) === null || _a === void 0 ? void 0 : _a.some((outcome) => { var _a; return ((_a = outcome.Action) === null || _a === void 0 ? void 0 : _a.Type) === ELuckyWheelActionTypes.noPrize; });
|
|
5417
5432
|
const prizeText = (partition === null || partition === void 0 ? void 0 : partition.PrizeText[this.language]) || (partition === null || partition === void 0 ? void 0 : partition.PrizeText['*']);
|
|
5418
5433
|
const prizeName = (partition === null || partition === void 0 ? void 0 : partition.Name[this.language]) || (partition === null || partition === void 0 ? void 0 : partition.Name['*']);
|
|
5419
5434
|
window.postMessage({
|
|
@@ -5421,6 +5436,7 @@ const CasinoEngagementSuiteLuckywheel = class {
|
|
|
5421
5436
|
data: {
|
|
5422
5437
|
PrizeText: prizeText,
|
|
5423
5438
|
PrizeMessage: prizeName,
|
|
5439
|
+
NoPrize: noPrize,
|
|
5424
5440
|
HasError: false
|
|
5425
5441
|
}
|
|
5426
5442
|
});
|
|
@@ -5475,13 +5491,13 @@ const CasinoEngagementSuiteLuckywheel = class {
|
|
|
5475
5491
|
}
|
|
5476
5492
|
render() {
|
|
5477
5493
|
const foreignObjectAgentProps = { height: `${this.size}px`, width: `${this.size}px` };
|
|
5478
|
-
return (index.h("div", { key: '
|
|
5494
|
+
return (index.h("div", { key: '342885d64dc5fe0b2c84dce47872290fe4ff5af7', class: `WheelContainer ${this.device}`, style: this.defineGeneralVariables() }, index.h("svg", { key: '7746651ebfb823f7ad977a4e4e358bf1406c9f3e', width: this.size, height: this.size, ref: (el) => {
|
|
5479
5495
|
this.svg = el;
|
|
5480
|
-
} }, index.h("foreignObject", { key: '
|
|
5496
|
+
} }, index.h("foreignObject", { key: 'd48003ce06db60ddeb26849cc4a6ed5812810a24', ref: this.setSvgSize.bind(this), class: "Bottom Customable" }, index.h("div", { key: '219b20301e0b756a235f411b147274294baee0ab', style: foreignObjectAgentProps })), index.h("g", Object.assign({ key: '917ea15a1d6989913a1b23357ae455d576691625', class: "PartitionsContainer" }, this.settings.getSpinnerProps()), index.h("g", { key: '035155a7a943190fda49b8a0a89596ce0aac2a10', class: "PartitionsBackgrounds" }, this.options.map((_el, index$1) => {
|
|
5481
5497
|
return (index.h("foreignObject", { ref: this.setSvgSize.bind(this), "clip-path": `url(#clip${index$1})`, class: "PartitionBackground Customable", style: Object.assign({ '--index': index$1.toString() }, foreignObjectAgentProps) }, index.h("div", { style: foreignObjectAgentProps })));
|
|
5482
|
-
})), index.h("g", { key: '
|
|
5498
|
+
})), index.h("g", { key: '74857a797cbc7466a7e49f50411092cefaeb11e8', class: "PartitionsBackgroundStrokes" }, this.options.map((_el, index$1) => {
|
|
5483
5499
|
return (index.h("path", Object.assign({ class: "PartitionBackgroundStroke" }, this.settings.getPartitionDraw(index$1), { width: this.size, height: this.size })));
|
|
5484
|
-
})), index.h("g", { key: '
|
|
5500
|
+
})), index.h("g", { key: '9f6735c888e79e248ee1115b476822075e0c49fe', class: "Partitions", style: { filter: this.speed > 0.3 ? `blur(${this.speed}px)` : '' } }, this.options.map((el, index$1) => {
|
|
5485
5501
|
return [
|
|
5486
5502
|
el.Image && (index.h("g", { class: `PartitionImage PartitionImage${index$1}`, ref: (el) => this.renderImage(el, index$1) })),
|
|
5487
5503
|
el.Name && (index.h("foreignObject", Object.assign({ class: "PartitionText", ref: (el) => {
|
|
@@ -5492,18 +5508,18 @@ const CasinoEngagementSuiteLuckywheel = class {
|
|
|
5492
5508
|
}
|
|
5493
5509
|
} }, this.settings.getSvgTextPropsAdjustedByImage(index$1)), index.h("div", { class: "PartitionTextEntityContainer" }, index.h("p", { class: `PartitionTextEntity${this.settings.contentdirection === 'clockwise' ? '' : ' Anticlockwise'}`, innerHTML: el.Name }))))
|
|
5494
5510
|
];
|
|
5495
|
-
}))), index.h("g", { key: '
|
|
5511
|
+
}))), index.h("g", { key: 'c62b31497903ff7d034bd2b7de35434836cca0c4', class: { active: this.isPartitionsCustomableReady, PartitionsCustomable1: true } }, this.options.map((_el, index$1) => {
|
|
5496
5512
|
return (index.h("foreignObject", { ref: this.setSvgSize.bind(this), class: "Partition1 Customable", style: { '--index': index$1.toString() } }, index.h("div", { style: foreignObjectAgentProps })));
|
|
5497
|
-
})), index.h("g", { key: '
|
|
5513
|
+
})), index.h("g", { key: 'c3484f6930d35f3e4ca08d014b3b021e47021d44', class: { active: this.isPartitionsCustomableReady, PartitionsCustomable2: true } }, this.options.map((_el, index$1) => {
|
|
5498
5514
|
return (index.h("foreignObject", { ref: this.setSvgSize.bind(this), class: "Partition2 Customable", style: { '--index': index$1.toString() } }, index.h("div", { style: foreignObjectAgentProps })));
|
|
5499
|
-
})), index.h("foreignObject", { key: '
|
|
5515
|
+
})), index.h("foreignObject", { key: '25a125820e8c14c780eb10bf662828c01dafb21c', ref: this.setSvgSize.bind(this), class: "Middle Customable", style: foreignObjectAgentProps }, index.h("div", { key: '8c97c23afd581c7bb6510af3d8ebebdae885c6b9', style: foreignObjectAgentProps })), index.h("foreignObject", { key: 'ed5f6284d6abf6d4fe7d54ca12d586f963a76386', ref: this.setSvgSize.bind(this), class: "Top Customable", style: foreignObjectAgentProps }, index.h("div", { key: '41f23de3872cbadb73f89e2342567c739e174a22', style: foreignObjectAgentProps })), index.h("g", { key: '4949dd37d805c79a1a4363409aca17bb158956ea', class: { spinning: this.isSpinning, Center: true } }, index.h("foreignObject", { key: '4b5c25b029a45d92e17b244804d3873f70cc1fd6', ref: (el) => {
|
|
5500
5516
|
if (el) {
|
|
5501
5517
|
el.setAttribute('width', '100');
|
|
5502
5518
|
el.setAttribute('height', '100');
|
|
5503
5519
|
}
|
|
5504
5520
|
}, style: {
|
|
5505
5521
|
transform: `translate(${Number(this.size) / 2 - 100 / 2}px, ${Number(this.size) / 2 - 100 / 2}px)`
|
|
5506
|
-
} }, index.h("div", { key: '
|
|
5522
|
+
} }, index.h("div", { key: 'bb7162a6527af2f2fd20d9dd17ce76c49dfe719c', style: { width: '100px', height: '100px', cursor: 'pointer' }, onClick: this.eventSpin }))), index.h("g", { key: '08e09c376e45a3d87d8c25487c1678fc6760822b' }, this.options.map((_el, index$1) => {
|
|
5507
5523
|
return (index.h("clipPath", { id: `clip${index$1}` }, index.h("path", Object.assign({}, this.settings.getPartitionDraw(index$1)))));
|
|
5508
5524
|
})))));
|
|
5509
5525
|
}
|
|
@@ -6121,6 +6137,9 @@ const TRANSLATIONS = {
|
|
|
6121
6137
|
jackpotWinInfo: 'Please refresh game page or place any bet to update game balance',
|
|
6122
6138
|
seeYouLater: 'See you later',
|
|
6123
6139
|
noSpinsLeft: 'You used all spins here',
|
|
6140
|
+
spinAgain: 'Spin again',
|
|
6141
|
+
noPrizeMessage: "You didn't win this time, try again!",
|
|
6142
|
+
noPrizeTitle: 'Oh, Sorry'
|
|
6124
6143
|
}
|
|
6125
6144
|
};
|
|
6126
6145
|
const translate = (key, customLang) => {
|
|
@@ -6222,7 +6241,7 @@ const CasinoEngagementSuiteModalContainer = class {
|
|
|
6222
6241
|
const { ProgressToActivate } = this.confirmationData || {};
|
|
6223
6242
|
return (index.h("div", { key: 'b08af5892111b026ea04657bdc9ee8e03349985f', class: `ModalContainer ${this.device}` }, index.h("casino-engagement-suite-modal", { key: '9953de03ad78829ad5d65cb8852e642305b13d0e', clientStylingUrl: this.clientStylingUrl, isOpen: this.isModalOpen('NO_SPIN_LEFT_MODAL'), header: translate('noSpinsLeft', this.language), contentIcon: "https://static.everymatrix.com/gic/img/engagement-suite/cup-reward.svg", modalType: "NO_SPIN_LEFT_MODAL", "show-animation": false, device: this.device }, index.h("div", { key: '5aa3316279b1c37dbd0da632760bd5805466c01a', slot: "body" }, index.h("div", { key: '36fe42db0db670404a6000627be93870e9c53c48' }, translate('seeYouLater', this.language))), index.h("div", { key: '231b191530fb4ebd95c5336d0eafcdd016613668', slot: "footer" }, index.h("button", { key: '67c19d85ab5f077e994ef0dbdb0340e9f7bd5750', class: "ModalFooterButton", onClick: this.handleCloseClick, "data-type": "NO_SPIN_LEFT_MODAL" }, "OK"))), index.h("casino-engagement-suite-modal", { key: '2a0a7d3a6f9db52a69a16b9ec4205c69888a9b6c', clientStylingUrl: this.clientStylingUrl, isOpen: this.isModalOpen('REWARD_MODAL'), header: "Congratulations!", contentIcon: "https://static.everymatrix.com/gic/img/engagement-suite/cup-reward.svg", modalType: "REWARD_MODAL", "show-animation": true, device: this.device }, index.h("div", { key: '72595feb9db49b6c8da3d020e360cc47d679e409', slot: "body" }, index.h("div", { key: '16f4dc567c5e40c98fce717ef5c85f464f0981b8' }, !this.rewardText && translate('won', this.language), ' ', index.h("span", { key: '93d8e41c6627e54d692a9ac15fd0f52bcc43347e', class: "ModalReward" }, this.rewardText || this.rewardMessage)), this.hasError && index.h("div", { key: '9e928a49d3eaa98bcaa5e0d61cd7cbb8a580a72f', class: "SupportInfo" }, translate('supportInfo', this.language))), index.h("div", { key: '9223fa90fb14b1c624075c3c551e9f55c57aefe8', slot: "footer" }, index.h("button", { key: '735b15eb73bb7639b2d032695afa1ae32496d0ad', class: "ModalFooterButton", onClick: this.handleCloseClick, "data-type": "REWARD_MODAL" }, translate('continue', this.language)))), index.h("casino-engagement-suite-modal", { key: '75880d633553cf140178d118d3042b2e53009208', clientStylingUrl: this.clientStylingUrl, isOpen: this.isModalOpen('JACKPOT_REWARD_MODAL'), header: "Congratulations!", contentIcon: "https://static.everymatrix.com/gic/img/engagement-suite/cup-reward.svg", "show-animation": true, modalType: "JACKPOT_REWARD_MODAL", device: this.device }, index.h("div", { key: 'f45b7391ba8468ab5fb8eddb8a4ae397f0167f08', slot: "body" }, index.h("div", { key: 'eff87f697817535bc47b525ec78c94847ae784a4', class: "JackpotWinText" }, translate('jackpotWin', this.language)), index.h("div", { key: '7881fcfd86ab455dce0db707b8abce4ddf538b1c', class: "JackpotWinAmount" }, formatBalance(this.winAmount.amount, this.winAmount.currency))), index.h("div", { key: '3f18ece9080c42d9b1067c9a7f3cac920528c007', slot: "footer" }, index.h("button", { key: '6db3230a9b84f3a651bb3d583f49184e5c37930c', class: "ModalFooterButton", onClick: this.handleCloseClick, "data-type": "JACKPOT_REWARD_MODAL" }, translate('continue', this.language)), index.h("div", { key: '616a3882e6b2f116c6db87122f0755fb2f3083df', class: "JackpotWinInfoText" }, translate('jackpotWinInfo', this.language)))), index.h("casino-engagement-suite-modal", { key: '6724f36b7b94c53a41a86f3d9082c393dc2e81ee', clientStylingUrl: this.clientStylingUrl, isOpen: this.isModalOpen('TARGET_MODAL'), header: ProgressToActivate ? translate('joinHeader', this.language) : translate('unJoinHeader', this.language), modalType: "TARGET_MODAL", device: this.device, isLoading: this.isJoiningToChallenge }, index.h("div", { key: 'd2c94938925c9b1f625bb7de63734f6a673c5fdc', slot: "body" }, index.h("div", { key: '2e7961f72e5933f0eb5030cb15a4b9fb84d5083e', class: "LeftAlign" }, translate('desc', this.language)), index.h("div", { key: 'd1f5f57433c0ae881207b3c12ab9cfaf6ee039c1', class: "LeftAlignQuestion" }, ProgressToActivate
|
|
6224
6243
|
? translate('joinQuestion', this.language)
|
|
6225
|
-
: translate('unJoinQuestion', this.language))), index.h("div", { key: '9329740f040d1791872d15f383b80af451245b14', slot: "footer", class: "ManyActions" }, index.h("button", { key: '148094403592aff321a4ee70790b2520b00893b8', class: `ModalFooterButton ${this.isJoiningToChallenge ? 'Disabled' : ''}`, onClick: this.handleChallengeAttendance }, ProgressToActivate ? translate('joinConfirm', this.language) : translate('unJoinConfirm', this.language)), index.h("button", { key: '49ae0fa581a6d8eee882146813c9f35f29fb60b0', class: `ModalFooterButtonOutlined ${this.isJoiningToChallenge ? 'Disabled' : ''}`, onClick: this.handleCloseClick, "data-type": "TARGET_MODAL" }, index.h("div", { key: 'c0058debcba5b01824b021b6ece23a922f3f582f', class: "GradientText" }, ProgressToActivate ? translate('joinReject', this.language) : translate('unJoinReject', this.language))))), index.h("casino-engagement-suite-modal", { key: 'cfa3aefbc587d1a15dcb831bf1bdd1d98769e18a', clientStylingUrl: this.clientStylingUrl, isOpen: this.isModalOpen('SUPPORT_MODAL'), header: translate('noReward', this.language), contentIcon: "https://static.everymatrix.com/gic/img/engagement-suite/alert.svg", modalType: "SUPPORT_MODAL", device: this.device }, index.h("div", { key: 'aae1baed5a68cd7532b25d6ef163679c0b93fc10', slot: "body" }, index.h("span", { key: 'e031d7ddc4388e1d22776524dc4341d30d9a8a57' }, translate('contactSupport', this.language))), index.h("div", { key: '4ad01c4e2bd2aa913369b63700b1220a271bea63', slot: "footer" }, index.h("button", { key: 'bbaecf82f114b317867e9a611b0d4af9a038c0e1', class: "ModalFooterButton", onClick: this.handleCloseClick, "data-type": "SUPPORT_MODAL" }, translate('okContinue', this.language))))));
|
|
6244
|
+
: translate('unJoinQuestion', this.language))), index.h("div", { key: '9329740f040d1791872d15f383b80af451245b14', slot: "footer", class: "ManyActions" }, index.h("button", { key: '148094403592aff321a4ee70790b2520b00893b8', class: `ModalFooterButton ${this.isJoiningToChallenge ? 'Disabled' : ''}`, onClick: this.handleChallengeAttendance }, ProgressToActivate ? translate('joinConfirm', this.language) : translate('unJoinConfirm', this.language)), index.h("button", { key: '49ae0fa581a6d8eee882146813c9f35f29fb60b0', class: `ModalFooterButtonOutlined ${this.isJoiningToChallenge ? 'Disabled' : ''}`, onClick: this.handleCloseClick, "data-type": "TARGET_MODAL" }, index.h("div", { key: 'c0058debcba5b01824b021b6ece23a922f3f582f', class: "GradientText" }, ProgressToActivate ? translate('joinReject', this.language) : translate('unJoinReject', this.language))))), index.h("casino-engagement-suite-modal", { key: 'cfa3aefbc587d1a15dcb831bf1bdd1d98769e18a', clientStylingUrl: this.clientStylingUrl, isOpen: this.isModalOpen('SUPPORT_MODAL'), header: translate('noReward', this.language), contentIcon: "https://static.everymatrix.com/gic/img/engagement-suite/alert.svg", modalType: "SUPPORT_MODAL", device: this.device }, index.h("div", { key: 'aae1baed5a68cd7532b25d6ef163679c0b93fc10', slot: "body" }, index.h("span", { key: 'e031d7ddc4388e1d22776524dc4341d30d9a8a57' }, translate('contactSupport', this.language))), index.h("div", { key: '4ad01c4e2bd2aa913369b63700b1220a271bea63', slot: "footer" }, index.h("button", { key: 'bbaecf82f114b317867e9a611b0d4af9a038c0e1', class: "ModalFooterButton", onClick: this.handleCloseClick, "data-type": "SUPPORT_MODAL" }, translate('okContinue', this.language)))), index.h("casino-engagement-suite-modal", { key: '0339c1e94223a82f52d75946eeb3f6c249a0aa1c', clientStylingUrl: this.clientStylingUrl, isOpen: this.isModalOpen('NO_PRIZE_MODAL'), header: translate('noPrizeTitle', this.language), contentIcon: "https://static.everymatrix.com/gic/img/engagement-suite/alert.svg", modalType: "NO_PRIZE_MODAL", device: this.device }, index.h("div", { key: 'e32495a7fd9da1c0246806562de1a7051b456cc3', slot: "body" }, index.h("span", { key: 'fb042ceabc8e49fd1825eded9ffd7026d7fec5de' }, translate('noPrizeMessage', this.language))), index.h("div", { key: '8e71be369166b0be7cd65f6c6c5b5208e9353c27', slot: "footer" }, index.h("button", { key: '0ad39b3fb03409c4fc6c8e90b4eaf85e5aa188d8', class: "ModalFooterButton", onClick: this.handleCloseClick, "data-type": "NO_PRIZE_MODAL" }, translate('spinAgain', this.language))))));
|
|
6226
6245
|
}
|
|
6227
6246
|
get host() { return index.getElement(this); }
|
|
6228
6247
|
};
|
|
@@ -6754,7 +6773,7 @@ const tab = {
|
|
|
6754
6773
|
if (!instance.leaderboards.length) {
|
|
6755
6774
|
return index.h("div", { class: "LeaderboardUnstarted" }, locale.BeOne);
|
|
6756
6775
|
}
|
|
6757
|
-
return (index.h("table", { class: "Leaderboards" }, index.h("thead", null, index.h("tr", null, index.h("th", null, locale.Rank), index.h("th", null, locale.Player), index.h("th", null, locale.Score), index.h("th", null, locale.Prize))), instance.leaderboards.map((leaderboard) => (index.h("tr", { class: utils.classnames({ isMe: leaderboard.isMe }) }, index.h("td", { class: "LeaderboardRank" }, index.h("span", null, leaderboard.rank)), index.h("td", { class: "LeaderboardName" }, index.h("span", null, leaderboard.shortName)), index.h("td", { class: "LeaderboardScore" }, index.h("span", null, utils.truncateNumber(leaderboard.score, 2, true))), index.h("td", { class: "LeaderboardPrize" }, index.h("span", null, leaderboard.prizeName)))))));
|
|
6776
|
+
return (index.h("table", { class: "Leaderboards" }, index.h("thead", null, index.h("tr", null, index.h("th", null, locale.Rank), index.h("th", null, locale.Player), index.h("th", null, locale.Score), index.h("th", null, locale.Prize))), instance.leaderboards.map((leaderboard) => (index.h("tr", { class: utils.classnames({ isMe: leaderboard.isMe }), ref: (el) => leaderboard.isMe && (instance.isMeElement = el) }, index.h("td", { class: "LeaderboardRank" }, index.h("span", null, leaderboard.rank)), index.h("td", { class: "LeaderboardName" }, index.h("span", null, leaderboard.shortName)), index.h("td", { class: "LeaderboardScore" }, index.h("span", null, utils.truncateNumber(leaderboard.score, 2, true))), index.h("td", { class: "LeaderboardPrize" }, index.h("span", null, leaderboard.prizeName)))))));
|
|
6758
6777
|
},
|
|
6759
6778
|
games(instance) {
|
|
6760
6779
|
var _a;
|
|
@@ -6796,7 +6815,7 @@ const renderCloseBar = (attr) => {
|
|
|
6796
6815
|
return (index.h("div", { class: "WrapperBar" }, Object.keys(slots).map(slotKey => (index.h("div", { class: 'WrapperBar' + getFirstLetterUppercase(slotKey) }, slots[slotKey] || '')))));
|
|
6797
6816
|
};
|
|
6798
6817
|
|
|
6799
|
-
const casinoEngagementSuiteTournamentCss = ".Leaderboards{height:100%;overflow-y:auto;transition:0.5s ease;transition-property:all, transform}.Leaderboards.list,.Leaderboards.item{margin-top:5px;opacity:0}.Leaderboards.list.Active,.Leaderboards.item.Active{opacity:1}.Leaderboards.list.Hidden,.Leaderboards.item.Hidden{display:none}.Leaderboards .question__tooltip{position:absolute;top:0;left:20px;width:320px;text-align:left;background-color:var(--emw--color-typography, rgba(255, 255, 255, 0.6));border:1px solid var(--emw--color-typography, rgba(255, 255, 255, 0.8));color:var(var(--emw--color-primary, rgb(255, 214, 47)), rgb(255, 214, 47));padding:10px;border-radius:5px;opacity:0;fill-opacity:0.5;transition:opacity 0.3s ease-in-out;z-index:10}.Leaderboards .question__tooltip.visible{opacity:0.8}table.Leaderboards{height:auto}table.Leaderboards td span{display:inline-block;overflow-y:auto;width:98%}table.Leaderboards td.LeaderboardRank{width:10%;min-width:70px}table.Leaderboards td.LeaderboardScore{width:25%}table.Leaderboards td.LeaderboardScore span{min-width:128px}table.Leaderboards td.LeaderboardName{width:20%;max-width:180px}table.Leaderboards td.LeaderboardPrize{width:auto;text-align:left;display:grid}.Wrapper{position:relative;min-height:100%;line-height:20px;color:var(--emw--color-typography, #FFFFFF);display:flex;background-color:var(--emw--color-background, hsl(254, 44%, 15%));flex-direction:column;border-radius:var(--emw--border-radius-large, 8px);word-break:break-all}.Wrapper .Title{background-color:transparent}.Wrapper .TableContentWrapper{scrollbar-width:thin;scrollbar-color:var(--emw--color-background, hsl(254, 8.53%, 54.93%)) transparent}.Wrapper .Games .Game .Skeleton{animation:none}.Wrapper .Games .Game .Skeleton.Image{background-color:transparent}.Wrapper .WrapperContent .TableContentWrapper{height:calc(100vh - 216px);overflow-y:auto}.Wrapper .WrapperContent .Main{height:calc(100vh - 109px)}.Wrapper .WrapperContent .Main .Leaderboards.ScrollBar.Row{display:flex;flex-direction:column}.Wrapper .WrapperContent .Main .Leaderboards.ScrollBar.Row tournament-item{transition:2s ease-in-out;transform:translate(0) scale(1, 1);opacity:0.99}.Wrapper.Mobile .PageConfirmContainer,.Wrapper.Mobile .DialogContentUnjoin{min-width:80%;width:78vw}.Wrapper.Mobile dialog>div{margin:0px}.Wrapper.Mobile dialog.tip{padding:120px 10px}.Wrapper.Mobile dialog.unjoin .Hollow{margin:5px}.Wrapper.Mobile .GradientRoundedButton{font-size:var(--emw--font-size-medium, 14px)}.Wrapper.Mobile .PageConfirmButtonsGroup{margin:10px auto}.Wrapper.Mobile .PageConfirm.Gift{padding:5px 16px 30px}.Wrapper.Mobile .PageConfirm.Gift .Title{font-size:var(--emw--font-size-large, 22px);line-height:25px}.Wrapper.Mobile .PageConfirm.Gift .Description{font-size:var(--emw--font-size-medium, 16px)}.Wrapper.Mobile .PageConfirm.Gift .PageConfirmButtonsGroup .GradientRoundedButton{font-size:var(--emw--font-size-medium, 16px);padding:8px}.Wrapper.Mobile .PageConfirm.Gift .PageConfirmButtonsGroup .GradientRoundedButton.GradientRounded{border-radius:var(--emw--border-radius-large, 15px)}.Wrapper.Mobile .GradientRounded{position:relative;border-radius:12px}.WrapperContent{padding-bottom:7px;transition:0.5s filter;display:flex;flex-direction:column;justify-content:space-between}.WrapperContent.faded{filter:brightness(53.3333333333%);pointer-events:none}.WrapperContent .Title{background:transparent;width:initial;height:initial;border:initial;margin-bottom:initial}.WrapperContent .NoLeaderboards h3.Title{text-align:center}.WrapperContent .NoLeaderboards div.message{color:var(--emw--color-secondary, rgb(187, 185, 195));text-align:left}.Wrapper.Mobile .WrapperBar{padding:16px 8px 8px;margin-bottom:8px}.Wrapper.Mobile .Tip{padding:0px 30px 32px}.Wrapper.Mobile .TitleContainer .GradientRoundedButton{width:100px}.Wrapper.Mobile .WrapperContent .WrapperBar{padding:12px 8px;line-height:var(--emw--font-size-medium, 14px)}.Wrapper.Mobile .WrapperContent .WrapperBar .WrapperBarMiddle{font-size:var(--emw--font-size-medium, 14px)}.Wrapper.Mobile .items.TitleContainer{height:50px;margin-bottom:5px}.Wrapper.Mobile .Title{font-size:var(--emw--font-size-large, 16px)}.Wrapper.Mobile .WrapperContent .Main{height:calc(100vh - 179px)}.Wrapper.Mobile .WrapperContent .TableContentWrapper{height:calc(100vh - 276px);overflow-y:auto}.Wrapper.Mobile .WrapperBarLeft span.EngagementSuiteIcon img,.Wrapper.Mobile .WrapperBarRight span.EngagementSuiteIcon img{width:16px;height:16px}.WrapperBar{display:flex;width:100%;padding:16px 8px 12px;align-content:center;justify-content:center;align-items:center}.WrapperBar .WrapperBarLeft span{position:relative}.WrapperBarLeft,.WrapperBarRight{cursor:pointer;z-index:1}.WrapperBarLeft span.EngagementSuiteIcon img,.WrapperBarRight span.EngagementSuiteIcon img{width:24px;height:24px}.WrapperBarMiddle{flex-grow:1;text-align:center;font-size:var(--emw--font-size-medium, 16px);font-weight:500;color:var(--emw--color-secondary, rgb(187, 185, 195))}:host{display:block;font-size:var(--emw--font-size-x-small, 14px)}.ScrollBar{scrollbar-width:thin;scrollbar-color:var(--emw--color-background, hsl(254, 8.53%, 54.93%)) transparent}.Row{margin:10px 0;padding:0 20px}.Row:first-child{margin:0;padding-top:5px}.LeaderboardsItem{opacity:1;transition:1s opacity ease;position:relative;margin:20px 0;border:1px solid rgb(64, 57, 86);border-radius:6px;padding:12px 0}.LeaderboardsItem.Unjoined{opacity:0;margin:0;border:0 none;animation:slideOut 1s forwards}.LeaderboardsItem.Hollow{border-color:transparent}.LeaderboardsItem:first-child{margin-top:0}.LeaderboardsItemContainer{padding-top:16px}.ShowInfo{margin:10px 0;padding:0 20px;transition:0.5s all ease}.TimeContainer{margin:10px 0;padding:0 20px;transition:0.5s all ease}.TimeContainer .Time{display:flex;justify-content:space-between;font-size:var(--emw--font-size-x-small, 14px);align-items:center;color:var(--emw--color-secondary, rgb(187, 185, 195))}.TimeContainer .Time .Running{width:100%;display:flex;flex-direction:row;justify-content:space-between}.TimeContainer .Time button{font-size:var(--emw--font-size-x-small, 14px);height:20px;padding:0}.TimeContainer .Time button::before{inset:inherit;border:0}.TitleContainer{display:flex;justify-content:space-between;margin:10px 0;padding:0 20px;margin-top:0;gap:10px;font-family:Montserrat;align-items:center}.TitleContainer .GradientRoundedButton{width:120px}.item .TitleContainer{height:55px;overflow:auto}.TabsContainer{margin:10px 0;padding:0 20px;margin:0 20px;padding:0;border-bottom:1px solid #575757}.Tabs{display:flex;justify-content:space-between;justify-content:start;font-size:var(--emw--font-size-x-small, 14px);margin-bottom:-1px}.Tabs .Tab{text-transform:capitalize}.Tabs>div{padding:10px;color:rgb(102, 97, 120);cursor:pointer}.Tabs>div.active{color:var(--emw--color-typography, #FFF);border-bottom:2px solid var(--emw--color-typography, #FFF)}.Title{font-size:var(--emw--font-size-large, 20px);font-weight:700;line-height:19.5px;text-align:left;word-break:break-word}.TC{margin-top:14px}.TC a{color:rgb(89, 209, 255)}.Criterias{margin:14px 0}.Criterias span{color:var(--emw--color-primary, rgb(255, 214, 47));font-weight:400}.ResultPrize{margin:10px 0;padding:0 20px;padding-left:30px;text-align:left}.ResultPrize span{color:var(--emw--color-primary, rgb(255, 214, 47));font-weight:400}.InfoContainer{flex:1;display:flex;flex-direction:column;position:relative;overflow:hidden}.ContentScrollContainer{flex:1;display:flex;flex-direction:column;overflow-y:auto;position:relative;height:auto}.ContentScrollContainer.expanded{height:100%;max-height:100%}.PrizesContainer{flex:1;display:flex;flex-direction:column;min-height:100px;max-height:calc(100% - 20px)}.PrizesHeader,.DetailHeader{align-items:center;display:flex;background-color:var(--emw--color-background, hsl(254, 44%, 15%));padding:5px 0;z-index:1;margin:0 20px}.PrizesHeader img,.DetailHeader img{width:14px}.PrizesHeader .PrizesText,.DetailHeader .PrizesText{margin-left:3px;font-weight:600}.DetailHeader{margin:0}.Prizes{margin:10px 0;padding:0 20px;text-align:left;flex:1;overflow-y:auto;margin-bottom:0;padding-right:10px;margin-top:10px}.Prizes::-webkit-scrollbar{width:4px}.Prizes::-webkit-scrollbar-track{background:rgba(0, 0, 0, 0.1);border-radius:2px}.Prizes::-webkit-scrollbar-thumb{background:var(--emw--color-primary, rgb(255, 214, 47));border-radius:2px}.Prizes .Prize{margin:8px 0}.Prizes .Prize .Rank{margin-right:5px}.Prizes .Prize .PrizeText{color:var(--emw--color-primary, rgb(255, 214, 47));font-weight:400}.InfoContainer section.Info{margin-bottom:12px;text-align:left;padding-left:20px}.InfoContainer section.Info .Criterias,.InfoContainer section.Info .Description{margin-top:10px;margin-right:10px}*{box-sizing:border-box}.Leaderboards{width:100%;text-align:center;border-collapse:collapse}.Leaderboards thead{position:sticky;top:0;z-index:2;background-color:var(--emw--color-background, hsl(254, 44%, 15%))}.Leaderboards td,.Leaderboards th{opacity:0.6;padding:12px 5px}.Leaderboards th:last-child{text-align:left}.Leaderboards td:first-child{padding-left:20px}.Leaderboards td:last-child{padding-right:20px}.Leaderboards .LeaderboardName{color:var(--emw--color-typography, #FFF);opacity:1}.Leaderboards tr.isMe{background:rgba(0, 0, 0, 0.2)}.Leaderboards tr.isMe .LeaderboardRank span{padding:0px 3px;opacity:1;border:1px solid var(--emw--color-primary, rgb(255, 214, 47));border-radius:11px}.Leaderboards tr.isMe td{color:var(--emw--color-primary, rgb(255, 214, 47));font-weight:var(--emw--font-weight-semibold, 500)}.LeaderboardLabels{position:absolute;top:-6px;right:18px;display:flex;gap:4px}.LeaderboardLabel{width:30px;height:15px;background:var(--emw--engagement-suite-gradient-golden, linear-gradient(180deg, #FFB801 15.86%, #FEF746 31.36%, #FBFFE0 36.86%, #FFFA60 47.86%, #FF9400 87.36%));border-radius:var(--emw--border-radius-x-small, 2px);display:inline-flex;padding:0 2px;align-items:center;justify-content:center}.LeaderboardLabel span{display:inline-block;text-transform:uppercase;font-size:var(--emw--font-size-3x-small, 7px);line-height:7px;font-weight:var(--emw--font-weight-bold, 700);font-family:var(--emw--font-family-secondary, \"Montserrat\", sans-serif);color:var(--emw--color-background, #1E1638)}.LeaderboardUnstarted{margin:10px 0;padding:0 20px;color:var(--emw--color-secondary, rgb(187, 185, 195));font-size:var(--emw--font-size-medium, 16px)}.Games{margin:10px 0;padding:0 20px;display:grid;justify-content:start;grid-template-columns:repeat(4, 25%);margin-top:8px;align-content:flex-start;width:100%}.Games .Game{padding-right:8px}.Games .Game.Current{cursor:auto;filter:grayscale(10)}.Games .Game:nth-of-type(4n){padding-right:0px}.Games .Game:hover{filter:brightness(var(--emw--hover-brightness, 1.25));cursor:pointer}.Games .Game.Current:hover{cursor:auto;filter:grayscale(10);cursor:not-allowed}.Games img{width:100%;height:auto;margin:auto 0}dialog.tip{position:absolute;align-items:start;padding:120px 90px;line-height:20px;border:none;border-radius:var(--emw--border-radius-large, 8px);font-size:var(--emw--font-size-small, 16px)}dialog.tip>div{margin:0px}dialog{display:none;position:fixed;left:0;top:0;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.5);justify-content:center;align-items:center;z-index:1;color:var(--emw--color-typography, #FFFFFF);transition:all 0.2s;transition-timing-function:ease-in-out}dialog>div{margin:32px;border-radius:8px;background:var(--emw--color-background, hsl(254, 44%, 15%));border:1px solid hsl(254, 20%, 28%);align-items:center}dialog div.Hollow .WrapperBar{padding:12px}dialog div.Hollow .WrapperBar .WrapperBarRight img{width:20px}dialog div.Hollow .Tip{line-height:20px;padding:0px 60px 32px;font-size:var(--emw--font-size-small, 16px)}dialog[open]{display:flex}.DialogContentUnjoin{padding:32px;padding-top:10px;display:flex;gap:10px;max-width:510px;flex-direction:column}.DialogContentUnjoinTitle{font-family:Montserrat;font-size:var(--emw--font-size-large, 20px);font-weight:600;line-height:24.38px;text-align:center}.DialogContentUnjoinDescription{color:var(--emw--color-secondary, rgb(187, 185, 195));margin-bottom:30px}.Tip{padding:32px;padding-top:0px;color:var(--emw--color-secondary, rgb(187, 185, 195));font-size:var(--emw--font-size-small, 14px)}.Tip.Error{color:var(--emw--color-error, var(--emw--color-red, #ed0909));font-weight:var(--emw--font-weight-normal, 500)}.PageConfirmContainer{text-align:center;width:80%;min-width:450px;max-width:510px;margin:0 auto}.PageConfirm{padding:0px 32px 60px;display:flex;flex-direction:column;gap:20px}.PageConfirm .Title{font-size:var(--emw--font-size-large, 26px);text-align:center}.PageConfirm .Description{color:var(--emw--color-secondary, rgb(187, 185, 195));font-weight:400}.PageConfirm .Description span{color:var(--emw--color-typography, #FFF);font-weight:600}.PageConfirm.Gift{padding:22px 32px 60px}.PageConfirm.Gift .Title{font-size:var(--emw--font-size-large, 30px)}.PageConfirm.Gift .Description{font-size:var(--emw--font-size-medium, 20px)}.PageConfirm.Gift .PageConfirmButtonsGroup .GradientRoundedButton{font-size:var(--emw--font-size-medium, 20px);padding:12px;height:auto}.PageConfirm.Gift .PageConfirmButtonsGroup .GradientRoundedButton.GradientRounded{border-radius:20px}.PageConfirmButtonsGroup{width:150px;margin:20px auto;display:flex;flex-direction:column;gap:10px}.GradientRounded{display:block;background:linear-gradient(98.25deg, #FF9400 22.48%, #FEF746 131.02%, #FFE24A 131.9%);color:rgb(30, 22, 56);position:relative;border-radius:16px}.GradientRounded.Hollow{background:rgb(30, 22, 56);color:#FFFFFF}.GradientRounded.Hollow::before{content:\"\";position:absolute;inset:0;border-radius:15px;border:1px solid transparent;background:linear-gradient(98.25deg, #FF9400 22.48%, #FEF746 131.02%, #FFE24A 131.9%) border-box;-webkit-mask:linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);mask:linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);-webkit-mask-composite:destination-out;mask-composite:exclude}.GradientRoundedButton{border:none;padding:7px;height:32px;width:100%;font-size:var(--emw--font-size-medium, 16px);font-weight:700;line-height:17.07px;text-align:center;transition:0.5s opacity;cursor:pointer}.GradientRoundedButton.Pending{cursor:not-allowed;opacity:0.3}.GradientRoundedButton.Hollow span{background:-webkit-linear-gradient(98.25deg, rgb(255, 148, 0) 22.48%, rgb(254, 247, 70) 131.02%, rgb(255, 226, 74) 131.9%);-webkit-background-clip:text;-webkit-text-fill-color:transparent}.LeaderboardsItem.GradientRounded.Hollow::before{border-radius:7px}.WrapperUtil .GradientRounded .WrapperBar{margin-bottom:0;padding-bottom:0}.WrapperUtil .GradientRounded .Tip{padding-top:0;padding-bottom:40px}.LeaderboardsItem .LeaderboardsItemContainer .TitleContainer{margin-bottom:16px}@keyframes slideOut{0%{display:block;opacity:1;height:max-content}50%{display:block;opacity:0.5}80%{display:none;opacity:0}100%{display:none;opacity:0;height:0}}";
|
|
6818
|
+
const casinoEngagementSuiteTournamentCss = ".Leaderboards{height:100%;overflow-y:auto;transition:0.5s ease;transition-property:all, transform}.Leaderboards.list,.Leaderboards.item{margin-top:5px;opacity:0}.Leaderboards.list.Active,.Leaderboards.item.Active{opacity:1}.Leaderboards.list.Hidden,.Leaderboards.item.Hidden{display:none}.Leaderboards .question__tooltip{position:absolute;top:0;left:20px;width:320px;text-align:left;background-color:var(--emw--color-typography, rgba(255, 255, 255, 0.6));border:1px solid var(--emw--color-typography, rgba(255, 255, 255, 0.8));color:var(var(--emw--color-primary, rgb(255, 214, 47)), rgb(255, 214, 47));padding:10px;border-radius:5px;opacity:0;fill-opacity:0.5;transition:opacity 0.3s ease-in-out;z-index:10}.Leaderboards .question__tooltip.visible{opacity:0.8}table.Leaderboards{height:auto}table.Leaderboards td span{display:inline-block;overflow-y:auto;width:98%}table.Leaderboards td.LeaderboardRank{width:10%;min-width:70px}table.Leaderboards td.LeaderboardScore{width:25%}table.Leaderboards td.LeaderboardScore span{min-width:128px}table.Leaderboards td.LeaderboardName{width:20%;max-width:180px}table.Leaderboards td.LeaderboardPrize{width:auto;text-align:left;display:grid}.Wrapper{position:relative;min-height:100%;line-height:20px;color:var(--emw--color-typography, #FFFFFF);display:flex;background-color:var(--emw--color-background, hsl(254, 44%, 15%));flex-direction:column;border-radius:var(--emw--border-radius-large, 8px);word-break:break-all}.Wrapper .Title{background-color:transparent}.Wrapper .TableContentWrapper{scrollbar-width:thin;scrollbar-color:var(--emw--color-background, hsl(254, 8.53%, 54.93%)) transparent}.Wrapper .Games .Game .Skeleton{animation:none}.Wrapper .Games .Game .Skeleton.Image{background-color:transparent}.Wrapper .WrapperContent .TableContentWrapper{height:calc(100vh - 216px);overflow-y:auto}.Wrapper .WrapperContent .Main{height:calc(100vh - 109px)}.Wrapper .WrapperContent .Main .Leaderboards.ScrollBar.Row{display:flex;flex-direction:column}.Wrapper .WrapperContent .Main .Leaderboards.ScrollBar.Row tournament-item{transition:2s ease-in-out;transform:translate(0) scale(1, 1);opacity:0.99}.Wrapper.Mobile .PageConfirmContainer,.Wrapper.Mobile .DialogContentUnjoin{min-width:80%;width:78vw}.Wrapper.Mobile dialog>div{margin:0px}.Wrapper.Mobile dialog.tip{padding:120px 10px}.Wrapper.Mobile dialog.unjoin .Hollow{margin:5px}.Wrapper.Mobile .GradientRoundedButton{font-size:var(--emw--font-size-medium, 14px)}.Wrapper.Mobile .PageConfirmButtonsGroup{margin:10px auto}.Wrapper.Mobile .PageConfirm.Gift{padding:5px 16px 30px}.Wrapper.Mobile .PageConfirm.Gift .Title{font-size:var(--emw--font-size-large, 22px);line-height:25px}.Wrapper.Mobile .PageConfirm.Gift .Description{font-size:var(--emw--font-size-medium, 16px)}.Wrapper.Mobile .PageConfirm.Gift .PageConfirmButtonsGroup .GradientRoundedButton{font-size:var(--emw--font-size-medium, 16px);padding:8px}.Wrapper.Mobile .PageConfirm.Gift .PageConfirmButtonsGroup .GradientRoundedButton.GradientRounded{border-radius:var(--emw--border-radius-large, 15px)}.Wrapper.Mobile .GradientRounded{position:relative;border-radius:12px}.WrapperContent{padding-bottom:7px;transition:0.5s filter;display:flex;flex-direction:column;justify-content:space-between}.WrapperContent.faded{filter:brightness(53.3333333333%);pointer-events:none}.WrapperContent .Title{background:transparent;width:initial;height:initial;border:initial;margin-bottom:initial}.WrapperContent .NoLeaderboards h3.Title{text-align:center}.WrapperContent .NoLeaderboards div.message{color:var(--emw--color-secondary, rgb(187, 185, 195));text-align:left}.Wrapper.Mobile .WrapperBar{padding:16px 8px 8px;margin-bottom:8px}.Wrapper.Mobile .Tip{padding:0px 30px 32px}.Wrapper.Mobile .TitleContainer .GradientRoundedButton{width:100px}.Wrapper.Mobile .WrapperContent .WrapperBar{padding:12px 8px;line-height:var(--emw--font-size-medium, 14px)}.Wrapper.Mobile .WrapperContent .WrapperBar .WrapperBarMiddle{font-size:var(--emw--font-size-medium, 14px)}.Wrapper.Mobile .items.TitleContainer{height:50px;margin-bottom:5px}.Wrapper.Mobile .Title{font-size:var(--emw--font-size-large, 16px)}.Wrapper.Mobile .WrapperContent .Main{height:calc(100vh - 179px)}.Wrapper.Mobile .WrapperContent .TableContentWrapper{height:calc(100vh - 276px);overflow-y:auto}.Wrapper.Mobile .WrapperBarLeft span.EngagementSuiteIcon img,.Wrapper.Mobile .WrapperBarRight span.EngagementSuiteIcon img{width:16px;height:16px}.WrapperBar{display:flex;width:100%;padding:16px 8px 12px;align-content:center;justify-content:center;align-items:center}.WrapperBar .WrapperBarLeft span{position:relative}.WrapperBarLeft,.WrapperBarRight{cursor:pointer;z-index:1}.WrapperBarLeft span.EngagementSuiteIcon img,.WrapperBarRight span.EngagementSuiteIcon img{width:24px;height:24px}.WrapperBarMiddle{flex-grow:1;text-align:center;font-size:var(--emw--font-size-medium, 16px);font-weight:500;color:var(--emw--color-secondary, rgb(187, 185, 195))}:host{display:block;font-size:var(--emw--font-size-x-small, 14px)}.ScrollBar{scrollbar-width:thin;scrollbar-color:var(--emw--color-background, hsl(254, 8.53%, 54.93%)) transparent}.Row{margin:10px 0;padding:0 20px}.Row:first-child{margin:0;padding-top:5px}.LeaderboardsItem{opacity:1;transition:1s opacity ease;position:relative;margin:20px 0;border:1px solid rgb(64, 57, 86);border-radius:6px;padding:12px 0}.LeaderboardsItem.Unjoined{opacity:0;margin:0;border:0 none;animation:slideOut 1s forwards}.LeaderboardsItem.Hollow{border-color:transparent}.LeaderboardsItem:first-child{margin-top:0}.LeaderboardsItemContainer{padding-top:16px}.ShowInfo{margin:10px 0;padding:0 20px;transition:0.5s all ease}.TimeContainer{margin:10px 0;padding:0 20px;transition:0.5s all ease}.TimeContainer .Time{display:flex;justify-content:space-between;font-size:var(--emw--font-size-x-small, 14px);align-items:center;color:var(--emw--color-secondary, rgb(187, 185, 195))}.TimeContainer .Time .Running{width:100%;display:flex;flex-direction:row;justify-content:space-between}.TimeContainer .Time button{font-size:var(--emw--font-size-x-small, 14px);height:20px;padding:0}.TimeContainer .Time button::before{inset:inherit;border:0}.TitleContainer{display:flex;justify-content:space-between;margin:10px 0;padding:0 20px;margin-top:0;gap:10px;font-family:Montserrat;align-items:center}.TitleContainer .GradientRoundedButton{width:120px}.item .TitleContainer{height:55px;overflow:auto}.TabsContainer{margin:10px 0;padding:0 20px;margin:0 20px;padding:0;border-bottom:1px solid #575757}.Tabs{display:flex;justify-content:space-between;justify-content:start;font-size:var(--emw--font-size-x-small, 14px);margin-bottom:-1px}.Tabs .Tab{text-transform:capitalize}.Tabs>div{padding:10px;color:rgb(102, 97, 120);cursor:pointer}.Tabs>div.active{color:var(--emw--color-typography, #FFF);border-bottom:2px solid var(--emw--color-typography, #FFF)}.Title{font-size:var(--emw--font-size-large, 20px);font-weight:700;line-height:19.5px;text-align:left;word-break:break-word}.TC{margin-top:14px}.TC a{color:rgb(89, 209, 255)}.Criterias{margin:14px 0}.Criterias span{color:var(--emw--color-primary, rgb(255, 214, 47));font-weight:400}.ResultPrize{margin:10px 0;padding:0 20px;padding-left:30px;text-align:left}.ResultPrize span{color:var(--emw--color-primary, rgb(255, 214, 47));font-weight:400}.InfoContainer{flex:1;display:flex;flex-direction:column;position:relative;overflow:hidden}.ContentScrollContainer{flex:1;display:flex;flex-direction:column;overflow-y:auto;position:relative;height:auto}.ContentScrollContainer.expanded{height:100%;max-height:100%}.PrizesContainer{flex:1;display:flex;flex-direction:column;min-height:100px;max-height:calc(100% - 20px)}.PrizesHeader,.DetailHeader{align-items:center;display:flex;background-color:var(--emw--color-background, hsl(254, 44%, 15%));padding:5px 0;z-index:1;margin:0 20px}.PrizesHeader img,.DetailHeader img{width:14px}.PrizesHeader .PrizesText,.DetailHeader .PrizesText{margin-left:3px;font-weight:600}.DetailHeader{margin:0}.Prizes{margin:10px 0;padding:0 20px;text-align:left;flex:1;overflow-y:auto;margin-bottom:0;padding-right:10px;margin-top:10px}.Prizes::-webkit-scrollbar{width:4px}.Prizes::-webkit-scrollbar-track{background:rgba(0, 0, 0, 0.1);border-radius:2px}.Prizes::-webkit-scrollbar-thumb{background:var(--emw--color-primary, rgb(255, 214, 47));border-radius:2px}.Prizes .Prize{margin:8px 0}.Prizes .Prize .Rank{margin-right:5px}.Prizes .Prize .PrizeText{color:var(--emw--color-primary, rgb(255, 214, 47));font-weight:400}.InfoContainer section.Info{margin-bottom:12px;text-align:left;padding-left:20px}.InfoContainer section.Info .Criterias,.InfoContainer section.Info .Description{margin-top:10px;margin-right:10px}*{box-sizing:border-box}.Leaderboards{width:100%;text-align:center;border-collapse:collapse}.Leaderboards thead{position:sticky;top:0;z-index:2;background-color:var(--emw--color-background, hsl(254, 44%, 15%))}.Leaderboards td,.Leaderboards th{opacity:0.6;padding:12px 5px}.Leaderboards th:last-child{text-align:left}.Leaderboards td:first-child{padding-left:20px}.Leaderboards td:last-child{padding-right:20px}.Leaderboards .LeaderboardName{color:var(--emw--color-typography, #FFF);opacity:1}.Leaderboards tr.isMe{background:rgba(0, 0, 0, 0.2);scroll-margin-top:42px}.Leaderboards tr.isMe .LeaderboardRank span{padding:0px 3px;opacity:1;border:1px solid var(--emw--color-primary, rgb(255, 214, 47));border-radius:11px}.Leaderboards tr.isMe td{color:var(--emw--color-primary, rgb(255, 214, 47));font-weight:var(--emw--font-weight-semibold, 500)}.LeaderboardLabels{position:absolute;top:-6px;right:18px;display:flex;gap:4px}.LeaderboardLabel{width:30px;height:15px;background:var(--emw--engagement-suite-gradient-golden, linear-gradient(180deg, #FFB801 15.86%, #FEF746 31.36%, #FBFFE0 36.86%, #FFFA60 47.86%, #FF9400 87.36%));border-radius:var(--emw--border-radius-x-small, 2px);display:inline-flex;padding:0 2px;align-items:center;justify-content:center}.LeaderboardLabel span{display:inline-block;text-transform:uppercase;font-size:var(--emw--font-size-3x-small, 7px);line-height:7px;font-weight:var(--emw--font-weight-bold, 700);font-family:var(--emw--font-family-secondary, \"Montserrat\", sans-serif);color:var(--emw--color-background, #1E1638)}.LeaderboardUnstarted{margin:10px 0;padding:0 20px;color:var(--emw--color-secondary, rgb(187, 185, 195));font-size:var(--emw--font-size-medium, 16px)}.Games{margin:10px 0;padding:0 20px;display:grid;justify-content:start;grid-template-columns:repeat(4, 25%);margin-top:8px;align-content:flex-start;width:100%}.Games .Game{padding-right:8px}.Games .Game.Current{cursor:auto;filter:grayscale(10)}.Games .Game:nth-of-type(4n){padding-right:0px}.Games .Game:hover{filter:brightness(var(--emw--hover-brightness, 1.25));cursor:pointer}.Games .Game.Current:hover{cursor:auto;filter:grayscale(10);cursor:not-allowed}.Games img{width:100%;height:auto;margin:auto 0}dialog.tip{position:absolute;align-items:start;padding:120px 90px;line-height:20px;border:none;border-radius:var(--emw--border-radius-large, 8px);font-size:var(--emw--font-size-small, 16px)}dialog.tip>div{margin:0px}dialog{display:none;position:fixed;left:0;top:0;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.5);justify-content:center;align-items:center;z-index:1;color:var(--emw--color-typography, #FFFFFF);transition:all 0.2s;transition-timing-function:ease-in-out}dialog>div{margin:32px;border-radius:8px;background:var(--emw--color-background, hsl(254, 44%, 15%));border:1px solid hsl(254, 20%, 28%);align-items:center}dialog div.Hollow .WrapperBar{padding:12px}dialog div.Hollow .WrapperBar .WrapperBarRight img{width:20px}dialog div.Hollow .Tip{line-height:20px;padding:0px 60px 32px;font-size:var(--emw--font-size-small, 16px)}dialog[open]{display:flex}.DialogContentUnjoin{padding:32px;padding-top:10px;display:flex;gap:10px;max-width:510px;flex-direction:column}.DialogContentUnjoinTitle{font-family:Montserrat;font-size:var(--emw--font-size-large, 20px);font-weight:600;line-height:24.38px;text-align:center}.DialogContentUnjoinDescription{color:var(--emw--color-secondary, rgb(187, 185, 195));margin-bottom:30px}.Tip{padding:32px;padding-top:0px;color:var(--emw--color-secondary, rgb(187, 185, 195));font-size:var(--emw--font-size-small, 14px)}.Tip.Error{color:var(--emw--color-error, var(--emw--color-red, #ed0909));font-weight:var(--emw--font-weight-normal, 500)}.PageConfirmContainer{text-align:center;width:80%;min-width:450px;max-width:510px;margin:0 auto}.PageConfirm{padding:0px 32px 60px;display:flex;flex-direction:column;gap:20px}.PageConfirm .Title{font-size:var(--emw--font-size-large, 26px);text-align:center}.PageConfirm .Description{color:var(--emw--color-secondary, rgb(187, 185, 195));font-weight:400}.PageConfirm .Description span{color:var(--emw--color-typography, #FFF);font-weight:600}.PageConfirm.Gift{padding:22px 32px 60px}.PageConfirm.Gift .Title{font-size:var(--emw--font-size-large, 30px)}.PageConfirm.Gift .Description{font-size:var(--emw--font-size-medium, 20px)}.PageConfirm.Gift .PageConfirmButtonsGroup .GradientRoundedButton{font-size:var(--emw--font-size-medium, 20px);padding:12px;height:auto}.PageConfirm.Gift .PageConfirmButtonsGroup .GradientRoundedButton.GradientRounded{border-radius:20px}.PageConfirmButtonsGroup{width:150px;margin:20px auto;display:flex;flex-direction:column;gap:10px}.GradientRounded{display:block;background:linear-gradient(98.25deg, #FF9400 22.48%, #FEF746 131.02%, #FFE24A 131.9%);color:rgb(30, 22, 56);position:relative;border-radius:16px}.GradientRounded.Hollow{background:rgb(30, 22, 56);color:#FFFFFF}.GradientRounded.Hollow::before{content:\"\";position:absolute;inset:0;border-radius:15px;border:1px solid transparent;background:linear-gradient(98.25deg, #FF9400 22.48%, #FEF746 131.02%, #FFE24A 131.9%) border-box;-webkit-mask:linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);mask:linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);-webkit-mask-composite:destination-out;mask-composite:exclude}.GradientRoundedButton{border:none;padding:7px;height:32px;width:100%;font-size:var(--emw--font-size-medium, 16px);font-weight:700;line-height:17.07px;text-align:center;transition:0.5s opacity;cursor:pointer}.GradientRoundedButton.Pending{cursor:not-allowed;opacity:0.3}.GradientRoundedButton.Hollow span{background:-webkit-linear-gradient(98.25deg, rgb(255, 148, 0) 22.48%, rgb(254, 247, 70) 131.02%, rgb(255, 226, 74) 131.9%);-webkit-background-clip:text;-webkit-text-fill-color:transparent}.LeaderboardsItem.GradientRounded.Hollow::before{border-radius:7px}.WrapperUtil .GradientRounded .WrapperBar{margin-bottom:0;padding-bottom:0}.WrapperUtil .GradientRounded .Tip{padding-top:0;padding-bottom:40px}.LeaderboardsItem .LeaderboardsItemContainer .TitleContainer{margin-bottom:16px}@keyframes slideOut{0%{display:block;opacity:1;height:max-content}50%{display:block;opacity:0.5}80%{display:none;opacity:0}100%{display:none;opacity:0;height:0}}";
|
|
6800
6819
|
const CasinoEngagementSuiteTournamentStyle0 = casinoEngagementSuiteTournamentCss;
|
|
6801
6820
|
|
|
6802
6821
|
const CasinoEngagementSuiteTournament = class {
|
|
@@ -6908,10 +6927,10 @@ const CasinoEngagementSuiteTournament = class {
|
|
|
6908
6927
|
messageSender.UpdateLeaderboardsPlayerReq();
|
|
6909
6928
|
}
|
|
6910
6929
|
scrollToMyRankLine() {
|
|
6911
|
-
if (!this.
|
|
6930
|
+
if (!this.isMeElement) {
|
|
6912
6931
|
return;
|
|
6913
6932
|
}
|
|
6914
|
-
|
|
6933
|
+
this.isMeElement.scrollIntoView({ behavior: 'smooth' });
|
|
6915
6934
|
this.scrolledToMyLine = true;
|
|
6916
6935
|
}
|
|
6917
6936
|
componentDidRender() {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-14c77f03.js');
|
|
6
|
-
const util_date = require('./util.date-
|
|
6
|
+
const util_date = require('./util.date-e14691ef.js');
|
|
7
7
|
require('./utils-22119cc1.js');
|
|
8
8
|
|
|
9
9
|
const CasinoEngagementSuiteTournamentItemTitle = class {
|
|
@@ -142,7 +142,7 @@ exports.DialogType = void 0;
|
|
|
142
142
|
DialogType["error"] = "error";
|
|
143
143
|
})(exports.DialogType || (exports.DialogType = {}));
|
|
144
144
|
|
|
145
|
-
const DEFAULT_PAGE_SIZE =
|
|
145
|
+
const DEFAULT_PAGE_SIZE = 12;
|
|
146
146
|
const getMaxRankStr = (playerLeaderboards) => {
|
|
147
147
|
let bestRank = null;
|
|
148
148
|
(playerLeaderboards || []).map((playerLeaderboard) => {
|
|
@@ -406,8 +406,14 @@ export class CasinoEngagementSuiteContainer {
|
|
|
406
406
|
break;
|
|
407
407
|
}
|
|
408
408
|
case 'ShowLuckywheelRewardModal': {
|
|
409
|
-
const { HasError, PrizeMessage, PrizeText } = rest.data;
|
|
410
|
-
|
|
409
|
+
const { HasError, PrizeMessage, PrizeText, NoPrize } = rest.data;
|
|
410
|
+
let type = MODAL_TYPES.REWARD_MODAL;
|
|
411
|
+
if (HasError) {
|
|
412
|
+
type = MODAL_TYPES.SUPPORT_MODAL;
|
|
413
|
+
}
|
|
414
|
+
else if (NoPrize) {
|
|
415
|
+
type = MODAL_TYPES.NO_PRIZE_MODAL;
|
|
416
|
+
}
|
|
411
417
|
this.setRemainingLuckyWheels();
|
|
412
418
|
const event = {
|
|
413
419
|
modalType: type,
|
|
@@ -693,7 +699,7 @@ export class CasinoEngagementSuiteContainer {
|
|
|
693
699
|
return (((_d = (_c = (_b = (_a = this.challenges) === null || _a === void 0 ? void 0 : _a.find((el) => el.Id === challengeId)) === null || _b === void 0 ? void 0 : _b.LevelProgresses) === null || _c === void 0 ? void 0 : _c.find((el) => el.LevelId === levelId)) === null || _d === void 0 ? void 0 : _d.CustomRewardMessage) || '');
|
|
694
700
|
}
|
|
695
701
|
render() {
|
|
696
|
-
return (h("div", { key: '
|
|
702
|
+
return (h("div", { key: '806091d9b47fb8b500efa55b8f5e7d805734095d', class: `CasinoEngagementSuiteContainer ${this.device} ${this.orientation}`, style: { ['--barHeight']: `${this.barHeight}px` } }, h("div", { key: 'fad160ba7e27afbec626c9ac39f75d3f058371d4', class: "barWrapper", ref: (el) => (this.barWrapperEl = el) }, h("casino-engagement-suite-bar", { key: 'cb5c8e908eab03b51b59b6563f320955aff85a5b', clientStylingUrl: this.clientStylingUrl, orientation: this.orientation, device: this.device, "active-widget": this.activeWidget, "is-challenge-label": this.isChallengeLabel, "is-spin-forfeited-label": this.isForfeitedSpinsLabel, leaderboards: this.leaderboards, jackpots: this.jackpots, remainingFreeSpins: this.remainingFreeSpins, remainingLuckywheels: this.remainingLuckywheels, highlightChallenge: this.highlightChallenge, "challenge-percent": this.challengePercent, "is-forfeited-challenge-label": this.isForfeitedChallengeLabel })), this.challenges && this.getChallengesWidgets(), this.freeSpins && this.getFreeSpinWidgets(), !!this.jackpots.length && this.getJackpotsWidgets(), this.leaderboards && this.getLeaderboardsWidgets(), this.luckyWheels && this.getLuckyWheelsWidgets(), h("casino-engagement-suite-modal-container", { key: 'e547e22fae4383d94a67f8abfe6a362dae793d5f', clientStylingUrl: this.clientStylingUrl, device: this.device, isJoiningToChallenge: this.isJoiningToChallenge })));
|
|
697
703
|
}
|
|
698
704
|
static get is() { return "casino-engagement-suite-container"; }
|
|
699
705
|
static get encapsulation() { return "shadow"; }
|