@everymatrix/casino-engagement-suite-tournament 1.62.1 → 1.62.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/casino-engagement-suite-tournament/casino-engagement-suite-tournament.esm.js +1 -1
- package/dist/casino-engagement-suite-tournament/index.esm.js +1 -1
- package/dist/casino-engagement-suite-tournament/p-14ab3c1a.entry.js +1 -0
- package/dist/casino-engagement-suite-tournament/p-5f051654.js +15 -0
- package/dist/casino-engagement-suite-tournament/{p-bfca9e2a.js → p-c6fe0205.js} +1 -1
- package/dist/cjs/{casino-engagement-suite-progress-bar_3.cjs.entry.js → casino-engagement-suite-progress-bar_6.cjs.entry.js} +124 -2
- package/dist/cjs/{casino-engagement-suite-tournament-bc4edfdf.js → casino-engagement-suite-tournament-1f1275c4.js} +179 -242
- package/dist/cjs/casino-engagement-suite-tournament.cjs.js +2 -2
- package/dist/cjs/{index-982cd594.js → index-5e98dd13.js} +4 -3
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/collection/assets/help.svg +10 -0
- package/dist/collection/collection-manifest.json +4 -1
- package/dist/collection/components/casino-engagement-suite-tournament/casino-engagement-suite-tournament.css +30 -3
- package/dist/collection/components/casino-engagement-suite-tournament/casino-engagement-suite-tournament.js +89 -34
- package/dist/collection/shared/TournamentDurationTimer.js +92 -0
- package/dist/collection/shared/TournamentItem.js +114 -0
- package/dist/collection/shared/TournamentItemTitle.js +124 -0
- package/dist/collection/shared/icons.js +2 -1
- package/dist/collection/shared/renderBar.js +2 -2
- package/dist/collection/shared/renders.page.js +6 -79
- package/dist/collection/shared/renders.tab.js +2 -2
- package/dist/collection/utils/api.apdater.js +8 -0
- package/dist/collection/utils/bussiness.js +0 -25
- package/dist/collection/utils/message.js +27 -19
- package/dist/collection/utils/util.date.js +3 -0
- package/dist/esm/{casino-engagement-suite-progress-bar_3.entry.js → casino-engagement-suite-progress-bar_6.entry.js} +123 -3
- package/dist/esm/{casino-engagement-suite-tournament-bc5e0906.js → casino-engagement-suite-tournament-54c513f1.js} +162 -231
- package/dist/esm/casino-engagement-suite-tournament.js +3 -3
- package/dist/esm/{index-ac437a77.js → index-8b5c4b95.js} +4 -3
- package/dist/esm/index.js +2 -2
- package/dist/esm/loader.js +3 -3
- package/dist/types/components/casino-engagement-suite-tournament/casino-engagement-suite-tournament.d.ts +8 -10
- package/dist/types/components.d.ts +85 -2
- package/dist/types/shared/TournamentDurationTimer.d.ts +15 -0
- package/dist/types/shared/TournamentItem.d.ts +46 -0
- package/dist/types/shared/TournamentItemTitle.d.ts +47 -0
- package/dist/types/utils/bussiness.d.ts +1 -45
- package/dist/types/utils/message.d.ts +2 -2
- package/dist/types/utils/util.date.d.ts +1 -1
- package/package.json +1 -1
- package/dist/casino-engagement-suite-tournament/p-67373ab1.entry.js +0 -1
- package/dist/casino-engagement-suite-tournament/p-b217e7cc.js +0 -15
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as
|
|
1
|
+
import{p as n,b as e}from"./p-c6fe0205.js";export{s as setNonce}from"./p-c6fe0205.js";import{g as t}from"./p-e1255160.js";(()=>{const e=import.meta.url,t={};return""!==e&&(t.resourcesUrl=new URL(".",e).href),n(t)})().then((async n=>(await t(),e([["p-14ab3c1a",[[1,"casino-engagement-suite-tournament",{language:[1],show:[4],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],translationUrl:[513,"translation-url"],device:[1],leaderboardsInit:[16],tab:[32],locale:[32],tournamentItem:[32],tournamentList:[32],leaderboards:[32],isDialogOpen:[32],isShowInfo:[32],page:[32],tournamentInDialog:[32],dialog:[32],newIdList:[32]},[[8,"message","handleEvent"],[16,"clickToTournamentDetail","handleClickToTournamentDetail"],[16,"joinTournamentEvent","handleJoinTournamentEvent"],[16,"unjoinTournamentEvent","handleUnjoinTournamentEvent"],[4,"click","handleClickOutside"]],{newIdList:["checkNewIdList"],tournamentList:["syncBarState"],show:["showPropWatcher"]}],[0,"casino-engagement-suite-tournament-item",{tournament:[16],isNew:[4,"is-new"],locale:[32]},[[16,"joinTournamentEvent","handleJoinTournamentEvent"],[16,"unjoinTournamentEvent","handleUnjoinTournamentEvent"]]],[4,"general-styling-wrapper",{clientStyling:[1,"client-styling"],clientStylingUrl:[1,"client-styling-url"],translationUrl:[1,"translation-url"],targetTranslations:[16]}],[0,"casino-engagement-suite-tournament-timer",{tournament:[16],time:[32],timeHolder:[32],timeCloak:[32]},[[0,"tournamentTimer","containerPageChangeHandler"]]],[0,"casino-engagement-suite-tournament-item-title",{tournament:[16],locale:[32],isButtonDisabed:[32]},null,{tournament:["onTournamentChanged"]}],[1,"casino-engagement-suite-progress-bar",{value:[2],disabled:[4],hidePercent:[4,"hide-percent"],indeterminate:[4],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],limitStylingAppends:[32]}]]]],n))));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{C as CasinoEngagementSuiteTournament}from"./p-
|
|
1
|
+
export{C as CasinoEngagementSuiteTournament}from"./p-5f051654.js";import"./p-c6fe0205.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e,h as t,g as s,c as i}from"./p-c6fe0205.js";import{T as a,c as r,D as n,a as o,r as d,L as c,g as h,b as l,f as b}from"./p-5f051654.js";export{C as casino_engagement_suite_tournament}from"./p-5f051654.js";const g=class{constructor(t){e(this,t),this.setClientStyling=()=>{let e=document.createElement("style");e.innerHTML=this.clientStyling,this.host.prepend(e)},this.setClientStylingURL=()=>{let e=new URL(this.clientStylingUrl),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{this.host.prepend(t)}),1)})).catch((e=>{console.log("Error ",e)}))},this.value=0,this.disabled=!1,this.hidePercent=!1,this.indeterminate=!1,this.clientStyling="",this.clientStylingUrl="",this.limitStylingAppends=!1}componentDidRender(){!this.limitStylingAppends&&this.host&&(this.clientStyling&&this.setClientStyling(),this.clientStylingUrl&&this.setClientStylingURL(),this.limitStylingAppends=!0)}getProgressBarClasses(){return{ProgressBar:!0,Completed:100===this.value,Disabled:this.disabled,HidePercent:this.hidePercent||this.indeterminate}}getProgressBarLineTemplate(){return t("div",this.indeterminate?{class:"ProgressBarLine Indeterminate",part:"ProgressBarLine Indeterminate"}:{class:"ProgressBarLine",part:"ProgressBarLine",style:{width:this.value+"%"}})}render(){return t("div",{key:"ecce3a26a92d2e090c1db84bdc1bdbeb505080ed",class:this.getProgressBarClasses(),part:"ProgressBar"},t("div",{key:"649fe1103d222200f2a1ad3b5967e37da1f1ab3d",class:"ProgressBarInfo",part:"ProgressBarInfo"},t("slot",{key:"49dc180eedd823f0027f75099813fb9d91bcd938",name:"Title"},t("div",{key:"e6e59da3fe7bbcb37e118e7fd23a8ff35587aca5"})),t("slot",{key:"3dc8e5fd1dbc8c268b9c76e393b751cb53605e7e",name:"Percent"},t("div",{key:"6a9e880f3ee3c4f26e8577c69be5db5f8e2d10ad",class:"ProgressBarPercent",part:"ProgressBarPercent"},this.value,"%"))),t("div",{key:"141106e77caad7b04bb199f911e87c0c6f0adc2d",class:"ProgressBarBackground",part:"ProgressBarBackground"},this.getProgressBarLineTemplate()))}get host(){return s(this)}};g.style=":host{display:block;font-family:inherit}:host(.Desktop) .ProgressBarPercent{font-size:var(--emw--font-size-small, 14px);line-height:14px}@keyframes indeterminate{0%{left:-200%;right:100%}60%{left:110%;right:-10%}to{left:110%;right:-10%}}.ProgressBarBackground{height:8px;background-color:var(--emw--color-gray-300, #666178);border-radius:var(--emw--border-radius-small, 4px);position:relative;overflow:hidden}.ProgressBarLine{position:absolute;left:0;top:0;bottom:0;border-radius:var(--emw--border-radius-small, 4px);background:var(--emw--engagement-suite-gradient-button, linear-gradient(98.25deg, #FF9400 22.48%, #FEF746 131.02%, #FFE24A 131.9%));transition:width ease-out 0.3s}.ProgressBarLine.Indeterminate{animation:indeterminate 1s linear infinite}.ProgressBarInfo{margin-bottom:8px;display:flex;justify-content:space-between;align-items:center}.ProgressBarPercent{font-weight:var(--emw--font-weight-bold, 700);font-size:var(--emw--font-size-x-small, 12px);line-height:12px}.HidePercent .ProgressBarPercent{display:none}.ProgressBar:not(.Disabled) .ProgressBarPercent{background:var(--emw--engagement-suite-gradient-button, linear-gradient(98.25deg, #FF9400 22.48%, #FEF746 131.02%, #FFE24A 131.9%));-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}.ProgressBar.Disabled .ProgressBarPercent{color:var(--emw--color-gray-300, #666178)}.ProgressBar.Disabled .ProgressBarLine{background:var(--emw--color-background-secondary, #474668)}";const f=class{constructor(t){e(this,t),this.clickToTournamentDetail=i(this,"clickToTournamentDetail",7),this.tournament=void 0,this.isNew=void 0,this.locale=a}handleJoinTournamentEvent(e){this.tournament.id===e.detail.id&&(this.tournament=Object.assign(Object.assign({},this.tournament),{isActionJoinPending:!0}))}handleUnjoinTournamentEvent(e){this.tournament.id===e.detail.id&&(this.tournament=Object.assign(Object.assign({},this.tournament),{isActionJoinPending:!0}))}goToDetail(){this.clickToTournamentDetail.emit(this.tournament)}render(){const e=this.tournament;return t("div",{key:"e507da65532f4608aa96c1ebe2e329d332b9c439",class:r("LeaderboardsItem",e.isPlayerAcknowledged?" GradientRounded Hollow":"",e.isUnjoined?"Unjoined":""),onClick:this.goToDetail.bind(this)},t("div",{key:"dc9bd1777858b2a3a57a3f808f734857db9011ee",class:"LeaderboardsItemContainer"},t("casino-engagement-suite-tournament-item-title",{key:"14cae37fbc9d0f829b85d507ea0e60c95afc7250",tournament:e}),t("casino-engagement-suite-tournament-timer",{key:"d703d03c146592887ea20bdc1289b446399f0870",tournament:e})),t("div",{key:"4f2f422965b47c0103ff5dcef8f28dc507491677",class:"LeaderboardLabels"},this.isNew&&t("div",{key:"3132e3ac8adec5f9ca85d8c14c91801779d8afbf",class:"LeaderboardLabel"},t("span",{key:"c148c5fa597b76ff4f23c06b6b3407c06a96bdb7"},"new"))))}},m=class{constructor(t){e(this,t),this.unjoinTournamentEvent=i(this,"unjoinTournamentEvent",7),this.joinTournamentEvent=i(this,"joinTournamentEvent",7),this.tournament=void 0,this.locale=a,this.isButtonDisabed=!1}onTournamentChanged(e){this.isButtonDisabed=!0===e.isActionJoinPending}onClickItemJoin(){this.isButtonDisabed||(this.isButtonDisabed=!0,this.tournament.isPlayerAcknowledged?this.unjoinTournamentEvent.emit({type:n.unjoin,tournament:this.tournament}):this.joinTournamentEvent.emit(this.tournament))}componentDidLoad(){this.isButtonDisabed=!0===this.tournament.isActionJoinPending}render(){return t("div",{key:"5d6eebb15e8e1f1ac635fa90fe69407aab9cf81c",class:"TitleContainer"},t("div",{key:"ad7dd682272d822537cd484797b2f5d3825e49c8",class:"Title"},this.tournament.nameOrTitle),this.tournament.state!==o.Closed&&t("div",{key:"87e50a538aca5ce7d7b1a659dbe6aa16541194f2"},d({statedClasses:{isHollow:this.tournament.isPlayerAcknowledged,isPending:this.isButtonDisabed},onClick:e=>{e.stopPropagation(),this.onClickItemJoin()},innerHTML:this.tournament.isPlayerAcknowledged?this.locale.Unjoin:this.locale.Join})))}static get watchers(){return{tournament:["onTournamentChanged"]}}},u=class{constructor(t){e(this,t),this.tournament=void 0,this.time=0,this.timeHolder=void 0,this.timeCloak=!0}containerPageChangeHandler(e){this.timeCloak=e.detail.page===c.list||e.detail.page===c.item&&this.tournament.id===e.detail.tournamentId}setTimeInterval(){this.timeHolder=setInterval((()=>{var e;const t=h(new Date,this.tournament.endTime),s=l(this.tournament.startTime,this.tournament.endTime);!this.timeCloak||[o.Closed,o.Closing].includes(null===(e=this.tournament)||void 0===e?void 0:e.state)||t==this.lastTimeDiff&&s==this.lastProgress||(this.time++,this.lastProgress=s,this.lastTimeDiff=t)}),2e3)}connectedCallback(){this.setTimeInterval()}disconnectedCallback(){clearInterval(this.timeHolder)}render(){return t("section",{key:"b5d514586445a3acc665fcbbbaa0d139b7b28075",class:"TimeContainer"},t("div",{key:"2080b18edd157a337d5c7f164d1914e91a95a3f3",class:"Time"},"Running"===this.tournament.state?[t("div",{class:"Running"},t("div",null,this.lastTimeDiff),",",t("div",null,d({statedClasses:{isHollow:!0,isPendding:!1},innerHTML:`${l(this.tournament.startTime,this.tournament.endTime)}%`})))]:[t("div",{class:"NotRunning"},b(this.tournament.startTime)),t("div",null,b(this.tournament.endTime))]),t("casino-engagement-suite-progress-bar",{key:"b841cc70a1307f1175f0748644aaaeee9e1094ff",value:Number(this.lastProgress>=100?100:this.lastProgress),"hide-percent":!0}))}},v=class{constructor(t){e(this,t),this.stylingAppends=!1,this.setClientStyling=()=>{let e=document.createElement("style");e.innerHTML=this.clientStyling,this.el.prepend(e)},this.setClientStylingURL=()=>{let e=new URL(this.clientStylingUrl),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{this.el.prepend(t)}),1)})).catch((e=>{console.log("error ",e)}))},this.clientStyling="",this.clientStylingUrl="",this.translationUrl="",this.targetTranslations=void 0}componentDidRender(){this.stylingAppends||(this.clientStyling&&this.setClientStyling(),this.clientStylingUrl&&this.setClientStylingURL(),this.stylingAppends=!0)}async componentWillLoad(){const e=[];if(this.translationUrl){const i=(t=this.translationUrl,s=this.targetTranslations,new Promise((e=>{fetch(t).then((e=>e.json())).then((t=>{Object.keys(t).forEach((e=>{s[e]=s[e]?s[e]:{};for(let i in t[e])s[e][i]=t[e][i]})),e(!0)}))})));e.push(i)}var t,s;return await Promise.all(e)}render(){return t("div",{key:"4d3414408c7662f88331dbe655966237f74d6958",class:"StyleShell"},t("slot",{key:"1d004644d84602c4314bdf5dfc26b55b160f57df",name:"mainContent"}))}get el(){return s(this)}};v.style=":host{display:block}";export{g as casino_engagement_suite_progress_bar,f as casino_engagement_suite_tournament_item,m as casino_engagement_suite_tournament_item_title,u as casino_engagement_suite_tournament_timer,v as general_styling_wrapper}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import{h as e,H as t,r as i,c as n}from"./p-c6fe0205.js";
|
|
2
|
+
/*! *****************************************************************************
|
|
3
|
+
Copyright (c) Microsoft Corporation.
|
|
4
|
+
|
|
5
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
6
|
+
purpose with or without fee is hereby granted.
|
|
7
|
+
|
|
8
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
9
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
10
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
11
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
12
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
13
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
14
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
15
|
+
***************************************************************************** */function r(e,t){var i={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(i[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(n=Object.getOwnPropertySymbols(e);r<n.length;r++)t.indexOf(n[r])<0&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(i[n[r]]=e[n[r]])}return i}var o,a;!function(e){e.info="info",e.leaderboard="leaderboard",e.games="games"}(o||(o={})),function(e){e.Starts="Starts",e.Ends="Ends"}(a||(a={}));const s=(e,t)=>(Object.keys(t).map((i=>{e=e.replace(`{${i}}`,t[i])})),e),l=Object.assign(Object.assign(Object.assign({Join:"Join",Unjoin:"Unjoin"},o),a),{TC:"Terms & Conditions",ScoreCriteria:"Score Criteria",MinimumBetCriteria:"Minimum bet criteria",Place:"place",Prizes:"Rewards",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:{Tile:"Congratulations!",Description:"You won <span>{tournamentName}</span>!",ButtonContinue:"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>",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!",FailedToJoin:"Oops! some unexpected error happened, please try it again.",FailedToUnjoin:"Oops! some unexpected error happened, please try it again."}),M=(...e)=>{let t=["Tab"];return e.map((e=>{switch(typeof e){case"string":t.push(e);break;case"object":Object.keys(e).map((i=>{e[i]&&t.push(i)}))}})),t.join(" ")};var d,c,u;!function(e){e.list="list",e.item="item"}(d||(d={})),function(e){e.Running="Running",e.Unstarted="Unstarted",e.Closed="Closed",e.Closing="Closing"}(c||(c={})),function(e){e.unjoin="unjoin",e.tip="tip",e.gift="gift",e.error="error"}(u||(u={}));const g=e=>[c.Closed,c.Closing].includes(e.state),p=e("img",{src:"https://static.everymatrix.com/gic/img/engagement-suite/close.svg"}),D=e("img",{src:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2IiBmaWxsPSJub25lIj48c2NyaXB0IHhtbG5zPSIiLz4KICAgIDxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMF8xOTcxXzUxNikiPgogICAgICAgIDxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNOC4wMDAwOCAyLjAwMDAxQ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jY3IDguNjczNDEgMTAuOTY1MSA4LjY3MzQxIDExLjMzMzNDOC42NzM0MSAxMS43MDE1IDguMzc0OTQgMTIgOC4wMDY3NSAxMkg4LjAwMDA4QzcuNjMxODkgMTIgNy4zMzM0MSAxMS43MDE1IDcuMzMzNDEgMTEuMzMzM1oiIGZpbGw9IiM2NjYxNzgiLz4KICAgIDwvZz4KICAgIDxkZWZzPgogICAgICAgIDxjbGlwUGF0aCBpZD0iY2xpcDBfMTk3MV81MTYiPgogICAgICAgICAgICA8cmVjdCB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIGZpbGw9IndoaXRlIi8+CiAgICAgICAgPC9jbGlwUGF0aD4KICAgIDwvZGVmcz4KPHNjcmlwdCB4bWxucz0iIi8+PC9zdmc+Cg==",alt:"question",class:"Question"}),j=e("img",{src:"https://static.everymatrix.com/gic/img/engagement-suite/eye-open.svg"}),N=e("img",{src:"https://static.everymatrix.com/gic/img/engagement-suite/eye-closed.svg"}),h=e("img",{src:"https://static.everymatrix.com/gic/img/engagement-suite/back.svg"}),z=e("img",{src:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2IiBmaWxsPSJub25lIj48c2NyaXB0IHhtbG5zPSIiLz4KPGcgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwXzIxMTVfMzA2KSI+CjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNNC45MDI5MiAwLjY2NjQ5NkM0LjkyMzM5IDAuNjY2NTc5IDQuOTQzNCAwLjY2NjY2IDQuOTYyODYgMC42NjY2NkgxMS4wMzY5QzExLjA1NjQgMC42NjY2NiAxMS4wNzY0IDAuNjY2NTc5IDExLjA5NjkgMC42NjY0OTZDMTEuMzA1NiAwLjY2NTY1MyAxMS41NjI3IDAuNjY0Nj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go8L3N2Zz4K",alt:"reward",class:"Reward"}),m=e("img",{src:"https://static.everymatrix.com/gic/img/engagement-suite/cup-congras.svg"}),x=t=>{var{statedClasses:i,innerHTML:n}=t,o=r(t,["statedClasses","innerHTML"]);const{isHollow:a,isPending:s}=i;return e("button",Object.assign({class:M("GradientRoundedButton","GradientRounded",{Hollow:a||!1,Pending:s||!1})},o),e("span",null,n))};var y;!function(e){e.normal="normal",e.unjoinYes="unjoinYes",e.unjoinNo="unjoinNo"}(y||(y={}));const T=(e,t,i=!1)=>{const{locale:n}=e,r={normal:{innerHTML:n.WinDialog.ButtonContinue},unjoinYes:{onClick:()=>e.actionJoin(e.dialog.data),innerHTML:n.UnjoinDialog.ButtonYes},unjoinNo:{statedClasses:{isHollow:!0},innerHTML:n.UnjoinDialog.ButtonNo}}[t];return x({statedClasses:Object.assign({isPending:i},r.statedClasses),onClick:()=>{var t;null===(t=r.onClick)||void 0===t||t.call(),e.closeDialog()},innerHTML:r.innerHTML})},I={gift(t){const{name:i}=t.gifts[0],{locale:n}=t;return e("div",{class:"PageConfirmContainer"},e("div",{class:"PageConfirm"},e("div",null,m),e("div",{class:"Title"},n.WinDialog.Tile),e("div",{class:"Description",innerHTML:s(n.WinDialog.Description,{tournamentName:i})}),e("div",{class:"PageConfirmButtonsGroup"},T(t,y.normal))))},unjoin(t){const{locale:i}=t;return e("div",{class:"DialogContentUnjoin"},e("div",{class:"DialogContentUnjoinTitle"},i.UnjoinDialog.Title),e("div",{class:"DialogContentUnjoinDescription",innerHTML:i.UnjoinDialog.Description}),T(t,y.unjoinYes),T(t,y.unjoinNo))}},b=e=>{const t=["startTime","endTime","closeTime","exhibitionStartTime","exhibitionEndTime"],i={};return Object.keys(e).map((n=>{const r=e[n];i[n]="games"===n?r.items:t.includes(n)?new Date(r):r})),i},w=e=>{let{item:t,items:i}=e;return t?(-1!==i.findIndex((e=>e.userId===t.userId))||(i=[t,...i]),i.map((e=>(null==t?void 0:t.userId)&&t.userId===e.userId?Object.assign(Object.assign({},e),{isMe:!0}):e))):i},f=e=>window.postMessage({type:"UpdateLeaderboardState",labels:e}),A=e=>window.postMessage({type:"UpdateTournamentsItemReq",id:e.id}),O=(e,t)=>window.postMessage({type:"UpdateLeaderboardsReq",id:e.id,query:t}),L=(e,t)=>{const{success:i,data:n}=t;let r=e.tournamentList.findIndex((e=>e.id===(n.tournamentId||n.id||n.bonusCode))),o=e.tournamentList[r];if(-1!=r){if(o=Object.assign(Object.assign({},o),{isActionJoinPending:!1}),!i)return e.tournamentList[r]=o,e.tournamentList=[...e.tournamentList],void((e,t)=>{e.dialog=Object.assign(Object.assign({},e.dialog),{isOpen:!0,type:t})})(e,u.error);if(o=Object.assign(Object.assign({},o),{isUnjoined:!!o.isPlayerAcknowledged,isPlayerAcknowledged:!o.isPlayerAcknowledged}),e.tournamentList[r]=o,e.tournamentList=[...e.tournamentList],e.page===d.item){if(o.isUnjoined)return void e.setPage(d.list);e.tournamentItem=Object.assign({},o)}e.nextPage&&(e.setPage(e.nextPage),e.nextPage=void 0)}},v=(e,t)=>{e.tournamentList=e.tournamentList.filter((e=>e.id!==t.id))},C=(e,t)=>{const i=e.tournamentList.findIndex((e=>e.id===t.id));-1===i?e.tournamentList=[b(t),...e.tournamentList]:(e.tournamentList[i]=b(t),e.tournamentList=[...e.tournamentList])},k={list(t){var i;if(!(null==t?void 0:t.tournamentList))return t.tournamentList=null===(i=t.leaderboardsInit)||void 0===i?void 0:i.map((e=>b(e))),e("general-animation-loading",null);const{locale:n}=t;return E(t.tournamentList.length?e("div",{class:"Leaderboards ScrollBar Row"},t.tournamentList.map((i=>e("casino-engagement-suite-tournament-item",{tournament:i,isNew:t.newIdList.includes(i.id)})))):e("div",{class:"NoLeaderboards ScrollBar Row"},e("h3",{class:"Title"},n.NoLeaderboards),e("div",{class:"message"},n.NoLeaderboardsTip)))},item:t=>t.tournamentItem?E([e("casino-engagement-suite-tournament-item-title",{tournament:t.tournamentItem}),(()=>{const{locale:i,tab:n}=t;return e("div",{class:"TabsContainer"},e("div",{class:"Tabs"},Object.keys(o).map((r=>e("div",{class:M({active:n===r}),onClick:()=>(e=>{switch(t.tab=e,e){case o.leaderboard:t.leaderboards=void 0,O(t.tournamentItem);break;case o.games:A(t.tournamentItem)}})(r)},i[r])))))})(),e("div",{class:`TableContentWrapper ${t.tab}`},t.renders.tab[t.tab]())]):e("general-animation-loading",null)},E=t=>e("div",{class:"Root"},e("div",{class:"Main"},t));function Y(e){return e.toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric",hour:"2-digit",minute:"2-digit",hour12:!1}).replace(" at",",")}function S(e,t){return(new Date).getTime()>=t.getTime()?100:(100*((new Date).getTime()-e.getTime())/(t.getTime()-e.getTime())).toFixed(0)}function U(e,t){const i=Math.abs(t.getTime()-e.getTime()),n=Math.floor(i/864e5),r=Math.floor(i%864e5/36e5),o=Math.floor(i%36e5/6e4);return`${String(n).padStart(2,"0")}d:${String(r).padStart(2,"0")}h:${String(o).padStart(2,"0")}m`}const Q={info(t){var i,n;const{locale:r,tournamentItem:o,isShowInfo:a}=t;return e("div",{class:"InfoContainer"},(t=>e("section",{class:"TimeContainer"},e("div",{class:"Time"},"Running"===t.state?[e("div",{class:"Running"},e("div",null,U(new Date,t.endTime)),",",e("div",null,x({statedClasses:{isHollow:!0,isPendding:!1},innerHTML:`${S(t.startTime,t.endTime)}%`})))]:[e("div",{class:"NotRunning"},Y(t.startTime)),e("div",null,Y(t.endTime))]),e("casino-engagement-suite-progress-bar",{value:Number(S(t.startTime,t.endTime)),"hide-percent":!0})))(o),e("section",{class:"ShowInfo",onClick:()=>t.isShowInfo=!t.isShowInfo},e("div",{class:"DetailHeader"},e("span",null,a?j:N),e("span",null,r.LeaderboardDetails))),e("div",{class:"ContentScrollContainer "+(a?"expanded":"")},a&&e("section",{class:"Info"},e("div",{class:"Description"},o.description),e("div",{class:"Criterias"},e("div",null,r.ScoreCriteria,": ",e("span",null,o.scoreCriteria)),e("div",null,r.MinimumBetCriteria,": ",e("span",null,o.minBetCount))),!!o.termsUrl&&e("div",{class:"TC"},e("a",{href:o.termsUrl,target:"_blank"},r.TC))),g(t.tournamentItem)&&(null===(i=t.leaderboards)||void 0===i?void 0:i.find((e=>e.isMe)))&&e("section",{class:"ResultPrize",innerHTML:s(r.TipPrize,P(null===(n=t.leaderboards)||void 0===n?void 0:n.find((e=>e.isMe))))}),e("section",{class:"PrizesContainer"},e("div",{class:"PrizesHeader"},z,e("span",{class:"PrizesText"},r.Prizes)),e("div",{class:"Prizes"},o.prizes.map(((t,i)=>e("div",{class:"Prize"},i+1," ",r.Place,": ",e("span",{class:"PrizeText"},t.name))))))))},leaderboard(t){const{locale:i,tournamentItem:n}=t;if("Unstarted"===(null==n?void 0:n.state)){const t=U(null==n?void 0:n.startTime,new Date);return e("div",{class:"LeaderboardUnstarted",innerHTML:s(i.TournamentNotStarted,{startTime:t})})}return t.leaderboards?t.leaderboards.length?e("table",{class:"Leaderboards"},t.leaderboards.map((t=>e("tr",{class:M({isMe:t.isMe})},e("td",{class:"LeaderboardRank"},e("span",null,t.rank)),e("td",{class:"LeaderboardName"},t.shortName),e("td",{class:"LeaderboardScore"},((e,t,i=!1)=>{const n=Number(e);if(isNaN(n))throw new Error("Input must be a valid number or string that can be converted to number");if(i&&!n.toString().includes("."))return e;if(0===t)return Math.floor(n);const r=Math.pow(10,t);return(Math.floor(n*r)/r).toFixed(t)})(t.score,2,!0)),e("td",{class:"LeaderboardPrize"},t.prizeName))))):e("div",{class:"LeaderboardUnstarted"},i.BeOne):e("general-animation-loading",null)},games(t){var i;return e("div",{class:"Games"},null===(i=t.tournamentItem.games)||void 0===i?void 0:i.map((i=>e("div",{class:"Game "+(t.currentGameId==i.id?"Current":""),onClick:()=>{t.onGameClick(i)}},e("img",{src:i.defaultThumbnail,alt:""})))))}},P=e=>({prize:e.prizeName,place:e.rank}),F={dialog:I,page:k,tab:Q};var R,G={};(function(e){var t=Object.defineProperty,i=Object.defineProperties,n=Object.getOwnPropertyDescriptors,r=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,s=(e,i,n)=>i in e?t(e,i,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[i]=n,l=(e,t)=>{for(var i in t||(t={}))o.call(t,i)&&s(e,i,t[i]);if(r)for(var i of r(t))a.call(t,i)&&s(e,i,t[i]);return e},M=(e,t)=>i(e,n(t)),d=(e,t,i)=>(s(e,"symbol"!=typeof t?t+"":t,i),i);function c(){}function u(e){return e()}function g(){return Object.create(null)}function p(e){e.forEach(u)}function D(e){return"function"==typeof e}function j(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}function N(e,t,i){e.insertBefore(t,i||null)}function h(e){e.parentNode&&e.parentNode.removeChild(e)}function z(e){return document.createElement(e)}let m;function x(e){m=e}Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const y=[],T=[];let I=[];const b=[],w=Promise.resolve();let f=!1;function A(e){I.push(e)}const O=new Set;let L=0;function v(){if(0!==L)return;const e=m;do{try{for(;L<y.length;){const e=y[L];L++,x(e),C(e.$$)}}catch(e){throw y.length=0,L=0,e}for(x(null),y.length=0,L=0;T.length;)T.pop()();for(let e=0;e<I.length;e+=1){const t=I[e];O.has(t)||(O.add(t),t())}I.length=0}while(y.length);for(;b.length;)b.pop()();f=!1,O.clear(),x(e)}function C(e){if(null!==e.fragment){e.update(),p(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(A)}}const k=new Set;function E(e,t,i,n,r,o,a=null,s=[-1]){const l=m;x(e);const M=e.$$={fragment:null,ctx:[],props:o,update:c,not_equal:r,bound:g(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(l?l.$$.context:[])),callbacks:g(),dirty:s,skip_bound:!1,root:t.target||l.$$.root};a&&a(M.root);let d=!1;if(M.ctx=i?i(e,t.props||{},((t,i,...n)=>{const o=n.length?n[0]:i;return M.ctx&&r(M.ctx[t],M.ctx[t]=o)&&(!M.skip_bound&&M.bound[t]&&M.bound[t](o),d&&function(e,t){-1===e.$$.dirty[0]&&(y.push(e),f||(f=!0,w.then(v)),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}(e,t)),i})):[],M.update(),d=!0,p(M.before_update),M.fragment=!!n&&n(M.ctx),t.target){if(t.hydrate){const e=function(e){return Array.from(e.childNodes)}(t.target);M.fragment&&M.fragment.l(e),e.forEach(h)}else M.fragment&&M.fragment.c();t.intro&&function(e){e&&e.i&&(k.delete(e),e.i(void 0))}(e.$$.fragment),function(e,t,i){const{fragment:n,after_update:r}=e.$$;n&&n.m(t,i),A((()=>{const t=e.$$.on_mount.map(u).filter(D);e.$$.on_destroy?e.$$.on_destroy.push(...t):p(t),e.$$.on_mount=[]})),r.forEach(A)}(e,t.target,t.anchor),v()}x(l)}let Y;function S(e,t,i,n){var r;const o=null==(r=i[e])?void 0:r.type;if(t="Boolean"===o&&"boolean"!=typeof t?null!=t:t,!n||!i[e])return t;if("toAttribute"===n)switch(o){case"Object":case"Array":return null==t?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return null==t?null:t;default:return t}else switch(o){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":default:return t;case"Number":return null!=t?+t:t}}"function"==typeof HTMLElement&&(Y=class extends HTMLElement{constructor(e,t,i){super(),d(this,"$$ctor"),d(this,"$$s"),d(this,"$$c"),d(this,"$$cn",!1),d(this,"$$d",{}),d(this,"$$r",!1),d(this,"$$p_d",{}),d(this,"$$l",{}),d(this,"$$l_u",new Map),this.$$ctor=e,this.$$s=t,i&&this.attachShadow({mode:"open"})}addEventListener(e,t,i){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(t),this.$$c){const i=this.$$c.$on(e,t);this.$$l_u.set(t,i)}super.addEventListener(e,t,i)}removeEventListener(e,t,i){if(super.removeEventListener(e,t,i),this.$$c){const e=this.$$l_u.get(t);e&&(e(),this.$$l_u.delete(t))}}connectedCallback(){return e=this,t=function*(){if(this.$$cn=!0,!this.$$c){let e=function(e){return()=>{let t;return{c:function(){t=z("slot"),"default"!==e&&function(e,t,i){null==i?e.removeAttribute(t):e.getAttribute(t)!==i&&e.setAttribute(t,i)}(t,"name",e)},m:function(e,i){N(e,t,i)},d:function(e){e&&h(t)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const t={},i=function(e){const t={};return e.childNodes.forEach((e=>{t[e.slot||"default"]=!0})),t}(this);for(const n of this.$$s)n in i&&(t[n]=[e(n)]);for(const e of this.attributes){const t=this.$$g_p(e.name);t in this.$$d||(this.$$d[t]=S(t,e.value,this.$$p_d,"toProp"))}for(const e in this.$$p_d)!(e in this.$$d)&&void 0!==this[e]&&(this.$$d[e]=this[e],delete this[e]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:M(l({},this.$$d),{$$slots:t,$$scope:{ctx:[]}})});const n=()=>{this.$$r=!0;for(const e in this.$$p_d)if(this.$$d[e]=this.$$c.$$.ctx[this.$$c.$$.props[e]],this.$$p_d[e].reflect){const t=S(e,this.$$d[e],this.$$p_d,"toAttribute");null==t?this.removeAttribute(this.$$p_d[e].attribute||e):this.setAttribute(this.$$p_d[e].attribute||e,t)}this.$$r=!1};this.$$c.$$.after_update.push(n),n();for(const e in this.$$l)for(const t of this.$$l[e]){const i=this.$$c.$on(e,t);this.$$l_u.set(t,i)}this.$$l={}}},new Promise(((i,n)=>{var r=e=>{try{a(t.next(e))}catch(e){n(e)}},o=e=>{try{a(t.throw(e))}catch(e){n(e)}},a=e=>e.done?i(e.value):Promise.resolve(e.value).then(r,o);a((t=t.apply(e,null)).next())}));var e,t}attributeChangedCallback(e,t,i){var n;this.$$r||(e=this.$$g_p(e),this.$$d[e]=S(e,i,this.$$p_d,"toProp"),null==(n=this.$$c)||n.$set({[e]:this.$$d[e]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then((()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$c=void 0)}))}$$g_p(e){return Object.keys(this.$$p_d).find((t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e))||e}});class U{constructor(){d(this,"$$"),d(this,"$$set")}$destroy(){(function(e,t){const i=e.$$;null!==i.fragment&&(function(e){const t=[],i=[];I.forEach((n=>-1===e.indexOf(n)?t.push(n):i.push(n))),i.forEach((e=>e())),I=t}(i.after_update),p(i.on_destroy),i.fragment&&i.fragment.d(t),i.on_destroy=i.fragment=null,i.ctx=[])})(this,1),this.$destroy=c}$on(e,t){if(!D(t))return c;const i=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return i.push(t),()=>{const e=i.indexOf(t);-1!==e&&i.splice(e,1)}}$set(e){this.$$set&&0!==Object.keys(e).length&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}function Q(e){!function(e,t,i){const n=function(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}(e);if(!n.getElementById(t)){const e=z("style");e.id=t,e.textContent=i,function(e,t){!function(e,t){e.appendChild(t)}(e.head||e,t)}(n,e)}}(e,"svelte-gnt082",".LoaderContainer{display:flex;justify-content:center}.lds-ellipsis{display:inline-block;position:relative;width:80px;height:80px}.lds-ellipsis div{position:absolute;top:33px;width:13px;height:13px;border-radius:50%;background:#d1d1d1;animation-timing-function:cubic-bezier(0, 1, 1, 0)}.lds-ellipsis div:nth-child(1){left:8px;animation:lds-ellipsis1 0.6s infinite}.lds-ellipsis div:nth-child(2){left:8px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(3){left:32px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(4){left:56px;animation:lds-ellipsis3 0.6s infinite}@keyframes lds-ellipsis1{0%{transform:scale(0)}100%{transform:scale(1)}}@keyframes lds-ellipsis3{0%{transform:scale(1)}100%{transform:scale(0)}}@keyframes lds-ellipsis2{0%{transform:translate(0, 0)}100%{transform:translate(24px, 0)}}")}function P(e){let t;return{c(){t=z("div"),t.innerHTML='<section class="LoaderContainer"><div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div></section>'},m(i,n){N(i,t,n),e[4](t)},p:c,i:c,o:c,d(i){i&&h(t),e[4](null)}}}function F(e,t,i){let n,{clientstyling:r=""}=t,{clientstylingurl:o=""}=t,{mbsource:a}=t;return function(e){(function(){if(!m)throw new Error("Function called outside component initialization");return m})().$$.on_mount.push(e)}((()=>()=>{})),e.$$set=e=>{"clientstyling"in e&&i(1,r=e.clientstyling),"clientstylingurl"in e&&i(2,o=e.clientstylingurl),"mbsource"in e&&i(3,a=e.mbsource)},e.$$.update=()=>{3&e.$$.dirty&&r&&n&&function(e,t){if(e){const i=document.createElement("style");i.innerHTML=t,e.appendChild(i)}}(n,r),5&e.$$.dirty&&o&&n&&function(e,t){const i=new URL(t);fetch(i.href).then((e=>e.text())).then((t=>{const i=document.createElement("style");i.innerHTML=t,e&&e.appendChild(i)})).catch((e=>{console.error("There was an error while trying to load client styling from URL",e)}))}(n,o),9&e.$$.dirty&&a&&n&&function(e,t){if(window.emMessageBus){const i=document.createElement("style");window.emMessageBus.subscribe(t,(t=>{i.innerHTML=t,e&&e.appendChild(i)}))}}(n,`${a}.Style`)},[n,r,o,a,function(e){T[e?"unshift":"push"]((()=>{n=e,i(0,n)}))}]}"undefined"!=typeof window&&(window.__svelte||(window.__svelte={v:new Set})).v.add("4");class R extends U{constructor(e){super(),E(this,e,F,P,j,{clientstyling:1,clientstylingurl:2,mbsource:3},Q)}get clientstyling(){return this.$$.ctx[1]}set clientstyling(e){this.$$set({clientstyling:e}),v()}get clientstylingurl(){return this.$$.ctx[2]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),v()}get mbsource(){return this.$$.ctx[3]}set mbsource(e){this.$$set({mbsource:e}),v()}}!function(e,t,i){let n=class extends Y{constructor(){super(e,i,true),this.$$p_d=t}static get observedAttributes(){return Object.keys(t).map((e=>(t[e].attribute||e).toLowerCase()))}};Object.keys(t).forEach((e=>{Object.defineProperty(n.prototype,e,{get(){return this.$$c&&e in this.$$c?this.$$c[e]:this.$$d[e]},set(i){var n;i=S(e,i,t),this.$$d[e]=i,null==(n=this.$$c)||n.$set({[e]:i})}})})),[].forEach((e=>{Object.defineProperty(n.prototype,e,{get(){var t;return null==(t=this.$$c)?void 0:t[e]}})})),e.element=n}(R,{clientstyling:{},clientstylingurl:{},mbsource:{}},[]),e.default=R})(G),"undefined"!=typeof window&&(customElements.define=(R=customElements.define,function(...e){try{return R.apply(this,e)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}),Promise.resolve().then((()=>G)).then((({default:e})=>{!customElements.get("general-animation-loading")&&customElements.define("general-animation-loading",e.element)})));const W=t=>{const{left:i,middle:n,right:r}=t,o={left:i,middle:n,right:r};return e("div",{class:"WrapperBar"},Object.keys(o).map((t=>{return e("div",{class:"WrapperBar"+(i=t,i.split("").map(((e,t)=>0===t?e.toUpperCase():e)).join(""))},o[t]||"");var i})))},B=class{handleEvent(e){var t,i;const n=e.data,{type:o}=n,a=r(n,["type"]);var s;null===(i=null===(s=this,t={UpdateLeaderboardsPlayerRes:e=>{const t=(e=>{let t;return e.map((e=>{var i;const n=null===(i=e.leaderBoard)||void 0===i?void 0:i.rank;n&&(t?n<t.leaderBoard.rank&&(t=e):t=e)})),t?`${t.leaderBoard.rank} / ${t.endRank}`:"-"})(e.data.items);window.postMessage({type:"UpdateLeaderboardState",rank:t})},UpdateLeaderboardStateReq:()=>{window.postMessage({type:"UpdateLeaderboardState",labels:["win","new"]})},UpdateTournamentsItemRes:e=>{const t=b(e.data.item);s.tournamentItem=t,((e,t)=>{e.tournamentList=e.tournamentList.map((e=>e.id===t.id?b(t):e))})(s,t)},UpdateLeaderboardsRes:e=>((e,t)=>{e.leaderboards=w(t.data),e.currentPlyerRank=t.data.item?t.data.item.rank:-1})(s,e),JoinTournamentRes:e=>L(s,e),UnjoinTournamentRes:e=>L(s,e),TournamentsPageIsReadyRes:e=>s.currentGameId=e.data.GameId,LeaderboardLiveEvent:e=>{((e,t)=>{const{messageType:i,item:n}=t;switch(i){case"TournamentUpdate":case"PlayerLeaderBoardUpdate":C(e,n);break;case"TournamentRemove":v(e,n);break;case"LeaderBoardUpdate":e.leaderboards=w(t)}})(s,e)}})||void 0===t?void 0:t[o])||void 0===i||i.call(null,a)}handleClickToTournamentDetail(e){const t=e.detail;this.setPage(d.item,{tournament:t}),this.newIdList=this.newIdList.filter((e=>e!==t.id))}handleJoinTournamentEvent(e){const t=e.detail;this.actionJoin(t),this.tournamentItem=t}handleUnjoinTournamentEvent(e){const{tournament:t}=e.detail;this.openDialog(u.unjoin,t)}checkNewIdList(){this.newIdList.length>0?this.addLabel("new"):this.removeLabel("new")}syncBarState(e,t){if(t){const r=(i=t,n=(e,t)=>e.id===t.id,e.filter((e=>!i.some((t=>n(e,t))))));this.newIdList=[...this.newIdList,...r.map((e=>e.id))]}else this.checkNewIdList(),this.gifts.length&&this.addLabel("win");var i,n}showPropWatcher(e,t){0==t&&1==e&&(this.checkGift(),this.page=d.list)}addLabel(e){this.labels.includes(e)||this.labels.push(e),f(this.labels)}removeLabel(e){this.labels=this.labels.filter((t=>t!=e)),f(this.labels)}checkGift(){this.gifts.length?this.openDialog(u.gift,this.gifts[0],(()=>{this.dialog.type===u.gift&&(this.gifts=this.gifts.slice(1),setTimeout((()=>{this.checkGift()}),300))})):this.removeLabel("win")}getContainerScrollTop(){var e;return this.page===d.list?this.containerScrollTop:(null===(e=this.detailElement)||void 0===e?void 0:e.clientHeight)/2-250}handleClickOutside(e){e.composedPath()[0]!==this.tooltipIconReference&&e.composedPath()[0]!==this.tooltipReference&&(this.showTooltip=!1)}componentDidLoad(){this.pageElement.addEventListener("scroll",(e=>{this.containerScrollTop=e.target.scrollTop+e.target.clientHeight/2-250})),window.postMessage({type:"TournamentsPageIsReady"})}renderTooltip(){return this.showTooltip?e("div",{class:"question__tooltip "+(this.showTooltip?"visible":""),ref:e=>this.tooltipReference=e,innerHTML:this.locale.Tip}):null}connectedCallback(){window.postMessage({type:"UpdateLeaderboardsPlayerReq"})}scrollToMyRankLine(){this.detailElement.querySelectorAll(".isMe").length&&(this.detailElement.querySelectorAll(".TableContentWrapper.leaderboard")[0].scrollTo({top:this.detailElement.querySelectorAll(".isMe")[0].offsetTop,behavior:"smooth"}),this.scrolledToMyLine=!0)}componentDidRender(){this.page===d.item&&this.tab===o.leaderboard?this.currentPlyerRank>this.maxPlyerRank&&!this.scrolledToMyLine&&this.scrollToMyRankLine():this.page===d.list&&(this.scrolledToMyLine=!1)}onGameClick(e){e.id!==this.currentGameId&&(e=>{window.postMessage({type:"EngagementSuiteGameRedirect",data:{Slug:e.slug}})})(e)}actionJoin(e){if(!e.isActionJoinPending)try{e.isPlayerAcknowledged?(e=>{window.postMessage({type:"UnjoinTournamentReq",id:e.id})})(e):(e=>{window.postMessage({type:"JoinTournamentReq",id:e.id})})(e)}catch(e){return void console.log("error",e)}}setPage(e,t){var i;this.page=e,e===d.item&&(this.isShowInfo=!1,this.tournamentItem=t.tournament,this.tournamentItem||A(t.tournament),g(this.tournamentItem)&&O(this.tournamentItem),this.tab=o.info),this.tournamentTimer.emit({page:e,tournamentId:null===(i=this.tournamentItem)||void 0===i?void 0:i.id})}render(){return e(t,null,e("general-styling-wrapper",{clientStylingUrl:this.clientStylingUrl,clientStyling:this.clientStyling,targetTranslations:l,translationUrl:this.translationUrl}),e("div",{class:`Wrapper ${this.device}`},e("div",{class:M("WrapperContent",{faded:this.dialog.isOpen})},W({left:this.page===d.list?e("span",{onClick:this.openDialog.bind(this,u.tip)},D):e("span",{onClick:this.setPage.bind(this,d.list)},h),middle:this.locale.Leaderboards,right:e("span",{onClick:()=>this.close.emit()},p)}),e("div",{class:`Leaderboards ${this.page} ${"list"===this.page?"Active":"Hidden"}`,ref:e=>this.pageElement=e},this.renders.page.list()),this.page===d.item&&e("div",{class:`Leaderboards ${this.page} ${"item"===this.page?"Active":"Hidden"} `,ref:e=>this.detailElement=e},this.renders.page.item())),e("div",{class:"WrapperUtil"},e("dialog",{open:this.dialog.isOpen,style:{top:this.getContainerScrollTop()+"px"}},e("div",{class:"GradientRounded Hollow"},W({right:e("span",{onClick:()=>this.closeDialog()},p)}),this.dialog.isOpen&&(()=>{switch(this.dialog.type){case u.unjoin:return this.renders.dialog.unjoin();case u.tip:return e("div",{class:"Tip"},this.locale.Tip);case u.error:return e("div",{class:"Tip Error"},this.locale.FailedToJoin);case u.gift:return this.renders.dialog.gift()}})())))))}openDialog(e,t,i){this.dialog=Object.assign(Object.assign({},this.dialog),{isOpen:!0,onClose:i,type:e,data:t})}closeDialog(){var e;null===(e=this.dialog.onClose)||void 0===e||e.call(this),this.dialog=Object.assign(Object.assign({},this.dialog),{isOpen:!1,onClose:void 0})}constructor(e){i(this,e),this.close=n(this,"close",7),this.tournamentTimer=n(this,"tournamentTimer",7),this.gifts=[],this.labels=[],this.showTooltip=!1,this.maxPlyerRank=30,this.scrolledToMyLine=!1,this.language="en",this.show=!1,this.clientStyling="",this.clientStylingUrl="",this.translationUrl="",this.device="Mobile",this.leaderboardsInit=void 0,this.tab=o.info,this.locale=l,this.tournamentItem=void 0,this.tournamentList=void 0,this.leaderboards=[],this.isDialogOpen=!1,this.isShowInfo=!1,this.page=d.list,this.tournamentInDialog=void 0,this.dialog={isOpen:!1,type:void 0,data:void 0,onClose:void 0},this.newIdList=[],this.renders={},Object.keys(F).forEach((e=>{this.renders[e]={},Object.keys(F[e]).forEach((t=>{this.renders[e][t]=F[e][t].bind(this,this)}))}))}static get watchers(){return{newIdList:["checkNewIdList"],tournamentList:["syncBarState"],show:["showPropWatcher"]}}};B.style='.Leaderboards{height:100%;overflow-y:auto;transition:0.5s ease;transition-property:all, transform}.Leaderboards.list,.Leaderboards.item{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}.Wrapper{position:relative;min-height:100%;color:var(--emw--color-typography, #FFFFFF);display:flex;background-color:var(--emw--color-background, hsl(254, 44%, 15%));flex-direction:column;border-radius:24px}.Wrapper .TableContentWrapper{scrollbar-width:thin;scrollbar-color:var(--emw--color-background, hsl(254, 8.53%, 54.93%)) transparent}.Wrapper .WrapperContent .TableContentWrapper{height:calc(100vh - 278px);overflow-y:auto}.Wrapper .WrapperContent .Main{height:calc(100vh - 188px)}.Wrapper.Mobile{border-radius:16px}.WrapperContent{padding-bottom:20px;transition:0.5s filter}.WrapperContent.faded{filter:brightness(53.3333333333%)}.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:20px 8px 8px;margin-bottom:8px}.WrapperBar{display:flex;width:100%;padding:32px 20px 20px;margin-bottom:20px}.WrapperBar .WrapperBarLeft span{position:relative}.WrapperBarLeft,.WrapperBarRight{cursor:pointer;z-index:1}.WrapperBarMiddle{flex-grow:1;text-align:center;font-size:var(--emw--font-size-medium, 16px);line-height:16px;font-weight:500;color:var(--emw--color-secondary, rgb(187, 185, 195))}:host{display:block;font-size:var(--emw--font-size-x-small, 12px);font-family:Inter}.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:10px 0;border:1px solid rgb(64, 57, 86);border-radius:16px}.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, 12px);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, 12px);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}.TitleContainer .GradientRoundedButton{width:120px}.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, 12px);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-medium, 16px);font-weight:700;line-height:19.5px;text-align:left;word-break:break-word}.TC{margin-top:12px}.TC a{color:rgb(89, 209, 255)}.Criterias{margin:12px 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:12px}.PrizesHeader .PrizesText,.DetailHeader .PrizesText{margin-left:3px;font-weight:600}.DetailHeader{margin:0}.Prizes{margin:10px 0;padding:0 20px;padding-left:30px;text-align:left;flex:1;overflow-y:auto;margin-bottom:0;padding-right:10px;max-height:300px;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 .PrizeText{color:var(--emw--color-primary, rgb(255, 214, 47));font-weight:400}.InfoContainer section.Info{margin-bottom:12px;text-align:left;padding-left:15px}.InfoContainer section.Info .Criterias,.InfoContainer section.Info .Description{padding-left:15px;margin-top:10px}*{box-sizing:border-box}.Leaderboards{width:100%;text-align:center;border-collapse:collapse}.Leaderboards td{opacity:0.6;padding:12px 5px}.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);border:1px solid var(--emw--color-primary, rgb(255, 214, 47))}.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;padding:0 20px;display:flex;flex-wrap:wrap;justify-content:start;margin:20px auto}.Games .Game{cursor:pointer;width:25%;display:flex;padding:5px}.Games .Game.Current{cursor:auto;filter:grayscale(10)}.Games .Game:hover{filter:brightness(var(--emw--hover-brightness, 1.25))}.Games .Game.Current:hover{cursor:auto;filter:grayscale(10)}.Games img{width:100%;height:fit-content}dialog{position:absolute;top:30px;width:100%;height:max-content;background:transparent;border:0;padding:0;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}.DialogContentUnjoin{padding:32px;padding-top:10px;display:flex;gap:10px;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:10px;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%;margin:0 auto}.PageConfirm{padding:40px 32px;display:flex;flex-direction:column;gap:20px}.PageConfirm .Title{font-size:var(--emw--font-size-large, 20px);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}.PageConfirmButtonsGroup{width:150px;margin:0 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-small, 14px);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}.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}}';export{B as C,u as D,d as L,l as T,c as a,S as b,M as c,Y as f,U as g,x as r}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
var e=Object.defineProperty,t=new WeakMap,n=e=>t.get(e),l=(e,n)=>t.set(n.t=e,n),o=(e,t)=>t in e,s=(e,t)=>(0,console.error)(e,t),i=new Map,r=new Map,c="slot-fb{display:contents}slot-fb[hidden]{display:none}",u="http://www.w3.org/1999/xlink",a="undefined"!=typeof window?window:{},f=a.document||{head:{}},d={l:0,o:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,l)=>e.addEventListener(t,n,l),rel:(e,t,n,l)=>e.removeEventListener(t,n,l),ce:(e,t)=>new CustomEvent(e,t)},h=e=>Promise.resolve(e),p=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),m=!1,y=[],$=[],v=(e,t)=>n=>{e.push(n),m||(m=!0,t&&4&d.l?g(w):d.raf(w))},b=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){s(e)}e.length=0},w=()=>{b(y),b($),(m=y.length>0)&&d.raf(w)},g=e=>h().then(e),k=v($,!0),S={},j=e=>"object"==(e=typeof e)||"function"===e;function O(e){var t,n,l;return null!=(l=null==(n=null==(t=e.head)?void 0:t.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?l:void 0}((t,n)=>{for(var l in n)e(t,l,{get:n[l],enumerable:!0})})({},{err:()=>E,map:()=>M,ok:()=>C,unwrap:()=>T,unwrapErr:()=>A});var C=e=>({isOk:!0,isErr:!1,value:e}),E=e=>({isOk:!1,isErr:!0,value:e});function M(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then((e=>C(e))):C(n)}if(e.isErr)return E(e.value);throw"should never get here"}var x,R,P,T=e=>{if(e.isOk)return e.value;throw e.value},A=e=>{if(e.isErr)return e.value;throw e.value},L=(e,t,...n)=>{let l=null,o=null,s=null,i=!1,r=!1;const c=[],u=t=>{for(let n=0;n<t.length;n++)l=t[n],Array.isArray(l)?u(l):null!=l&&"boolean"!=typeof l&&((i="function"!=typeof e&&!j(l))&&(l+=""),i&&r?c[c.length-1].i+=l:c.push(i?N(null,l):l),r=i)};if(u(n),t){t.key&&(o=t.key),t.name&&(s=t.name);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}}const a=N(e,null);return a.u=t,c.length>0&&(a.h=c),a.p=o,a.m=s,a},N=(e,t)=>({l:0,$:e,i:t,v:null,h:null,u:null,p:null,m:null}),D={},F=e=>n(e).$hostElement$,H=(e,t,n)=>{const l=F(e);return{emit:e=>U(l,t,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:e})}},U=(e,t,n)=>{const l=d.ce(t,n);return e.dispatchEvent(l),l},W=new WeakMap,q=e=>"sc-"+e.k,G=(e,t,n,l,s,i)=>{if(n!==l){let r=o(e,t),c=t.toLowerCase();if("class"===t){const t=e.classList,o=_(n),s=_(l);t.remove(...o.filter((e=>e&&!s.includes(e)))),t.add(...s.filter((e=>e&&!o.includes(e))))}else if("style"===t){for(const t in n)l&&null!=l[t]||(t.includes("-")?e.style.removeProperty(t):e.style[t]="");for(const t in l)n&&l[t]===n[t]||(t.includes("-")?e.style.setProperty(t,l[t]):e.style[t]=l[t])}else if("key"===t);else if("ref"===t)l&&l(e);else if(r||"o"!==t[0]||"n"!==t[1]){const o=j(l);if((r||o&&null!==l)&&!s)try{if(e.tagName.includes("-"))e[t]=l;else{const o=null==l?"":l;"list"===t?r=!1:null!=n&&e[t]==o||(e[t]=o)}}catch(e){}let a=!1;c!==(c=c.replace(/^xlink\:?/,""))&&(t=c,a=!0),null==l||!1===l?!1===l&&""!==e.getAttribute(t)||(a?e.removeAttributeNS(u,t):e.removeAttribute(t)):(!r||4&i||s)&&!o&&(l=!0===l?"":l,a?e.setAttributeNS(u,t,l):e.setAttribute(t,l))}else if(t="-"===t[2]?t.slice(3):o(a,c)?c.slice(2):c[2]+t.slice(3),n||l){const o=t.endsWith(z);t=t.replace(B,""),n&&d.rel(e,t,n,o),l&&d.ael(e,t,l,o)}}},V=/\s/,_=e=>e?e.split(V):[],z="Capture",B=RegExp(z+"$"),I=(e,t,n)=>{const l=11===t.v.nodeType&&t.v.host?t.v.host:t.v,o=e&&e.u||S,s=t.u||S;for(const e of J(Object.keys(o)))e in s||G(l,e,o[e],void 0,n,t.l);for(const e of J(Object.keys(s)))G(l,e,o[e],s[e],n,t.l)};function J(e){return e.includes("ref")?[...e.filter((e=>"ref"!==e)),"ref"]:e}var K=!1,Q=!1,X=!1,Y=!1,Z=(e,t,n,l)=>{var o;const s=t.h[n];let i,r,c,u=0;if(K||(X=!0,"slot"===s.$&&(x&&l.classList.add(x+"-s"),s.l|=s.h?2:1)),null!==s.i)i=s.v=f.createTextNode(s.i);else if(1&s.l)i=s.v=f.createTextNode("");else if(i=s.v=f.createElement(!K&&2&s.l?"slot-fb":s.$),I(null,s,Y),null!=x&&i["s-si"]!==x&&i.classList.add(i["s-si"]=x),s.h)for(u=0;u<s.h.length;++u)r=Z(e,s,u,i),r&&i.appendChild(r);return i["s-hn"]=P,3&s.l&&(i["s-sr"]=!0,i["s-cr"]=R,i["s-sn"]=s.m||"",i["s-rf"]=null==(o=s.u)?void 0:o.ref,c=e&&e.h&&e.h[n],c&&c.$===s.$&&e.v&&ee(e.v,!1)),i},ee=(e,t)=>{d.l|=1;const n=Array.from(e.childNodes);for(let e=n.length-1;e>=0;e--){const l=n[e];l["s-hn"]!==P&&l["s-ol"]&&(de(se(l),l,oe(l)),l["s-ol"].remove(),l["s-ol"]=void 0,l["s-sh"]=void 0,X=!0),t&&ee(l,t)}d.l&=-2},te=(e,t,n,l,o,s)=>{let i,r=e["s-cr"]&&e["s-cr"].parentNode||e;for(r.shadowRoot&&r.tagName===P&&(r=r.shadowRoot);o<=s;++o)l[o]&&(i=Z(null,n,o,e),i&&(l[o].v=i,de(r,i,oe(t))))},ne=(e,t,n)=>{for(let l=t;l<=n;++l){const t=e[l];if(t){const e=t.v;fe(t),e&&(Q=!0,e["s-ol"]?e["s-ol"].remove():ee(e,!0),e.remove())}}},le=(e,t,n=!1)=>e.$===t.$&&("slot"===e.$?e.m===t.m:!!n||e.p===t.p),oe=e=>e&&e["s-ol"]||e,se=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,ie=(e,t,n=!1)=>{const l=t.v=e.v,o=e.h,s=t.h,i=t.i;let r;null===i?(("slot"!==t.$||K)&&I(e,t,Y),null!==o&&null!==s?((e,t,n,l,o=!1)=>{let s,i,r=0,c=0,u=0,a=0,f=t.length-1,d=t[0],h=t[f],p=l.length-1,m=l[0],y=l[p];for(;r<=f&&c<=p;)if(null==d)d=t[++r];else if(null==h)h=t[--f];else if(null==m)m=l[++c];else if(null==y)y=l[--p];else if(le(d,m,o))ie(d,m,o),d=t[++r],m=l[++c];else if(le(h,y,o))ie(h,y,o),h=t[--f],y=l[--p];else if(le(d,y,o))"slot"!==d.$&&"slot"!==y.$||ee(d.v.parentNode,!1),ie(d,y,o),de(e,d.v,h.v.nextSibling),d=t[++r],y=l[--p];else if(le(h,m,o))"slot"!==d.$&&"slot"!==y.$||ee(h.v.parentNode,!1),ie(h,m,o),de(e,h.v,d.v),h=t[--f],m=l[++c];else{for(u=-1,a=r;a<=f;++a)if(t[a]&&null!==t[a].p&&t[a].p===m.p){u=a;break}u>=0?(i=t[u],i.$!==m.$?s=Z(t&&t[c],n,u,e):(ie(i,m,o),t[u]=void 0,s=i.v),m=l[++c]):(s=Z(t&&t[c],n,c,e),m=l[++c]),s&&de(se(d.v),s,oe(d.v))}r>f?te(e,null==l[p+1]?null:l[p+1].v,n,l,c,p):c>p&&ne(t,r,f)})(l,o,t,s,n):null!==s?(null!==e.i&&(l.textContent=""),te(l,null,t,s,0,s.length-1)):null!==o&&ne(o,0,o.length-1)):(r=l["s-cr"])?r.parentNode.textContent=i:e.i!==i&&(l.data=i)},re=e=>{const t=e.childNodes;for(const e of t)if(1===e.nodeType){if(e["s-sr"]){const n=e["s-sn"];e.hidden=!1;for(const l of t)if(l!==e)if(l["s-hn"]!==e["s-hn"]||""!==n){if(1===l.nodeType&&(n===l.getAttribute("slot")||n===l["s-sn"])||3===l.nodeType&&n===l["s-sn"]){e.hidden=!0;break}}else if(1===l.nodeType||3===l.nodeType&&""!==l.textContent.trim()){e.hidden=!0;break}}re(e)}},ce=[],ue=e=>{let t,n,l;for(const o of e.childNodes){if(o["s-sr"]&&(t=o["s-cr"])&&t.parentNode){n=t.parentNode.childNodes;const e=o["s-sn"];for(l=n.length-1;l>=0;l--)if(t=n[l],!t["s-cn"]&&!t["s-nr"]&&t["s-hn"]!==o["s-hn"])if(ae(t,e)){let n=ce.find((e=>e.S===t));Q=!0,t["s-sn"]=t["s-sn"]||e,n?(n.S["s-sh"]=o["s-hn"],n.j=o):(t["s-sh"]=o["s-hn"],ce.push({j:o,S:t})),t["s-sr"]&&ce.map((e=>{ae(e.S,t["s-sn"])&&(n=ce.find((e=>e.S===t)),n&&!e.j&&(e.j=n.j))}))}else ce.some((e=>e.S===t))||ce.push({S:t})}1===o.nodeType&&ue(o)}},ae=(e,t)=>1===e.nodeType?null===e.getAttribute("slot")&&""===t||e.getAttribute("slot")===t:e["s-sn"]===t||""===t,fe=e=>{e.u&&e.u.ref&&e.u.ref(null),e.h&&e.h.map(fe)},de=(e,t,n)=>null==e?void 0:e.insertBefore(t,n),he=(e,t)=>{t&&!e.O&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.O=t)))},pe=(e,t)=>{if(e.l|=16,!(4&e.l))return he(e,e.C),k((()=>me(e,t)));e.l|=512},me=(e,t)=>{const n=e.t;if(!n)throw Error(`Can't render component <${e.$hostElement$.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let l;return t&&(e.l|=256,e.M&&(e.M.map((([e,t])=>ke(n,e,t))),e.M=void 0),l=ke(n,"componentWillLoad")),ye(l,(()=>ve(e,n,t)))},ye=(e,t)=>$e(e)?e.then(t).catch((e=>{console.error(e),t()})):t(),$e=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,ve=async(e,t,n)=>{var l;const o=e.$hostElement$,s=o["s-rc"];n&&(e=>{const t=e.R,n=e.$hostElement$,l=t.l,o=((e,t)=>{var n;const l=q(t),o=r.get(l);if(e=11===e.nodeType?e:f,o)if("string"==typeof o){let s,i=W.get(e=e.head||e);if(i||W.set(e,i=new Set),!i.has(l)){{s=f.createElement("style"),s.innerHTML=o;const t=null!=(n=d.P)?n:O(f);null!=t&&s.setAttribute("nonce",t),e.insertBefore(s,e.querySelector("link"))}4&t.l&&(s.innerHTML+=c),i&&i.add(l)}}else e.adoptedStyleSheets.includes(o)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,o]);return l})(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);10&l&&(n["s-sc"]=o,n.classList.add(o+"-h"))})(e);be(e,t,o,n),s&&(s.map((e=>e())),o["s-rc"]=void 0);{const t=null!=(l=o["s-p"])?l:[],n=()=>we(e);0===t.length?n():(Promise.all(t).then(n),e.l|=4,t.length=0)}},be=(e,t,n,l)=>{try{t=t.render(),e.l&=-17,e.l|=2,((e,t,n=!1)=>{var l,o,s,i;const r=e.$hostElement$,c=e.R,u=e.T||N(null,null),a=(e=>e&&e.$===D)(t)?t:L(null,null,t);if(P=r.tagName,c.A&&(a.u=a.u||{},c.A.map((([e,t])=>a.u[t]=r[e]))),n&&a.u)for(const e of Object.keys(a.u))r.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(a.u[e]=r[e]);if(a.$=null,a.l|=4,e.T=a,a.v=u.v=r.shadowRoot||r,x=r["s-sc"],K=!!(1&c.l),R=r["s-cr"],Q=!1,ie(u,a,n),d.l|=1,X){ue(a.v);for(const e of ce){const t=e.S;if(!t["s-ol"]){const e=f.createTextNode("");e["s-nr"]=t,de(t.parentNode,t["s-ol"]=e,t)}}for(const e of ce){const t=e.S,r=e.j;if(r){const e=r.parentNode;let n=r.nextSibling;{let s=null==(l=t["s-ol"])?void 0:l.previousSibling;for(;s;){let l=null!=(o=s["s-nr"])?o:null;if(l&&l["s-sn"]===t["s-sn"]&&e===l.parentNode){for(l=l.nextSibling;l===t||(null==l?void 0:l["s-sr"]);)l=null==l?void 0:l.nextSibling;if(!l||!l["s-nr"]){n=l;break}}s=s.previousSibling}}(!n&&e!==t.parentNode||t.nextSibling!==n)&&t!==n&&(!t["s-hn"]&&t["s-ol"]&&(t["s-hn"]=t["s-ol"].parentNode.nodeName),de(e,t,n),1===t.nodeType&&(t.hidden=null!=(s=t["s-ih"])&&s)),t&&"function"==typeof r["s-rf"]&&r["s-rf"](t)}else 1===t.nodeType&&(n&&(t["s-ih"]=null!=(i=t.hidden)&&i),t.hidden=!0)}}Q&&re(a.v),d.l&=-2,ce.length=0,R=void 0})(e,t,l)}catch(t){s(t,e.$hostElement$)}return null},we=e=>{const t=e.$hostElement$,n=e.t,l=e.C;ke(n,"componentDidRender"),64&e.l||(e.l|=64,Se(t),ke(n,"componentDidLoad"),e.L(t),l||ge()),e.O&&(e.O(),e.O=void 0),512&e.l&&g((()=>pe(e,!1))),e.l&=-517},ge=()=>{Se(f.documentElement),g((()=>U(a,"appload",{detail:{namespace:"casino-engagement-suite-tournament"}})))},ke=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(e){s(e)}},Se=e=>e.classList.add("hydrated"),je=(e,t,l)=>{var o,i;const r=e.prototype;if(t.N||t.D||e.watchers){e.watchers&&!t.D&&(t.D=e.watchers);const c=Object.entries(null!=(o=t.N)?o:{});if(c.map((([e,[o]])=>{(31&o||2&l&&32&o)&&Object.defineProperty(r,e,{get(){return((e,t)=>n(this).F.get(t))(0,e)},set(l){((e,t,l,o)=>{const i=n(e);if(!i)throw Error(`Couldn't find host element for "${o.k}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);const r=i.$hostElement$,c=i.F.get(t),u=i.l,a=i.t;if(l=((e,t)=>null==e||j(e)?e:4&t?"false"!==e&&(""===e||!!e):2&t?parseFloat(e):1&t?e+"":e)(l,o.N[t][0]),(!(8&u)||void 0===c)&&l!==c&&(!Number.isNaN(c)||!Number.isNaN(l))&&(i.F.set(t,l),a)){if(o.D&&128&u){const e=o.D[t];e&&e.map((e=>{try{a[e](l,c,t)}catch(e){s(e,r)}}))}2==(18&u)&&pe(i,!1)}})(this,e,l,t)},configurable:!0,enumerable:!0})})),1&l){const l=new Map;r.attributeChangedCallback=function(e,o,s){d.jmp((()=>{var i;const c=l.get(e);if(this.hasOwnProperty(c))s=this[c],delete this[c];else{if(r.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==s)return;if(null==c){const l=n(this),r=null==l?void 0:l.l;if(r&&!(8&r)&&128&r&&s!==o){const n=l.t,r=null==(i=t.D)?void 0:i[e];null==r||r.forEach((t=>{null!=n[t]&&n[t].call(n,s,o,e)}))}return}}this[c]=(null!==s||"boolean"!=typeof this[c])&&s}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!=(i=t.D)?i:{}),...c.filter((([e,t])=>15&t[0])).map((([e,n])=>{var o;const s=n[1]||e;return l.set(s,e),512&n[0]&&(null==(o=t.A)||o.push([e,s])),s}))]))}}return e},Oe=e=>{ke(e,"connectedCallback")},Ce=e=>{ke(e,"disconnectedCallback")},Ee=(e,l={})=>{var o;const u=[],h=l.exclude||[],m=a.customElements,y=f.head,$=y.querySelector("meta[charset]"),v=f.createElement("style"),b=[];let w,g=!0;Object.assign(d,l),d.o=new URL(l.resourcesUrl||"./",f.baseURI).href;let k=!1;if(e.map((e=>{e[1].map((l=>{var o;const c={l:l[0],k:l[1],N:l[2],H:l[3]};4&c.l&&(k=!0),c.N=l[2],c.H=l[3],c.A=[],c.D=null!=(o=l[4])?o:{};const a=c.k,y=class extends HTMLElement{constructor(e){if(super(e),this.hasRegisteredEventListeners=!1,((e,n)=>{const l={l:0,$hostElement$:e,R:n,F:new Map};l.U=new Promise((e=>l.L=e)),e["s-p"]=[],e["s-rc"]=[],t.set(e,l)})(e=this,c),1&c.l)if(e.shadowRoot){if("open"!==e.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${c.k}! Mode is set to ${e.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else e.attachShadow({mode:"open"})}connectedCallback(){const e=n(this);this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,Me(this,e,c.H)),w&&(clearTimeout(w),w=null),g?b.push(this):d.jmp((()=>(e=>{if(!(1&d.l)){const t=n(e),l=t.R,o=()=>{};if(1&t.l)Me(e,t,l.H),(null==t?void 0:t.t)?Oe(t.t):(null==t?void 0:t.U)&&t.U.then((()=>Oe(t.t)));else{t.l|=1,12&l.l&&(e=>{const t=e["s-cr"]=f.createComment("");t["s-cn"]=!0,de(e,t,e.firstChild)})(e);{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){he(t,t.C=n);break}}l.N&&Object.entries(l.N).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),(async(e,t,n)=>{let l;if(!(32&t.l)){if(t.l|=32,n.W){const e=(e=>{const t=e.k.replace(/-/g,"_"),n=e.W;if(!n)return;const l=i.get(n);return l?l[t]:import(`./${n}.entry.js`).then((e=>(i.set(n,e),e[t])),s)
|
|
2
|
-
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(n);if(e&&"then"in e){const t=()=>{};l=await e,t()}else l=e;if(!l)throw Error(`Constructor for "${n.k}#${t.q}" was not found`);l.isProxied||(n.D=l.watchers,je(l,n,2),l.isProxied=!0);const o=()=>{};t.l|=8;try{new l(t)}catch(e){s(e)}t.l&=-9,t.l|=128,o(),Oe(t.t)}else l=e.constructor,customElements.whenDefined(e.localName).then((()=>t.l|=128));if(l&&l.style){let e;"string"==typeof l.style&&(e=l.style);const t=q(n);if(!r.has(t)){const l=()=>{};((e,t,n)=>{let l=r.get(e);p&&n?(l=l||new CSSStyleSheet,"string"==typeof l?l=t:l.replaceSync(t)):l=t,r.set(e,l)})(t,e,!!(1&n.l)),l()}}}const o=t.C,c=()=>pe(t,!0);o&&o["s-rc"]?o["s-rc"].push(c):c()})(e,t,l)}o()}})(this)))}disconnectedCallback(){d.jmp((()=>(async()=>{if(!(1&d.l)){const e=n(this);e.G&&(e.G.map((e=>e())),e.G=void 0),(null==e?void 0:e.t)?Ce(e.t):(null==e?void 0:e.U)&&e.U.then((()=>Ce(e.t)))}})()))}componentOnReady(){return n(this).U}};c.W=e[0],h.includes(a)||m.get(a)||(u.push(a),m.define(a,je(y,c,1)))}))})),u.length>0&&(k&&(v.textContent+=c),v.textContent+=u.sort()+"{visibility:hidden}.hydrated{visibility:inherit}",v.innerHTML.length)){v.setAttribute("data-styles","");const e=null!=(o=d.P)?o:O(f);null!=e&&v.setAttribute("nonce",e),y.insertBefore(v,$?$.nextSibling:y.firstChild)}g=!1,b.length?b.map((e=>e.connectedCallback())):d.jmp((()=>w=setTimeout(ge,30)))},Me=(e,t,n)=>{n&&n.map((([n,l,o])=>{const s=Re(e,n),i=xe(t,o),r=Pe(n);d.ael(s,l,i,r),(t.G=t.G||[]).push((()=>d.rel(s,l,i,r)))}))},xe=(e,t)=>n=>{var l;try{256&e.l?null==(l=e.t)||l[t](n):(e.M=e.M||[]).push([t,n])}catch(e){s(e)}},Re=(e,t)=>4&t?f:8&t?a:e,Pe=e=>({passive:!!(1&e),capture:!!(2&e)}),Te=e=>d.P=e;export{D as H,Ee as b,H as c,F as g,L as h,h as p,l as r,Te as s}
|
|
2
|
+
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(n);if(e&&"then"in e){const t=()=>{};l=await e,t()}else l=e;if(!l)throw Error(`Constructor for "${n.k}#${t.q}" was not found`);l.isProxied||(n.D=l.watchers,je(l,n,2),l.isProxied=!0);const o=()=>{};t.l|=8;try{new l(t)}catch(e){s(e)}t.l&=-9,t.l|=128,o(),Oe(t.t)}else l=e.constructor,customElements.whenDefined(e.localName).then((()=>t.l|=128));if(l&&l.style){let e;"string"==typeof l.style&&(e=l.style);const t=q(n);if(!r.has(t)){const l=()=>{};((e,t,n)=>{let l=r.get(e);p&&n?(l=l||new CSSStyleSheet,"string"==typeof l?l=t:l.replaceSync(t)):l=t,r.set(e,l)})(t,e,!!(1&n.l)),l()}}}const o=t.C,c=()=>pe(t,!0);o&&o["s-rc"]?o["s-rc"].push(c):c()})(e,t,l)}o()}})(this)))}disconnectedCallback(){d.jmp((()=>(async()=>{if(!(1&d.l)){const e=n(this);e.G&&(e.G.map((e=>e())),e.G=void 0),(null==e?void 0:e.t)?Ce(e.t):(null==e?void 0:e.U)&&e.U.then((()=>Ce(e.t)))}})()))}componentOnReady(){return n(this).U}};c.W=e[0],h.includes(a)||m.get(a)||(u.push(a),m.define(a,je(y,c,1)))}))})),u.length>0&&(k&&(v.textContent+=c),v.textContent+=u.sort()+"{visibility:hidden}.hydrated{visibility:inherit}",v.innerHTML.length)){v.setAttribute("data-styles","");const e=null!=(o=d.P)?o:O(f);null!=e&&v.setAttribute("nonce",e),y.insertBefore(v,$?$.nextSibling:y.firstChild)}g=!1,b.length?b.map((e=>e.connectedCallback())):d.jmp((()=>w=setTimeout(ge,30)))},Me=(e,t,n)=>{n&&n.map((([n,l,o])=>{const s=Re(e,n),i=xe(t,o),r=Pe(n);d.ael(s,l,i,r),(t.G=t.G||[]).push((()=>d.rel(s,l,i,r)))}))},xe=(e,t)=>n=>{var l;try{256&e.l?null==(l=e.t)||l[t](n):(e.M=e.M||[]).push([t,n])}catch(e){s(e)}},Re=(e,t)=>4&t?f:8&t?a:16&t?f.body:e,Pe=e=>({passive:!!(1&e),capture:!!(2&e)}),Te=e=>d.P=e;export{D as H,Ee as b,H as c,F as g,L as h,h as p,l as r,Te as s}
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const casinoEngagementSuiteTournament = require('./casino-engagement-suite-tournament-
|
|
5
|
+
const index = require('./index-5e98dd13.js');
|
|
6
|
+
const casinoEngagementSuiteTournament = require('./casino-engagement-suite-tournament-1f1275c4.js');
|
|
7
7
|
|
|
8
8
|
const casinoEngagementSuiteProgressBarCss = ":host{display:block;font-family:inherit}:host(.Desktop) .ProgressBarPercent{font-size:var(--emw--font-size-small, 14px);line-height:14px}@keyframes indeterminate{0%{left:-200%;right:100%}60%{left:110%;right:-10%}to{left:110%;right:-10%}}.ProgressBarBackground{height:8px;background-color:var(--emw--color-gray-300, #666178);border-radius:var(--emw--border-radius-small, 4px);position:relative;overflow:hidden}.ProgressBarLine{position:absolute;left:0;top:0;bottom:0;border-radius:var(--emw--border-radius-small, 4px);background:var(--emw--engagement-suite-gradient-button, linear-gradient(98.25deg, #FF9400 22.48%, #FEF746 131.02%, #FFE24A 131.9%));transition:width ease-out 0.3s}.ProgressBarLine.Indeterminate{animation:indeterminate 1s linear infinite}.ProgressBarInfo{margin-bottom:8px;display:flex;justify-content:space-between;align-items:center}.ProgressBarPercent{font-weight:var(--emw--font-weight-bold, 700);font-size:var(--emw--font-size-x-small, 12px);line-height:12px}.HidePercent .ProgressBarPercent{display:none}.ProgressBar:not(.Disabled) .ProgressBarPercent{background:var(--emw--engagement-suite-gradient-button, linear-gradient(98.25deg, #FF9400 22.48%, #FEF746 131.02%, #FFE24A 131.9%));-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}.ProgressBar.Disabled .ProgressBarPercent{color:var(--emw--color-gray-300, #666178)}.ProgressBar.Disabled .ProgressBarLine{background:var(--emw--color-background-secondary, #474668)}";
|
|
9
9
|
const CasinoEngagementSuiteProgressBarStyle0 = casinoEngagementSuiteProgressBarCss;
|
|
@@ -69,6 +69,125 @@ const CasinoEngagementSuiteProgressBar = class {
|
|
|
69
69
|
};
|
|
70
70
|
CasinoEngagementSuiteProgressBar.style = CasinoEngagementSuiteProgressBarStyle0;
|
|
71
71
|
|
|
72
|
+
const CasinoEngagementSuiteTournamentItem = class {
|
|
73
|
+
constructor(hostRef) {
|
|
74
|
+
index.registerInstance(this, hostRef);
|
|
75
|
+
this.clickToTournamentDetail = index.createEvent(this, "clickToTournamentDetail", 7);
|
|
76
|
+
this.tournament = undefined;
|
|
77
|
+
this.isNew = undefined;
|
|
78
|
+
this.locale = casinoEngagementSuiteTournament.TRANSLATIONS;
|
|
79
|
+
}
|
|
80
|
+
handleJoinTournamentEvent(e) {
|
|
81
|
+
if (this.tournament.id === e.detail.id) {
|
|
82
|
+
this.tournament = Object.assign(Object.assign({}, this.tournament), { isActionJoinPending: true });
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
handleUnjoinTournamentEvent(e) {
|
|
86
|
+
if (this.tournament.id === e.detail.id) {
|
|
87
|
+
this.tournament = Object.assign(Object.assign({}, this.tournament), { isActionJoinPending: true });
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
goToDetail() {
|
|
91
|
+
this.clickToTournamentDetail.emit(this.tournament);
|
|
92
|
+
}
|
|
93
|
+
render() {
|
|
94
|
+
const tournament = this.tournament;
|
|
95
|
+
return (index.h("div", { key: 'e507da65532f4608aa96c1ebe2e329d332b9c439', class: casinoEngagementSuiteTournament.classnames('LeaderboardsItem', tournament.isPlayerAcknowledged ? ' GradientRounded Hollow' : '', tournament.isUnjoined ? 'Unjoined' : ''), onClick: this.goToDetail.bind(this) }, index.h("div", { key: 'dc9bd1777858b2a3a57a3f808f734857db9011ee', class: "LeaderboardsItemContainer" }, index.h("casino-engagement-suite-tournament-item-title", { key: '14cae37fbc9d0f829b85d507ea0e60c95afc7250', tournament: tournament }), index.h("casino-engagement-suite-tournament-timer", { key: 'd703d03c146592887ea20bdc1289b446399f0870', tournament: tournament })), index.h("div", { key: '4f2f422965b47c0103ff5dcef8f28dc507491677', class: "LeaderboardLabels" }, this.isNew && (index.h("div", { key: '3132e3ac8adec5f9ca85d8c14c91801779d8afbf', class: "LeaderboardLabel" }, index.h("span", { key: 'c148c5fa597b76ff4f23c06b6b3407c06a96bdb7' }, "new"))))));
|
|
96
|
+
}
|
|
97
|
+
};
|
|
98
|
+
|
|
99
|
+
const CasinoEngagementSuiteTournamentItemTitle = class {
|
|
100
|
+
constructor(hostRef) {
|
|
101
|
+
index.registerInstance(this, hostRef);
|
|
102
|
+
this.unjoinTournamentEvent = index.createEvent(this, "unjoinTournamentEvent", 7);
|
|
103
|
+
this.joinTournamentEvent = index.createEvent(this, "joinTournamentEvent", 7);
|
|
104
|
+
this.tournament = undefined;
|
|
105
|
+
this.locale = casinoEngagementSuiteTournament.TRANSLATIONS;
|
|
106
|
+
this.isButtonDisabed = false;
|
|
107
|
+
}
|
|
108
|
+
onTournamentChanged(tournament) {
|
|
109
|
+
this.isButtonDisabed = tournament.isActionJoinPending === true;
|
|
110
|
+
}
|
|
111
|
+
onClickItemJoin() {
|
|
112
|
+
if (this.isButtonDisabed) {
|
|
113
|
+
return;
|
|
114
|
+
}
|
|
115
|
+
this.isButtonDisabed = true;
|
|
116
|
+
if (this.tournament.isPlayerAcknowledged) {
|
|
117
|
+
this.unjoinTournamentEvent.emit({ type: casinoEngagementSuiteTournament.DialogType.unjoin, tournament: this.tournament });
|
|
118
|
+
}
|
|
119
|
+
else {
|
|
120
|
+
this.joinTournamentEvent.emit(this.tournament);
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
componentDidLoad() {
|
|
124
|
+
this.isButtonDisabed = this.tournament.isActionJoinPending === true;
|
|
125
|
+
}
|
|
126
|
+
render() {
|
|
127
|
+
return (index.h("div", { key: '5d6eebb15e8e1f1ac635fa90fe69407aab9cf81c', class: "TitleContainer" }, index.h("div", { key: 'ad7dd682272d822537cd484797b2f5d3825e49c8', class: "Title" }, this.tournament.nameOrTitle), this.tournament.state !== casinoEngagementSuiteTournament.TournamentState.Closed && (index.h("div", { key: '87e50a538aca5ce7d7b1a659dbe6aa16541194f2' }, casinoEngagementSuiteTournament.renderGradientRoundedButton({
|
|
128
|
+
statedClasses: {
|
|
129
|
+
isHollow: this.tournament.isPlayerAcknowledged,
|
|
130
|
+
isPending: this.isButtonDisabed
|
|
131
|
+
},
|
|
132
|
+
onClick: (e) => {
|
|
133
|
+
e.stopPropagation();
|
|
134
|
+
this.onClickItemJoin();
|
|
135
|
+
},
|
|
136
|
+
innerHTML: this.tournament.isPlayerAcknowledged ? this.locale.Unjoin : this.locale.Join
|
|
137
|
+
})))));
|
|
138
|
+
}
|
|
139
|
+
static get watchers() { return {
|
|
140
|
+
"tournament": ["onTournamentChanged"]
|
|
141
|
+
}; }
|
|
142
|
+
};
|
|
143
|
+
|
|
144
|
+
const CasinoEngagementSuiteTournamentTimer = class {
|
|
145
|
+
constructor(hostRef) {
|
|
146
|
+
index.registerInstance(this, hostRef);
|
|
147
|
+
this.tournament = undefined;
|
|
148
|
+
this.time = 0;
|
|
149
|
+
this.timeHolder = undefined;
|
|
150
|
+
this.timeCloak = true;
|
|
151
|
+
}
|
|
152
|
+
containerPageChangeHandler(event) {
|
|
153
|
+
this.timeCloak = event.detail.page === casinoEngagementSuiteTournament.LeaderboardPage.list ||
|
|
154
|
+
event.detail.page === casinoEngagementSuiteTournament.LeaderboardPage.item && this.tournament.id === event.detail.tournamentId;
|
|
155
|
+
}
|
|
156
|
+
setTimeInterval() {
|
|
157
|
+
this.timeHolder = setInterval(() => {
|
|
158
|
+
var _a;
|
|
159
|
+
const timeDifference = casinoEngagementSuiteTournament.getTimeDifference(new Date(), this.tournament.endTime);
|
|
160
|
+
const progress = casinoEngagementSuiteTournament.getProgress(this.tournament.startTime, this.tournament.endTime);
|
|
161
|
+
if (this.timeCloak &&
|
|
162
|
+
![casinoEngagementSuiteTournament.TournamentState.Closed, casinoEngagementSuiteTournament.TournamentState.Closing].includes((_a = this.tournament) === null || _a === void 0 ? void 0 : _a.state) &&
|
|
163
|
+
(timeDifference != this.lastTimeDiff || progress != this.lastProgress)) {
|
|
164
|
+
this.time++;
|
|
165
|
+
this.lastProgress = progress;
|
|
166
|
+
this.lastTimeDiff = timeDifference;
|
|
167
|
+
}
|
|
168
|
+
}, 2000);
|
|
169
|
+
}
|
|
170
|
+
connectedCallback() {
|
|
171
|
+
this.setTimeInterval();
|
|
172
|
+
}
|
|
173
|
+
disconnectedCallback() {
|
|
174
|
+
clearInterval(this.timeHolder);
|
|
175
|
+
}
|
|
176
|
+
render() {
|
|
177
|
+
return index.h("section", { key: 'b5d514586445a3acc665fcbbbaa0d139b7b28075', class: "TimeContainer" }, index.h("div", { key: '2080b18edd157a337d5c7f164d1914e91a95a3f3', class: "Time" }, this.tournament.state === 'Running'
|
|
178
|
+
? [
|
|
179
|
+
index.h("div", { class: "Running" }, index.h("div", null, this.lastTimeDiff), ",", index.h("div", null, casinoEngagementSuiteTournament.renderGradientRoundedButton({
|
|
180
|
+
statedClasses: {
|
|
181
|
+
isHollow: true,
|
|
182
|
+
isPendding: false
|
|
183
|
+
},
|
|
184
|
+
innerHTML: `${casinoEngagementSuiteTournament.getProgress(this.tournament.startTime, this.tournament.endTime)}%`
|
|
185
|
+
})))
|
|
186
|
+
]
|
|
187
|
+
: [index.h("div", { class: "NotRunning" }, casinoEngagementSuiteTournament.formatDate(this.tournament.startTime)), index.h("div", null, casinoEngagementSuiteTournament.formatDate(this.tournament.endTime))]), index.h("casino-engagement-suite-progress-bar", { key: 'b841cc70a1307f1175f0748644aaaeee9e1094ff', value: Number(this.lastProgress >= 100 ? 100 : this.lastProgress), "hide-percent": true }));
|
|
188
|
+
}
|
|
189
|
+
};
|
|
190
|
+
|
|
72
191
|
const mergeTranslations = (url, target) => {
|
|
73
192
|
return new Promise((resolve) => {
|
|
74
193
|
fetch(url)
|
|
@@ -145,4 +264,7 @@ GeneralStylingWrapper.style = GeneralStylingWrapperStyle0;
|
|
|
145
264
|
|
|
146
265
|
exports.casino_engagement_suite_tournament = casinoEngagementSuiteTournament.CasinoEngagementSuiteTournament;
|
|
147
266
|
exports.casino_engagement_suite_progress_bar = CasinoEngagementSuiteProgressBar;
|
|
267
|
+
exports.casino_engagement_suite_tournament_item = CasinoEngagementSuiteTournamentItem;
|
|
268
|
+
exports.casino_engagement_suite_tournament_item_title = CasinoEngagementSuiteTournamentItemTitle;
|
|
269
|
+
exports.casino_engagement_suite_tournament_timer = CasinoEngagementSuiteTournamentTimer;
|
|
148
270
|
exports.general_styling_wrapper = GeneralStylingWrapper;
|