@everymatrix/casino-page 1.99.49 → 1.99.50
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{CasinoCalendar-5wSd7nU4.js → CasinoCalendar-DE71smDt.js} +3 -3
- package/components/{CasinoCalendar-B5KrVU4V.js → CasinoCalendar-ja_T5nkL.js} +3 -3
- package/components/{CasinoCalendar-feWE0Y4B.cjs → CasinoCalendar-wbAnoPFJ.cjs} +1 -1
- package/components/{CasinoCalendarDailyDetails-BtuAPyXn.js → CasinoCalendarDailyDetails-BAahm7Hx.js} +1 -1
- package/components/{CasinoCalendarDailyDetails-C_sfBk2V.cjs → CasinoCalendarDailyDetails-BXI6_eT6.cjs} +1 -1
- package/components/{CasinoCalendarDailyDetails-x7UTMrrl.js → CasinoCalendarDailyDetails-ChtqVv56.js} +1 -1
- package/components/{CasinoCalendarDailyItem-BfDAU5ep.js → CasinoCalendarDailyItem-BwZWfBJy.js} +1 -1
- package/components/{CasinoCalendarDailyItem-C5WoZeh3.cjs → CasinoCalendarDailyItem-DDa0qgkQ.cjs} +1 -1
- package/components/{CasinoCalendarDailyItem-ft4nT1z8.js → CasinoCalendarDailyItem-mt0_tVmd.js} +1 -1
- package/components/{CasinoCollectionsProviders-2LynLskW.cjs → CasinoCollectionsProviders-BaphxUVY.cjs} +1 -1
- package/components/{CasinoCollectionsProviders-T5drORUk.js → CasinoCollectionsProviders-D7rV-Lbp.js} +1 -1
- package/components/{CasinoCollectionsProviders-DpSNRHYC.js → CasinoCollectionsProviders-yIJrT2gA.js} +1 -1
- package/components/{CasinoFavoritesSection-C3edDNFT.js → CasinoFavoritesSection-B7aej9M4.js} +1 -1
- package/components/{CasinoFavoritesSection-BtqCLgmB.js → CasinoFavoritesSection-BG2qt_eW.js} +1 -1
- package/components/{CasinoFavoritesSection-BUSyt0oc.cjs → CasinoFavoritesSection-fTHFNpWI.cjs} +1 -1
- package/components/{CasinoFilter-DJxUDIWG.cjs → CasinoFilter-BtRzodEj.cjs} +1 -1
- package/components/{CasinoFilter-CG40qs-t.js → CasinoFilter-C_2zyKUR.js} +1 -1
- package/components/{CasinoFilter-JbbM51vm.js → CasinoFilter-DD3J3_uc.js} +1 -1
- package/components/{CasinoGameThumbnail-SJDe1sF9.cjs → CasinoGameThumbnail-Bm8Du_CO.cjs} +1 -1
- package/components/{CasinoGameThumbnail-fR9EPU5R.js → CasinoGameThumbnail-Bqi11TAQ.js} +2 -2
- package/components/{CasinoGameThumbnail-D93NZ8NM.js → CasinoGameThumbnail-CMPQlYJt.js} +2 -2
- package/components/{CasinoGamesCategorySection-CYAVM0Ug.cjs → CasinoGamesCategorySection-BNZk4030.cjs} +2 -2
- package/components/{CasinoGamesCategorySection-x483AEiL.js → CasinoGamesCategorySection-_ainzGJM.js} +3 -3
- package/components/{CasinoGamesCategorySection-C-hyg8q7.js → CasinoGamesCategorySection-vSy-C-kS.js} +3 -3
- package/components/{CasinoJackpotBanner-D9QFRDZP.cjs → CasinoJackpotBanner-BkTInlKN.cjs} +1 -1
- package/components/{CasinoJackpotBanner-CUy25XEU.js → CasinoJackpotBanner-CR3O_AGW.js} +1 -1
- package/components/{CasinoJackpotBanner-DyiDXwyn.js → CasinoJackpotBanner-CluFFUO1.js} +1 -1
- package/components/{CasinoLastPlayedSection-BZrM_UNR.js → CasinoLastPlayedSection-BDfUAZFm.js} +1 -1
- package/components/{CasinoLastPlayedSection-CUAAhow_.js → CasinoLastPlayedSection-BdHOP6t3.js} +1 -1
- package/components/{CasinoLastPlayedSection-BvVFDZzq.cjs → CasinoLastPlayedSection-CZjIEhmE.cjs} +1 -1
- package/components/{CasinoMostPlayedSection-Dd1-_Glq.cjs → CasinoMostPlayedSection-3Z7FZOVZ.cjs} +1 -1
- package/components/{CasinoMostPlayedSection-BnToIr8-.js → CasinoMostPlayedSection-B1Qgm3Xa.js} +1 -1
- package/components/{CasinoMostPlayedSection-Bud1phIC.js → CasinoMostPlayedSection-D_h9lWMw.js} +1 -1
- package/components/{CasinoMyGames-DdDu9RrL.js → CasinoMyGames-BbHWX7d2.js} +4 -4
- package/components/{CasinoMyGames-CzK5JyT2.js → CasinoMyGames-CgNAzR-k.js} +4 -4
- package/components/{CasinoMyGames-CCKOnX_S.cjs → CasinoMyGames-CuwQ7A5W.cjs} +1 -1
- package/components/{CasinoPage-lhLJyvKO.js → CasinoPage-CDyqeqaz.js} +10 -10
- package/components/{CasinoPage-ByrxRamE.cjs → CasinoPage-CGINfw30.cjs} +2 -2
- package/components/{CasinoPage-D_LgcMWE.js → CasinoPage-y9vZcvYu.js} +10 -10
- package/components/{CasinoRandomGame-CkmpqSR6.js → CasinoRandomGame-022jGv9d.js} +1 -1
- package/components/{CasinoRandomGame-Dnh7yHc7.js → CasinoRandomGame-BM7D5WZD.js} +1 -1
- package/components/{CasinoRandomGame-YcAU6Zar.cjs → CasinoRandomGame-nNi0oGqj.cjs} +1 -1
- package/components/{CasinoSearch-CrAuaxOU.cjs → CasinoSearch-B_Sozwzr.cjs} +1 -1
- package/components/{CasinoSearch-mlQQk1v4.js → CasinoSearch-DVfVgyz-.js} +3 -3
- package/components/{CasinoSearch-CsiKfMb7.js → CasinoSearch-JqTPMwVw.js} +3 -3
- package/components/{CasinoSort-jMF4ZMEh.js → CasinoSort-BIkGkLHq.js} +1 -1
- package/components/{CasinoSort-C2IWQyjv.cjs → CasinoSort-CbjcOT52.cjs} +1 -1
- package/components/{CasinoSort-soXa4LoU.js → CasinoSort-DnZbAKCg.js} +1 -1
- package/components/CasinoWinners-BHkrHQg2.cjs +1 -0
- package/components/{CasinoWinners-QtxD5PZL.js → CasinoWinners-BKvoC-__.js} +90 -84
- package/components/{CasinoWinners-CQvuIviG.js → CasinoWinners-CKtdSAqF.js} +91 -85
- package/components/{GeneralAnimationLoading-fUErzHLi.cjs → GeneralAnimationLoading-C-MK6SWx.cjs} +1 -1
- package/components/{GeneralAnimationLoading-BAfn1FVp.js → GeneralAnimationLoading-DqnO4Qnj.js} +1 -1
- package/components/{GeneralAnimationLoading-VtmaQHFz.js → GeneralAnimationLoading-j8jPW0o6.js} +1 -1
- package/es2015/casino-page.cjs +1 -1
- package/es2015/casino-page.js +1 -1
- package/esnext/casino-page.js +1 -1
- package/package.json +1 -1
- package/stencil/{casino-play-random-game-BZvQcwmI.js → casino-play-random-game-BkvrrxY2.js} +1 -1
- package/stencil/{casino-play-random-game-CU27nwc3.cjs → casino-play-random-game-C82Fz7jl.cjs} +1 -1
- package/stencil/{casino-play-random-game-kxhDUKEQ.js → casino-play-random-game-DtLpDfRU.js} +1 -1
- package/stencil/{casino-play-random-game_2-BsDiR4__.cjs → casino-play-random-game_2-Bw_zhpC0.cjs} +2 -2
- package/stencil/{casino-play-random-game_2-RzA6u_oV.js → casino-play-random-game_2-DeUbNx4g.js} +22 -16
- package/stencil/{casino-play-random-game_2-Bf35wiL3.js → casino-play-random-game_2-ZFGzW4UV.js} +22 -16
- package/stencil/{index-328e660d-26xupJLF.cjs → index-328e660d-1ZI883ia.cjs} +1 -1
- package/stencil/{index-328e660d-CH9p2kzU.js → index-328e660d-B0MF4tg-.js} +1 -1
- package/stencil/{index-328e660d-BQWT7GHQ.js → index-328e660d-Chk2LGOQ.js} +1 -1
- package/components/CasinoWinners-CO9ayCR7.cjs +0 -1
package/stencil/{casino-play-random-game_2-BsDiR4__.cjs → casino-play-random-game_2-Bw_zhpC0.cjs}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index-328e660d-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index-328e660d-1ZI883ia.cjs"),y=()=>{let e=window.navigator.userAgent;return e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC"},b="en",m={en:{error:"Error",randomGameLoading:"Loading ...",playRandomGame:"Play a random game",playNowRandomGame:"Play now",spinRandomGame:"Spin"},ro:{error:"Error",randomGameLoading:"Loading ...",playRandomGame:"Play a random game",playNowRandomGame:"Play now",spinRandomGame:"Spin"},fr:{error:"Error",randomGameLoading:"Loading ...",playRandomGame:"Play a random game",playNowRandomGame:"Play now",spinRandomGame:"Spin"},hr:{error:"Greška",randomGameLoading:"Učitavanje ...",playRandomGame:"Igraj nasumičnu igru",playNowRandomGame:"Igraj sada",spinRandomGame:"Zavrti"},hu:{error:"Error",randomGameLoading:"Loading ...",playRandomGame:"Play a random game",playNowRandomGame:"Play now",spinRandomGame:"Spin"},tr:{error:"Hata",randomGameLoading:"Yükleniyor...",playRandomGame:"Rastgele Bir Oyun Oyna",playNowRandomGame:"Şimdi Oyna",spinRandomGame:"DEĞİŞTİR"}},c=e=>new Promise(n=>{fetch(e).then(a=>a.json()).then(a=>{p(a),n(!0)})}),d=(e,n)=>{const a=n;return m[a!==void 0&&a in m?a:b][e]},p=e=>{Object.keys(e).forEach(n=>{m[n]||(m[n]={});for(let a in e[n])m[n][a]=e[n][a]})},l="__WIDGET_GLOBAL_STYLE_CACHE__";function g(e,n){if(e){const a=document.createElement("style");a.innerHTML=n,e.appendChild(a)}}function u(e,n){if(!e||!n)return;const a=new URL(n);fetch(a.href).then(i=>i.text()).then(i=>{const r=document.createElement("style");r.innerHTML=i,e&&e.appendChild(r)}).catch(i=>{console.error("There was an error while trying to load client styling from URL",i)})}function x(e,n,a,i=!1){if(!window.emMessageBus)return;if(!("adoptedStyleSheets"in Document.prototype)||!i)return a=k(e,n),a;window[l]||(window[l]={}),a=G(e,n);const o=a.unsubscribe.bind(a),s=()=>{if(window[l][n]){const h=window[l][n];h.refCount>1?h.refCount=h.refCount-1:delete window[l][n]}o()};return a.unsubscribe=s,a}function k(e,n){const a=document.createElement("style");return window.emMessageBus.subscribe(n,i=>{e&&(a.innerHTML=i,e.appendChild(a))})}function G(e,n){return window.emMessageBus.subscribe(n,a=>{if(!e)return;const i=e.getRootNode(),r=window[l];let o=r[n]&&r[n].sheet;o?r[n].refCount=r[n].refCount+1:(o=new CSSStyleSheet,o.replaceSync(a),r[n]={sheet:o,refCount:1});const s=i.adoptedStyleSheets||[];s.includes(o)||(i.adoptedStyleSheets=[...s,o])})}function v(e,n,a,i=!1){if(window.emMessageBus){const r=i?o=>{!o||typeof o!="object"||Array.isArray(o)||Object.keys(o).forEach(s=>a(s,o[s]))}:a;n=window.emMessageBus.subscribe(e,r)}return n}const S=`:host {
|
|
2
2
|
display: block;
|
|
3
3
|
font-family: inherit;
|
|
4
4
|
-webkit-transform: translate3d(0, 0, 0);
|
|
@@ -375,7 +375,7 @@
|
|
|
375
375
|
width: 70px;
|
|
376
376
|
height: 85px;
|
|
377
377
|
}
|
|
378
|
-
}`,R=S,w=class{constructor(e){t.registerInstance(this,e),this.dataLoaded=t.createEvent(this,"data-loaded"),this.animation=null,this.selectedGameIndex=null,this.selectedGameEl=null,this.iconVisibility=null,this.shuffle=n=>{let a=n.length,i;for(;a!==0;)i=Math.floor(Math.random()*a),a--,[n[a],n[i]]=[n[i],n[a]];return n},this.endpoint=void 0,this.datasource=void 0,this.language="en",this.specificCategory="",this.iconVisible="",this.iconVisibleOnAnim="",this.launchByGameCard="",this.mbSource=void 0,this.clientStyling="",this.clientStylingUrl="",this.translationUrl="",this.hasErrors=!1,this.isLoading=!0,this.gamesToShow=void 0,this.selectedGame=null,this.animationDone=!1,this.animationStarted=!1}watchEndpoint(e,n){e&&e!=n&&this.endpoint&&this.fetchGameList()}handleNewTranslations(){this.isLoading=!0,c(this.translationUrl).then(()=>{this.isLoading=!1})}handleIsIconVisible(){this.iconVisibility=this.iconVisible==="true"}handleClientStylingChange(e,n){e!=n&&g(this.stylingContainer,this.clientStyling)}handleClientStylingChangeURL(e,n){e!=n&&this.clientStylingUrl&&u(this.stylingContainer,this.clientStylingUrl)}connectedCallback(){this.handleIsIconVisible()}componentWillLoad(){if(this.translationUrl.length>2&&c(this.translationUrl),!this.translationUrl&&this.mbSource&&window.emMessageBus!=null&&v(`${this.mbSource}.Translation`,this.translationSubscription,p),this.endpoint&&this.language&&this.datasource)return this.fetchGameList()}componentDidLoad(){window.emMessageBus!=null?this.stylingSubscription=x(this.stylingContainer,`${this.mbSource}.Style`,this.stylingSubscription,!0):(this.clientStyling&&g(this.stylingContainer,this.clientStyling),this.clientStylingUrl&&u(this.stylingContainer,this.clientStylingUrl))}disconnectedCallback(){this.stylingSubscription&&this.stylingSubscription.unsubscribe(),this.translationSubscription&&this.translationSubscription.unsubscribe()}fetchGameList(){let e=new URL(`${this.endpoint}/v1/casino/games`);return e.searchParams.append("platform",y()),e.searchParams.append("datasource",this.datasource),e.searchParams.append("fields","gId,id,href,thumbnail,name,vendor,launchUrl,subVendor"),e.searchParams.append("expand","vendor"),e.searchParams.append("pagination","offset=0,limit=423"),e.searchParams.append("language",this.language),this.specificCategory&&e.searchParams.append("filter",`categories(id=${this.specificCategory})`),new Promise((n,a)=>{this.isLoading=!0,fetch(e.href).then(i=>i.json()).then(i=>{this.gamesToShow=this.setUpGames(i==null?void 0:i.items),n(!0)}).catch(i=>{console.error(i),this.hasErrors=!0,a(i)}).finally(()=>{this.isLoading=!1,this.dataLoaded.emit({target:this.host})})})}setUpGames(e){const n=this.shuffle(e).slice(0,40);return n.concat(n)}selectRandomGame(){const e=this.gamesToShow.length/2;this.selectedGameIndex=Math.floor(Math.random()*(e-3)),this.selectedGameIndex+=e,this.selectedGameEl=this.gameContainer.children[this.selectedGameIndex]}playRandomGame(){this.animateGames(),typeof gtag=="function"&>ag("event","PlayRandomGame",{context:"CasinoPlayRandomGame"})}respin(){this.animateGames(),typeof gtag=="function"&>ag("event","RespinRandomGame",{context:"CasinoPlayRandomGame"})}animateGames(){this.iconVisibility=this.iconVisibleOnAnim==="true",this.animationStarted=!0,this.animationDone=!1,this.animation&&this.animation.cancel(),this.selectedGameEl&&(this.selectedGameEl.classList.remove("TheRandomGame"),this.selectedGame=null,this.selectedGameIndex=null),this.selectRandomGame();const e=window.getComputedStyle(this.gameContainer).getPropertyValue("gap"),n=parseInt(e,10),a=this.selectedGameEl.offsetWidth,i=this.gameContainer.offsetWidth,o=(a+n)*this.selectedGameIndex+a/2-i/2,r=[{transform:"translateX(0px)",scale:1},{scale:.75},{transform:`translateX(-${o}px)`,scale:1}],s={duration:3e3,easing:"cubic-bezier(0.5, 0, 0.5, 1.2)",fill:"forwards"};this.animation=this.gameContainer.animate(r,s),this.animation.onfinish=()=>{this.animationDone=!0,this.selectedGameEl.classList.add("TheRandomGame"),this.selectedGame=this.gamesToShow[this.selectedGameIndex]}}playGame(){this.selectedGame&&(window.postMessage({type:"PlayRandomGame",gameId:this.selectedGame.id,launchUrl:this.selectedGame.launchUrl,gameName:this.selectedGame.name,subVendor:this.selectedGame.subVendor},window.location.href),typeof gtag=="function"&>ag("event","OpenRandomGame",{context:"CasinoPlayRandomGame"}))}showGameInfo(){window.postMessage({type:"InfoRandomGame",gameId:this.selectedGame.id,launchUrl:this.selectedGame.launchUrl,gameName:this.selectedGame.name,subVendor:this.selectedGame.subVendor},window.location.href),typeof gtag=="function"&>ag("event","OpenRandomGameInfo",{context:"CasinoPlayRandomGame"})}renderGameDetails(){return t.h("div",{class:"RandomButtonsWrapper"},t.h("div",{class:"RandomGameDetails"},t.h("span",{class:"RandomGameTitle"},this.selectedGame.name),t.h("span",{class:"RandomGameInfo",onClick:()=>this.showGameInfo()},"i")),t.h("div",{class:"RandomButtons"},t.h("button",{class:"RandomButton On",onClick:()=>this.respin()},d("spinRandomGame",this.language)),!this.launchByGameCard&&t.h("button",{class:"RandomButton On",onClick:()=>this.playGame()},d("playNowRandomGame",this.language))))}renderSkeleton(){const e=Array.from({length:5},(n,a)=>t.h("div",{class:"RandomGameCard",key:a},t.h("ui-skeleton",{structure:"rectangle",width:"300px",height:"420px",borderRadius:"10px",animation:!0})));return t.h("div",{class:"RandomGameWrapper"},t.h("div",{class:"GameContainerGradient"}),t.h("div",{class:"GamesContainer"},e))}render(){return t.h("div",{key:"39282b98f33d528ab689d4526114140853a774c1",ref:e=>this.stylingContainer=e},this.hasErrors?t.h("div",{class:"RandomGameError"},t.h("div",{class:"Title"},d("error",this.language))):this.isLoading?this.renderSkeleton():t.h("div",{class:"RandomGameWrapper"},t.h("div",{class:"GameContainerGradient"}),t.h("div",{class:"GamesContainer",ref:e=>this.gameContainer=e},this.gamesToShow&&this.gamesToShow.map((e,n)=>t.h("div",{class:"RandomGameCard",key:n,onClick:this.launchByGameCard==="true"?()=>this.playGame():void 0},t.h("div",{class:"RandomGameVendor"},e.vendor.name),t.h("img",{class:"RandomGameImage",src:e.thumbnail,alt:e.name,title:e.name}),this.selectedGame&&this.selectedGameIndex===n&&this.renderGameDetails()))),t.h("div",{class:`ButtonWrapper ${this.animationDone?"HideAnimation":""}`},t.h("div",{class:"ButtonContainer"},this.iconVisibility&&t.h("div",{class:`ButtonIcon ${this.animationStarted?"Flip":""}`},t.h("div",{class:"QustionMark"},"?"),t.h("div",{class:"HexagonMarkShadow"}),t.h("div",{class:"HexagonMark"})),!this.animationStarted&&t.h("div",{class:`RandomButton ${this.animationStarted?"HideAnimation":""}`,onClick:()=>this.playRandomGame()},d("playRandomGame",this.language))))))}get host(){return t.getElement(this)}static get watchers(){return{endpoint:["watchEndpoint"],datasource:["watchEndpoint"],language:["watchEndpoint"],translationUrl:["handleNewTranslations"],iconVisible:["handleIsIconVisible"],clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingChangeURL"]}}};w.style=R;const C=":host{display:block}.Skeleton{animation:skeleton-loading 1s linear infinite alternate}.SkeletonRectangle{background-color:var(--emw-skeleton-rectangle-background, #c2c2c2);width:var(--emw-skeleton-rectangle-width, 400px);height:var(--emw-skeleton-rectangle-height, 200px);border-radius:var(--emw-skeleton-rectangle-border-radius, 10px)}.SkeletonCircle{background-color:var(--emw-skeleton-circle-background, #c2c2c2);width:var(--emw-skeleton-circle-size, 400px);height:var(--emw-skeleton-circle-size, 400px);border-radius:50%}.SkeletonText{background-color:var(--emw-skeleton-text-background, #c2c2c2);width:var(--emw-skeleton-text-width, 500px);height:var(--emw-skeleton-text-height, 20px);border-radius:var(--emw-skeleton-text-border-radius, 10px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.SkeletonText:last-child{width:calc(var(--emw-skeleton-text-width, 400px) - 100px)}.SkeletonTitle{background-color:var(--emw-skeleton-title-background, #c2c2c2);width:var(--emw-skeleton-title-width, 300px);height:var(--emw-skeleton-title-height, 30px);border-radius:var(--emw-skeleton-title-border-radius, 10px);margin-bottom:var(--emw-skeleton-title-margin-bottom, 5px)}.SkeletonImage{background-color:var(--emw-skeleton-image-background, #c2c2c2);width:var(--emw-skeleton-image-width, 100%);height:var(--emw-skeleton-image-height, 100%);border-radius:var(--emw-skeleton-image-border-radius, unset)}.SkeletonLogo{background-color:var(--emw-skeleton-logo-background, #c2c2c2);width:var(--emw-skeleton-logo-width, 120px);height:var(--emw-skeleton-logo-height, 75px);border-radius:var(--emw-skeleton-logo-border-radius, 10px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, #e0e0e0)}100%{background-color:var(--emw-skeleton-secondary-color, #f0f0f0)}}",L=C,f=class{constructor(e){t.registerInstance(this,e),this.stylingValue={width:this.handleStylingProps(this.width),height:this.handleStylingProps(this.height),borderRadius:this.handleStylingProps(this.borderRadius),marginBottom:this.handleStylingProps(this.marginBottom),marginTop:this.handleStylingProps(this.marginTop),marginLeft:this.handleStylingProps(this.marginLeft),marginRight:this.handleStylingProps(this.marginRight),size:this.handleStylingProps(this.size)},this.structure=void 0,this.width="unset",this.height="unset",this.borderRadius="unset",this.marginBottom="unset",this.marginTop="unset",this.marginLeft="unset",this.marginRight="unset",this.animation=!0,this.rows=0,this.size="100%"}handleStructureChange(e,n){n!==e&&this.handleStructure(e)}handleStylingProps(e){switch(typeof e){case"number":return e===0?0:`${e}px`;case"undefined":return"unset";case"string":return["auto","unset","none","inherit","initial"].includes(e)||e.endsWith("px")||e.endsWith("%")?e:"unset";default:return"unset"}}handleStructure(e){switch(e){case"logo":return this.renderLogo();case"image":return this.renderImage();case"title":return this.renderTitle();case"text":return this.renderText();case"rectangle":return this.renderRectangle();case"circle":return this.renderCircle();default:return null}}renderLogo(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"SkeletonLogo "+(this.animation?"Skeleton":"")}))}renderImage(){return t.h("div",{class:"SkeletonImage "+(this.animation?"Skeleton":"")})}renderTitle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"SkeletonTitle "+(this.animation?"Skeleton":"")}))}renderText(){return t.h("div",{class:"SkeletonContainer"},Array.from({length:this.rows>0?this.rows:1}).map((e,n)=>t.h("div",{key:n,class:"SkeletonText "+(this.animation?"Skeleton":"")})))}renderRectangle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"SkeletonRectangle "+(this.animation?"Skeleton":"")}))}renderCircle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"SkeletonCircle "+(this.animation?"Skeleton":"")}))}render(){let e="";switch(this.structure){case"logo":e=`
|
|
378
|
+
}`,R=S,w=class{constructor(e){t.registerInstance(this,e),this.dataLoaded=t.createEvent(this,"data-loaded"),this.animation=null,this.selectedGameIndex=null,this.selectedGameEl=null,this.iconVisibility=null,this.shuffle=n=>{let a=n.length,i;for(;a!==0;)i=Math.floor(Math.random()*a),a--,[n[a],n[i]]=[n[i],n[a]];return n},this.endpoint=void 0,this.datasource=void 0,this.language="en",this.specificCategory="",this.iconVisible="",this.iconVisibleOnAnim="",this.launchByGameCard="",this.mbSource=void 0,this.clientStyling="",this.clientStylingUrl="",this.translationUrl="",this.hasErrors=!1,this.isLoading=!0,this.gamesToShow=void 0,this.selectedGame=null,this.animationDone=!1,this.animationStarted=!1}watchEndpoint(e,n){e&&e!=n&&this.endpoint&&this.fetchGameList()}handleNewTranslations(){this.isLoading=!0,c(this.translationUrl).then(()=>{this.isLoading=!1})}handleIsIconVisible(){this.iconVisibility=this.iconVisible==="true"}handleClientStylingChange(e,n){e!=n&&g(this.stylingContainer,this.clientStyling)}handleClientStylingChangeURL(e,n){e!=n&&this.clientStylingUrl&&u(this.stylingContainer,this.clientStylingUrl)}connectedCallback(){this.handleIsIconVisible()}componentWillLoad(){if(this.translationUrl.length>2&&c(this.translationUrl),!this.translationUrl&&this.mbSource&&window.emMessageBus!=null&&v(`${this.mbSource}.Translation`,this.translationSubscription,p),this.endpoint&&this.language&&this.datasource)return this.fetchGameList()}componentDidLoad(){window.emMessageBus!=null?this.stylingSubscription=x(this.stylingContainer,`${this.mbSource}.Style`,this.stylingSubscription,!0):(this.clientStyling&&g(this.stylingContainer,this.clientStyling),this.clientStylingUrl&&u(this.stylingContainer,this.clientStylingUrl))}disconnectedCallback(){this.stylingSubscription&&this.stylingSubscription.unsubscribe(),this.translationSubscription&&this.translationSubscription.unsubscribe()}fetchGameList(){let e=new URL(`${this.endpoint}/v1/casino/games`);return e.searchParams.append("platform",y()),e.searchParams.append("datasource",this.datasource),e.searchParams.append("fields","gId,id,href,thumbnail,name,vendor,launchUrl,subVendor"),e.searchParams.append("expand","vendor"),e.searchParams.append("pagination","offset=0,limit=423"),e.searchParams.append("language",this.language),this.specificCategory&&e.searchParams.append("filter",`categories(id=${this.specificCategory})`),new Promise((n,a)=>{this.isLoading=!0,fetch(e.href).then(i=>i.json()).then(i=>{this.gamesToShow=this.setUpGames(i==null?void 0:i.items),n(!0)}).catch(i=>{console.error(i),this.hasErrors=!0,a(i)}).finally(()=>{this.isLoading=!1,this.dataLoaded.emit({target:this.host})})})}setUpGames(e){const n=this.shuffle(e).slice(0,40);return n.concat(n)}selectRandomGame(){const e=this.gamesToShow.length/2;this.selectedGameIndex=Math.floor(Math.random()*(e-3)),this.selectedGameIndex+=e,this.selectedGameEl=this.gameContainer.children[this.selectedGameIndex]}playRandomGame(){this.animateGames(),typeof gtag=="function"&>ag("event","PlayRandomGame",{context:"CasinoPlayRandomGame"})}respin(){this.animateGames(),typeof gtag=="function"&>ag("event","RespinRandomGame",{context:"CasinoPlayRandomGame"})}animateGames(){this.iconVisibility=this.iconVisibleOnAnim==="true",this.animationStarted=!0,this.animationDone=!1,this.animation&&this.animation.cancel(),this.selectedGameEl&&(this.selectedGameEl.classList.remove("TheRandomGame"),this.selectedGame=null,this.selectedGameIndex=null),this.selectRandomGame();const e=window.getComputedStyle(this.gameContainer).getPropertyValue("gap"),n=parseInt(e,10),a=this.selectedGameEl.offsetWidth,i=this.gameContainer.offsetWidth,r=(a+n)*this.selectedGameIndex+a/2-i/2,o=[{transform:"translateX(0px)",scale:1},{scale:.75},{transform:`translateX(-${r}px)`,scale:1}],s={duration:3e3,easing:"cubic-bezier(0.5, 0, 0.5, 1.2)",fill:"forwards"};this.animation=this.gameContainer.animate(o,s),this.animation.onfinish=()=>{this.animationDone=!0,this.selectedGameEl.classList.add("TheRandomGame"),this.selectedGame=this.gamesToShow[this.selectedGameIndex]}}playGame(){this.selectedGame&&(window.postMessage({type:"PlayRandomGame",gameId:this.selectedGame.id,launchUrl:this.selectedGame.launchUrl,gameName:this.selectedGame.name,subVendor:this.selectedGame.subVendor},window.location.href),typeof gtag=="function"&>ag("event","OpenRandomGame",{context:"CasinoPlayRandomGame"}))}showGameInfo(){window.postMessage({type:"InfoRandomGame",gameId:this.selectedGame.id,launchUrl:this.selectedGame.launchUrl,gameName:this.selectedGame.name,subVendor:this.selectedGame.subVendor},window.location.href),typeof gtag=="function"&>ag("event","OpenRandomGameInfo",{context:"CasinoPlayRandomGame"})}renderGameDetails(){return t.h("div",{class:"RandomButtonsWrapper"},t.h("div",{class:"RandomGameDetails"},t.h("span",{class:"RandomGameTitle"},this.selectedGame.name),t.h("span",{class:"RandomGameInfo",onClick:()=>this.showGameInfo()},"i")),t.h("div",{class:"RandomButtons"},t.h("button",{class:"RandomButton On",onClick:()=>this.respin()},d("spinRandomGame",this.language)),!this.launchByGameCard&&t.h("button",{class:"RandomButton On",onClick:()=>this.playGame()},d("playNowRandomGame",this.language))))}renderSkeleton(){const e=Array.from({length:5},(n,a)=>t.h("div",{class:"RandomGameCard",key:a},t.h("ui-skeleton",{structure:"rectangle",width:"300px",height:"420px",borderRadius:"10px",animation:!0})));return t.h("div",{class:"RandomGameWrapper"},t.h("div",{class:"GameContainerGradient"}),t.h("div",{class:"GamesContainer"},e))}render(){return t.h("div",{key:"39282b98f33d528ab689d4526114140853a774c1",ref:e=>this.stylingContainer=e},this.hasErrors?t.h("div",{class:"RandomGameError"},t.h("div",{class:"Title"},d("error",this.language))):this.isLoading?this.renderSkeleton():t.h("div",{class:"RandomGameWrapper"},t.h("div",{class:"GameContainerGradient"}),t.h("div",{class:"GamesContainer",ref:e=>this.gameContainer=e},this.gamesToShow&&this.gamesToShow.map((e,n)=>t.h("div",{class:"RandomGameCard",key:n,onClick:this.launchByGameCard==="true"?()=>this.playGame():void 0},t.h("div",{class:"RandomGameVendor"},e.vendor.name),t.h("img",{class:"RandomGameImage",src:e.thumbnail,alt:e.name,title:e.name}),this.selectedGame&&this.selectedGameIndex===n&&this.renderGameDetails()))),t.h("div",{class:`ButtonWrapper ${this.animationDone?"HideAnimation":""}`},t.h("div",{class:"ButtonContainer"},this.iconVisibility&&t.h("div",{class:`ButtonIcon ${this.animationStarted?"Flip":""}`},t.h("div",{class:"QustionMark"},"?"),t.h("div",{class:"HexagonMarkShadow"}),t.h("div",{class:"HexagonMark"})),!this.animationStarted&&t.h("div",{class:`RandomButton ${this.animationStarted?"HideAnimation":""}`,onClick:()=>this.playRandomGame()},d("playRandomGame",this.language))))))}get host(){return t.getElement(this)}static get watchers(){return{endpoint:["watchEndpoint"],datasource:["watchEndpoint"],language:["watchEndpoint"],translationUrl:["handleNewTranslations"],iconVisible:["handleIsIconVisible"],clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingChangeURL"]}}};w.style=R;const C=":host{display:block}.Skeleton{animation:skeleton-loading 1s linear infinite alternate}.SkeletonRectangle{background-color:var(--emw-skeleton-rectangle-background, #c2c2c2);width:var(--emw-skeleton-rectangle-width, 400px);height:var(--emw-skeleton-rectangle-height, 200px);border-radius:var(--emw-skeleton-rectangle-border-radius, 10px)}.SkeletonCircle{background-color:var(--emw-skeleton-circle-background, #c2c2c2);width:var(--emw-skeleton-circle-size, 400px);height:var(--emw-skeleton-circle-size, 400px);border-radius:50%}.SkeletonText{background-color:var(--emw-skeleton-text-background, #c2c2c2);width:var(--emw-skeleton-text-width, 500px);height:var(--emw-skeleton-text-height, 20px);border-radius:var(--emw-skeleton-text-border-radius, 10px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.SkeletonText:last-child{width:calc(var(--emw-skeleton-text-width, 400px) - 100px)}.SkeletonTitle{background-color:var(--emw-skeleton-title-background, #c2c2c2);width:var(--emw-skeleton-title-width, 300px);height:var(--emw-skeleton-title-height, 30px);border-radius:var(--emw-skeleton-title-border-radius, 10px);margin-bottom:var(--emw-skeleton-title-margin-bottom, 5px)}.SkeletonImage{background-color:var(--emw-skeleton-image-background, #c2c2c2);width:var(--emw-skeleton-image-width, 100%);height:var(--emw-skeleton-image-height, 100%);border-radius:var(--emw-skeleton-image-border-radius, unset)}.SkeletonLogo{background-color:var(--emw-skeleton-logo-background, #c2c2c2);width:var(--emw-skeleton-logo-width, 120px);height:var(--emw-skeleton-logo-height, 75px);border-radius:var(--emw-skeleton-logo-border-radius, 10px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, #e0e0e0)}100%{background-color:var(--emw-skeleton-secondary-color, #f0f0f0)}}",L=C,f=class{constructor(e){t.registerInstance(this,e),this.stylingValue={width:this.handleStylingProps(this.width),height:this.handleStylingProps(this.height),borderRadius:this.handleStylingProps(this.borderRadius),marginBottom:this.handleStylingProps(this.marginBottom),marginTop:this.handleStylingProps(this.marginTop),marginLeft:this.handleStylingProps(this.marginLeft),marginRight:this.handleStylingProps(this.marginRight),size:this.handleStylingProps(this.size)},this.structure=void 0,this.width="unset",this.height="unset",this.borderRadius="unset",this.marginBottom="unset",this.marginTop="unset",this.marginLeft="unset",this.marginRight="unset",this.animation=!0,this.rows=0,this.size="100%"}handleStructureChange(e,n){n!==e&&this.handleStructure(e)}handleStylingProps(e){switch(typeof e){case"number":return e===0?0:`${e}px`;case"undefined":return"unset";case"string":return["auto","unset","none","inherit","initial"].includes(e)||e.endsWith("px")||e.endsWith("%")?e:"unset";default:return"unset"}}handleStructure(e){switch(e){case"logo":return this.renderLogo();case"image":return this.renderImage();case"title":return this.renderTitle();case"text":return this.renderText();case"rectangle":return this.renderRectangle();case"circle":return this.renderCircle();default:return null}}renderLogo(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"SkeletonLogo "+(this.animation?"Skeleton":"")}))}renderImage(){return t.h("div",{class:"SkeletonImage "+(this.animation?"Skeleton":"")})}renderTitle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"SkeletonTitle "+(this.animation?"Skeleton":"")}))}renderText(){return t.h("div",{class:"SkeletonContainer"},Array.from({length:this.rows>0?this.rows:1}).map((e,n)=>t.h("div",{key:n,class:"SkeletonText "+(this.animation?"Skeleton":"")})))}renderRectangle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"SkeletonRectangle "+(this.animation?"Skeleton":"")}))}renderCircle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"SkeletonCircle "+(this.animation?"Skeleton":"")}))}render(){let e="";switch(this.structure){case"logo":e=`
|
|
379
379
|
:host {
|
|
380
380
|
--emw-skeleton-logo-width: ${this.stylingValue.width};
|
|
381
381
|
--emw-skeleton-logo-height: ${this.stylingValue.height};
|
package/stencil/{casino-play-random-game_2-RzA6u_oV.js → casino-play-random-game_2-DeUbNx4g.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as p, c as f, h as a, g as y, H as b } from "./index-328e660d-
|
|
1
|
+
import { r as p, c as f, h as a, g as y, H as b } from "./index-328e660d-B0MF4tg-.js";
|
|
2
2
|
const x = () => {
|
|
3
3
|
let e = window.navigator.userAgent;
|
|
4
4
|
return e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
@@ -70,8 +70,8 @@ function u(e, n) {
|
|
|
70
70
|
return;
|
|
71
71
|
const t = new URL(n);
|
|
72
72
|
fetch(t.href).then((i) => i.text()).then((i) => {
|
|
73
|
-
const
|
|
74
|
-
|
|
73
|
+
const r = document.createElement("style");
|
|
74
|
+
r.innerHTML = i, e && e.appendChild(r);
|
|
75
75
|
}).catch((i) => {
|
|
76
76
|
console.error("There was an error while trying to load client styling from URL", i);
|
|
77
77
|
});
|
|
@@ -82,12 +82,12 @@ function G(e, n, t, i = !1) {
|
|
|
82
82
|
if (!("adoptedStyleSheets" in Document.prototype) || !i)
|
|
83
83
|
return t = v(e, n), t;
|
|
84
84
|
window[l] || (window[l] = {}), t = R(e, n);
|
|
85
|
-
const
|
|
85
|
+
const o = t.unsubscribe.bind(t), s = () => {
|
|
86
86
|
if (window[l][n]) {
|
|
87
87
|
const h = window[l][n];
|
|
88
88
|
h.refCount > 1 ? h.refCount = h.refCount - 1 : delete window[l][n];
|
|
89
89
|
}
|
|
90
|
-
|
|
90
|
+
o();
|
|
91
91
|
};
|
|
92
92
|
return t.unsubscribe = s, t;
|
|
93
93
|
}
|
|
@@ -101,18 +101,24 @@ function R(e, n) {
|
|
|
101
101
|
return window.emMessageBus.subscribe(n, (t) => {
|
|
102
102
|
if (!e)
|
|
103
103
|
return;
|
|
104
|
-
const i = e.getRootNode(),
|
|
105
|
-
let
|
|
106
|
-
|
|
107
|
-
sheet:
|
|
104
|
+
const i = e.getRootNode(), r = window[l];
|
|
105
|
+
let o = r[n] && r[n].sheet;
|
|
106
|
+
o ? r[n].refCount = r[n].refCount + 1 : (o = new CSSStyleSheet(), o.replaceSync(t), r[n] = {
|
|
107
|
+
sheet: o,
|
|
108
108
|
refCount: 1
|
|
109
109
|
});
|
|
110
110
|
const s = i.adoptedStyleSheets || [];
|
|
111
|
-
s.includes(
|
|
111
|
+
s.includes(o) || (i.adoptedStyleSheets = [...s, o]);
|
|
112
112
|
});
|
|
113
113
|
}
|
|
114
|
-
function S(e, n, t) {
|
|
115
|
-
|
|
114
|
+
function S(e, n, t, i = !1) {
|
|
115
|
+
if (window.emMessageBus) {
|
|
116
|
+
const r = i ? (o) => {
|
|
117
|
+
!o || typeof o != "object" || Array.isArray(o) || Object.keys(o).forEach((s) => t(s, o[s]));
|
|
118
|
+
} : t;
|
|
119
|
+
n = window.emMessageBus.subscribe(e, r);
|
|
120
|
+
}
|
|
121
|
+
return n;
|
|
116
122
|
}
|
|
117
123
|
const C = `:host {
|
|
118
124
|
display: block;
|
|
@@ -564,18 +570,18 @@ const C = `:host {
|
|
|
564
570
|
}
|
|
565
571
|
animateGames() {
|
|
566
572
|
this.iconVisibility = this.iconVisibleOnAnim === "true", this.animationStarted = !0, this.animationDone = !1, this.animation && this.animation.cancel(), this.selectedGameEl && (this.selectedGameEl.classList.remove("TheRandomGame"), this.selectedGame = null, this.selectedGameIndex = null), this.selectRandomGame();
|
|
567
|
-
const e = window.getComputedStyle(this.gameContainer).getPropertyValue("gap"), n = parseInt(e, 10), t = this.selectedGameEl.offsetWidth, i = this.gameContainer.offsetWidth,
|
|
573
|
+
const e = window.getComputedStyle(this.gameContainer).getPropertyValue("gap"), n = parseInt(e, 10), t = this.selectedGameEl.offsetWidth, i = this.gameContainer.offsetWidth, r = (t + n) * this.selectedGameIndex + // Width of game cards up to the selected
|
|
568
574
|
t / 2 - // Additional half card width to center to the selected game
|
|
569
|
-
i / 2,
|
|
575
|
+
i / 2, o = [
|
|
570
576
|
{ transform: "translateX(0px)", scale: 1 },
|
|
571
577
|
{ scale: 0.75 },
|
|
572
|
-
{ transform: `translateX(-${
|
|
578
|
+
{ transform: `translateX(-${r}px)`, scale: 1 }
|
|
573
579
|
], s = {
|
|
574
580
|
duration: 3e3,
|
|
575
581
|
easing: "cubic-bezier(0.5, 0, 0.5, 1.2)",
|
|
576
582
|
fill: "forwards"
|
|
577
583
|
};
|
|
578
|
-
this.animation = this.gameContainer.animate(
|
|
584
|
+
this.animation = this.gameContainer.animate(o, s), this.animation.onfinish = () => {
|
|
579
585
|
this.animationDone = !0, this.selectedGameEl.classList.add("TheRandomGame"), this.selectedGame = this.gamesToShow[this.selectedGameIndex];
|
|
580
586
|
};
|
|
581
587
|
}
|
package/stencil/{casino-play-random-game_2-Bf35wiL3.js → casino-play-random-game_2-ZFGzW4UV.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as p, c as f, h as a, g as y, H as b } from "./index-328e660d-
|
|
1
|
+
import { r as p, c as f, h as a, g as y, H as b } from "./index-328e660d-Chk2LGOQ.js";
|
|
2
2
|
const x = () => {
|
|
3
3
|
let e = window.navigator.userAgent;
|
|
4
4
|
return e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
@@ -70,8 +70,8 @@ function u(e, n) {
|
|
|
70
70
|
return;
|
|
71
71
|
const t = new URL(n);
|
|
72
72
|
fetch(t.href).then((i) => i.text()).then((i) => {
|
|
73
|
-
const
|
|
74
|
-
|
|
73
|
+
const r = document.createElement("style");
|
|
74
|
+
r.innerHTML = i, e && e.appendChild(r);
|
|
75
75
|
}).catch((i) => {
|
|
76
76
|
console.error("There was an error while trying to load client styling from URL", i);
|
|
77
77
|
});
|
|
@@ -82,12 +82,12 @@ function G(e, n, t, i = !1) {
|
|
|
82
82
|
if (!("adoptedStyleSheets" in Document.prototype) || !i)
|
|
83
83
|
return t = v(e, n), t;
|
|
84
84
|
window[l] || (window[l] = {}), t = R(e, n);
|
|
85
|
-
const
|
|
85
|
+
const o = t.unsubscribe.bind(t), s = () => {
|
|
86
86
|
if (window[l][n]) {
|
|
87
87
|
const h = window[l][n];
|
|
88
88
|
h.refCount > 1 ? h.refCount = h.refCount - 1 : delete window[l][n];
|
|
89
89
|
}
|
|
90
|
-
|
|
90
|
+
o();
|
|
91
91
|
};
|
|
92
92
|
return t.unsubscribe = s, t;
|
|
93
93
|
}
|
|
@@ -101,18 +101,24 @@ function R(e, n) {
|
|
|
101
101
|
return window.emMessageBus.subscribe(n, (t) => {
|
|
102
102
|
if (!e)
|
|
103
103
|
return;
|
|
104
|
-
const i = e.getRootNode(),
|
|
105
|
-
let
|
|
106
|
-
|
|
107
|
-
sheet:
|
|
104
|
+
const i = e.getRootNode(), r = window[l];
|
|
105
|
+
let o = r[n] && r[n].sheet;
|
|
106
|
+
o ? r[n].refCount = r[n].refCount + 1 : (o = new CSSStyleSheet(), o.replaceSync(t), r[n] = {
|
|
107
|
+
sheet: o,
|
|
108
108
|
refCount: 1
|
|
109
109
|
});
|
|
110
110
|
const s = i.adoptedStyleSheets || [];
|
|
111
|
-
s.includes(
|
|
111
|
+
s.includes(o) || (i.adoptedStyleSheets = [...s, o]);
|
|
112
112
|
});
|
|
113
113
|
}
|
|
114
|
-
function S(e, n, t) {
|
|
115
|
-
|
|
114
|
+
function S(e, n, t, i = !1) {
|
|
115
|
+
if (window.emMessageBus) {
|
|
116
|
+
const r = i ? (o) => {
|
|
117
|
+
!o || typeof o != "object" || Array.isArray(o) || Object.keys(o).forEach((s) => t(s, o[s]));
|
|
118
|
+
} : t;
|
|
119
|
+
n = window.emMessageBus.subscribe(e, r);
|
|
120
|
+
}
|
|
121
|
+
return n;
|
|
116
122
|
}
|
|
117
123
|
const C = `:host {
|
|
118
124
|
display: block;
|
|
@@ -564,18 +570,18 @@ const C = `:host {
|
|
|
564
570
|
}
|
|
565
571
|
animateGames() {
|
|
566
572
|
this.iconVisibility = this.iconVisibleOnAnim === "true", this.animationStarted = !0, this.animationDone = !1, this.animation && this.animation.cancel(), this.selectedGameEl && (this.selectedGameEl.classList.remove("TheRandomGame"), this.selectedGame = null, this.selectedGameIndex = null), this.selectRandomGame();
|
|
567
|
-
const e = window.getComputedStyle(this.gameContainer).getPropertyValue("gap"), n = parseInt(e, 10), t = this.selectedGameEl.offsetWidth, i = this.gameContainer.offsetWidth,
|
|
573
|
+
const e = window.getComputedStyle(this.gameContainer).getPropertyValue("gap"), n = parseInt(e, 10), t = this.selectedGameEl.offsetWidth, i = this.gameContainer.offsetWidth, r = (t + n) * this.selectedGameIndex + // Width of game cards up to the selected
|
|
568
574
|
t / 2 - // Additional half card width to center to the selected game
|
|
569
|
-
i / 2,
|
|
575
|
+
i / 2, o = [
|
|
570
576
|
{ transform: "translateX(0px)", scale: 1 },
|
|
571
577
|
{ scale: 0.75 },
|
|
572
|
-
{ transform: `translateX(-${
|
|
578
|
+
{ transform: `translateX(-${r}px)`, scale: 1 }
|
|
573
579
|
], s = {
|
|
574
580
|
duration: 3e3,
|
|
575
581
|
easing: "cubic-bezier(0.5, 0, 0.5, 1.2)",
|
|
576
582
|
fill: "forwards"
|
|
577
583
|
};
|
|
578
|
-
this.animation = this.gameContainer.animate(
|
|
584
|
+
this.animation = this.gameContainer.animate(o, s), this.animation.onfinish = () => {
|
|
579
585
|
this.animationDone = !0, this.selectedGameEl.classList.add("TheRandomGame"), this.selectedGame = this.gamesToShow[this.selectedGameIndex];
|
|
580
586
|
};
|
|
581
587
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var P=(e,t,r)=>new Promise((s,n)=>{var a=i=>{try{o(r.next(i))}catch($){n($)}},l=i=>{try{o(r.throw(i))}catch($){n($)}},o=i=>i.done?s(i.value):Promise.resolve(i.value).then(a,l);o((r=r.apply(e,t)).next())});const Ee="casino-play-random-game",ke={hydratedSelectorName:"hydrated"};var be=Object.defineProperty,we=(e,t)=>{for(var r in t)be(e,r,{get:t[r],enumerable:!0})},R=new WeakMap,E=e=>R.get(e),Te=(e,t)=>R.set(t.$lazyInstance$=e,t),Pe=(e,t)=>{const r={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};return r.$onReadyPromise$=new Promise(s=>r.$onReadyResolve$=s),e["s-p"]=[],e["s-rc"]=[],R.set(e,r)},G=(e,t)=>t in e,b=(e,t)=>(0,console.error)(e,t),z=new Map,xe=(e,t,r)=>{const s=e.$tagName$.replace(/-/g,"_"),n=e.$lazyBundleId$;if(!n)return;const a=z.get(n);if(a)return a[s];{const l=o=>(z.set(n,o),o[s]);switch(n){case"casino-play-random-game_2":return Promise.resolve().then(()=>require("./casino-play-random-game_2-BsDiR4__.cjs")).then(l,b)}}return import(`./${n}.entry.js`).then(l=>(z.set(n,l),l[s]),b)},L=new Map,_e="{visibility:hidden}.hydrated{visibility:inherit}",ee="slot-fb{display:contents}slot-fb[hidden]{display:none}",j=typeof window!="undefined"?window:{},m=j.document||{head:{}},g={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,r,s)=>e.addEventListener(t,r,s),rel:(e,t,r,s)=>e.removeEventListener(t,r,s),ce:(e,t)=>new CustomEvent(e,t)},te=e=>Promise.resolve(e),Ae=(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function"}catch(e){}return!1})(),U=!1,X=[],se=[],Le=(e,t)=>r=>{e.push(r),U||(U=!0,g.$flags$&4?D(H):g.raf(H))},Y=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(r){b(r)}e.length=0},H=()=>{Y(X),Y(se),(U=X.length>0)&&g.raf(H)},D=e=>te().then(e),Ie=Le(se),J={},je=e=>e!=null,F=e=>(e=typeof e,e==="object"||e==="function");function ne(e){var t,r,s;return(s=(r=(t=e.head)==null?void 0:t.querySelector('meta[name="csp-nonce"]'))==null?void 0:r.getAttribute("content"))!=null?s:void 0}var Oe={};we(Oe,{err:()=>re,map:()=>ze,ok:()=>C,unwrap:()=>Ue,unwrapErr:()=>He});var C=e=>({isOk:!0,isErr:!1,value:e}),re=e=>({isOk:!1,isErr:!0,value:e});function ze(e,t){if(e.isOk){const r=t(e.value);return r instanceof Promise?r.then(s=>C(s)):C(r)}if(e.isErr){const r=e.value;return re(r)}throw"should never get here"}var Ue=e=>{if(e.isOk)return e.value;throw e.value},He=e=>{if(e.isErr)return e.value;throw e.value},S=(e,t="")=>()=>{},Ce=(e,t)=>()=>{},le=(e,t,...r)=>{let s=null,n=null,a=!1,l=!1;const o=[],i=c=>{for(let f=0;f<c.length;f++)s=c[f],Array.isArray(s)?i(s):s!=null&&typeof s!="boolean"&&((a=typeof e!="function"&&!F(s))&&(s=String(s)),a&&l?o[o.length-1].$text$+=s:o.push(a?B(null,s):s),l=a)};if(i(r),t){t.key&&(n=t.key);{const c=t.className||t.class;c&&(t.class=typeof c!="object"?c:Object.keys(c).filter(f=>c[f]).join(" "))}}const $=B(e,null);return $.$attrs$=t,o.length>0&&($.$children$=o),$.$key$=n,$},B=(e,t)=>{const r={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};return r.$attrs$=null,r.$key$=null,r},ae={},Be=e=>e&&e.$tag$===ae,qe=(e,t)=>e!=null&&!F(e)?t&4?e==="false"?!1:e===""||!!e:t&2?parseFloat(e):t&1?String(e):e:e,ie=e=>E(e).$hostElement$,Re=(e,t,r)=>{const s=ie(e);return{emit:n=>oe(s,t,{bubbles:!0,composed:!0,cancelable:!0,detail:n})}},oe=(e,t,r)=>{const s=g.ce(t,r);return e.dispatchEvent(s),s},K=new WeakMap,De=(e,t,r)=>{let s=L.get(e);Ae&&r?(s=s||new CSSStyleSheet,typeof s=="string"?s=t:s.replaceSync(t)):s=t,L.set(e,s)},Fe=(e,t,r)=>{var s;const n=$e(t),a=L.get(n);if(e=e.nodeType===11?e:m,a)if(typeof a=="string"){e=e.head||e;let l=K.get(e),o;if(l||K.set(e,l=new Set),!l.has(n)){{o=m.createElement("style"),o.innerHTML=a;const i=(s=g.$nonce$)!=null?s:ne(m);i!=null&&o.setAttribute("nonce",i),e.insertBefore(o,e.querySelector("link"))}t.$flags$&4&&(o.innerHTML+=ee),l&&l.add(n)}}else e.adoptedStyleSheets.includes(a)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,a]);return n},Me=e=>{const t=e.$cmpMeta$,r=e.$hostElement$,s=t.$flags$,n=S("attachStyles",t.$tagName$),a=Fe(r.shadowRoot?r.shadowRoot:r.getRootNode(),t);s&10&&(r["s-sc"]=a,r.classList.add(a+"-h")),n()},$e=(e,t)=>"sc-"+e.$tagName$,Q=(e,t,r,s,n,a)=>{if(r!==s){let l=G(e,t),o=t.toLowerCase();if(t==="class"){const i=e.classList,$=Z(r),c=Z(s);i.remove(...$.filter(f=>f&&!c.includes(f))),i.add(...c.filter(f=>f&&!$.includes(f)))}else if(t!=="key")if(t==="ref")s&&s(e);else if(!l&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"?t=t.slice(3):G(j,o)?t=o.slice(2):t=o[2]+t.slice(3),r||s){const i=t.endsWith(ce);t=t.replace(Ge,""),r&&g.rel(e,t,r,i),s&&g.ael(e,t,s,i)}}else{const i=F(s);if((l||i&&s!==null)&&!n)try{if(e.tagName.includes("-"))e[t]=s;else{const $=s==null?"":s;t==="list"?l=!1:(r==null||e[t]!=$)&&(e[t]=$)}}catch($){}s==null||s===!1?(s!==!1||e.getAttribute(t)==="")&&e.removeAttribute(t):(!l||a&4||n)&&!i&&(s=s===!0?"":s,e.setAttribute(t,s))}}},We=/\s/,Z=e=>e?e.split(We):[],ce="Capture",Ge=new RegExp(ce+"$"),fe=(e,t,r)=>{const s=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$,n=e&&e.$attrs$||J,a=t.$attrs$||J;for(const l of N(Object.keys(n)))l in a||Q(s,l,n[l],void 0,r,t.$flags$);for(const l of N(Object.keys(a)))Q(s,l,n[l],a[l],r,t.$flags$)};function N(e){return e.includes("ref")?[...e.filter(t=>t!=="ref"),"ref"]:e}var _,M,ue=!1,I=(e,t,r,s)=>{const n=t.$children$[r];let a=0,l,o;if(n.$text$!==null)l=n.$elm$=m.createTextNode(n.$text$);else if(l=n.$elm$=m.createElement(n.$tag$),fe(null,n,ue),je(_)&&l["s-si"]!==_&&l.classList.add(l["s-si"]=_),n.$children$)for(a=0;a<n.$children$.length;++a)o=I(e,n,a),o&&l.appendChild(o);return l["s-hn"]=M,l},de=(e,t,r,s,n,a)=>{let l=e,o;for(l.shadowRoot&&l.tagName===M&&(l=l.shadowRoot);n<=a;++n)s[n]&&(o=I(null,r,n),o&&(s[n].$elm$=o,A(l,o,t)))},ve=(e,t,r)=>{for(let s=t;s<=r;++s){const n=e[s];if(n){const a=n.$elm$;he(n),a&&a.remove()}}},Xe=(e,t,r,s,n=!1)=>{let a=0,l=0,o=0,i=0,$=t.length-1,c=t[0],f=t[$],u=s.length-1,d=s[0],v=s[u],h,y;for(;a<=$&&l<=u;)if(c==null)c=t[++a];else if(f==null)f=t[--$];else if(d==null)d=s[++l];else if(v==null)v=s[--u];else if(x(c,d,n))w(c,d,n),c=t[++a],d=s[++l];else if(x(f,v,n))w(f,v,n),f=t[--$],v=s[--u];else if(x(c,v,n))w(c,v,n),A(e,c.$elm$,f.$elm$.nextSibling),c=t[++a],v=s[--u];else if(x(f,d,n))w(f,d,n),A(e,f.$elm$,c.$elm$),f=t[--$],d=s[++l];else{for(o=-1,i=a;i<=$;++i)if(t[i]&&t[i].$key$!==null&&t[i].$key$===d.$key$){o=i;break}o>=0?(y=t[o],y.$tag$!==d.$tag$?h=I(t&&t[l],r,o):(w(y,d,n),t[o]=void 0,h=y.$elm$),d=s[++l]):(h=I(t&&t[l],r,l),d=s[++l]),h&&A(c.$elm$.parentNode,h,c.$elm$)}a>$?de(e,s[u+1]==null?null:s[u+1].$elm$,r,s,l,u):l>u&&ve(t,a,$)},x=(e,t,r=!1)=>e.$tag$===t.$tag$?r?!0:e.$key$===t.$key$:!1,w=(e,t,r=!1)=>{const s=t.$elm$=e.$elm$,n=e.$children$,a=t.$children$,l=t.$text$;l===null?(fe(e,t,ue),n!==null&&a!==null?Xe(s,n,t,a,r):a!==null?(e.$text$!==null&&(s.textContent=""),de(s,null,t,a,0,a.length-1)):n!==null&&ve(n,0,n.length-1)):e.$text$!==l&&(s.data=l)},he=e=>{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null),e.$children$&&e.$children$.map(he)},A=(e,t,r)=>e==null?void 0:e.insertBefore(t,r),Ye=(e,t,r=!1)=>{const s=e.$hostElement$,n=e.$cmpMeta$,a=e.$vnode$||B(null,null),l=Be(t)?t:le(null,null,t);if(M=s.tagName,n.$attrsToReflect$&&(l.$attrs$=l.$attrs$||{},n.$attrsToReflect$.map(([o,i])=>l.$attrs$[i]=s[o])),r&&l.$attrs$)for(const o of Object.keys(l.$attrs$))s.hasAttribute(o)&&!["key","ref","style","class"].includes(o)&&(l.$attrs$[o]=s[o]);l.$tag$=null,l.$flags$|=4,e.$vnode$=l,l.$elm$=a.$elm$=s.shadowRoot||s,_=s["s-sc"],n.$flags$&1,w(a,l,r)},ge=(e,t)=>{t&&!e.$onRenderResolve$&&t["s-p"]&&t["s-p"].push(new Promise(r=>e.$onRenderResolve$=r))},W=(e,t)=>{if(e.$flags$|=16,e.$flags$&4){e.$flags$|=512;return}return ge(e,e.$ancestorComponent$),Ie(()=>Je(e,t))},Je=(e,t)=>{const r=e.$hostElement$,s=S("scheduleUpdate",e.$cmpMeta$.$tagName$),n=e.$lazyInstance$;if(!n)throw new Error(`Can't render component <${r.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 a;return t&&(a=O(n,"componentWillLoad")),s(),Ke(a,()=>Ze(e,n,t))},Ke=(e,t)=>Qe(e)?e.then(t).catch(r=>{console.error(r),t()}):t(),Qe=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",Ze=(e,t,r)=>P(exports,null,function*(){var s;const n=e.$hostElement$,a=S("update",e.$cmpMeta$.$tagName$),l=n["s-rc"];r&&Me(e);const o=S("render",e.$cmpMeta$.$tagName$);Ne(e,t,n,r),l&&(l.map(i=>i()),n["s-rc"]=void 0),o(),a();{const i=(s=n["s-p"])!=null?s:[],$=()=>Ve(e);i.length===0?$():(Promise.all(i).then($),e.$flags$|=4,i.length=0)}}),Ne=(e,t,r,s)=>{try{t=t.render(),e.$flags$&=-17,e.$flags$|=2,Ye(e,t,s)}catch(n){b(n,e.$hostElement$)}return null},Ve=e=>{const t=e.$cmpMeta$.$tagName$,r=e.$hostElement$,s=S("postUpdate",t),n=e.$lazyInstance$,a=e.$ancestorComponent$;e.$flags$&64?s():(e.$flags$|=64,ye(r),O(n,"componentDidLoad"),s(),e.$onReadyResolve$(r),a||pe()),e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),e.$flags$&512&&D(()=>W(e,!1)),e.$flags$&=-517},pe=e=>{ye(m.documentElement),D(()=>oe(j,"appload",{detail:{namespace:Ee}}))},O=(e,t,r)=>{if(e&&e[t])try{return e[t](r)}catch(s){b(s)}},ye=e=>{var t;return e.classList.add((t=ke.hydratedSelectorName)!=null?t:"hydrated")},et=(e,t)=>E(e).$instanceValues$.get(t),tt=(e,t,r,s)=>{const n=E(e);if(!n)throw new Error(`Couldn't find host element for "${s.$tagName$}" 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 a=n.$hostElement$,l=n.$instanceValues$.get(t),o=n.$flags$,i=n.$lazyInstance$;r=qe(r,s.$members$[t][0]);const $=Number.isNaN(l)&&Number.isNaN(r),c=r!==l&&!$;if((!(o&8)||l===void 0)&&c&&(n.$instanceValues$.set(t,r),i)){if(s.$watchers$&&o&128){const f=s.$watchers$[t];f&&f.map(u=>{try{i[u](r,l,t)}catch(d){b(d,a)}})}(o&18)===2&&W(n,!1)}},me=(e,t,r)=>{var s,n;const a=e.prototype;if(t.$members$||t.$watchers$||e.watchers){e.watchers&&!t.$watchers$&&(t.$watchers$=e.watchers);const l=Object.entries((s=t.$members$)!=null?s:{});if(l.map(([o,[i]])=>{(i&31||r&2&&i&32)&&Object.defineProperty(a,o,{get(){return et(this,o)},set($){tt(this,o,$,t)},configurable:!0,enumerable:!0})}),r&1){const o=new Map;a.attributeChangedCallback=function(i,$,c){g.jmp(()=>{var f;const u=o.get(i);if(this.hasOwnProperty(u))c=this[u],delete this[u];else{if(a.hasOwnProperty(u)&&typeof this[u]=="number"&&this[u]==c)return;if(u==null){const d=E(this),v=d==null?void 0:d.$flags$;if(v&&!(v&8)&&v&128&&c!==$){const h=d.$lazyInstance$,y=(f=t.$watchers$)==null?void 0:f[i];y==null||y.forEach(p=>{h[p]!=null&&h[p].call(h,c,$,i)})}return}}this[u]=c===null&&typeof this[u]=="boolean"?!1:c})},e.observedAttributes=Array.from(new Set([...Object.keys((n=t.$watchers$)!=null?n:{}),...l.filter(([i,$])=>$[0]&15).map(([i,$])=>{var c;const f=$[1]||i;return o.set(f,i),$[0]&512&&((c=t.$attrsToReflect$)==null||c.push([i,f])),f})]))}}return e},st=(e,t,r,s)=>P(exports,null,function*(){let n;if(!(t.$flags$&32)){if(t.$flags$|=32,r.$lazyBundleId$){const i=xe(r);if(i&&"then"in i){const c=Ce();n=yield i,c()}else n=i;if(!n)throw new Error(`Constructor for "${r.$tagName$}#${t.$modeName$}" was not found`);n.isProxied||(r.$watchers$=n.watchers,me(n,r,2),n.isProxied=!0);const $=S("createInstance",r.$tagName$);t.$flags$|=8;try{new n(t)}catch(c){b(c)}t.$flags$&=-9,t.$flags$|=128,$(),q(t.$lazyInstance$)}else{n=e.constructor;const i=e.localName;customElements.whenDefined(i).then(()=>t.$flags$|=128)}if(n&&n.style){let i;typeof n.style=="string"&&(i=n.style);const $=$e(r);if(!L.has($)){const c=S("registerStyles",r.$tagName$);De($,i,!!(r.$flags$&1)),c()}}}const a=t.$ancestorComponent$,l=()=>W(t,!0);a&&a["s-rc"]?a["s-rc"].push(l):l()}),q=e=>{O(e,"connectedCallback")},nt=e=>{if(!(g.$flags$&1)){const t=E(e),r=t.$cmpMeta$,s=S("connectedCallback",r.$tagName$);if(t.$flags$&1)t!=null&&t.$lazyInstance$?q(t.$lazyInstance$):t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>q(t.$lazyInstance$));else{t.$flags$|=1;{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){ge(t,t.$ancestorComponent$=n);break}}r.$members$&&Object.entries(r.$members$).map(([n,[a]])=>{if(a&31&&e.hasOwnProperty(n)){const l=e[n];delete e[n],e[n]=l}}),st(e,t,r)}s()}},V=e=>{O(e,"disconnectedCallback")},rt=e=>P(exports,null,function*(){if(!(g.$flags$&1)){const t=E(e);t!=null&&t.$lazyInstance$?V(t.$lazyInstance$):t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>V(t.$lazyInstance$))}}),lt=(e,t={})=>{var r;const s=S(),n=[],a=t.exclude||[],l=j.customElements,o=m.head,i=o.querySelector("meta[charset]"),$=m.createElement("style"),c=[];let f,u=!0;Object.assign(g,t),g.$resourcesUrl$=new URL(t.resourcesUrl||"./",m.baseURI).href;let d=!1;if(e.map(v=>{v[1].map(h=>{var y;const p={$flags$:h[0],$tagName$:h[1],$members$:h[2],$listeners$:h[3]};p.$flags$&4&&(d=!0),p.$members$=h[2],p.$attrsToReflect$=[],p.$watchers$=(y=h[4])!=null?y:{};const T=p.$tagName$,Se=class extends HTMLElement{constructor(k){if(super(k),this.hasRegisteredEventListeners=!1,k=this,Pe(k,p),p.$flags$&1){if(!k.shadowRoot)k.attachShadow({mode:"open"});else if(k.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${p.$tagName$}! Mode is set to ${k.shadowRoot.mode} but Stencil only supports open shadow roots.`)}}connectedCallback(){E(this),this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),f&&(clearTimeout(f),f=null),u?c.push(this):g.jmp(()=>nt(this))}disconnectedCallback(){g.jmp(()=>rt(this))}componentOnReady(){return E(this).$onReadyPromise$}};p.$lazyBundleId$=v[0],!a.includes(T)&&!l.get(T)&&(n.push(T),l.define(T,me(Se,p,1)))})}),n.length>0&&(d&&($.textContent+=ee),$.textContent+=n.sort()+_e,$.innerHTML.length)){$.setAttribute("data-styles","");const v=(r=g.$nonce$)!=null?r:ne(m);v!=null&&$.setAttribute("nonce",v),o.insertBefore($,i?i.nextSibling:o.firstChild)}u=!1,c.length?c.map(v=>v.connectedCallback()):g.jmp(()=>f=setTimeout(pe,30)),s()};exports.Host=ae;exports.bootstrapLazy=lt;exports.createEvent=Re;exports.getElement=ie;exports.h=le;exports.promiseResolve=te;exports.registerInstance=Te;
|
|
1
|
+
"use strict";var P=(e,t,r)=>new Promise((s,n)=>{var a=i=>{try{o(r.next(i))}catch($){n($)}},l=i=>{try{o(r.throw(i))}catch($){n($)}},o=i=>i.done?s(i.value):Promise.resolve(i.value).then(a,l);o((r=r.apply(e,t)).next())});const Ee="casino-play-random-game",ke={hydratedSelectorName:"hydrated"};var be=Object.defineProperty,we=(e,t)=>{for(var r in t)be(e,r,{get:t[r],enumerable:!0})},R=new WeakMap,E=e=>R.get(e),Te=(e,t)=>R.set(t.$lazyInstance$=e,t),Pe=(e,t)=>{const r={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};return r.$onReadyPromise$=new Promise(s=>r.$onReadyResolve$=s),e["s-p"]=[],e["s-rc"]=[],R.set(e,r)},G=(e,t)=>t in e,b=(e,t)=>(0,console.error)(e,t),z=new Map,xe=(e,t,r)=>{const s=e.$tagName$.replace(/-/g,"_"),n=e.$lazyBundleId$;if(!n)return;const a=z.get(n);if(a)return a[s];{const l=o=>(z.set(n,o),o[s]);switch(n){case"casino-play-random-game_2":return Promise.resolve().then(()=>require("./casino-play-random-game_2-Bw_zhpC0.cjs")).then(l,b)}}return import(`./${n}.entry.js`).then(l=>(z.set(n,l),l[s]),b)},L=new Map,_e="{visibility:hidden}.hydrated{visibility:inherit}",ee="slot-fb{display:contents}slot-fb[hidden]{display:none}",j=typeof window!="undefined"?window:{},m=j.document||{head:{}},g={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,r,s)=>e.addEventListener(t,r,s),rel:(e,t,r,s)=>e.removeEventListener(t,r,s),ce:(e,t)=>new CustomEvent(e,t)},te=e=>Promise.resolve(e),Ae=(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function"}catch(e){}return!1})(),U=!1,X=[],se=[],Le=(e,t)=>r=>{e.push(r),U||(U=!0,g.$flags$&4?D(H):g.raf(H))},Y=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(r){b(r)}e.length=0},H=()=>{Y(X),Y(se),(U=X.length>0)&&g.raf(H)},D=e=>te().then(e),Ie=Le(se),J={},je=e=>e!=null,F=e=>(e=typeof e,e==="object"||e==="function");function ne(e){var t,r,s;return(s=(r=(t=e.head)==null?void 0:t.querySelector('meta[name="csp-nonce"]'))==null?void 0:r.getAttribute("content"))!=null?s:void 0}var Oe={};we(Oe,{err:()=>re,map:()=>ze,ok:()=>C,unwrap:()=>Ue,unwrapErr:()=>He});var C=e=>({isOk:!0,isErr:!1,value:e}),re=e=>({isOk:!1,isErr:!0,value:e});function ze(e,t){if(e.isOk){const r=t(e.value);return r instanceof Promise?r.then(s=>C(s)):C(r)}if(e.isErr){const r=e.value;return re(r)}throw"should never get here"}var Ue=e=>{if(e.isOk)return e.value;throw e.value},He=e=>{if(e.isErr)return e.value;throw e.value},S=(e,t="")=>()=>{},Ce=(e,t)=>()=>{},le=(e,t,...r)=>{let s=null,n=null,a=!1,l=!1;const o=[],i=c=>{for(let f=0;f<c.length;f++)s=c[f],Array.isArray(s)?i(s):s!=null&&typeof s!="boolean"&&((a=typeof e!="function"&&!F(s))&&(s=String(s)),a&&l?o[o.length-1].$text$+=s:o.push(a?B(null,s):s),l=a)};if(i(r),t){t.key&&(n=t.key);{const c=t.className||t.class;c&&(t.class=typeof c!="object"?c:Object.keys(c).filter(f=>c[f]).join(" "))}}const $=B(e,null);return $.$attrs$=t,o.length>0&&($.$children$=o),$.$key$=n,$},B=(e,t)=>{const r={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};return r.$attrs$=null,r.$key$=null,r},ae={},Be=e=>e&&e.$tag$===ae,qe=(e,t)=>e!=null&&!F(e)?t&4?e==="false"?!1:e===""||!!e:t&2?parseFloat(e):t&1?String(e):e:e,ie=e=>E(e).$hostElement$,Re=(e,t,r)=>{const s=ie(e);return{emit:n=>oe(s,t,{bubbles:!0,composed:!0,cancelable:!0,detail:n})}},oe=(e,t,r)=>{const s=g.ce(t,r);return e.dispatchEvent(s),s},K=new WeakMap,De=(e,t,r)=>{let s=L.get(e);Ae&&r?(s=s||new CSSStyleSheet,typeof s=="string"?s=t:s.replaceSync(t)):s=t,L.set(e,s)},Fe=(e,t,r)=>{var s;const n=$e(t),a=L.get(n);if(e=e.nodeType===11?e:m,a)if(typeof a=="string"){e=e.head||e;let l=K.get(e),o;if(l||K.set(e,l=new Set),!l.has(n)){{o=m.createElement("style"),o.innerHTML=a;const i=(s=g.$nonce$)!=null?s:ne(m);i!=null&&o.setAttribute("nonce",i),e.insertBefore(o,e.querySelector("link"))}t.$flags$&4&&(o.innerHTML+=ee),l&&l.add(n)}}else e.adoptedStyleSheets.includes(a)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,a]);return n},Me=e=>{const t=e.$cmpMeta$,r=e.$hostElement$,s=t.$flags$,n=S("attachStyles",t.$tagName$),a=Fe(r.shadowRoot?r.shadowRoot:r.getRootNode(),t);s&10&&(r["s-sc"]=a,r.classList.add(a+"-h")),n()},$e=(e,t)=>"sc-"+e.$tagName$,Q=(e,t,r,s,n,a)=>{if(r!==s){let l=G(e,t),o=t.toLowerCase();if(t==="class"){const i=e.classList,$=Z(r),c=Z(s);i.remove(...$.filter(f=>f&&!c.includes(f))),i.add(...c.filter(f=>f&&!$.includes(f)))}else if(t!=="key")if(t==="ref")s&&s(e);else if(!l&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"?t=t.slice(3):G(j,o)?t=o.slice(2):t=o[2]+t.slice(3),r||s){const i=t.endsWith(ce);t=t.replace(Ge,""),r&&g.rel(e,t,r,i),s&&g.ael(e,t,s,i)}}else{const i=F(s);if((l||i&&s!==null)&&!n)try{if(e.tagName.includes("-"))e[t]=s;else{const $=s==null?"":s;t==="list"?l=!1:(r==null||e[t]!=$)&&(e[t]=$)}}catch($){}s==null||s===!1?(s!==!1||e.getAttribute(t)==="")&&e.removeAttribute(t):(!l||a&4||n)&&!i&&(s=s===!0?"":s,e.setAttribute(t,s))}}},We=/\s/,Z=e=>e?e.split(We):[],ce="Capture",Ge=new RegExp(ce+"$"),fe=(e,t,r)=>{const s=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$,n=e&&e.$attrs$||J,a=t.$attrs$||J;for(const l of N(Object.keys(n)))l in a||Q(s,l,n[l],void 0,r,t.$flags$);for(const l of N(Object.keys(a)))Q(s,l,n[l],a[l],r,t.$flags$)};function N(e){return e.includes("ref")?[...e.filter(t=>t!=="ref"),"ref"]:e}var _,M,ue=!1,I=(e,t,r,s)=>{const n=t.$children$[r];let a=0,l,o;if(n.$text$!==null)l=n.$elm$=m.createTextNode(n.$text$);else if(l=n.$elm$=m.createElement(n.$tag$),fe(null,n,ue),je(_)&&l["s-si"]!==_&&l.classList.add(l["s-si"]=_),n.$children$)for(a=0;a<n.$children$.length;++a)o=I(e,n,a),o&&l.appendChild(o);return l["s-hn"]=M,l},de=(e,t,r,s,n,a)=>{let l=e,o;for(l.shadowRoot&&l.tagName===M&&(l=l.shadowRoot);n<=a;++n)s[n]&&(o=I(null,r,n),o&&(s[n].$elm$=o,A(l,o,t)))},ve=(e,t,r)=>{for(let s=t;s<=r;++s){const n=e[s];if(n){const a=n.$elm$;he(n),a&&a.remove()}}},Xe=(e,t,r,s,n=!1)=>{let a=0,l=0,o=0,i=0,$=t.length-1,c=t[0],f=t[$],u=s.length-1,d=s[0],v=s[u],h,y;for(;a<=$&&l<=u;)if(c==null)c=t[++a];else if(f==null)f=t[--$];else if(d==null)d=s[++l];else if(v==null)v=s[--u];else if(x(c,d,n))w(c,d,n),c=t[++a],d=s[++l];else if(x(f,v,n))w(f,v,n),f=t[--$],v=s[--u];else if(x(c,v,n))w(c,v,n),A(e,c.$elm$,f.$elm$.nextSibling),c=t[++a],v=s[--u];else if(x(f,d,n))w(f,d,n),A(e,f.$elm$,c.$elm$),f=t[--$],d=s[++l];else{for(o=-1,i=a;i<=$;++i)if(t[i]&&t[i].$key$!==null&&t[i].$key$===d.$key$){o=i;break}o>=0?(y=t[o],y.$tag$!==d.$tag$?h=I(t&&t[l],r,o):(w(y,d,n),t[o]=void 0,h=y.$elm$),d=s[++l]):(h=I(t&&t[l],r,l),d=s[++l]),h&&A(c.$elm$.parentNode,h,c.$elm$)}a>$?de(e,s[u+1]==null?null:s[u+1].$elm$,r,s,l,u):l>u&&ve(t,a,$)},x=(e,t,r=!1)=>e.$tag$===t.$tag$?r?!0:e.$key$===t.$key$:!1,w=(e,t,r=!1)=>{const s=t.$elm$=e.$elm$,n=e.$children$,a=t.$children$,l=t.$text$;l===null?(fe(e,t,ue),n!==null&&a!==null?Xe(s,n,t,a,r):a!==null?(e.$text$!==null&&(s.textContent=""),de(s,null,t,a,0,a.length-1)):n!==null&&ve(n,0,n.length-1)):e.$text$!==l&&(s.data=l)},he=e=>{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null),e.$children$&&e.$children$.map(he)},A=(e,t,r)=>e==null?void 0:e.insertBefore(t,r),Ye=(e,t,r=!1)=>{const s=e.$hostElement$,n=e.$cmpMeta$,a=e.$vnode$||B(null,null),l=Be(t)?t:le(null,null,t);if(M=s.tagName,n.$attrsToReflect$&&(l.$attrs$=l.$attrs$||{},n.$attrsToReflect$.map(([o,i])=>l.$attrs$[i]=s[o])),r&&l.$attrs$)for(const o of Object.keys(l.$attrs$))s.hasAttribute(o)&&!["key","ref","style","class"].includes(o)&&(l.$attrs$[o]=s[o]);l.$tag$=null,l.$flags$|=4,e.$vnode$=l,l.$elm$=a.$elm$=s.shadowRoot||s,_=s["s-sc"],n.$flags$&1,w(a,l,r)},ge=(e,t)=>{t&&!e.$onRenderResolve$&&t["s-p"]&&t["s-p"].push(new Promise(r=>e.$onRenderResolve$=r))},W=(e,t)=>{if(e.$flags$|=16,e.$flags$&4){e.$flags$|=512;return}return ge(e,e.$ancestorComponent$),Ie(()=>Je(e,t))},Je=(e,t)=>{const r=e.$hostElement$,s=S("scheduleUpdate",e.$cmpMeta$.$tagName$),n=e.$lazyInstance$;if(!n)throw new Error(`Can't render component <${r.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 a;return t&&(a=O(n,"componentWillLoad")),s(),Ke(a,()=>Ze(e,n,t))},Ke=(e,t)=>Qe(e)?e.then(t).catch(r=>{console.error(r),t()}):t(),Qe=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",Ze=(e,t,r)=>P(exports,null,function*(){var s;const n=e.$hostElement$,a=S("update",e.$cmpMeta$.$tagName$),l=n["s-rc"];r&&Me(e);const o=S("render",e.$cmpMeta$.$tagName$);Ne(e,t,n,r),l&&(l.map(i=>i()),n["s-rc"]=void 0),o(),a();{const i=(s=n["s-p"])!=null?s:[],$=()=>Ve(e);i.length===0?$():(Promise.all(i).then($),e.$flags$|=4,i.length=0)}}),Ne=(e,t,r,s)=>{try{t=t.render(),e.$flags$&=-17,e.$flags$|=2,Ye(e,t,s)}catch(n){b(n,e.$hostElement$)}return null},Ve=e=>{const t=e.$cmpMeta$.$tagName$,r=e.$hostElement$,s=S("postUpdate",t),n=e.$lazyInstance$,a=e.$ancestorComponent$;e.$flags$&64?s():(e.$flags$|=64,ye(r),O(n,"componentDidLoad"),s(),e.$onReadyResolve$(r),a||pe()),e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),e.$flags$&512&&D(()=>W(e,!1)),e.$flags$&=-517},pe=e=>{ye(m.documentElement),D(()=>oe(j,"appload",{detail:{namespace:Ee}}))},O=(e,t,r)=>{if(e&&e[t])try{return e[t](r)}catch(s){b(s)}},ye=e=>{var t;return e.classList.add((t=ke.hydratedSelectorName)!=null?t:"hydrated")},et=(e,t)=>E(e).$instanceValues$.get(t),tt=(e,t,r,s)=>{const n=E(e);if(!n)throw new Error(`Couldn't find host element for "${s.$tagName$}" 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 a=n.$hostElement$,l=n.$instanceValues$.get(t),o=n.$flags$,i=n.$lazyInstance$;r=qe(r,s.$members$[t][0]);const $=Number.isNaN(l)&&Number.isNaN(r),c=r!==l&&!$;if((!(o&8)||l===void 0)&&c&&(n.$instanceValues$.set(t,r),i)){if(s.$watchers$&&o&128){const f=s.$watchers$[t];f&&f.map(u=>{try{i[u](r,l,t)}catch(d){b(d,a)}})}(o&18)===2&&W(n,!1)}},me=(e,t,r)=>{var s,n;const a=e.prototype;if(t.$members$||t.$watchers$||e.watchers){e.watchers&&!t.$watchers$&&(t.$watchers$=e.watchers);const l=Object.entries((s=t.$members$)!=null?s:{});if(l.map(([o,[i]])=>{(i&31||r&2&&i&32)&&Object.defineProperty(a,o,{get(){return et(this,o)},set($){tt(this,o,$,t)},configurable:!0,enumerable:!0})}),r&1){const o=new Map;a.attributeChangedCallback=function(i,$,c){g.jmp(()=>{var f;const u=o.get(i);if(this.hasOwnProperty(u))c=this[u],delete this[u];else{if(a.hasOwnProperty(u)&&typeof this[u]=="number"&&this[u]==c)return;if(u==null){const d=E(this),v=d==null?void 0:d.$flags$;if(v&&!(v&8)&&v&128&&c!==$){const h=d.$lazyInstance$,y=(f=t.$watchers$)==null?void 0:f[i];y==null||y.forEach(p=>{h[p]!=null&&h[p].call(h,c,$,i)})}return}}this[u]=c===null&&typeof this[u]=="boolean"?!1:c})},e.observedAttributes=Array.from(new Set([...Object.keys((n=t.$watchers$)!=null?n:{}),...l.filter(([i,$])=>$[0]&15).map(([i,$])=>{var c;const f=$[1]||i;return o.set(f,i),$[0]&512&&((c=t.$attrsToReflect$)==null||c.push([i,f])),f})]))}}return e},st=(e,t,r,s)=>P(exports,null,function*(){let n;if(!(t.$flags$&32)){if(t.$flags$|=32,r.$lazyBundleId$){const i=xe(r);if(i&&"then"in i){const c=Ce();n=yield i,c()}else n=i;if(!n)throw new Error(`Constructor for "${r.$tagName$}#${t.$modeName$}" was not found`);n.isProxied||(r.$watchers$=n.watchers,me(n,r,2),n.isProxied=!0);const $=S("createInstance",r.$tagName$);t.$flags$|=8;try{new n(t)}catch(c){b(c)}t.$flags$&=-9,t.$flags$|=128,$(),q(t.$lazyInstance$)}else{n=e.constructor;const i=e.localName;customElements.whenDefined(i).then(()=>t.$flags$|=128)}if(n&&n.style){let i;typeof n.style=="string"&&(i=n.style);const $=$e(r);if(!L.has($)){const c=S("registerStyles",r.$tagName$);De($,i,!!(r.$flags$&1)),c()}}}const a=t.$ancestorComponent$,l=()=>W(t,!0);a&&a["s-rc"]?a["s-rc"].push(l):l()}),q=e=>{O(e,"connectedCallback")},nt=e=>{if(!(g.$flags$&1)){const t=E(e),r=t.$cmpMeta$,s=S("connectedCallback",r.$tagName$);if(t.$flags$&1)t!=null&&t.$lazyInstance$?q(t.$lazyInstance$):t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>q(t.$lazyInstance$));else{t.$flags$|=1;{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){ge(t,t.$ancestorComponent$=n);break}}r.$members$&&Object.entries(r.$members$).map(([n,[a]])=>{if(a&31&&e.hasOwnProperty(n)){const l=e[n];delete e[n],e[n]=l}}),st(e,t,r)}s()}},V=e=>{O(e,"disconnectedCallback")},rt=e=>P(exports,null,function*(){if(!(g.$flags$&1)){const t=E(e);t!=null&&t.$lazyInstance$?V(t.$lazyInstance$):t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>V(t.$lazyInstance$))}}),lt=(e,t={})=>{var r;const s=S(),n=[],a=t.exclude||[],l=j.customElements,o=m.head,i=o.querySelector("meta[charset]"),$=m.createElement("style"),c=[];let f,u=!0;Object.assign(g,t),g.$resourcesUrl$=new URL(t.resourcesUrl||"./",m.baseURI).href;let d=!1;if(e.map(v=>{v[1].map(h=>{var y;const p={$flags$:h[0],$tagName$:h[1],$members$:h[2],$listeners$:h[3]};p.$flags$&4&&(d=!0),p.$members$=h[2],p.$attrsToReflect$=[],p.$watchers$=(y=h[4])!=null?y:{};const T=p.$tagName$,Se=class extends HTMLElement{constructor(k){if(super(k),this.hasRegisteredEventListeners=!1,k=this,Pe(k,p),p.$flags$&1){if(!k.shadowRoot)k.attachShadow({mode:"open"});else if(k.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${p.$tagName$}! Mode is set to ${k.shadowRoot.mode} but Stencil only supports open shadow roots.`)}}connectedCallback(){E(this),this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),f&&(clearTimeout(f),f=null),u?c.push(this):g.jmp(()=>nt(this))}disconnectedCallback(){g.jmp(()=>rt(this))}componentOnReady(){return E(this).$onReadyPromise$}};p.$lazyBundleId$=v[0],!a.includes(T)&&!l.get(T)&&(n.push(T),l.define(T,me(Se,p,1)))})}),n.length>0&&(d&&($.textContent+=ee),$.textContent+=n.sort()+_e,$.innerHTML.length)){$.setAttribute("data-styles","");const v=(r=g.$nonce$)!=null?r:ne(m);v!=null&&$.setAttribute("nonce",v),o.insertBefore($,i?i.nextSibling:o.firstChild)}u=!1,c.length?c.map(v=>v.connectedCallback()):g.jmp(()=>f=setTimeout(pe,30)),s()};exports.Host=ae;exports.bootstrapLazy=lt;exports.createEvent=Re;exports.getElement=ie;exports.h=le;exports.promiseResolve=te;exports.registerInstance=Te;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var $=(i,t,n)=>new Promise((s,l)=>{var o=c=>{try{u(n.next(c))}catch(g){l(g)}},a=c=>{try{u(n.throw(c))}catch(g){l(g)}},u=c=>c.done?s(c.value):Promise.resolve(c.value).then(o,a);u((n=n.apply(i,t)).next())});const e=require("./CasinoPage-ByrxRamE.cjs");function Ie(i,t){e.addMessages(i,t)}function Ge(i){e.$locale.set(i)}const Ue={en:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won",noWinnersMessage:"Currently there are no winners."},"zh-hk":{recentWinners:"最近的获奖者",topWinners:"最佳获奖者",won:"刚赢",noWinnersMessage:"現在暫時沒有贏家!"},de:{recentWinners:"Kürzliche Gewinner",topWinners:"Top Gewinner",won:"Eben gewonnen",noWinnersMessage:"Zurzeit gibt es keine Gewinner!"},it:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won",noWinnersMessage:"Non ci sono vincitori al momento!"},fr:{recentWinners:"Gagnants récents",topWinners:"Meilleurs gagnants",won:"vient de gagner",noWinnersMessage:"Il n’y a pas de gagnants pour le moment !"},es:{recentWinners:"Ganadores Recientes",topWinners:"Ganadores Top",won:"Últimos Ganadores",noWinnersMessage:"No hay ganadores en este momento."},el:{recentWinners:"Πρόσφατοι νικητές",topWinners:"Κορυφαίοι νικητές",won:"μόλις κέρδισε",noWinnersMessage:"Δεν υπάρχουν νικητές αυτή τη στιγμή!"},tr:{recentWinners:"Son Kazananlar",topWinners:"En Çok Kazananlar",won:"Sadece kazandı",noWinnersMessage:"Şu anda kazanan yok!"},ru:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won",noWinnersMessage:"В данный момент нет победителей!"},ro:{recentWinners:"Ultimii câștigători",topWinners:"Câștigători de top",won:"tocmai a câștigat",noWinnersMessage:"Nu există câștigători în acest moment!"},hr:{recentWinners:"Nedavni dobitnici",topWinners:"Top dobitnici",won:"upravo osvojio",noWinnersMessage:"Trenutno nema pobjednika!"},hu:{recentWinners:"Legutóbbi nyertesek",topWinners:"Top nyertesek",won:"Nyert",noWinnersMessage:"Jelenleg nincsenek nyertesek!"},pl:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won",noWinnersMessage:"There are no winners at the moment!"},pt:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won",noWinnersMessage:"Obecnie nie ma żadnych zwycięzców!"},sl:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won",noWinnersMessage:"Trenutno nema pobednika!"},sr:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won",noWinnersMessage:"There are no winners at the moment!"},"pt-br":{recentWinners:"Vencedores recentes",topWinners:"Principais vencedores",won:"acabei de ganhar",noWinnersMessage:"Não há vencedores no momento!"},"es-mx":{recentWinners:"Ganadores recientes",topWinners:"Mejores Ganadores",won:"recién gano",noWinnersMessage:"No hay ganadores en este momento."},"en-us":{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won",noWinnersMessage:"Currently there are no winners."}},_e=(i,t)=>function(...n){clearTimeout(this.debounceTimer),this.debounceTimer=setTimeout(()=>{i.apply(this,n)},t)};function De(i,t,n){return window.emMessageBus&&(t=window.emMessageBus.subscribe(i,n)),t}if(typeof window!="undefined"){let i=function(t){return function(...n){try{return t.apply(this,n)}catch(s){if(s instanceof DOMException&&s.message.includes("has already been used with this registry")||s.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw s}}};customElements.define=i(customElements.define),Promise.resolve().then(()=>require("./GeneralAnimationLoading-fUErzHLi.cjs")).then(({default:t})=>{!customElements.get("general-animation-loading")&&customElements.define("general-animation-loading",t.element)})}function qe(i){e.append_styles(i,"svelte-d1flp7","*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.Off{display:none}.CasinoWinners{background-color:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;height:320px;margin:0 auto}.CasinoWinners.Mobile{padding:25px 10px;height:250px}.WinnersHeader{display:flex;justify-content:space-between}.SliderButton{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px}.SliderButton.SliderButton:active{transform:translateY(1px)}.WinnerButtonsContainer{display:flex;margin-bottom:42px}.WinnersButton{border:none;background:none;color:var(--emw--casino-typography, var(--emw--color-contrast, #FFFFFF));font-size:22px;font-weight:500;margin-right:60px;cursor:pointer}.WinnersButton:hover{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:40px}.WinnersButton:focus{color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:40px}.WinnersButton.Active{border-bottom:2px solid #22B04E;padding-bottom:10px;color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))}.WinnersButton.Active{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:40px}.ButtonsContainerNone{display:none}.WinnersSlider{display:flex;justify-content:flex-start;position:relative;height:180px;overflow:hidden;-ms-overflow-style:none;scrollbar-width:none}.WinnersSlider::-webkit-scrollbar{display:none}.WinnersSlider .NoWinnersMessage{color:var(--emw--casino-typography, var(--emw--color-typography, #FFFFFF));font-size:var(--emw--font-size-medium, 16px)}.CardWrapper{position:absolute;top:0;left:0}.CardWrapperAnimation{transition:transform 2s}.WinnerCard{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);display:flex;align-items:center;flex-direction:column;justify-content:center;gap:4px;height:180px;min-width:191px;margin-bottom:30px;margin-right:30px}.WinnerCard p:first-of-type{color:var(--emw--color-gray-150, #828282);font-size:14px;inline-size:189px;overflow-wrap:break-word;text-align:center}.WinnerCard p:nth-child(3){text-align:center;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:14px;width:100px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.WinnerCard p:nth-child(4){color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:14px;text-align:center}.WinnerCard p:last-of-type{color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));font-size:16px}.WinnerCard:hover{border:1px solid rgba(255, 255, 255, 0.4)}.WinnersImage{border-radius:5px;height:54px;margin-bottom:10px;width:80px;cursor:pointer}.Mobile .CasinoWinners{width:320px;max-width:320px}.Mobile .WinnersHeader{justify-content:flex-start}.Mobile .WinnersButton{font-size:18px;white-space:nowrap;margin-right:40px}.Mobile .WinnersButton:last-child{margin-right:0}.Mobile .WinnersButton.Active{padding-bottom:4px}.Mobile .WinnersSlider{overflow:scroll;overflow-y:hidden;-ms-overflow-style:none;scrollbar-width:none}.Mobile .SliderButton{display:none}.Mobile .WinnerCard{width:140px;height:150px;min-width:140px;margin-right:12px}.Mobile .WinnerCard p:first-of-type{font-size:10px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;text-align:center;width:100px}.Mobile .WinnerCard p:nth-child(3){font-size:10px}.Mobile .WinnerCard p:nth-child(4){font-size:8px;font-weight:300;text-align:center}.Mobile .WinnerCard p:last-of-type{font-size:11px}.Mobile .WinnerButtonsContainer{margin-bottom:20px}")}function me(i,t,n){const s=i.slice();return s[76]=t[n],s}function de(i,t,n){const s=i.slice();return s[79]=t[n],s}function He(i){let t,n,s,l,o,a,u,c,g,L,C,p,_,B,v,N,T,z,M,y=e.ensure_array_like(i[16]),f=[];for(let m=0;m<y.length;m+=1)f[m]=pe(de(i,y,m));function S(m,h){return m[17]?Ze:Ke}let x=S(i),b=x(i);return{c(){t=e.element("div"),n=e.element("div"),s=e.element("div");for(let m=0;m<f.length;m+=1)f[m].c();l=e.space(),o=e.element("div"),a=e.element("button"),u=e.svg_element("svg"),c=e.svg_element("path"),L=e.space(),C=e.element("button"),p=e.svg_element("svg"),_=e.svg_element("path"),N=e.space(),b.c(),e.attr(s,"class","WinnerButtonsContainer"),e.attr(c,"style",g=i[11]>=i[10].length?"fill:#F6F6F62E":""),e.attr(c,"id","Path_36"),e.attr(c,"data-name","Path 36"),e.attr(c,"d","M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"),e.attr(c,"transform","translate(14.656 0) rotate(90)"),e.attr(c,"fill","#fff"),e.attr(u,"id","Component_46_2"),e.attr(u,"data-name","Component 46 – 2"),e.attr(u,"xmlns","http://www.w3.org/2000/svg"),e.attr(u,"width","15"),e.attr(u,"height","15"),e.attr(u,"viewBox","0 0 16 24.656"),e.attr(a,"class","SliderButton"),e.attr(_,"style",B=i[11]>=i[10].length?"fill:#F6F6F62E":""),e.attr(_,"id","Path_36"),e.attr(_,"data-name","Path 36"),e.attr(_,"d","M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"),e.attr(_,"transform","translate(0 24.656) rotate(-90)"),e.attr(_,"fill","#fff"),e.attr(p,"id","Component_46_2"),e.attr(p,"data-name","Component 46 – 2"),e.attr(p,"xmlns","http://www.w3.org/2000/svg"),e.attr(p,"width","15"),e.attr(p,"height","15"),e.attr(p,"viewBox","0 0 16 24.656"),e.attr(C,"class","SliderButton"),e.attr(o,"class",v="ButtonsContainer "+(i[4]=="true"?"ButtonsContainerNone":"")),e.attr(n,"class","WinnersHeader"),e.attr(t,"class",T="CasinoWinners "+(i[12]?"Mobile":""))},m(m,h){e.insert(m,t,h),e.append(t,n),e.append(n,s);for(let d=0;d<f.length;d+=1)f[d]&&f[d].m(s,null);e.append(n,l),e.append(n,o),e.append(o,a),e.append(a,u),e.append(u,c),e.append(o,L),e.append(o,C),e.append(C,p),e.append(p,_),e.append(t,N),b.m(t,null),z||(M=[e.listen(a,"click",i[49]),e.listen(C,"click",i[50])],z=!0)},p(m,h){if(h[0]&852483){y=e.ensure_array_like(m[16]);let d;for(d=0;d<y.length;d+=1){const F=de(m,y,d);f[d]?f[d].p(F,h):(f[d]=pe(F),f[d].c(),f[d].m(s,null))}for(;d<f.length;d+=1)f[d].d(1);f.length=y.length}h[0]&3072&&g!==(g=m[11]>=m[10].length?"fill:#F6F6F62E":"")&&e.attr(c,"style",g),h[0]&3072&&B!==(B=m[11]>=m[10].length?"fill:#F6F6F62E":"")&&e.attr(_,"style",B),h[0]&16&&v!==(v="ButtonsContainer "+(m[4]=="true"?"ButtonsContainerNone":""))&&e.attr(o,"class",v),x===(x=S(m))&&b?b.p(m,h):(b.d(1),b=x(m),b&&(b.c(),b.m(t,null))),h[0]&4096&&T!==(T="CasinoWinners "+(m[12]?"Mobile":""))&&e.attr(t,"class",T)},d(m){m&&e.detach(t),e.destroy_each(f,m),b.d(),z=!1,e.run_all(M)}}}function Ve(i){let t;return{c(){t=e.element("general-animation-loading"),e.set_custom_element_data(t,"clientstyling",i[2]),e.set_custom_element_data(t,"clientstylingurl",i[3])},m(n,s){e.insert(n,t,s)},p(n,s){s[0]&4&&e.set_custom_element_data(t,"clientstyling",n[2]),s[0]&8&&e.set_custom_element_data(t,"clientstylingurl",n[3])},d(n){n&&e.detach(t)}}}function fe(i){let t,n=i[0]==="true"&&he(i);return{c(){n&&n.c(),t=e.empty()},m(s,l){n&&n.m(s,l),e.insert(s,t,l)},p(s,l){s[0]==="true"?n?n.p(s,l):(n=he(s),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(s){s&&e.detach(t),n&&n.d(s)}}}function he(i){let t,n=i[18]("recentWinners")+"",s,l,o,a;return{c(){t=e.element("button"),s=e.text(n),e.attr(t,"class",l="WinnersButton "+(i[9]=="recent"?"Active":""))},m(u,c){e.insert(u,t,c),e.append(t,s),o||(a=e.listen(t,"click",i[47]),o=!0)},p(u,c){c[0]&262144&&n!==(n=u[18]("recentWinners")+"")&&e.set_data(s,n),c[0]&512&&l!==(l="WinnersButton "+(u[9]=="recent"?"Active":""))&&e.attr(t,"class",l)},d(u){u&&e.detach(t),o=!1,a()}}}function ge(i){let t,n=i[18]("topWinners")+"",s,l,o,a,u;return{c(){t=e.element("button"),s=e.text(n),l=e.space(),e.attr(t,"class",o="WinnersButton "+(i[9]=="top"?"Active":"")+" "+(i[1]=="false"?"Off":""))},m(c,g){e.insert(c,t,g),e.append(t,s),e.append(t,l),a||(u=e.listen(t,"click",i[48]),a=!0)},p(c,g){g[0]&262144&&n!==(n=c[18]("topWinners")+"")&&e.set_data(s,n),g[0]&514&&o!==(o="WinnersButton "+(c[9]=="top"?"Active":"")+" "+(c[1]=="false"?"Off":""))&&e.attr(t,"class",o)},d(c){c&&e.detach(t),a=!1,u()}}}function pe(i){let t,n,s=i[79]=="recent"&&fe(i),l=i[79]=="top"&&ge(i);return{c(){s&&s.c(),t=e.space(),l&&l.c(),n=e.empty()},m(o,a){s&&s.m(o,a),e.insert(o,t,a),l&&l.m(o,a),e.insert(o,n,a)},p(o,a){o[79]=="recent"?s?s.p(o,a):(s=fe(o),s.c(),s.m(t.parentNode,t)):s&&(s.d(1),s=null),o[79]=="top"?l?l.p(o,a):(l=ge(o),l.c(),l.m(n.parentNode,n)):l&&(l.d(1),l=null)},d(o){o&&(e.detach(t),e.detach(n)),s&&s.d(o),l&&l.d(o)}}}function Ke(i){let t;function n(o,a){return o[10].length!==0?Xe:Je}let s=n(i),l=s(i);return{c(){t=e.element("div"),l.c(),e.attr(t,"class","WinnersSlider")},m(o,a){e.insert(o,t,a),l.m(t,null),i[53](t)},p(o,a){s===(s=n(o))&&l?l.p(o,a):(l.d(1),l=s(o),l&&(l.c(),l.m(t,null)))},d(o){o&&e.detach(t),l.d(),i[53](null)}}}function Ze(i){let t;return{c(){t=e.element("general-animation-loading"),e.set_custom_element_data(t,"clientstyling",i[2]),e.set_custom_element_data(t,"clientstylingurl",i[3]),e.set_custom_element_data(t,"mbsource",i[5])},m(n,s){e.insert(n,t,s)},p(n,s){s[0]&4&&e.set_custom_element_data(t,"clientstyling",n[2]),s[0]&8&&e.set_custom_element_data(t,"clientstylingurl",n[3]),s[0]&32&&e.set_custom_element_data(t,"mbsource",n[5])},d(n){n&&e.detach(t)}}}function Je(i){let t,n=i[18]("noWinnersMessage")+"",s;return{c(){t=e.element("p"),s=e.text(n),e.attr(t,"class","NoWinnersMessage")},m(l,o){e.insert(l,t,o),e.append(t,s)},p(l,o){o[0]&262144&&n!==(n=l[18]("noWinnersMessage")+"")&&e.set_data(s,n)},d(l){l&&e.detach(t)}}}function Xe(i){let t,n=e.ensure_array_like(i[10]),s=[];for(let l=0;l<n.length;l+=1)s[l]=be(me(i,n,l));return{c(){for(let l=0;l<s.length;l+=1)s[l].c();t=e.empty()},m(l,o){for(let a=0;a<s.length;a+=1)s[a]&&s[a].m(l,o);e.insert(l,t,o)},p(l,o){if(o[0]&20219136){n=e.ensure_array_like(l[10]);let a;for(a=0;a<n.length;a+=1){const u=me(l,n,a);s[a]?s[a].p(u,o):(s[a]=be(u),s[a].c(),s[a].m(t.parentNode,t))}for(;a<s.length;a+=1)s[a].d(1);s.length=n.length}},d(l){l&&e.detach(t),e.destroy_each(s,l)}}}function be(i){let t,n,s,l,o,a,u,c=i[76].gameName+"",g,L,C,p=i[20](i[76].username)+"",_,B,v,N=i[18]("won")+"",T,z,M,y=i[24](i[76].specifiedCurrencyAmount)+"",f,S,x,b;function m(){return i[51](i[76])}return{c(){var h,d,F,j;t=e.element("div"),n=e.element("div"),s=e.element("img"),a=e.space(),u=e.element("p"),g=e.text(c),L=e.space(),C=e.element("p"),_=e.text(p),B=e.space(),v=e.element("p"),T=e.text(N),z=e.space(),M=e.element("p"),f=e.space(),e.src_url_equal(s.src,l=(d=(h=i[76])==null?void 0:h.gameModel)==null?void 0:d.thumbnail)||e.attr(s,"src",l),e.attr(s,"alt",o=(j=(F=i[76])==null?void 0:F.gameModel)==null?void 0:j.thumbnail),e.attr(s,"class","WinnersImage"),e.attr(v,"class","WinnerUsername"),e.attr(M,"class","WinnerAmount"),e.attr(n,"class","WinnerCard"),e.attr(t,"class",S="CardWrapper "+(i[15]?"CardWrapperAnimation":""))},m(h,d){e.insert(h,t,d),e.append(t,n),e.append(n,s),e.append(n,a),e.append(n,u),e.append(u,g),e.append(n,L),e.append(n,C),e.append(C,_),e.append(n,B),e.append(n,v),e.append(v,T),e.append(n,z),e.append(n,M),M.innerHTML=y,i[52](n),e.append(t,f),x||(b=e.listen(s,"click",m),x=!0)},p(h,d){var F,j,O,R;i=h,d[0]&1024&&!e.src_url_equal(s.src,l=(j=(F=i[76])==null?void 0:F.gameModel)==null?void 0:j.thumbnail)&&e.attr(s,"src",l),d[0]&1024&&o!==(o=(R=(O=i[76])==null?void 0:O.gameModel)==null?void 0:R.thumbnail)&&e.attr(s,"alt",o),d[0]&1024&&c!==(c=i[76].gameName+"")&&e.set_data(g,c),d[0]&1024&&p!==(p=i[20](i[76].username)+"")&&e.set_data(_,p),d[0]&262144&&N!==(N=i[18]("won")+"")&&e.set_data(T,N),d[0]&1024&&y!==(y=i[24](i[76].specifiedCurrencyAmount)+"")&&(M.innerHTML=y),d[0]&32768&&S!==(S="CardWrapper "+(i[15]?"CardWrapperAnimation":""))&&e.attr(t,"class",S)},d(h){h&&e.detach(t),i[52](null),x=!1,b()}}}function Ye(i){let t;function n(o,a){return o[13]||o[14]?Ve:He}let s=n(i),l=s(i);return{c(){t=e.element("div"),l.c()},m(o,a){e.insert(o,t,a),l.m(t,null),i[54](t)},p(o,a){s===(s=n(o))&&l?l.p(o,a):(l.d(1),l=s(o),l&&(l.c(),l.m(t,null)))},i:e.noop,o:e.noop,d(o){o&&e.detach(t),l.d(),i[54](null)}}}function Qe(i,t,n){let s;e.component_subscribe(i,e.$format,r=>n(18,s=r));let{endpoint:l=""}=t,{session:o=""}=t,{userid:a=""}=t,{periodrecent:u="Today"}=t,{periodtop:c="Last7Days"}=t,{numberusersrecent:g="20"}=t,{numberuserstop:L="20"}=t,{amountlimit:C="1"}=t,{recentamountlimit:p=""}=t,{topamountlimit:_=""}=t,{vendorCategory:B="All"}=t,{lang:v="en"}=t,{isrecentavailable:N="true"}=t,{istopavailable:T="true"}=t,{defaultcurrency:z=""}=t,{usercurrency:M=""}=t,{customcurrencysymbol:y}=t,{clientstyling:f=""}=t,{clientstylingurl:S=""}=t,{enableautoscroll:x=""}=t,{tabsorder:b=""}=t,{translationurl:m=""}=t,{winnersdatasources:h=""}=t,{hascustomstyling:d="false"}=t,{mbsource:F}=t,{currencylocale:j=""}=t,O,R,P,I=[],w=0,k=0,we=window.navigator.userAgent,ee,G,H,A,V=!0,te=!1,ne=!1,re,q,K,U,ie=[],Z=!1,We,ve;const J=r=>{Object.keys(r).forEach(W=>{Ie(W,r[W])})},ke=()=>{let r=new URL(m);fetch(r.href).then(W=>W.json()).then(W=>{J(W)}).catch(W=>{console.log(W)})};J(Ue);const se=()=>{ie=h.split(",").map(function(E){return E.trim()});const r=new URL(`${l}/v1/casino/${P}-winners`);n(17,Z=!0),r.searchParams.append("limit",P=="recent"?g:L),r.searchParams.append("specifiedCurrency",U),r.searchParams.append("period",P=="recent"?u:c),r.searchParams.append("language",v);const W=(P=="recent"?p:_)||C;r.searchParams.append("amountLimit",W),r.searchParams.append("vendorCategory",B),ie.forEach(E=>{r.searchParams.append("dataSource",E)}),setTimeout(()=>{fetch(r.href).then(E=>E.json()).then(E=>$(this,null,function*(){n(10,I=[]),n(10,I=E.items.map(D=>D)),n(17,Z=!1),yield e.tick(),ae(),Y(),x=="true"&&(clearInterval(q),Se()),n(13,V=!1),Ce()}))},1e3)},Ce=()=>{const r=A.getRootNode().host;r.dispatchEvent(new CustomEvent("data-loaded",{bubbles:!0,detail:{target:r}}))},X=r=>{P!==r&&(n(10,I=[]),n(9,P=r),se())},Me=r=>r.slice(0,2)+r.slice(2,-2).replace(/./g,"*")+r.slice(-2),le=(r,W,E,D)=>{window.postMessage({type:"OpenCasinoWinnersGame",gameId:r,launchUrl:W,gameName:E,subVendor:D},window.location.href),typeof gtag=="function"&>ag("event","OpenGame",{context:"WinnersWidget",gameId:`${r}`,userId:`${H||"Not logged in"}`})},Y=(r=0)=>{const W=[...O.children];re=W.length,W.forEach((E,D)=>{E.style.transform=`translateX(${100*(D-r)}%)`}),setTimeout(()=>{n(15,ne=!0)},10)},Se=()=>{w=0,k<re?q=setInterval(()=>{Q()},3e3):clearInterval(q)},oe=()=>{Y(w)},ae=()=>$(this,null,function*(){yield e.tick(),requestAnimationFrame(()=>{const r=R?R.offsetWidth:0;O.offsetWidth&&r?n(11,k=Math.floor(O.offsetWidth/r)):n(11,k=0)})}),ce=()=>{if(k>=I.length)return;const r=I.length;w===0?w=r-k:w-k<0?w=0:w=w-k,oe()},Q=()=>{if(k>=I.length)return;const r=I.length;x=="true"&&(w===r-k?w=0:w++),x=="false"&&(w===r-k?w=0:r-k<w+k?w=r-k:w+=k),oe()},xe=()=>{Ge(v)},Fe=()=>{n(45,G=!0),H=a},ue=()=>{n(46,U=G?M:z)},Be=r=>{const W=y!=null?y:G?M:z;return`${j?Intl.NumberFormat(j,{minimumFractionDigits:2,maximumFractionDigits:2,style:"currency",currency:U}).format(r).replace(/\s/g,""):r.toFixed(2)}<span class="CurrencySymbol">${W}</span>`},Te=()=>{d==="true"&&(!f&&!S&&A&&console.error("clientstyling or clientstylingurl mandatory if hascustomstyling is true"),!f&&S&&n(14,te=!0))},ze=()=>{n(16,K=b.split(",")),n(9,P=K[0]),ue(),n(13,V=!1)};e.onMount(()=>{n(12,ee=e.isMobile(we));const r=_e(()=>{ae(),Y(w)},300);return window.addEventListener("resize",r),()=>{window.removeEventListener("resize",r),clearInterval(q)}});const Ee=()=>X("recent"),Ne=()=>X("top"),Ae=()=>ce(),Le=()=>Q(),je=r=>le(r.gameId,r.gameModel.launchUrl,r.gameModel.name,r.gameModel.subVendor);function Oe(r){e.binding_callbacks[r?"unshift":"push"](()=>{R=r,n(8,R)})}function Re(r){e.binding_callbacks[r?"unshift":"push"](()=>{O=r,n(7,O)})}function Pe(r){e.binding_callbacks[r?"unshift":"push"](()=>{A=r,n(6,A)})}return i.$$set=r=>{"endpoint"in r&&n(25,l=r.endpoint),"session"in r&&n(26,o=r.session),"userid"in r&&n(27,a=r.userid),"periodrecent"in r&&n(28,u=r.periodrecent),"periodtop"in r&&n(29,c=r.periodtop),"numberusersrecent"in r&&n(30,g=r.numberusersrecent),"numberuserstop"in r&&n(31,L=r.numberuserstop),"amountlimit"in r&&n(32,C=r.amountlimit),"recentamountlimit"in r&&n(33,p=r.recentamountlimit),"topamountlimit"in r&&n(34,_=r.topamountlimit),"vendorCategory"in r&&n(35,B=r.vendorCategory),"lang"in r&&n(36,v=r.lang),"isrecentavailable"in r&&n(0,N=r.isrecentavailable),"istopavailable"in r&&n(1,T=r.istopavailable),"defaultcurrency"in r&&n(37,z=r.defaultcurrency),"usercurrency"in r&&n(38,M=r.usercurrency),"customcurrencysymbol"in r&&n(39,y=r.customcurrencysymbol),"clientstyling"in r&&n(2,f=r.clientstyling),"clientstylingurl"in r&&n(3,S=r.clientstylingurl),"enableautoscroll"in r&&n(4,x=r.enableautoscroll),"tabsorder"in r&&n(40,b=r.tabsorder),"translationurl"in r&&n(41,m=r.translationurl),"winnersdatasources"in r&&n(42,h=r.winnersdatasources),"hascustomstyling"in r&&n(43,d=r.hascustomstyling),"mbsource"in r&&n(5,F=r.mbsource),"currencylocale"in r&&n(44,j=r.currencylocale)},i.$$.update=()=>{i.$$.dirty[0]&1879048195|i.$$.dirty[1]&563&&N&&T&&u&&c&&g&&L&&C&&B&&v&&b&&ze(),i.$$.dirty[0]&67108864&&o&&Fe(),i.$$.dirty[1]&16576&&G&&(M||z)&&ue(),i.$$.dirty[0]&33554432|i.$$.dirty[1]&34816&&l&&h&&U&&se(),i.$$.dirty[1]&32&&v&&xe(),i.$$.dirty[1]&1024&&m&&ke(),i.$$.dirty[0]&32|i.$$.dirty[1]&1024&&F&&!m&&De(`${F}.Translation`,ve,J),i.$$.dirty[1]&4096&&d&&Te(),i.$$.dirty[0]&68&&f&&A&&e.setClientStyling(A,f),i.$$.dirty[0]&72&&S&&A&&e.setClientStylingURL(A,S),i.$$.dirty[0]&96&&A&&e.setStreamStyling(A,`${F}.Style`,We)},[N,T,f,S,x,F,A,O,R,P,I,k,ee,V,te,ne,K,Z,s,X,Me,le,ce,Q,Be,l,o,a,u,c,g,L,C,p,_,B,v,z,M,y,b,m,h,d,j,G,U,Ee,Ne,Ae,Le,je,Oe,Re,Pe]}class ye extends e.SvelteComponent{constructor(t){super(),e.init(this,t,Qe,Ye,e.safe_not_equal,{endpoint:25,session:26,userid:27,periodrecent:28,periodtop:29,numberusersrecent:30,numberuserstop:31,amountlimit:32,recentamountlimit:33,topamountlimit:34,vendorCategory:35,lang:36,isrecentavailable:0,istopavailable:1,defaultcurrency:37,usercurrency:38,customcurrencysymbol:39,clientstyling:2,clientstylingurl:3,enableautoscroll:4,tabsorder:40,translationurl:41,winnersdatasources:42,hascustomstyling:43,mbsource:5,currencylocale:44},qe,[-1,-1,-1])}get endpoint(){return this.$$.ctx[25]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get session(){return this.$$.ctx[26]}set session(t){this.$$set({session:t}),e.flush()}get userid(){return this.$$.ctx[27]}set userid(t){this.$$set({userid:t}),e.flush()}get periodrecent(){return this.$$.ctx[28]}set periodrecent(t){this.$$set({periodrecent:t}),e.flush()}get periodtop(){return this.$$.ctx[29]}set periodtop(t){this.$$set({periodtop:t}),e.flush()}get numberusersrecent(){return this.$$.ctx[30]}set numberusersrecent(t){this.$$set({numberusersrecent:t}),e.flush()}get numberuserstop(){return this.$$.ctx[31]}set numberuserstop(t){this.$$set({numberuserstop:t}),e.flush()}get amountlimit(){return this.$$.ctx[32]}set amountlimit(t){this.$$set({amountlimit:t}),e.flush()}get recentamountlimit(){return this.$$.ctx[33]}set recentamountlimit(t){this.$$set({recentamountlimit:t}),e.flush()}get topamountlimit(){return this.$$.ctx[34]}set topamountlimit(t){this.$$set({topamountlimit:t}),e.flush()}get vendorCategory(){return this.$$.ctx[35]}set vendorCategory(t){this.$$set({vendorCategory:t}),e.flush()}get lang(){return this.$$.ctx[36]}set lang(t){this.$$set({lang:t}),e.flush()}get isrecentavailable(){return this.$$.ctx[0]}set isrecentavailable(t){this.$$set({isrecentavailable:t}),e.flush()}get istopavailable(){return this.$$.ctx[1]}set istopavailable(t){this.$$set({istopavailable:t}),e.flush()}get defaultcurrency(){return this.$$.ctx[37]}set defaultcurrency(t){this.$$set({defaultcurrency:t}),e.flush()}get usercurrency(){return this.$$.ctx[38]}set usercurrency(t){this.$$set({usercurrency:t}),e.flush()}get customcurrencysymbol(){return this.$$.ctx[39]}set customcurrencysymbol(t){this.$$set({customcurrencysymbol:t}),e.flush()}get clientstyling(){return this.$$.ctx[2]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[3]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get enableautoscroll(){return this.$$.ctx[4]}set enableautoscroll(t){this.$$set({enableautoscroll:t}),e.flush()}get tabsorder(){return this.$$.ctx[40]}set tabsorder(t){this.$$set({tabsorder:t}),e.flush()}get translationurl(){return this.$$.ctx[41]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get winnersdatasources(){return this.$$.ctx[42]}set winnersdatasources(t){this.$$set({winnersdatasources:t}),e.flush()}get hascustomstyling(){return this.$$.ctx[43]}set hascustomstyling(t){this.$$set({hascustomstyling:t}),e.flush()}get mbsource(){return this.$$.ctx[5]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get currencylocale(){return this.$$.ctx[44]}set currencylocale(t){this.$$set({currencylocale:t}),e.flush()}}e.create_custom_element(ye,{endpoint:{},session:{},userid:{},periodrecent:{},periodtop:{},numberusersrecent:{},numberuserstop:{},amountlimit:{},recentamountlimit:{},topamountlimit:{},vendorCategory:{},lang:{},isrecentavailable:{},istopavailable:{},defaultcurrency:{},usercurrency:{},customcurrencysymbol:{},clientstyling:{},clientstylingurl:{},enableautoscroll:{},tabsorder:{},translationurl:{},winnersdatasources:{},hascustomstyling:{},mbsource:{},currencylocale:{}},[],[],!0);const $e=Object.freeze(Object.defineProperty({__proto__:null,default:ye},Symbol.toStringTag,{value:"Module"}));exports.CasinoWinners_ce=$e;exports.debounce=_e;
|