@everymatrix/casino-lobby-nd 1.87.19 → 1.87.21

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.
Files changed (77) hide show
  1. package/components/CasinoCategoriesSliderNd-BqErVYV7.cjs +1 -0
  2. package/components/{CasinoCategoriesSliderNd-PGr5JLa9.js → CasinoCategoriesSliderNd-C_HFF77c.js} +1 -1
  3. package/components/{CasinoCategoriesSliderNd-CYM9lBln.js → CasinoCategoriesSliderNd-DpgWhkZZ.js} +1 -1
  4. package/components/{CasinoFavoritesSectionNd-DGuI7vv-.js → CasinoFavoritesSectionNd-BGlCiIwa.js} +1 -1
  5. package/components/{CasinoFavoritesSectionNd-Dkr1AEUN.js → CasinoFavoritesSectionNd-BN4tBnxu.js} +1 -1
  6. package/components/{CasinoFavoritesSectionNd-hXvCZTpa.cjs → CasinoFavoritesSectionNd-C3LMues-.cjs} +1 -1
  7. package/components/{CasinoGameThumbnailNd-B3YLjhL0.cjs → CasinoGameThumbnailNd-BOg1GjRM.cjs} +1 -1
  8. package/components/{CasinoGameThumbnailNd-BeuhY7JE.js → CasinoGameThumbnailNd-B_TZP_FK.js} +1 -1
  9. package/components/{CasinoGameThumbnailNd-BHmnT1YP.js → CasinoGameThumbnailNd-DbhLKgJh.js} +1 -1
  10. package/components/{CasinoGamesCategorySectionNd-VErpwn5K.js → CasinoGamesCategorySectionNd-BHZBK4On.js} +3 -3
  11. package/components/{CasinoGamesCategorySectionNd-Cx3FwGbu.cjs → CasinoGamesCategorySectionNd-Ce25UJDR.cjs} +1 -1
  12. package/components/{CasinoGamesCategorySectionNd-BP4qlKAp.js → CasinoGamesCategorySectionNd-Cg2BKYhe.js} +3 -3
  13. package/components/{CasinoLastPlayedSectionNd-CE5eF5-n.js → CasinoLastPlayedSectionNd-B2CfNv5R.js} +2 -2
  14. package/components/{CasinoLastPlayedSectionNd-BrmZAhna.js → CasinoLastPlayedSectionNd-BaQFj3HI.js} +2 -2
  15. package/components/{CasinoLastPlayedSectionNd-Cp6uc2NB.cjs → CasinoLastPlayedSectionNd-vVd0UFH6.cjs} +1 -1
  16. package/components/{CasinoLobbyNd-BfFBFXey.js → CasinoLobbyNd-BqOyexU5.js} +2 -2
  17. package/components/{CasinoLobbyNd-BUJeIk9g.js → CasinoLobbyNd-Caeq5ENM.js} +2 -2
  18. package/components/{CasinoLobbyNd-Ck2FO9oo.cjs → CasinoLobbyNd-DnLwRJj6.cjs} +1 -1
  19. package/components/{CasinoMostPlayedSectionNd-mf0deuWY.cjs → CasinoMostPlayedSectionNd-BZ6t4jSA.cjs} +1 -1
  20. package/components/{CasinoMostPlayedSectionNd-BL9tCoJE.js → CasinoMostPlayedSectionNd-B_cXYvaU.js} +2 -2
  21. package/components/{CasinoMostPlayedSectionNd-B-OLAj2j.js → CasinoMostPlayedSectionNd-dNwr0xYs.js} +2 -2
  22. package/components/{CasinoMyGamesNd-jLeBIbJe.js → CasinoMyGamesNd-Dfu7WI_z.js} +4 -4
  23. package/components/{CasinoMyGamesNd-LtH-yy0q.cjs → CasinoMyGamesNd-E2jljD3P.cjs} +1 -1
  24. package/components/{CasinoMyGamesNd-dwl3MCFY.js → CasinoMyGamesNd-tscpbWBe.js} +4 -4
  25. package/components/{CasinoPageNd-BX1fi2vN.js → CasinoPageNd-CEUnHQQS.js} +6 -6
  26. package/components/{CasinoPageNd-Coh0P_JT.js → CasinoPageNd-ClDzxrvQ.js} +6 -6
  27. package/components/{CasinoPageNd-Ca64ABfE.cjs → CasinoPageNd-Df-244cc.cjs} +1 -1
  28. package/components/{CasinoSearchNd-bqojEyaI.cjs → CasinoSearchNd-BylpwGHL.cjs} +1 -1
  29. package/components/{CasinoSearchNd-Cv446ODw.js → CasinoSearchNd-CF47Va3O.js} +3 -3
  30. package/components/{CasinoSearchNd-BuyMyh1P.js → CasinoSearchNd-Da3FewBx.js} +3 -3
  31. package/components/{CasinoWinners-DDW1LWFm.js → CasinoWinners-BM_yLLxK.js} +1 -1
  32. package/components/{CasinoWinners-DMOSATQK.cjs → CasinoWinners-Bb144iKp.cjs} +1 -1
  33. package/components/{CasinoWinners-BCHAHTw2.js → CasinoWinners-CHAcCzEQ.js} +1 -1
  34. package/es2015/casino-lobby-nd.cjs +1 -1
  35. package/es2015/casino-lobby-nd.js +1 -1
  36. package/esnext/casino-lobby-nd.js +1 -1
  37. package/lazy/{casino-categories-slider-nd-C-2yCB_4.cjs → casino-categories-slider-nd-4HLrmchc.cjs} +1 -1
  38. package/lazy/{casino-categories-slider-nd-DT6Lxawp.js → casino-categories-slider-nd-C2UwQxT_.js} +1 -1
  39. package/lazy/{casino-categories-slider-nd-DsGzJEJz.js → casino-categories-slider-nd-CGPC_BCf.js} +1 -1
  40. package/lazy/{casino-favorites-section-nd-WuGWKRsi.js → casino-favorites-section-nd-DQpD7SAx.js} +1 -1
  41. package/lazy/{casino-favorites-section-nd-D_1Nubhp.js → casino-favorites-section-nd-DgIln8FF.js} +1 -1
  42. package/lazy/{casino-favorites-section-nd-CFnccK6v.cjs → casino-favorites-section-nd-DjeKMUxF.cjs} +1 -1
  43. package/lazy/{casino-game-thumbnail-nd-eUlQLn0K.js → casino-game-thumbnail-nd-8kMdpMPk.js} +1 -1
  44. package/lazy/{casino-game-thumbnail-nd-Tn_yguyo.cjs → casino-game-thumbnail-nd-C427CL5S.cjs} +1 -1
  45. package/lazy/{casino-game-thumbnail-nd-CEZiMfBg.js → casino-game-thumbnail-nd-Pf4_Ko7H.js} +1 -1
  46. package/lazy/{casino-games-category-section-nd-BB938ewD.js → casino-games-category-section-nd-BG6cpa8d.js} +1 -1
  47. package/lazy/{casino-games-category-section-nd-DDzE6fsE.cjs → casino-games-category-section-nd-T7QZEAuQ.cjs} +1 -1
  48. package/lazy/{casino-games-category-section-nd-CcvZwPIk.js → casino-games-category-section-nd-pnRzJrYE.js} +1 -1
  49. package/lazy/{casino-last-played-section-nd-Dwv1oCJN.cjs → casino-last-played-section-nd-CNSwacm9.cjs} +1 -1
  50. package/lazy/{casino-last-played-section-nd-Dv1_1ogL.js → casino-last-played-section-nd-DP_ECPMh.js} +1 -1
  51. package/lazy/{casino-last-played-section-nd-BP9xVAAf.js → casino-last-played-section-nd-R_O85vmj.js} +1 -1
  52. package/lazy/{casino-most-played-section-nd-CqYE0gyC.cjs → casino-most-played-section-nd-Cj3pxAL4.cjs} +1 -1
  53. package/lazy/{casino-most-played-section-nd-BW1B74CC.js → casino-most-played-section-nd-D28H6Me1.js} +1 -1
  54. package/lazy/{casino-most-played-section-nd-5fOH3fyo.js → casino-most-played-section-nd-KtLkiT6W.js} +1 -1
  55. package/lazy/{casino-my-games-nd-DgKBeYuO.cjs → casino-my-games-nd-B2RITBW-.cjs} +1 -1
  56. package/lazy/{casino-my-games-nd-myC3Cabo.js → casino-my-games-nd-C9K9XtmA.js} +1 -1
  57. package/lazy/{casino-my-games-nd-uXEYon3u.js → casino-my-games-nd-CCo1RX1U.js} +1 -1
  58. package/lazy/{casino-page-nd-ChbiXoCd.js → casino-page-nd-DZjzy5A0.js} +1 -1
  59. package/lazy/{casino-page-nd-zZ02XHbX.js → casino-page-nd-DmPy_VT6.js} +1 -1
  60. package/lazy/{casino-page-nd-Dws6iU7T.cjs → casino-page-nd-DnU5zKZg.cjs} +1 -1
  61. package/lazy/{casino-play-random-game-DeHBe5wA.cjs → casino-play-random-game-B_ZqJC9O.cjs} +1 -1
  62. package/lazy/{casino-play-random-game-CoZa7Ts_.js → casino-play-random-game-BwP_PyGn.js} +1 -1
  63. package/lazy/{casino-play-random-game-BAWUP39M.js → casino-play-random-game-DtfZNoGc.js} +1 -1
  64. package/lazy/{casino-search-nd-DQn_qRoz.js → casino-search-nd-CB6Jz-fj.js} +1 -1
  65. package/lazy/{casino-search-nd-BVEERyFX.js → casino-search-nd-DhP7jWDR.js} +1 -1
  66. package/lazy/{casino-search-nd-B-CpZTy6.cjs → casino-search-nd-KagNd6su.cjs} +1 -1
  67. package/lazy/{casino-winners-BBZElN9o.js → casino-winners-BvLipY3u.js} +1 -1
  68. package/lazy/{casino-winners-Cky-4Rf-.cjs → casino-winners-HXeJomsL.cjs} +1 -1
  69. package/lazy/{casino-winners-ICvuU3z4.js → casino-winners-p_6pcIwb.js} +1 -1
  70. package/package.json +1 -1
  71. package/stencil/{casino-play-random-game-CgVzX6ft.cjs → casino-play-random-game-DyQoGWi6.cjs} +1 -1
  72. package/stencil/{casino-play-random-game-xNh3lCLn.js → casino-play-random-game-ViBhO659.js} +2 -2
  73. package/stencil/{casino-play-random-game-DXVh75QU.js → casino-play-random-game-lwEwVdAM.js} +2 -2
  74. package/stencil/{casino-play-random-game_2-86oqD2c-.js → casino-play-random-game_2-C4f-74R0.js} +2 -2
  75. package/stencil/{casino-play-random-game_2-Dh2ixYRd.cjs → casino-play-random-game_2-C64foLSL.cjs} +3 -3
  76. package/stencil/{casino-play-random-game_2-CpRfDfPV.js → casino-play-random-game_2-CDiEK5Rt.js} +2 -2
  77. package/components/CasinoCategoriesSliderNd-DBT3mJuN.cjs +0 -1
