@everymatrix/casino-engagement-suite-tournament 1.59.0 → 1.59.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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-1cdbfb3e.entry.js +1 -0
- package/dist/casino-engagement-suite-tournament/p-376260a6.js +15 -0
- package/dist/cjs/casino-engagement-suite-progress-bar_3.cjs.entry.js +2 -1
- package/dist/cjs/{casino-engagement-suite-tournament-dea6117d.js → casino-engagement-suite-tournament-21274e02.js} +1 -528
- package/dist/cjs/index.cjs.js +2 -1
- package/dist/collection/components/casino-engagement-suite-tournament/casino-engagement-suite-tournament.js +1 -1
- package/dist/esm/casino-engagement-suite-progress-bar_3.entry.js +2 -1
- package/dist/esm/{casino-engagement-suite-tournament-520e74da.js → casino-engagement-suite-tournament-75dbe0da.js} +84 -611
- package/dist/esm/index.js +2 -1
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/casino-engagement-suite-tournament/.stencil/packages/stencil/casino-engagement-suite-tournament/stencil.config.d.ts +2 -0
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/casino-engagement-suite-tournament/.stencil/packages/stencil/casino-engagement-suite-tournament/stencil.config.dev.d.ts +2 -0
- package/dist/types/components/casino-engagement-suite-tournament/casino-engagement-suite-tournament.d.ts +1 -1
- package/package.json +1 -1
- package/dist/casino-engagement-suite-tournament/p-36511cf5.js +0 -15
- package/dist/casino-engagement-suite-tournament/p-6e87f006.entry.js +0 -1
- package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/casino-engagement-suite-tournament/.stencil/packages/stencil/casino-engagement-suite-tournament/stencil.config.d.ts +0 -2
- package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/casino-engagement-suite-tournament/.stencil/packages/stencil/casino-engagement-suite-tournament/stencil.config.dev.d.ts +0 -2
- /package/dist/types/{builds/emfe-widgets → Users/adrian.pripon/Documents/Work}/widgets-monorepo/packages/stencil/casino-engagement-suite-tournament/.stencil/libs/common/src/storybook/storybook-utils.d.ts +0 -0
- /package/dist/types/{builds/emfe-widgets → Users/adrian.pripon/Documents/Work}/widgets-monorepo/packages/stencil/casino-engagement-suite-tournament/.stencil/packages/stencil/casino-engagement-suite-tournament/storybook/main.d.ts +0 -0
- /package/dist/types/{builds/emfe-widgets → Users/adrian.pripon/Documents/Work}/widgets-monorepo/packages/stencil/casino-engagement-suite-tournament/.stencil/packages/stencil/casino-engagement-suite-tournament/storybook/preview.d.ts +0 -0
- /package/dist/types/{builds/emfe-widgets → Users/adrian.pripon/Documents/Work}/widgets-monorepo/packages/stencil/casino-engagement-suite-tournament/.stencil/tools/plugins/index.d.ts +0 -0
- /package/dist/types/{builds/emfe-widgets → Users/adrian.pripon/Documents/Work}/widgets-monorepo/packages/stencil/casino-engagement-suite-tournament/.stencil/tools/plugins/stencil-clean-deps-plugin.d.ts +0 -0
- /package/dist/types/{builds/emfe-widgets → Users/adrian.pripon/Documents/Work}/widgets-monorepo/packages/stencil/casino-engagement-suite-tournament/.stencil/tools/plugins/vite-chunk-plugin.d.ts +0 -0
- /package/dist/types/{builds/emfe-widgets → Users/adrian.pripon/Documents/Work}/widgets-monorepo/packages/stencil/casino-engagement-suite-tournament/.stencil/tools/plugins/vite-clean-deps-plugin.d.ts +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as t,b as n}from"./p-7dd52ef4.js";export{s as setNonce}from"./p-7dd52ef4.js";import{g as e}from"./p-e1255160.js";(()=>{const n=import.meta.url,e={};return""!==n&&(e.resourcesUrl=new URL(".",n).href),t(e)})().then((async t=>(await e(),n([["p-
|
|
1
|
+
import{p as t,b as n}from"./p-7dd52ef4.js";export{s as setNonce}from"./p-7dd52ef4.js";import{g as e}from"./p-e1255160.js";(()=>{const n=import.meta.url,e={};return""!==n&&(e.resourcesUrl=new URL(".",n).href),t(e)})().then((async t=>(await e(),n([["p-1cdbfb3e",[[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],isActionJoinPending:[32],isDialogOpen:[32],isShowInfo:[32],page:[32],tournamentInDialog:[32],dialog:[32],time:[32],newIdList:[32]},[[8,"message","handleEvent"]],{newIdList:["checkNewIdList"],tournamentList:["syncBarState"],show:["showPropWatcher"]}],[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]}],[4,"general-styling-wrapper",{clientStyling:[1,"client-styling"],clientStylingUrl:[1,"client-styling-url"],translationUrl:[1,"translation-url"],targetTranslations:[16]}]]]],t))));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{C as CasinoEngagementSuiteTournament}from"./p-
|
|
1
|
+
export{C as CasinoEngagementSuiteTournament}from"./p-376260a6.js";import"./p-7dd52ef4.js";import"@everymatrix/general-animation-loading/dist";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e,h as t,g as r}from"./p-7dd52ef4.js";export{C as casino_engagement_suite_tournament}from"./p-376260a6.js";import"@everymatrix/general-animation-loading/dist";const s=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 r(this)}};s.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 i=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 s=(t=this.translationUrl,r=this.targetTranslations,new Promise((e=>{fetch(t).then((e=>e.json())).then((t=>{Object.keys(t).forEach((e=>{r[e]=r[e]?r[e]:{};for(let s in t[e])r[e][s]=t[e][s]})),e(!0)}))})));e.push(s)}var t,r;return await Promise.all(e)}render(){return t("div",{key:"4d3414408c7662f88331dbe655966237f74d6958",class:"StyleShell"},t("slot",{key:"1d004644d84602c4314bdf5dfc26b55b160f57df",name:"mainContent"}))}get el(){return r(this)}};i.style=":host{display:block}";export{s as casino_engagement_suite_progress_bar,i as general_styling_wrapper}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import{h as e,H as i,r as t,c as a}from"./p-7dd52ef4.js";import"@everymatrix/general-animation-loading/dist";
|
|
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,i){var t={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&i.indexOf(a)<0&&(t[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r<a.length;r++)i.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(t[a[r]]=e[a[r]])}return t}var n,o;!function(e){e.info="info",e.leaderboard="leaderboard",e.games="games"}(n||(n={})),function(e){e.Starts="Starts",e.Ends="Ends"}(o||(o={}));const s=(e,i)=>(Object.keys(i).map((t=>{e=e.replace(`{${t}}`,i[t])})),e),d=Object.assign(Object.assign(Object.assign({Join:"Join",Unjoin:"Unjoin"},n),o),{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."}),l=(...e)=>{let i=[];return e.map((e=>{switch(typeof e){case"string":i.push(e);break;case"object":Object.keys(e).map((t=>{e[t]&&i.push(t)}))}})),i.join(" ")};var c,p,g;!function(e){e.list="list",e.item="item"}(c||(c={})),function(e){e.Running="Running",e.Unstarted="Unstarted",e.Closed="Closed",e.Closing="Closing"}(p||(p={})),function(e){e.unjoin="unjoin",e.tip="tip",e.gift="gift"}(g||(g={}));const m=e=>[p.Closed,p.Closing].includes(e.state),u=e("img",{src:"https://static.everymatrix.com/gic/img/engagement-suite/close.svg"}),b=e("img",{src:"https://static.everymatrix.com/gic/img/engagement-suite/help.svg"}),h=e("img",{src:"https://static.everymatrix.com/gic/img/engagement-suite/eye-open.svg"}),v=e("img",{src:"https://static.everymatrix.com/gic/img/engagement-suite/eye-closed.svg"}),x=e("img",{src:"https://static.everymatrix.com/gic/img/engagement-suite/back.svg"}),f=e("img",{src:"https://static.everymatrix.com/gic/img/engagement-suite/reward.svg"}),w=e("img",{src:"https://static.everymatrix.com/gic/img/engagement-suite/cup-congras.svg"}),y=i=>{var{statedClasses:t,innerHTML:a}=i,n=r(i,["statedClasses","innerHTML"]);const{isHollow:o,isPending:s}=t;return e("button",Object.assign({class:l("GradientRoundedButton","GradientRounded",{Hollow:o||!1,Pending:s||!1})},n),e("span",null,a))};var L;!function(e){e.normal="normal",e.unjoinYes="unjoinYes",e.unjoinNo="unjoinNo"}(L||(L={}));const C=(e,i)=>{const{locale:t}=e,a={normal:{innerHTML:t.WinDialog.ButtonContinue},unjoinYes:{onClick:()=>e.actionJoin(e.dialog.data),innerHTML:t.UnjoinDialog.ButtonYes},unjoinNo:{statedClasses:{isHollow:!0},innerHTML:t.UnjoinDialog.ButtonNo}}[i];return y({statedClasses:Object.assign({isPending:e.isActionJoinPending},a.statedClasses),onClick:()=>{var i;null===(i=a.onClick)||void 0===i||i.call(),e.closeDialog()},innerHTML:a.innerHTML})},T={gift(i){const{name:t}=i.gifts[0],{locale:a}=i;return e("div",{class:"PageConfirmContainer"},e("div",{class:"PageConfirm"},e("div",null,w),e("div",{class:"Title"},a.WinDialog.Tile),e("div",{class:"Description",innerHTML:s(a.WinDialog.Description,{tournamentName:t})}),e("div",{class:"PageConfirmButtonsGroup"},C(i,L.normal))))},unjoin(i){const{locale:t}=i;return e("div",{class:"DialogContentUnjoin"},e("div",{class:"DialogContentUnjoinTitle"},t.UnjoinDialog.Title),e("div",{class:"DialogContentUnjoinDescription",innerHTML:t.UnjoinDialog.Description}),C(i,L.unjoinYes),C(i,L.unjoinNo))}},k=e=>{const i=["startTime","endTime","closeTime","exhibitionStartTime","exhibitionEndTime"],t={};return Object.keys(e).map((a=>{const r=e[a];t[a]="games"===a?r.items:i.includes(a)?new Date(r):r})),t},F=e=>{let{item:i,items:t}=e;return i?t.map((e=>i&&i.userID===e.userID?Object.assign(Object.assign({},e),{isMe:!0}):e)):t},j=i=>{const{left:t,middle:a,right:r}=i,n={left:t,middle:a,right:r};return e("div",{class:"WrapperBar"},Object.keys(n).map((i=>{return e("div",{class:"WrapperBar"+(t=i,t.split("").map(((e,i)=>0===i?e.toUpperCase():e)).join(""))},n[i]||"");var t})))};function z(e){return e.toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric",hour:"2-digit",minute:"2-digit",hour12:!1}).replace(" at",",")}function P(e,i){const t=new Date(e);return t.setSeconds(t.getSeconds()+i),t}function R(e,i){const t=Math.abs(i.getTime()-e.getTime()),a=Math.floor(t/864e5),r=Math.floor(t%864e5/36e5),n=Math.floor(t%36e5/6e4);return`${String(a).padStart(2,"0")}d:${String(r).padStart(2,"0")}h:${String(n).padStart(2,"0")}m`}function M(e,i){return(100*((new Date).getTime()-e.getTime())/(i.getTime()-e.getTime())).toFixed(0)}const U=(i,t)=>e("section",{class:"TimeContainer"},e("div",{class:"Time"},t.playerEnrolled?[e("div",null,R(P(t.startTime,i.time),t.endTime)),e("div",null,y({statedClasses:{isHollow:!0,isPendding:!1},innerHTML:`${M(t.startTime,t.endTime)}%`}))]:[e("div",null,z(t.startTime)),e("div",null,z(t.endTime))]),e("casino-engagement-suite-progress-bar",{value:Number(M(t.startTime,t.endTime)),"hide-percent":!0})),O=e=>window.postMessage({type:"UpdateLeaderboardState",labels:e}),H=e=>window.postMessage({type:"UpdateTournamentsItemReq",id:e.id}),B=(e,i)=>window.postMessage({type:"UpdateLeaderboardsReq",id:e.id,query:i}),I=(e,i)=>{const{success:t}=i;if(t)switch(e.tournamentItem=Object.assign(Object.assign({},e.tournamentItem),{playerEnrolled:!e.tournamentItem.playerEnrolled}),e.page){case c.item:break;case c.list:D(e,e.tournamentItem)}e.nextPage&&(e.setPage(e.nextPage),e.nextPage=void 0),e.isActionJoinPending=!1},D=(e,i)=>{e.tournamentList=e.tournamentList.map((e=>e.id===i.id?k(i):e))},S=(e,i)=>{e.tournamentList=e.tournamentList.filter((e=>e.id!==i.id))},W=(e,i)=>{const t=e.tournamentList.findIndex((e=>e.id===i.id));-1!==t?e.tournamentList[t]=k(i):e.tournamentList=e.tournamentList.concat(k(i))},G={list(i){var t;if(!i.tournamentList)return i.tournamentList=null===(t=i.leaderboardsInit)||void 0===t?void 0:t.map((e=>k(e))),e("general-animation-loading",null);const{locale:a}=i;if(i.tournamentList.length){const t=e=>{i.setPage(c.item,{tournament:e}),i.newIdList=i.newIdList.filter((i=>i!==e.id))};return E(i,e("div",{class:"Leaderboards Row"},i.tournamentList.map((a=>e("div",{class:l("LeaderboardsItem",a.playerEnrolled?" GradientRounded Hollow":""),onClick:()=>t(a)},e("div",{class:"LeaderboardsItemContainer"},N(i,a),U(i,a)),e("div",{class:"LeaderboardLabels"},i.newIdList.includes(a.id)&&e("div",{class:"LeaderboardLabel"},e("span",null,"new"))))))))}return E(i,e("div",{class:"NoLeaderboards Row"},e("div",null,a.NoLeaderboards),e("div",null,a.NoLeaderboardsTip)))},item:i=>i.tournamentItem?E(i,[N(i,i.tournamentItem),(()=>{const{locale:t,tab:a}=i;return e("div",{class:"TabsContainer"},e("div",{class:"Tabs"},Object.keys(n).map((r=>e("div",{class:l({active:a===r}),onClick:()=>(e=>{switch(i.tab=e,e){case n.leaderboard:i.leaderboards=void 0,B(i.tournamentItem);break;case n.games:H(i.tournamentItem)}})(r)},t[r])))))})(),i.renders.tab[i.tab]()]):e("general-animation-loading",null)},N=(i,t)=>{const{locale:a}=i;return e("div",{class:"TitleContainer"},e("div",{class:"Title"},t.nameOrTitle),t.state!==p.Closed&&e("div",null,y({statedClasses:{isHollow:t.playerEnrolled,isPending:i.isActionJoinPending},onClick:e=>{e.stopPropagation(),(e=>{e.playerEnrolled?i.openDialog(g.unjoin,e):(i.actionJoin(e),i.tournamentItem=e)})(t)},innerHTML:t.playerEnrolled?a.Unjoin:a.Join})))},E=(i,t)=>{const{dialog:{isOpen:a}}=i,r=j({right:e("span",{onClick:()=>i.closeDialog()},u)});return e("div",{class:`Wrapper ${i.device}`},e("div",{class:l("WrapperContent",{faded:a})},(()=>{const{left:t,middle:a}=(()=>{const{page:t,locale:a}=i;switch(t){case c.list:return{left:e("span",{onClick:()=>i.openDialog(g.tip)},b),middle:a.Leaderboards};case c.item:return{left:e("span",{onClick:()=>i.setPage(c.list)},x),middle:""}}})();return j({left:t,middle:a,right:e("span",{onClick:()=>i.close.emit()},u)})})(),e("div",{class:"Root"},e("div",{class:"Main"},t))),e("div",{class:"WrapperUtil"},e("dialog",{open:a},e("div",{class:"GradientRounded Hollow"},r,a&&(()=>{switch(i.dialog.type){case g.unjoin:return i.renders.dialog.unjoin();case g.tip:return e("div",{class:"Tip"},i.locale.Tip);case g.gift:return i.renders.dialog.gift()}})()))))},q={info(i){var t,a;const{locale:r,tournamentItem:n,isShowInfo:o}=i;return e("div",{class:"InfoContainer"},U(i,n),e("section",{class:"ShowInfo",onClick:()=>i.isShowInfo=!i.isShowInfo},e("p",null,e("span",null,o?v:h),e("span",null,r.LeaderboardDetails))),o&&e("section",{class:"Info"},e("div",null,n.description),e("div",{class:"Criterias"},e("div",null,r.ScoreCriteria,": ",e("span",null,n.scoreCriteria)),e("div",null,r.MinimumBetCriteria,": ",e("span",null,n.minBetCount))),e("div",{class:"TC"},e("a",{href:n.termsUrl,target:"_blank"},r.TC))),m(i.tournamentItem)&&(null===(t=i.leaderboards)||void 0===t?void 0:t.find((e=>e.isMe)))&&e("section",{class:"ResultPrize",innerHTML:s(r.TipPrize,$(null===(a=i.leaderboards)||void 0===a?void 0:a.find((e=>e.isMe))))}),e("section",{class:"Prizes"},e("div",{class:"PrizesHeader"},f,e("span",{class:"PrizesText"},r.Prizes)),n.prizes.map(((i,t)=>e("div",{class:"Prize"},t+1," ",r.Place,": ",e("span",{class:"PrizeText"},i.name))))))},leaderboard:i=>i.leaderboards?i.leaderboards.length?e("table",{class:"Leaderboards"},i.leaderboards.map((i=>e("tr",{class:l({isMe:i.isMe})},e("td",{class:"LeaderboardRank"},e("span",null,i.rank)),e("td",{class:"LeaderboardName"},i.shortName),e("td",{class:"LeaderboardScore"},i.score),e("td",{class:"LeaderboardPrize"},i.prizeName))))):"":e("general-animation-loading",null),games(i){var t;return e("div",{class:"Games"},null===(t=i.tournamentItem.games)||void 0===t?void 0:t.map((i=>e("div",null,e("img",{src:i.defaultThumbnail,alt:""})))))}},$=e=>({prize:e.prizeName,place:e.rank}),Y={dialog:T,page:G,tab:q},J=class{handleEvent(e){var i,t;const a=e.data,{type:n}=a,o=r(a,["type"]);var s;null===(t=null===(s=this,i={UpdateLeaderboardsPlayerRes:e=>{const i=(e=>{let i;return e.map((e=>{var t;const a=null===(t=e.leaderBoard)||void 0===t?void 0:t.rank;a&&(i?a<i.leaderBoard.rank&&(i=e):i=e)})),i?`${i.leaderBoard.rank} / ${i.endRank}`:"-"})(e.data.items);window.postMessage({type:"UpdateLeaderboardState",rank:i})},UpdateLeaderboardStateReq:()=>{window.postMessage({type:"UpdateLeaderboardState",labels:["win","new"]})},UpdateTournamentsItemRes:e=>{const i=k(e.data.item);s.tournamentItem=i,D(s,i)},UpdateLeaderboardsRes:e=>{s.leaderboards=F(e.data)},JoinTournamentRes:e=>I(s,e),UnjoinTournamentRes:e=>I(s,e),LeaderboardLiveEvent:e=>{((e,i)=>{const{messageType:t,item:a}=i;switch(t){case"TournamentUpdate":case"PlayerLeaderBoardUpdate":W(e,a);break;case"TournamentRemove":S(e,a);break;case"LeaderBoardUpdate":e.leaderboards=F(i)}})(s,e)}})||void 0===i?void 0:i[n])||void 0===t||t.call(null,o)}checkNewIdList(){this.newIdList.length>0?this.addLabel("new"):this.removeLabel("new")}syncBarState(e,i){if(i){const r=(t=i,a=(e,i)=>e.id===i.id,e.filter((e=>!t.some((i=>a(e,i))))));this.newIdList=[...this.newIdList,...r.map((e=>e.id))]}else this.checkNewIdList(),this.gifts.length&&this.addLabel("win");var t,a}showPropWatcher(e,i){0==i&&1==e&&this.checkGift()}addLabel(e){this.labels.includes(e)||this.labels.push(e),O(this.labels)}removeLabel(e){this.labels=this.labels.filter((i=>i!=e)),O(this.labels)}setTimeInterval(){this.timeHolder=setInterval((()=>{this.time=this.tournamentList||this.tournamentItem?this.time+1:0}),1e3)}checkGift(){this.gifts.length?this.openDialog(g.gift,this.gifts[0],(()=>{this.dialog.type===g.gift&&(this.gifts=this.gifts.slice(1),setTimeout((()=>{this.checkGift()}),300))})):this.removeLabel("win")}connectedCallback(){this.setTimeInterval(),window.postMessage({type:"UpdateLeaderboardsPlayerReq"})}disconnectedCallback(){clearInterval(this.timeHolder)}actionJoin(e){if(!this.isActionJoinPending){this.isActionJoinPending=!0;try{e.playerEnrolled?(e=>{window.postMessage({type:"UnjoinTournamentReq",id:e.id})})(e):(e=>{var i,t;window.postMessage({type:"JoinTournamentReq",bonusCode:null===(t=null===(i=e.wallets)||void 0===i?void 0:i[0])||void 0===t?void 0:t.code})})(e)}catch(e){return void console.log("error",e)}}}setPage(e,i){e==c.item&&(this.tournamentItem=i.tournament,this.tournamentItem||H(i.tournament),m(this.tournamentItem)&&B(this.tournamentItem)),this.tab=n.info,this.page=e}render(){return e(i,{key:"f9e9ea96e0fddd20d3f12141c7cf66588ab94ccd"},e("general-styling-wrapper",{key:"aea948ea6c8f8cc5e4aaea5812873d3fe7045568",clientStylingUrl:this.clientStylingUrl,clientStyling:this.clientStyling,targetTranslations:d,translationUrl:this.translationUrl}),this.renders.page[this.page]())}openDialog(e,i,t){this.dialog=Object.assign(Object.assign({},this.dialog),{isOpen:!0,onClose:t,type:e,data:i})}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){t(this,e),this.close=a(this,"close",7),this.gifts=[],this.labels=[],this.language="en",this.show=!1,this.clientStyling="",this.clientStylingUrl="",this.translationUrl="",this.device="Mobile",this.leaderboardsInit=void 0,this.tab=n.info,this.locale=d,this.tournamentItem=void 0,this.tournamentList=void 0,this.leaderboards=[],this.isActionJoinPending=!1,this.isDialogOpen=!1,this.isShowInfo=!1,this.page=c.list,this.tournamentInDialog=void 0,this.dialog={isOpen:!1,type:void 0,data:void 0,onClose:void 0},this.time=0,this.newIdList=[],this.renders={},Object.keys(Y).forEach((e=>{this.renders[e]={},Object.keys(Y[e]).forEach((i=>{this.renders[e][i]=Y[e][i].bind(this,this)}))}))}static get watchers(){return{newIdList:["checkNewIdList"],tournamentList:["syncBarState"],show:["showPropWatcher"]}}};J.style='.Wrapper{height:100%;position:relative;color:var(--emw--color-typography, #FFFFFF);display:flex;background-color:var(--emw--color-background, hsl(254, 44%, 15%));flex-direction:column;border-radius:24px;overflow-y:auto}.Wrapper.Mobile{border-radius:16px}.WrapperContent{padding-bottom:20px;transition:0.5s filter}.WrapperContent.faded{filter:brightness(53.3333333333%)}.Wrapper.Mobile .WrapperBar{padding:20px 8px 8px;margin-bottom:8px}.WrapperBar{display:flex;width:100%;padding:32px 20px 20px;margin-bottom:20px}.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}.Row{margin:24px 0;padding:0 20px}.Row:first-child{margin:0}.LeaderboardsItem{position:relative;margin:10px 0;border:1px solid rgb(64, 57, 86);border-radius:16px}.LeaderboardsItem.Hollow{border-color:transparent}.LeaderboardsItem:first-child{margin-top:0}.LeaderboardsItemContainer{padding-top:16px}.Info{margin:24px 0;padding:0 20px}.TimeContainer{margin:24px 0;padding:0 20px}.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 button{font-size:var(--emw--font-size-x-small, 12px);height:20px;padding:0}.TimeContainer .Time button::before{inset:inherit;border:0}.ShowInfo{margin:24px 0;padding:0 20px;cursor:pointer;color:rgb(102, 97, 120)}.ShowInfo p{display:flex;gap:4px}.TitleContainer{display:flex;justify-content:space-between;margin:24px 0;padding:0 20px;margin-top:0;gap:10px;font-family:Montserrat}.TitleContainer .GradientRoundedButton{width:120px}.TabsContainer{margin:24px 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>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:24px 0;padding:0 20px}.ResultPrize span{color:var(--emw--color-primary, rgb(255, 214, 47));font-weight:400}.Prizes{margin:24px 0;padding:0 20px}.Prizes .PrizesText{margin-left:3px;font-weight:600}.Prizes .PrizesHeader{align-items:center;display:flex}.Prizes .PrizesHeader img{width:12px}.Prizes .Prize{margin:8px 0}.Prizes .Prize .PrizeText{color:var(--emw--color-primary, rgb(255, 214, 47));font-weight:400}*{box-sizing:border-box}.Leaderboards{width:100%;text-align:center;border-collapse:collapse}.Leaderboards td{opacity:0.6;padding:20px 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)}.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))}.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)}.Games{margin:24px 0;padding:0 20px;display:flex;flex-wrap:wrap;justify-content:space-evenly;gap:4px 7.25px}.Games img{width:60px}dialog{position:absolute;top:30px;width:100%;height:100%;background:transparent;border:0;padding:0;color:var(--emw--color-typography, #FFFFFF)}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)}.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}';export{J as C}
|
|
@@ -3,7 +3,8 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-9b5a5304.js');
|
|
6
|
-
const casinoEngagementSuiteTournament = require('./casino-engagement-suite-tournament-
|
|
6
|
+
const casinoEngagementSuiteTournament = require('./casino-engagement-suite-tournament-21274e02.js');
|
|
7
|
+
require('@everymatrix/general-animation-loading/dist');
|
|
7
8
|
|
|
8
9
|
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
10
|
const CasinoEngagementSuiteProgressBarStyle0 = casinoEngagementSuiteProgressBarCss;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const index = require('./index-9b5a5304.js');
|
|
4
|
+
require('@everymatrix/general-animation-loading/dist');
|
|
4
5
|
|
|
5
6
|
/*! *****************************************************************************
|
|
6
7
|
Copyright (c) Microsoft Corporation.
|
|
@@ -641,534 +642,6 @@ const renders = {
|
|
|
641
642
|
tab
|
|
642
643
|
};
|
|
643
644
|
|
|
644
|
-
function a() {
|
|
645
|
-
}
|
|
646
|
-
function M(t) {
|
|
647
|
-
return t();
|
|
648
|
-
}
|
|
649
|
-
function O() {
|
|
650
|
-
return /* @__PURE__ */ Object.create(null);
|
|
651
|
-
}
|
|
652
|
-
function y(t) {
|
|
653
|
-
t.forEach(M);
|
|
654
|
-
}
|
|
655
|
-
function N(t) {
|
|
656
|
-
return typeof t == "function";
|
|
657
|
-
}
|
|
658
|
-
function R(t, e) {
|
|
659
|
-
return t != t ? e == e : t !== e || t && typeof t == "object" || typeof t == "function";
|
|
660
|
-
}
|
|
661
|
-
function T(t) {
|
|
662
|
-
return Object.keys(t).length === 0;
|
|
663
|
-
}
|
|
664
|
-
function H(t, e) {
|
|
665
|
-
t.appendChild(e);
|
|
666
|
-
}
|
|
667
|
-
function U(t, e, n) {
|
|
668
|
-
const s = I(t);
|
|
669
|
-
if (!s.getElementById(e)) {
|
|
670
|
-
const i = v("style");
|
|
671
|
-
i.id = e, i.textContent = n, z(s, i);
|
|
672
|
-
}
|
|
673
|
-
}
|
|
674
|
-
function I(t) {
|
|
675
|
-
if (!t)
|
|
676
|
-
return document;
|
|
677
|
-
const e = t.getRootNode ? t.getRootNode() : t.ownerDocument;
|
|
678
|
-
return e && /** @type {ShadowRoot} */
|
|
679
|
-
e.host ? (
|
|
680
|
-
/** @type {ShadowRoot} */
|
|
681
|
-
e
|
|
682
|
-
) : t.ownerDocument;
|
|
683
|
-
}
|
|
684
|
-
function z(t, e) {
|
|
685
|
-
return H(
|
|
686
|
-
/** @type {Document} */
|
|
687
|
-
t.head || t,
|
|
688
|
-
e
|
|
689
|
-
), e.sheet;
|
|
690
|
-
}
|
|
691
|
-
function B(t, e, n) {
|
|
692
|
-
t.insertBefore(e, n || null);
|
|
693
|
-
}
|
|
694
|
-
function E(t) {
|
|
695
|
-
t.parentNode && t.parentNode.removeChild(t);
|
|
696
|
-
}
|
|
697
|
-
function v(t) {
|
|
698
|
-
return document.createElement(t);
|
|
699
|
-
}
|
|
700
|
-
function D(t, e, n) {
|
|
701
|
-
n == null ? t.removeAttribute(e) : t.getAttribute(e) !== n && t.setAttribute(e, n);
|
|
702
|
-
}
|
|
703
|
-
function F(t) {
|
|
704
|
-
return Array.from(t.childNodes);
|
|
705
|
-
}
|
|
706
|
-
function G(t) {
|
|
707
|
-
const e = {};
|
|
708
|
-
return t.childNodes.forEach(
|
|
709
|
-
/** @param {Element} node */
|
|
710
|
-
(n) => {
|
|
711
|
-
e[n.slot || "default"] = !0;
|
|
712
|
-
}
|
|
713
|
-
), e;
|
|
714
|
-
}
|
|
715
|
-
let p;
|
|
716
|
-
function _(t) {
|
|
717
|
-
p = t;
|
|
718
|
-
}
|
|
719
|
-
function J() {
|
|
720
|
-
if (!p)
|
|
721
|
-
throw new Error("Function called outside component initialization");
|
|
722
|
-
return p;
|
|
723
|
-
}
|
|
724
|
-
function V(t) {
|
|
725
|
-
J().$$.on_mount.push(t);
|
|
726
|
-
}
|
|
727
|
-
const $ = [], w = [];
|
|
728
|
-
let h = [];
|
|
729
|
-
const A = [], q = /* @__PURE__ */ Promise.resolve();
|
|
730
|
-
let x = !1;
|
|
731
|
-
function K() {
|
|
732
|
-
x || (x = !0, q.then(m));
|
|
733
|
-
}
|
|
734
|
-
function k(t) {
|
|
735
|
-
h.push(t);
|
|
736
|
-
}
|
|
737
|
-
const b = /* @__PURE__ */ new Set();
|
|
738
|
-
let f = 0;
|
|
739
|
-
function m() {
|
|
740
|
-
if (f !== 0)
|
|
741
|
-
return;
|
|
742
|
-
const t = p;
|
|
743
|
-
do {
|
|
744
|
-
try {
|
|
745
|
-
for (; f < $.length; ) {
|
|
746
|
-
const e = $[f];
|
|
747
|
-
f++, _(e), Q(e.$$);
|
|
748
|
-
}
|
|
749
|
-
} catch (e) {
|
|
750
|
-
throw $.length = 0, f = 0, e;
|
|
751
|
-
}
|
|
752
|
-
for (_(null), $.length = 0, f = 0; w.length; )
|
|
753
|
-
w.pop()();
|
|
754
|
-
for (let e = 0; e < h.length; e += 1) {
|
|
755
|
-
const n = h[e];
|
|
756
|
-
b.has(n) || (b.add(n), n());
|
|
757
|
-
}
|
|
758
|
-
h.length = 0;
|
|
759
|
-
} while ($.length);
|
|
760
|
-
for (; A.length; )
|
|
761
|
-
A.pop()();
|
|
762
|
-
x = !1, b.clear(), _(t);
|
|
763
|
-
}
|
|
764
|
-
function Q(t) {
|
|
765
|
-
if (t.fragment !== null) {
|
|
766
|
-
t.update(), y(t.before_update);
|
|
767
|
-
const e = t.dirty;
|
|
768
|
-
t.dirty = [-1], t.fragment && t.fragment.p(t.ctx, e), t.after_update.forEach(k);
|
|
769
|
-
}
|
|
770
|
-
}
|
|
771
|
-
function W(t) {
|
|
772
|
-
const e = [], n = [];
|
|
773
|
-
h.forEach((s) => t.indexOf(s) === -1 ? e.push(s) : n.push(s)), n.forEach((s) => s()), h = e;
|
|
774
|
-
}
|
|
775
|
-
const X = /* @__PURE__ */ new Set();
|
|
776
|
-
function Y(t, e) {
|
|
777
|
-
t && t.i && (X.delete(t), t.i(e));
|
|
778
|
-
}
|
|
779
|
-
function Z(t, e, n) {
|
|
780
|
-
const { fragment: s, after_update: i } = t.$$;
|
|
781
|
-
s && s.m(e, n), k(() => {
|
|
782
|
-
const r = t.$$.on_mount.map(M).filter(N);
|
|
783
|
-
t.$$.on_destroy ? t.$$.on_destroy.push(...r) : y(r), t.$$.on_mount = [];
|
|
784
|
-
}), i.forEach(k);
|
|
785
|
-
}
|
|
786
|
-
function tt(t, e) {
|
|
787
|
-
const n = t.$$;
|
|
788
|
-
n.fragment !== null && (W(n.after_update), y(n.on_destroy), n.fragment && n.fragment.d(e), n.on_destroy = n.fragment = null, n.ctx = []);
|
|
789
|
-
}
|
|
790
|
-
function et(t, e) {
|
|
791
|
-
t.$$.dirty[0] === -1 && ($.push(t), K(), t.$$.dirty.fill(0)), t.$$.dirty[e / 31 | 0] |= 1 << e % 31;
|
|
792
|
-
}
|
|
793
|
-
function nt(t, e, n, s, i, r, o = null, l = [-1]) {
|
|
794
|
-
const c = p;
|
|
795
|
-
_(t);
|
|
796
|
-
const u = t.$$ = {
|
|
797
|
-
fragment: null,
|
|
798
|
-
ctx: [],
|
|
799
|
-
// state
|
|
800
|
-
props: r,
|
|
801
|
-
update: a,
|
|
802
|
-
not_equal: i,
|
|
803
|
-
bound: O(),
|
|
804
|
-
// lifecycle
|
|
805
|
-
on_mount: [],
|
|
806
|
-
on_destroy: [],
|
|
807
|
-
on_disconnect: [],
|
|
808
|
-
before_update: [],
|
|
809
|
-
after_update: [],
|
|
810
|
-
context: new Map(e.context || (c ? c.$$.context : [])),
|
|
811
|
-
// everything else
|
|
812
|
-
callbacks: O(),
|
|
813
|
-
dirty: l,
|
|
814
|
-
skip_bound: !1,
|
|
815
|
-
root: e.target || c.$$.root
|
|
816
|
-
};
|
|
817
|
-
o && o(u.root);
|
|
818
|
-
let L = !1;
|
|
819
|
-
if (u.ctx = n ? n(t, e.props || {}, (d, C, ...S) => {
|
|
820
|
-
const j = S.length ? S[0] : C;
|
|
821
|
-
return u.ctx && i(u.ctx[d], u.ctx[d] = j) && (!u.skip_bound && u.bound[d] && u.bound[d](j), L && et(t, d)), C;
|
|
822
|
-
}) : [], u.update(), L = !0, y(u.before_update), u.fragment = s ? s(u.ctx) : !1, e.target) {
|
|
823
|
-
if (e.hydrate) {
|
|
824
|
-
const d = F(e.target);
|
|
825
|
-
u.fragment && u.fragment.l(d), d.forEach(E);
|
|
826
|
-
} else
|
|
827
|
-
u.fragment && u.fragment.c();
|
|
828
|
-
e.intro && Y(t.$$.fragment), Z(t, e.target, e.anchor), m();
|
|
829
|
-
}
|
|
830
|
-
_(c);
|
|
831
|
-
}
|
|
832
|
-
let P;
|
|
833
|
-
typeof HTMLElement == "function" && (P = class extends HTMLElement {
|
|
834
|
-
/** The Svelte component constructor */
|
|
835
|
-
$$ctor;
|
|
836
|
-
/** Slots */
|
|
837
|
-
$$s;
|
|
838
|
-
/** The Svelte component instance */
|
|
839
|
-
$$c;
|
|
840
|
-
/** Whether or not the custom element is connected */
|
|
841
|
-
$$cn = !1;
|
|
842
|
-
/** Component props data */
|
|
843
|
-
$$d = {};
|
|
844
|
-
/** `true` if currently in the process of reflecting component props back to attributes */
|
|
845
|
-
$$r = !1;
|
|
846
|
-
/** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
|
|
847
|
-
$$p_d = {};
|
|
848
|
-
/** @type {Record<string, Function[]>} Event listeners */
|
|
849
|
-
$$l = {};
|
|
850
|
-
/** @type {Map<Function, Function>} Event listener unsubscribe functions */
|
|
851
|
-
$$l_u = /* @__PURE__ */ new Map();
|
|
852
|
-
constructor(t, e, n) {
|
|
853
|
-
super(), this.$$ctor = t, this.$$s = e, n && this.attachShadow({ mode: "open" });
|
|
854
|
-
}
|
|
855
|
-
addEventListener(t, e, n) {
|
|
856
|
-
if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(e), this.$$c) {
|
|
857
|
-
const s = this.$$c.$on(t, e);
|
|
858
|
-
this.$$l_u.set(e, s);
|
|
859
|
-
}
|
|
860
|
-
super.addEventListener(t, e, n);
|
|
861
|
-
}
|
|
862
|
-
removeEventListener(t, e, n) {
|
|
863
|
-
if (super.removeEventListener(t, e, n), this.$$c) {
|
|
864
|
-
const s = this.$$l_u.get(e);
|
|
865
|
-
s && (s(), this.$$l_u.delete(e));
|
|
866
|
-
}
|
|
867
|
-
}
|
|
868
|
-
async connectedCallback() {
|
|
869
|
-
if (this.$$cn = !0, !this.$$c) {
|
|
870
|
-
let t = function(i) {
|
|
871
|
-
return () => {
|
|
872
|
-
let r;
|
|
873
|
-
return {
|
|
874
|
-
c: function() {
|
|
875
|
-
r = v("slot"), i !== "default" && D(r, "name", i);
|
|
876
|
-
},
|
|
877
|
-
/**
|
|
878
|
-
* @param {HTMLElement} target
|
|
879
|
-
* @param {HTMLElement} [anchor]
|
|
880
|
-
*/
|
|
881
|
-
m: function(c, u) {
|
|
882
|
-
B(c, r, u);
|
|
883
|
-
},
|
|
884
|
-
d: function(c) {
|
|
885
|
-
c && E(r);
|
|
886
|
-
}
|
|
887
|
-
};
|
|
888
|
-
};
|
|
889
|
-
};
|
|
890
|
-
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
891
|
-
return;
|
|
892
|
-
const e = {}, n = G(this);
|
|
893
|
-
for (const i of this.$$s)
|
|
894
|
-
i in n && (e[i] = [t(i)]);
|
|
895
|
-
for (const i of this.attributes) {
|
|
896
|
-
const r = this.$$g_p(i.name);
|
|
897
|
-
r in this.$$d || (this.$$d[r] = g(r, i.value, this.$$p_d, "toProp"));
|
|
898
|
-
}
|
|
899
|
-
for (const i in this.$$p_d)
|
|
900
|
-
!(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
|
|
901
|
-
this.$$c = new this.$$ctor({
|
|
902
|
-
target: this.shadowRoot || this,
|
|
903
|
-
props: {
|
|
904
|
-
...this.$$d,
|
|
905
|
-
$$slots: e,
|
|
906
|
-
$$scope: {
|
|
907
|
-
ctx: []
|
|
908
|
-
}
|
|
909
|
-
}
|
|
910
|
-
});
|
|
911
|
-
const s = () => {
|
|
912
|
-
this.$$r = !0;
|
|
913
|
-
for (const i in this.$$p_d)
|
|
914
|
-
if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
|
|
915
|
-
const r = g(
|
|
916
|
-
i,
|
|
917
|
-
this.$$d[i],
|
|
918
|
-
this.$$p_d,
|
|
919
|
-
"toAttribute"
|
|
920
|
-
);
|
|
921
|
-
r == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, r);
|
|
922
|
-
}
|
|
923
|
-
this.$$r = !1;
|
|
924
|
-
};
|
|
925
|
-
this.$$c.$$.after_update.push(s), s();
|
|
926
|
-
for (const i in this.$$l)
|
|
927
|
-
for (const r of this.$$l[i]) {
|
|
928
|
-
const o = this.$$c.$on(i, r);
|
|
929
|
-
this.$$l_u.set(r, o);
|
|
930
|
-
}
|
|
931
|
-
this.$$l = {};
|
|
932
|
-
}
|
|
933
|
-
}
|
|
934
|
-
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
|
935
|
-
// and setting attributes through setAttribute etc, this is helpful
|
|
936
|
-
attributeChangedCallback(t, e, n) {
|
|
937
|
-
this.$$r || (t = this.$$g_p(t), this.$$d[t] = g(t, n, this.$$p_d, "toProp"), this.$$c?.$set({ [t]: this.$$d[t] }));
|
|
938
|
-
}
|
|
939
|
-
disconnectedCallback() {
|
|
940
|
-
this.$$cn = !1, Promise.resolve().then(() => {
|
|
941
|
-
!this.$$cn && this.$$c && (this.$$c.$destroy(), this.$$c = void 0);
|
|
942
|
-
});
|
|
943
|
-
}
|
|
944
|
-
$$g_p(t) {
|
|
945
|
-
return Object.keys(this.$$p_d).find(
|
|
946
|
-
(e) => this.$$p_d[e].attribute === t || !this.$$p_d[e].attribute && e.toLowerCase() === t
|
|
947
|
-
) || t;
|
|
948
|
-
}
|
|
949
|
-
});
|
|
950
|
-
function g(t, e, n, s) {
|
|
951
|
-
const i = n[t]?.type;
|
|
952
|
-
if (e = i === "Boolean" && typeof e != "boolean" ? e != null : e, !s || !n[t])
|
|
953
|
-
return e;
|
|
954
|
-
if (s === "toAttribute")
|
|
955
|
-
switch (i) {
|
|
956
|
-
case "Object":
|
|
957
|
-
case "Array":
|
|
958
|
-
return e == null ? null : JSON.stringify(e);
|
|
959
|
-
case "Boolean":
|
|
960
|
-
return e ? "" : null;
|
|
961
|
-
case "Number":
|
|
962
|
-
return e ?? null;
|
|
963
|
-
default:
|
|
964
|
-
return e;
|
|
965
|
-
}
|
|
966
|
-
else
|
|
967
|
-
switch (i) {
|
|
968
|
-
case "Object":
|
|
969
|
-
case "Array":
|
|
970
|
-
return e && JSON.parse(e);
|
|
971
|
-
case "Boolean":
|
|
972
|
-
return e;
|
|
973
|
-
case "Number":
|
|
974
|
-
return e != null ? +e : e;
|
|
975
|
-
default:
|
|
976
|
-
return e;
|
|
977
|
-
}
|
|
978
|
-
}
|
|
979
|
-
function it(t, e, n, s, i, r) {
|
|
980
|
-
let o = class extends P {
|
|
981
|
-
constructor() {
|
|
982
|
-
super(t, n, i), this.$$p_d = e;
|
|
983
|
-
}
|
|
984
|
-
static get observedAttributes() {
|
|
985
|
-
return Object.keys(e).map(
|
|
986
|
-
(l) => (e[l].attribute || l).toLowerCase()
|
|
987
|
-
);
|
|
988
|
-
}
|
|
989
|
-
};
|
|
990
|
-
return Object.keys(e).forEach((l) => {
|
|
991
|
-
Object.defineProperty(o.prototype, l, {
|
|
992
|
-
get() {
|
|
993
|
-
return this.$$c && l in this.$$c ? this.$$c[l] : this.$$d[l];
|
|
994
|
-
},
|
|
995
|
-
set(c) {
|
|
996
|
-
c = g(l, c, e), this.$$d[l] = c, this.$$c?.$set({ [l]: c });
|
|
997
|
-
}
|
|
998
|
-
});
|
|
999
|
-
}), s.forEach((l) => {
|
|
1000
|
-
Object.defineProperty(o.prototype, l, {
|
|
1001
|
-
get() {
|
|
1002
|
-
return this.$$c?.[l];
|
|
1003
|
-
}
|
|
1004
|
-
});
|
|
1005
|
-
}), t.element = /** @type {any} */
|
|
1006
|
-
o, o;
|
|
1007
|
-
}
|
|
1008
|
-
class st {
|
|
1009
|
-
/**
|
|
1010
|
-
* ### PRIVATE API
|
|
1011
|
-
*
|
|
1012
|
-
* Do not use, may change at any time
|
|
1013
|
-
*
|
|
1014
|
-
* @type {any}
|
|
1015
|
-
*/
|
|
1016
|
-
$$ = void 0;
|
|
1017
|
-
/**
|
|
1018
|
-
* ### PRIVATE API
|
|
1019
|
-
*
|
|
1020
|
-
* Do not use, may change at any time
|
|
1021
|
-
*
|
|
1022
|
-
* @type {any}
|
|
1023
|
-
*/
|
|
1024
|
-
$$set = void 0;
|
|
1025
|
-
/** @returns {void} */
|
|
1026
|
-
$destroy() {
|
|
1027
|
-
tt(this, 1), this.$destroy = a;
|
|
1028
|
-
}
|
|
1029
|
-
/**
|
|
1030
|
-
* @template {Extract<keyof Events, string>} K
|
|
1031
|
-
* @param {K} type
|
|
1032
|
-
* @param {((e: Events[K]) => void) | null | undefined} callback
|
|
1033
|
-
* @returns {() => void}
|
|
1034
|
-
*/
|
|
1035
|
-
$on(e, n) {
|
|
1036
|
-
if (!N(n))
|
|
1037
|
-
return a;
|
|
1038
|
-
const s = this.$$.callbacks[e] || (this.$$.callbacks[e] = []);
|
|
1039
|
-
return s.push(n), () => {
|
|
1040
|
-
const i = s.indexOf(n);
|
|
1041
|
-
i !== -1 && s.splice(i, 1);
|
|
1042
|
-
};
|
|
1043
|
-
}
|
|
1044
|
-
/**
|
|
1045
|
-
* @param {Partial<Props>} props
|
|
1046
|
-
* @returns {void}
|
|
1047
|
-
*/
|
|
1048
|
-
$set(e) {
|
|
1049
|
-
this.$$set && !T(e) && (this.$$.skip_bound = !0, this.$$set(e), this.$$.skip_bound = !1);
|
|
1050
|
-
}
|
|
1051
|
-
}
|
|
1052
|
-
const rt = "4";
|
|
1053
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(rt);
|
|
1054
|
-
function ct(t, e) {
|
|
1055
|
-
if (t) {
|
|
1056
|
-
const n = document.createElement("style");
|
|
1057
|
-
n.innerHTML = e, t.appendChild(n);
|
|
1058
|
-
}
|
|
1059
|
-
}
|
|
1060
|
-
function ot(t, e) {
|
|
1061
|
-
const n = new URL(e);
|
|
1062
|
-
fetch(n.href).then((s) => s.text()).then((s) => {
|
|
1063
|
-
const i = document.createElement("style");
|
|
1064
|
-
i.innerHTML = s, t && t.appendChild(i);
|
|
1065
|
-
}).catch((s) => {
|
|
1066
|
-
console.error("There was an error while trying to load client styling from URL", s);
|
|
1067
|
-
});
|
|
1068
|
-
}
|
|
1069
|
-
function lt(t, e, n) {
|
|
1070
|
-
if (window.emMessageBus) {
|
|
1071
|
-
const s = document.createElement("style");
|
|
1072
|
-
window.emMessageBus.subscribe(e, (i) => {
|
|
1073
|
-
s.innerHTML = i, t && t.appendChild(s);
|
|
1074
|
-
});
|
|
1075
|
-
}
|
|
1076
|
-
}
|
|
1077
|
-
function ut(t) {
|
|
1078
|
-
U(t, "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)}}");
|
|
1079
|
-
}
|
|
1080
|
-
function dt(t) {
|
|
1081
|
-
let e;
|
|
1082
|
-
return {
|
|
1083
|
-
c() {
|
|
1084
|
-
e = v("div"), e.innerHTML = '<section class="LoaderContainer"><div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div></section>';
|
|
1085
|
-
},
|
|
1086
|
-
m(n, s) {
|
|
1087
|
-
B(n, e, s), t[4](e);
|
|
1088
|
-
},
|
|
1089
|
-
p: a,
|
|
1090
|
-
i: a,
|
|
1091
|
-
o: a,
|
|
1092
|
-
d(n) {
|
|
1093
|
-
n && E(e), t[4](null);
|
|
1094
|
-
}
|
|
1095
|
-
};
|
|
1096
|
-
}
|
|
1097
|
-
function ft(t, e, n) {
|
|
1098
|
-
let { clientstyling: s = "" } = e, { clientstylingurl: i = "" } = e, { mbsource: r } = e, o;
|
|
1099
|
-
V(() => () => {
|
|
1100
|
-
});
|
|
1101
|
-
function l(c) {
|
|
1102
|
-
w[c ? "unshift" : "push"](() => {
|
|
1103
|
-
o = c, n(0, o);
|
|
1104
|
-
});
|
|
1105
|
-
}
|
|
1106
|
-
return t.$$set = (c) => {
|
|
1107
|
-
"clientstyling" in c && n(1, s = c.clientstyling), "clientstylingurl" in c && n(2, i = c.clientstylingurl), "mbsource" in c && n(3, r = c.mbsource);
|
|
1108
|
-
}, t.$$.update = () => {
|
|
1109
|
-
t.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
1110
|
-
3 && s && o && ct(o, s), t.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
1111
|
-
5 && i && o && ot(o, i), t.$$.dirty & /*mbsource, customStylingContainer*/
|
|
1112
|
-
9 && r && o && lt(o, `${r}.Style`);
|
|
1113
|
-
}, [
|
|
1114
|
-
o,
|
|
1115
|
-
s,
|
|
1116
|
-
i,
|
|
1117
|
-
r,
|
|
1118
|
-
l
|
|
1119
|
-
];
|
|
1120
|
-
}
|
|
1121
|
-
class $t extends st {
|
|
1122
|
-
constructor(e) {
|
|
1123
|
-
super(), nt(
|
|
1124
|
-
this,
|
|
1125
|
-
e,
|
|
1126
|
-
ft,
|
|
1127
|
-
dt,
|
|
1128
|
-
R,
|
|
1129
|
-
{
|
|
1130
|
-
clientstyling: 1,
|
|
1131
|
-
clientstylingurl: 2,
|
|
1132
|
-
mbsource: 3
|
|
1133
|
-
},
|
|
1134
|
-
ut
|
|
1135
|
-
);
|
|
1136
|
-
}
|
|
1137
|
-
get clientstyling() {
|
|
1138
|
-
return this.$$.ctx[1];
|
|
1139
|
-
}
|
|
1140
|
-
set clientstyling(e) {
|
|
1141
|
-
this.$$set({ clientstyling: e }), m();
|
|
1142
|
-
}
|
|
1143
|
-
get clientstylingurl() {
|
|
1144
|
-
return this.$$.ctx[2];
|
|
1145
|
-
}
|
|
1146
|
-
set clientstylingurl(e) {
|
|
1147
|
-
this.$$set({ clientstylingurl: e }), m();
|
|
1148
|
-
}
|
|
1149
|
-
get mbsource() {
|
|
1150
|
-
return this.$$.ctx[3];
|
|
1151
|
-
}
|
|
1152
|
-
set mbsource(e) {
|
|
1153
|
-
this.$$set({ mbsource: e }), m();
|
|
1154
|
-
}
|
|
1155
|
-
}
|
|
1156
|
-
it($t, { clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
|
|
1157
|
-
|
|
1158
|
-
function i(n) {
|
|
1159
|
-
return function(...t) {
|
|
1160
|
-
try {
|
|
1161
|
-
return n.apply(this, t);
|
|
1162
|
-
} catch (e) {
|
|
1163
|
-
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"))
|
|
1164
|
-
return !1;
|
|
1165
|
-
throw e;
|
|
1166
|
-
}
|
|
1167
|
-
};
|
|
1168
|
-
}
|
|
1169
|
-
customElements.define = i(customElements.define);
|
|
1170
|
-
!customElements.get("general-animation-loading") && customElements.define("general-animation-loading", $t.element);
|
|
1171
|
-
|
|
1172
645
|
const casinoEngagementSuiteTournamentCss = ".Wrapper{height:100%;position:relative;color:var(--emw--color-typography, #FFFFFF);display:flex;background-color:var(--emw--color-background, hsl(254, 44%, 15%));flex-direction:column;border-radius:24px;overflow-y:auto}.Wrapper.Mobile{border-radius:16px}.WrapperContent{padding-bottom:20px;transition:0.5s filter}.WrapperContent.faded{filter:brightness(53.3333333333%)}.Wrapper.Mobile .WrapperBar{padding:20px 8px 8px;margin-bottom:8px}.WrapperBar{display:flex;width:100%;padding:32px 20px 20px;margin-bottom:20px}.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}.Row{margin:24px 0;padding:0 20px}.Row:first-child{margin:0}.LeaderboardsItem{position:relative;margin:10px 0;border:1px solid rgb(64, 57, 86);border-radius:16px}.LeaderboardsItem.Hollow{border-color:transparent}.LeaderboardsItem:first-child{margin-top:0}.LeaderboardsItemContainer{padding-top:16px}.Info{margin:24px 0;padding:0 20px}.TimeContainer{margin:24px 0;padding:0 20px}.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 button{font-size:var(--emw--font-size-x-small, 12px);height:20px;padding:0}.TimeContainer .Time button::before{inset:inherit;border:0}.ShowInfo{margin:24px 0;padding:0 20px;cursor:pointer;color:rgb(102, 97, 120)}.ShowInfo p{display:flex;gap:4px}.TitleContainer{display:flex;justify-content:space-between;margin:24px 0;padding:0 20px;margin-top:0;gap:10px;font-family:Montserrat}.TitleContainer .GradientRoundedButton{width:120px}.TabsContainer{margin:24px 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>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:24px 0;padding:0 20px}.ResultPrize span{color:var(--emw--color-primary, rgb(255, 214, 47));font-weight:400}.Prizes{margin:24px 0;padding:0 20px}.Prizes .PrizesText{margin-left:3px;font-weight:600}.Prizes .PrizesHeader{align-items:center;display:flex}.Prizes .PrizesHeader img{width:12px}.Prizes .Prize{margin:8px 0}.Prizes .Prize .PrizeText{color:var(--emw--color-primary, rgb(255, 214, 47));font-weight:400}*{box-sizing:border-box}.Leaderboards{width:100%;text-align:center;border-collapse:collapse}.Leaderboards td{opacity:0.6;padding:20px 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)}.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))}.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)}.Games{margin:24px 0;padding:0 20px;display:flex;flex-wrap:wrap;justify-content:space-evenly;gap:4px 7.25px}.Games img{width:60px}dialog{position:absolute;top:30px;width:100%;height:100%;background:transparent;border:0;padding:0;color:var(--emw--color-typography, #FFFFFF)}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)}.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}";
|
|
1173
646
|
const CasinoEngagementSuiteTournamentStyle0 = casinoEngagementSuiteTournamentCss;
|
|
1174
647
|
|
package/dist/cjs/index.cjs.js
CHANGED
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const casinoEngagementSuiteTournament = require('./casino-engagement-suite-tournament-
|
|
5
|
+
const casinoEngagementSuiteTournament = require('./casino-engagement-suite-tournament-21274e02.js');
|
|
6
6
|
require('./index-9b5a5304.js');
|
|
7
|
+
require('@everymatrix/general-animation-loading/dist');
|
|
7
8
|
|
|
8
9
|
|
|
9
10
|
|