@everymatrix/casino-page-nd 1.88.6 → 1.88.8
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-2v8KmLtG.js → CasinoCalendar-BhT9AGhd.js} +3 -3
- package/components/{CasinoCalendar-D6mSP0wJ.cjs → CasinoCalendar-DVOou2pd.cjs} +1 -1
- package/components/{CasinoCalendar-CqlNd02f.js → CasinoCalendar-OK6OnjCX.js} +3 -3
- package/components/{CasinoCalendarDailyDetails-DfLgjOnE.js → CasinoCalendarDailyDetails-BOB-3g2h.js} +1 -1
- package/components/{CasinoCalendarDailyDetails-DrrMa8G-.cjs → CasinoCalendarDailyDetails-BbY8FRe2.cjs} +1 -1
- package/components/{CasinoCalendarDailyDetails-DqZ1EB8U.js → CasinoCalendarDailyDetails-DiYGzXJD.js} +1 -1
- package/components/{CasinoCalendarDailyItem-DmTah2Ox.js → CasinoCalendarDailyItem-BKqP_iiW.js} +1 -1
- package/components/{CasinoCalendarDailyItem-D8ayBNeo.cjs → CasinoCalendarDailyItem-D71RqRoV.cjs} +1 -1
- package/components/{CasinoCalendarDailyItem-CLmYBy5V.js → CasinoCalendarDailyItem-DLy4bpDS.js} +1 -1
- package/components/{CasinoCollectionsProviders-CsPgOec7.js → CasinoCollectionsProviders-DcpzdP1I.js} +1 -1
- package/components/{CasinoCollectionsProviders-CorJFiDe.js → CasinoCollectionsProviders-nbdI8oNb.js} +1 -1
- package/components/{CasinoCollectionsProviders-Gi43RX3s.cjs → CasinoCollectionsProviders-up5420n0.cjs} +1 -1
- package/components/{CasinoFavoritesSectionNd-D-OzpP1D.js → CasinoFavoritesSectionNd-AOg6usAH.js} +2 -2
- package/components/{CasinoFavoritesSectionNd-CUs4uHvm.cjs → CasinoFavoritesSectionNd-Bd9HnrqO.cjs} +1 -1
- package/components/{CasinoFavoritesSectionNd-B8p1vike.js → CasinoFavoritesSectionNd-zM6oZIvk.js} +2 -2
- package/components/{CasinoFilter-8KdY9wF9.cjs → CasinoFilter-BCB6zpWh.cjs} +1 -1
- package/components/{CasinoFilter-DLJXOfpY.js → CasinoFilter-BUBJVQ6w.js} +1 -1
- package/components/{CasinoFilter-DDepo-i_.js → CasinoFilter-BeVA3-oD.js} +1 -1
- package/components/{CasinoGameThumbnailNd-DEcdS_Ap.js → CasinoGameThumbnailNd-BFxSwFNl.js} +2 -2
- package/components/{CasinoGameThumbnailNd-BwGwKMIj.cjs → CasinoGameThumbnailNd-BhKjyOge.cjs} +1 -1
- package/components/{CasinoGameThumbnailNd-B138gbNc.js → CasinoGameThumbnailNd-CGD5ragc.js} +2 -2
- package/components/{CasinoGamesCategorySectionNd-Ce-N9ECY.js → CasinoGamesCategorySectionNd-BB012KCY.js} +4 -4
- package/components/{CasinoGamesCategorySectionNd-Q_0eGBpu.cjs → CasinoGamesCategorySectionNd-CUQIMY65.cjs} +1 -1
- package/components/{CasinoGamesCategorySectionNd-7Q-QnDWT.js → CasinoGamesCategorySectionNd-Dom9UP7v.js} +4 -4
- package/components/{CasinoJackpotBanner-D9PObgDw.cjs → CasinoJackpotBanner-CCm0ilAc.cjs} +1 -1
- package/components/{CasinoJackpotBanner-CYt6KWDz.js → CasinoJackpotBanner-CbntCVdh.js} +1 -1
- package/components/{CasinoJackpotBanner-CX2xIXsB.js → CasinoJackpotBanner-DsKzAAzv.js} +1 -1
- package/components/{CasinoLastPlayedSectionNd-DPLSrjc-.cjs → CasinoLastPlayedSectionNd-BlP4rFvV.cjs} +1 -1
- package/components/{CasinoLastPlayedSectionNd-DNdVwKwY.js → CasinoLastPlayedSectionNd-PT0j00_1.js} +2 -2
- package/components/{CasinoLastPlayedSectionNd-BpKpVPAr.js → CasinoLastPlayedSectionNd-oQUT4yP6.js} +2 -2
- package/components/{CasinoMostPlayedSectionNd-C0EpI2-9.js → CasinoMostPlayedSectionNd-BPos1TA2.js} +2 -2
- package/components/{CasinoMostPlayedSectionNd-LwVUX5eL.js → CasinoMostPlayedSectionNd-C_m6k4zu.js} +2 -2
- package/components/{CasinoMostPlayedSectionNd-Dkjf16fh.cjs → CasinoMostPlayedSectionNd-DN0RWo2H.cjs} +1 -1
- package/components/{CasinoMyGamesNd-DQkXyjn1.js → CasinoMyGamesNd-DdafUHu6.js} +4 -4
- package/components/{CasinoMyGamesNd-D37uyGzg.js → CasinoMyGamesNd-Do_VjZEK.js} +4 -4
- package/components/{CasinoMyGamesNd-CLmjlE6H.cjs → CasinoMyGamesNd-sXcHvT8y.cjs} +1 -1
- package/components/{CasinoPageNd-sBqrOtht.cjs → CasinoPageNd-60irniKe.cjs} +1 -1
- package/components/{CasinoPageNd-C3I90qgz.js → CasinoPageNd-BPcO6DbV.js} +11 -11
- package/components/{CasinoPageNd-DecZz0bA.js → CasinoPageNd-DjYQD-vm.js} +11 -12
- package/components/{CasinoRandomGame-TX3_oKyQ.js → CasinoRandomGame-BJt4A0WP.js} +1 -1
- package/components/{CasinoRandomGame-D8noKlPx.cjs → CasinoRandomGame-Bw-bCZoD.cjs} +1 -1
- package/components/{CasinoRandomGame-Bj6hLVg7.js → CasinoRandomGame-Cd4HlWKT.js} +1 -1
- package/components/{CasinoSearchNd-DzmdB6wz.cjs → CasinoSearchNd-CipZ985K.cjs} +1 -1
- package/components/{CasinoSearchNd-dKgX0PeS.js → CasinoSearchNd-DqZxchmi.js} +3 -3
- package/components/{CasinoSearchNd-DfmzrMbD.js → CasinoSearchNd-mAAMZy1i.js} +3 -3
- package/components/{CasinoSort-qyHfdFy3.cjs → CasinoSort-5xGRJYv5.cjs} +1 -1
- package/components/{CasinoSort-C0Jjqmrf.js → CasinoSort-DcEoxcKT.js} +1 -1
- package/components/{CasinoSort-BvIhZgZN.js → CasinoSort-DjLn_-Nf.js} +1 -1
- package/components/{CasinoWinners-CS1za1iW.js → CasinoWinners-C68-6Ao2.js} +2 -2
- package/components/{CasinoWinners-BDDBeDxe.js → CasinoWinners-CAc4kztR.js} +2 -2
- package/components/{CasinoWinners-DAhoht2U.cjs → CasinoWinners-PJQN5O5M.cjs} +1 -1
- package/components/{GeneralAnimationLoading-CVT4i-Ba.js → GeneralAnimationLoading-BzcffGW-.js} +1 -1
- package/components/{GeneralAnimationLoading-B4Miia6j.js → GeneralAnimationLoading-DKDBi5S3.js} +1 -1
- package/components/{GeneralAnimationLoading-C5fu_cQV.cjs → GeneralAnimationLoading-DLkYQncX.cjs} +1 -1
- package/es2015/casino-page-nd.cjs +1 -1
- package/es2015/casino-page-nd.js +1 -1
- package/esnext/casino-page-nd.js +1 -1
- package/lazy/{casino-calendar-GXRgvQkq.js → casino-calendar-C4qZzbse.js} +1 -1
- package/lazy/{casino-calendar-CRfqGFJh.js → casino-calendar-CX3ANAkz.js} +1 -1
- package/lazy/{casino-calendar-Cv9hPqFs.cjs → casino-calendar-CagP_RyE.cjs} +1 -1
- package/lazy/{casino-calendar-daily-details-Dq6rsDPF.js → casino-calendar-daily-details-BuqHAp6g.js} +1 -1
- package/lazy/{casino-calendar-daily-details-YNzZvEql.js → casino-calendar-daily-details-CIgsL0jA.js} +1 -1
- package/lazy/{casino-calendar-daily-details-DxBxsnKv.cjs → casino-calendar-daily-details-yhilTbnn.cjs} +1 -1
- package/lazy/{casino-calendar-daily-item-xmH8-W-7.cjs → casino-calendar-daily-item-BiCt9V8W.cjs} +1 -1
- package/lazy/{casino-calendar-daily-item-BZA3jMsA.js → casino-calendar-daily-item-D_wX3i_P.js} +1 -1
- package/lazy/{casino-calendar-daily-item-DHiuQHhX.js → casino-calendar-daily-item-DnhVVDnb.js} +1 -1
- package/lazy/{casino-collections-providers-CnBa3_xG.js → casino-collections-providers-BPD-h4tl.js} +1 -1
- package/lazy/{casino-collections-providers-CjD90HQf.cjs → casino-collections-providers-CPEbDHIR.cjs} +1 -1
- package/lazy/{casino-collections-providers-BofsQfPr.js → casino-collections-providers-DeScu1Oq.js} +1 -1
- package/lazy/{casino-favorites-section-nd-CrLNMvhU.js → casino-favorites-section-nd-CXKEercB.js} +1 -1
- package/lazy/{casino-favorites-section-nd-D3u9bZzR.cjs → casino-favorites-section-nd-DI4xM9Fe.cjs} +1 -1
- package/lazy/{casino-favorites-section-nd-Dpot-5KU.js → casino-favorites-section-nd-DU1PA7eo.js} +1 -1
- package/lazy/{casino-filter-DFLWJ_gB.js → casino-filter-330QS-Cx.js} +1 -1
- package/lazy/{casino-filter-BEk5FFr6.cjs → casino-filter-BwZbvT32.cjs} +1 -1
- package/lazy/{casino-filter-DWBDsS3s.js → casino-filter-DTFQU7Ia.js} +1 -1
- package/lazy/{casino-game-thumbnail-nd-DpmtVDy7.js → casino-game-thumbnail-nd-1knG5YPk.js} +1 -1
- package/lazy/{casino-game-thumbnail-nd-NVfnlxo5.cjs → casino-game-thumbnail-nd-BVyei1Ib.cjs} +1 -1
- package/lazy/{casino-game-thumbnail-nd-CLjYTZIW.js → casino-game-thumbnail-nd-CLtT0WLq.js} +1 -1
- package/lazy/{casino-games-category-section-nd-DogtXnT6.js → casino-games-category-section-nd-Bf3V3dYD.js} +1 -1
- package/lazy/{casino-games-category-section-nd-Dkzor4Tq.cjs → casino-games-category-section-nd-C_CuRwkT.cjs} +1 -1
- package/lazy/{casino-games-category-section-nd-4g1T-MPF.js → casino-games-category-section-nd-Dv11ZbnV.js} +1 -1
- package/lazy/{casino-jackpot-banner-RYF2rRW8.js → casino-jackpot-banner-B8YI7vj5.js} +1 -1
- package/lazy/{casino-jackpot-banner-C9WcmG5E.cjs → casino-jackpot-banner-D-RVSOGS.cjs} +1 -1
- package/lazy/{casino-jackpot-banner-DLVaIc33.js → casino-jackpot-banner-DeOVJEAV.js} +1 -1
- package/lazy/{casino-last-played-section-nd-CJ7aai7v.cjs → casino-last-played-section-nd-72KINq3E.cjs} +1 -1
- package/lazy/{casino-last-played-section-nd-PgjgjfkF.js → casino-last-played-section-nd-Bu57dISH.js} +1 -1
- package/lazy/{casino-last-played-section-nd-CWnGpMSh.js → casino-last-played-section-nd-DlsZKhiF.js} +1 -1
- package/lazy/{casino-most-played-section-nd-BxmUiyAs.js → casino-most-played-section-nd-BMXrCMAu.js} +1 -1
- package/lazy/{casino-most-played-section-nd-CbBQNkBC.js → casino-most-played-section-nd-CF7JDINC.js} +1 -1
- package/lazy/{casino-most-played-section-nd-ChDueNja.cjs → casino-most-played-section-nd-QBs8vNOU.cjs} +1 -1
- package/lazy/{casino-my-games-nd-BVaHQL-w.js → casino-my-games-nd-D1DZGxAf.js} +1 -1
- package/lazy/{casino-my-games-nd-Cy-LfWrR.cjs → casino-my-games-nd-DXnzmXgr.cjs} +1 -1
- package/lazy/{casino-my-games-nd-CKLSYuy7.js → casino-my-games-nd-OQlaGKgo.js} +1 -1
- package/lazy/{casino-play-random-game-DVsDGezc.js → casino-play-random-game-7n61vetD.js} +1 -1
- package/lazy/{casino-play-random-game-CeZZ7mhN.cjs → casino-play-random-game-BZ2Qc5Rb.cjs} +1 -1
- package/lazy/{casino-play-random-game-CoQ9xSZ4.js → casino-play-random-game-V1jcVVCT.js} +1 -1
- package/lazy/{casino-random-game-B-Dbfi_Z.js → casino-random-game-DLJPLHrt.js} +1 -1
- package/lazy/{casino-random-game-Dqpy-ahE.js → casino-random-game-e3u6AQsk.js} +1 -1
- package/lazy/{casino-random-game-EeYGt0i9.cjs → casino-random-game-n8iusdEl.cjs} +1 -1
- package/lazy/{casino-search-nd-VzzQfjQ3.cjs → casino-search-nd-CtRmPjS3.cjs} +1 -1
- package/lazy/{casino-search-nd-DG_9lIKs.js → casino-search-nd-DLxbcpii.js} +1 -1
- package/lazy/{casino-search-nd-Dr2QdUSS.js → casino-search-nd-DNrlk341.js} +1 -1
- package/lazy/{casino-sort-CoLP_8T8.js → casino-sort-3IXtVOEX.js} +1 -1
- package/lazy/{casino-sort-DZ2AaMDF.js → casino-sort-BgdFU5I9.js} +1 -1
- package/lazy/{casino-sort-BGxScqHd.cjs → casino-sort-CIuAzElV.cjs} +1 -1
- package/lazy/{casino-winners-4rTwzY8_.js → casino-winners-CAWyFQHi.js} +1 -1
- package/lazy/{casino-winners-DZ6LyVKE.js → casino-winners-ConBC8t-.js} +1 -1
- package/lazy/{casino-winners-B_FPafju.cjs → casino-winners-n3iWoc2g.cjs} +1 -1
- package/lazy/{general-animation-loading-DLw3WzsN.js → general-animation-loading-BkqHZgx7.js} +1 -1
- package/lazy/{general-animation-loading-UvZ6ywmy.cjs → general-animation-loading-CHelUiBQ.cjs} +1 -1
- package/lazy/{general-animation-loading-MZxx7I-B.js → general-animation-loading-CmjHo_BG.js} +1 -1
- package/package.json +1 -1
- package/stencil/{casino-play-random-game-CwsXmdAL.js → casino-play-random-game-BFV4GNfV.js} +2 -2
- package/stencil/{casino-play-random-game-RYjDd-MV.js → casino-play-random-game-BhoyX-C1.js} +2 -2
- package/stencil/{casino-play-random-game-DAeG0zQv.cjs → casino-play-random-game-C4vBXpwt.cjs} +1 -1
- package/stencil/{casino-play-random-game_2-Dv13xRoJ.js → casino-play-random-game_2-CaDWoiDD.js} +15 -16
- package/stencil/{casino-play-random-game_2-BMJfVset.js → casino-play-random-game_2-CrgpqvbB.js} +2 -2
- package/stencil/{casino-play-random-game_2-a_1h1MOl.cjs → casino-play-random-game_2-D3YPoW8a.cjs} +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var P=(e,t,r)=>new Promise((s,n)=>{var a=o=>{try{i(r.next(o))}catch($){n($)}},l=o=>{try{i(r.throw(o))}catch($){n($)}},i=o=>o.done?s(o.value):Promise.resolve(o.value).then(a,l);i((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=i=>(z.set(n,i),i[s]);switch(n){case"casino-play-random-game_2":return Promise.resolve().then(()=>require("../stencil/casino-play-random-game_2-a_1h1MOl.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:{}},h={$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,h.$flags$&4?D(H):h.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)&&h.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 i=[],o=c=>{for(let f=0;f<c.length;f++)s=c[f],Array.isArray(s)?o(s):s!=null&&typeof s!="boolean"&&((a=typeof e!="function"&&!F(s))&&(s=String(s)),a&&l?i[i.length-1].$text$+=s:i.push(a?B(null,s):s),l=a)};if(o(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,i.length>0&&($.$children$=i),$.$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,oe=e=>E(e).$hostElement$,Re=(e,t,r)=>{const s=oe(e);return{emit:n=>ie(s,t,{bubbles:!0,composed:!0,cancelable:!0,detail:n})}},ie=(e,t,r)=>{const s=h.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),i;if(l||K.set(e,l=new Set),!l.has(n)){{i=m.createElement("style"),i.innerHTML=a;const o=(s=h.$nonce$)!=null?s:ne(m);o!=null&&i.setAttribute("nonce",o),e.insertBefore(i,e.querySelector("link"))}t.$flags$&4&&(i.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),i=t.toLowerCase();if(t==="class"){const o=e.classList,$=Z(r),c=Z(s);o.remove(...$.filter(f=>f&&!c.includes(f))),o.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,i)?t=i.slice(2):t=i[2]+t.slice(3),r||s){const o=t.endsWith(ce);t=t.replace(Ge,""),r&&h.rel(e,t,r,o),s&&h.ael(e,t,s,o)}}else{const o=F(s);if((l||o&&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)&&!o&&(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,i;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)i=I(e,n,a),i&&l.appendChild(i);return l["s-hn"]=M,l},de=(e,t,r,s,n,a)=>{let l=e,i;for(l.shadowRoot&&l.tagName===M&&(l=l.shadowRoot);n<=a;++n)s[n]&&(i=I(null,r,n),i&&(s[n].$elm$=i,A(l,i,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,i=0,o=0,$=t.length-1,c=t[0],f=t[$],u=s.length-1,d=s[0],v=s[u],g,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(i=-1,o=a;o<=$;++o)if(t[o]&&t[o].$key$!==null&&t[o].$key$===d.$key$){i=o;break}i>=0?(y=t[i],y.$tag$!==d.$tag$?g=I(t&&t[l],r,i):(w(y,d,n),t[i]=void 0,g=y.$elm$),d=s[++l]):(g=I(t&&t[l],r,l),d=s[++l]),g&&A(c.$elm$.parentNode,g,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(([i,o])=>l.$attrs$[o]=s[i])),r&&l.$attrs$)for(const i of Object.keys(l.$attrs$))s.hasAttribute(i)&&!["key","ref","style","class"].includes(i)&&(l.$attrs$[i]=s[i]);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 i=S("render",e.$cmpMeta$.$tagName$);Ne(e,t,n,r),l&&(l.map(o=>o()),n["s-rc"]=void 0),i(),a();{const o=(s=n["s-p"])!=null?s:[],$=()=>Ve(e);o.length===0?$():(Promise.all(o).then($),e.$flags$|=4,o.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(()=>ie(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),i=n.$flags$,o=n.$lazyInstance$;r=qe(r,s.$members$[t][0]);const $=Number.isNaN(l)&&Number.isNaN(r),c=r!==l&&!$;if((!(i&8)||l===void 0)&&c&&(n.$instanceValues$.set(t,r),o)){if(s.$watchers$&&i&128){const f=s.$watchers$[t];f&&f.map(u=>{try{o[u](r,l,t)}catch(d){b(d,a)}})}(i&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(([i,[o]])=>{(o&31||r&2&&o&32)&&Object.defineProperty(a,i,{get(){return et(this,i)},set($){tt(this,i,$,t)},configurable:!0,enumerable:!0})}),r&1){const i=new Map;a.attributeChangedCallback=function(o,$,c){h.jmp(()=>{var f;const u=i.get(o);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 g=d.$lazyInstance$,y=(f=t.$watchers$)==null?void 0:f[o];y==null||y.forEach(p=>{g[p]!=null&&g[p].call(g,c,$,o)})}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(([o,$])=>$[0]&15).map(([o,$])=>{var c;const f=$[1]||o;return i.set(f,o),$[0]&512&&((c=t.$attrsToReflect$)==null||c.push([o,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 o=xe(r);if(o&&"then"in o){const c=Ce();n=yield o,c()}else n=o;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 o=e.localName;customElements.whenDefined(o).then(()=>t.$flags$|=128)}if(n&&n.style){let o;typeof n.style=="string"&&(o=n.style);const $=$e(r);if(!L.has($)){const c=S("registerStyles",r.$tagName$);De($,o,!!(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(!(h.$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(!(h.$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,i=m.head,o=i.querySelector("meta[charset]"),$=m.createElement("style"),c=[];let f,u=!0;Object.assign(h,t),h.$resourcesUrl$=new URL(t.resourcesUrl||"./",m.baseURI).href;let d=!1;if(e.map(v=>{v[1].map(g=>{var y;const p={$flags$:g[0],$tagName$:g[1],$members$:g[2],$listeners$:g[3]};p.$flags$&4&&(d=!0),p.$members$=g[2],p.$attrsToReflect$=[],p.$watchers$=(y=g[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):h.jmp(()=>nt(this))}disconnectedCallback(){h.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=h.$nonce$)!=null?r:ne(m);v!=null&&$.setAttribute("nonce",v),i.insertBefore($,o?o.nextSibling:i.firstChild)}u=!1,c.length?c.map(v=>v.connectedCallback()):h.jmp(()=>f=setTimeout(pe,30)),s()},at=e=>h.$nonce$=e;exports.Host=ae;exports.bootstrapLazy=lt;exports.createEvent=Re;exports.getElement=oe;exports.h=le;exports.promiseResolve=te;exports.registerInstance=Te;exports.setNonce=at;
|
|
1
|
+
"use strict";var P=(e,t,r)=>new Promise((s,n)=>{var a=o=>{try{i(r.next(o))}catch($){n($)}},l=o=>{try{i(r.throw(o))}catch($){n($)}},i=o=>o.done?s(o.value):Promise.resolve(o.value).then(a,l);i((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=i=>(z.set(n,i),i[s]);switch(n){case"casino-play-random-game_2":return Promise.resolve().then(()=>require("../stencil/casino-play-random-game_2-D3YPoW8a.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:{}},h={$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,h.$flags$&4?D(H):h.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)&&h.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 i=[],o=c=>{for(let f=0;f<c.length;f++)s=c[f],Array.isArray(s)?o(s):s!=null&&typeof s!="boolean"&&((a=typeof e!="function"&&!F(s))&&(s=String(s)),a&&l?i[i.length-1].$text$+=s:i.push(a?B(null,s):s),l=a)};if(o(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,i.length>0&&($.$children$=i),$.$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,oe=e=>E(e).$hostElement$,Re=(e,t,r)=>{const s=oe(e);return{emit:n=>ie(s,t,{bubbles:!0,composed:!0,cancelable:!0,detail:n})}},ie=(e,t,r)=>{const s=h.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),i;if(l||K.set(e,l=new Set),!l.has(n)){{i=m.createElement("style"),i.innerHTML=a;const o=(s=h.$nonce$)!=null?s:ne(m);o!=null&&i.setAttribute("nonce",o),e.insertBefore(i,e.querySelector("link"))}t.$flags$&4&&(i.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),i=t.toLowerCase();if(t==="class"){const o=e.classList,$=Z(r),c=Z(s);o.remove(...$.filter(f=>f&&!c.includes(f))),o.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,i)?t=i.slice(2):t=i[2]+t.slice(3),r||s){const o=t.endsWith(ce);t=t.replace(Ge,""),r&&h.rel(e,t,r,o),s&&h.ael(e,t,s,o)}}else{const o=F(s);if((l||o&&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)&&!o&&(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,i;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)i=I(e,n,a),i&&l.appendChild(i);return l["s-hn"]=M,l},de=(e,t,r,s,n,a)=>{let l=e,i;for(l.shadowRoot&&l.tagName===M&&(l=l.shadowRoot);n<=a;++n)s[n]&&(i=I(null,r,n),i&&(s[n].$elm$=i,A(l,i,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,i=0,o=0,$=t.length-1,c=t[0],f=t[$],u=s.length-1,d=s[0],v=s[u],g,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(i=-1,o=a;o<=$;++o)if(t[o]&&t[o].$key$!==null&&t[o].$key$===d.$key$){i=o;break}i>=0?(y=t[i],y.$tag$!==d.$tag$?g=I(t&&t[l],r,i):(w(y,d,n),t[i]=void 0,g=y.$elm$),d=s[++l]):(g=I(t&&t[l],r,l),d=s[++l]),g&&A(c.$elm$.parentNode,g,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(([i,o])=>l.$attrs$[o]=s[i])),r&&l.$attrs$)for(const i of Object.keys(l.$attrs$))s.hasAttribute(i)&&!["key","ref","style","class"].includes(i)&&(l.$attrs$[i]=s[i]);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 i=S("render",e.$cmpMeta$.$tagName$);Ne(e,t,n,r),l&&(l.map(o=>o()),n["s-rc"]=void 0),i(),a();{const o=(s=n["s-p"])!=null?s:[],$=()=>Ve(e);o.length===0?$():(Promise.all(o).then($),e.$flags$|=4,o.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(()=>ie(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),i=n.$flags$,o=n.$lazyInstance$;r=qe(r,s.$members$[t][0]);const $=Number.isNaN(l)&&Number.isNaN(r),c=r!==l&&!$;if((!(i&8)||l===void 0)&&c&&(n.$instanceValues$.set(t,r),o)){if(s.$watchers$&&i&128){const f=s.$watchers$[t];f&&f.map(u=>{try{o[u](r,l,t)}catch(d){b(d,a)}})}(i&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(([i,[o]])=>{(o&31||r&2&&o&32)&&Object.defineProperty(a,i,{get(){return et(this,i)},set($){tt(this,i,$,t)},configurable:!0,enumerable:!0})}),r&1){const i=new Map;a.attributeChangedCallback=function(o,$,c){h.jmp(()=>{var f;const u=i.get(o);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 g=d.$lazyInstance$,y=(f=t.$watchers$)==null?void 0:f[o];y==null||y.forEach(p=>{g[p]!=null&&g[p].call(g,c,$,o)})}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(([o,$])=>$[0]&15).map(([o,$])=>{var c;const f=$[1]||o;return i.set(f,o),$[0]&512&&((c=t.$attrsToReflect$)==null||c.push([o,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 o=xe(r);if(o&&"then"in o){const c=Ce();n=yield o,c()}else n=o;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 o=e.localName;customElements.whenDefined(o).then(()=>t.$flags$|=128)}if(n&&n.style){let o;typeof n.style=="string"&&(o=n.style);const $=$e(r);if(!L.has($)){const c=S("registerStyles",r.$tagName$);De($,o,!!(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(!(h.$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(!(h.$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,i=m.head,o=i.querySelector("meta[charset]"),$=m.createElement("style"),c=[];let f,u=!0;Object.assign(h,t),h.$resourcesUrl$=new URL(t.resourcesUrl||"./",m.baseURI).href;let d=!1;if(e.map(v=>{v[1].map(g=>{var y;const p={$flags$:g[0],$tagName$:g[1],$members$:g[2],$listeners$:g[3]};p.$flags$&4&&(d=!0),p.$members$=g[2],p.$attrsToReflect$=[],p.$watchers$=(y=g[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):h.jmp(()=>nt(this))}disconnectedCallback(){h.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=h.$nonce$)!=null?r:ne(m);v!=null&&$.setAttribute("nonce",v),i.insertBefore($,o?o.nextSibling:i.firstChild)}u=!1,c.length?c.map(v=>v.connectedCallback()):h.jmp(()=>f=setTimeout(pe,30)),s()},at=e=>h.$nonce$=e;exports.Host=ae;exports.bootstrapLazy=lt;exports.createEvent=Re;exports.getElement=oe;exports.h=le;exports.promiseResolve=te;exports.registerInstance=Te;exports.setNonce=at;
|
|
@@ -42,7 +42,7 @@ var me = Object.defineProperty, Se = (e, t) => {
|
|
|
42
42
|
case "casino-play-random-game_2":
|
|
43
43
|
return import(
|
|
44
44
|
/* webpackMode: "lazy" */
|
|
45
|
-
"../stencil/casino-play-random-game_2-
|
|
45
|
+
"../stencil/casino-play-random-game_2-CaDWoiDD.js"
|
|
46
46
|
).then(l, b);
|
|
47
47
|
}
|
|
48
48
|
}
|
|
@@ -10,7 +10,7 @@ if (typeof window < "u") {
|
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
customElements.define = n(customElements.define), import("../components/CasinoRandomGame-
|
|
13
|
+
customElements.define = n(customElements.define), import("../components/CasinoRandomGame-Cd4HlWKT.js").then(({ default: t }) => {
|
|
14
14
|
!customElements.get("casino-random-game") && customElements.define("casino-random-game", t.element);
|
|
15
15
|
});
|
|
16
16
|
}
|
|
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
|
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
customElements.define = n(customElements.define), import("../components/CasinoRandomGame-
|
|
13
|
+
customElements.define = n(customElements.define), import("../components/CasinoRandomGame-BJt4A0WP.js").then(({ default: t }) => {
|
|
14
14
|
!customElements.get("casino-random-game") && customElements.define("casino-random-game", t.element);
|
|
15
15
|
});
|
|
16
16
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoRandomGame-
|
|
1
|
+
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoRandomGame-Bw-bCZoD.cjs")).then(({default:t})=>{!customElements.get("casino-random-game")&&customElements.define("casino-random-game",t.element)})}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoSearchNd-
|
|
1
|
+
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoSearchNd-CipZ985K.cjs")).then(({default:t})=>{!customElements.get("casino-search-nd")&&customElements.define("casino-search-nd",t.element)})}
|
|
@@ -10,7 +10,7 @@ if (typeof window < "u") {
|
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
customElements.define = n(customElements.define), import("../components/CasinoSearchNd-
|
|
13
|
+
customElements.define = n(customElements.define), import("../components/CasinoSearchNd-mAAMZy1i.js").then(({ default: t }) => {
|
|
14
14
|
!customElements.get("casino-search-nd") && customElements.define("casino-search-nd", t.element);
|
|
15
15
|
});
|
|
16
16
|
}
|
|
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
|
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
customElements.define = n(customElements.define), import("../components/CasinoSearchNd-
|
|
13
|
+
customElements.define = n(customElements.define), import("../components/CasinoSearchNd-DqZxchmi.js").then(({ default: t }) => {
|
|
14
14
|
!customElements.get("casino-search-nd") && customElements.define("casino-search-nd", t.element);
|
|
15
15
|
});
|
|
16
16
|
}
|
|
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
|
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
customElements.define = n(customElements.define), import("../components/CasinoSort-
|
|
13
|
+
customElements.define = n(customElements.define), import("../components/CasinoSort-DcEoxcKT.js").then(({ default: t }) => {
|
|
14
14
|
!customElements.get("casino-sort") && customElements.define("casino-sort", t.element);
|
|
15
15
|
});
|
|
16
16
|
}
|
|
@@ -10,7 +10,7 @@ if (typeof window < "u") {
|
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
customElements.define = n(customElements.define), import("../components/CasinoSort-
|
|
13
|
+
customElements.define = n(customElements.define), import("../components/CasinoSort-DjLn_-Nf.js").then(({ default: t }) => {
|
|
14
14
|
!customElements.get("casino-sort") && customElements.define("casino-sort", t.element);
|
|
15
15
|
});
|
|
16
16
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoSort-
|
|
1
|
+
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoSort-5xGRJYv5.cjs")).then(({default:t})=>{!customElements.get("casino-sort")&&customElements.define("casino-sort",t.element)})}
|
|
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
|
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
customElements.define = n(customElements.define), import("../components/CasinoWinners-
|
|
13
|
+
customElements.define = n(customElements.define), import("../components/CasinoWinners-C68-6Ao2.js").then(({ default: t }) => {
|
|
14
14
|
!customElements.get("casino-winners") && customElements.define("casino-winners", t.element);
|
|
15
15
|
});
|
|
16
16
|
}
|
|
@@ -10,7 +10,7 @@ if (typeof window < "u") {
|
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
customElements.define = n(customElements.define), import("../components/CasinoWinners-
|
|
13
|
+
customElements.define = n(customElements.define), import("../components/CasinoWinners-CAc4kztR.js").then(({ default: t }) => {
|
|
14
14
|
!customElements.get("casino-winners") && customElements.define("casino-winners", t.element);
|
|
15
15
|
});
|
|
16
16
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoWinners-
|
|
1
|
+
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoWinners-PJQN5O5M.cjs")).then(({default:t})=>{!customElements.get("casino-winners")&&customElements.define("casino-winners",t.element)})}
|
package/lazy/{general-animation-loading-DLw3WzsN.js → general-animation-loading-BkqHZgx7.js}
RENAMED
|
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
|
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
customElements.define = n(customElements.define), import("../components/GeneralAnimationLoading-
|
|
13
|
+
customElements.define = n(customElements.define), import("../components/GeneralAnimationLoading-BzcffGW-.js").then(({ default: t }) => {
|
|
14
14
|
!customElements.get("general-animation-loading") && customElements.define("general-animation-loading", t.element);
|
|
15
15
|
});
|
|
16
16
|
}
|
package/lazy/{general-animation-loading-UvZ6ywmy.cjs → general-animation-loading-CHelUiBQ.cjs}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...i){try{return t.apply(this,i)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/GeneralAnimationLoading-
|
|
1
|
+
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...i){try{return t.apply(this,i)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/GeneralAnimationLoading-DLkYQncX.cjs")).then(({default:t})=>{!customElements.get("general-animation-loading")&&customElements.define("general-animation-loading",t.element)})}
|
package/lazy/{general-animation-loading-MZxx7I-B.js → general-animation-loading-CmjHo_BG.js}
RENAMED
|
@@ -10,7 +10,7 @@ if (typeof window < "u") {
|
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
customElements.define = n(customElements.define), import("../components/GeneralAnimationLoading-
|
|
13
|
+
customElements.define = n(customElements.define), import("../components/GeneralAnimationLoading-DKDBi5S3.js").then(({ default: t }) => {
|
|
14
14
|
!customElements.get("general-animation-loading") && customElements.define("general-animation-loading", t.element);
|
|
15
15
|
});
|
|
16
16
|
}
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b as a, p as t } from "../lazy/casino-play-random-game-
|
|
2
|
-
import { s as g } from "../lazy/casino-play-random-game-
|
|
1
|
+
import { b as a, p as t } from "../lazy/casino-play-random-game-7n61vetD.js";
|
|
2
|
+
import { s as g } from "../lazy/casino-play-random-game-7n61vetD.js";
|
|
3
3
|
import { g as e } from "./app-globals-0f993ce5-Cgk0KVAu.js";
|
|
4
4
|
var r = () => {
|
|
5
5
|
const n = import.meta.url, i = {};
|
|
@@ -14,8 +14,8 @@ var l = (i, a, t) => new Promise((s, o) => {
|
|
|
14
14
|
}, e = (n) => n.done ? s(n.value) : Promise.resolve(n.value).then(c, g);
|
|
15
15
|
e((t = t.apply(i, a)).next());
|
|
16
16
|
});
|
|
17
|
-
import { b as m, p as u } from "../lazy/casino-play-random-game-
|
|
18
|
-
import { s as f } from "../lazy/casino-play-random-game-
|
|
17
|
+
import { b as m, p as u } from "../lazy/casino-play-random-game-V1jcVVCT.js";
|
|
18
|
+
import { s as f } from "../lazy/casino-play-random-game-V1jcVVCT.js";
|
|
19
19
|
import { g as d } from "./app-globals-0f993ce5-Cgk0KVAu.js";
|
|
20
20
|
var h = () => {
|
|
21
21
|
const i = import.meta.url, a = {};
|
package/stencil/{casino-play-random-game-DAeG0zQv.cjs → casino-play-random-game-C4vBXpwt.cjs}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var s=(n,t,a)=>new Promise((u,c)=>{var m=e=>{try{i(a.next(e))}catch(r){c(r)}},g=e=>{try{i(a.throw(e))}catch(r){c(r)}},i=e=>e.done?u(e.value):Promise.resolve(e.value).then(m,g);i((a=a.apply(n,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("../lazy/casino-play-random-game-
|
|
1
|
+
"use strict";var s=(n,t,a)=>new Promise((u,c)=>{var m=e=>{try{i(a.next(e))}catch(r){c(r)}},g=e=>{try{i(a.throw(e))}catch(r){c(r)}},i=e=>e.done?u(e.value):Promise.resolve(e.value).then(m,g);i((a=a.apply(n,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("../lazy/casino-play-random-game-BZ2Qc5Rb.cjs"),d=require("./app-globals-0f993ce5-BD-Q0C8R.cjs");var o=typeof document!="undefined"?document.currentScript:null,p=()=>{const n=typeof document=="undefined"?require("url").pathToFileURL(__filename).href:o&&o.tagName.toUpperCase()==="SCRIPT"&&o.src||new URL("stencil/casino-play-random-game-C4vBXpwt.cjs",document.baseURI).href,t={};return n!==""&&(t.resourcesUrl=new URL(".",n).href),l.promiseResolve(t)};p().then(n=>s(exports,null,function*(){return yield d.globalScripts(),l.bootstrapLazy([["casino-play-random-game_2",[[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"]}],[0,"ui-skeleton",{structure:[1],width:[1],height:[1],borderRadius:[8,"border-radius"],marginBottom:[8,"margin-bottom"],marginTop:[8,"margin-top"],marginLeft:[8,"margin-left"],marginRight:[8,"margin-right"],animation:[4],rows:[2],size:[1]},null,{structure:["handleStructureChange"]}]]]],n)}));exports.setNonce=l.setNonce;
|
package/stencil/{casino-play-random-game_2-Dv13xRoJ.js → casino-play-random-game_2-CaDWoiDD.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { r as p, c as f, h as a, g as y, H as b } from "../lazy/casino-play-random-game-
|
|
1
|
+
import { r as p, c as f, h as a, g as y, H as b } from "../lazy/casino-play-random-game-V1jcVVCT.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";
|
|
5
|
-
}, k = "en",
|
|
5
|
+
}, k = "en", m = {
|
|
6
6
|
en: {
|
|
7
7
|
error: "Error",
|
|
8
8
|
randomGameLoading: "Loading ...",
|
|
@@ -49,16 +49,16 @@ const x = () => {
|
|
|
49
49
|
fetch(e).then((t) => t.json()).then((t) => {
|
|
50
50
|
w(t), n(!0);
|
|
51
51
|
});
|
|
52
|
-
}),
|
|
52
|
+
}), d = (e, n) => {
|
|
53
53
|
const t = n;
|
|
54
|
-
return
|
|
54
|
+
return m[t !== void 0 && t in m ? t : k][e];
|
|
55
55
|
}, w = (e) => {
|
|
56
56
|
Object.keys(e).forEach((n) => {
|
|
57
|
-
|
|
57
|
+
m[n] || (m[n] = {});
|
|
58
58
|
for (let t in e[n])
|
|
59
|
-
|
|
59
|
+
m[n][t] = e[n][t];
|
|
60
60
|
});
|
|
61
|
-
},
|
|
61
|
+
}, l = "__WIDGET_GLOBAL_STYLE_CACHE__";
|
|
62
62
|
function g(e, n) {
|
|
63
63
|
if (e) {
|
|
64
64
|
const t = document.createElement("style");
|
|
@@ -81,11 +81,11 @@ function G(e, n, t, i = !1) {
|
|
|
81
81
|
return;
|
|
82
82
|
if (!("adoptedStyleSheets" in Document.prototype) || !i)
|
|
83
83
|
return t = v(e, n), t;
|
|
84
|
-
window[
|
|
84
|
+
window[l] || (window[l] = {}), t = R(e, n);
|
|
85
85
|
const r = t.unsubscribe.bind(t), s = () => {
|
|
86
|
-
if (window[
|
|
87
|
-
const
|
|
88
|
-
|
|
86
|
+
if (window[l][n]) {
|
|
87
|
+
const h = window[l][n];
|
|
88
|
+
h.refCount > 1 ? h.refCount = h.refCount - 1 : delete window[l][n];
|
|
89
89
|
}
|
|
90
90
|
r();
|
|
91
91
|
};
|
|
@@ -99,11 +99,10 @@ function v(e, n) {
|
|
|
99
99
|
}
|
|
100
100
|
function R(e, n) {
|
|
101
101
|
return window.emMessageBus.subscribe(n, (t) => {
|
|
102
|
-
var l;
|
|
103
102
|
if (!e)
|
|
104
103
|
return;
|
|
105
|
-
const i = e.getRootNode(), o = window[
|
|
106
|
-
let r =
|
|
104
|
+
const i = e.getRootNode(), o = window[l];
|
|
105
|
+
let r = o[n] && o[n].sheet;
|
|
107
106
|
r ? o[n].refCount = o[n].refCount + 1 : (r = new CSSStyleSheet(), r.replaceSync(t), o[n] = {
|
|
108
107
|
sheet: r,
|
|
109
108
|
refCount: 1
|
|
@@ -591,14 +590,14 @@ const C = `:host {
|
|
|
591
590
|
});
|
|
592
591
|
}
|
|
593
592
|
renderGameDetails() {
|
|
594
|
-
return a("div", { class: "RandomButtonsWrapper" }, a("div", { class: "RandomGameDetails" }, a("span", { class: "RandomGameTitle" }, this.selectedGame.name), a("span", { class: "RandomGameInfo", onClick: () => this.showGameInfo() }, "i")), a("div", { class: "RandomButtons" }, a("button", { class: "RandomButton On", onClick: () => this.respin() },
|
|
593
|
+
return a("div", { class: "RandomButtonsWrapper" }, a("div", { class: "RandomGameDetails" }, a("span", { class: "RandomGameTitle" }, this.selectedGame.name), a("span", { class: "RandomGameInfo", onClick: () => this.showGameInfo() }, "i")), a("div", { class: "RandomButtons" }, a("button", { class: "RandomButton On", onClick: () => this.respin() }, d("spinRandomGame", this.language)), !this.launchByGameCard && a("button", { class: "RandomButton On", onClick: () => this.playGame() }, d("playNowRandomGame", this.language))));
|
|
595
594
|
}
|
|
596
595
|
renderSkeleton() {
|
|
597
596
|
const e = Array.from({ length: 5 }, (n, t) => a("div", { class: "RandomGameCard", key: t }, a("ui-skeleton", { structure: "rectangle", width: "300px", height: "420px", borderRadius: "10px", animation: !0 })));
|
|
598
597
|
return a("div", { class: "RandomGameWrapper" }, a("div", { class: "GameContainerGradient" }), a("div", { class: "GamesContainer" }, e));
|
|
599
598
|
}
|
|
600
599
|
render() {
|
|
601
|
-
return a("div", { key: "39282b98f33d528ab689d4526114140853a774c1", ref: (e) => this.stylingContainer = e }, this.hasErrors ? a("div", { class: "RandomGameError" }, a("div", { class: "Title" },
|
|
600
|
+
return a("div", { key: "39282b98f33d528ab689d4526114140853a774c1", ref: (e) => this.stylingContainer = e }, this.hasErrors ? a("div", { class: "RandomGameError" }, a("div", { class: "Title" }, d("error", this.language))) : this.isLoading ? this.renderSkeleton() : a("div", { class: "RandomGameWrapper" }, a("div", { class: "GameContainerGradient" }), a("div", { class: "GamesContainer", ref: (e) => this.gameContainer = e }, this.gamesToShow && this.gamesToShow.map((e, n) => a("div", { class: "RandomGameCard", key: n, onClick: this.launchByGameCard === "true" ? () => this.playGame() : void 0 }, a("div", { class: "RandomGameVendor" }, e.vendor.name), a("img", { class: "RandomGameImage", src: e.thumbnail, alt: e.name, title: e.name }), this.selectedGame && this.selectedGameIndex === n && this.renderGameDetails()))), a("div", { class: `ButtonWrapper ${this.animationDone ? "HideAnimation" : ""}` }, a("div", { class: "ButtonContainer" }, this.iconVisibility && a("div", { class: `ButtonIcon ${this.animationStarted ? "Flip" : ""}` }, a("div", { class: "QustionMark" }, "?"), a("div", { class: "HexagonMarkShadow" }), a("div", { class: "HexagonMark" })), !this.animationStarted && a("div", { class: `RandomButton ${this.animationStarted ? "HideAnimation" : ""}`, onClick: () => this.playRandomGame() }, d("playRandomGame", this.language))))));
|
|
602
601
|
}
|
|
603
602
|
get host() {
|
|
604
603
|
return y(this);
|
package/stencil/{casino-play-random-game_2-BMJfVset.js → casino-play-random-game_2-CrgpqvbB.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as p, c as f, h as a, g as y, H as b } from "../lazy/casino-play-random-game-
|
|
1
|
+
import { r as p, c as f, h as a, g as y, H as b } from "../lazy/casino-play-random-game-7n61vetD.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";
|
|
@@ -102,7 +102,7 @@ function R(e, n) {
|
|
|
102
102
|
if (!e)
|
|
103
103
|
return;
|
|
104
104
|
const i = e.getRootNode(), o = window[l];
|
|
105
|
-
let r = o[n]
|
|
105
|
+
let r = o[n] && o[n].sheet;
|
|
106
106
|
r ? o[n].refCount = o[n].refCount + 1 : (r = new CSSStyleSheet(), r.replaceSync(t), o[n] = {
|
|
107
107
|
sheet: r,
|
|
108
108
|
refCount: 1
|
package/stencil/{casino-play-random-game_2-a_1h1MOl.cjs → casino-play-random-game_2-D3YPoW8a.cjs}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../lazy/casino-play-random-game-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../lazy/casino-play-random-game-BZ2Qc5Rb.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 o=document.createElement("style");o.innerHTML=i,e&&e.appendChild(o)}).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 r=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]}r()};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(),o=window[l];let r=o[n]&&o[n].sheet;r?o[n].refCount=o[n].refCount+1:(r=new CSSStyleSheet,r.replaceSync(a),o[n]={sheet:r,refCount:1});const s=i.adoptedStyleSheets||[];s.includes(r)||(i.adoptedStyleSheets=[...s,r])})}function v(e,n,a){return window.emMessageBus&&(n=window.emMessageBus.subscribe(e,a)),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()},h("spinRandomGame",this.language)),!this.launchByGameCard&&t.h("button",{class:"RandomButton On",onClick:()=>this.playGame()},h("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"},h("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()},h("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,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=`
|
|
379
379
|
:host {
|
|
380
380
|
--emw-skeleton-logo-width: ${this.stylingValue.width};
|
|
381
381
|
--emw-skeleton-logo-height: ${this.stylingValue.height};
|