@everymatrix/casino-game-thumb-view 1.54.11 → 1.55.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/casino-game-thumb-view/casino-game-thumb-view.esm.js +1 -1
- package/dist/casino-game-thumb-view/p-3ac1ceb2.entry.js +7 -0
- package/dist/casino-game-thumb-view/p-6f25852e.entry.js +1 -0
- package/dist/casino-game-thumb-view/p-89d09251.js +2 -0
- package/dist/casino-game-thumb-view/p-c7ae1205.entry.js +1 -0
- package/dist/casino-game-thumb-view/{p-600af885.entry.js → p-c9da4e8b.entry.js} +1 -1
- package/dist/casino-game-thumb-view/p-cbb0566f.entry.js +1 -0
- package/dist/casino-game-thumb-view/p-cfd13ff8.entry.js +1 -0
- package/dist/cjs/casino-extrainfo-baccarat.cjs.entry.js +5 -1
- package/dist/cjs/casino-extrainfo-blackjack.cjs.entry.js +6 -1
- package/dist/cjs/casino-extrainfo-roulette.cjs.entry.js +4 -4
- package/dist/cjs/casino-game-thumb-view.cjs.js +2 -2
- package/dist/cjs/casino-game-thumb-view_2.cjs.entry.js +40 -51
- package/dist/cjs/casino-game-thumbnail-betlimit_2.cjs.entry.js +7 -2
- package/dist/cjs/casino-normal-game-thumbnail.cjs.entry.js +2 -1
- package/dist/cjs/{index-b36c6933.js → index-0892a7c6.js} +145 -255
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/casino-extrainfo-baccarat/casino-extrainfo-baccarat.js +4 -4
- package/dist/collection/components/casino-extrainfo-blackjack/casino-extrainfo-blackjack.js +7 -2
- package/dist/collection/components/casino-extrainfo-roulette/casino-extrainfo-roulette.js +3 -5
- package/dist/collection/components/casino-game-thumb-view/casino-game-thumb-view.js +33 -99
- package/dist/collection/components/casino-game-thumbnail-betlimit/casino-game-thumbnail-betlimit.js +3 -5
- package/dist/collection/components/casino-game-thumbnail-extrainfo/casino-game-thumbnail-extrainfo.js +4 -3
- package/dist/collection/components/casino-game-thumbnail-overlay/casino-game-thumbnail-overlay.js +6 -27
- package/dist/collection/components/casino-normal-game-thumbnail/casino-normal-game-thumbnail.js +3 -2
- package/dist/esm/casino-extrainfo-baccarat.entry.js +5 -1
- package/dist/esm/casino-extrainfo-blackjack.entry.js +6 -1
- package/dist/esm/casino-extrainfo-roulette.entry.js +4 -4
- package/dist/esm/casino-game-thumb-view.js +3 -3
- package/dist/esm/casino-game-thumb-view_2.entry.js +40 -51
- package/dist/esm/casino-game-thumbnail-betlimit_2.entry.js +7 -2
- package/dist/esm/casino-normal-game-thumbnail.entry.js +2 -1
- package/dist/esm/{index-23b4a4c5.js → index-bbccad17.js} +145 -255
- package/dist/esm/loader.js +2 -2
- package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/casino-game-thumb-view/.stencil/packages/stencil/casino-game-thumb-view/stencil.config.d.ts +2 -0
- package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/casino-game-thumb-view/.stencil/packages/stencil/casino-game-thumb-view/stencil.config.dev.d.ts +2 -0
- package/package.json +1 -1
- package/dist/casino-game-thumb-view/p-13741d4d.js +0 -2
- package/dist/casino-game-thumb-view/p-53ba085b.entry.js +0 -1
- package/dist/casino-game-thumb-view/p-b13b5c25.entry.js +0 -1
- package/dist/casino-game-thumb-view/p-c6ee2783.entry.js +0 -1
- package/dist/casino-game-thumb-view/p-dd797f50.entry.js +0 -7
- package/dist/casino-game-thumb-view/p-ee2bdcce.entry.js +0 -1
- package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/casino-game-thumb-view/.stencil/packages/stencil/casino-game-thumb-view/stencil.config.d.ts +0 -2
- package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/casino-game-thumb-view/.stencil/packages/stencil/casino-game-thumb-view/stencil.config.dev.d.ts +0 -2
- /package/dist/types/{builds/emfe-widgets → Users/maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/casino-game-thumb-view/.stencil/tools/plugins/index.d.ts +0 -0
- /package/dist/types/{builds/emfe-widgets → Users/maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/casino-game-thumb-view/.stencil/tools/plugins/stencil-clean-deps-plugin.d.ts +0 -0
- /package/dist/types/{builds/emfe-widgets → Users/maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/casino-game-thumb-view/.stencil/tools/plugins/vite-chunk-plugin.d.ts +0 -0
- /package/dist/types/{builds/emfe-widgets → Users/maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/casino-game-thumb-view/.stencil/tools/plugins/vite-clean-deps-plugin.d.ts +0 -0
@@ -1 +1 @@
|
|
1
|
-
import{p as e,b as a}from"./p-
|
1
|
+
import{p as e,b as a}from"./p-89d09251.js";export{s as setNonce}from"./p-89d09251.js";import{g as n}from"./p-e1255160.js";(()=>{const a=import.meta.url,n={};return""!==a&&(n.resourcesUrl=new URL(".",a).href),e(n)})().then((async e=>(await n(),a([["p-6f25852e",[[4,"casino-game-thumbnail-extrainfo",{language:[1],betLimit:[32],gameInfo:[32],gameDetails:[32],onGameLoaded:[64],onGameDetailUpdated:[64]}],[0,"casino-game-thumbnail-betlimit",{betLimit:[16],numberOfPlayers:[2,"number-of-players"]}]]],["p-c9da4e8b",[[0,"casino-extrainfo-baccarat",{language:[1],showRoundBoard:[4,"show-round-board"],gameInfo:[32],gameDetails:[32],onGameLoaded:[64],onGameDetailUpdated:[64],onBaccaratResultChanged:[64]},null,{gameDetails:["gameDetailsHandler"]}]]],["p-cbb0566f",[[0,"casino-extrainfo-blackjack",{language:[1],gameInfo:[32],gameDetails:[32],seatsStatus:[32],isTableFull:[32],onGameLoaded:[64],onGameDetailUpdated:[64]}]]],["p-cfd13ff8",[[0,"casino-extrainfo-roulette",{language:[1],gameInfo:[32],gameDetails:[32],showLiveClass:[32],onGameLoaded:[64],onGameDetailUpdated:[64]}]]],["p-c7ae1205",[[0,"casino-normal-game-thumbnail",{language:[1],onGameLoaded:[64]}]]],["p-3ac1ceb2",[[1,"casino-game-thumb-view",{language:[1],endpoint:[1],userId:[8,"user-id"],showGameName:[4,"show-game-name"],session:[1],showFavoredCategory:[4,"show-favored-category"],clientStyling:[1,"client-styling"],clientStylingUrl:[1,"client-styling-url"],integratedGameframeMobile:[4,"integrated-gameframe-mobile"],gamepageModalurl:[1,"gamepage-modalurl"],integratedGameframeDesktop:[4,"integrated-gameframe-desktop"],loadDetails:[4,"load-details"],showRoundBoard:[4,"show-round-board"],visibilityConnect:[1,"visibility-connect"],connectLive:[1,"connect-live"],gameCategory:[1,"game-category"],livelobbyEndpoint:[1,"livelobby-endpoint"],gameId:[8,"game-id"],gameName:[1,"game-name"],subVendor:[1,"sub-vendor"],gameVendor:[1,"game-vendor"],hasFunMode:[4,"has-fun-mode"],hasAnonymousFunMode:[4,"has-anonymous-fun-mode"],platform:[1],thumbnail:[1],isFavorite:[4,"is-favorite"],isNew:[4,"is-new"],cellSize:[1,"cell-size"],gameTag:[1,"game-tag"],type:[1],gameInfo:[32],isTableFull:[32],hover:[32]},[[1,"mouseenter","handleMouseOver"],[1,"mouseleave","handleMouseOver"],[4,"gameFavorited","gameFavoritedHandler"],[0,"gameDetailChange","gameDetailChangeHandler"]],{session:["onSessionChanged"],userId:["onSessionChanged"],isTableFull:["onTableFullChanged"],connectLive:["connectLiveHandler"],visibilityConnect:["visibilityConnectHandler"]}],[4,"casino-game-thumbnail-overlay",{gamepageModalurl:[1,"gamepage-modalurl"],integratedGameframeMobile:[4,"integrated-gameframe-mobile"],integratedGameframeDesktop:[4,"integrated-gameframe-desktop"],language:[1],gameName:[1,"game-name"],gameVendor:[1,"game-vendor"],gameId:[8,"game-id"],hasFunMode:[4,"has-fun-mode"]}]]]],e))));
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import{r as t,c as e,h as i}from"./p-89d09251.js";import{c as n,i as a}from"./p-d2580653.js";import{G as o,a as s,W as r}from"./p-2d02adb1.js";import{t as h}from"./p-59ceeaaa.js";var l,c,d="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},m={exports:{}};
|
2
|
+
/** @license
|
3
|
+
* eventsource.js
|
4
|
+
* Available under MIT License (MIT)
|
5
|
+
* https://github.com/Yaffle/EventSource/
|
6
|
+
*/
|
7
|
+
l=m,c=m.exports,function(t){var e=t.setTimeout,i=t.clearTimeout,n=t.XMLHttpRequest,a=t.XDomainRequest,o=t.ActiveXObject,s=t.EventSource,r=t.document,h=t.Promise,d=t.fetch,m=t.Response,u=t.TextDecoder,g=t.TextEncoder,f=t.AbortController;if("undefined"==typeof window||void 0===r||"readyState"in r||null!=r.body||(r.readyState="loading",window.addEventListener("load",(function(){r.readyState="complete"}),!1)),null==n&&null!=o&&(n=function(){return new o("Microsoft.XMLHTTP")}),null==Object.create&&(Object.create=function(t){function e(){}return e.prototype=t,new e}),Date.now||(Date.now=function(){return(new Date).getTime()}),null==f){var p=d;d=function(t,e){var i=e.signal;return p(t,{headers:e.headers,credentials:e.credentials,cache:e.cache}).then((function(t){var e=t.body.getReader();return i._reader=e,i._aborted&&i._reader.cancel(),{status:t.status,statusText:t.statusText,headers:t.headers,body:{getReader:function(){return e}}}}))},f=function(){this.signal={_reader:null,_aborted:!1},this.abort=function(){null!=this.signal._reader&&this.signal._reader.cancel(),this.signal._aborted=!0}}}function v(){this.bitsNeeded=0,this.codePoint=0}v.prototype.decode=function(t){function e(t,e,i){if(1===i)return t>=128>>e&&t<<e<=2047;if(2===i)return t>=2048>>e&&t<<e<=55295||t>=57344>>e&&t<<e<=65535;if(3===i)return t>=65536>>e&&t<<e<=1114111;throw new Error}function i(t,e){if(6===t)return e>>6>15?3:e>31?2:1;if(12===t)return e>15?3:2;if(18===t)return 3;throw new Error}for(var n=65533,a="",o=this.bitsNeeded,s=this.codePoint,r=0;r<t.length;r+=1){var h=t[r];0!==o&&(h<128||h>191||!e(s<<6|63&h,o-6,i(o,s)))&&(o=0,s=n,a+=String.fromCharCode(s)),0===o?(h>=0&&h<=127?(o=0,s=h):h>=192&&h<=223?(o=6,s=31&h):h>=224&&h<=239?(o=12,s=15&h):h>=240&&h<=247?(o=18,s=7&h):(o=0,s=n),0===o||e(s,o,i(o,s))||(o=0,s=n)):(o-=6,s=s<<6|63&h),0===o&&(s<=65535?a+=String.fromCharCode(s):(a+=String.fromCharCode(55296+(s-65535-1>>10)),a+=String.fromCharCode(56320+(s-65535-1&1023))))}return this.bitsNeeded=o,this.codePoint=s,a},null!=u&&null!=g&&function(){try{return"test"===(new u).decode((new g).encode("test"),{stream:!0})}catch(t){console.debug("TextDecoder does not support streaming option. Using polyfill instead: "+t)}return!1}()||(u=v);var w=function(){};function b(t){this.withCredentials=!1,this.readyState=0,this.status=0,this.statusText="",this.responseText="",this.onprogress=w,this.onload=w,this.onerror=w,this.onreadystatechange=w,this._contentType="",this._xhr=t,this._sendTimeout=0,this._abort=w}function I(t){return t.replace(/[A-Z]/g,(function(t){return String.fromCharCode(t.charCodeAt(0)+32)}))}function C(t){for(var e=Object.create(null),i=t.split("\r\n"),n=0;n<i.length;n+=1){var a=i[n].split(": "),o=a.shift(),s=a.join(": ");e[I(o)]=s}this._map=e}function M(){}function L(t){this._headers=t}function G(){}function y(){this._listeners=Object.create(null)}function x(t){e((function(){throw t}),0)}function T(t){this.type=t,this.target=void 0}function j(t,e){T.call(this,t),this.data=e.data,this.lastEventId=e.lastEventId}function N(t,e){T.call(this,t),this.status=e.status,this.statusText=e.statusText,this.headers=e.headers}function A(t,e){T.call(this,t),this.error=e.error}b.prototype.open=function(t,a){this._abort(!0);var o=this,s=this._xhr,r=1,h=0;this._abort=function(t){0!==o._sendTimeout&&(i(o._sendTimeout),o._sendTimeout=0),1!==r&&2!==r&&3!==r||(r=4,s.onload=w,s.onerror=w,s.onabort=w,s.onprogress=w,s.onreadystatechange=w,s.abort(),0!==h&&(i(h),h=0),t||(o.readyState=4,o.onabort(null),o.onreadystatechange())),r=0};var l=function(){if(1===r){var t=0,e="",i=void 0;if("contentType"in s)t=200,e="OK",i=s.contentType;else try{t=s.status,e=s.statusText,i=s.getResponseHeader("Content-Type")}catch(n){t=0,e="",i=void 0}0!==t&&(r=2,o.readyState=2,o.status=t,o.statusText=e,o._contentType=i,o.onreadystatechange())}},c=function(){if(l(),2===r||3===r){r=3;var t="";try{t=s.responseText}catch(t){}o.readyState=3,o.responseText=t,o.onprogress()}},d=function(t,e){if(null!=e&&null!=e.preventDefault||(e={preventDefault:w}),c(),1===r||2===r||3===r){if(r=4,0!==h&&(i(h),h=0),o.readyState=4,"load"===t)o.onload(e);else if("error"===t)o.onerror(e);else{if("abort"!==t)throw new TypeError;o.onabort(e)}o.onreadystatechange()}},m=function(){h=e((function(){m()}),500),3===s.readyState&&c()};"onload"in s&&(s.onload=function(t){d("load",t)}),"onerror"in s&&(s.onerror=function(t){d("error",t)}),"onabort"in s&&(s.onabort=function(t){d("abort",t)}),"onprogress"in s&&(s.onprogress=c),"onreadystatechange"in s&&(s.onreadystatechange=function(t){!function(t){null!=s&&(4===s.readyState?"onload"in s&&"onerror"in s&&"onabort"in s||d(""===s.responseText?"error":"load",t):3===s.readyState?"onprogress"in s||c():2===s.readyState&&l())}(t)}),!("contentType"in s)&&"ontimeout"in n.prototype||(a+=(-1===a.indexOf("?")?"?":"&")+"padding=true"),s.open(t,a,!0),"readyState"in s&&(h=e((function(){m()}),0))},b.prototype.abort=function(){this._abort(!1)},b.prototype.getResponseHeader=function(){return this._contentType},b.prototype.setRequestHeader=function(t,e){var i=this._xhr;"setRequestHeader"in i&&i.setRequestHeader(t,e)},b.prototype.getAllResponseHeaders=function(){return null!=this._xhr.getAllResponseHeaders&&this._xhr.getAllResponseHeaders()||""},b.prototype.send=function(){if("ontimeout"in n.prototype&&("sendAsBinary"in n.prototype||"mozAnon"in n.prototype)||null==r||null==r.readyState||"complete"===r.readyState){var t=this._xhr;"withCredentials"in t&&(t.withCredentials=this.withCredentials);try{t.send(void 0)}catch(t){throw t}}else{var i=this;i._sendTimeout=e((function(){i._sendTimeout=0,i.send()}),4)}},C.prototype.get=function(t){return this._map[I(t)]},null!=n&&null==n.HEADERS_RECEIVED&&(n.HEADERS_RECEIVED=2),M.prototype.open=function(t,e,i,a,o,s,r){t.open("GET",o);var h=0;for(var l in t.onprogress=function(){var e=t.responseText.slice(h);h+=e.length,i(e)},t.onerror=function(t){t.preventDefault(),a(new Error("NetworkError"))},t.onload=function(){a(null)},t.onabort=function(){a(null)},t.onreadystatechange=function(){if(t.readyState===n.HEADERS_RECEIVED){var i=t.status,a=t.statusText,o=t.getResponseHeader("Content-Type"),s=t.getAllResponseHeaders();e(i,a,o,new C(s))}},t.withCredentials=s,r)Object.prototype.hasOwnProperty.call(r,l)&&t.setRequestHeader(l,r[l]);return t.send(),t},L.prototype.get=function(t){return this._headers.get(t)},G.prototype.open=function(t,e,i,n,a,o,s){var r=null,l=new f,c=l.signal,m=new u;return d(a,{headers:s,credentials:o?"include":"same-origin",signal:c,cache:"no-store"}).then((function(t){return r=t.body.getReader(),e(t.status,t.statusText,t.headers.get("Content-Type"),new L(t.headers)),new h((function(t,e){var n=function(){r.read().then((function(e){if(e.done)t(void 0);else{var a=m.decode(e.value,{stream:!0});i(a),n()}})).catch((function(t){e(t)}))};n()}))})).catch((function(t){return"AbortError"===t.name?void 0:t})).then((function(t){n(t)})),{abort:function(){null!=r&&r.cancel(),l.abort()}}},y.prototype.dispatchEvent=function(t){t.target=this;var e=this._listeners[t.type];if(null!=e)for(var i=e.length,n=0;n<i;n+=1){var a=e[n];try{"function"==typeof a.handleEvent?a.handleEvent(t):a.call(this,t)}catch(t){x(t)}}},y.prototype.addEventListener=function(t,e){t=String(t);var i=this._listeners,n=i[t];null==n&&(i[t]=n=[]);for(var a=!1,o=0;o<n.length;o+=1)n[o]===e&&(a=!0);a||n.push(e)},y.prototype.removeEventListener=function(t,e){t=String(t);var i=this._listeners,n=i[t];if(null!=n){for(var a=[],o=0;o<n.length;o+=1)n[o]!==e&&a.push(n[o]);0===a.length?delete i[t]:i[t]=a}},j.prototype=Object.create(T.prototype),N.prototype=Object.create(T.prototype),A.prototype=Object.create(T.prototype);var F=/^text\/event\-stream(;.*)?$/i,D=function(t,e){var i=null==t?e:parseInt(t,10);return i!=i&&(i=e),k(i)},k=function(t){return Math.min(Math.max(t,1e3),18e6)},z=function(t,e,i){try{"function"==typeof e&&e.call(t,i)}catch(t){x(t)}};function O(t,o){y.call(this),o=o||{},this.onopen=void 0,this.onmessage=void 0,this.onerror=void 0,this.url=void 0,this.readyState=void 0,this.withCredentials=void 0,this.headers=void 0,this._close=void 0,function(t,o,s){o=String(o);var r=Boolean(s.withCredentials),h=s.lastEventIdQueryParameterName||"lastEventId",l=k(1e3),c=D(s.heartbeatTimeout,45e3),d="",m=l,u=!1,g=0,f=s.headers||{},p=s.Transport,v=S&&null==p?void 0:new b(null!=p?new p:null!=n&&"withCredentials"in n.prototype||null==a?new n:new a),w=null!=p&&"string"!=typeof p?new p:null==v?new G:new M,I=void 0,C=0,L=-1,y="",x="",T="",O="",E=0,B=0,U=0,Q=function(e,i,n,a){if(0===L)if(200===e&&null!=n&&F.test(n)){L=1,u=Date.now(),m=l,t.readyState=1;var o=new N("open",{status:e,statusText:i,headers:a});t.dispatchEvent(o),z(t,t.onopen,o)}else{var s="";200!==e?(i&&(i=i.replace(/\s+/g," ")),s="EventSource's response has a status "+e+" "+i+" that is not 200. Aborting the connection."):s="EventSource's response has a Content-Type specifying an unsupported type: "+(null==n?"-":n.replace(/\s+/g," "))+". Aborting the connection.",W(),o=new N("error",{status:e,statusText:i,headers:a}),t.dispatchEvent(o),z(t,t.onerror,o),console.error(s)}},Y=function(n){if(1===L){for(var a=-1,o=0;o<n.length;o+=1)(h=n.charCodeAt(o))!=="\n".charCodeAt(0)&&h!=="\r".charCodeAt(0)||(a=o);var s=(-1!==a?O:"")+n.slice(0,a+1);O=(-1===a?O:"")+n.slice(a+1),""!==n&&(u=Date.now(),g+=n.length);for(var r=0;r<s.length;r+=1){var h=s.charCodeAt(r);if(-1===E&&h==="\n".charCodeAt(0))E=0;else if(-1===E&&(E=0),h==="\r".charCodeAt(0)||h==="\n".charCodeAt(0)){if(0!==E){1===E&&(U=r+1);var f=s.slice(B,U-1),p=s.slice(U+(U<r&&s.charCodeAt(U)===" ".charCodeAt(0)?1:0),r);"data"===f?(y+="\n",y+=p):"id"===f?x=p:"event"===f?T=p:"retry"===f?(l=D(p,l),m=l):"heartbeatTimeout"===f&&(c=D(p,c),0!==C&&(i(C),C=e((function(){R()}),c)))}if(0===E){if(""!==y){d=x,""===T&&(T="message");var v=new j(T,{data:y.slice(1),lastEventId:x});if(t.dispatchEvent(v),"open"===T?z(t,t.onopen,v):"message"===T?z(t,t.onmessage,v):"error"===T&&z(t,t.onerror,v),2===L)return}y="",T=""}E=h==="\r".charCodeAt(0)?-1:0}else 0===E&&(B=r,E=1),1===E?h===":".charCodeAt(0)&&(U=r+1,E=2):2===E&&(E=3)}}},P=function(n){if(1===L||0===L){L=-1,0!==C&&(i(C),C=0),C=e((function(){R()}),m),m=k(Math.min(16*l,2*m)),t.readyState=0;var a=new A("error",{error:n});t.dispatchEvent(a),z(t,t.onerror,a),null!=n&&console.error(n)}},W=function(){L=2,null!=I&&(I.abort(),I=void 0),0!==C&&(i(C),C=0),t.readyState=2},R=function(){if(C=0,-1===L){u=!1,g=0,C=e((function(){R()}),c),L=0,y="",T="",x=d,O="",B=0,U=0,E=0;var i=o;if("data:"!==o.slice(0,5)&&"blob:"!==o.slice(0,5)&&""!==d){var n=o.indexOf("?");i=-1===n?o:o.slice(0,n+1)+o.slice(n+1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g,(function(t,e){return e===h?"":t})),i+=(-1===o.indexOf("?")?"?":"&")+h+"="+encodeURIComponent(d)}var a=t.withCredentials,s={Accept:"text/event-stream"},r=t.headers;if(null!=r)for(var l in r)Object.prototype.hasOwnProperty.call(r,l)&&(s[l]=r[l]);try{I=w.open(v,Q,Y,P,i,a,s)}catch(t){throw W(),t}}else if(u||null==I){var m=Math.max((u||Date.now())+c-Date.now(),1);u=!1,C=e((function(){R()}),m)}else P(new Error("No activity within "+c+" milliseconds. "+(0===L?"No response received.":g+" chars received.")+" Reconnecting.")),null!=I&&(I.abort(),I=void 0)};t.url=o,t.readyState=0,t.withCredentials=r,t.headers=f,t._close=W,R()}(this,t,o)}var S=null!=d&&null!=m&&"body"in m.prototype;(O.prototype=Object.create(y.prototype)).CONNECTING=0,O.prototype.OPEN=1,O.prototype.CLOSED=2,O.prototype.close=function(){this._close()},O.CONNECTING=0,O.OPEN=1,O.CLOSED=2,O.prototype.withCredentials=void 0;var E,B=s;null==n||null!=s&&"withCredentials"in s.prototype||(B=O),E=function(t){t.EventSourcePolyfill=O,t.NativeEventSource=s,t.EventSource=B}(c),void 0!==E&&(l.exports=E)}("undefined"==typeof globalThis?"undefined"!=typeof window?window:"undefined"!=typeof self?self:d:globalThis);const u=class{constructor(i){t(this,i),this.toggleFavoriteCasinoGameEvent=e(this,"toggleCasinoGameFavorite",7),this.thumbnailLoaded=!1,this.containerClassWhenDetailChange="",this.isUserLoggedIn=!1,this.limitStylingAppends=!1,this.setClientStyling=()=>{let t=document.createElement("style");t.innerHTML=this.clientStyling,this.stylingContainer.prepend(t)},this.setClientStylingURL=()=>{let t=new URL(this.clientStylingUrl),e=document.createElement("style");fetch(t.href).then((t=>t.text())).then((t=>{e.innerHTML=t,setTimeout((()=>{this.stylingContainer.prepend(e)}),1)})).catch((t=>{console.error("error ",t)}))},this.getGameCategoryType=()=>this.isLiveCasino&&this.gameCategory&&this.getWidgetTypeByGameCategory(this.gameCategory)?`casino-extrainfo-${this.getWidgetTypeByGameCategory(this.gameCategory).toLowerCase()}`:"casino-normal-game-thumbnail",this.getGameContainerClass=()=>{let t="GameContainer ";return this.gameInfo&&this.gameInfo&&this.gameInfo.details&&(t+=" ListGame ",this.gameInfo.details.isOpen&&this.gameInfo.details.currentRouletteNumbers&&(t+=" GameBackdrop ")),t},this.language="en",this.endpoint=void 0,this.userId=void 0,this.showGameName=void 0,this.session=void 0,this.showFavoredCategory=void 0,this.clientStyling="",this.clientStylingUrl="",this.integratedGameframeMobile=!1,this.gamepageModalurl=void 0,this.integratedGameframeDesktop=!1,this.loadDetails=!1,this.showRoundBoard=!1,this.visibilityConnect=void 0,this.connectLive=void 0,this.gameCategory="",this.livelobbyEndpoint=void 0,this.gameId=void 0,this.gameName=void 0,this.subVendor=void 0,this.gameVendor=void 0,this.hasFunMode=void 0,this.hasAnonymousFunMode=void 0,this.platform="PC",this.thumbnail=void 0,this.isFavorite=void 0,this.isNew=void 0,this.cellSize=void 0,this.gameTag=void 0,this.type=void 0,this.gameInfo=void 0,this.isTableFull=void 0,this.hover=void 0}onSessionChanged(){this.isUserLoggedIn=!(!this.session||!this.userId)}onTableFullChanged(t,e){null!=e&&(this.containerClassWhenDetailChange=t&&!e?"PulsatingRedShadow":"PulsatingGreenShadow")}handleMouseOver(t){this.hover="mouseenter"===t.type}gameFavoritedHandler(t){this.gameInfo.isFavorite=t.detail[this.gameId],this.gameInfo=Object.assign({},this.gameInfo)}connectLiveHandler(){this.toggleConnect()}visibilityConnectHandler(){this.toggleVisibilityConnect()}gameDetailChangeHandler(t){var e,i;let a=JSON.parse(t.data);if(a.needReconnect&&this.liveLobbyConnection)return this.liveLobbyConnection.close(),this.liveLobbyConnection=null,void this.connectGameToLiveLobby();if(!a||a.InternalTableId!=this.gameId)return;let o=a.MessageType;switch(o){case"TableOpened":case"TableClosed":this.gameInfo.details.isOpen=a.Open;break;case"PlayersUpdated":this.gameInfo.details.numberOfPlayers=a.Players;break;case"RouletteResultsUpdated":this.gameInfo.details.currentRouletteNumbers=a.Results;break;case"DoubleBallRouletteResultsUpdated":this.gameInfo.details.currentDoubleBallRouletteNumbers=a.Results;break;case"SeatsUpdated":this.gameInfo.details.currentOccupiedSeats=a.Seats;break;case"DealerChanged":this.gameInfo.details.dealer=a.Dealer;break;case"BaccaratResultsUpdated":if(this.showRoundBoard){const t=a.Results;this.gameInfo.details.results=[],t.forEach((t=>{this.gameInfo.details.results.push(n(t))})),null===(e=this.extraInfoRef)||void 0===e||e.onBaccaratResultChanged(this.gameInfo.details.results)}}this.resetLiveProperties(),null===(i=this.extraInfoRef)||void 0===i||i.onGameDetailUpdated(this.gameInfo.details),window.postMessage({messageType:o,value:t.data})}messageHandler(t){t.data.type!==`AddFavoriteThumbnail_${this.gameId}`||this.showFavoredCategory||(this.gameInfo.isFavorite=!0),t.data.type!==`RemoveFavoriteThumbnail_${this.gameId}`||this.showFavoredCategory||(this.gameInfo.isFavorite=!1),"UserSessionID"===t.data.type&&(this.isUserLoggedIn=!0,this.session=t.data.session,this.userId=t.data.userID)}resetLiveProperties(){var t,e;const i=this.gameInfo.details;this.isBlackJack(this.gameCategory.toLowerCase())?this.isTableFull=i.totalSeats==(null===(t=i.currentOccupiedSeats)||void 0===t?void 0:t.length):this.isBaccarat(this.gameCategory.toLowerCase())&&(null===(e=i.baccaratResults)||void 0===e?void 0:e.length)>0&&(this.gameInfo.details.results=[],i.baccaratResults.forEach((t=>{this.gameInfo.details.results.push(n(t))})),delete i.baccaratResults)}isBlackJack(t){return t.toLowerCase()===o.BLACKJACK}isBaccarat(t){return t.toLowerCase()===o.BACCARAT}initCtrlProperties(){var t;this.isLiveCasino&&(null===(t=this.gameInfo)||void 0===t?void 0:t.details)&&this.resetLiveProperties(),this.gameInfo=Object.assign({},this.gameInfo),this.triggerExtraInfoLoad(),this.isLiveCasino&&"connect"===this.connectLive&&this.connectGameToLiveLobby()}parseGameResponse(t){1==t.length&&(this.gameInfo=t[0],this.isLiveCasino?this.gameInfo.details?this.parseGameDetailsResponse():this.loadGameDetailInfo():this.initCtrlProperties())}parseGameDetailsResponse(){this.initCtrlProperties()}connectGameToLiveLobby(){EventSource&&!this.liveLobbyConnection&&(this.liveLobbyConnection=new m.exports.EventSourcePolyfill(`${this.endpoint}/v1/encoder/lobby/updates/${this.gameInfo.vendor.name}/${this.gameInfo.id}`),this.liveLobbyConnection.addEventListener("message",(t=>{this.gameDetailChangeHandler(t)})))}disconnectGameFromLiveLobby(){this.liveLobbyConnection&&(this.liveLobbyConnection.removeEventListener("message"),this.liveLobbyConnection.close(),this.liveLobbyConnection=void 0)}toggleConnect(){this.isLiveCasino&&("disconnect"===this.connectLive?this.disconnectGameFromLiveLobby():"connect"===this.connectLive&&this.connectGameToLiveLobby())}toggleVisibilityConnect(){this.isLiveCasino&&("disconnect"===this.visibilityConnect?this.disconnectGameFromLiveLobby():"connect"===this.visibilityConnect&&"connect"===this.connectLive&&this.connectGameToLiveLobby())}loadGameById(){fetch(`${this.endpoint}/v1/casino/games/${this.gameId}?expand=vendor&platform=${this.platform}&language=${this.language}`).then((t=>t.json())).then((t=>this.parseGameResponse(t))).catch((t=>{console.error(t)}))}loadGameInfoByLobbyEndpoint(){let t=new URL(`${this.livelobbyEndpoint.split("?")[0]}`);t.searchParams.append("expand","vendor"),t.searchParams.append("platform",this.platform),t.searchParams.append("language",this.language),fetch(t.toString()).then((t=>t.json())).then((t=>this.parseGameResponse(t))).catch((t=>console.error(t)))}loadGameDetailInfo(){let t=new URL(`${this.endpoint}/v1/lobby/tables/${this.gameId}`);t.searchParams.append("platform",this.platform),t.searchParams.append("language",this.language),fetch(t.toString()).then((t=>t.json())).then((t=>{(null==t?void 0:t.category)&&(this.gameInfo.details=t,this.parseGameDetailsResponse())})).catch((t=>{console.error(t),setTimeout((()=>this.loadGameDetailInfo()),1e3)}))}toggleFavoriteGame(t){let e="thumbnail";this.gameInfo.isFavorite?window.postMessage({type:"SetUnfavoredGame",gameId:t,triggerFactor:e},window.location.href):window.postMessage({type:"SetFavoredGame",gameId:t,triggerFactor:e},window.location.href),this.toggleFavoriteCasinoGameEvent.emit(t)}generateGameInfoByProps(){return{id:this.gameId,name:this.gameName,subVendor:this.subVendor,hasFunMode:this.hasFunMode,hasAnonymousFunMode:this.hasAnonymousFunMode,thumbnail:this.thumbnail,cellSize:this.cellSize,gameTag:this.gameTag,vendor:{href:"",name:this.gameVendor},isFavorite:this.isFavorite,isNew:this.isNew,type:this.type,liveCasinoCategory:this.gameCategory||""}}triggerExtraInfoLoad(){var t,e;this.extraInfoRef=this.extraInfoRef||(null===(t=this.extraInfoSlotRef)||void 0===t?void 0:t.querySelector(this.getGameCategoryType())),null===(e=this.extraInfoRef)||void 0===e||e.onGameLoaded(this.gameInfo),window.postMessage({type:"casinoGameLoaded",gameInfo:this.gameInfo})}componentDidRender(){!this.limitStylingAppends&&this.stylingContainer&&(this.clientStyling&&this.setClientStyling(),this.clientStylingUrl&&this.setClientStylingURL(),this.limitStylingAppends=!0),this.gameInfo&&this.triggerExtraInfoLoad()}componentDidLoad(){window.addEventListener("message",this.messageHandler)}componentWillLoad(){if(this.isLiveCasino=this.type==s.LIVE_CASINO,this.extraInfoWidget=this.getGameCategoryType(),this.isUserLoggedIn=!(!this.session||!this.userId),!this.isLiveCasino||!this.livelobbyEndpoint)return this.thumbnail?(this.gameInfo=this.generateGameInfoByProps(),void(this.isLiveCasino&&this.endpoint&&this.loadDetails&&this.gameId&&this.loadGameDetailInfo())):void(this.gameId&&this.endpoint&&this.loadGameById());this.loadGameInfoByLobbyEndpoint()}disconnectedCallback(){this.liveLobbyConnection&&this.liveLobbyConnection.removeEventListener("message",this.gameDetailChangeHandler),window.removeEventListener("message",this.messageHandler)}getWidgetTypeByGameCategory(t){return r[t.toLowerCase()]}getGameOverlayProps(){var t,e;return{gameName:this.gameInfo.name,gameId:this.gameInfo.gameId,gameVendor:this.gameVendor||(null===(e=null===(t=this.gameInfo)||void 0===t?void 0:t.vendor)||void 0===e?void 0:e.name),hasFunMode:this.gameInfo.hasFunMode,language:this.language,integratedGameframeMobile:this.integratedGameframeMobile,integratedGameframeDesktop:this.integratedGameframeDesktop,gamepageModalurl:this.gamepageModalurl}}render(){var t,e;if(!this.gameInfo)return i("div",{class:"GameInnerContainer",part:"GameInnerContainer",slot:"Game-Inner"},i("img",{src:this.thumbnail,alt:"",loading:"lazy",part:"GameContainer",class:"GameContainer",onLoad:()=>this.thumbnailLoaded=!0}));const n=this.getGameOverlayProps(),o=(null===(t=this.gameInfo)||void 0===t?void 0:t.thumbnail)||(null===(e=this.gameInfo)||void 0===e?void 0:e.defaultThumbnail),s=this.getGameContainerClass(),r=`GameBg ${this.cellSize?"GameBg-"+this.cellSize:""}\n ${this.hover?" GameContainerHovered":""} ${this.thumbnailLoaded?" Loaded":""}`;return i("div",{class:`${s} ${this.containerClassWhenDetailChange}`,part:`${s} ${this.containerClassWhenDetailChange}`,ref:t=>this.stylingContainer=t,"client-styling":this.clientStyling,"client-styling-url-content":this.clientStylingUrl},i("div",{class:"GameInnerContainer "+(this.hover?"Hovered":""),part:"GameInnerContainer "+(this.hover?"Hovered":"")},i("img",{src:o,alt:"Game Thumbnail ",loading:"lazy",part:r,class:r,onLoad:()=>this.thumbnailLoaded=!0}),this.isUserLoggedIn&&i("div",{class:"FavIconContainer "+(this.gameInfo.isFavorite?"Favorited":""),part:"FavIconContainer "+(this.gameInfo.isFavorite?"Favorited":""),onClick:()=>this.toggleFavoriteGame(this.gameId)},this.gameInfo.isFavorite?i("slot",{name:"fav-icon"},i("span",{class:"FavoredIcon",part:"FavoredIcon",innerHTML:"data:image/svg+xml;base64,PHN2ZwogIHZlcnNpb249IjEuMSIKICB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiAgdmlld0JveD0iMCAwIDE5LjQ4MSAxOS40ODEiCiAgZW5hYmxlLWJhY2tncm91bmQ9Im5ldyAwIDAgMTkuNDgxIDE5LjQ4MSIKPgogIDxwYXRoCiAgICBkPSJtMTAuMjAxLC43NThsMi40NzgsNS44NjUgNi4zNDQsLjU0NWMwLjQ0LDAuMDM4IDAuNjE5LDAuNTg3IDAuMjg1LDAuODc2bC00LjgxMiw0LjE2OSAxLjQ0Miw2LjIwMmMwLjEsMC40MzEtMC4zNjcsMC43Ny0wLjc0NSwwLjU0MWwtNS40NTItMy4yODgtNS40NTIsMy4yODhjLTAuMzc5LDAuMjI4LTAuODQ1LTAuMTExLTAuNzQ1LTAuNTQxbDEuNDQyLTYuMjAyLTQuODEzLTQuMTdjLTAuMzM0LTAuMjg5LTAuMTU2LTAuODM4IDAuMjg1LTAuODc2bDYuMzQ0LS41NDUgMi40NzgtNS44NjRjMC4xNzItMC40MDggMC43NDktMC40MDggMC45MjEsMHoiLz4KPC9zdmc+Cg=="})):i("slot",{name:"UnFavIcon"},!a(window.navigator.userAgent)&&i("span",{class:"UnfavoredIcon",part:"UnfavoredIcon",innerHTML:"data:image/svg+xml;base64,PHN2ZwogIHZlcnNpb249IjEuMSIKICBjbGFzcz0iVW5mYXZvcmVkSWNvbiIKICB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiAgeD0iMjBweCIKICB5PSIyMHB4IgogIHZpZXdCb3g9IjAgMCA1MTIuMDAxIDUxMi4wMDEiCj4KICA8cGF0aAogICAgZD0iTTUxMS4yNjYsMTk3LjI1NmMtMS43NjQtNS40MzEtNi40NTgtOS4zODgtMTIuMTA4LTEwLjIwOWwtMTU4LjcyMi0yMy4wNjVMMjY5LjQ1MiwyMC4xNTUKICAgICAgICAgICAgICAgICAgICAgIGMtMi41MjctNS4xMi03Ljc0MS04LjM2MS0xMy40NTEtOC4zNjFjLTUuNzA5LDAtMTAuOTI0LDMuMjQyLTEzLjQ1MSw4LjM2MWwtNzAuOTg4LDE0My44MjhMMTIuODQzLDE4Ny4wNDcKICAgICAgICAgICAgICAgICAgICAgIGMtNS42NSwwLjgyMS0xMC4zNDQsNC43NzktMTIuMTA4LDEwLjIwOWMtMS43NjUsNS40My0wLjI5MywxMS4zOTEsMy43OTUsMTUuMzc2bDExNC44NDgsMTExLjk1NUw5Mi4yNyw0ODIuNjcKICAgICAgICAgICAgICAgICAgICAgIGMtMC45NjUsNS42MjcsMS4zNDksMTEuMzE1LDUuOTY4LDE0LjY3YzQuNjE4LDMuMzU1LDEwLjc0LDMuNzk4LDE1Ljc5NywxLjE0MkwyNTYsNDIzLjg0NmwxNDEuOTYxLDc0LjYzNwogICAgICAgICAgICAgICAgICAgICAgYzIuMTk1LDEuMTU0LDQuNTkxLDEuNzIzLDYuOTc5LDEuNzIzYzMuMTEsMCw2LjIwNi0wLjk2Niw4LjgxOC0yLjg2NWM0LjYxOS0zLjM1Niw2LjkzMy05LjA0Myw1Ljk2OC0xNC42NzFMMzkyLjYxLDMyNC41ODcKICAgICAgICAgICAgICAgICAgICAgIGwxMTQuODYtMTExLjk1NEM1MTEuNTU5LDIwOC42NDcsNTEzLjAzMSwyMDIuNjg2LDUxMS4yNjYsMTk3LjI1NnogTTM2Ni4wMjMsMzA4LjYwOGMtMy41MzYsMy40NDYtNS4xNSw4LjQxMi00LjMxNCwxMy4yNzgKICAgICAgICAgICAgICAgICAgICAgIGwyMy4zMTEsMTM1Ljg5OGwtMTIyLjAzOC02NC4xNjJjLTQuMzctMi4yOTctOS41OTEtMi4yOTctMTMuOTYxLDBsLTEyMi4wNDUsNjQuMTYzbDIzLjMwNC0xMzUuOQogICAgICAgICAgICAgICAgICAgICAgYzAuODM0LTQuODY2LTAuNzc5LTkuODMtNC4zMTMtMTMuMjc2bC05OC43MzEtOTYuMjQ0bDEzNi40NDUtMTkuODI5YzQuODg2LTAuNzEsOS4xMDgtMy43NzgsMTEuMjk0LTguMjA1TDI1Niw2MC42ODUKICAgICAgICAgICAgICAgICAgICAgIGw2MS4wMjMsMTIzLjY0NWMyLjE4Niw0LjQyNyw2LjQwOCw3LjQ5NiwxMS4yOTQsOC4yMDZsMTM2LjQ0NywxOS44MjhMMzY2LjAyMywzMDguNjA4eiIKICAvPgo8L3N2Zz4K"}))),i("slot",{name:"game-overlay"},i("casino-game-thumbnail-overlay",Object.assign({language:this.language},n))),i("slot",{name:"extra-info",ref:t=>this.extraInfoSlotRef=t},i(this.extraInfoWidget,{language:this.language,"show-round-board":this.showRoundBoard})),i("slot",{name:"game-property-slot"})),this.showGameName&&i("slot",{name:"game-name"},i("p",{class:"GameNameBelow",part:"GameNameBelow",title:n.gameName},n.gameName)))}static get assetsDirs(){return["static"]}static get watchers(){return{session:["onSessionChanged"],userId:["onSessionChanged"],isTableFull:["onTableFullChanged"],connectLive:["connectLiveHandler"],visibilityConnect:["visibilityConnectHandler"]}}};u.style=':host{display:block}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GameContainer{width:100%;height:100%;position:relative}.GameInnerContainer{position:relative;width:100%;height:100%;overflow:hidden;border-radius:5px}.GameInnerContainer .GameBg{width:100%;height:100%;object-fit:unset;transition:all 150ms ease-in-out}.GameInnerContainer .GameBg.GameBg-1x2,.GameInnerContainer .GameBg.GameBg-2x1,.GameInnerContainer .GameBg.GameBg-2x2{object-fit:cover}.GameInnerContainer:hover{cursor:pointer}.GameInnerContainer:hover .GameInfoWrapper{display:block}.GameInnerContainer:hover .GameBg{filter:blur(5px) grayscale(1)}.ListGame.GameBackdrop .GameInnerContainer::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(0deg, rgb(0, 0, 0) 15%, rgba(0, 0, 0, 0) 100%)}.ListGame .GameInnerContainer{z-index:0}.ListGame .GameInnerContainer .GameBg{z-index:5}.ListGame .GameInnerContainer::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0}.ListGame .GameInnerContainer.GameInnerContainerUnavailable::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.9)}.ListGame .GameInnerContainer .ListGame:hover .OpenSeat,.ListGame .GameInnerContainer .ListGame:hover .ClosedSeat,.ListGame .GameInnerContainer .ListGame:hover .LiveLimits,.ListGame .GameInnerContainer .ListGame:hover .LatestResult,.ListGame .GameInnerContainer .ListGame:hover .FullTable,.ListGame .GameInnerContainer .ListGame:active .OpenSeat,.ListGame .GameInnerContainer .ListGame:active .ClosedSeat,.ListGame .GameInnerContainer .ListGame:active .LiveLimits,.ListGame .GameInnerContainer .ListGame:active .LatestResult,.ListGame .GameInnerContainer .ListGame:active .FullTable{opacity:0.2}.ListGame .GameInnerContainer .ListGame.GameContainerDimmed:before{display:block;content:" ";width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.4);color:var(--emw--color-white, #FFFFFF);fill:var(--emw--color-white, #FFFFFF);opacity:1;border-radius:4px}.ListGame .GameInnerContainer .ListGame.GameContainerFullyDimmed:before{display:block;content:" ";width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.8);color:var(--emw--color-white, #FFFFFF);fill:var(--emw--color-white, #FFFFFF);opacity:1;border-radius:4px}.ListGame .GameInnerContainer .ListGame:hover .LiveProps,.ListGame .GameInnerContainer .ListGameLink:hover .LiveProps{opacity:0}@keyframes red-pulse{0%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}15%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}30%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}50%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}65%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}80%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}100%{box-shadow:0 0 0 0 rgba(255, 0, 0, 0.75)}}@keyframes green-pulse{0%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}15%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}30%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}50%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}65%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}80%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}100%{box-shadow:0 0 0 0 rgba(86, 168, 10, 0.75)}}@keyframes flip-open{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.ListGame .GameInnerContainer .silde-in-from-left{-webkit-animation-name:silde-in-from-left;animation-name:silde-in-from-left;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}@-webkit-keyframes silde-in-from-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes silde-in-from-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes flip-closed-seat{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.ListGame .GameInnerContainer .ListGame.PulsatingGreenShadow{animation:green-pulse 2s linear}.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{animation:red-pulse 2s linear}.ListGame .GameInnerContainer .Blue{color:#4d90a7}.ListGame .GameInnerContainer .Red{background-color:red}.ListGame .GameInnerContainer .Black{background-color:var(--emw--color-black, #000000)}.ListGame .GameInnerContainer .Green{background-color:#56A80A}.ListGame .GameInnerContainer .White{background-color:var(--emw--color-white, #FFFFFF)}.ListGame .GameInnerContainer .Yellow{background-color:#eeca3d}.ListGame .GameInnerContainer .Gold{background-color:#866d0c}.ListGame .GameInnerContainer .Orange{background-color:#574708}.ListGame .GameInnerContainer .Purple{background-color:#330033}.ListGame .GameInnerContainer .Tie{background-color:var(--emw--color-white, #FFFFFF);background-image:linear-gradient(135deg, var(--emw--color-white, #FFFFFF) 25%, transparent 25%, transparent 50%, #212121 50%, var(--emw--color-white, #FFFFFF) 75%, transparent 75%, var(--emw--color-white, #FFFFFF))}.ListGame .GameInnerContainer .PlayersDisplay{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;padding:2px 10px;background:linear-gradient(to bottom, rgba(33, 33, 33, 0.9) 0%, rgba(33, 33, 33, 0.1) 100%);color:var(--emw--color-white, #FFFFFF)}.ListGame .GameInnerContainer .PlayersDisplay .PlayersIcon{width:14px;height:14px;margin-right:4px}.ListGame .GameInnerContainer .PlayersDisplay .PlayersIcon svg{fill:var(--emw--color-white, #FFFFFF);width:100%;height:100%}.ListGame .GameInnerContainer .ClosedGame{opacity:1;z-index:10;padding:8px 10px;color:var(--emw--color-white, #FFFFFF);font-size:18px}.ListGame .GameInnerContainer .ClosedGame span{font-size:18px}.ListGame .GameInnerContainer .Players{display:inline-block;width:19px;height:19px}.FavIconContainer{position:absolute;top:10px;right:10px;cursor:pointer;z-index:16;width:15px;height:15px;opacity:0}.FavIconContainer.Favorited{opacity:1}.FavIconContainer svg path{fill:#fff}.Hovered .FavIconContainer{opacity:1}.GameNameBelow{color:var(--emw--color-white, #FFFFFF);position:relative;bottom:-5px;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}';const g=class{constructor(i){t(this,i),this.playClicked=e(this,"playCasinoGame",7),this.userAgent=window.navigator.userAgent,this.gamepageModalurl=void 0,this.integratedGameframeMobile=!1,this.integratedGameframeDesktop=!1,this.language="en",this.gameName=void 0,this.gameVendor=void 0,this.gameId=void 0,this.hasFunMode=void 0}onPlayNowClicked(){this.playClicked.emit(this.gameId);let t={gameId:this.gameId,isMobile:a(this.userAgent)},e=this.integratedGameframeMobile||this.integratedGameframeDesktop;window.postMessage({type:e?"OpenGameFrame":"ShowGameModal",eventData:e?Object.assign(Object.assign({},t),{gamefunmode:this.hasFunMode,source:"GameThumbnail",identifier:"Lobby"}):t},window.location.href)}render(){return i("div",{key:"b552e85f9652d467595f9603e564387148d81417",class:"GameInfoWrapper",part:"GameInfoWrapper"},i("div",{key:"c8ad8953997fa38e46f076be71c8a26a5a47afcd",class:"GameInfo ",part:"GameInfo "},i("p",{key:"7477d68d364589d8fd2ef80ec15f4457a0f8c69d",class:"GameInfoName",part:"GameInfoName",title:this.gameName}," ",this.gameName," "),i("button",{key:"280a36956cf541b909c8c6269f2bfd0e51ebf07b",class:"GameInfoBtn",part:"GameInfoBtn",onClick:()=>this.onPlayNowClicked()},h("playNow",this.language))),i("slot",{key:"79c3e4ceb605025b5b25be04339a63096cd36e28",name:"vendor-name"},i("span",{key:"fdb2ebaa6eaf1f3e11356aff6c043ed6a0c41a35",class:"GameInfoVendor",part:"GameInfoVendor"},this.gameVendor)))}};g.style=":host{display:block}.GameInfoWrapper{display:none;position:absolute;width:100%;height:100%;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.65);z-index:15}.GameInfoWrapper .GameInfo{display:flex;width:100%;height:100%;flex-direction:column;align-items:center;justify-content:center}.GameInfoWrapper .GameInfoName{color:white;margin-bottom:10px;text-align:center;font-size:14px}.GameInfoWrapper .GameInfoBtn{appearance:none;padding:6px;background:var(--emw--color-primary, #D0046C);color:var(--emw--color-primary-50, #FBECF4);font-size:16px;border:2px solid var(--emw--color-primary-600, #99034F);border-radius:5px;cursor:pointer;transition:border 150ms ease-in-out}.GameInfoWrapper .GameInfoBtn:hover{border:2px solid var(--emw--color-primary-100, #F1BED9)}.GameInfoVendor{display:block;position:absolute;bottom:8px;right:8px;color:white;font-size:12px;font-weight:normal}.GameInfoWrapper:hover{display:block !important}";export{u as casino_game_thumb_view,g as casino_game_thumbnail_overlay}
|
@@ -0,0 +1 @@
|
|
1
|
+
import{r as e,h as i}from"./p-89d09251.js";import{n as t,a,h as s}from"./p-d2580653.js";import{t as n}from"./p-59ceeaaa.js";import{W as o,c as r}from"./p-2d02adb1.js";const l={AED:"د.إ",AFN:"؋",ALL:"L",AMD:"֏",ANG:"ƒ",AOA:"Kz",ARS:"$",AUD:"$",AWG:"ƒ",AZN:"ман",BAM:"KM",BBD:"$",BDT:"৳",BGN:"лв",BHD:".د.ب",BIF:"FBu",BMD:"$",BND:"$",BOB:"$b",BRL:"R$",BSD:"$",BTC:"฿",BTN:"Nu.",BWP:"P",BYR:"p.",BZD:"BZ$",CAD:"$",CDF:"FC",CHF:"CHF",CLP:"$",CNY:"¥",COP:"$",CRC:"₡",CUC:"$",CUP:"₱",CVE:"$",CZK:"Kč",DJF:"Fdj",DKK:"kr",DOP:"RD$",DZD:"دج",EEK:"kr",EGP:"£",ERN:"Nfk",ETB:"Br",ETH:"Ξ",EUR:"€",FJD:"$",FKP:"£",GBP:"£",GEL:"₾",GGP:"£",GHC:"₵",GHS:"GH₵",GIP:"£",GMD:"D",GNF:"FG",GTQ:"Q",GYD:"$",HKD:"$",HNL:"L",HRK:"kn",HTG:"G",HUF:"Ft",IDR:"Rp",ILS:"₪",IMP:"£",INR:"₹",IQD:"ع.د",IRR:"﷼",ISK:"kr",JEP:"£",JMD:"J$",JOD:"JD",JPY:"¥",KES:"KSh",KGS:"лв",KHR:"៛",KMF:"CF",KPW:"₩",KRW:"₩",KWD:"KD",KYD:"$",KZT:"лв",LAK:"₭",LBP:"£",LKR:"₨",LRD:"$",LSL:"M",LTC:"Ł",LTL:"Lt",LVL:"Ls",LYD:"LD",MAD:"MAD",MDL:"lei",MGA:"Ar",MKD:"ден",MMK:"K",MNT:"₮",MOP:"MOP$",MRO:"UM",MUR:"₨",MVR:"Rf",MWK:"MK",MXN:"$",MYR:"RM",MZN:"MT",NAD:"$",NGN:"₦",NIO:"C$",NOK:"kr",NPR:"₨",NZD:"$",OMR:"﷼",PAB:"B/.",PEN:"S/.",PGK:"K",PHP:"₱",PKR:"₨",PLN:"zł",PYG:"Gs",QAR:"﷼",RMB:"¥",RON:"lei",RSD:"Дин.",RUB:"₽",RWF:"R₣",SAR:"﷼",SBD:"$",SCR:"₨",SDG:"ج.س.",SEK:"kr",SGD:"$",SHP:"£",SLL:"Le",SOS:"S",SRD:"$",SSP:"£",STD:"Db",SVC:"$",SYP:"£",SZL:"E",THB:"฿",TJS:"SM",TMT:"T",TND:"د.ت",TOP:"T$",TRL:"₤",TRY:"₺",TTD:"TT$",TVD:"$",TWD:"NT$",TZS:"TSh",UAH:"₴",UGX:"USh",USD:"$",UYU:"$U",UZS:"лв",VEF:"Bs",VND:"₫",VUV:"VT",WST:"WS$",XAF:"FCFA",XBT:"Ƀ",XCD:"$",XOF:"CFA",XPF:"₣",YER:"﷼",ZAR:"R",ZWD:"Z$"},m=class{constructor(i){e(this,i),this.defaultCurrency="EUR",this.isBetLimitAvailable=!1,this.betLimit=void 0,this.numberOfPlayers=void 0}getCurrencySymbols(e){return l[e]}componentWillRender(){if(this.betLimit){const e=this.betLimit.max?this.betLimit.max:this.betLimit.min||{};this.isBetLimitAvailable=1===Object.keys(e).length,this.currency=this.isBetLimitAvailable?Object.keys(e)[0]:this.defaultCurrency}}render(){return this.isBetLimitAvailable?i("p",{class:"LiveLimits"},i("span",{class:"BetLimitLeft"},this.getCurrencySymbols(this.currency)," ",t(this.betLimit.min[this.currency])," -"," ",t(this.betLimit.max[this.currency])),(this.numberOfPlayers||0==this.numberOfPlayers)&&i("span",{class:"BetLimitRight"},i("svg",{fill:"white",width:"13",height:"13",viewBox:"0 0 13 14",xmlns:"http://www.w3.org/2000/svg"},i("path",{d:"M4 8.2a4.6 4.6 0 0 0 5 0c2.7.8 4 2.6 4 4.8H0c0-2.2 1.3-4 4-4.8zM6.6 8c2 0 3.8-1.7 3.8-4 0-2.1-1.7-4-3.8-4a3.9 3.9 0 0 0-3.8 4c0 2.2 1.7 4 3.8 4z"})),i("span",{class:"NrOfPlayers"},this.numberOfPlayers))):""}};m.style=":host{display:block}";const c=class{constructor(i){e(this,i),this.isNewGame=!1,this.language="en",this.betLimit=void 0,this.gameInfo=void 0,this.gameDetails=void 0}async onGameLoaded(e){var i;this.gameInfo=e,this.isNewGame=this.gameInfo.isNew,"false"===this.gameInfo.gameTag&&(this.gameInfo.gameTag=null),this.gameTag=this.gameInfo.gameTag,this.gameInfo.details&&(this.gameDetails=this.gameInfo.details,this.isDouble=!!this.gameDetails&&this.gameInfo.details.category.toLowerCase()===o.doubleballroulette,this.gameTag=this.gameDetails&&(null===(i=this.gameInfo.advancedTags)||void 0===i?void 0:i.length)>0?a(this.gameInfo.advancedTags):this.gameInfo.gameTag,this.betLimit=this.gameDetails?this.gameDetails.betLimit:null,this.initTimeProperties())}initTimeProperties(){var e,i,t,a,s;"Bounded"===(null===(i=null===(e=this.gameDetails)||void 0===e?void 0:e.openHours)||void 0===i?void 0:i.type)&&(this.gameStartTime=null===(a=null===(t=this.gameDetails)||void 0===t?void 0:t.openHours)||void 0===a?void 0:a.value.startTime,this.gameTimeFormat=null===(s=this.gameDetails)||void 0===s?void 0:s.openHours.value.originalTimeFormat)}async onGameDetailUpdated(e){this.gameInfo.details=this.gameDetails=e,this.gameDetails=Object.assign({},this.gameDetails),this.initTimeProperties()}render(){var e,t,a;return this.gameInfo?i("div",{class:"GameExtraInfo",part:"GameExtraInfo"},this.isNewGame&&i("span",{class:"GameExtraInfoLabel NewGameTag",part:"GameExtraInfoLabel NewGameTag"},n("new",this.language)),this.gameTag&&i("span",{class:"GameExtraInfoLabel PopularGameTag",part:"GameExtraInfoLabel PopularGameTag"},this.gameTag),this.gameDetails&&i("div",{class:`GameProp LiveProps ${r[this.gameDetails.category.toLowerCase()]} ${this.isDouble?" Double":""}`,part:`GameProp LiveProps ${r[this.gameDetails.category.toLowerCase()]} ${this.isDouble?" Double":""}`},this.gameDetails.isOpen?i("slot",{name:"category-details"}):this.gameStartTime&&this.gameTimeFormat&&i("div",{class:"ClosedGame",part:"ClosedGame"},n("opens",this.language),i("span",null," ",s.utc(this.gameStartTime).local().format(this.gameTimeFormat)," ")),(null===(e=this.gameDetails.dealer)||void 0===e?void 0:e.DealerName)&&i("p",{class:"LiveLimits"},i("span",{class:"DealerName"},n("dealer",this.language),":"," ",null===(t=this.gameDetails)||void 0===t?void 0:t.dealer.DealerName," ")),i("casino-game-thumbnail-betlimit",{betLimit:this.betLimit,numberOfPlayers:null===(a=this.gameDetails)||void 0===a?void 0:a.numberOfPlayers}))):""}};c.style=':host{display:block;font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.LiveProps{display:flex;flex-direction:column;position:absolute;bottom:8px;left:-8px;right:0;width:100%;padding:0;background:linear-gradient(to top, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0.3) 80%, rgba(0, 0, 0, 0.99) 100%);color:var(--emw--color-white, #FFFFFF);opacity:1;font-size:14px}.GameExtraInfo{display:block;position:absolute;width:100%;height:100%;top:8px;left:8px;z-index:0}.GameExtraInfoLabel{font-size:11px;padding:3px;background-color:var(--emw--color-primary, #D0046C);color:var(--emw--color-primary-50, #FBECF4);font-weight:bold;text-transform:uppercase;border-radius:5px}.ListGame .GameInnerContainer .GameExtraInfo{z-index:10}.ListGame .GameInnerContainer .ClosedGame{opacity:1;z-index:10;padding:8px 10px;color:var(--emw--color-white, #FFFFFF);font-size:18px}.ListGame .GameInnerContainer .ClosedGame span{font-size:18px}.ListGame .GameInnerContainer .LiveIcons{position:relative;display:flex;padding:0 10px;box-sizing:border-box;flex-direction:row;align-items:center;justify-content:flex-start;min-height:auto;margin-bottom:5px}.ListGame .GameInnerContainer .LiveIcons:first-child{margin-left:0}.ListGame .GameInnerContainer .LiveIcons:last-child{margin-right:0}.ListGame .GameInnerContainer .LiveIcons.Black,.ListGame .GameInnerContainer .LiveIcons.Red,.ListGame .GameInnerContainer .LiveIcons.Green{color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;padding:2px;margin:0 6px 0 1px;font-size:14px;text-align:center}.ListGame .GameInnerContainer .LiveIcons .LatestResult.FirstElementAnimated{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{min-width:24px;padding:4px}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black{background:var(--emw--color-black, #000000)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red{background:red}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{background:#56A80A}.ListGame .GameInnerContainer .LiveIcons .Double{display:flex;flex-direction:column}.ListGame .GameInnerContainer .LiveIcons .Double .LatestResult:first-child{margin-bottom:10px}.ListGame .GameInnerContainer .LiveIcons .Double:first-child .LatestResult{margin-left:0;margin-bottom:0}.ListGame .GameInnerContainer .LiveIcons .Double:last-child .LatestResult{margin-right:0}.ListGame .GameInnerContainer .LiveIcons .Black,.ListGame .GameInnerContainer .LiveIcons .Red,.ListGame .GameInnerContainer .LiveIcons .Green{background-color:transparent}.ListGame .GameInnerContainer .LiveIcons .Black{color:var(--emw--color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .Red{color:red}.ListGame .GameInnerContainer .LiveIcons .Green{color:#56A80A}.ListGame .GameInnerContainer .LiveLimits{opacity:1;display:flex;flex-direction:row;justify-content:space-between;padding:2px 10px 5px;background:var(--emw--color-black, #000000);color:var(--emw--color-white, #FFFFFF);font-weight:normal;font-size:12px}.ListGame .GameInnerContainer .LiveLimits span{font-size:12px;vertical-align:top}';export{m as casino_game_thumbnail_betlimit,c as casino_game_thumbnail_extrainfo}
|
@@ -0,0 +1,2 @@
|
|
1
|
+
var e=Object.defineProperty,t=new WeakMap,n=e=>t.get(e),o=(e,n)=>t.set(n.t=e,n),l=(e,t)=>t in e,s=(e,t)=>(0,console.error)(e,t),i=new Map,r=new Map,c="slot-fb{display:contents}slot-fb[hidden]{display:none}",f="http://www.w3.org/1999/xlink",u="undefined"!=typeof window?window:{},a=u.document||{head:{}},d={o:0,l:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,o)=>e.addEventListener(t,n,o),rel:(e,t,n,o)=>e.removeEventListener(t,n,o),ce:(e,t)=>new CustomEvent(e,t)},h=e=>Promise.resolve(e),p=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),m=!1,v=[],y=[],w=(e,t)=>n=>{e.push(n),m||(m=!0,t&&4&d.o?g(b):d.raf(b))},$=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){s(e)}e.length=0},b=()=>{$(v),$(y),(m=v.length>0)&&d.raf(b)},g=e=>h().then(e),S=w(y,!0),k={},j=e=>"object"==(e=typeof e)||"function"===e;function O(e){var t,n,o;return null!=(o=null==(n=null==(t=e.head)?void 0:t.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?o:void 0}((t,n)=>{for(var o in n)e(t,o,{get:n[o],enumerable:!0})})({},{err:()=>C,map:()=>x,ok:()=>E,unwrap:()=>A,unwrapErr:()=>T});var E=e=>({isOk:!0,isErr:!1,value:e}),C=e=>({isOk:!1,isErr:!0,value:e});function x(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then((e=>E(e))):E(n)}if(e.isErr)return C(e.value);throw"should never get here"}var M,R,P,A=e=>{if(e.isOk)return e.value;throw e.value},T=e=>{if(e.isErr)return e.value;throw e.value},D=(e,t,...n)=>{let o=null,l=null,s=null,i=!1,r=!1;const c=[],f=t=>{for(let n=0;n<t.length;n++)o=t[n],Array.isArray(o)?f(o):null!=o&&"boolean"!=typeof o&&((i="function"!=typeof e&&!j(o))&&(o+=""),i&&r?c[c.length-1].i+=o:c.push(i?H(null,o):o),r=i)};if(f(n),t){t.key&&(l=t.key),t.name&&(s=t.name);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}}if("function"==typeof e)return e(null===t?{}:t,c,N);const u=H(e,null);return u.u=t,c.length>0&&(u.h=c),u.p=l,u.m=s,u},H=(e,t)=>({o:0,v:e,i:t,$:null,h:null,u:null,p:null,m:null}),L={},N={forEach:(e,t)=>e.map(W).forEach(t),map:(e,t)=>e.map(W).map(t).map(F)},W=e=>({vattrs:e.u,vchildren:e.h,vkey:e.p,vname:e.m,vtag:e.v,vtext:e.i}),F=e=>{if("function"==typeof e.vtag){const t={...e.vattrs};return e.vkey&&(t.key=e.vkey),e.vname&&(t.name=e.vname),D(e.vtag,t,...e.vchildren||[])}const t=H(e.vtag,e.vtext);return t.u=e.vattrs,t.h=e.vchildren,t.p=e.vkey,t.m=e.vname,t},U=(e,t,o)=>{const l=(e=>n(e).$hostElement$)(e);return{emit:e=>q(l,t,{bubbles:!!(4&o),composed:!!(2&o),cancelable:!!(1&o),detail:e})}},q=(e,t,n)=>{const o=d.ce(t,n);return e.dispatchEvent(o),o},G=new WeakMap,I=e=>"sc-"+e.S,V=(e,t,n,o,s,i)=>{if(n!==o){let r=l(e,t),c=t.toLowerCase();if("class"===t){const t=e.classList,l=z(n),s=z(o);t.remove(...l.filter((e=>e&&!s.includes(e)))),t.add(...s.filter((e=>e&&!l.includes(e))))}else if("style"===t){for(const t in n)o&&null!=o[t]||(t.includes("-")?e.style.removeProperty(t):e.style[t]="");for(const t in o)n&&o[t]===n[t]||(t.includes("-")?e.style.setProperty(t,o[t]):e.style[t]=o[t])}else if("key"===t);else if("ref"===t)o&&o(e);else if(r||"o"!==t[0]||"n"!==t[1]){const l=j(o);if((r||l&&null!==o)&&!s)try{if(e.tagName.includes("-"))e[t]=o;else{const l=null==o?"":o;"list"===t?r=!1:null!=n&&e[t]==l||("function"==typeof e.__lookupSetter__(t)?e[t]=l:e.setAttribute(t,l))}}catch(e){}let u=!1;c!==(c=c.replace(/^xlink\:?/,""))&&(t=c,u=!0),null==o||!1===o?!1===o&&""!==e.getAttribute(t)||(u?e.removeAttributeNS(f,t):e.removeAttribute(t)):(!r||4&i||s)&&!l&&(o=!0===o?"":o,u?e.setAttributeNS(f,t,o):e.setAttribute(t,o))}else if(t="-"===t[2]?t.slice(3):l(u,c)?c.slice(2):c[2]+t.slice(3),n||o){const l=t.endsWith(B);t=t.replace(J,""),n&&d.rel(e,t,n,l),o&&d.ael(e,t,o,l)}}},_=/\s/,z=e=>e?e.split(_):[],B="Capture",J=RegExp(B+"$"),K=(e,t,n)=>{const o=11===t.$.nodeType&&t.$.host?t.$.host:t.$,l=e&&e.u||k,s=t.u||k;for(const e of Q(Object.keys(l)))e in s||V(o,e,l[e],void 0,n,t.o);for(const e of Q(Object.keys(s)))V(o,e,l[e],s[e],n,t.o)};function Q(e){return e.includes("ref")?[...e.filter((e=>"ref"!==e)),"ref"]:e}var X=!1,Y=!1,Z=!1,ee=!1,te=(e,t,n,o)=>{var l;const s=t.h[n];let i,r,c,f=0;if(X||(Z=!0,"slot"===s.v&&(M&&o.classList.add(M+"-s"),s.o|=s.h?2:1)),null!==s.i)i=s.$=a.createTextNode(s.i);else if(1&s.o)i=s.$=a.createTextNode("");else{if(ee||(ee="svg"===s.v),i=s.$=a.createElementNS(ee?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!X&&2&s.o?"slot-fb":s.v),ee&&"foreignObject"===s.v&&(ee=!1),K(null,s,ee),i.getRootNode().querySelector("body"),s.h)for(f=0;f<s.h.length;++f)r=te(e,s,f,i),r&&i.appendChild(r);"svg"===s.v?ee=!1:"foreignObject"===i.tagName&&(ee=!0)}return i["s-hn"]=P,3&s.o&&(i["s-sr"]=!0,i["s-cr"]=R,i["s-sn"]=s.m||"",i["s-rf"]=null==(l=s.u)?void 0:l.ref,c=e&&e.h&&e.h[n],c&&c.v===s.v&&e.$&&ne(e.$,!1)),i},ne=(e,t)=>{d.o|=1;const n=Array.from(e.childNodes);for(let e=n.length-1;e>=0;e--){const o=n[e];o["s-hn"]!==P&&o["s-ol"]&&(pe(re(o),o,ie(o)),o["s-ol"].remove(),o["s-ol"]=void 0,o["s-sh"]=void 0,Z=!0),t&&ne(o,t)}d.o&=-2},oe=(e,t,n,o,l,s)=>{let i,r=e["s-cr"]&&e["s-cr"].parentNode||e;for(r.shadowRoot&&r.tagName===P&&(r=r.shadowRoot);l<=s;++l)o[l]&&(i=te(null,n,l,e),i&&(o[l].$=i,pe(r,i,ie(t))))},le=(e,t,n)=>{for(let o=t;o<=n;++o){const t=e[o];if(t){const e=t.$;he(t),e&&(Y=!0,e["s-ol"]?e["s-ol"].remove():ne(e,!0),e.remove())}}},se=(e,t,n=!1)=>!(e.v!==t.v||("slot"===e.v?"k"in e&&n&&8!==e.$.nodeType||e.m!==t.m:!n&&e.p!==t.p)),ie=e=>e&&e["s-ol"]||e,re=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,ce=(e,t,n=!1)=>{const o=t.$=e.$,l=e.h,s=t.h,i=t.v,r=t.i;let c;null===r?(ee="svg"===i||"foreignObject"!==i&&ee,("slot"!==i||X)&&K(e,t,ee),null!==l&&null!==s?((e,t,n,o,l=!1)=>{let s,i,r=0,c=0,f=0,u=0,a=t.length-1,d=t[0],h=t[a],p=o.length-1,m=o[0],v=o[p];for(;r<=a&&c<=p;)if(null==d)d=t[++r];else if(null==h)h=t[--a];else if(null==m)m=o[++c];else if(null==v)v=o[--p];else if(se(d,m,l))ce(d,m,l),d=t[++r],m=o[++c];else if(se(h,v,l))ce(h,v,l),h=t[--a],v=o[--p];else if(se(d,v,l))"slot"!==d.v&&"slot"!==v.v||ne(d.$.parentNode,!1),ce(d,v,l),pe(e,d.$,h.$.nextSibling),d=t[++r],v=o[--p];else if(se(h,m,l))"slot"!==d.v&&"slot"!==v.v||ne(h.$.parentNode,!1),ce(h,m,l),pe(e,h.$,d.$),h=t[--a],m=o[++c];else{for(f=-1,u=r;u<=a;++u)if(t[u]&&null!==t[u].p&&t[u].p===m.p){f=u;break}f>=0?(i=t[f],i.v!==m.v?s=te(t&&t[c],n,f,e):(ce(i,m,l),t[f]=void 0,s=i.$),m=o[++c]):(s=te(t&&t[c],n,c,e),m=o[++c]),s&&pe(re(d.$),s,ie(d.$))}r>a?oe(e,null==o[p+1]?null:o[p+1].$,n,o,c,p):c>p&&le(t,r,a)})(o,l,t,s,n):null!==s?(null!==e.i&&(o.textContent=""),oe(o,null,t,s,0,s.length-1)):!n&&null!==l&&le(l,0,l.length-1),ee&&"svg"===i&&(ee=!1)):(c=o["s-cr"])?c.parentNode.textContent=r:e.i!==r&&(o.data=r)},fe=e=>{const t=e.childNodes;for(const e of t)if(1===e.nodeType){if(e["s-sr"]){const n=e["s-sn"];e.hidden=!1;for(const o of t)if(o!==e)if(o["s-hn"]!==e["s-hn"]||""!==n){if(1===o.nodeType&&(n===o.getAttribute("slot")||n===o["s-sn"])||3===o.nodeType&&n===o["s-sn"]){e.hidden=!0;break}}else if(1===o.nodeType||3===o.nodeType&&""!==o.textContent.trim()){e.hidden=!0;break}}fe(e)}},ue=[],ae=e=>{let t,n,o;for(const l of e.childNodes){if(l["s-sr"]&&(t=l["s-cr"])&&t.parentNode){n=t.parentNode.childNodes;const e=l["s-sn"];for(o=n.length-1;o>=0;o--)if(t=n[o],!t["s-cn"]&&!t["s-nr"]&&t["s-hn"]!==l["s-hn"])if(de(t,e)){let n=ue.find((e=>e.j===t));Y=!0,t["s-sn"]=t["s-sn"]||e,n?(n.j["s-sh"]=l["s-hn"],n.O=l):(t["s-sh"]=l["s-hn"],ue.push({O:l,j:t})),t["s-sr"]&&ue.map((e=>{de(e.j,t["s-sn"])&&(n=ue.find((e=>e.j===t)),n&&!e.O&&(e.O=n.O))}))}else ue.some((e=>e.j===t))||ue.push({j:t})}1===l.nodeType&&ae(l)}},de=(e,t)=>1===e.nodeType?null===e.getAttribute("slot")&&""===t||e.getAttribute("slot")===t:e["s-sn"]===t||""===t,he=e=>{e.u&&e.u.ref&&e.u.ref(null),e.h&&e.h.map(he)},pe=(e,t,n)=>null==e?void 0:e.insertBefore(t,n),me=(e,t)=>{t&&!e.C&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.C=t)))},ve=(e,t)=>{if(e.o|=16,!(4&e.o))return me(e,e.M),S((()=>ye(e,t)));e.o|=512},ye=(e,t)=>{const n=e.t;if(!n)throw Error(`Can't render component <${e.$hostElement$.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 o;return t&&(e.o|=256,e.R&&(e.R.map((([e,t])=>je(n,e,t))),e.R=void 0),o=je(n,"componentWillLoad")),o=we(o,(()=>je(n,"componentWillRender"))),we(o,(()=>be(e,n,t)))},we=(e,t)=>$e(e)?e.then(t).catch((e=>{console.error(e),t()})):t(),$e=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,be=async(e,t,n)=>{var o;const l=e.$hostElement$,s=l["s-rc"];n&&(e=>{const t=e.P,n=e.$hostElement$,o=t.o,l=((e,t)=>{var n;const o=I(t),l=r.get(o);if(e=11===e.nodeType?e:a,l)if("string"==typeof l){let s,i=G.get(e=e.head||e);if(i||G.set(e,i=new Set),!i.has(o)){{s=a.createElement("style"),s.innerHTML=l;const o=null!=(n=d.A)?n:O(a);if(null!=o&&s.setAttribute("nonce",o),!(1&t.o))if("HEAD"===e.nodeName){const t=e.querySelectorAll("link[rel=preconnect]"),n=t.length>0?t[t.length-1].nextSibling:e.querySelector("style");e.insertBefore(s,n)}else if("host"in e)if(p){const t=new CSSStyleSheet;t.replaceSync(l),e.adoptedStyleSheets=[t,...e.adoptedStyleSheets]}else{const t=e.querySelector("style");t?t.innerHTML=l+t.innerHTML:e.prepend(s)}else e.append(s);1&t.o&&"HEAD"!==e.nodeName&&e.insertBefore(s,null)}4&t.o&&(s.innerHTML+=c),i&&i.add(o)}}else e.adoptedStyleSheets.includes(l)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,l]);return o})(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);10&o&&2&o&&(n["s-sc"]=l,n.classList.add(l+"-h"))})(e);ge(e,t,l,n),s&&(s.map((e=>e())),l["s-rc"]=void 0);{const t=null!=(o=l["s-p"])?o:[],n=()=>Se(e);0===t.length?n():(Promise.all(t).then(n),e.o|=4,t.length=0)}},ge=(e,t,n,o)=>{try{t=t.render(),e.o&=-17,e.o|=2,((e,t,n=!1)=>{var o,l,s,i;const r=e.$hostElement$,c=e.P,f=e.T||H(null,null),u=(e=>e&&e.v===L)(t)?t:D(null,null,t);if(P=r.tagName,n&&u.u)for(const e of Object.keys(u.u))r.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(u.u[e]=r[e]);if(u.v=null,u.o|=4,e.T=u,u.$=f.$=r.shadowRoot||r,M=r["s-sc"],X=!!(1&c.o),R=r["s-cr"],Y=!1,ce(f,u,n),d.o|=1,Z){ae(u.$);for(const e of ue){const t=e.j;if(!t["s-ol"]){const e=a.createTextNode("");e["s-nr"]=t,pe(t.parentNode,t["s-ol"]=e,t)}}for(const e of ue){const t=e.j,r=e.O;if(r){const e=r.parentNode;let n=r.nextSibling;{let s=null==(o=t["s-ol"])?void 0:o.previousSibling;for(;s;){let o=null!=(l=s["s-nr"])?l:null;if(o&&o["s-sn"]===t["s-sn"]&&e===o.parentNode){for(o=o.nextSibling;o===t||(null==o?void 0:o["s-sr"]);)o=null==o?void 0:o.nextSibling;if(!o||!o["s-nr"]){n=o;break}}s=s.previousSibling}}(!n&&e!==t.parentNode||t.nextSibling!==n)&&t!==n&&(!t["s-hn"]&&t["s-ol"]&&(t["s-hn"]=t["s-ol"].parentNode.nodeName),pe(e,t,n),1===t.nodeType&&(t.hidden=null!=(s=t["s-ih"])&&s)),t&&"function"==typeof r["s-rf"]&&r["s-rf"](t)}else 1===t.nodeType&&(n&&(t["s-ih"]=null!=(i=t.hidden)&&i),t.hidden=!0)}}Y&&fe(u.$),d.o&=-2,ue.length=0,R=void 0})(e,t,o)}catch(t){s(t,e.$hostElement$)}return null},Se=e=>{const t=e.$hostElement$,n=e.t,o=e.M;je(n,"componentDidRender"),64&e.o||(e.o|=64,Oe(t),je(n,"componentDidLoad"),e.D(t),o||ke()),e.H(t),e.C&&(e.C(),e.C=void 0),512&e.o&&g((()=>ve(e,!1))),e.o&=-517},ke=()=>{Oe(a.documentElement),g((()=>q(u,"appload",{detail:{namespace:"casino-game-thumb-view"}})))},je=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(e){s(e)}},Oe=e=>e.classList.add("hydrated"),Ee=(e,t,o)=>{var l,i;const r=e.prototype;if(t.L||t.N||e.watchers){e.watchers&&!t.N&&(t.N=e.watchers);const c=Object.entries(null!=(l=t.L)?l:{});if(c.map((([e,[l]])=>{31&l||2&o&&32&l?Object.defineProperty(r,e,{get(){return((e,t)=>n(this).W.get(t))(0,e)},set(o){((e,t,o,l)=>{const i=n(e);if(!i)throw Error(`Couldn't find host element for "${l.S}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);const r=i.$hostElement$,c=i.W.get(t),f=i.o,u=i.t;if(o=((e,t)=>null==e||j(e)?e:4&t?"false"!==e&&(""===e||!!e):2&t?parseFloat(e):1&t?e+"":e)(o,l.L[t][0]),(!(8&f)||void 0===c)&&o!==c&&(!Number.isNaN(c)||!Number.isNaN(o))&&(i.W.set(t,o),u)){if(l.N&&128&f){const e=l.N[t];e&&e.map((e=>{try{u[e](o,c,t)}catch(e){s(e,r)}}))}2==(18&f)&&ve(i,!1)}})(this,e,o,t)},configurable:!0,enumerable:!0}):1&o&&64&l&&Object.defineProperty(r,e,{value(...t){var o;const l=n(this);return null==(o=null==l?void 0:l.F)?void 0:o.then((()=>{var n;return null==(n=l.t)?void 0:n[e](...t)}))}})})),1&o){const o=new Map;r.attributeChangedCallback=function(e,l,s){d.jmp((()=>{var i;const c=o.get(e);if(this.hasOwnProperty(c))s=this[c],delete this[c];else{if(r.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==s)return;if(null==c){const o=n(this),r=null==o?void 0:o.o;if(r&&!(8&r)&&128&r&&s!==l){const n=o.t,r=null==(i=t.N)?void 0:i[e];null==r||r.forEach((t=>{null!=n[t]&&n[t].call(n,s,l,e)}))}return}}this[c]=(null!==s||"boolean"!=typeof this[c])&&s}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!=(i=t.N)?i:{}),...c.filter((([e,t])=>15&t[0])).map((([e,t])=>{const n=t[1]||e;return o.set(n,e),n}))]))}}return e},Ce=e=>{je(e,"disconnectedCallback")},xe=(e,o={})=>{var l;const f=[],h=o.exclude||[],m=u.customElements,v=a.head,y=v.querySelector("meta[charset]"),w=a.createElement("style"),$=[];let b,g=!0;Object.assign(d,o),d.l=new URL(o.resourcesUrl||"./",a.baseURI).href;let S=!1;if(e.map((e=>{e[1].map((o=>{var l;const c={o:o[0],S:o[1],L:o[2],U:o[3]};4&c.o&&(S=!0),c.L=o[2],c.U=o[3],c.N=null!=(l=o[4])?l:{};const u=c.S,v=class extends HTMLElement{constructor(e){if(super(e),this.hasRegisteredEventListeners=!1,((e,n)=>{const o={o:0,$hostElement$:e,P:n,W:new Map};o.F=new Promise((e=>o.H=e)),o.q=new Promise((e=>o.D=e)),e["s-p"]=[],e["s-rc"]=[],t.set(e,o)})(e=this,c),1&c.o)if(e.shadowRoot){if("open"!==e.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${c.S}! Mode is set to ${e.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else e.attachShadow({mode:"open"})}connectedCallback(){const e=n(this);this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,Me(this,e,c.U)),b&&(clearTimeout(b),b=null),g?$.push(this):d.jmp((()=>(e=>{if(!(1&d.o)){const t=n(e),o=t.P,l=()=>{};if(1&t.o)Me(e,t,o.U),(null==t?void 0:t.t)||(null==t?void 0:t.q)&&t.q.then((()=>{}));else{t.o|=1,12&o.o&&(e=>{const t=e["s-cr"]=a.createComment("");t["s-cn"]=!0,pe(e,t,e.firstChild)})(e);{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){me(t,t.M=n);break}}o.L&&Object.entries(o.L).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),(async(e,t,n)=>{let o;if(!(32&t.o)){if(t.o|=32,n.G){const e=(e=>{const t=e.S.replace(/-/g,"_"),n=e.G;if(!n)return;const o=i.get(n);return o?o[t]:import(`./${n}.entry.js`).then((e=>(i.set(n,e),e[t])),s)
|
2
|
+
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(n);if(e&&"then"in e){const t=()=>{};o=await e,t()}else o=e;if(!o)throw Error(`Constructor for "${n.S}#${t.I}" was not found`);o.isProxied||(n.N=o.watchers,Ee(o,n,2),o.isProxied=!0);const l=()=>{};t.o|=8;try{new o(t)}catch(e){s(e)}t.o&=-9,t.o|=128,l()}else o=e.constructor,customElements.whenDefined(e.localName).then((()=>t.o|=128));if(o&&o.style){let e;"string"==typeof o.style&&(e=o.style);const t=I(n);if(!r.has(t)){const o=()=>{};((e,t,n)=>{let o=r.get(e);p&&n?(o=o||new CSSStyleSheet,"string"==typeof o?o=t:o.replaceSync(t)):o=t,r.set(e,o)})(t,e,!!(1&n.o)),o()}}}const l=t.M,c=()=>ve(t,!0);l&&l["s-rc"]?l["s-rc"].push(c):c()})(e,t,o)}l()}})(this)))}disconnectedCallback(){d.jmp((()=>(async()=>{if(!(1&d.o)){const e=n(this);e.V&&(e.V.map((e=>e())),e.V=void 0),(null==e?void 0:e.t)?Ce(e.t):(null==e?void 0:e.q)&&e.q.then((()=>Ce(e.t)))}})()))}componentOnReady(){return n(this).q}};c.G=e[0],h.includes(u)||m.get(u)||(f.push(u),m.define(u,Ee(v,c,1)))}))})),f.length>0&&(S&&(w.textContent+=c),w.textContent+=f.sort()+"{visibility:hidden}.hydrated{visibility:inherit}",w.innerHTML.length)){w.setAttribute("data-styles","");const e=null!=(l=d.A)?l:O(a);null!=e&&w.setAttribute("nonce",e),v.insertBefore(w,y?y.nextSibling:v.firstChild)}g=!1,$.length?$.map((e=>e.connectedCallback())):d.jmp((()=>b=setTimeout(ke,30)))},Me=(e,t,n)=>{n&&n.map((([n,o,l])=>{const s=Pe(e,n),i=Re(t,l),r=Ae(n);d.ael(s,o,i,r),(t.V=t.V||[]).push((()=>d.rel(s,o,i,r)))}))},Re=(e,t)=>n=>{var o;try{256&e.o?null==(o=e.t)||o[t](n):(e.R=e.R||[]).push([t,n])}catch(e){s(e)}},Pe=(e,t)=>4&t?a:e,Ae=e=>({passive:!!(1&e),capture:!!(2&e)}),Te=e=>d.A=e;export{L as H,xe as b,U as c,D as h,h as p,o as r,Te as s}
|
@@ -0,0 +1 @@
|
|
1
|
+
import{r as a,h as s,H as e}from"./p-89d09251.js";const o=class{constructor(s){a(this,s),this.language=void 0}async onGameLoaded(a){var s;null===(s=this.infoWrapperRef)||void 0===s||s.onGameLoaded(a)}render(){return s(e,{key:"65ecbdb989b2b98974bbe60db24f31032e2e10a7"},s("casino-game-thumbnail-extrainfo",{key:"3633837b728bc4f18745cd87180b73359a403816",ref:a=>this.infoWrapperRef=a,language:this.language}))}};o.style=":host{display:block}";export{o as casino_normal_game_thumbnail}
|
@@ -1 +1 @@
|
|
1
|
-
import{r as t,h as i,H as s}from"./p-
|
1
|
+
import{r as t,h as i,H as s}from"./p-89d09251.js";import{b as n}from"./p-2d02adb1.js";var a,e;!function(t){t.ROULETTE="ROULETTE",t.POKER="POKER",t.BLACKJACK="BLACKJACK"}(a||(a={})),function(t){t.PLAYER="Player",t.WINNER="Banker",t.TIE="Tie"}(e||(e={}));class h{constructor(){this.svgNS="http://www.w3.org/2000/svg",this.svgVersion="1.1",this.markGroupExtraClass={name:"",strokeWidth:1.8,cellPadding:6}}resetSvg(){this.svgGroupObj.innerHTML=""}createTag(t,i){let s=document.createElementNS(this.svgNS,t);return Object.keys(i).forEach((t=>{s.setAttribute(t,i[t])})),s}createHLine(t){return this.createTag("line",{x1:0,x2:this.svgWidth,y1:t*this.cellHeight,y2:t*this.cellHeight})}createVLine(t){return this.createTag("line",{x1:t*this.cellWidth,x2:t*this.cellWidth,y1:0,y2:this.svgHeight})}createBaccaratBoard(t){this.parentEle=t,this.svgWidth=t.clientWidth,this.cellWidth=this.svgWidth/40,this.cellHeight=this.cellWidth,this.svgHeight=6*this.cellHeight;let i={};this.svgWidth<300?i={name:"Min",strokeWidth:.8,cellPadding:2}:this.svgWidth>=300&&this.svgWidth<500&&(i={name:"Mid",strokeWidth:1.5,cellPadding:3.8}),this.markGroupExtraClass=Object.assign(Object.assign({},this.markGroupExtraClass),i),this.markGroupExtraClass.fontSize=this.cellWidth-.8*this.markGroupExtraClass.cellPadding,this.markGroupExtraClass.pairDotR=this.markGroupExtraClass.strokeWidth/2,this.markGroupExtraClass.pairBackDotR=this.markGroupExtraClass.pairDotR+.4;let s=this.createTag("svg",{xmlns:this.svgNS,version:this.svgVersion,width:"100%"}),n=this.createTag("g",{style:"cursor: pointer",stroke:"#a1acb696","stroke-width":"0.6px",fill:"transparent"}),a=this.createTag("g",{style:"cursor: pointer",class:`BoardRoundsGroup ${this.markGroupExtraClass.name}`,"stroke-width":this.markGroupExtraClass.strokeWidth,fill:"transparent"});for(let t=0;t<7;t++)n.appendChild(this.createHLine(t));for(let t=0;t<41;t++)n.appendChild(this.createVLine(t));t.setAttribute("style",`height: ${this.svgHeight}px`),s.appendChild(n),s.appendChild(a),t.replaceChildren(s),this.svgGroupObj=a}getRadius(){return(this.cellHeight-this.markGroupExtraClass.cellPadding)/2}addAnimate(t){let i=this.createTag("animate",{attributeName:"opacity",attributeType:"XML",from:"0",to:.8,repeatCount:"5",begin:"0s",dur:"1.5s",calcMode:"spline",keySplines:"0.1 0.8 0.9 0.1",fill:"freeze"});t.appendChild(i)}markNewRound(t,i,s,n=!1){let a=this.getCenterPoint(t,i),h=this.createTag("g",{class:`Round ${n?"NewRound":""} ${s.winner===e.TIE?"Tie":""}`,part:"Round "+(n?"NewRound":""),opacity:n?.1:1});if(s.winner!==e.TIE){if(h.appendChild(this.createTag("circle",{r:this.getRadius(),class:"Round",stroke:s.color,cx:t*this.cellHeight+this.cellHeight/2,cy:i*this.cellHeight+this.cellHeight/2})),s.ties){if(h.appendChild(this.createTieSvg(t,i)),s.ties>1){let t=this.createTag("text",{x:a.cx-1.5,y:a.cy+this.markGroupExtraClass.fontSize/2-1.1,fill:"#12153d",class:"TieNumber","font-size":`${this.markGroupExtraClass.fontSize}px`,"font-weight":this.markGroupExtraClass.fontSize>7?"bold":""});t.innerHTML=s.ties,h.appendChild(t)}this.svgGroupObj.appendChild(h)}s.bankerPair&&this.createPairDot(t,i,s.pairColor.banker,225).forEach((t=>h.appendChild(t))),s.playerPair&&this.createPairDot(t,i,s.pairColor.player,45).forEach((t=>h.appendChild(t))),s.includeAnimate&&this.addAnimate(h),this.svgGroupObj.appendChild(h)}else{if(h.appendChild(this.createTieSvg(t,i)),this.svgGroupObj.appendChild(h),s.ties&&s.ties>1){let t=this.createTag("text",{x:a.cx-1.5,y:a.cy+this.markGroupExtraClass.fontSize/2-1.1,fill:"#12153d",class:"TieNumber","font-size":`${this.markGroupExtraClass.fontSize}px`,"font-weight":this.markGroupExtraClass.fontSize>7?"bold":""});t.innerHTML=s.ties,h.appendChild(t)}this.svgGroupObj.appendChild(h)}}markRound(t,i,s,n=!1){let a=this.createTag("circle",{r:this.getRadius(),class:"Round",stroke:s,cx:t*this.cellHeight+this.cellHeight/2,cy:i*this.cellHeight+this.cellHeight/2});n&&this.addAnimate(a),this.svgGroupObj.appendChild(a)}getCenterPoint(t,i){return{cx:t*this.cellHeight+this.cellHeight/2,cy:i*this.cellHeight+this.cellHeight/2}}createTieSvg(t,i){let s=this.getCenterPoint(t,i),n=this.cellHeight/2;const a=s.cx+n*Math.cos(135*Math.PI/180),e=s.cy+n*Math.sin(135*Math.PI/180),h=s.cx+n*Math.cos(315*Math.PI/180),o=s.cy+n*Math.sin(315*Math.PI/180);return this.createTag("line",{x1:a,y1:e,x2:h,y2:o,class:"Tie",stroke:"green",opacity:"0.8","stroke-width":"1.8px"})}createPairDot(t,i,s,n){let a=this.getCenterPoint(t,i),e=this.getRadius()+this.markGroupExtraClass.pairDotR;const h=a.cx+e*Math.cos(n*Math.PI/180),o=a.cy+e*Math.sin(n*Math.PI/180);return[this.createTag("circle",{cx:h,cy:o,r:this.markGroupExtraClass.pairBackDotR,class:"DotBack",stroke:"#fff"}),this.createTag("circle",{cx:h,cy:o,r:this.markGroupExtraClass.pairDotR,class:"Dot",stroke:s,"stroke-width":"0.8px",fill:s})]}markTie(t,i,s=!1){let n=this.createTieSvg(t,i);s&&this.addAnimate(n),this.svgGroupObj.appendChild(n)}markPair(t,i,s,n){let a=this.getCenterPoint(t,i),e=this.getRadius()+this.markGroupExtraClass.pairDotR;const h=a.cx+e*Math.cos(n*Math.PI/180),o=a.cy+e*Math.sin(n*Math.PI/180);this.svgGroupObj.appendChild(this.createTag("circle",{cx:h,cy:o,r:this.markGroupExtraClass.pairBackDotR,class:"DotBack",stroke:"#fff"})),this.svgGroupObj.appendChild(this.createTag("circle",{cx:h,cy:o,r:this.markGroupExtraClass.pairDotR,class:"Dot",stroke:s,"stroke-width":"0.8px",fill:s}))}markBankerPair(t,i,s){this.markPair(t,i,s,225)}markPlayerPair(t,i,s){this.markPair(t,i,s,45)}}const o=class{constructor(i){t(this,i),this.baccaratSvg=new h,this.isBoardInited=!1,this.filledCells=[],this.language=void 0,this.showRoundBoard=void 0,this.gameInfo=void 0,this.gameDetails=void 0}gameDetailsHandler(t,i){!t.isOpen||i&&i.isOpen||this.showRoundBoard&&setTimeout((()=>{this.initBaccaratRoundsBoard()}),100)}async onGameLoaded(t){var i;this.gameInfo=t,this.gameDetails=this.gameInfo.details,null===(i=this.infoWrapperRef)||void 0===i||i.onGameLoaded(this.gameInfo)}async onGameDetailUpdated(t){var i;this.gameInfo.details=this.gameDetails=t,this.gameDetails=Object.assign({},this.gameDetails),null===(i=this.infoWrapperRef)||void 0===i||i.onGameDetailUpdated(t),setTimeout((()=>{this.isBoardInited=!0}),200)}async onBaccaratResultChanged(t){if(!t||!this.baccaratRef||this.isResetingRoundBoard)return;let i;this.isBoardInited&&(0==t.length||1==t.length&&(t[0].winner==e.TIE||0==t[0].location.column&&0==t[0].location.row))&&(this.isResetingRoundBoard=!0,(()=>{console.log("Reset Baccarat Board."),this.filledCells=[],this.baccaratSvg.resetSvg(),i=null})(),setTimeout((()=>{this.isResetingRoundBoard=!1}),1e3)),t.forEach(((s,a)=>{if(s.winner==e.TIE){if(a==t.length-1&&(!i||i&&0==i.location.column&&0==i.location.row)){let t="0-0-T";-1==this.filledCells.indexOf(t)&&(this.baccaratSvg.markNewRound(0,0,Object.assign(Object.assign({},s),{pairColor:n}),this.isBoardInited),this.filledCells.push(t))}return}const h=`${s.location.column}-${s.location.row}`,o=`${h}-T`;s.ties>0&&-1==this.filledCells.indexOf(o)&&(this.baccaratSvg.markNewRound(s.location.column,s.location.row,Object.assign(Object.assign({},s),{winner:e.TIE}),this.isBoardInited),this.filledCells.push(o)),i=s,-1==this.filledCells.indexOf(h)&&(this.baccaratSvg.markNewRound(s.location.column,s.location.row,Object.assign(Object.assign({},s),{pairColor:n}),this.isBoardInited),this.filledCells.push(h))}))}initBaccaratRoundsBoard(){var t;this.baccaratSvg.createBaccaratBoard(this.baccaratRef),(null===(t=this.gameDetails.results)||void 0===t?void 0:t.length)>0&&this.onBaccaratResultChanged(this.gameDetails.results)}render(){var t;return i(s,{key:"88be397ce6762f3a57c76c84b40f48dc2ba23db7"},i("casino-game-thumbnail-extrainfo",{key:"177c57f40ef84d7dfa0f458336e558e195aa9ac6",ref:t=>this.infoWrapperRef=t,language:this.language},(null===(t=this.gameDetails)||void 0===t?void 0:t.isOpen)&&this.showRoundBoard&&i("div",{key:"7b2db6ad68e6d9bcac9b97785b2c05b05d146836",slot:"category-details",class:"LiveIcons",part:"LiveIcons"},i("div",{key:"004301f9c4f9bb574757e4eace077bd9fac57472",id:"boardContainer",part:"BaccaratBoard",class:"BaccaratBoard",ref:t=>this.baccaratRef=t}))))}static get watchers(){return{gameDetails:["gameDetailsHandler"]}}};o.style=":host {\n display: block;\n}\n\n.BaccaratBoard {\n container-type: inline-size;\n min-height: 30px;\n width: 100%;\n}\n.BaccaratBoard svg {\n background: #fff;\n opacity: 0.99;\n height: 100%;\n}\n\n.LiveProps.BaccaratProps div.LiveIcons {\n margin-bottom: 0px;\n padding: 0px;\n width: 100%;\n}\n\nsvg circle {\n transition: stroke-dashoffset 0s ease 2s;\n}\n\ng.BoardRoundsGroup {\n stroke-width: 1.8px;\n}\n\n@container (max-width: 300px) {\n g.BoardRoundsGroup {\n stroke-width: 0.9px;\n }\n}\nsvg .Round.NewRound {\n opacity: 1;\n -webkit-animation-name: fadeInFromNone;\n animation-name: fadeInFromNone;\n -webkit-animation-duration: 1.5s;\n animation-duration: 1.5s;\n -webkit-animation-fill-mode: both;\n animation-fill-mode: both;\n}\n\n@-webkit-keyframes fadeInFromNone {\n 0% {\n display: none;\n opacity: 0;\n }\n 1% {\n display: block;\n opacity: 0;\n }\n 100% {\n display: block;\n opacity: 1;\n }\n}\n@-moz-keyframes fadeInFromNone {\n 0% {\n display: none;\n opacity: 0;\n }\n 1% {\n display: block;\n opacity: 0;\n }\n 100% {\n display: block;\n opacity: 1;\n }\n}\n@-o-keyframes fadeInFromNone {\n 0% {\n display: none;\n opacity: 0;\n }\n 1% {\n display: block;\n opacity: 0;\n }\n 30% {\n display: block;\n opacity: 1;\n }\n 60% {\n display: block;\n opacity: 0;\n }\n 100% {\n display: block;\n opacity: 1;\n }\n}\n@keyframes fadeInFromNone {\n 0% {\n display: none;\n opacity: 0;\n }\n 1% {\n display: block;\n opacity: 0;\n }\n 30% {\n display: block;\n opacity: 1;\n }\n 60% {\n display: block;\n opacity: 0;\n }\n 100% {\n display: block;\n opacity: 1;\n }\n}";export{o as casino_extrainfo_baccarat}
|
@@ -0,0 +1 @@
|
|
1
|
+
import{r as i,h as t,H as e}from"./p-89d09251.js";import{D as a}from"./p-2d02adb1.js";import{t as s}from"./p-59ceeaaa.js";const o=class{constructor(t){i(this,t),this.language=void 0,this.gameInfo=void 0,this.gameDetails=void 0,this.seatsStatus=void 0,this.isTableFull=void 0}generateBlackJackSeats(i=a,t=[]){let e=[];for(let a=0;a<i;a++)e.push({seatNo:a,isClosed:t.indexOf((a+1).toString())>-1});return this.isTableFull=i==t.length,e}async onGameLoaded(i){var t,e,a;this.gameInfo=i,this.gameDetails=this.gameInfo.details,this.seatsStatus=this.generateBlackJackSeats(null===(t=this.gameDetails)||void 0===t?void 0:t.totalSeats,null===(e=this.gameDetails)||void 0===e?void 0:e.currentOccupiedSeats),null===(a=this.infoWrapperRef)||void 0===a||a.onGameLoaded(i)}async onGameDetailUpdated(i){var t,e;this.gameInfo.details=this.gameDetails=i,this.seatsStatus=this.generateBlackJackSeats(null===(t=this.gameDetails)||void 0===t?void 0:t.totalSeats,null===(e=this.gameDetails)||void 0===e?void 0:e.currentOccupiedSeats),this.gameDetails=Object.assign({},this.gameDetails)}render(){return t(e,{key:"e75d57ebd1f5827facafd15ffc6631cc84d7ca52"},t("casino-game-thumbnail-extrainfo",{key:"e861149d6e01ef11ecc92d8f3606e9406ca68238",ref:i=>this.infoWrapperRef=i,language:this.language},this.gameDetails&&this.gameDetails.isOpen&&t("div",{key:"e157039d431369c6e9b419cde52e3045765fb6c6",slot:"category-details",class:"LiveIcons",part:"LiveIcons"},this.isTableFull?t("span",{class:"FullTable",part:"FullTable"},s("full",this.language)):this.seatsStatus.map((i=>t("span",{class:(i.isClosed?"ClosedSeat":"OpenSeat")+" svg-container",id:`s${i.seatNo}`,part:(i.isClosed?"ClosedSeat":"OpenSeat")+" svg-container",innerHTML:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMyIgaGVpZ2h0PSIxNCIgdmlld0JveD0iMCAwIDEzIDE0Ij4KICA8cGF0aAogICAgZD0iTTExLjU4IDZjLTEuMTcgMC0yLjEzLjk1LTIuMTMgMi4xMnYuNGE4LjgyIDguODIgMCAwMC0yLjkyLS40Yy0xLjU0IDAtMi40NS4yMi0yLjkyLjR2LS40QTIuMTM2IDIuMTM2IDAgMDAxLjQ4IDZhMS4zMyAxLjMzIDAgMDAtLjUgMi41NWMuMTQuMDcuMjQuMjEuMjQuMzdsLjI2IDEuMDZjMCAuOTYuNzMgMS43NSAxLjY1IDEuODVhLjY1LjY1IDAgMDAuMjggMS4yMy42NS42NSAwIDAwLjMtMS4yMmg1LjY0YS42NS42NSAwIDAwLjMgMS4yMi42NS42NSAwIDAwLjI4LTEuMjNjLjkzLS4xIDEuNjUtLjkgMS42NS0xLjg1bC4yNy0xLjA2YzAtLjE2LjEtLjMuMjQtLjM3QTEuMzMgMS4zMyAwIDAwMTEuNTggNnoiLz4KICA8cGF0aAogICAgZD0iTTQuMzQgNy41Yy41NS0uMSAxLjI3LS4xNyAyLjItLjE3LjkxIDAgMS42My4wNyAyLjE4LjE3LjIxLS45Ni45LTEuNzQgMS44LTIuMVY0YTMuOTkgMy45OSAwIDAwLTcuOTcgMHYxLjRjLjkuMzYgMS41OCAxLjE0IDEuNzkgMi4xeiIvPgo8L3N2Zz4K"}))))))}};o.style=":host{display:block}.OpenSeat,.ClosedSeat{display:inline-block;width:16px;height:16px;margin-right:4px}.OpenSeat svg,.ClosedSeat svg{width:100%;height:100%}.OpenSeat{animation:flip-closed-seat 2s both;-webkit-animation:flip-closed-seat 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ClosedSeat{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.OpenSeat svg{fill:transparent;stroke:var(--emw--color-white, #FFFFFF)}.ClosedSeat svg{fill:var(--emw--color-white, #FFFFFF)}.FullTable{display:flex;position:relative;z-index:10;height:20px;padding:1px 4px 1px 0;align-items:center;border-radius:3px;font-size:12px;white-space:normal;text-transform:uppercase;-webkit-animation-name:silde-in-from-left;animation-name:silde-in-from-left;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.FullTable svg{width:100%;height:100%;fill:var(--emw--color-white, #FFFFFF)}.FullTable.ClosedSeat{margin-right:-3px}";export{o as casino_extrainfo_blackjack}
|
@@ -0,0 +1 @@
|
|
1
|
+
import{r as e,h as t,H as s}from"./p-89d09251.js";import{R as o,W as i}from"./p-2d02adb1.js";const a=class{constructor(t){e(this,t),this.language="en",this.gameInfo=void 0,this.gameDetails=void 0,this.showLiveClass=void 0}async onGameLoaded(e){var t;this.gameInfo=Object.assign({},e),this.gameDetails=this.gameInfo.details?Object.assign({},this.gameInfo.details):null,null===(t=this.infoWrapperRef)||void 0===t||t.onGameLoaded(e)}async onGameDetailUpdated(e){this.gameInfo.details=this.gameDetails=e,this.gameInfo=Object.assign({},this.gameInfo),this.gameDetails=Object.assign({},this.gameDetails)}getRouletteNumberColor(e){return o[e]}render(){var e,o,a,l;const r=!!this.gameDetails&&this.gameDetails.category.toLowerCase()===i.doubleballroulette;let c=(r?null===(e=this.gameDetails)||void 0===e?void 0:e.currentDoubleBallRouletteNumbers:null===(o=this.gameDetails)||void 0===o?void 0:o.currentRouletteNumbers)||[];return t(s,{key:"c7c66e8f51bc9a09b78856342203ebe24fd09231"},t("casino-game-thumbnail-extrainfo",{key:"380e499260501a6126ab6944eed0ea1e1ce3877d",ref:e=>this.infoWrapperRef=e,language:this.language},t("div",{key:"233bbf1c16b1d36ac463a4178ef1724124817890",slot:"category-details",class:"LiveIcons "+((null===(a=this.gameDetails)||void 0===a?void 0:a.isOpen)?"GameBackdrop":""),part:"LiveIcons "+((null===(l=this.gameDetails)||void 0===l?void 0:l.isOpen)?"GameBackdrop":"")},c.slice(0,5).map(((e,s)=>!0===r?t("div",{class:"Double",part:"Double"},t("span",{id:`s${s}0`,class:`LatestResult ${0==s?"First":""} ${this.showLiveClass?"FirstElementAnimated":""} ${this.getRouletteNumberColor(e[0])}`}," ",e[0]),t("span",{id:`s${s}1`,class:`LatestResult ${0==s?"First":""} ${this.showLiveClass?"FirstElementAnimated":""} ${this.getRouletteNumberColor(e[1])}`}," ",e[1])):t("span",{id:`s${s}`,class:`LatestResult ${0==s?"First":""} ${this.showLiveClass?"FirstElementAnimated":""} ${this.getRouletteNumberColor(e)}`}," ",e))))))}};a.style=':host{display:block;font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}.Blue{color:#4d90a7}.Red{background-color:red}.Black{background-color:var(--emw--color-black, #000000)}.Green{background-color:#56A80A}.White{background-color:var(--emw--color-white, #FFFFFF)}.Yellow{background-color:#eeca3d}.Gold{background-color:#866d0c}.Orange{background-color:#574708}.Purple{background-color:#330033}';export{a as casino_extrainfo_roulette}
|
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
4
4
|
|
5
|
-
const index = require('./index-
|
5
|
+
const index = require('./index-0892a7c6.js');
|
6
6
|
const gameThumbnail = require('./game-thumbnail-5a34c727.js');
|
7
7
|
|
8
8
|
var CasinoGameCategory;
|
@@ -261,6 +261,10 @@ const CasinoExtrainfoBaccarat = class {
|
|
261
261
|
this.baccaratSvg = new BaccaratSvg();
|
262
262
|
this.isBoardInited = false;
|
263
263
|
this.filledCells = [];
|
264
|
+
this.language = undefined;
|
265
|
+
this.showRoundBoard = undefined;
|
266
|
+
this.gameInfo = undefined;
|
267
|
+
this.gameDetails = undefined;
|
264
268
|
}
|
265
269
|
gameDetailsHandler(newVal, oldVal) {
|
266
270
|
if (newVal.isOpen && (!oldVal || !oldVal.isOpen)) {
|
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
4
4
|
|
5
|
-
const index = require('./index-
|
5
|
+
const index = require('./index-0892a7c6.js');
|
6
6
|
const gameThumbnail = require('./game-thumbnail-5a34c727.js');
|
7
7
|
const locale_utils = require('./locale.utils-53bf703a.js');
|
8
8
|
|
@@ -14,6 +14,11 @@ const CasinoExtrainfoBlackjackStyle0 = casinoExtrainfoBlackjackCss;
|
|
14
14
|
const CasinoExtrainfoBlackjack = class {
|
15
15
|
constructor(hostRef) {
|
16
16
|
index.registerInstance(this, hostRef);
|
17
|
+
this.language = undefined;
|
18
|
+
this.gameInfo = undefined;
|
19
|
+
this.gameDetails = undefined;
|
20
|
+
this.seatsStatus = undefined;
|
21
|
+
this.isTableFull = undefined;
|
17
22
|
}
|
18
23
|
/**
|
19
24
|
* Generate Jackpot live seats info
|
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
4
4
|
|
5
|
-
const index = require('./index-
|
5
|
+
const index = require('./index-0892a7c6.js');
|
6
6
|
const gameThumbnail = require('./game-thumbnail-5a34c727.js');
|
7
7
|
|
8
8
|
const casinoExtrainfoRouletteCss = ":host{display:block;font-family:system-ui, -apple-system, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\"}.Blue{color:#4d90a7}.Red{background-color:red}.Black{background-color:var(--emw--color-black, #000000)}.Green{background-color:#56A80A}.White{background-color:var(--emw--color-white, #FFFFFF)}.Yellow{background-color:#eeca3d}.Gold{background-color:#866d0c}.Orange{background-color:#574708}.Purple{background-color:#330033}";
|
@@ -11,10 +11,10 @@ const CasinoExtrainfoRouletteStyle0 = casinoExtrainfoRouletteCss;
|
|
11
11
|
const CasinoExtrainfoRoulette = class {
|
12
12
|
constructor(hostRef) {
|
13
13
|
index.registerInstance(this, hostRef);
|
14
|
-
/**
|
15
|
-
* Language
|
16
|
-
*/
|
17
14
|
this.language = 'en';
|
15
|
+
this.gameInfo = undefined;
|
16
|
+
this.gameDetails = undefined;
|
17
|
+
this.showLiveClass = undefined;
|
18
18
|
}
|
19
19
|
async onGameLoaded(gameInfo) {
|
20
20
|
var _a;
|
@@ -2,11 +2,11 @@
|
|
2
2
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
4
4
|
|
5
|
-
const index = require('./index-
|
5
|
+
const index = require('./index-0892a7c6.js');
|
6
6
|
const appGlobals = require('./app-globals-3a1e7e63.js');
|
7
7
|
|
8
8
|
/*
|
9
|
-
Stencil Client Patch Browser v4.
|
9
|
+
Stencil Client Patch Browser v4.22.3 | MIT Licensed | https://stenciljs.com
|
10
10
|
*/
|
11
11
|
var patchBrowser = () => {
|
12
12
|
const importMeta = (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('casino-game-thumb-view.cjs.js', document.baseURI).href));
|
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
4
4
|
|
5
|
-
const index = require('./index-
|
5
|
+
const index = require('./index-0892a7c6.js');
|
6
6
|
const utils = require('./utils-c4ed3adc.js');
|
7
7
|
const gameThumbnail = require('./game-thumbnail-5a34c727.js');
|
8
8
|
const locale_utils = require('./locale.utils-53bf703a.js');
|
@@ -1066,45 +1066,6 @@ const CasinoGameThumbView = class {
|
|
1066
1066
|
constructor(hostRef) {
|
1067
1067
|
index.registerInstance(this, hostRef);
|
1068
1068
|
this.toggleFavoriteCasinoGameEvent = index.createEvent(this, "toggleCasinoGameFavorite", 7);
|
1069
|
-
/**
|
1070
|
-
* Widget Setting, Game language
|
1071
|
-
*/
|
1072
|
-
this.language = 'en';
|
1073
|
-
/**
|
1074
|
-
* Widget Setting, Client custom styling via string
|
1075
|
-
*/
|
1076
|
-
this.clientStyling = '';
|
1077
|
-
/**
|
1078
|
-
* Widget Setting, Client custom styling via url content
|
1079
|
-
*/
|
1080
|
-
this.clientStylingUrl = '';
|
1081
|
-
/**
|
1082
|
-
* Widget Setting, show game in a frame when user clicked 'start'
|
1083
|
-
*/
|
1084
|
-
this.integratedGameframeMobile = false;
|
1085
|
-
/**
|
1086
|
-
* Widget Setting, show game in a frame when user clicked 'start', Open game aframe,
|
1087
|
-
* gamepageModalurl value should be set
|
1088
|
-
*/
|
1089
|
-
this.integratedGameframeDesktop = false;
|
1090
|
-
/**
|
1091
|
-
* Widget Setting, Load game details when set it as true, default value: false
|
1092
|
-
* When loadDetails is true and type=='live-casino-tables',
|
1093
|
-
* Load gameDetails by endpoint/vendor/gameId if livelobbyEndpoint is null
|
1094
|
-
*/
|
1095
|
-
this.loadDetails = false;
|
1096
|
-
/**
|
1097
|
-
* Widget Setting, showRoundBoard, default value: false
|
1098
|
-
*/
|
1099
|
-
this.showRoundBoard = false;
|
1100
|
-
/**
|
1101
|
-
* Game Property, default ''
|
1102
|
-
*/
|
1103
|
-
this.gameCategory = '';
|
1104
|
-
/**
|
1105
|
-
* Game Property, Game lunch platform
|
1106
|
-
*/
|
1107
|
-
this.platform = 'PC';
|
1108
1069
|
this.thumbnailLoaded = false;
|
1109
1070
|
this.containerClassWhenDetailChange = '';
|
1110
1071
|
this.isUserLoggedIn = false;
|
@@ -1152,6 +1113,39 @@ const CasinoGameThumbView = class {
|
|
1152
1113
|
}
|
1153
1114
|
return gameContainerClass;
|
1154
1115
|
};
|
1116
|
+
this.language = 'en';
|
1117
|
+
this.endpoint = undefined;
|
1118
|
+
this.userId = undefined;
|
1119
|
+
this.showGameName = undefined;
|
1120
|
+
this.session = undefined;
|
1121
|
+
this.showFavoredCategory = undefined;
|
1122
|
+
this.clientStyling = '';
|
1123
|
+
this.clientStylingUrl = '';
|
1124
|
+
this.integratedGameframeMobile = false;
|
1125
|
+
this.gamepageModalurl = undefined;
|
1126
|
+
this.integratedGameframeDesktop = false;
|
1127
|
+
this.loadDetails = false;
|
1128
|
+
this.showRoundBoard = false;
|
1129
|
+
this.visibilityConnect = undefined;
|
1130
|
+
this.connectLive = undefined;
|
1131
|
+
this.gameCategory = '';
|
1132
|
+
this.livelobbyEndpoint = undefined;
|
1133
|
+
this.gameId = undefined;
|
1134
|
+
this.gameName = undefined;
|
1135
|
+
this.subVendor = undefined;
|
1136
|
+
this.gameVendor = undefined;
|
1137
|
+
this.hasFunMode = undefined;
|
1138
|
+
this.hasAnonymousFunMode = undefined;
|
1139
|
+
this.platform = 'PC';
|
1140
|
+
this.thumbnail = undefined;
|
1141
|
+
this.isFavorite = undefined;
|
1142
|
+
this.isNew = undefined;
|
1143
|
+
this.cellSize = undefined;
|
1144
|
+
this.gameTag = undefined;
|
1145
|
+
this.type = undefined;
|
1146
|
+
this.gameInfo = undefined;
|
1147
|
+
this.isTableFull = undefined;
|
1148
|
+
this.hover = undefined;
|
1155
1149
|
}
|
1156
1150
|
onSessionChanged() {
|
1157
1151
|
this.isUserLoggedIn = !!(this.session && this.userId);
|
@@ -1535,20 +1529,15 @@ const CasinoGameThumbnailOverlay = class {
|
|
1535
1529
|
constructor(hostRef) {
|
1536
1530
|
index.registerInstance(this, hostRef);
|
1537
1531
|
this.playClicked = index.createEvent(this, "playCasinoGame", 7);
|
1538
|
-
|
1539
|
-
|
1540
|
-
*/
|
1532
|
+
this.userAgent = window.navigator.userAgent;
|
1533
|
+
this.gamepageModalurl = undefined;
|
1541
1534
|
this.integratedGameframeMobile = false;
|
1542
|
-
/**
|
1543
|
-
* Widget Setting, show game in a frame when user clicked 'start', default: false
|
1544
|
-
* Open game in a frame, gamepageModalurl value should be set
|
1545
|
-
*/
|
1546
1535
|
this.integratedGameframeDesktop = false;
|
1547
|
-
/**
|
1548
|
-
* Language
|
1549
|
-
*/
|
1550
1536
|
this.language = 'en';
|
1551
|
-
this.
|
1537
|
+
this.gameName = undefined;
|
1538
|
+
this.gameVendor = undefined;
|
1539
|
+
this.gameId = undefined;
|
1540
|
+
this.hasFunMode = undefined;
|
1552
1541
|
}
|
1553
1542
|
onPlayNowClicked() {
|
1554
1543
|
this.playClicked.emit(this.gameId);
|
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
4
4
|
|
5
|
-
const index = require('./index-
|
5
|
+
const index = require('./index-0892a7c6.js');
|
6
6
|
const utils = require('./utils-c4ed3adc.js');
|
7
7
|
const locale_utils = require('./locale.utils-53bf703a.js');
|
8
8
|
const gameThumbnail = require('./game-thumbnail-5a34c727.js');
|
@@ -189,6 +189,8 @@ const CasinoGameThumbnailBetlimit = class {
|
|
189
189
|
index.registerInstance(this, hostRef);
|
190
190
|
this.defaultCurrency = 'EUR';
|
191
191
|
this.isBetLimitAvailable = false;
|
192
|
+
this.betLimit = undefined;
|
193
|
+
this.numberOfPlayers = undefined;
|
192
194
|
}
|
193
195
|
getCurrencySymbols(currency) {
|
194
196
|
return currenciesSymbols[currency];
|
@@ -219,8 +221,11 @@ const CasinoGameThumbnailExtrainfoStyle0 = casinoGameThumbnailExtrainfoCss;
|
|
219
221
|
const CasinoGameThumbnailExtrainfo = class {
|
220
222
|
constructor(hostRef) {
|
221
223
|
index.registerInstance(this, hostRef);
|
222
|
-
this.language = 'en';
|
223
224
|
this.isNewGame = false;
|
225
|
+
this.language = 'en';
|
226
|
+
this.betLimit = undefined;
|
227
|
+
this.gameInfo = undefined;
|
228
|
+
this.gameDetails = undefined;
|
224
229
|
}
|
225
230
|
async onGameLoaded(gameInfo) {
|
226
231
|
var _a;
|
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
4
4
|
|
5
|
-
const index = require('./index-
|
5
|
+
const index = require('./index-0892a7c6.js');
|
6
6
|
|
7
7
|
const casinoNormalGameThumbnailCss = ":host{display:block}";
|
8
8
|
const CasinoNormalGameThumbnailStyle0 = casinoNormalGameThumbnailCss;
|
@@ -10,6 +10,7 @@ const CasinoNormalGameThumbnailStyle0 = casinoNormalGameThumbnailCss;
|
|
10
10
|
const CasinoNormalGameThumbnail = class {
|
11
11
|
constructor(hostRef) {
|
12
12
|
index.registerInstance(this, hostRef);
|
13
|
+
this.language = undefined;
|
13
14
|
}
|
14
15
|
async onGameLoaded(gameInfo) {
|
15
16
|
var _a;
|