@@ -10,7 +10,7 @@ if (typeof window < "u") {
10
10
  }
11
11
  };
12
12
  };
13
- customElements.define = n(customElements.define), import("../components/CasinoPageNd-Coh0P_JT.js").then(({ default: t }) => {
13
+ customElements.define = n(customElements.define), import("../components/CasinoPageNd-ClDzxrvQ.js").then(({ default: t }) => {
14
14
  !customElements.get("casino-page-nd") && customElements.define("casino-page-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/CasinoPageNd-BX1fi2vN.js").then(({ default: t }) => {
13
+ customElements.define = n(customElements.define), import("../components/CasinoPageNd-CEUnHQQS.js").then(({ default: t }) => {
14
14
  !customElements.get("casino-page-nd") && customElements.define("casino-page-nd", 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/CasinoPageNd-Ca64ABfE.cjs")).then(({default:t})=>{!customElements.get("casino-page-nd")&&customElements.define("casino-page-nd",t.element)})}
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/CasinoPageNd-Df-244cc.cjs")).then(({default:t})=>{!customElements.get("casino-page-nd")&&customElements.define("casino-page-nd",t.element)})}
@@ -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-Dh2ixYRd.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-C64foLSL.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-CpRfDfPV.js"
45
+ "../stencil/casino-play-random-game_2-CDiEK5Rt.js"
46
46
  ).then(l, b);
47
47
  }
48
48
  }
@@ -26,7 +26,7 @@ var ye = Object.defineProperty, me = (e, t) => {
26
26
  case "casino-play-random-game_2":
27
27
  return import(
28
28
  /* webpackMode: "lazy" */
29
- "../stencil/casino-play-random-game_2-86oqD2c-.js"
29
+ "../stencil/casino-play-random-game_2-C4f-74R0.js"
30
30
  ).then(l, b);
31
31
  }
32
32
  }
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
10
10
  }
11
11
  };
12
12
  };
13
- customElements.define = n(customElements.define), import("../components/CasinoSearchNd-Cv446ODw.js").then(({ default: t }) => {
13
+ customElements.define = n(customElements.define), import("../components/CasinoSearchNd-CF47Va3O.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 < "u") {
10
10
  }
11
11
  };
12
12
  };
13
- customElements.define = n(customElements.define), import("../components/CasinoSearchNd-BuyMyh1P.js").then(({ default: t }) => {
13
+ customElements.define = n(customElements.define), import("../components/CasinoSearchNd-Da3FewBx.js").then(({ default: t }) => {
14
14
  !customElements.get("casino-search-nd") && customElements.define("casino-search-nd", 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/CasinoSearchNd-bqojEyaI.cjs")).then(({default:t})=>{!customElements.get("casino-search-nd")&&customElements.define("casino-search-nd",t.element)})}
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-BylpwGHL.cjs")).then(({default:t})=>{!customElements.get("casino-search-nd")&&customElements.define("casino-search-nd",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-BCHAHTw2.js").then(({ default: t }) => {
13
+ customElements.define = n(customElements.define), import("../components/CasinoWinners-CHAcCzEQ.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-DMOSATQK.cjs")).then(({default:t})=>{!customElements.get("casino-winners")&&customElements.define("casino-winners",t.element)})}
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-Bb144iKp.cjs")).then(({default:t})=>{!customElements.get("casino-winners")&&customElements.define("casino-winners",t.element)})}
@@ -10,7 +10,7 @@ if (typeof window < "u") {
10
10
  }
11
11
  };
12
12
  };
13
- customElements.define = n(customElements.define), import("../components/CasinoWinners-DDW1LWFm.js").then(({ default: t }) => {
13
+ customElements.define = n(customElements.define), import("../components/CasinoWinners-BM_yLLxK.js").then(({ default: t }) => {
14
14
  !customElements.get("casino-winners") && customElements.define("casino-winners", t.element);
15
15
  });
16
16
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/casino-lobby-nd",
3
- "version": "1.87.19",
3
+ "version": "1.87.21",
4
4
  "type": "module",
5
5
  "main": "es2015/casino-lobby-nd.cjs",
6
6
  "module": "esnext/casino-lobby-nd.js",
@@ -1 +1 @@
1
- "use strict";var s=(n,t,i)=>new Promise((u,c)=>{var m=e=>{try{a(i.next(e))}catch(r){c(r)}},g=e=>{try{a(i.throw(e))}catch(r){c(r)}},a=e=>e.done?u(e.value):Promise.resolve(e.value).then(m,g);a((i=i.apply(n,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("../lazy/casino-play-random-game-DeHBe5wA.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-CgVzX6ft.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;
1
+ "use strict";var s=(n,t,i)=>new Promise((u,c)=>{var m=e=>{try{a(i.next(e))}catch(r){c(r)}},g=e=>{try{a(i.throw(e))}catch(r){c(r)}},a=e=>e.done?u(e.value):Promise.resolve(e.value).then(m,g);a((i=i.apply(n,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("../lazy/casino-play-random-game-B_ZqJC9O.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-DyQoGWi6.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;
@@ -1,5 +1,5 @@
1
- import { b as a, p as t } from "../lazy/casino-play-random-game-BAWUP39M.js";
2
- import { s as g } from "../lazy/casino-play-random-game-BAWUP39M.js";
1
+ import { b as a, p as t } from "../lazy/casino-play-random-game-DtfZNoGc.js";
2
+ import { s as g } from "../lazy/casino-play-random-game-DtfZNoGc.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-CoZa7Ts_.js";
18
- import { s as f } from "../lazy/casino-play-random-game-CoZa7Ts_.js";
17
+ import { b as m, p as u } from "../lazy/casino-play-random-game-BwP_PyGn.js";
18
+ import { s as f } from "../lazy/casino-play-random-game-BwP_PyGn.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 = {};
@@ -1,4 +1,4 @@
1
- import { r as h, c as p, h as t, g as w, H as f } from "../lazy/casino-play-random-game-BAWUP39M.js";
1
+ import { r as h, c as p, h as t, g as w, H as f } from "../lazy/casino-play-random-game-DtfZNoGc.js";
2
2
  const y = () => {
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";
@@ -85,7 +85,7 @@ function x(e, n, a) {
85
85
  }
86
86
  }
87
87
  function k(e, n, a) {
88
- window.emMessageBus && window.emMessageBus.subscribe(e, a);
88
+ return window.emMessageBus && (n = window.emMessageBus.subscribe(e, a)), n;
89
89
  }
90
90
  const G = `:host {
91
91
  display: block;
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("../lazy/casino-play-random-game-DeHBe5wA.cjs"),w=()=>{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"},f="en",r={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"}},l=e=>new Promise(t=>{fetch(e).then(a=>a.json()).then(a=>{h(a),t(!0)})}),s=(e,t)=>{const a=t;return r[a!==void 0&&a in r?a:f][e]},h=e=>{Object.keys(e).forEach(t=>{r[t]||(r[t]={});for(let a in e[t])r[t][a]=e[t][a]})};function m(e,t){if(e){const a=document.createElement("style");a.innerHTML=t,e.appendChild(a)}}function d(e,t){if(!e||!t)return;const a=new URL(t);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 y(e,t,a){if(window.emMessageBus){const i=document.createElement("style");window.emMessageBus.subscribe(t,o=>{i.innerHTML=o,e&&e.appendChild(i)})}}function b(e,t,a){window.emMessageBus&&window.emMessageBus.subscribe(e,a)}const x=`:host {
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../lazy/casino-play-random-game-B_ZqJC9O.cjs"),w=()=>{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"},f="en",r={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"}},l=e=>new Promise(n=>{fetch(e).then(a=>a.json()).then(a=>{h(a),n(!0)})}),s=(e,n)=>{const a=n;return r[a!==void 0&&a in r?a:f][e]},h=e=>{Object.keys(e).forEach(n=>{r[n]||(r[n]={});for(let a in e[n])r[n][a]=e[n][a]})};function m(e,n){if(e){const a=document.createElement("style");a.innerHTML=n,e.appendChild(a)}}function d(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 y(e,n,a){if(window.emMessageBus){const i=document.createElement("style");window.emMessageBus.subscribe(n,o=>{i.innerHTML=o,e&&e.appendChild(i)})}}function b(e,n,a){return window.emMessageBus&&(n=window.emMessageBus.subscribe(e,a)),n}const x=`: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
- }`,k=x,c=class{constructor(e){n.registerInstance(this,e),this.dataLoaded=n.createEvent(this,"data-loaded"),this.animation=null,this.selectedGameIndex=null,this.selectedGameEl=null,this.iconVisibility=null,this.shuffle=t=>{let a=t.length,i;for(;a!==0;)i=Math.floor(Math.random()*a),a--,[t[a],t[i]]=[t[i],t[a]];return t},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,t){e&&e!=t&&this.endpoint&&this.fetchGameList()}handleNewTranslations(){this.isLoading=!0,l(this.translationUrl).then(()=>{this.isLoading=!1})}handleIsIconVisible(){this.iconVisibility=this.iconVisible==="true"}handleClientStylingChange(e,t){e!=t&&m(this.stylingContainer,this.clientStyling)}handleClientStylingChangeURL(e,t){e!=t&&this.clientStylingUrl&&d(this.stylingContainer,this.clientStylingUrl)}connectedCallback(){this.handleIsIconVisible()}componentWillLoad(){if(this.translationUrl.length>2&&l(this.translationUrl),!this.translationUrl&&this.mbSource&&window.emMessageBus!=null&&b(`${this.mbSource}.Translation`,this.translationSubscription,h),this.endpoint&&this.language&&this.datasource)return this.fetchGameList()}componentDidLoad(){window.emMessageBus!=null?y(this.stylingContainer,`${this.mbSource}.Style`):(this.clientStyling&&m(this.stylingContainer,this.clientStyling),this.clientStylingUrl&&d(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",w()),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((t,a)=>{this.isLoading=!0,fetch(e.href).then(i=>i.json()).then(i=>{this.gamesToShow=this.setUpGames(i==null?void 0:i.items),t(!0)}).catch(i=>{console.error(i),this.hasErrors=!0,a(i)}).finally(()=>{this.isLoading=!1,this.dataLoaded.emit({target:this.host})})})}setUpGames(e){const t=this.shuffle(e).slice(0,40);return t.concat(t)}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"&&gtag("event","PlayRandomGame",{context:"CasinoPlayRandomGame"})}respin(){this.animateGames(),typeof gtag=="function"&&gtag("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"),t=parseInt(e,10),a=this.selectedGameEl.offsetWidth,i=this.gameContainer.offsetWidth,o=(a+t)*this.selectedGameIndex+a/2-i/2,u=[{transform:"translateX(0px)",scale:1},{scale:.75},{transform:`translateX(-${o}px)`,scale:1}],p={duration:3e3,easing:"cubic-bezier(0.5, 0, 0.5, 1.2)",fill:"forwards"};this.animation=this.gameContainer.animate(u,p),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"&&gtag("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"&&gtag("event","OpenRandomGameInfo",{context:"CasinoPlayRandomGame"})}renderGameDetails(){return n.h("div",{class:"RandomButtonsWrapper"},n.h("div",{class:"RandomGameDetails"},n.h("span",{class:"RandomGameTitle"},this.selectedGame.name),n.h("span",{class:"RandomGameInfo",onClick:()=>this.showGameInfo()},"i")),n.h("div",{class:"RandomButtons"},n.h("button",{class:"RandomButton On",onClick:()=>this.respin()},s("spinRandomGame",this.language)),!this.launchByGameCard&&n.h("button",{class:"RandomButton On",onClick:()=>this.playGame()},s("playNowRandomGame",this.language))))}renderSkeleton(){const e=Array.from({length:5},(t,a)=>n.h("div",{class:"RandomGameCard",key:a},n.h("ui-skeleton",{structure:"rectangle",width:"300px",height:"420px",borderRadius:"10px",animation:!0})));return n.h("div",{class:"RandomGameWrapper"},n.h("div",{class:"GameContainerGradient"}),n.h("div",{class:"GamesContainer"},e))}render(){return n.h("div",{key:"a1e3f626fea9bcd6a351f1769675e11b21ac8fbd",ref:e=>this.stylingContainer=e},this.hasErrors?n.h("div",{class:"RandomGameError"},n.h("div",{class:"Title"},s("error",this.language))):this.isLoading?this.renderSkeleton():n.h("div",{class:"RandomGameWrapper"},n.h("div",{class:"GameContainerGradient"}),n.h("div",{class:"GamesContainer",ref:e=>this.gameContainer=e},this.gamesToShow&&this.gamesToShow.map((e,t)=>n.h("div",{class:"RandomGameCard",key:t,onClick:this.launchByGameCard==="true"?()=>this.playGame():void 0},n.h("div",{class:"RandomGameVendor"},e.vendor.name),n.h("img",{class:"RandomGameImage",src:e.thumbnail,alt:e.name,title:e.name}),this.selectedGame&&this.selectedGameIndex===t&&this.renderGameDetails()))),n.h("div",{class:`ButtonWrapper ${this.animationDone?"HideAnimation":""}`},n.h("div",{class:"ButtonContainer"},this.iconVisibility&&n.h("div",{class:`ButtonIcon ${this.animationStarted?"Flip":""}`},n.h("div",{class:"QustionMark"},"?"),n.h("div",{class:"HexagonMarkShadow"}),n.h("div",{class:"HexagonMark"})),!this.animationStarted&&n.h("div",{class:`RandomButton ${this.animationStarted?"HideAnimation":""}`,onClick:()=>this.playRandomGame()},s("playRandomGame",this.language))))))}get host(){return n.getElement(this)}static get watchers(){return{endpoint:["watchEndpoint"],datasource:["watchEndpoint"],language:["watchEndpoint"],translationUrl:["handleNewTranslations"],iconVisible:["handleIsIconVisible"],clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingChangeURL"]}}};c.style=k;const G=":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)}}",v=G,g=class{constructor(e){n.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,t){t!==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 n.h("div",{class:"SkeletonContainer"},n.h("div",{class:"SkeletonLogo "+(this.animation?"Skeleton":"")}))}renderImage(){return n.h("div",{class:"SkeletonImage "+(this.animation?"Skeleton":"")})}renderTitle(){return n.h("div",{class:"SkeletonContainer"},n.h("div",{class:"SkeletonTitle "+(this.animation?"Skeleton":"")}))}renderText(){return n.h("div",{class:"SkeletonContainer"},Array.from({length:this.rows>0?this.rows:1}).map((e,t)=>n.h("div",{key:t,class:"SkeletonText "+(this.animation?"Skeleton":"")})))}renderRectangle(){return n.h("div",{class:"SkeletonContainer"},n.h("div",{class:"SkeletonRectangle "+(this.animation?"Skeleton":"")}))}renderCircle(){return n.h("div",{class:"SkeletonContainer"},n.h("div",{class:"SkeletonCircle "+(this.animation?"Skeleton":"")}))}render(){let e="";switch(this.structure){case"logo":e=`
378
+ }`,k=x,c=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,l(this.translationUrl).then(()=>{this.isLoading=!1})}handleIsIconVisible(){this.iconVisibility=this.iconVisible==="true"}handleClientStylingChange(e,n){e!=n&&m(this.stylingContainer,this.clientStyling)}handleClientStylingChangeURL(e,n){e!=n&&this.clientStylingUrl&&d(this.stylingContainer,this.clientStylingUrl)}connectedCallback(){this.handleIsIconVisible()}componentWillLoad(){if(this.translationUrl.length>2&&l(this.translationUrl),!this.translationUrl&&this.mbSource&&window.emMessageBus!=null&&b(`${this.mbSource}.Translation`,this.translationSubscription,h),this.endpoint&&this.language&&this.datasource)return this.fetchGameList()}componentDidLoad(){window.emMessageBus!=null?y(this.stylingContainer,`${this.mbSource}.Style`):(this.clientStyling&&m(this.stylingContainer,this.clientStyling),this.clientStylingUrl&&d(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",w()),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"&&gtag("event","PlayRandomGame",{context:"CasinoPlayRandomGame"})}respin(){this.animateGames(),typeof gtag=="function"&&gtag("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,u=[{transform:"translateX(0px)",scale:1},{scale:.75},{transform:`translateX(-${o}px)`,scale:1}],p={duration:3e3,easing:"cubic-bezier(0.5, 0, 0.5, 1.2)",fill:"forwards"};this.animation=this.gameContainer.animate(u,p),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"&&gtag("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"&&gtag("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()},s("spinRandomGame",this.language)),!this.launchByGameCard&&t.h("button",{class:"RandomButton On",onClick:()=>this.playGame()},s("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:"a1e3f626fea9bcd6a351f1769675e11b21ac8fbd",ref:e=>this.stylingContainer=e},this.hasErrors?t.h("div",{class:"RandomGameError"},t.h("div",{class:"Title"},s("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()},s("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"]}}};c.style=k;const G=":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)}}",v=G,g=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};
@@ -429,4 +429,4 @@
429
429
  :host {
430
430
  --emw-skeleton-circle-size: ${this.stylingValue.size};
431
431
  }
432
- `;break;default:e=""}return n.h(n.Host,{key:"c2a2650acd416962a2bc4e1a7ee18bc6d8e2def8"},n.h("style",{key:"9bd7fc1f9e9ed9f17735a7b72fce6f09696f5e19"},e),this.handleStructure(this.structure))}static get watchers(){return{structure:["handleStructureChange"]}}};g.style=v;exports.casino_play_random_game=c;exports.ui_skeleton=g;
432
+ `;break;default:e=""}return t.h(t.Host,{key:"c2a2650acd416962a2bc4e1a7ee18bc6d8e2def8"},t.h("style",{key:"9bd7fc1f9e9ed9f17735a7b72fce6f09696f5e19"},e),this.handleStructure(this.structure))}static get watchers(){return{structure:["handleStructureChange"]}}};g.style=v;exports.casino_play_random_game=c;exports.ui_skeleton=g;
@@ -1,4 +1,4 @@
1
- import { r as h, c as p, h as t, g as w, H as f } from "../lazy/casino-play-random-game-CoZa7Ts_.js";
1
+ import { r as h, c as p, h as t, g as w, H as f } from "../lazy/casino-play-random-game-BwP_PyGn.js";
2
2
  const y = () => {
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";
@@ -85,7 +85,7 @@ function x(e, n, a) {
85
85
  }
86
86
  }
87
87
  function k(e, n, a) {
88
- window.emMessageBus && window.emMessageBus.subscribe(e, a);
88
+ return window.emMessageBus && (n = window.emMessageBus.subscribe(e, a)), n;
89
89
  }
90
90
  const G = `:host {
91
91
  display: block;
@@ -1 +0,0 @@
1
- "use strict";const t=require("./CasinoCalendar-CaDbhEtZ.cjs");require("../lazy/casino-slider-nd-B2JQrllu.cjs");function ne(a,e){t.addMessages(a,e)}const oe={en:{lobbyName:"Lobby",myGamesName:"My games"},de:{lobbyName:"Lobby",myGamesName:"My games"},es:{lobbyName:"Sala",myGamesName:"Mis juegos"},"zh-hk":{lobbyName:"Lobby",myGamesName:"My games"},it:{lobbyName:"Lobby",myGamesName:"My games"},fr:{lobbyName:"Lobby",myGamesName:"My games"},tr:{lobbyName:"Lobi",myGamesName:"Oyunlarım"},ru:{lobbyName:"Lobby",myGamesName:"My games"},ro:{lobbyName:"Lobby",myGamesName:"My games"},hr:{lobbyName:"Lobby",myGamesName:"Moje igre"},hu:{lobbyName:"Lobby",myGamesName:"My games"},pl:{lobbyName:"Lobby",myGamesName:"My games"},pt:{lobbyName:"Lobby",myGamesName:"My games"},sl:{lobbyName:"Lobby",myGamesName:"My games"},sr:{lobbyName:"Lobby",myGamesName:"My games"},"pt-br":{lobbyName:"Lobby",myGamesName:"Meus jogos"},"es-mx":{lobbyName:"Lobby",myGamesName:"Mis juegos"},"en-us":{lobbyName:"Lobby",myGamesName:"My games"}};function K(a,e,s){window.emMessageBus&&window.emMessageBus.subscribe(a,s)}function le(a){t.append_styles(a,"svelte-ciaihq",".svelte-ciaihq{font-family:inherit}.CasinoCategoriesLoading.svelte-ciaihq{height:52px}p.svelte-ciaihq{color:var( --emw--categories-typography, var(--emw--color-white) #FFFFFF);text-align:center}.CasinoCategoriesContainer.svelte-ciaihq{background:transparent;border-radius:var(--emw--border-radius-medium, 10px);padding-top:20px}")}function ce(a){let e,s;return{c(){e=t.element("div"),s=t.element("casino-slider-nd"),t.set_custom_element_data(s,"lang",a[3]),t.set_custom_element_data(s,"datasource",a[2]),t.set_custom_element_data(s,"endpoint",a[1]),t.set_custom_element_data(s,"identity",j),t.set_custom_element_data(s,"favoritesnumber",a[16]),t.set_custom_element_data(s,"showsubgroups",a[9]),t.set_custom_element_data(s,"clientstyling",a[5]),t.set_custom_element_data(s,"clientstylingurl",a[6]),t.set_custom_element_data(s,"activeindex",a[0]),t.set_custom_element_data(s,"actionevent",a[7]),t.set_custom_element_data(s,"location",a[8]),t.set_custom_element_data(s,"categoriesicon",a[10]),t.set_custom_element_data(s,"lobbyiconimage",a[11]),t.set_custom_element_data(s,"mygamesiconimage",a[12]),t.set_custom_element_data(s,"mbsource",a[4]),t.set_custom_element_data(s,"class","svelte-ciaihq"),t.attr(e,"class","CasinoCategoriesContainer svelte-ciaihq")},m(o,n){t.insert(o,e,n),t.append(e,s)},p(o,n){n[0]&8&&t.set_custom_element_data(s,"lang",o[3]),n[0]&4&&t.set_custom_element_data(s,"datasource",o[2]),n[0]&2&&t.set_custom_element_data(s,"endpoint",o[1]),n[0]&65536&&t.set_custom_element_data(s,"favoritesnumber",o[16]),n[0]&512&&t.set_custom_element_data(s,"showsubgroups",o[9]),n[0]&32&&t.set_custom_element_data(s,"clientstyling",o[5]),n[0]&64&&t.set_custom_element_data(s,"clientstylingurl",o[6]),n[0]&1&&t.set_custom_element_data(s,"activeindex",o[0]),n[0]&128&&t.set_custom_element_data(s,"actionevent",o[7]),n[0]&256&&t.set_custom_element_data(s,"location",o[8]),n[0]&1024&&t.set_custom_element_data(s,"categoriesicon",o[10]),n[0]&2048&&t.set_custom_element_data(s,"lobbyiconimage",o[11]),n[0]&4096&&t.set_custom_element_data(s,"mygamesiconimage",o[12]),n[0]&16&&t.set_custom_element_data(s,"mbsource",o[4])},d(o){o&&t.detach(e)}}}function re(a){let e;return{c(){e=t.element("p"),e.textContent="500 Error - Internal Server Error.",t.attr(e,"class","SearchLoading svelte-ciaihq")},m(s,o){t.insert(s,e,o)},p:t.noop,d(s){s&&t.detach(e)}}}function me(a){let e;return{c(){e=t.element("div"),t.attr(e,"class","CasinoCategoriesLoading svelte-ciaihq")},m(s,o){t.insert(s,e,o)},p:t.noop,d(s){s&&t.detach(e)}}}function ue(a){let e;function s(l,c){return l[13]||ge||ye?me:l[15]?re:ce}let o=s(a),n=o(a);return{c(){e=t.element("div"),n.c(),t.attr(e,"class","svelte-ciaihq")},m(l,c){t.insert(l,e,c),n.m(e,null),a[27](e)},p(l,c){o===(o=s(l))&&n?n.p(l,c):(n.d(1),n=o(l),n&&(n.c(),n.m(e,null)))},i:t.noop,o:t.noop,d(l){l&&t.detach(e),n.d(),a[27](null)}}}let j="CasinoSliderData",ge=!1,ye=!1;function fe(a,e,s){let o;t.component_subscribe(a,t.$format,i=>s(33,o=i));let{endpoint:n=""}=e,{datasource:l=""}=e,{lang:c=""}=e,{userid:P=""}=e,{session:N=""}=e,{mostplayed:w=""}=e,{lastplayed:L="false"}=e,{favorites:M=""}=e,{mbsource:d}=e,{clientstyling:v=""}=e,{clientstylingurl:C=""}=e,{activecategory:u=""}=e,{actionevent:z=""}=e,{sessioncheck:F=""}=e,{location:A="secondaryMenu"}=e,{showsubgroups:E="false"}=e,{filteredcategories:S=""}=e,{translationurl:_=""}=e,{categoriesicon:O=""}=e,{lobbyiconimage:B=""}=e,{mygamesiconimage:D=""}=e,{customizecategoryicon:G="false"}=e,R,U,g=!0,h,b=[],y=!1,V=window.navigator.userAgent,m,W,I,Y=!1,k=!1;const q=i=>{Object.keys(i).forEach(r=>{ne(r,i[r])})},X=()=>{fetch(_).then(r=>r.json()).then(r=>{q(r)}).catch(r=>{console.log(r)})};q(oe);const Z=()=>{Y==!1&&(M=="true"||w=="true"||L=="true")&&b.splice(1,0,{id:"MYGAMES",name:R,href:"",games:[]}),t.tick(),Y=!0,s(26,k=!0),x()},p=()=>(n||(h="Endpoint is missing! Please provide a valid endpointURL.",s(15,y=!0),s(13,g=!1),console.error(h)),l||(h="Datasource is missing! Please provide a valid datasource.",s(15,y=!0),s(13,g=!1),console.error(h)),(!c||c.length<2)&&(h="Language is missing! Please provide a valid language (alpha2code)",s(15,y=!0),s(13,g=!1),console.error(h)),y),$=()=>{if(R=o("myGamesName"),U=o("lobbyName"),!p()){let i=new URL(`${n}/v2/casino/groups/${l}`);i.searchParams.append("language",c),i.searchParams.append("platform",t.getDevice(V));let r="id,name,games(href),flags";G==="true"&&(r+=",icon"),i.searchParams.append("fields",r),fetch(i).then(f=>f.json()).then(f=>{let se=S.split(","),ie=f.items.filter(J=>{let T=!1;if(J.games.total>0&&(T=!0,S))for(let ae of se)J.flags==ae&&(T=!1);return T});b=[],b=b.concat(ie),b.unshift({id:"LOBBY",name:U,href:"",games:[]}),s(13,g=!1)},f=>{s(15,y=!0),console.error("There was an error while fetching the categories",f)}).catch(f=>{s(15,y=!0),console.error("There was an error while fetching the categories",f)})}},ee=()=>{let i=u.split("$");s(0,u=i.length>2?u.split("$").slice(0,2).join("$"):u)},x=()=>{window.postMessage({type:"SliderData",identity:j,data:b},window.location.href)},H=i=>{i.data&&i.data.type=="SliderMounted"&&i.data.identity==j&&x()};t.onMount(()=>(window.addEventListener("message",H),()=>{window.removeEventListener("message",H)}));function te(i){t.binding_callbacks[i?"unshift":"push"](()=>{m=i,s(14,m)})}return a.$$set=i=>{"endpoint"in i&&s(1,n=i.endpoint),"datasource"in i&&s(2,l=i.datasource),"lang"in i&&s(3,c=i.lang),"userid"in i&&s(17,P=i.userid),"session"in i&&s(18,N=i.session),"mostplayed"in i&&s(19,w=i.mostplayed),"lastplayed"in i&&s(20,L=i.lastplayed),"favorites"in i&&s(21,M=i.favorites),"mbsource"in i&&s(4,d=i.mbsource),"clientstyling"in i&&s(5,v=i.clientstyling),"clientstylingurl"in i&&s(6,C=i.clientstylingurl),"activecategory"in i&&s(0,u=i.activecategory),"actionevent"in i&&s(7,z=i.actionevent),"sessioncheck"in i&&s(22,F=i.sessioncheck),"location"in i&&s(8,A=i.location),"showsubgroups"in i&&s(9,E=i.showsubgroups),"filteredcategories"in i&&s(23,S=i.filteredcategories),"translationurl"in i&&s(24,_=i.translationurl),"categoriesicon"in i&&s(10,O=i.categoriesicon),"lobbyiconimage"in i&&s(11,B=i.lobbyiconimage),"mygamesiconimage"in i&&s(12,D=i.mygamesiconimage),"customizecategoryicon"in i&&s(25,G=i.customizecategoryicon)},a.$$.update=()=>{a.$$.dirty[0]&14&&n&&l&&c&&$(),a.$$.dirty[0]&3940354&&n&&N&&(w||L||M)&&!g&&Z(),a.$$.dirty[0]&67379201&&!g&&u&&(!N||k)&&ee(),a.$$.dirty[0]&16777216&&_&&X(),a.$$.dirty[0]&16416&&v&&m&&t.setClientStyling(m,v),a.$$.dirty[0]&16448&&C&&m&&t.setClientStylingURL(m,C),a.$$.dirty[0]&16400&&d&&m&&t.setStreamStyling(m,`${d}.Style`),a.$$.dirty[0]&16777232&&d&&!_&&K(`${d}.Translation`,W,q)},s(16,I=0),[u,n,l,c,d,v,C,z,A,E,O,B,D,g,m,y,I,P,N,w,L,M,F,S,_,G,k,te]}class Q extends t.SvelteComponent{constructor(e){super(),t.init(this,e,fe,ue,t.safe_not_equal,{endpoint:1,datasource:2,lang:3,userid:17,session:18,mostplayed:19,lastplayed:20,favorites:21,mbsource:4,clientstyling:5,clientstylingurl:6,activecategory:0,actionevent:7,sessioncheck:22,location:8,showsubgroups:9,filteredcategories:23,translationurl:24,categoriesicon:10,lobbyiconimage:11,mygamesiconimage:12,customizecategoryicon:25},le,[-1,-1])}get endpoint(){return this.$$.ctx[1]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[2]}set datasource(e){this.$$set({datasource:e}),t.flush()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),t.flush()}get userid(){return this.$$.ctx[17]}set userid(e){this.$$set({userid:e}),t.flush()}get session(){return this.$$.ctx[18]}set session(e){this.$$set({session:e}),t.flush()}get mostplayed(){return this.$$.ctx[19]}set mostplayed(e){this.$$set({mostplayed:e}),t.flush()}get lastplayed(){return this.$$.ctx[20]}set lastplayed(e){this.$$set({lastplayed:e}),t.flush()}get favorites(){return this.$$.ctx[21]}set favorites(e){this.$$set({favorites:e}),t.flush()}get mbsource(){return this.$$.ctx[4]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get clientstyling(){return this.$$.ctx[5]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[6]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get activecategory(){return this.$$.ctx[0]}set activecategory(e){this.$$set({activecategory:e}),t.flush()}get actionevent(){return this.$$.ctx[7]}set actionevent(e){this.$$set({actionevent:e}),t.flush()}get sessioncheck(){return this.$$.ctx[22]}set sessioncheck(e){this.$$set({sessioncheck:e}),t.flush()}get location(){return this.$$.ctx[8]}set location(e){this.$$set({location:e}),t.flush()}get showsubgroups(){return this.$$.ctx[9]}set showsubgroups(e){this.$$set({showsubgroups:e}),t.flush()}get filteredcategories(){return this.$$.ctx[23]}set filteredcategories(e){this.$$set({filteredcategories:e}),t.flush()}get translationurl(){return this.$$.ctx[24]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get categoriesicon(){return this.$$.ctx[10]}set categoriesicon(e){this.$$set({categoriesicon:e}),t.flush()}get lobbyiconimage(){return this.$$.ctx[11]}set lobbyiconimage(e){this.$$set({lobbyiconimage:e}),t.flush()}get mygamesiconimage(){return this.$$.ctx[12]}set mygamesiconimage(e){this.$$set({mygamesiconimage:e}),t.flush()}get customizecategoryicon(){return this.$$.ctx[25]}set customizecategoryicon(e){this.$$set({customizecategoryicon:e}),t.flush()}}t.create_custom_element(Q,{endpoint:{},datasource:{},lang:{},userid:{},session:{},mostplayed:{},lastplayed:{},favorites:{},mbsource:{},clientstyling:{},clientstylingurl:{},activecategory:{},actionevent:{},sessioncheck:{},location:{},showsubgroups:{},filteredcategories:{},translationurl:{},categoriesicon:{},lobbyiconimage:{},mygamesiconimage:{},customizecategoryicon:{}},[],[],!0);const de=Object.freeze(Object.defineProperty({__proto__:null,default:Q},Symbol.toStringTag,{value:"Module"}));exports.CasinoCategoriesSliderNd_ce=de;exports.getStreamTranslations=K;