@everymatrix/casino-lobby 1.55.0 → 1.56.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/CasinoCalendar-CFPK0TM5.cjs +9 -0
- package/components/{CasinoCalendar-CRnGs6mI.js → CasinoCalendar-CSMUhfCr.js} +989 -989
- package/components/{CasinoCalendar-BKvw2GLN.js → CasinoCalendar-_T8fa3tA.js} +975 -975
- package/components/CasinoCalendarDailyDetails-CGRqVKFV.js +693 -0
- package/components/CasinoCalendarDailyDetails-DspcjY5l.cjs +1 -0
- package/components/CasinoCalendarDailyDetails-DueCbaZn.js +693 -0
- package/components/CasinoCalendarDailyItem-DaSrAYwS.cjs +1 -0
- package/components/CasinoCalendarDailyItem-DpLOlYVI.js +306 -0
- package/components/CasinoCalendarDailyItem-DxYbPmky.js +306 -0
- package/components/{CasinoCategoriesSlider-C7hbpydX.js → CasinoCategoriesSlider-B7jmX0uM.js} +77 -77
- package/components/{CasinoCategoriesSlider-hJChLXnm.js → CasinoCategoriesSlider-DkmZ6uE9.js} +79 -79
- package/components/CasinoCategoriesSlider-Tm48k88y.cjs +1 -0
- package/components/{CasinoCollectionsProviders-CTvTqZY1.js → CasinoCollectionsProviders-CFJKyip5.js} +56 -56
- package/components/{CasinoCollectionsProviders-Cyc5HYpW.js → CasinoCollectionsProviders-XHUKRCjH.js} +54 -54
- package/components/CasinoCollectionsProviders-fHbyEo_l.cjs +1 -0
- package/components/{CasinoFavoritesSection-D4v8HNn9.js → CasinoFavoritesSection-BJKuORXc.js} +37 -36
- package/components/CasinoFavoritesSection-DAfQZFKH.cjs +1 -0
- package/components/{CasinoFavoritesSection-B4JlTRNa.js → CasinoFavoritesSection-ui8ebJSk.js} +37 -36
- package/components/CasinoFilter-BZrHKXm3.cjs +1 -0
- package/components/{CasinoFilter-CgPbbuBc.js → CasinoFilter-Cj6Ya1tA.js} +244 -245
- package/components/{CasinoFilter-ZQCeB5st.js → CasinoFilter-t6_A4K9e.js} +234 -233
- package/components/CasinoGamePage-BCpBojD8.cjs +18 -0
- package/components/{CasinoGamePage-DnFlR6PD.js → CasinoGamePage-DH-mxVYx.js} +750 -750
- package/components/{CasinoGamePage-lOejw_q6.js → CasinoGamePage-DQ1Yd_-1.js} +787 -787
- package/components/{CasinoGameThumbnail-h69vAUbV.js → CasinoGameThumbnail-B15M2LaO.js} +354 -370
- package/components/CasinoGameThumbnail-CHGG4fWS.cjs +38 -0
- package/components/{CasinoGameThumbnail-Aj4sPAss.js → CasinoGameThumbnail-CmtUwom1.js} +282 -266
- package/components/{CasinoGamesCategorySection-PiRBRWmh.js → CasinoGamesCategorySection-D9nxbG-c.js} +1084 -1120
- package/components/CasinoGamesCategorySection-Dw87pk8g.cjs +1 -0
- package/components/{CasinoGamesCategorySection-C9FCv7PW.js → CasinoGamesCategorySection-lpoHUMLN.js} +659 -695
- package/components/{CasinoJackpotBanner-BdzgC-lW.js → CasinoJackpotBanner-COZRcenh.js} +149 -147
- package/components/{CasinoJackpotBanner-Dx_3WwEw.js → CasinoJackpotBanner-DcwCa-Hp.js} +146 -144
- package/components/CasinoJackpotBanner-vFHgMV4j.cjs +1 -0
- package/components/CasinoLastPlayedSection-DUCFQv-7.cjs +1 -0
- package/components/{CasinoLastPlayedSection-r73sTCi9.js → CasinoLastPlayedSection-IZ9mars2.js} +56 -56
- package/components/{CasinoLastPlayedSection-BXGcYUad.js → CasinoLastPlayedSection-yetII3tl.js} +56 -56
- package/components/CasinoLobby-CZ0buhgH.cjs +1 -0
- package/components/{CasinoLobby-60oTKJCK.js → CasinoLobby-CoCRB4M8.js} +324 -305
- package/components/{CasinoLobby-DHl1_-VE.js → CasinoLobby-DOvk4Q1L.js} +320 -301
- package/components/CasinoModal-6keCUEEx.cjs +1 -0
- package/components/{CasinoModal-B7R5L0mw.js → CasinoModal-DDDhdR0c.js} +55 -55
- package/components/{CasinoModal-wz-kI5U1.js → CasinoModal-Dzu3FQyi.js} +55 -55
- package/components/CasinoMostPlayedSection-BNDdZOM6.cjs +1 -0
- package/components/{CasinoMostPlayedSection-CpO0b2PN.js → CasinoMostPlayedSection-CGqU9ZQv.js} +168 -159
- package/components/{CasinoMostPlayedSection-CxQrM8-U.js → CasinoMostPlayedSection-D0w6a_z2.js} +168 -159
- package/components/{CasinoMyGames-B0AvdkLy.js → CasinoMyGames-BKqlNnO1.js} +329 -296
- package/components/CasinoMyGames-CX5HKRLY.cjs +1 -0
- package/components/{CasinoMyGames-ieyBjArx.js → CasinoMyGames-Dy3IMfzN.js} +329 -296
- package/components/CasinoPage--1tMufa9.cjs +1 -0
- package/components/{CasinoPage-CcV-qeX_.js → CasinoPage-BnrghJel.js} +709 -646
- package/components/{CasinoPage-E4Nn1l0F.js → CasinoPage-DYcUhqdZ.js} +592 -529
- package/components/{CasinoRandomGame-D1gqYJkg.cjs → CasinoRandomGame-B1qCGSlR.cjs} +2 -2
- package/components/{CasinoRandomGame-BEOONr7N.js → CasinoRandomGame-Cup5oHY3.js} +67 -67
- package/components/{CasinoRandomGame-DoSJSKrA.js → CasinoRandomGame-Dq7oLh0O.js} +66 -66
- package/components/{CasinoSearch-3nC8pR7D.cjs → CasinoSearch-B1D8nnr0.cjs} +1 -1
- package/components/{CasinoSearch-BOSoxjjv.js → CasinoSearch-DlUwO5L4.js} +63 -63
- package/components/{CasinoSearch-DqfKG5Mj.js → CasinoSearch-jV0H_1Yg.js} +63 -63
- package/components/CasinoSlider-4pDZHG6x.cjs +1 -0
- package/components/{CasinoSlider-ylo7nRmY.js → CasinoSlider-ChnKJ8kH.js} +120 -120
- package/components/{CasinoSlider-DlBcdeDm.js → CasinoSlider-Ot2uFDD8.js} +103 -103
- package/components/CasinoSort-BnarJSWg.js +428 -0
- package/components/CasinoSort-DltZUpda.js +427 -0
- package/components/CasinoSort-jqMnIqLs.cjs +1 -0
- package/components/{CasinoWinners-CSDCICsh.js → CasinoWinners-BkJBCXPe.js} +157 -157
- package/components/{CasinoWinners-Br_rOUdI.cjs → CasinoWinners-Bs7Oh-m-.cjs} +1 -1
- package/components/{CasinoWinners-CeLmSRE4.js → CasinoWinners-CBgbYBfP.js} +159 -159
- package/components/GeneralAnimationLoading-BLss2VP4.cjs +1 -0
- package/components/GeneralAnimationLoading-BUY2TGQr.js +84 -0
- package/components/GeneralAnimationLoading-CRju5T01.js +84 -0
- package/es2015/casino-lobby.cjs +1 -1
- package/es2015/casino-lobby.js +1 -1
- package/esnext/casino-lobby.js +1 -1
- package/package.json +1 -1
- package/stencil/{casino-play-random-game-B5g4-G4Z.js → casino-play-random-game-CBXhEsCq.js} +55 -30
- package/stencil/{casino-play-random-game-Cphp76Jq.js → casino-play-random-game-PZXnDzfs.js} +74 -49
- package/stencil/{casino-play-random-game-CQe5iDJ8.cjs → casino-play-random-game-y8flXwPv.cjs} +2 -2
- package/stencil/index-29915e18-B3XYTzEC.cjs +1 -0
- package/stencil/index-29915e18-CQ_kWzEh.js +630 -0
- package/stencil/index-29915e18-MPiqo7vY.js +646 -0
- package/components/CasinoCalendar-P6bQ-mxN.cjs +0 -9
- package/components/CasinoCalendarDailyDetails-B-FOmYEZ.js +0 -701
- package/components/CasinoCalendarDailyDetails-DYTiZ7iE.js +0 -701
- package/components/CasinoCalendarDailyDetails-DicGOCGy.cjs +0 -1
- package/components/CasinoCalendarDailyItem-BsUUCx7a.js +0 -315
- package/components/CasinoCalendarDailyItem-DDm6oH8O.cjs +0 -1
- package/components/CasinoCalendarDailyItem-DIhsLlMC.js +0 -315
- package/components/CasinoCategoriesSlider-wt-dJlF9.cjs +0 -1
- package/components/CasinoCollectionsProviders-B0h7SupJ.cjs +0 -1
- package/components/CasinoFavoritesSection-CcyN5mtI.cjs +0 -1
- package/components/CasinoFilter-EA285UxQ.cjs +0 -1
- package/components/CasinoGamePage-D2VGIU0X.cjs +0 -18
- package/components/CasinoGameThumbnail-ClSBiG0I.cjs +0 -38
- package/components/CasinoGamesCategorySection-X0aDh13K.cjs +0 -1
- package/components/CasinoJackpotBanner-rV5P1O6d.cjs +0 -1
- package/components/CasinoLastPlayedSection-BP9oa18h.cjs +0 -1
- package/components/CasinoLobby-CB5KGhNa.cjs +0 -1
- package/components/CasinoModal-B7pt3Gcb.cjs +0 -1
- package/components/CasinoMostPlayedSection-CaHWOtw_.cjs +0 -1
- package/components/CasinoMyGames-R7NrCxgd.cjs +0 -1
- package/components/CasinoPage-azRHPGyF.cjs +0 -1
- package/components/CasinoSlider-Zgasc58K.cjs +0 -1
- package/components/CasinoSort-CVwRicsk.js +0 -427
- package/components/CasinoSort-D3rxrF3Z.cjs +0 -1
- package/components/CasinoSort-D9KTb90Q.js +0 -428
- package/components/GeneralAnimationLoading-BRBLoSEB.js +0 -75
- package/components/GeneralAnimationLoading-Bu4_iets.cjs +0 -1
- package/components/GeneralAnimationLoading-DoN4gYz0.js +0 -75
- package/stencil/index-eac6b960-BaE9i06M.cjs +0 -1
- package/stencil/index-eac6b960-DXIu1GM6.js +0 -579
- package/stencil/index-eac6b960-Dvyvd5zP.js +0 -563
package/stencil/{casino-play-random-game-CQe5iDJ8.cjs → casino-play-random-game-y8flXwPv.cjs}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var g=(n,e,a)=>new Promise((
|
|
1
|
+
"use strict";var g=(n,e,a)=>new Promise((t,o)=>{var m=r=>{try{c(a.next(r))}catch(h){o(h)}},d=r=>{try{c(a.throw(r))}catch(h){o(h)}},c=r=>r.done?t(r.value):Promise.resolve(r.value).then(m,d);c((a=a.apply(n,e)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./index-29915e18-B3XYTzEC.cjs"),x=require("./app-globals-0f993ce5-sCt45RkC.cjs");var p=typeof document!="undefined"?document.currentScript:null,b=()=>{const n=typeof document=="undefined"?require("url").pathToFileURL(__filename).href:p&&p.tagName.toUpperCase()==="SCRIPT"&&p.src||new URL("stencil/casino-play-random-game-y8flXwPv.cjs",document.baseURI).href,e={};return n!==""&&(e.resourcesUrl=new URL(".",n).href),i.promiseResolve(e)};b().then(n=>g(exports,null,function*(){return yield x.globalScripts(),i.bootstrapLazy([["casino-play-random-game",[[1,"casino-play-random-game",{endpoint:[513],datasource:[513],language:[513],specificCategory:[513,"specific-category"],iconVisible:[513,"icon-visible"],iconVisibleOnAnim:[513,"icon-visible-on-anim"],launchByGameCard:[513,"launch-by-game-card"],mbSource:[513,"mb-source"],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],translationUrl:[513,"translation-url"],hasErrors:[32],isLoading:[32],gamesToShow:[32],selectedGame:[32],animationDone:[32],animationStarted:[32]},null,{endpoint:["watchEndpoint"],datasource:["watchEndpoint"],language:["watchEndpoint"],translationUrl:["handleNewTranslations"],iconVisible:["handleIsIconVisible"],clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingChangeURL"]}]]]],n)}));const G=()=>{let n=window.navigator.userAgent;return n.toLowerCase().match(/android/i)?"Android":n.toLowerCase().match(/iphone/i)?"iPhone":n.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC"},v="en",l={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:"Rasgele bir oyun oyna",playNowRandomGame:"Şimdi Oyna",spinRandomGame:"DEĞİŞTİR"}},u=n=>new Promise(e=>{fetch(n).then(a=>a.json()).then(a=>{Object.keys(a).forEach(t=>{l[t]||(l[t]={});for(let o in a[t])l[t][o]=a[t][o]}),e(!0)})}),s=(n,e)=>{const a=e;return l[a!==void 0&&a in l?a:v][n]};function f(n,e){if(n){const a=document.createElement("style");a.innerHTML=e,n.appendChild(a)}}function w(n,e){const a=new URL(e);fetch(a.href).then(t=>t.text()).then(t=>{const o=document.createElement("style");o.innerHTML=t,n&&n.appendChild(o)}).catch(t=>{console.error("There was an error while trying to load client styling from URL",t)})}function R(n,e,a){if(window.emMessageBus){const t=document.createElement("style");window.emMessageBus.subscribe(e,o=>{t.innerHTML=o,n&&n.appendChild(t)})}}const C=`:host {
|
|
2
2
|
display: block;
|
|
3
3
|
font-family: inherit;
|
|
4
4
|
-webkit-transform: translate3d(0, 0, 0);
|
|
@@ -368,4 +368,4 @@
|
|
|
368
368
|
width: 70px;
|
|
369
369
|
height: 85px;
|
|
370
370
|
}
|
|
371
|
-
}`,
|
|
371
|
+
}`,S=C,y=class{constructor(n){i.registerInstance(this,n),this.language="en",this.specificCategory="",this.iconVisible="",this.iconVisibleOnAnim="",this.launchByGameCard="",this.clientStyling="",this.clientStylingUrl="",this.translationUrl="",this.hasErrors=!1,this.isLoading=!0,this.selectedGame=null,this.animationDone=!1,this.animationStarted=!1,this.animation=null,this.selectedGameIndex=null,this.selectedGameEl=null,this.iconVisibility=null,this.shuffle=e=>{let a=e.length,t;for(;a!==0;)t=Math.floor(Math.random()*a),a--,[e[a],e[t]]=[e[t],e[a]];return e}}watchEndpoint(n,e){n&&n!=e&&this.endpoint&&this.fetchGameList()}handleNewTranslations(){this.isLoading=!0,u(this.translationUrl).then(()=>{this.isLoading=!1})}handleIsIconVisible(){this.iconVisibility=this.iconVisible==="true"}handleClientStylingChange(n,e){n!=e&&f(this.stylingContainer,this.clientStyling)}handleClientStylingChangeURL(n,e){n!=e&&this.clientStylingUrl&&w(this.stylingContainer,this.clientStylingUrl)}connectedCallback(){this.handleIsIconVisible()}componentWillLoad(){if(this.translationUrl.length>2&&u(this.translationUrl),this.endpoint&&this.language&&this.datasource)return this.fetchGameList()}componentDidLoad(){window.emMessageBus!=null?R(this.stylingContainer,`${this.mbSource}.Style`):(this.clientStyling&&f(this.stylingContainer,this.clientStyling),this.clientStylingUrl&&w(this.stylingContainer,this.clientStylingUrl))}disconnectedCallback(){this.stylingSubscription&&this.stylingSubscription.unsubscribe()}fetchGameList(){let n=new URL(`${this.endpoint}/v1/casino/games`);return n.searchParams.append("platform",G()),n.searchParams.append("datasource",this.datasource),n.searchParams.append("fields","gId,id,href,thumbnail,name,vendor,launchUrl,subVendor"),n.searchParams.append("expand","vendor"),n.searchParams.append("pagination","offset=0,limit=423"),n.searchParams.append("language",this.language),this.specificCategory&&n.searchParams.append("filter",`categories(id=${this.specificCategory})`),new Promise((e,a)=>{this.isLoading=!0,fetch(n.href).then(t=>t.json()).then(t=>{this.gamesToShow=this.setUpGames(t==null?void 0:t.items),e(!0)}).catch(t=>{console.error(t),this.hasErrors=!0,a(t)}).finally(()=>{this.isLoading=!1})})}setUpGames(n){const e=this.shuffle(n).slice(0,40);return e.concat(e)}selectRandomGame(){const n=this.gamesToShow.length/2;this.selectedGameIndex=Math.floor(Math.random()*(n-3)),this.selectedGameIndex+=n,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 n=window.getComputedStyle(this.gameContainer).getPropertyValue("gap"),e=parseInt(n,10),a=this.selectedGameEl.offsetWidth,t=this.gameContainer.offsetWidth,o=(a+e)*this.selectedGameIndex+a/2-t/2,m=[{transform:"translateX(0px)",scale:1},{scale:.75},{transform:`translateX(-${o}px)`,scale:1}],d={duration:3e3,easing:"cubic-bezier(0.5, 0, 0.5, 1.2)",fill:"forwards"};this.animation=this.gameContainer.animate(m,d),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 i.h("div",{class:"RandomButtonsWrapper"},i.h("div",{class:"RandomGameDetails"},i.h("span",{class:"RandomGameTitle"},this.selectedGame.name),i.h("span",{class:"RandomGameInfo",onClick:()=>this.showGameInfo()},"i")),i.h("div",{class:"RandomButtons"},i.h("button",{class:"RandomButton On",onClick:()=>this.respin()},s("spinRandomGame",this.language)),!this.launchByGameCard&&i.h("button",{class:"RandomButton On",onClick:()=>this.playGame()},s("playNowRandomGame",this.language))))}render(){if(this.hasErrors)return i.h("div",{class:"RandomGameError"},i.h("div",{class:"Title"},s("error",this.language)));if(this.isLoading)return i.h("div",{class:"RandomGameLoading"},i.h("div",{class:"Title"},s("randomGameLoading",this.language)));if(!this.isLoading)return i.h("div",{class:"RandomGameWrapper",ref:n=>this.stylingContainer=n},i.h("div",{class:"GameContainerGradient"}),i.h("div",{class:"GamesContainer",ref:n=>this.gameContainer=n},this.gamesToShow&&this.gamesToShow.map((n,e)=>i.h("div",{class:"RandomGameCard",key:e,onClick:this.launchByGameCard==="true"?()=>this.playGame():null},i.h("div",{class:"RandomGameVendor"},n.vendor.name),i.h("img",{class:"RandomGameImage",src:n.thumbnail,alt:n.name,title:n.name}),this.selectedGame&&this.selectedGameIndex===e&&this.renderGameDetails()))),i.h("div",{class:`ButtonWrapper ${this.animationDone?"HideAnimation":""}`},i.h("div",{class:"ButtonContainer"},this.iconVisibility&&i.h("div",{class:`ButtonIcon ${this.animationStarted?"Flip":""}`},i.h("div",{class:"QustionMark"},"?"),i.h("div",{class:"HexagonMarkShadow"}),i.h("div",{class:"HexagonMark"})),!this.animationStarted&&i.h("div",{class:`RandomButton ${this.animationStarted?"HideAnimation":""}`,onClick:()=>this.playRandomGame()},s("playRandomGame",this.language)))))}get host(){return i.getElement(this)}static get watchers(){return{endpoint:["watchEndpoint"],datasource:["watchEndpoint"],language:["watchEndpoint"],translationUrl:["handleNewTranslations"],iconVisible:["handleIsIconVisible"],clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingChangeURL"]}}};y.style=S;exports.casino_play_random_game=y;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var L=(t,e,n)=>new Promise((s,r)=>{var $=a=>{try{l(n.next(a))}catch(o){r(o)}},i=a=>{try{l(n.throw(a))}catch(o){r(o)}},l=a=>a.done?s(a.value):Promise.resolve(a.value).then($,i);l((n=n.apply(t,e)).next())});const Tt="casino-play-random-game",Y={hydratedSelectorName:"hydrated",lazyLoad:!0,updatable:!0};var wt=Object.defineProperty,Pt=(t,e)=>{for(var n in e)wt(t,n,{get:e[n],enumerable:!0})},X=new WeakMap,S=t=>X.get(t),xt=(t,e)=>{X.set(e.$lazyInstance$=t,e)},_t=(t,e)=>{const n={$flags$:0,$hostElement$:t,$cmpMeta$:e,$instanceValues$:new Map};return n.$onReadyPromise$=new Promise(r=>n.$onReadyResolve$=r),t["s-p"]=[],t["s-rc"]=[],X.set(t,n)},M=(t,e)=>e in t,P=(t,e)=>(0,console.error)(t,e),U=new Map,It=(t,e,n)=>{const s=t.$tagName$.replace(/-/g,"_"),r=t.$lazyBundleId$;if(!r)return;const $=U.get(r);if($)return $[s];{const i=l=>(U.set(r,l),l[s]);switch(r){case"casino-play-random-game":return Promise.resolve().then(()=>require("./casino-play-random-game-y8flXwPv.cjs")).then(i,P)}}return import(`./${r}.entry.js`).then(i=>(U.set(r,i),i[s]),i=>{P(i,e.$hostElement$)})},j=new Map,Lt="sty-id",At="{visibility:hidden}.hydrated{visibility:inherit}",nt="slot-fb{display:contents}slot-fb[hidden]{display:none}",b=typeof window!="undefined"?window:{},k=b.document||{head:{}},p={$flags$:0,$resourcesUrl$:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,n,s)=>t.addEventListener(e,n,s),rel:(t,e,n,s)=>t.removeEventListener(e,n,s),ce:(t,e)=>new CustomEvent(t,e)},rt=t=>Promise.resolve(t),lt=(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function"}catch(t){}return!1})(),B=!1,m=[],$t=[],zt=(t,e)=>n=>{t.push(n),B||(B=!0,p.$flags$&4?F(R):p.raf(R))},V=t=>{for(let e=0;e<t.length;e++)try{t[e](performance.now())}catch(n){P(n)}t.length=0},R=()=>{V(m),V($t),(B=m.length>0)&&p.raf(R)},F=t=>rt().then(t),jt=zt($t),J=t=>(t=typeof t,t==="object"||t==="function");function it(t){var e,n,s;return(s=(n=(e=t.head)==null?void 0:e.querySelector('meta[name="csp-nonce"]'))==null?void 0:n.getAttribute("content"))!=null?s:void 0}var Ot={};Pt(Ot,{err:()=>at,map:()=>bt,ok:()=>D,unwrap:()=>Ht,unwrapErr:()=>Ut});var D=t=>({isOk:!0,isErr:!1,value:t}),at=t=>({isOk:!1,isErr:!0,value:t});function bt(t,e){if(t.isOk){const n=e(t.value);return n instanceof Promise?n.then(s=>D(s)):D(n)}if(t.isErr){const n=t.value;return at(n)}throw"should never get here"}var Ht=t=>{if(t.isOk)return t.value;throw t.value},Ut=t=>{if(t.isErr)return t.value;throw t.value},T=(t,e="")=>()=>{},qt=(t,e)=>()=>{},ot=(t,e,...n)=>{let s=null,r=null,$=!1,i=!1;const l=[],a=c=>{for(let d=0;d<c.length;d++)s=c[d],Array.isArray(s)?a(s):s!=null&&typeof s!="boolean"&&(($=typeof t!="function"&&!J(s))&&(s=String(s)),$&&i?l[l.length-1].$text$+=s:l.push($?C(null,s):s),i=$)};if(a(n),e){e.key&&(r=e.key);{const c=e.className||e.class;c&&(e.class=typeof c!="object"?c:Object.keys(c).filter(d=>c[d]).join(" "))}}const o=C(t,null);return o.$attrs$=e,l.length>0&&(o.$children$=l),o.$key$=r,o},C=(t,e)=>{const n={$flags$:0,$tag$:t,$text$:e,$elm$:null,$children$:null};return n.$attrs$=null,n.$key$=null,n},Bt={},Rt=t=>t&&t.$tag$===Bt,W=(t,e)=>t!=null&&!J(t)&&e&1?String(t):t,Dt=t=>S(t).$hostElement$,Ct=(t,e,n)=>{const s=p.ce(e,n);return t.dispatchEvent(s),s},_=new WeakMap,Wt=(t,e,n)=>{let s=j.get(t);lt&&n?(s=s||new CSSStyleSheet,typeof s=="string"?s=e:s.replaceSync(e)):s=e,j.set(t,s)},Gt=(t,e,n)=>{var s;const r=ct(e),$=j.get(r);if(t=t.nodeType===11?t:k,$)if(typeof $=="string"){t=t.head||t;let i=_.get(t),l;if(i||_.set(t,i=new Set),!i.has(r)){{l=document.querySelector(`[${Lt}="${r}"]`)||k.createElement("style"),l.innerHTML=$;const a=(s=p.$nonce$)!=null?s:it(k);if(a!=null&&l.setAttribute("nonce",a),!(e.$flags$&1))if(t.nodeName==="HEAD"){const o=t.querySelectorAll("link[rel=preconnect]"),c=o.length>0?o[o.length-1].nextSibling:t.querySelector("style");t.insertBefore(l,(c==null?void 0:c.parentNode)===t?c:null)}else if("host"in t)if(lt){const o=new CSSStyleSheet;o.replaceSync($),t.adoptedStyleSheets=[o,...t.adoptedStyleSheets]}else{const o=t.querySelector("style");o?o.innerHTML=$+o.innerHTML:t.prepend(l)}else t.append(l);e.$flags$&1&&t.insertBefore(l,null)}e.$flags$&4&&(l.innerHTML+=nt),i&&i.add(r)}}else t.adoptedStyleSheets.includes($)||(t.adoptedStyleSheets=[...t.adoptedStyleSheets,$]);return r},Yt=t=>{const e=t.$cmpMeta$,n=t.$hostElement$,s=e.$flags$,r=T("attachStyles",e.$tagName$),$=Gt(n.shadowRoot?n.shadowRoot:n.getRootNode(),e);(s&10&&s&2||s&128)&&(n["s-sc"]=$,n.classList.add($+"-h")),r()},ct=(t,e)=>"sc-"+t.$tagName$,N=(t,e,n,s,r,$,i)=>{if(n!==s){let l=M(t,e),a=e.toLowerCase();if(e==="class"){const o=t.classList,c=tt(n);let d=tt(s);o.remove(...c.filter(f=>f&&!d.includes(f))),o.add(...d.filter(f=>f&&!c.includes(f)))}else if(e!=="key")if(e==="ref")s&&s(t);else if(!l&&e[0]==="o"&&e[1]==="n"){if(e[2]==="-"?e=e.slice(3):M(b,a)?e=a.slice(2):e=a[2]+e.slice(3),n||s){const o=e.endsWith(ft);e=e.replace(Ft,""),n&&p.rel(t,e,n,o),s&&p.ael(t,e,s,o)}}else{const o=J(s);if(l||o&&s!==null)try{if(t.tagName.includes("-"))t[e]!==s&&(t[e]=s);else{const c=s==null?"":s;e==="list"?l=!1:(n==null||t[e]!=c)&&(typeof t.__lookupSetter__(e)=="function"?t[e]=c:t.setAttribute(e,c))}}catch(c){}s==null||s===!1?(s!==!1||t.getAttribute(e)==="")&&t.removeAttribute(e):(!l||$&4||r)&&!o&&(s=s===!0?"":s,t.setAttribute(e,s))}}},Xt=/\s/,tt=t=>(typeof t=="object"&&t&&"baseVal"in t&&(t=t.baseVal),!t||typeof t!="string"?[]:t.split(Xt)),ft="Capture",Ft=new RegExp(ft+"$"),dt=(t,e,n,s)=>{const r=e.$elm$.nodeType===11&&e.$elm$.host?e.$elm$.host:e.$elm$,$=t&&t.$attrs$||{},i=e.$attrs$||{};for(const l of et(Object.keys($)))l in i||N(r,l,$[l],void 0,n,e.$flags$);for(const l of et(Object.keys(i)))N(r,l,$[l],i[l],n,e.$flags$)};function et(t){return t.includes("ref")?[...t.filter(e=>e!=="ref"),"ref"]:t}var K,ut=!1,O=(t,e,n)=>{const s=e.$children$[n];let r=0,$,i;if(s.$text$!==null)$=s.$elm$=k.createTextNode(s.$text$);else if($=s.$elm$=k.createElement(s.$tag$),dt(null,s,ut),s.$children$)for(r=0;r<s.$children$.length;++r)i=O(t,s,r),i&&$.appendChild(i);return $["s-hn"]=K,$},ht=(t,e,n,s,r,$)=>{let i=t,l;for(i.shadowRoot&&i.tagName===K&&(i=i.shadowRoot);r<=$;++r)s[r]&&(l=O(null,n,r),l&&(s[r].$elm$=l,z(i,l,e)))},pt=(t,e,n)=>{for(let s=e;s<=n;++s){const r=t[s];if(r){const $=r.$elm$;vt(r),$&&$.remove()}}},Jt=(t,e,n,s,r=!1)=>{let $=0,i=0,l=0,a=0,o=e.length-1,c=e[0],d=e[o],f=s.length-1,u=s[0],h=s[f],v,y;for(;$<=o&&i<=f;)if(c==null)c=e[++$];else if(d==null)d=e[--o];else if(u==null)u=s[++i];else if(h==null)h=s[--f];else if(A(c,u,r))x(c,u,r),c=e[++$],u=s[++i];else if(A(d,h,r))x(d,h,r),d=e[--o],h=s[--f];else if(A(c,h,r))x(c,h,r),z(t,c.$elm$,d.$elm$.nextSibling),c=e[++$],h=s[--f];else if(A(d,u,r))x(d,u,r),z(t,d.$elm$,c.$elm$),d=e[--o],u=s[++i];else{for(l=-1,a=$;a<=o;++a)if(e[a]&&e[a].$key$!==null&&e[a].$key$===u.$key$){l=a;break}l>=0?(y=e[l],y.$tag$!==u.$tag$?v=O(e&&e[i],n,l):(x(y,u,r),e[l]=void 0,v=y.$elm$),u=s[++i]):(v=O(e&&e[i],n,i),u=s[++i]),v&&z(c.$elm$.parentNode,v,c.$elm$)}$>o?ht(t,s[f+1]==null?null:s[f+1].$elm$,n,s,i,f):i>f&&pt(e,$,o)},A=(t,e,n=!1)=>t.$tag$===e.$tag$?n?(n&&!t.$key$&&e.$key$&&(t.$key$=e.$key$),!0):t.$key$===e.$key$:!1,x=(t,e,n=!1)=>{const s=e.$elm$=t.$elm$,r=t.$children$,$=e.$children$,i=e.$text$;i===null?(dt(t,e,ut),r!==null&&$!==null?Jt(s,r,e,$,n):$!==null?(t.$text$!==null&&(s.textContent=""),ht(s,null,e,$,0,$.length-1)):!n&&Y.updatable&&r!==null&&pt(r,0,r.length-1)):t.$text$!==i&&(s.data=i)},vt=t=>{t.$attrs$&&t.$attrs$.ref&&t.$attrs$.ref(null),t.$children$&&t.$children$.map(vt)},z=(t,e,n)=>t==null?void 0:t.insertBefore(e,n),Kt=(t,e,n=!1)=>{const s=t.$hostElement$,r=t.$cmpMeta$,$=t.$vnode$||C(null,null),i=Rt(e)?e:ot(null,null,e);if(K=s.tagName,r.$attrsToReflect$&&(i.$attrs$=i.$attrs$||{},r.$attrsToReflect$.map(([l,a])=>i.$attrs$[a]=s[l])),n&&i.$attrs$)for(const l of Object.keys(i.$attrs$))s.hasAttribute(l)&&!["key","ref","style","class"].includes(l)&&(i.$attrs$[l]=s[l]);i.$tag$=null,i.$flags$|=4,t.$vnode$=i,i.$elm$=$.$elm$=s.shadowRoot||s,r.$flags$&1&&r.$flags$&128,x($,i,n)},gt=(t,e)=>{if(e&&!t.$onRenderResolve$&&e["s-p"]){const n=e["s-p"].push(new Promise(s=>t.$onRenderResolve$=()=>{e["s-p"].splice(n-1,1),s()}))}},Q=(t,e)=>{if(t.$flags$|=16,t.$flags$&4){t.$flags$|=512;return}return gt(t,t.$ancestorComponent$),jt(()=>Qt(t,e))},Qt=(t,e)=>{const n=t.$hostElement$,s=T("scheduleUpdate",t.$cmpMeta$.$tagName$),r=t.$lazyInstance$;if(!r)throw new Error(`Can't render component <${n.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 $;return e&&($=H(r,"componentWillLoad",void 0,n)),s(),Zt($,()=>mt(t,r,e))},Zt=(t,e)=>Mt(t)?t.then(e).catch(n=>{console.error(n),e()}):e(),Mt=t=>t instanceof Promise||t&&t.then&&typeof t.then=="function",mt=(t,e,n)=>L(exports,null,function*(){var s;const r=t.$hostElement$,$=T("update",t.$cmpMeta$.$tagName$),i=r["s-rc"];n&&Yt(t);const l=T("render",t.$cmpMeta$.$tagName$);Vt(t,e,r,n),i&&(i.map(a=>a()),r["s-rc"]=void 0),l(),$();{const a=(s=r["s-p"])!=null?s:[],o=()=>Nt(t);a.length===0?o():(Promise.all(a).then(o),t.$flags$|=4,a.length=0)}}),Vt=(t,e,n,s)=>{try{e=e.render(),t.$flags$&=-17,t.$flags$|=2,Kt(t,e,s)}catch(r){P(r,t.$hostElement$)}return null},Nt=t=>{const e=t.$cmpMeta$.$tagName$,n=t.$hostElement$,s=T("postUpdate",e),r=t.$lazyInstance$,$=t.$ancestorComponent$;t.$flags$&64?s():(t.$flags$|=64,te(n),H(r,"componentDidLoad",void 0,n),s(),t.$onReadyResolve$(n),$||yt()),t.$onRenderResolve$&&(t.$onRenderResolve$(),t.$onRenderResolve$=void 0),t.$flags$&512&&F(()=>Q(t,!1)),t.$flags$&=-517},yt=t=>{F(()=>Ct(b,"appload",{detail:{namespace:Tt}}))},H=(t,e,n,s)=>{if(t&&t[e])try{return t[e](n)}catch(r){P(r,s)}},te=t=>{var e;return t.classList.add((e=Y.hydratedSelectorName)!=null?e:"hydrated")},ee=(t,e)=>S(t).$instanceValues$.get(e),q=(t,e,n,s)=>{const r=S(t);if(!r)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 $=r.$hostElement$,i=r.$instanceValues$.get(e),l=r.$flags$,a=r.$lazyInstance$;n=W(n,s.$members$[e][0]);const o=Number.isNaN(i)&&Number.isNaN(n),c=n!==i&&!o;if((!(l&8)||i===void 0)&&c&&(r.$instanceValues$.set(e,n),a)){if(s.$watchers$&&l&128){const d=s.$watchers$[e];d&&d.map(f=>{try{a[f](n,i,e)}catch(u){P(u,$)}})}(l&18)===2&&Q(r,!1)}},St=(t,e,n)=>{var s,r;const $=t.prototype;if(e.$members$||e.$watchers$||t.watchers){t.watchers&&!e.$watchers$&&(e.$watchers$=t.watchers);const i=Object.entries((s=e.$members$)!=null?s:{});if(i.map(([l,[a]])=>{if(a&31||n&2&&a&32){const{get:o,set:c}=Object.getOwnPropertyDescriptor($,l)||{};o&&(e.$members$[l][0]|=2048),c&&(e.$members$[l][0]|=4096),(n&1||!o)&&Object.defineProperty($,l,{get(){{if(!(e.$members$[l][0]&2048))return ee(this,l);const d=S(this),f=d?d.$lazyInstance$:$;return f?f[l]:void 0}},configurable:!0,enumerable:!0}),Object.defineProperty($,l,{set(d){const f=S(this);if(c){const u=a&32?this[l]:f.$hostElement$[l];typeof u=="undefined"&&f.$instanceValues$.get(l)?d=f.$instanceValues$.get(l):!f.$instanceValues$.get(l)&&u&&f.$instanceValues$.set(l,u),c.apply(this,[W(d,a)]),d=a&32?this[l]:f.$hostElement$[l],q(this,l,d,e);return}{if(!(n&1)||!(e.$members$[l][0]&4096)){q(this,l,d,e),n&1&&!f.$lazyInstance$&&f.$onReadyPromise$.then(()=>{e.$members$[l][0]&4096&&f.$lazyInstance$[l]!==f.$instanceValues$.get(l)&&(f.$lazyInstance$[l]=d)});return}const u=()=>{const h=f.$lazyInstance$[l];!f.$instanceValues$.get(l)&&h&&f.$instanceValues$.set(l,h),f.$lazyInstance$[l]=W(d,a),q(this,l,f.$lazyInstance$[l],e)};f.$lazyInstance$?u():f.$onReadyPromise$.then(()=>u())}}})}}),n&1){const l=new Map;$.attributeChangedCallback=function(a,o,c){p.jmp(()=>{var d;const f=l.get(a);if(this.hasOwnProperty(f)&&Y.lazyLoad)c=this[f],delete this[f];else{if($.hasOwnProperty(f)&&typeof this[f]=="number"&&this[f]==c)return;if(f==null){const h=S(this),v=h==null?void 0:h.$flags$;if(v&&!(v&8)&&v&128&&c!==o){const y=h.$lazyInstance$,g=(d=e.$watchers$)==null?void 0:d[a];g==null||g.forEach(w=>{y[w]!=null&&y[w].call(y,c,o,a)})}return}}const u=Object.getOwnPropertyDescriptor($,f);c=c===null&&typeof this[f]=="boolean"?!1:c,c!==this[f]&&(!u.get||u.set)&&(this[f]=c)})},t.observedAttributes=Array.from(new Set([...Object.keys((r=e.$watchers$)!=null?r:{}),...i.filter(([a,o])=>o[0]&15).map(([a,o])=>{var c;const d=o[1]||a;return l.set(d,a),o[0]&512&&((c=e.$attrsToReflect$)==null||c.push([a,d])),d})]))}}return t},se=(t,e,n,s)=>L(exports,null,function*(){let r;if(!(e.$flags$&32)){if(e.$flags$|=32,n.$lazyBundleId$){const a=It(n,e);if(a&&"then"in a){const c=qt();r=yield a,c()}else r=a;if(!r)throw new Error(`Constructor for "${n.$tagName$}#${e.$modeName$}" was not found`);r.isProxied||(n.$watchers$=r.watchers,St(r,n,2),r.isProxied=!0);const o=T("createInstance",n.$tagName$);e.$flags$|=8;try{new r(e)}catch(c){P(c,t)}e.$flags$&=-9,e.$flags$|=128,o(),G(e.$lazyInstance$,t)}else{r=t.constructor;const a=t.localName;customElements.whenDefined(a).then(()=>e.$flags$|=128)}if(r&&r.style){let a;typeof r.style=="string"&&(a=r.style);const o=ct(n);if(!j.has(o)){const c=T("registerStyles",n.$tagName$);Wt(o,a,!!(n.$flags$&1)),c()}}}const $=e.$ancestorComponent$,i=()=>Q(e,!0);$&&$["s-rc"]?$["s-rc"].push(i):i()}),G=(t,e)=>{H(t,"connectedCallback",void 0,e)},ne=t=>{if(!(p.$flags$&1)){const e=S(t),n=e.$cmpMeta$,s=T("connectedCallback",n.$tagName$);if(e.$flags$&1)e!=null&&e.$lazyInstance$?G(e.$lazyInstance$,t):e!=null&&e.$onReadyPromise$&&e.$onReadyPromise$.then(()=>G(e.$lazyInstance$,t));else{e.$flags$|=1;{let r=t;for(;r=r.parentNode||r.host;)if(r["s-p"]){gt(e,e.$ancestorComponent$=r);break}}n.$members$&&Object.entries(n.$members$).map(([r,[$]])=>{if($&31&&t.hasOwnProperty(r)){const i=t[r];delete t[r],t[r]=i}}),se(t,e,n)}s()}},st=(t,e)=>{H(t,"disconnectedCallback",void 0,e||t)},re=t=>L(exports,null,function*(){if(!(p.$flags$&1)){const e=S(t);e!=null&&e.$lazyInstance$?st(e.$lazyInstance$,t):e!=null&&e.$onReadyPromise$&&e.$onReadyPromise$.then(()=>st(e.$lazyInstance$,t))}_.has(t)&&_.delete(t),t.shadowRoot&&_.has(t.shadowRoot)&&_.delete(t.shadowRoot)}),le=(t,e={})=>{var n;const s=T(),r=[],$=e.exclude||[],i=b.customElements,l=k.head,a=l.querySelector("meta[charset]"),o=k.createElement("style"),c=[];let d,f=!0;Object.assign(p,e),p.$resourcesUrl$=new URL(e.resourcesUrl||"./",k.baseURI).href;let u=!1;if(t.map(h=>{h[1].map(v=>{var y;const g={$flags$:v[0],$tagName$:v[1],$members$:v[2],$listeners$:v[3]};g.$flags$&4&&(u=!0),g.$members$=v[2],g.$attrsToReflect$=[],g.$watchers$=(y=v[4])!=null?y:{};const w=g.$tagName$,Et=class extends HTMLElement{constructor(E){if(super(E),this.hasRegisteredEventListeners=!1,E=this,_t(E,g),g.$flags$&1){if(!E.shadowRoot)E.attachShadow({mode:"open"});else if(E.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${g.$tagName$}! Mode is set to ${E.shadowRoot.mode} but Stencil only supports open shadow roots.`)}}connectedCallback(){S(this),this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),d&&(clearTimeout(d),d=null),f?c.push(this):p.jmp(()=>ne(this))}disconnectedCallback(){p.jmp(()=>re(this)),p.raf(()=>{var E;const I=S(this),Z=c.findIndex(kt=>kt===this);Z>-1&&c.splice(Z,1),((E=I==null?void 0:I.$vnode$)==null?void 0:E.$elm$)instanceof Node&&!I.$vnode$.$elm$.isConnected&&delete I.$vnode$.$elm$})}componentOnReady(){return S(this).$onReadyPromise$}};g.$lazyBundleId$=h[0],!$.includes(w)&&!i.get(w)&&(r.push(w),i.define(w,St(Et,g,1)))})}),r.length>0&&(u&&(o.textContent+=nt),o.textContent+=r.sort()+At,o.innerHTML.length)){o.setAttribute("data-styles","");const h=(n=p.$nonce$)!=null?n:it(k);h!=null&&o.setAttribute("nonce",h),l.insertBefore(o,a?a.nextSibling:l.firstChild)}f=!1,c.length?c.map(h=>h.connectedCallback()):p.jmp(()=>d=setTimeout(yt,30)),s()};exports.bootstrapLazy=le;exports.getElement=Dt;exports.h=ot;exports.promiseResolve=rt;exports.registerInstance=xt;
|