@everymatrix/casino-most-played-section-nd 1.85.13 → 1.85.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (18) hide show
  1. package/components/{CasinoFilter-DrXgrXKK.js → CasinoFilter-5M2JC_AV.js} +8 -8
  2. package/components/{CasinoFilter-DOPPuZ3Q.js → CasinoFilter-Cxf67rk9.js} +8 -8
  3. package/components/{CasinoGameThumbnailNd-BkzX6gmH.js → CasinoGameThumbnailNd-DXcO927H.js} +446 -434
  4. package/components/{CasinoGameThumbnailNd-BBYPOPl9.js → CasinoGameThumbnailNd-DtxOMe73.js} +449 -437
  5. package/components/CasinoGameThumbnailNd-wykGWqIt.cjs +30 -0
  6. package/components/{CasinoGamesCategorySectionNd-DKZUPwV5.js → CasinoGamesCategorySectionNd-B6P3po-u.js} +5 -5
  7. package/components/{CasinoGamesCategorySectionNd-CaC_eA8x.js → CasinoGamesCategorySectionNd-BJn7mKQ7.js} +5 -5
  8. package/components/{CasinoGamesCategorySectionNd-B00IN0NY.cjs → CasinoGamesCategorySectionNd-Dn607ygR.cjs} +1 -1
  9. package/components/{CasinoMostPlayedSectionNd-rSTB2oQ2.js → CasinoMostPlayedSectionNd-7MvVExpU.js} +7 -7
  10. package/components/{CasinoMostPlayedSectionNd-DMSCcFHr.js → CasinoMostPlayedSectionNd-Btbhkbfr.js} +7 -7
  11. package/components/{CasinoMostPlayedSectionNd-JbaUmg9F.cjs → CasinoMostPlayedSectionNd-CHqIz6mI.cjs} +1 -1
  12. package/components/{CasinoSort-DYB5ofQs.js → CasinoSort-C4BlpoVe.js} +1 -1
  13. package/components/{CasinoSort-Bmgsan2q.js → CasinoSort-Dcl0IREt.js} +1 -1
  14. package/es2015/casino-most-played-section-nd.cjs +1 -1
  15. package/es2015/casino-most-played-section-nd.js +1 -1
  16. package/esnext/casino-most-played-section-nd.js +1 -1
  17. package/package.json +1 -1
  18. package/components/CasinoGameThumbnailNd-D0QecLeO.cjs +0 -30
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoFilter-fKOqHTFT.cjs");function U(n,e){t.addMessages(n,e)}function Q(n){t.$locale.set(n)}const q={en:{noGames:"No games in most played"},"zh-hk":{noGames:"No games in most played"},de:{noGames:"No games in most played"},it:{noGames:"No games in most played"},fr:{noGames:"No games in most played"},es:{noGames:"No hay juegos en más jugados."},tr:{noGames:"En çok oynananlarda oyun yok"},ru:{noGames:"No games in most played"},ro:{noGames:"No games in most played"},hr:{noGames:"Nema igara u najigranijim"},hu:{noGames:"No games in most played"},pl:{noGames:"No games in most played"},pt:{noGames:"No games in most played"},sl:{noGames:"No games in most played"},sr:{noGames:"No games in most played"},"pt-br":{noGames:"Não há jogos nos mais jogados"},"es-mx":{noGames:"No hay juegos en los más jugados"},"en-us":{noGames:"No games in most played"}};if(typeof window!="undefined"){let n=function(e){return function(...a){try{return e.apply(this,a)}catch(i){if(i instanceof DOMException&&i.message.includes("has already been used with this registry")||i.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw i}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("./CasinoGamesCategorySectionNd-B00IN0NY.cjs")).then(({default:e})=>{!customElements.get("casino-games-category-section-nd")&&customElements.define("casino-games-category-section-nd",e.element)})}function V(n){t.append_styles(n,"svelte-1de9den","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.casino-most-played-section{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}")}function W(n){let e;return{c(){e=t.element("casino-games-category-section-nd"),t.set_custom_element_data(e,"session",n[4]),t.set_custom_element_data(e,"userid",n[5]),t.set_custom_element_data(e,"endpoint",n[0]),t.set_custom_element_data(e,"datasource",n[1]),t.set_custom_element_data(e,"lang",n[3]),t.set_custom_element_data(e,"currency",n[2]),t.set_custom_element_data(e,"favorites",n[15]),t.set_custom_element_data(e,"fetchviaevent",n[18]),t.set_custom_element_data(e,"categoryid","MOSTPLAYED"),t.set_custom_element_data(e,"categoryindex","1"),t.set_custom_element_data(e,"categorygames","9"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",n[13]),t.set_custom_element_data(e,"clientstyling",n[7]),t.set_custom_element_data(e,"clientstylingurl",n[8]),t.set_custom_element_data(e,"translationurl",n[16]),t.set_custom_element_data(e,"livecasino",n[9]),t.set_custom_element_data(e,"visiblegames",n[14]),t.set_custom_element_data(e,"gamepagemodalurl",n[12]),t.set_custom_element_data(e,"integratedgameframedesktop",n[11]),t.set_custom_element_data(e,"integratedgameframemobile",n[10]),t.set_custom_element_data(e,"casinomygames",n[17]),t.set_custom_element_data(e,"mbsource",n[6])},m(a,i){t.insert(a,e,i)},p(a,i){i[0]&16&&t.set_custom_element_data(e,"session",a[4]),i[0]&32&&t.set_custom_element_data(e,"userid",a[5]),i[0]&1&&t.set_custom_element_data(e,"endpoint",a[0]),i[0]&2&&t.set_custom_element_data(e,"datasource",a[1]),i[0]&8&&t.set_custom_element_data(e,"lang",a[3]),i[0]&4&&t.set_custom_element_data(e,"currency",a[2]),i[0]&32768&&t.set_custom_element_data(e,"favorites",a[15]),i[0]&262144&&t.set_custom_element_data(e,"fetchviaevent",a[18]),i[0]&8192&&t.set_custom_element_data(e,"showgamename",a[13]),i[0]&128&&t.set_custom_element_data(e,"clientstyling",a[7]),i[0]&256&&t.set_custom_element_data(e,"clientstylingurl",a[8]),i[0]&65536&&t.set_custom_element_data(e,"translationurl",a[16]),i[0]&512&&t.set_custom_element_data(e,"livecasino",a[9]),i[0]&16384&&t.set_custom_element_data(e,"visiblegames",a[14]),i[0]&4096&&t.set_custom_element_data(e,"gamepagemodalurl",a[12]),i[0]&2048&&t.set_custom_element_data(e,"integratedgameframedesktop",a[11]),i[0]&1024&&t.set_custom_element_data(e,"integratedgameframemobile",a[10]),i[0]&131072&&t.set_custom_element_data(e,"casinomygames",a[17]),i[0]&64&&t.set_custom_element_data(e,"mbsource",a[6])},d(a){a&&t.detach(e)}}}function X(n){let e,a=n[21]("noGames")+"",i;return{c(){e=t.element("p"),i=t.text(a),t.attr(e,"class","SearchLoading")},m(l,o){t.insert(l,e,o),t.append(e,i)},p(l,o){o[0]&2097152&&a!==(a=l[21]("noGames")+"")&&t.set_data(i,a)},d(l){l&&t.detach(e)}}}function Z(n){let e,a;function i(r,u){return r[20]?X:W}let l=i(n),o=l(n);return{c(){e=t.element("div"),a=t.element("div"),o.c(),t.attr(a,"class","casino-most-played-section"),t.attr(e,"class","CasinoGamesCategorySectionContainer")},m(r,u){t.insert(r,e,u),t.append(e,a),o.m(a,null),n[24](e)},p(r,u){l===(l=i(r))&&o?o.p(r,u):(o.d(1),o=l(r),o&&(o.c(),o.m(a,null)))},i:t.noop,o:t.noop,d(r){r&&t.detach(e),o.d(),n[24](null)}}}function x(n,e,a){let i;t.component_subscribe(n,t.$format,s=>a(21,i=s));let{endpoint:l=""}=e,{datasource:o=""}=e,{currency:r=""}=e,{lang:u=""}=e,{session:j=""}=e,{userid:h=""}=e,{mbsource:y}=e,{clientstyling:b=""}=e,{clientstylingurl:v=""}=e,{livecasino:w="false"}=e,{integratedgameframemobile:M="false"}=e,{integratedgameframedesktop:E="false"}=e,{gamepagemodalurl:L="false"}=e,{showgamename:A=""}=e,{visiblegames:N}=e,{favorites:O=""}=e,{translationurl:G=""}=e,{casinomygames:P="false"}=e,{mostplayedperiod:C="Last30Days"}=e,{mostplayedrounds:S="10"}=e,{fetchviaevent:D="true"}=e,I=window.navigator.userAgent;const J=()=>{fetch(G).then(m=>m.json()).then(m=>{Object.keys(m).forEach(d=>{U(d,m[d])})}).catch(m=>{console.log(m)})};Object.keys(q).forEach(s=>{U(s,q[s])});let k=[],F,T=!1,c;const Y=s=>{let m=new URL(`${l}/v1/player/${h}/games/most-played`);s.limit&&m.searchParams.append("limit",s.limit),s.order&&m.searchParams.append("order",s.order),m.searchParams.append("expand","games"),m.searchParams.append("period",C);let d=s.device;return d?d==="PC"?m.searchParams.append("device","Desktop"):m.searchParams.append("device","Mobile"):m.searchParams.append("device","All"),s.rounds&&m.searchParams.append("rounds",s.rounds),F=w?m:m.href,new Promise((g,_)=>{fetch(F).then(f=>f.json()).then(f=>{f.items=f.items.filter(K=>{let R=!0;return K.gameCode=="OddsMatrix2"&&(f.count--,R=!1),R}),g(f)}).catch(f=>{console.error(f),_(f)})})},p=()=>{Y({limit:100,device:t.getDevice(I),rounds:S}).then(s=>{if(s.count>0){let m=[];s.items.forEach(d=>{let g=new URL(`${l}/v1/casino/games/${d.gameId}`);g.searchParams.append("datasource",o),w?m.push(fetch(g.href).then(_=>_.json())):m.push(fetch(g.href).then(_=>_.json()))}),Promise.all(m).then(d=>{k=d.filter(g=>!("error"in g)).map(g=>g[0]),P==="true"&&(k=k.slice(0,JSON.parse(N))),window.postMessage({type:"MostPlayedData",mostPlayedGames:k},window.location.href)})}else a(20,T=!0)})},B=()=>{Q(u)};t.onMount(()=>()=>{});function H(s){t.binding_callbacks[s?"unshift":"push"](()=>{c=s,a(19,c)})}return n.$$set=s=>{"endpoint"in s&&a(0,l=s.endpoint),"datasource"in s&&a(1,o=s.datasource),"currency"in s&&a(2,r=s.currency),"lang"in s&&a(3,u=s.lang),"session"in s&&a(4,j=s.session),"userid"in s&&a(5,h=s.userid),"mbsource"in s&&a(6,y=s.mbsource),"clientstyling"in s&&a(7,b=s.clientstyling),"clientstylingurl"in s&&a(8,v=s.clientstylingurl),"livecasino"in s&&a(9,w=s.livecasino),"integratedgameframemobile"in s&&a(10,M=s.integratedgameframemobile),"integratedgameframedesktop"in s&&a(11,E=s.integratedgameframedesktop),"gamepagemodalurl"in s&&a(12,L=s.gamepagemodalurl),"showgamename"in s&&a(13,A=s.showgamename),"visiblegames"in s&&a(14,N=s.visiblegames),"favorites"in s&&a(15,O=s.favorites),"translationurl"in s&&a(16,G=s.translationurl),"casinomygames"in s&&a(17,P=s.casinomygames),"mostplayedperiod"in s&&a(22,C=s.mostplayedperiod),"mostplayedrounds"in s&&a(23,S=s.mostplayedrounds),"fetchviaevent"in s&&a(18,D=s.fetchviaevent)},n.$$.update=()=>{n.$$.dirty[0]&41&&l&&h&&u&&p(),n.$$.dirty[0]&524416&&b&&c&&t.setClientStyling(c,b),n.$$.dirty[0]&524544&&v&&c&&t.setClientStylingURL(c,v),n.$$.dirty[0]&524352&&y&&c&&t.setStreamStyling(c,`${y}.Style`),n.$$.dirty[0]&65536&&G&&J(),n.$$.dirty[0]&8&&u&&B()},[l,o,r,u,j,h,y,b,v,w,M,E,L,A,N,O,G,P,D,c,T,i,C,S,H]}class z extends t.SvelteComponent{constructor(e){super(),t.init(this,e,x,Z,t.safe_not_equal,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,mbsource:6,clientstyling:7,clientstylingurl:8,livecasino:9,integratedgameframemobile:10,integratedgameframedesktop:11,gamepagemodalurl:12,showgamename:13,visiblegames:14,favorites:15,translationurl:16,casinomygames:17,mostplayedperiod:22,mostplayedrounds:23,fetchviaevent:18},V,[-1,-1])}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),t.flush()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),t.flush()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),t.flush()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),t.flush()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),t.flush()}get mbsource(){return this.$$.ctx[6]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get livecasino(){return this.$$.ctx[9]}set livecasino(e){this.$$set({livecasino:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[10]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[11]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),t.flush()}get gamepagemodalurl(){return this.$$.ctx[12]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get showgamename(){return this.$$.ctx[13]}set showgamename(e){this.$$set({showgamename:e}),t.flush()}get visiblegames(){return this.$$.ctx[14]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get favorites(){return this.$$.ctx[15]}set favorites(e){this.$$set({favorites:e}),t.flush()}get translationurl(){return this.$$.ctx[16]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get casinomygames(){return this.$$.ctx[17]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get mostplayedperiod(){return this.$$.ctx[22]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),t.flush()}get mostplayedrounds(){return this.$$.ctx[23]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),t.flush()}get fetchviaevent(){return this.$$.ctx[18]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),t.flush()}}t.create_custom_element(z,{endpoint:{},datasource:{},currency:{},lang:{},session:{},userid:{},mbsource:{},clientstyling:{},clientstylingurl:{},livecasino:{},integratedgameframemobile:{},integratedgameframedesktop:{},gamepagemodalurl:{},showgamename:{},visiblegames:{},favorites:{},translationurl:{},casinomygames:{},mostplayedperiod:{},mostplayedrounds:{},fetchviaevent:{}},[],[],!0);exports.default=z;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoFilter-fKOqHTFT.cjs");function U(n,e){t.addMessages(n,e)}function Q(n){t.$locale.set(n)}const q={en:{noGames:"No games in most played"},"zh-hk":{noGames:"No games in most played"},de:{noGames:"No games in most played"},it:{noGames:"No games in most played"},fr:{noGames:"No games in most played"},es:{noGames:"No hay juegos en más jugados."},tr:{noGames:"En çok oynananlarda oyun yok"},ru:{noGames:"No games in most played"},ro:{noGames:"No games in most played"},hr:{noGames:"Nema igara u najigranijim"},hu:{noGames:"No games in most played"},pl:{noGames:"No games in most played"},pt:{noGames:"No games in most played"},sl:{noGames:"No games in most played"},sr:{noGames:"No games in most played"},"pt-br":{noGames:"Não há jogos nos mais jogados"},"es-mx":{noGames:"No hay juegos en los más jugados"},"en-us":{noGames:"No games in most played"}};if(typeof window!="undefined"){let n=function(e){return function(...a){try{return e.apply(this,a)}catch(i){if(i instanceof DOMException&&i.message.includes("has already been used with this registry")||i.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw i}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("./CasinoGamesCategorySectionNd-Dn607ygR.cjs")).then(({default:e})=>{!customElements.get("casino-games-category-section-nd")&&customElements.define("casino-games-category-section-nd",e.element)})}function V(n){t.append_styles(n,"svelte-1de9den","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.casino-most-played-section{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}")}function W(n){let e;return{c(){e=t.element("casino-games-category-section-nd"),t.set_custom_element_data(e,"session",n[4]),t.set_custom_element_data(e,"userid",n[5]),t.set_custom_element_data(e,"endpoint",n[0]),t.set_custom_element_data(e,"datasource",n[1]),t.set_custom_element_data(e,"lang",n[3]),t.set_custom_element_data(e,"currency",n[2]),t.set_custom_element_data(e,"favorites",n[15]),t.set_custom_element_data(e,"fetchviaevent",n[18]),t.set_custom_element_data(e,"categoryid","MOSTPLAYED"),t.set_custom_element_data(e,"categoryindex","1"),t.set_custom_element_data(e,"categorygames","9"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",n[13]),t.set_custom_element_data(e,"clientstyling",n[7]),t.set_custom_element_data(e,"clientstylingurl",n[8]),t.set_custom_element_data(e,"translationurl",n[16]),t.set_custom_element_data(e,"livecasino",n[9]),t.set_custom_element_data(e,"visiblegames",n[14]),t.set_custom_element_data(e,"gamepagemodalurl",n[12]),t.set_custom_element_data(e,"integratedgameframedesktop",n[11]),t.set_custom_element_data(e,"integratedgameframemobile",n[10]),t.set_custom_element_data(e,"casinomygames",n[17]),t.set_custom_element_data(e,"mbsource",n[6])},m(a,i){t.insert(a,e,i)},p(a,i){i[0]&16&&t.set_custom_element_data(e,"session",a[4]),i[0]&32&&t.set_custom_element_data(e,"userid",a[5]),i[0]&1&&t.set_custom_element_data(e,"endpoint",a[0]),i[0]&2&&t.set_custom_element_data(e,"datasource",a[1]),i[0]&8&&t.set_custom_element_data(e,"lang",a[3]),i[0]&4&&t.set_custom_element_data(e,"currency",a[2]),i[0]&32768&&t.set_custom_element_data(e,"favorites",a[15]),i[0]&262144&&t.set_custom_element_data(e,"fetchviaevent",a[18]),i[0]&8192&&t.set_custom_element_data(e,"showgamename",a[13]),i[0]&128&&t.set_custom_element_data(e,"clientstyling",a[7]),i[0]&256&&t.set_custom_element_data(e,"clientstylingurl",a[8]),i[0]&65536&&t.set_custom_element_data(e,"translationurl",a[16]),i[0]&512&&t.set_custom_element_data(e,"livecasino",a[9]),i[0]&16384&&t.set_custom_element_data(e,"visiblegames",a[14]),i[0]&4096&&t.set_custom_element_data(e,"gamepagemodalurl",a[12]),i[0]&2048&&t.set_custom_element_data(e,"integratedgameframedesktop",a[11]),i[0]&1024&&t.set_custom_element_data(e,"integratedgameframemobile",a[10]),i[0]&131072&&t.set_custom_element_data(e,"casinomygames",a[17]),i[0]&64&&t.set_custom_element_data(e,"mbsource",a[6])},d(a){a&&t.detach(e)}}}function X(n){let e,a=n[21]("noGames")+"",i;return{c(){e=t.element("p"),i=t.text(a),t.attr(e,"class","SearchLoading")},m(l,o){t.insert(l,e,o),t.append(e,i)},p(l,o){o[0]&2097152&&a!==(a=l[21]("noGames")+"")&&t.set_data(i,a)},d(l){l&&t.detach(e)}}}function Z(n){let e,a;function i(r,u){return r[20]?X:W}let l=i(n),o=l(n);return{c(){e=t.element("div"),a=t.element("div"),o.c(),t.attr(a,"class","casino-most-played-section"),t.attr(e,"class","CasinoGamesCategorySectionContainer")},m(r,u){t.insert(r,e,u),t.append(e,a),o.m(a,null),n[24](e)},p(r,u){l===(l=i(r))&&o?o.p(r,u):(o.d(1),o=l(r),o&&(o.c(),o.m(a,null)))},i:t.noop,o:t.noop,d(r){r&&t.detach(e),o.d(),n[24](null)}}}function x(n,e,a){let i;t.component_subscribe(n,t.$format,s=>a(21,i=s));let{endpoint:l=""}=e,{datasource:o=""}=e,{currency:r=""}=e,{lang:u=""}=e,{session:j=""}=e,{userid:h=""}=e,{mbsource:y}=e,{clientstyling:b=""}=e,{clientstylingurl:v=""}=e,{livecasino:w="false"}=e,{integratedgameframemobile:M="false"}=e,{integratedgameframedesktop:E="false"}=e,{gamepagemodalurl:L="false"}=e,{showgamename:A=""}=e,{visiblegames:N}=e,{favorites:O=""}=e,{translationurl:G=""}=e,{casinomygames:P="false"}=e,{mostplayedperiod:C="Last30Days"}=e,{mostplayedrounds:S="10"}=e,{fetchviaevent:D="true"}=e,I=window.navigator.userAgent;const J=()=>{fetch(G).then(m=>m.json()).then(m=>{Object.keys(m).forEach(d=>{U(d,m[d])})}).catch(m=>{console.log(m)})};Object.keys(q).forEach(s=>{U(s,q[s])});let k=[],F,T=!1,c;const Y=s=>{let m=new URL(`${l}/v1/player/${h}/games/most-played`);s.limit&&m.searchParams.append("limit",s.limit),s.order&&m.searchParams.append("order",s.order),m.searchParams.append("expand","games"),m.searchParams.append("period",C);let d=s.device;return d?d==="PC"?m.searchParams.append("device","Desktop"):m.searchParams.append("device","Mobile"):m.searchParams.append("device","All"),s.rounds&&m.searchParams.append("rounds",s.rounds),F=w?m:m.href,new Promise((g,_)=>{fetch(F).then(f=>f.json()).then(f=>{f.items=f.items.filter(K=>{let R=!0;return K.gameCode=="OddsMatrix2"&&(f.count--,R=!1),R}),g(f)}).catch(f=>{console.error(f),_(f)})})},p=()=>{Y({limit:100,device:t.getDevice(I),rounds:S}).then(s=>{if(s.count>0){let m=[];s.items.forEach(d=>{let g=new URL(`${l}/v1/casino/games/${d.gameId}`);g.searchParams.append("datasource",o),w?m.push(fetch(g.href).then(_=>_.json())):m.push(fetch(g.href).then(_=>_.json()))}),Promise.all(m).then(d=>{k=d.filter(g=>!("error"in g)).map(g=>g[0]),P==="true"&&(k=k.slice(0,JSON.parse(N))),window.postMessage({type:"MostPlayedData",mostPlayedGames:k},window.location.href)})}else a(20,T=!0)})},B=()=>{Q(u)};t.onMount(()=>()=>{});function H(s){t.binding_callbacks[s?"unshift":"push"](()=>{c=s,a(19,c)})}return n.$$set=s=>{"endpoint"in s&&a(0,l=s.endpoint),"datasource"in s&&a(1,o=s.datasource),"currency"in s&&a(2,r=s.currency),"lang"in s&&a(3,u=s.lang),"session"in s&&a(4,j=s.session),"userid"in s&&a(5,h=s.userid),"mbsource"in s&&a(6,y=s.mbsource),"clientstyling"in s&&a(7,b=s.clientstyling),"clientstylingurl"in s&&a(8,v=s.clientstylingurl),"livecasino"in s&&a(9,w=s.livecasino),"integratedgameframemobile"in s&&a(10,M=s.integratedgameframemobile),"integratedgameframedesktop"in s&&a(11,E=s.integratedgameframedesktop),"gamepagemodalurl"in s&&a(12,L=s.gamepagemodalurl),"showgamename"in s&&a(13,A=s.showgamename),"visiblegames"in s&&a(14,N=s.visiblegames),"favorites"in s&&a(15,O=s.favorites),"translationurl"in s&&a(16,G=s.translationurl),"casinomygames"in s&&a(17,P=s.casinomygames),"mostplayedperiod"in s&&a(22,C=s.mostplayedperiod),"mostplayedrounds"in s&&a(23,S=s.mostplayedrounds),"fetchviaevent"in s&&a(18,D=s.fetchviaevent)},n.$$.update=()=>{n.$$.dirty[0]&41&&l&&h&&u&&p(),n.$$.dirty[0]&524416&&b&&c&&t.setClientStyling(c,b),n.$$.dirty[0]&524544&&v&&c&&t.setClientStylingURL(c,v),n.$$.dirty[0]&524352&&y&&c&&t.setStreamStyling(c,`${y}.Style`),n.$$.dirty[0]&65536&&G&&J(),n.$$.dirty[0]&8&&u&&B()},[l,o,r,u,j,h,y,b,v,w,M,E,L,A,N,O,G,P,D,c,T,i,C,S,H]}class z extends t.SvelteComponent{constructor(e){super(),t.init(this,e,x,Z,t.safe_not_equal,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,mbsource:6,clientstyling:7,clientstylingurl:8,livecasino:9,integratedgameframemobile:10,integratedgameframedesktop:11,gamepagemodalurl:12,showgamename:13,visiblegames:14,favorites:15,translationurl:16,casinomygames:17,mostplayedperiod:22,mostplayedrounds:23,fetchviaevent:18},V,[-1,-1])}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),t.flush()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),t.flush()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),t.flush()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),t.flush()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),t.flush()}get mbsource(){return this.$$.ctx[6]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get livecasino(){return this.$$.ctx[9]}set livecasino(e){this.$$set({livecasino:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[10]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[11]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),t.flush()}get gamepagemodalurl(){return this.$$.ctx[12]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get showgamename(){return this.$$.ctx[13]}set showgamename(e){this.$$set({showgamename:e}),t.flush()}get visiblegames(){return this.$$.ctx[14]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get favorites(){return this.$$.ctx[15]}set favorites(e){this.$$set({favorites:e}),t.flush()}get translationurl(){return this.$$.ctx[16]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get casinomygames(){return this.$$.ctx[17]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get mostplayedperiod(){return this.$$.ctx[22]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),t.flush()}get mostplayedrounds(){return this.$$.ctx[23]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),t.flush()}get fetchviaevent(){return this.$$.ctx[18]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),t.flush()}}t.create_custom_element(z,{endpoint:{},datasource:{},currency:{},lang:{},session:{},userid:{},mbsource:{},clientstyling:{},clientstylingurl:{},livecasino:{},integratedgameframemobile:{},integratedgameframedesktop:{},gamepagemodalurl:{},showgamename:{},visiblegames:{},favorites:{},translationurl:{},casinomygames:{},mostplayedperiod:{},mostplayedrounds:{},fetchviaevent:{}},[],[],!0);exports.default=z;
@@ -1,4 +1,4 @@
1
- import { $ as q, N as et, a as rt, S as ot, i as nt, s as at, f as E, b as lt, n as U, d as P, h as R, k as m, m as st, o as it, y as ct, B as G, C as dt, r as K, g as r, j as s, u as tt, z as N, l as Z, v as Q, E as pt, p as gt, F as ut, G as ht, I as mt } from "./CasinoFilter-DrXgrXKK.js";
1
+ import { $ as q, N as et, a as rt, S as ot, i as nt, s as at, f as E, b as lt, n as U, d as P, j as R, l as m, o as st, p as it, y as ct, B as G, C as dt, r as K, g as r, k as s, u as tt, z as N, m as Z, v as Q, E as pt, q as gt, F as ut, G as ht, I as mt } from "./CasinoFilter-5M2JC_AV.js";
2
2
  function ft({ withLocale: t, translations: e }) {
3
3
  q.subscribe((o) => {
4
4
  o == null && (et.set(e), q.set(t));
@@ -1,4 +1,4 @@
1
- import { $ as q, N as et, a as rt, S as ot, i as nt, s as at, f as E, b as lt, n as U, d as P, h as R, k as h, m as st, o as it, y as ct, B as G, C as dt, r as K, g as r, j as s, u as tt, z as N, l as Z, v as Q, E as pt, p as gt, F as ut, G as ht, I as mt } from "./CasinoFilter-DOPPuZ3Q.js";
1
+ import { $ as q, N as et, a as rt, S as ot, i as nt, s as at, f as E, b as lt, n as U, d as P, j as R, l as h, o as st, p as it, y as ct, B as G, C as dt, r as K, g as r, k as s, u as tt, z as N, m as Z, v as Q, E as pt, q as gt, F as ut, G as ht, I as mt } from "./CasinoFilter-Cxf67rk9.js";
2
2
  function ft({ withLocale: t, translations: e }) {
3
3
  q.subscribe((o) => {
4
4
  o == null && (et.set(e), q.set(t));
@@ -1 +1 @@
1
- "use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoMostPlayedSectionNd-JbaUmg9F.cjs")).then(({default:t})=>{!customElements.get("casino-most-played-section-nd")&&customElements.define("casino-most-played-section-nd",t.element)})}
1
+ "use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoMostPlayedSectionNd-CHqIz6mI.cjs")).then(({default:t})=>{!customElements.get("casino-most-played-section-nd")&&customElements.define("casino-most-played-section-nd",t.element)})}
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
10
10
  }
11
11
  };
12
12
  };
13
- customElements.define = n(customElements.define), import("../components/CasinoMostPlayedSectionNd-DMSCcFHr.js").then(({ default: t }) => {
13
+ customElements.define = n(customElements.define), import("../components/CasinoMostPlayedSectionNd-Btbhkbfr.js").then(({ default: t }) => {
14
14
  !customElements.get("casino-most-played-section-nd") && customElements.define("casino-most-played-section-nd", t.element);
15
15
  });
16
16
  }
@@ -1,4 +1,4 @@
1
- import { C as s } from "../components/CasinoMostPlayedSectionNd-rSTB2oQ2.js";
1
+ import { C as s } from "../components/CasinoMostPlayedSectionNd-7MvVExpU.js";
2
2
  function o(t) {
3
3
  return function(...n) {
4
4
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/casino-most-played-section-nd",
3
- "version": "1.85.13",
3
+ "version": "1.85.15",
4
4
  "type": "module",
5
5
  "main": "es2015/casino-most-played-section-nd.cjs",
6
6
  "module": "esnext/casino-most-played-section-nd.js",
@@ -1,30 +0,0 @@
1
- "use strict";var Ze=(a,e,t)=>new Promise((n,i)=>{var o=u=>{try{m(t.next(u))}catch(c){i(c)}},s=u=>{try{m(t.throw(u))}catch(c){i(c)}},m=u=>u.done?n(u.value):Promise.resolve(u.value).then(o,s);m((t=t.apply(a,e)).next())});const r=require("./CasinoFilter-fKOqHTFT.cjs");require("../stencil/ui-image-BX-FBhad.cjs");function he(a){"@babel/helpers - typeof";return he=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},he(a)}function q(a){if(a===null||a===!0||a===!1)return NaN;var e=Number(a);return isNaN(e)?e:e<0?Math.ceil(e):Math.floor(e)}function M(a,e){if(e.length<a)throw new TypeError(a+" argument"+(a>1?"s":"")+" required, but only "+e.length+" present")}function x(a){M(1,arguments);var e=Object.prototype.toString.call(a);return a instanceof Date||he(a)==="object"&&e==="[object Date]"?new Date(a.getTime()):typeof a=="number"||e==="[object Number]"?new Date(a):((typeof a=="string"||e==="[object String]")&&typeof console!="undefined"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(new Error().stack)),new Date(NaN))}function Ht(a,e){M(2,arguments);var t=x(a).getTime(),n=q(e);return new Date(t+n)}var jt={};function be(){return jt}function Kt(a){var e=new Date(Date.UTC(a.getFullYear(),a.getMonth(),a.getDate(),a.getHours(),a.getMinutes(),a.getSeconds(),a.getMilliseconds()));return e.setUTCFullYear(a.getFullYear()),a.getTime()-e.getTime()}function Vt(a){return M(1,arguments),a instanceof Date||he(a)==="object"&&Object.prototype.toString.call(a)==="[object Date]"}function qt(a){if(M(1,arguments),!Vt(a)&&typeof a!="number")return!1;var e=x(a);return!isNaN(Number(e))}function Xt(a,e){return M(2,arguments),x(a).getTime()-x(e).getTime()}function Qt(a,e){M(2,arguments);var t=q(e);return Ht(a,-t)}var Jt=864e5;function Zt(a){M(1,arguments);var e=x(a),t=e.getTime();e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0);var n=e.getTime(),i=t-n;return Math.floor(i/Jt)+1}function ge(a){M(1,arguments);var e=1,t=x(a),n=t.getUTCDay(),i=(n<e?7:0)+n-e;return t.setUTCDate(t.getUTCDate()-i),t.setUTCHours(0,0,0,0),t}function wt(a){M(1,arguments);var e=x(a),t=e.getUTCFullYear(),n=new Date(0);n.setUTCFullYear(t+1,0,4),n.setUTCHours(0,0,0,0);var i=ge(n),o=new Date(0);o.setUTCFullYear(t,0,4),o.setUTCHours(0,0,0,0);var s=ge(o);return e.getTime()>=i.getTime()?t+1:e.getTime()>=s.getTime()?t:t-1}function $t(a){M(1,arguments);var e=wt(a),t=new Date(0);t.setUTCFullYear(e,0,4),t.setUTCHours(0,0,0,0);var n=ge(t);return n}var ea=6048e5;function ta(a){M(1,arguments);var e=x(a),t=ge(e).getTime()-$t(e).getTime();return Math.round(t/ea)+1}function pe(a,e){var t,n,i,o,s,m,u,c;M(1,arguments);var f=be(),d=q((t=(n=(i=(o=e==null?void 0:e.weekStartsOn)!==null&&o!==void 0?o:e==null||(s=e.locale)===null||s===void 0||(m=s.options)===null||m===void 0?void 0:m.weekStartsOn)!==null&&i!==void 0?i:f.weekStartsOn)!==null&&n!==void 0?n:(u=f.locale)===null||u===void 0||(c=u.options)===null||c===void 0?void 0:c.weekStartsOn)!==null&&t!==void 0?t:0);if(!(d>=0&&d<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var p=x(a),h=p.getUTCDay(),C=(h<d?7:0)+h-d;return p.setUTCDate(p.getUTCDate()-C),p.setUTCHours(0,0,0,0),p}function yt(a,e){var t,n,i,o,s,m,u,c;M(1,arguments);var f=x(a),d=f.getUTCFullYear(),p=be(),h=q((t=(n=(i=(o=e==null?void 0:e.firstWeekContainsDate)!==null&&o!==void 0?o:e==null||(s=e.locale)===null||s===void 0||(m=s.options)===null||m===void 0?void 0:m.firstWeekContainsDate)!==null&&i!==void 0?i:p.firstWeekContainsDate)!==null&&n!==void 0?n:(u=p.locale)===null||u===void 0||(c=u.options)===null||c===void 0?void 0:c.firstWeekContainsDate)!==null&&t!==void 0?t:1);if(!(h>=1&&h<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var C=new Date(0);C.setUTCFullYear(d+1,0,h),C.setUTCHours(0,0,0,0);var P=pe(C,e),v=new Date(0);v.setUTCFullYear(d,0,h),v.setUTCHours(0,0,0,0);var O=pe(v,e);return f.getTime()>=P.getTime()?d+1:f.getTime()>=O.getTime()?d:d-1}function aa(a,e){var t,n,i,o,s,m,u,c;M(1,arguments);var f=be(),d=q((t=(n=(i=(o=e==null?void 0:e.firstWeekContainsDate)!==null&&o!==void 0?o:e==null||(s=e.locale)===null||s===void 0||(m=s.options)===null||m===void 0?void 0:m.firstWeekContainsDate)!==null&&i!==void 0?i:f.firstWeekContainsDate)!==null&&n!==void 0?n:(u=f.locale)===null||u===void 0||(c=u.options)===null||c===void 0?void 0:c.firstWeekContainsDate)!==null&&t!==void 0?t:1),p=yt(a,e),h=new Date(0);h.setUTCFullYear(p,0,d),h.setUTCHours(0,0,0,0);var C=pe(h,e);return C}var na=6048e5;function ra(a,e){M(1,arguments);var t=x(a),n=pe(t,e).getTime()-aa(t,e).getTime();return Math.round(n/na)+1}function G(a,e){for(var t=a<0?"-":"",n=Math.abs(a).toString();n.length<e;)n="0"+n;return t+n}var j={y:function(e,t){var n=e.getUTCFullYear(),i=n>0?n:1-n;return G(t==="yy"?i%100:i,t.length)},M:function(e,t){var n=e.getUTCMonth();return t==="M"?String(n+1):G(n+1,2)},d:function(e,t){return G(e.getUTCDate(),t.length)},a:function(e,t){var n=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h:function(e,t){return G(e.getUTCHours()%12||12,t.length)},H:function(e,t){return G(e.getUTCHours(),t.length)},m:function(e,t){return G(e.getUTCMinutes(),t.length)},s:function(e,t){return G(e.getUTCSeconds(),t.length)},S:function(e,t){var n=t.length,i=e.getUTCMilliseconds(),o=Math.floor(i*Math.pow(10,n-3));return G(o,t.length)}},Z={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},ia={G:function(e,t,n){var i=e.getUTCFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(i,{width:"abbreviated"});case"GGGGG":return n.era(i,{width:"narrow"});case"GGGG":default:return n.era(i,{width:"wide"})}},y:function(e,t,n){if(t==="yo"){var i=e.getUTCFullYear(),o=i>0?i:1-i;return n.ordinalNumber(o,{unit:"year"})}return j.y(e,t)},Y:function(e,t,n,i){var o=yt(e,i),s=o>0?o:1-o;if(t==="YY"){var m=s%100;return G(m,2)}return t==="Yo"?n.ordinalNumber(s,{unit:"year"}):G(s,t.length)},R:function(e,t){var n=wt(e);return G(n,t.length)},u:function(e,t){var n=e.getUTCFullYear();return G(n,t.length)},Q:function(e,t,n){var i=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"Q":return String(i);case"QQ":return G(i,2);case"Qo":return n.ordinalNumber(i,{unit:"quarter"});case"QQQ":return n.quarter(i,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(i,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(i,{width:"wide",context:"formatting"})}},q:function(e,t,n){var i=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"q":return String(i);case"qq":return G(i,2);case"qo":return n.ordinalNumber(i,{unit:"quarter"});case"qqq":return n.quarter(i,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(i,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(i,{width:"wide",context:"standalone"})}},M:function(e,t,n){var i=e.getUTCMonth();switch(t){case"M":case"MM":return j.M(e,t);case"Mo":return n.ordinalNumber(i+1,{unit:"month"});case"MMM":return n.month(i,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(i,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(i,{width:"wide",context:"formatting"})}},L:function(e,t,n){var i=e.getUTCMonth();switch(t){case"L":return String(i+1);case"LL":return G(i+1,2);case"Lo":return n.ordinalNumber(i+1,{unit:"month"});case"LLL":return n.month(i,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(i,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(i,{width:"wide",context:"standalone"})}},w:function(e,t,n,i){var o=ra(e,i);return t==="wo"?n.ordinalNumber(o,{unit:"week"}):G(o,t.length)},I:function(e,t,n){var i=ta(e);return t==="Io"?n.ordinalNumber(i,{unit:"week"}):G(i,t.length)},d:function(e,t,n){return t==="do"?n.ordinalNumber(e.getUTCDate(),{unit:"date"}):j.d(e,t)},D:function(e,t,n){var i=Zt(e);return t==="Do"?n.ordinalNumber(i,{unit:"dayOfYear"}):G(i,t.length)},E:function(e,t,n){var i=e.getUTCDay();switch(t){case"E":case"EE":case"EEE":return n.day(i,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(i,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(i,{width:"short",context:"formatting"});case"EEEE":default:return n.day(i,{width:"wide",context:"formatting"})}},e:function(e,t,n,i){var o=e.getUTCDay(),s=(o-i.weekStartsOn+8)%7||7;switch(t){case"e":return String(s);case"ee":return G(s,2);case"eo":return n.ordinalNumber(s,{unit:"day"});case"eee":return n.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(o,{width:"short",context:"formatting"});case"eeee":default:return n.day(o,{width:"wide",context:"formatting"})}},c:function(e,t,n,i){var o=e.getUTCDay(),s=(o-i.weekStartsOn+8)%7||7;switch(t){case"c":return String(s);case"cc":return G(s,t.length);case"co":return n.ordinalNumber(s,{unit:"day"});case"ccc":return n.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(o,{width:"narrow",context:"standalone"});case"cccccc":return n.day(o,{width:"short",context:"standalone"});case"cccc":default:return n.day(o,{width:"wide",context:"standalone"})}},i:function(e,t,n){var i=e.getUTCDay(),o=i===0?7:i;switch(t){case"i":return String(o);case"ii":return G(o,t.length);case"io":return n.ordinalNumber(o,{unit:"day"});case"iii":return n.day(i,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(i,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(i,{width:"short",context:"formatting"});case"iiii":default:return n.day(i,{width:"wide",context:"formatting"})}},a:function(e,t,n){var i=e.getUTCHours(),o=i/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},b:function(e,t,n){var i=e.getUTCHours(),o;switch(i===12?o=Z.noon:i===0?o=Z.midnight:o=i/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},B:function(e,t,n){var i=e.getUTCHours(),o;switch(i>=17?o=Z.evening:i>=12?o=Z.afternoon:i>=4?o=Z.morning:o=Z.night,t){case"B":case"BB":case"BBB":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},h:function(e,t,n){if(t==="ho"){var i=e.getUTCHours()%12;return i===0&&(i=12),n.ordinalNumber(i,{unit:"hour"})}return j.h(e,t)},H:function(e,t,n){return t==="Ho"?n.ordinalNumber(e.getUTCHours(),{unit:"hour"}):j.H(e,t)},K:function(e,t,n){var i=e.getUTCHours()%12;return t==="Ko"?n.ordinalNumber(i,{unit:"hour"}):G(i,t.length)},k:function(e,t,n){var i=e.getUTCHours();return i===0&&(i=24),t==="ko"?n.ordinalNumber(i,{unit:"hour"}):G(i,t.length)},m:function(e,t,n){return t==="mo"?n.ordinalNumber(e.getUTCMinutes(),{unit:"minute"}):j.m(e,t)},s:function(e,t,n){return t==="so"?n.ordinalNumber(e.getUTCSeconds(),{unit:"second"}):j.s(e,t)},S:function(e,t){return j.S(e,t)},X:function(e,t,n,i){var o=i._originalDate||e,s=o.getTimezoneOffset();if(s===0)return"Z";switch(t){case"X":return et(s);case"XXXX":case"XX":return V(s);case"XXXXX":case"XXX":default:return V(s,":")}},x:function(e,t,n,i){var o=i._originalDate||e,s=o.getTimezoneOffset();switch(t){case"x":return et(s);case"xxxx":case"xx":return V(s);case"xxxxx":case"xxx":default:return V(s,":")}},O:function(e,t,n,i){var o=i._originalDate||e,s=o.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+$e(s,":");case"OOOO":default:return"GMT"+V(s,":")}},z:function(e,t,n,i){var o=i._originalDate||e,s=o.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+$e(s,":");case"zzzz":default:return"GMT"+V(s,":")}},t:function(e,t,n,i){var o=i._originalDate||e,s=Math.floor(o.getTime()/1e3);return G(s,t.length)},T:function(e,t,n,i){var o=i._originalDate||e,s=o.getTime();return G(s,t.length)}};function $e(a,e){var t=a>0?"-":"+",n=Math.abs(a),i=Math.floor(n/60),o=n%60;if(o===0)return t+String(i);var s=e;return t+String(i)+s+G(o,2)}function et(a,e){if(a%60===0){var t=a>0?"-":"+";return t+G(Math.abs(a)/60,2)}return V(a,e)}function V(a,e){var t=e||"",n=a>0?"-":"+",i=Math.abs(a),o=G(Math.floor(i/60),2),s=G(i%60,2);return n+o+t+s}var tt=function(e,t){switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});case"PPPP":default:return t.date({width:"full"})}},Gt=function(e,t){switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});case"pppp":default:return t.time({width:"full"})}},oa=function(e,t){var n=e.match(/(P+)(p+)?/)||[],i=n[1],o=n[2];if(!o)return tt(e,t);var s;switch(i){case"P":s=t.dateTime({width:"short"});break;case"PP":s=t.dateTime({width:"medium"});break;case"PPP":s=t.dateTime({width:"long"});break;case"PPPP":default:s=t.dateTime({width:"full"});break}return s.replace("{{date}}",tt(i,t)).replace("{{time}}",Gt(o,t))},sa={p:Gt,P:oa},la=["D","DD"],ma=["YY","YYYY"];function ua(a){return la.indexOf(a)!==-1}function da(a){return ma.indexOf(a)!==-1}function at(a,e,t){if(a==="YYYY")throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(e,"`) for formatting years to the input `").concat(t,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(a==="YY")throw new RangeError("Use `yy` instead of `YY` (in `".concat(e,"`) for formatting years to the input `").concat(t,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(a==="D")throw new RangeError("Use `d` instead of `D` (in `".concat(e,"`) for formatting days of the month to the input `").concat(t,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(a==="DD")throw new RangeError("Use `dd` instead of `DD` (in `".concat(e,"`) for formatting days of the month to the input `").concat(t,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var ca={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},fa=function(e,t,n){var i,o=ca[e];return typeof o=="string"?i=o:t===1?i=o.one:i=o.other.replace("{{count}}",t.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+i:i+" ago":i};function Pe(a){return function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.width?String(e.width):a.defaultWidth,n=a.formats[t]||a.formats[a.defaultWidth];return n}}var ha={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},ga={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},pa={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},ba={date:Pe({formats:ha,defaultWidth:"full"}),time:Pe({formats:ga,defaultWidth:"full"}),dateTime:Pe({formats:pa,defaultWidth:"full"})},va={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},wa=function(e,t,n,i){return va[e]};function re(a){return function(e,t){var n=t!=null&&t.context?String(t.context):"standalone",i;if(n==="formatting"&&a.formattingValues){var o=a.defaultFormattingWidth||a.defaultWidth,s=t!=null&&t.width?String(t.width):o;i=a.formattingValues[s]||a.formattingValues[o]}else{var m=a.defaultWidth,u=t!=null&&t.width?String(t.width):a.defaultWidth;i=a.values[u]||a.values[m]}var c=a.argumentCallback?a.argumentCallback(e):e;return i[c]}}var ya={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Ga={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Ca={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},_a={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},La={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},Fa={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},ka=function(e,t){var n=Number(e),i=n%100;if(i>20||i<10)switch(i%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},Ia={ordinalNumber:ka,era:re({values:ya,defaultWidth:"wide"}),quarter:re({values:Ga,defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:re({values:Ca,defaultWidth:"wide"}),day:re({values:_a,defaultWidth:"wide"}),dayPeriod:re({values:La,defaultWidth:"wide",formattingValues:Fa,defaultFormattingWidth:"wide"})};function ie(a){return function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.width,i=n&&a.matchPatterns[n]||a.matchPatterns[a.defaultMatchWidth],o=e.match(i);if(!o)return null;var s=o[0],m=n&&a.parsePatterns[n]||a.parsePatterns[a.defaultParseWidth],u=Array.isArray(m)?Sa(m,function(d){return d.test(s)}):Ta(m,function(d){return d.test(s)}),c;c=a.valueCallback?a.valueCallback(u):u,c=t.valueCallback?t.valueCallback(c):c;var f=e.slice(s.length);return{value:c,rest:f}}}function Ta(a,e){for(var t in a)if(a.hasOwnProperty(t)&&e(a[t]))return t}function Sa(a,e){for(var t=0;t<a.length;t++)if(e(a[t]))return t}function Oa(a){return function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=e.match(a.matchPattern);if(!n)return null;var i=n[0],o=e.match(a.parsePattern);if(!o)return null;var s=a.valueCallback?a.valueCallback(o[0]):o[0];s=t.valueCallback?t.valueCallback(s):s;var m=e.slice(i.length);return{value:s,rest:m}}}var Da=/^(\d+)(th|st|nd|rd)?/i,Ma=/\d+/i,xa={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},Pa={any:[/^b/i,/^(a|c)/i]},Ra={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},Na={any:[/1/i,/2/i,/3/i,/4/i]},Ea={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},Ba={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},Ua={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},Wa={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},Aa={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},Ya={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},za={ordinalNumber:Oa({matchPattern:Da,parsePattern:Ma,valueCallback:function(e){return parseInt(e,10)}}),era:ie({matchPatterns:xa,defaultMatchWidth:"wide",parsePatterns:Pa,defaultParseWidth:"any"}),quarter:ie({matchPatterns:Ra,defaultMatchWidth:"wide",parsePatterns:Na,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:ie({matchPatterns:Ea,defaultMatchWidth:"wide",parsePatterns:Ba,defaultParseWidth:"any"}),day:ie({matchPatterns:Ua,defaultMatchWidth:"wide",parsePatterns:Wa,defaultParseWidth:"any"}),dayPeriod:ie({matchPatterns:Aa,defaultMatchWidth:"any",parsePatterns:Ya,defaultParseWidth:"any"})},Ha={code:"en-US",formatDistance:fa,formatLong:ba,formatRelative:wa,localize:Ia,match:za,options:{weekStartsOn:0,firstWeekContainsDate:1}},ja=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Ka=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Va=/^'([^]*?)'?$/,qa=/''/g,Xa=/[a-zA-Z]/;function nt(a,e,t){var n,i,o,s,m,u,c,f,d,p,h,C,P,v;M(2,arguments);var O=String(e),L=be(),F=(n=(i=void 0)!==null&&i!==void 0?i:L.locale)!==null&&n!==void 0?n:Ha,T=q((o=(s=(m=(u=void 0)!==null&&u!==void 0?u:void 0)!==null&&m!==void 0?m:L.firstWeekContainsDate)!==null&&s!==void 0?s:(c=L.locale)===null||c===void 0||(f=c.options)===null||f===void 0?void 0:f.firstWeekContainsDate)!==null&&o!==void 0?o:1);if(!(T>=1&&T<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var k=q((d=(p=(h=(C=void 0)!==null&&C!==void 0?C:void 0)!==null&&h!==void 0?h:L.weekStartsOn)!==null&&p!==void 0?p:(P=L.locale)===null||P===void 0||(v=P.options)===null||v===void 0?void 0:v.weekStartsOn)!==null&&d!==void 0?d:0);if(!(k>=0&&k<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!F.localize)throw new RangeError("locale must contain localize property");if(!F.formatLong)throw new RangeError("locale must contain formatLong property");var _=x(a);if(!qt(_))throw new RangeError("Invalid time value");var Y=Kt(_),R=Qt(_,Y),D={firstWeekContainsDate:T,weekStartsOn:k,locale:F,_originalDate:_},I=O.match(Ka).map(function(g){var w=g[0];if(w==="p"||w==="P"){var A=sa[w];return A(g,F.formatLong)}return g}).join("").match(ja).map(function(g){if(g==="''")return"'";var w=g[0];if(w==="'")return Qa(g);var A=ia[w];if(A)return da(g)&&at(g,e,String(a)),ua(g)&&at(g,e,String(a)),A(R,g,F.localize,D);if(w.match(Xa))throw new RangeError("Format string contains an unescaped latin alphabet character `"+w+"`");return g}).join("");return I}function Qa(a){var e=a.match(Va);return e?e[1].replace(qa,"'"):a}function Ja(a,e){M(2,arguments);var t=x(a),n=x(e);return t.getTime()>n.getTime()}function Za(a,e){M(2,arguments);var t=x(a),n=x(e);return t.getTime()<n.getTime()}function rt(a,e){r.addMessages(a,e)}function $a(a){r.$locale.set(a)}const it={en:{playNow:"Start now!",new:"NEW",hot:"Hot",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},"zh-hk":{playNow:"現在開始!",new:"新的",hot:"熱的",opens:"打開",full:"滿桌 - 下注",dealer:"經銷商"},de:{playNow:"Jetzt beginnen!",new:"NEU",hot:"Hot",opens:"Öffnet",full:"full - bet behind",dealer:"Dealer"},it:{playNow:"Inizia ora!",new:"NOVITÀ",hot:"HOT",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},fr:{playNow:"Commencez maintenant",new:"Nouveau",hot:"Chaud",opens:"Ouvre",full:"Table pleine - pari derrière",dealer:"Concessionnaire"},es:{playNow:"Juega ahora!",new:"NUEVO",hot:"HOT",opens:"Abiertas",full:"Mesa llena - Apostar de pie",dealer:"Dealer"},tr:{playNow:"ŞİMDİ OYNA",new:"YENİ",hot:"Sıcak",opens:"Açılıyor",full:"masa dolu - arkadan bahis",dealer:"Krupiye"},ru:{playNow:"Играть сейчас",new:"НОВАЯ",hot:"ГОРЯЧЕЙ",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},ro:{playNow:"Joaca acum",new:"NOU",hot:"POPULAR",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},hr:{playNow:"Igraj",new:"NOVO",hot:"Hot",opens:"Otvara se",full:"stol pun - uložite iza",dealer:"Djelitelj"},hu:{playNow:"Játsszon most!",new:"ÚJ",hot:"Hot",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},pl:{playNow:"Rozpocznij teraz!",new:"NOWOŚĆ",hot:"Hot",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},pt:{playNow:"Comece agora!",new:"NOVO",hot:"Hot",opens:"Abrir",full:"Mesa cheia - aposta atrás",dealer:"Dealer"},sl:{playNow:"Začnite zdaj!",new:"NOVO",hot:"Vroče",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},sr:{playNow:"Započnite sada!",new:"NOVO",hot:"Vruće",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},"pt-br":{playNow:"Comece agora!",new:"NOVOS",hot:"Popular",opens:"Abre",full:"mesa completa-aposte seguindo",dealer:"Dealer"},"es-mx":{playNow:"Comenzar ahora!",new:"NUEVOS",hot:"Popular",opens:"Abre",full:"mesa llena-seguir apuesta",dealer:"Dealer"},"en-us":{playNow:"Start now!",new:"NEW",hot:"Hot",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"}},en={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$"};function tn(a){r.append_styles(a,"svelte-jxtzq",'*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.GameContainer{width:100%;height:100%;position:relative}.GameContainer.WithGameName{padding-bottom:10px}.GameInnerContainer{position:relative;width:100%;height:100%;overflow:hidden;border-radius:var(--emw--border-radius-medium, 10px)}.GameInnerContainer .GameBg{width:100%;height:100%;object-fit:cover;transition:all 150ms ease-in-out}.GameInnerContainer .GameBg.GameBg-1x2,.GameInnerContainer .GameBg.GameBg-2x1,.GameInnerContainer .GameBg.GameBg-2x2{object-fit:cover}.GameInnerContainer .GameTopContainer{display:flex;gap:10px}.GameInnerContainer .GameInfoWrapper{display:none;position:absolute;width:100%;height:100%;top:0;right:0;bottom:0;left:0;background-image:linear-gradient(to top, var(--emw--casino-thumbnail-color-contrast, #000000), hsla(var(--emw--casino-thumbnail-color-h, 120), var(--emw--casino-thumbnail-color-s, 100%), var(--emw--casino-thumbnail-color-l, 50%), 0.7));z-index:15;padding:8px 12px}.GameInnerContainer .GameInfoWrapper .GameInfo{display:flex;width:100%;height:100%;flex-direction:column;align-items:center;justify-content:space-evenly}.GameInnerContainer .GameInfoWrapper .GameInfoName{color:var(--emw--color-typography, #FFFFFF);text-align:center;font-size:var(--emw--font-size-small, 14px);display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis}.GameInnerContainer .GameInfoWrapper .GameInfoBtn{appearance:none;padding:10px;background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, var(--emw--casino-thumbnail-color-contrast, #000000) 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, var(--emw--casino-thumbnail-animation-color, #FFFFFF) 30%));color:var(--emw--button-typography, #FFFFFF);font-size:var(--emw--font-size-small, 14px);border:2px solid var(--emw--button-border-color, #073B17);border-radius:var(--emw--border-radius-large, 10px);cursor:pointer;transition:border 1s ease-in-out}.GameInnerContainer .GameInfoWrapper .GameInfoBtn:hover{border:2px solid var(--emw--button-border-highlight-color, #FFF)}.GameInnerContainer .GameExtraInfoContainer{position:absolute;top:0;left:0;display:flex;flex-direction:row;justify-content:space-between;align-items:center;width:100%;height:auto;padding:0 4px 4px 4px;position:absolute;top:0}.GameInnerContainer .GameExtraInfo{display:flex;justify-content:flex-start;align-items:center;width:100%;height:100%;z-index:15}.GameInnerContainer .GameExtraInfoLabel{font-size:var(--emw--font-size-2x-small, 10px);padding:5px;background-color:transparent;color:var(--emw--button-typography, #FFFFFF);text-transform:uppercase;border-radius:var(--emw--border-radius-medium, 10px);border:1px solid var(--emw--button-typography, #FFFFFF)}.GameInnerContainer:hover,.GameInnerContainer:active{transition:2s;cursor:pointer}.GameInnerContainer:hover .GameInfoWrapper,.GameInnerContainer:active .GameInfoWrapper{display:flex;flex-direction:column;justify-content:center}.GameInnerContainer:hover .GameBg,.GameInnerContainer:active .GameBg{filter:blur(5px) grayscale(1);transition:1s}.GameInnerContainer .GameInfoWrapper .GameInfoBtn{display:flex;align-items:center;gap:8px}.GameInfoVendor{display:flex;justify-content:flex-end;align-items:center;color:var(--emw--color-typography, #FFFFFF);font-size:var(--emw--font-size-x-small, 12px);font-weight:var(--emw--font-weight-normal, 400);width:40px;height:40px;background-size:contain;background-repeat:no-repeat;z-index:15}.GameNameBelow{color:var(--emw--casino-typography, #FFFFFF);position:relative;padding:5px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.FavoredIcon,.UnfavoredIcon{width:24px;height:24px}.FavIconContainer{display:flex;justify-content:center;align-items:center;cursor:pointer;z-index:15}@media(min-width: 1100px){.GamesWrapper .ListGame:hover .GamePlayNowText{z-index:4}}.ListGame:hover .OpenSeat,.ListGame:hover .ClosedSeat,.ListGame:hover .LiveLimits,.ListGame:hover .LatestResult,.ListGame:hover .FullTable,.ListGame:active .OpenSeat,.ListGame:active .ClosedSeat,.ListGame:active .LiveLimits,.ListGame:active .LatestResult,.ListGame:active .FullTable{opacity:0.2}.ListGame.GameBackdrop .GameInnerContainer::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;transition:2s;background-image:linear-gradient(to top, var(--emw--casino-thumbnail-animation-color-contrast, #000000), rgba(0, 191, 114, 0.7))}.ListGame .GameInnerContainer{z-index:0}.ListGame .GameInnerContainer .GameBg{z-index:5}.ListGame .GameInnerContainer .GameExtraInfo{z-index:10}.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.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--casino-thumbnail-animation-color, #FFFFFF);fill:var(--emw--casino-thumbnail-animation-color, #FFFFFF);opacity:1;border-radius:var(--emw--border-radius-small, 5px)}.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--casino-thumbnail-animation-color, #FFFFFF);fill:var(--emw--casino-thumbnail-animation-color, #FFFFFF);opacity:1;border-radius:var(--emw--border-radius-small, 5px)}.ListGame .GameInnerContainer .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--casino-thumbnail-animation-color, #FFFFFF);opacity:1;font-size:var(--emw--font-size-small, 14px)}.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,.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{overflow:auto}.ListGame .GameInnerContainer .ListGame.PulsatingGreenShadow{animation:green-pulse 2s linear}.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{animation:red-pulse 2s linear}.ListGame .GameInnerContainer .LiveIcons{position:relative;display:flex;padding:0 16px;box-sizing:border-box;flex-direction:row;align-items:center;justify-content:flex-start;min-height:auto;margin-bottom:5px}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons{min-height:auto}}.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--casino-thumbnail-animation-color, #FFFFFF);border:1px solid var(--emw--casino-thumbnail-animation-color, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;padding:2px;margin:0 1px;margin-right:6px;font-size:var(--emw--font-size-small, 14px);text-align:center}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult{margin:0 2px;margin-right:5px}}.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}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{padding:4px}}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{color:var(--emw--casino-thumbnail-animation-color, #FFFFFF);border:1px solid var(--emw--casino-thumbnail-animation-color, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black{background:var(--emw--casino-thumbnail-animation-color-contrast, #000000)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red{background:var(--emw--casino-thumbnail-animation-color-type-e, #ff0000)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{background:var(--emw--casino-thumbnail-animation-color-type-c, #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--casino-thumbnail-animation-color-contrast, #000000)}.ListGame .GameInnerContainer .LiveIcons .Red{color:var(--emw--casino-thumbnail-animation-color-type-e, #ff0000)}.ListGame .GameInnerContainer .LiveIcons .Green{color:var(--emw--casino-thumbnail-animation-color-type-c, #56A80A)}.ListGame .GameInnerContainer .Blue{color:var(--emw--casino-thumbnail-animation-color-type-f, #4d90a7)}.ListGame .GameInnerContainer .Red{background-color:var(--emw--casino-thumbnail-animation-color-type-e, #ff0000)}.ListGame .GameInnerContainer .Black{background-color:var(--emw--casino-thumbnail-animation-color-contrast, #000000)}.ListGame .GameInnerContainer .Green{background-color:var(--emw--casino-thumbnail-animation-color-type-c, #56A80A)}.ListGame .GameInnerContainer .White{background-color:var(--emw--casino-thumbnail-animation-color, #FFFFFF)}.ListGame .GameInnerContainer .Yellow{background-color:var(--emw--casino-thumbnail-animation-color-type-b, #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--casino-thumbnail-animation-color, #FFFFFF);background-image:linear-gradient(135deg, var(--emw--casino-thumbnail-animation-color, #FFFFFF) 25%, transparent 25%, transparent 50%, var(--emw--casino-thumbnail-animation-color-type-a, #212121) 50%, var(--emw--casino-thumbnail-animation-color, #FFFFFF) 75%, transparent 75%, var(--emw--casino-thumbnail-animation-color, #FFFFFF))}.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{display:inline-block;width:16px;height:16px;margin-right:4px}@media(min-width: 768px){.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{width:16px;height:16px}}@media(min-width: 1100px){.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{width:16px;height:16px}}.ListGame .GameInnerContainer .OpenSeat svg,.ListGame .GameInnerContainer .ClosedSeat svg{width:100%;height:100%}.ListGame .GameInnerContainer .OpenSeat{animation:flip-closed-seat 2s both;-webkit-animation:flip-closed-seat 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .ClosedSeat{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .OpenSeat svg{fill:transparent;stroke:var(--emw--casino-thumbnail-animation-color, #FFFFFF)}.ListGame .GameInnerContainer .ClosedSeat svg{fill:var(--emw--casino-thumbnail-animation-color, #FFFFFF)}.ListGame .GameInnerContainer .FullTable{display:flex;position:relative;z-index:10;height:20px;padding:1px 4px 1px 0;align-items:center;border-radius:var(--emw--border-radius-small, 5px);font-size:var(--emw--font-size-x-small, 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}.ListGame .GameInnerContainer .FullTable svg{width:100%;height:100%;fill:var(--emw--casino-thumbnail-animation-color, #FFFFFF)}.ListGame .GameInnerContainer .FullTable.ClosedSeat{margin-right:-3px}.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--casino-thumbnail-animation-color, #FFFFFF)}@media(min-width: 1100px){.ListGame .GameInnerContainer .PlayersDisplay{padding:2px 16px}}.ListGame .GameInnerContainer .PlayersDisplay .PlayersIcon{width:14px;height:14px;margin-right:4px}.ListGame .GameInnerContainer .PlayersDisplay .PlayersIcon svg{fill:var(--emw--casino-thumbnail-animation-color, #FFFFFF);width:100%;height:100%}.ListGame .GameInnerContainer .ClosedGame{opacity:1;z-index:10;padding:8px 10px;color:var(--emw--casino-thumbnail-animation-color, #FFFFFF);font-size:var(--emw--font-size-medium, 16px)}.ListGame .GameInnerContainer .ClosedGame span{font-size:inherit}@media(min-width: 1100px){.ListGame .GameInnerContainer .ClosedGame{padding:8px 16px}}.ListGame .GameInnerContainer .LiveLimits{opacity:1;display:flex;flex-direction:row;justify-content:space-between;padding:2px 20px 5px 20px;background:var(--emw--casino-thumbnail-animation-color-contrast, #000000);color:var(--emw--casino-thumbnail-animation-color, #FFFFFF);font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-x-small, 12px)}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveLimits{padding:2px 18px 5px 18px}}.ListGame .GameInnerContainer .LiveLimits span{font-size:inherit}.ListGame .GameInnerContainer .Players{display:inline-block;width:19px;height:19px}.LoaderRipple{width:80px;height:80px;position:absolute;top:40px;left:-8px}.LoaderRipple div{position:absolute;border:4px solid var(--emw--casino-thumbnail-animation-color, #FFFFFF);opacity:1;border-radius:50%;animation:ripple-effect 1s cubic-bezier(0, 0.2, 0.8, 1) infinite}.LoaderRipple div:nth-child(2){animation-delay:-0.5s}@keyframes ripple-effect{0%{top:36px;left:36px;width:0;height:0;opacity:0}4.9%{top:36px;left:36px;width:0;height:0;opacity:0}5%{top:36px;left:36px;width:0;height:0;opacity:1}100%{top:0px;left:0px;width:72px;height:72px;opacity:0}}@container (max-width: 480px){.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper{gap:0px;padding:8px 10px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName,.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoBtn{font-size:var(--emw--font-size-x-small, 12px)}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName{margin-top:4px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoBtn{padding:6px 8px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:var(--emw--font-size-2x-small, 10px)}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .FavoredIcon,.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .UnfavoredIcon{width:25px;height:25px}.GameInfoVendor{width:45px;height:45px}.GameInnerContainer .GameExtraInfoContainer{padding-top:5px}.CasinoGamesGridSlider .GameInnerContainer .GameExtraInfoContainer .GameExtraInfoLabel{font-size:var(--emw--font-size-2x-small, 10px)}}@container (max-width: 768px){.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoBtn{font-size:var(--emw--font-size-x-small, 12px);padding:6px}.GameInnerContainer .GameInfoWrapper{padding:8px 10px}}')}function ot(a,e,t){const n=a.slice();return n[105]=e[t],n[107]=t,n}function st(a,e,t){const n=a.slice();return n[102]=e[t],n}function lt(a){var f;let e,t=!r.isMobile(a[36]),n,i,o=(((f=a[11])==null?void 0:f.playNow)||a[35]("playNow"))+"",s,m,u,c=t&&an();return{c(){e=r.element("button"),c&&c.c(),n=r.space(),i=r.element("span"),s=r.text(o),r.attr(e,"class","GameInfoBtn")},m(d,p){r.insert(d,e,p),c&&c.m(e,null),r.append(e,n),r.append(e,i),r.append(i,s),m||(u=r.listen(e,"click",a[66]),m=!0)},p(d,p){var h;p[0]&2048|p[1]&16&&o!==(o=(((h=d[11])==null?void 0:h.playNow)||d[35]("playNow"))+"")&&r.set_data(s,o)},d(d){d&&r.detach(e),c&&c.d(),m=!1,u()}}}function an(a){let e,t,n,i,o,s;return{c(){e=r.svg_element("svg"),t=r.svg_element("g"),n=r.svg_element("g"),i=r.svg_element("path"),o=r.svg_element("path"),s=r.svg_element("path"),r.attr(i,"d","M 14 27 C 10.52756977081299 27 7.26298999786377 25.64776039123535 4.807610034942627 23.19239044189453 C 2.352240085601807 20.73700904846191 1 17.4724292755127 1 14 C 1 10.52756977081299 2.352240085601807 7.26298999786377 4.807610034942627 4.807610034942627 C 7.26298999786377 2.352240085601807 10.52756977081299 1 14 1 C 17.4724292755127 1 20.73700904846191 2.352240085601807 23.19239044189453 4.807610034942627 C 25.64776039123535 7.26298999786377 27 10.52756977081299 27 14 C 27 17.4724292755127 25.64776039123535 20.73700904846191 23.19239044189453 23.19239044189453 C 20.73700904846191 25.64776039123535 17.4724292755127 27 14 27 Z"),r.attr(i,"stroke","none"),r.attr(o,"d","M 14 2 C 10.79467964172363 2 7.781219482421875 3.248220443725586 5.514720916748047 5.514720916748047 C 3.248220443725586 7.781219482421875 2 10.79467964172363 2 14 C 2 17.2053108215332 3.248220443725586 20.21878051757812 5.514720916748047 22.48527908325195 C 7.781219482421875 24.75177955627441 10.79467964172363 26 14 26 C 17.2053108215332 26 20.21878051757812 24.75177955627441 22.48527908325195 22.48527908325195 C 24.75177955627441 20.21878051757812 26 17.2053108215332 26 14 C 26 10.79467964172363 24.75177955627441 7.781219482421875 22.48527908325195 5.514720916748047 C 20.21878051757812 3.248220443725586 17.2053108215332 2 14 2 M 14 0 C 21.73197937011719 0 28 6.268009185791016 28 14 C 28 21.73197937011719 21.73197937011719 28 14 28 C 6.268009185791016 28 0 21.73197937011719 0 14 C 0 6.268009185791016 6.268009185791016 0 14 0 Z"),r.attr(o,"stroke","none"),r.attr(o,"fill","#fff"),r.attr(n,"id","Ellipse_664_copy"),r.attr(n,"data-name","Ellipse 664 copy"),r.attr(n,"transform","translate(26 13)"),r.attr(n,"fill","rgba(249,165,2,0)"),r.attr(s,"id","Rounded_Rectangle_683"),r.attr(s,"data-name","Rounded Rectangle 683"),r.attr(s,"d","M1139,917.587V906.4a1.4,1.4,0,0,1,1.976,0l4.61,4.608a1.4,1.4,0,0,1,0,1.975l-4.61,4.607A1.4,1.4,0,0,1,1139,917.587Z"),r.attr(s,"transform","translate(-1102 -885)"),r.attr(s,"fill","#fff"),r.attr(t,"id","Group_5260"),r.attr(t,"data-name","Group 5260"),r.attr(t,"transform","translate(-26 -13)"),r.attr(e,"xmlns","http://www.w3.org/2000/svg"),r.attr(e,"width","28"),r.attr(e,"height","28"),r.attr(e,"viewBox","0 0 28 28")},m(m,u){r.insert(m,e,u),r.append(e,t),r.append(t,n),r.append(n,i),r.append(n,o),r.append(t,s)},d(m){m&&r.detach(e)}}}function mt(a){var i;let e,t=(((i=a[11])==null?void 0:i.new)||a[35]("new"))+"",n;return{c(){e=r.element("span"),n=r.text(t),r.attr(e,"class","GameExtraInfoLabel NewGameTag")},m(o,s){r.insert(o,e,s),r.append(e,n)},p(o,s){var m;s[0]&2048|s[1]&16&&t!==(t=(((m=o[11])==null?void 0:m.new)||o[35]("new"))+"")&&r.set_data(n,t)},d(o){o&&r.detach(e)}}}function ut(a){let e,t;return{c(){e=r.element("span"),t=r.text(a[7]),r.attr(e,"class","GameExtraInfoLabel PopularGameTag")},m(n,i){r.insert(n,e,i),r.append(e,t)},p(n,i){i[0]&128&&r.set_data(t,n[7])},d(n){n&&r.detach(e)}}}function dt(a){let e,t,n=!a[21]&&a[19]&&a[20]&&ct(a);function i(m,u){if(m[21]&&m[18]&&m[18]===Re)return rn;if(m[21]&&m[18]&&m[18]===Ne)return nn}let o=i(a),s=o&&o(a);return{c(){n&&n.c(),e=r.space(),s&&s.c(),t=r.empty()},m(m,u){n&&n.m(m,u),r.insert(m,e,u),s&&s.m(m,u),r.insert(m,t,u)},p(m,u){!m[21]&&m[19]&&m[20]?n?n.p(m,u):(n=ct(m),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null),o===(o=i(m))&&s?s.p(m,u):(s&&s.d(1),s=o&&o(m),s&&(s.c(),s.m(t.parentNode,t)))},d(m){m&&(r.detach(e),r.detach(t)),n&&n.d(m),s&&s.d(m)}}}function ct(a){var P;let e,t,n=(((P=a[11])==null?void 0:P.opens)||a[35]("opens"))+"",i,o,s,m=nt(new Date(a[19]),a[20])+"",u,c,f,d=a[41](a[33])+"",p,h,C=a[40](a[25],a[26],a[24])+"";return{c(){e=r.element("div"),t=r.element("div"),i=r.text(n),o=r.space(),s=r.element("span"),u=r.text(m),c=r.space(),f=new r.HtmlTag(!1),p=r.space(),h=new r.HtmlTag(!1),r.attr(t,"class","ClosedGame"),f.a=p,h.a=null,r.attr(e,"class","GameProp LiveProps")},m(v,O){r.insert(v,e,O),r.append(e,t),r.append(t,i),r.append(t,o),r.append(t,s),r.append(s,u),r.append(e,c),f.m(d,e),r.append(e,p),h.m(C,e)},p(v,O){var L;O[0]&2048|O[1]&16&&n!==(n=(((L=v[11])==null?void 0:L.opens)||v[35]("opens"))+"")&&r.set_data(i,n),O[0]&1572864&&m!==(m=nt(new Date(v[19]),v[20])+"")&&r.set_data(u,m),O[1]&4&&d!==(d=v[41](v[33])+"")&&f.p(d),O[0]&117440512&&C!==(C=v[40](v[25],v[26],v[24])+"")&&h.p(C)},d(v){v&&r.detach(e)}}}function nn(a){let e,t,n,i,o=a[41](a[33])+"",s,m,u=a[40](a[25],a[26],a[24])+"",c=r.ensure_array_like(new Array(vt)),f=[];for(let d=0;d<c.length;d+=1)f[d]=ht(ot(a,c,d));return{c(){e=r.element("div"),t=r.element("div");for(let d=0;d<f.length;d+=1)f[d].c();n=r.space(),i=new r.HtmlTag(!1),s=r.space(),m=new r.HtmlTag(!1),r.attr(t,"class","LiveIcons"),i.a=s,m.a=null,r.attr(e,"class",a[29])},m(d,p){r.insert(d,e,p),r.append(e,t);for(let h=0;h<f.length;h+=1)f[h]&&f[h].m(t,null);a[67](t),r.append(e,n),i.m(o,e),r.append(e,s),m.m(u,e)},p(d,p){if(p[0]&1342193664|p[1]&2048){c=r.ensure_array_like(new Array(vt));let h;for(h=0;h<c.length;h+=1){const C=ot(d,c,h);f[h]?f[h].p(C,p):(f[h]=ht(C),f[h].c(),f[h].m(t,null))}for(;h<f.length;h+=1)f[h].d(1);f.length=c.length}p[1]&4&&o!==(o=d[41](d[33])+"")&&i.p(o),p[0]&117440512&&u!==(u=d[40](d[25],d[26],d[24])+"")&&m.p(u),p[0]&536870912&&r.attr(e,"class",d[29])},d(d){d&&r.detach(e),r.destroy_each(f,d),a[67](null)}}}function rn(a){let e,t,n,i,o=a[41](a[33])+"",s,m,u=a[40](a[25],a[26],a[24])+"";function c(p,h){return p[31]?mn:ln}let f=c(a),d=f(a);return{c(){e=r.element("div"),t=r.element("div"),d.c(),n=r.space(),i=new r.HtmlTag(!1),s=r.space(),m=new r.HtmlTag(!1),r.attr(t,"class","LiveIcons"),i.a=s,m.a=null,r.attr(e,"class","GameProp LiveProps BlackjackDisplay"),r.attr(e,"part","GameProp LiveProps BlackjackDisplay")},m(p,h){r.insert(p,e,h),r.append(e,t),d.m(t,null),r.append(e,n),i.m(o,e),r.append(e,s),m.m(u,e)},p(p,h){f===(f=c(p))&&d?d.p(p,h):(d.d(1),d=f(p),d&&(d.c(),d.m(t,null))),h[1]&4&&o!==(o=p[41](p[33])+"")&&i.p(o),h[0]&117440512&&u!==(u=p[40](p[25],p[26],p[24])+"")&&m.p(u)},d(p){p&&r.detach(e),d.d()}}}function ft(a){let e;function t(o,s){return o[28]?sn:on}let n=t(a),i=n(a);return{c(){i.c(),e=r.empty()},m(o,s){i.m(o,s),r.insert(o,e,s)},p(o,s){n===(n=t(o))&&i?i.p(o,s):(i.d(1),i=n(o),i&&(i.c(),i.m(e.parentNode,e)))},d(o){o&&r.detach(e),i.d(o)}}}function on(a){let e,t=a[42](`LatestResult ${a[107]===0?"First":""}`,a[107],a[14][a[107]],a[30][a[14][a[107]]])+"",n;return{c(){e=new r.HtmlTag(!1),n=r.empty(),e.a=n},m(i,o){e.m(t,i,o),r.insert(i,n,o)},p(i,o){o[0]&1073758208&&t!==(t=i[42](`LatestResult ${i[107]===0?"First":""}`,i[107],i[14][i[107]],i[30][i[14][i[107]]])+"")&&e.p(t)},d(i){i&&(r.detach(n),e.d())}}}function sn(a){let e,t,n=a[42](`LatestResult ${a[107]===0?"First":""}`,`first${a[107]}${a[14][a[107]][0]}`,a[14][a[107]][0],a[30][a[14][a[107]][0]])+"",i,o,s=a[42](`LatestResult ${a[107]===0?"First":""}`,`second${a[107]}${a[14][a[107]][1]}`,a[14][a[107]][1],a[30][a[14][a[107]][1]])+"",m;return{c(){e=r.element("div"),t=new r.HtmlTag(!1),i=r.space(),o=new r.HtmlTag(!1),m=r.space(),t.a=i,o.a=m,r.attr(e,"class","Double")},m(u,c){r.insert(u,e,c),t.m(n,e),r.append(e,i),o.m(s,e),r.append(e,m)},p(u,c){c[0]&1073758208&&n!==(n=u[42](`LatestResult ${u[107]===0?"First":""}`,`first${u[107]}${u[14][u[107]][0]}`,u[14][u[107]][0],u[30][u[14][u[107]][0]])+"")&&t.p(n),c[0]&1073758208&&s!==(s=u[42](`LatestResult ${u[107]===0?"First":""}`,`second${u[107]}${u[14][u[107]][1]}`,u[14][u[107]][1],u[30][u[14][u[107]][1]])+"")&&o.p(s)},d(u){u&&r.detach(e)}}}function ht(a){let e,t=a[14]&&a[14][a[107]]&&ft(a);return{c(){t&&t.c(),e=r.empty()},m(n,i){t&&t.m(n,i),r.insert(n,e,i)},p(n,i){n[14]&&n[14][n[107]]?t?t.p(n,i):(t=ft(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){n&&r.detach(e),t&&t.d(n)}}}function ln(a){let e,t=r.ensure_array_like(a[23]),n=[];for(let i=0;i<t.length;i+=1)n[i]=gt(st(a,t,i));return{c(){for(let i=0;i<n.length;i+=1)n[i].c();e=r.empty()},m(i,o){for(let s=0;s<n.length;s+=1)n[s]&&n[s].m(i,o);r.insert(i,e,o)},p(i,o){if(o[0]&142606336|o[1]&256){t=r.ensure_array_like(i[23]);let s;for(s=0;s<t.length;s+=1){const m=st(i,t,s);n[s]?n[s].p(m,o):(n[s]=gt(m),n[s].c(),n[s].m(e.parentNode,e))}for(;s<n.length;s+=1)n[s].d(1);n.length=t.length}},d(i){i&&r.detach(e),r.destroy_each(n,i)}}}function mn(a){var i;let e,t=(((i=a[11])==null?void 0:i.full)||a[35]("full"))+"",n;return{c(){e=r.element("span"),n=r.text(t),r.attr(e,"class","FullTable")},m(o,s){r.insert(o,e,s),r.append(e,n)},p(o,s){var m;s[0]&2048|s[1]&16&&t!==(t=(((m=o[11])==null?void 0:m.full)||o[35]("full"))+"")&&r.set_data(n,t)},d(o){o&&r.detach(e)}}}function gt(a){let e,t,n,i,o,s;return{c(){e=r.element("span"),t=r.svg_element("svg"),n=r.svg_element("path"),i=r.svg_element("path"),o=r.space(),r.attr(n,"d","M11.58 6c-1.17 0-2.13.95-2.13 2.12v.4a8.82 8.82 0 00-2.92-.4c-1.54 0-2.45.22-2.92.4v-.4A2.136 2.136 0 001.48 6a1.33 1.33 0 00-.5 2.55c.14.07.24.21.24.37l.26 1.06c0 .96.73 1.75 1.65 1.85a.65.65 0 00.28 1.23.65.65 0 00.3-1.22h5.64a.65.65 0 00.3 1.22.65.65 0 00.28-1.23c.93-.1 1.65-.9 1.65-1.85l.27-1.06c0-.16.1-.3.24-.37A1.33 1.33 0 0011.58 6z"),r.attr(i,"d","M4.34 7.5c.55-.1 1.27-.17 2.2-.17.91 0 1.63.07 2.18.17.21-.96.9-1.74 1.8-2.1V4a3.99 3.99 0 00-7.97 0v1.4c.9.36 1.58 1.14 1.79 2.1z"),r.attr(t,"xmlns","http://www.w3.org/2000/svg"),r.attr(t,"width","13"),r.attr(t,"height","14"),r.attr(t,"viewBox","0 0 13 14"),r.attr(e,"class",s=a[39](a[27],a[102].toString())?"ClosedSeat":"OpenSeat")},m(m,u){r.insert(m,e,u),r.append(e,t),r.append(t,n),r.append(t,i),r.append(e,o)},p(m,u){u[0]&142606336&&s!==(s=m[39](m[27],m[102].toString())?"ClosedSeat":"OpenSeat")&&r.attr(e,"class",s)},d(m){m&&r.detach(e)}}}function un(a){let e;return{c(){e=r.element("div"),e.innerHTML='<svg version="1.1" class="FavoredIcon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.481 19.481" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 19.481 19.481"><path style="fill: var(--emw--casino-thumbnail-animation-color, #FFFFFF);" d="m10.201,.758l2.478,5.865 6.344,.545c0.44,0.038 0.619,0.587 0.285,0.876l-4.812,4.169 1.442,6.202c0.1,0.431-0.367,0.77-0.745,0.541l-5.452-3.288-5.452,3.288c-0.379,0.228-0.845-0.111-0.745-0.541l1.442-6.202-4.813-4.17c-0.334-0.289-0.156-0.838 0.285-0.876l6.344-.545 2.478-5.864c0.172-0.408 0.749-0.408 0.921,0z"></path></svg>',r.attr(e,"class","FavIconContainer")},m(t,n){r.insert(t,e,n)},p:r.noop,d(t){t&&r.detach(e)}}}function dn(a){let e,t,n;function i(m,u){if(m[0]&&m[16]&&m[2]==="true")return fn;if(!m[0]&&m[16]&&m[2]==="true")return cn}let o=i(a),s=o&&o(a);return{c(){e=r.element("div"),t=r.element("span"),n=r.space(),s&&s.c(),r.attr(t,"class","GameInfoVendor"),r.set_style(t,"background-image","url("+a[4]+")"),r.attr(e,"class","GameTopContainer")},m(m,u){r.insert(m,e,u),r.append(e,t),r.append(e,n),s&&s.m(e,null)},p(m,u){u[0]&16&&r.set_style(t,"background-image","url("+m[4]+")"),o===(o=i(m))&&s?s.p(m,u):(s&&s.d(1),s=o&&o(m),s&&(s.c(),s.m(e,null)))},d(m){m&&r.detach(e),s&&s.d()}}}function cn(a){let e,t,n;return{c(){e=r.element("div"),e.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" class="UnfavoredIcon" width="34" height="34" viewBox="0 0 34 34"><path id="Subtraction_3" data-name="Subtraction 3" d="M1911-7475a16.89,16.89,0,0,1-12.021-4.979A16.889,16.889,0,0,1,1894-7492a16.889,16.889,0,0,1,4.979-12.021A16.889,16.889,0,0,1,1911-7509a16.889,16.889,0,0,1,12.021,4.979A16.888,16.888,0,0,1,1928-7492a16.889,16.889,0,0,1-4.979,12.021A16.89,16.89,0,0,1,1911-7475Zm.009-9.883h0l5.7,3.008a.909.909,0,0,0,.405.087.779.779,0,0,0,.492-.173.892.892,0,0,0,.347-.811l-1.1-6.335,4.6-4.483a.8.8,0,0,0,.2-.869.768.768,0,0,0-.665-.579l-6.364-.925-2.864-5.786a.836.836,0,0,0-.752-.463.832.832,0,0,0-.752.463l-2.864,5.786-6.366.925a.887.887,0,0,0-.693.579.873.873,0,0,0,.2.869l4.63,4.483-1.1,6.335a.8.8,0,0,0,.349.811.765.765,0,0,0,.476.161.944.944,0,0,0,.419-.1l5.7-2.979Zm-5.672,1.678v0l1.072-6.306-4.572-4.483,6.336-.925,2.836-5.757,2.834,5.757,6.336.925-4.57,4.483,1.07,6.305-5.67-2.977-5.671,2.979Z" transform="translate(-1893.999 7509)" opacity="0.6"></path></svg>',r.attr(e,"class","FavIconContainer")},m(i,o){r.insert(i,e,o),t||(n=r.listen(e,"click",a[69]),t=!0)},p:r.noop,d(i){i&&r.detach(e),t=!1,n()}}}function fn(a){let e,t,n;return{c(){e=r.element("div"),e.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" class="FavoredIcon" width="34" height="34" viewBox="0 0 34 34"><path id="Subtraction_4" data-name="Subtraction 4" d="M1911-7475a16.89,16.89,0,0,1-12.021-4.979A16.889,16.889,0,0,1,1894-7492a16.889,16.889,0,0,1,4.979-12.021A16.889,16.889,0,0,1,1911-7509a16.889,16.889,0,0,1,12.021,4.979A16.888,16.888,0,0,1,1928-7492a16.889,16.889,0,0,1-4.979,12.021A16.89,16.89,0,0,1,1911-7475Zm.009-9.883h0l5.7,3.008a.909.909,0,0,0,.405.087.779.779,0,0,0,.492-.173.892.892,0,0,0,.347-.811l-1.1-6.335,4.6-4.483a.8.8,0,0,0,.2-.869.768.768,0,0,0-.665-.579l-6.364-.925-2.864-5.786a.836.836,0,0,0-.752-.463.832.832,0,0,0-.752.463l-2.864,5.786-6.366.925a.887.887,0,0,0-.693.579.873.873,0,0,0,.2.869l4.63,4.483-1.1,6.335a.8.8,0,0,0,.349.811.765.765,0,0,0,.476.161.944.944,0,0,0,.419-.1l5.7-2.979Zm-5.672,1.678v0l1.072-6.306-4.572-4.483,6.336-.925,2.836-5.757,2.834,5.757,6.336.925-4.57,4.483,1.07,6.305-5.67-2.977-5.671,2.979Z" transform="translate(-1893.999 7509)" fill="#fff"></path></svg>',r.attr(e,"class","FavIconContainer")},m(i,o){r.insert(i,e,o),t||(n=r.listen(e,"click",a[68]),t=!0)},p:r.noop,d(i){i&&r.detach(e),t=!1,n()}}}function pt(a){let e,t;return{c(){e=r.element("p"),t=r.text(a[3]),r.attr(e,"class","GameNameBelow"),r.attr(e,"title",a[3])},m(n,i){r.insert(n,e,i),r.append(e,t)},p(n,i){i[0]&8&&r.set_data(t,n[3]),i[0]&8&&r.attr(e,"title",n[3])},d(n){n&&r.detach(e)}}}function hn(a){let e,t,n,i,o,s,m,u,c,f,d,p,h,C,P,v,O,L,F=a[1]&&lt(a),T=a[6]&&mt(a),k=a[7]&&ut(a),_=a[13]&&dt(a);function Y(g,w){if(P==null&&(P=!r.isMobile(g[36])),P)return dn;if(g[0]&&g[16]&&g[2]==="true")return un}let R=Y(a),D=R&&R(a),I=a[9]==="true"&&pt(a);return{c(){e=r.element("div"),t=r.element("div"),n=r.element("ui-image"),s=r.space(),m=r.element("div"),u=r.element("div"),F&&F.c(),c=r.space(),f=r.element("div"),d=r.element("div"),T&&T.c(),p=r.space(),k&&k.c(),h=r.space(),_&&_.c(),C=r.space(),D&&D.c(),O=r.space(),I&&I.c(),r.src_url_equal(n.src,i=a[34])||r.set_custom_element_data(n,"src",i),r.set_custom_element_data(n,"class",o=`GameBg GameBg-${a[8]}`),r.set_custom_element_data(n,"alt","Game thumbnail"),r.set_custom_element_data(n,"loading","lazy"),r.attr(u,"class","GameInfo"),r.attr(m,"class","GameInfoWrapper"),r.attr(d,"class","GameExtraInfo"),r.attr(f,"class","GameExtraInfoContainer"),r.attr(t,"class",v="GameInnerContainer "+(a[13]&&!a[21]&&a[22].value||a[13]&&a[31]?"GameInnerContainerUnavailable":"")),r.attr(e,"class",L=`GameContainer ${a[32]} ${a[10]=="true"?"CasinoGamesGridSlider":""}`),r.toggle_class(e,"WithGameName",a[9])},m(g,w){r.insert(g,e,w),r.append(e,t),r.append(t,n),a[65](n),r.append(t,s),r.append(t,m),r.append(m,u),F&&F.m(u,null),r.append(t,c),r.append(t,f),r.append(f,d),T&&T.m(d,null),r.append(d,p),k&&k.m(d,null),r.append(d,h),_&&_.m(d,null),r.append(f,C),D&&D.m(f,null),r.append(e,O),I&&I.m(e,null),a[70](e)},p(g,w){w[1]&8&&!r.src_url_equal(n.src,i=g[34])&&r.set_custom_element_data(n,"src",i),w[0]&256&&o!==(o=`GameBg GameBg-${g[8]}`)&&r.set_custom_element_data(n,"class",o),g[1]?F?F.p(g,w):(F=lt(g),F.c(),F.m(u,null)):F&&(F.d(1),F=null),g[6]?T?T.p(g,w):(T=mt(g),T.c(),T.m(d,p)):T&&(T.d(1),T=null),g[7]?k?k.p(g,w):(k=ut(g),k.c(),k.m(d,h)):k&&(k.d(1),k=null),g[13]?_?_.p(g,w):(_=dt(g),_.c(),_.m(d,null)):_&&(_.d(1),_=null),R===(R=Y(g))&&D?D.p(g,w):(D&&D.d(1),D=R&&R(g),D&&(D.c(),D.m(f,null))),w[0]&6299648|w[1]&1&&v!==(v="GameInnerContainer "+(g[13]&&!g[21]&&g[22].value||g[13]&&g[31]?"GameInnerContainerUnavailable":""))&&r.attr(t,"class",v),g[9]==="true"?I?I.p(g,w):(I=pt(g),I.c(),I.m(e,null)):I&&(I.d(1),I=null),w[0]&1024|w[1]&2&&L!==(L=`GameContainer ${g[32]} ${g[10]=="true"?"CasinoGamesGridSlider":""}`)&&r.attr(e,"class",L),w[0]&1536|w[1]&2&&r.toggle_class(e,"WithGameName",g[9])},i:r.noop,o:r.noop,d(g){g&&r.detach(e),a[65](null),F&&F.d(),T&&T.d(),k&&k.d(),_&&_.d(),D&&D.d(),I&&I.d(),a[70](null)}}}const Re="blackjack",Ne="roulette",bt="doubleballroulette",gn=7,pn=",",vt=5;function bn(a,e,t){let n,i;r.component_subscribe(a,r.$format,l=>t(35,i=l));let{session:o=""}=e,{userid:s=""}=e,{lang:m="en"}=e,{clientstyling:u=""}=e,{mbsource:c}=e,{clientstylingurl:f=""}=e,{translationurl:d=""}=e,{favorites:p=""}=e,{gamethumbnail:h=""}=e,{icon:C}=e,{gamename:P=""}=e,{gamevendor:v=""}=e,{gamelaunchurl:O=""}=e,{gameid:L=""}=e,{gameisnew:F=!1}=e,{gametag:T=""}=e,{gamefunmode:k=!1}=e,{gamefavorite:_=!1}=e,{gamecellsize:Y=""}=e,{showfavoredcategory:R=!1}=e,{showgamename:D=""}=e,{currency:I=""}=e,{gamepagemodalurl:g="false"}=e,{endpoint:w=""}=e,{categoryid:A=""}=e,{livelobbyendpoint:$=""}=e,{connectlive:X=""}=e,{visibilityconnect:ee=""}=e,{integratedgameframedesktop:oe="false"}=e,{integratedgameframemobile:se="false"}=e,{casinogamesgridslider:Ee="false"}=e,{translationmessages:Q={}}=e,ve=!1,le,we,E=window.navigator.userAgent,U,y,z,Be,ye,Ge="HH:mm",K,Ce={},te,Ue=[],We="EUR",_e,Le,Fe,ae,ke,Ie,Te,me,Se,Oe,Ae,J,De,B="",ne,Ye,Me;const _t=[Re],ze=[Ne,bt],He={"01":"Yellow","02":"Blue",10:"Green",40:"Red","05":"Purple",20:"Orange",X7:"Gold",X2:"Gold"},je={1:"Red",3:"Red",5:"Red",7:"Red",9:"Red",12:"Red",14:"Red",16:"Red",18:"Red",19:"Red",21:"Red",23:"Red",25:"Red",27:"Red",30:"Red",32:"Red",34:"Red",36:"Red",2:"Black",4:"Black",6:"Black",8:"Black",10:"Black",11:"Black",13:"Black",15:"Black",17:"Black",20:"Black",22:"Black",24:"Black",26:"Black",28:"Black",29:"Black",31:"Black",33:"Black",35:"Black",0:"Green","00":"Green"},Lt=()=>{fetch(d).then(b=>b.json()).then(b=>{Object.keys(b).forEach(S=>{rt(S,b[S])})}).catch(b=>{console.log(b)})};Object.keys(it).forEach(l=>{rt(l,it[l])});const Ke=l=>{l.data.type===`AddFavoriteThumbnail_${L}`&&!R&&t(0,_=!0),l.data.type===`RemoveFavoriteThumbnail_${L}`&&!R&&t(0,_=!1),l.data.type==="UserSessionID"&&(t(16,ve=!0),l.data.session,le=l.data.userID),l.data.type==="CategoryUpdate"&&t(13,y=null)},Ve=l=>{window.postMessage({type:"SearchedItemClicked",gameId:l},window.location.href),typeof gtag=="function"&&gtag("event","OpenGame",{context:"GameThumbnail--Searched",gameId:`${l}`,userId:`${le||"Not logged in"}`}),r.isMobile(E)&&se=="true"?window.postMessage({type:"OpenGameFrame",gameId:l,gamefunmode:k,gamepagemodalurl:g,isMobile:r.isMobile(E),source:"GameThumbnail",identifier:"Lobby",subVendor:v,launchUrl:O},window.location.href):r.isMobile(E)&&se=="false"&&window.postMessage({type:"ShowGameModal",gameId:l,isMobile:r.isMobile(E)},window.location.href),!r.isMobile(E)&&oe=="true"?window.postMessage({type:"OpenGameFrame",gameId:l,gamefunmode:k,gamepagemodalurl:g,isMobile:r.isMobile(E),identifier:"Lobby",subVendor:v,launchUrl:O},window.location.href):!r.isMobile(E)&&oe=="false"&&window.postMessage({type:"ShowGameModal",gameId:l,isMobile:r.isMobile(E)},window.location.href)},xe=l=>{_?window.postMessage({type:`SetUnfavoredGame${A}`,id:l},window.location.href):window.postMessage({type:`SetFavoredGame${A}`,id:l},window.location.href)},Ft=()=>{$a(m)},kt=()=>{t(16,ve=!0),le=s},It=(l,b)=>`${w}/v1/encoder/lobby/updates/${l}/${b}`,qe=()=>{$&&EventSource&&!z&&v&&L&&(z=new EventSource(It(v,L)),z.addEventListener("message",Qe))},Xe=()=>{z&&(z.close(),z=void 0)},Qe=l=>Ze(this,null,function*(){const{type:b,data:S}=l;let N;switch(b){case"message":{if(S)try{N=JSON.parse(S)}catch(W){console.error("MESSAGE PARSING ERROR: ",W)}if(N){const{InternalTableId:W,MessageType:de,Results:H,Seats:ce,Open:fe}=N;if(W)switch(de){case"SeatsUpdated":{ce&&Array.isArray(ce)&&(t(27,ae=ce),t(13,y.currentOccupiedSeats=ce,y),yield r.tick());break}case"RouletteResultsUpdated":{H&&Array.isArray(H)&&(ke=H,t(13,y.currentRouletteNumbers=H,y),yield r.tick());break}case"DoubleBallRouletteResultsUpdated":{H&&Array.isArray(H)&&(Ie=H,t(13,y.currentDoubleBallRouletteNumbers=H,y),yield r.tick());break}case"TableOpened":{t(21,K=fe),t(13,y.isOpen=fe,y),yield r.tick();break}case"TableClosed":{t(21,K=fe),t(13,y.isOpen=fe,y),yield r.tick();break}}}}}}),Tt=()=>{let l=new URL(`${$.split("?")[0]}`);l.searchParams.append("platform",r.getDevice(E)),l.searchParams.append("language",m),fetch(l).then(b=>b.json()).then(b=>{const{details:S}=b[0];t(13,y=S)})},Je=(l,b=pn)=>l!=null?`${l}`.replace(/\B(?=(\d{3})+(?!\d))/g,b):"",ue=(l,b)=>l.some(S=>S===b),St=l=>{let b=null;if(l){const{vendorCategory:S}=l;if(S){const N=S.toLowerCase();ue(_t,N)?b=Re:ue(ze,N)&&(b=Ne)}}return b},Ot=(l,b,S)=>{let N,W;return l!=null&&b!==void 0&&b!==null&&(W=`
2
- <span>
3
- ${S}
4
- </span>
5
- ${Je(l)}-${Je(b)}`),Me&&(N=`
6
- <svg fill="var(--emw--casino-thumbnail-animation-color, #FFFFFF);" width="13" height="13" viewBox="0 0 13 14" xmlns="http://www.w3.org/2000/svg"><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"/></svg>
7
- <span class="NrOfPlayers">${Me}</span>`),!N&&!W?"":`
8
- <p class="LiveLimits">
9
- <span class="BetLimitLeft">
10
- ${W||""}
11
- </span>
12
- <span class="BetLimitRight">
13
- ${N||""}
14
- </span>
15
- </p>`},Dt=l=>l?`
16
- <p class="LiveLimits">
17
- <span class="DealerName">${(Q==null?void 0:Q.dealer)||i("dealer")}: ${l}</span>
18
- </p>
19
- `:"",Mt=l=>{Fe=l.totalSeats||gn,t(27,ae=l.currentOccupiedSeats||[]);const b=[];for(let S=1;S<=Fe;S++)b.push(S);return{seats:b}},xt=(l,b,S,N="")=>{const W=`${l} ${N}`,de=b.toString().match(/first0|second0|0/g);return b===0||de&&de.length!==0?`
20
- <span
21
- id=${b}
22
- class="${W}"
23
- >
24
- ${S}
25
- </span>
26
- `:`
27
- <span id=${b} class="${W}">
28
- ${S}
29
- </span>
30
- `},Pt=()=>{const l="FirstElementAnimated",b=ne.getElementsByClassName("First")[0];b&&(b.classList.add(l),setTimeout(()=>{b.classList.remove(l)},2e3))},Rt=()=>{if(y){if(t(21,K=y.isOpen),Ce=y.betLimit||{},t(22,te=y.openHours),t(23,Ue=Mt(y).seats),te&&te.value){const{value:{startTime:l,originalTimeFormat:b}}=te;t(19,ye=l),t(20,Ge=b||Ge)}K&&t(18,Be=St(y)),t(24,We=en[I]),t(25,_e=(Ce.min||{})[I]),t(26,Le=(Ce.max||{})[I]),ke=y.currentRouletteNumbers,Ie=y.currentDoubleBallRouletteNumbers,Te=y.vendorCategory,t(28,me=Te.toLowerCase()===bt),t(14,Se=(me?Ie:ke)||[]),t(29,Oe="GameProp LiveProps RoulleteProps"),t(29,Oe+=me?" Double":""),t(30,Ae=ue(ze,Te.toLowerCase())?je:He),De=J,t(31,J=Array.isArray(ae)&&ae.length===Fe),y.dealer&&t(33,Ye=y.dealer.DealerName),Me=y.numberOfPlayers,t(32,B="ListGame"),y.isOpen&&y.currentRouletteNumbers&&t(32,B+=" GameBackdrop"),K&&J&&_e&&Le&&y.currentOccupiedSeats?t(32,B+=" GameContainerDimmed"):K===!1&&ye&&t(32,B+=" GameContainerFullyDimmed"),U&&(!De&&J?(t(32,B+=" PulsatingRedShadow"),t(32,B=B.replace(" PulsatingGreenShadow",""))):De&&!J&&(t(32,B+=" PulsatingGreenShadow"),t(32,B=B.replace(" PulsatingRedShadow",""))))}},Nt=()=>{X==="disconnect"?Xe():X==="connect"&&qe()},Et=()=>{ee==="disconnect"?Xe():ee==="connect"&&X==="connect"&&qe()};r.onMount(()=>(window.addEventListener("message",Ke,!1),()=>{window.removeEventListener("message",Ke),z&&z.removeEventListener("message",Qe)}));function Bt(l){r.binding_callbacks[l?"unshift":"push"](()=>{we=l,t(17,we)})}const Ut=()=>Ve(L);function Wt(l){r.binding_callbacks[l?"unshift":"push"](()=>{ne=l,t(15,ne)})}const At=()=>xe(L),Yt=()=>xe(L);function zt(l){r.binding_callbacks[l?"unshift":"push"](()=>{U=l,t(12,U)})}return a.$$set=l=>{"session"in l&&t(43,o=l.session),"userid"in l&&t(44,s=l.userid),"lang"in l&&t(1,m=l.lang),"clientstyling"in l&&t(45,u=l.clientstyling),"mbsource"in l&&t(46,c=l.mbsource),"clientstylingurl"in l&&t(47,f=l.clientstylingurl),"translationurl"in l&&t(48,d=l.translationurl),"favorites"in l&&t(2,p=l.favorites),"gamethumbnail"in l&&t(49,h=l.gamethumbnail),"icon"in l&&t(50,C=l.icon),"gamename"in l&&t(3,P=l.gamename),"gamevendor"in l&&t(4,v=l.gamevendor),"gamelaunchurl"in l&&t(51,O=l.gamelaunchurl),"gameid"in l&&t(5,L=l.gameid),"gameisnew"in l&&t(6,F=l.gameisnew),"gametag"in l&&t(7,T=l.gametag),"gamefunmode"in l&&t(52,k=l.gamefunmode),"gamefavorite"in l&&t(0,_=l.gamefavorite),"gamecellsize"in l&&t(8,Y=l.gamecellsize),"showfavoredcategory"in l&&t(53,R=l.showfavoredcategory),"showgamename"in l&&t(9,D=l.showgamename),"currency"in l&&t(54,I=l.currency),"gamepagemodalurl"in l&&t(55,g=l.gamepagemodalurl),"endpoint"in l&&t(56,w=l.endpoint),"categoryid"in l&&t(57,A=l.categoryid),"livelobbyendpoint"in l&&t(58,$=l.livelobbyendpoint),"connectlive"in l&&t(59,X=l.connectlive),"visibilityconnect"in l&&t(60,ee=l.visibilityconnect),"integratedgameframedesktop"in l&&t(61,oe=l.integratedgameframedesktop),"integratedgameframemobile"in l&&t(62,se=l.integratedgameframemobile),"casinogamesgridslider"in l&&t(10,Ee=l.casinogamesgridslider),"translationmessages"in l&&t(11,Q=l.translationmessages)},a.$$.update=()=>{var l;a.$$.dirty[1]&268435456&&X&&Nt(),a.$$.dirty[1]&536870912&&ee&&Et(),a.$$.dirty[0]&2&&m&&Ft(),a.$$.dirty[1]&33566720&&o&&s&&w&&kt(),a.$$.dirty[0]&4096|a.$$.dirty[1]&16384&&u&&U&&r.setClientStyling(U,u),a.$$.dirty[0]&4096|a.$$.dirty[1]&65536&&f&&U&&r.setClientStylingURL(U,f),a.$$.dirty[0]&4096|a.$$.dirty[1]&32768&&c&&U&&r.setStreamStyling(U,`${c}.Style`),a.$$.dirty[0]&4,a.$$.dirty[0]&2048|a.$$.dirty[1]&131072&&((l=Object.keys(Q))==null?void 0:l.length)==0&&d&&Lt(),a.$$.dirty[0]&256|a.$$.dirty[1]&65536&&Y&&f&&r.setClientStylingURL(),a.$$.dirty[1]&167772160&&w&&$&&Tt(),a.$$.dirty[0]&8192&&y&&Rt(),a.$$.dirty[0]&49152&&ne&&Se&&Pt(),a.$$.dirty[1]&786432&&t(34,n=C&&r.isMobile(E)?C:h)},[_,m,p,P,v,L,F,T,Y,D,Ee,Q,U,y,Se,ne,ve,we,Be,ye,Ge,K,te,Ue,We,_e,Le,ae,me,Oe,Ae,J,B,Ye,n,i,E,Ve,xe,ue,Ot,Dt,xt,o,s,u,c,f,d,h,C,O,k,R,I,g,w,A,$,X,ee,oe,se,He,je,Bt,Ut,Wt,At,Yt,zt]}class Ct extends r.SvelteComponent{constructor(e){super(),r.init(this,e,bn,hn,r.safe_not_equal,{session:43,userid:44,lang:1,clientstyling:45,mbsource:46,clientstylingurl:47,translationurl:48,favorites:2,gamethumbnail:49,icon:50,gamename:3,gamevendor:4,gamelaunchurl:51,gameid:5,gameisnew:6,gametag:7,gamefunmode:52,gamefavorite:0,gamecellsize:8,showfavoredcategory:53,showgamename:9,currency:54,gamepagemodalurl:55,endpoint:56,categoryid:57,livelobbyendpoint:58,connectlive:59,visibilityconnect:60,integratedgameframedesktop:61,integratedgameframemobile:62,casinogamesgridslider:10,translationmessages:11,MONEY_WHEEL_COLOR_MAP:63,ROULETTE_COLOR_MAP:64},tn,[-1,-1,-1,-1])}get session(){return this.$$.ctx[43]}set session(e){this.$$set({session:e}),r.flush()}get userid(){return this.$$.ctx[44]}set userid(e){this.$$set({userid:e}),r.flush()}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),r.flush()}get clientstyling(){return this.$$.ctx[45]}set clientstyling(e){this.$$set({clientstyling:e}),r.flush()}get mbsource(){return this.$$.ctx[46]}set mbsource(e){this.$$set({mbsource:e}),r.flush()}get clientstylingurl(){return this.$$.ctx[47]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),r.flush()}get translationurl(){return this.$$.ctx[48]}set translationurl(e){this.$$set({translationurl:e}),r.flush()}get favorites(){return this.$$.ctx[2]}set favorites(e){this.$$set({favorites:e}),r.flush()}get gamethumbnail(){return this.$$.ctx[49]}set gamethumbnail(e){this.$$set({gamethumbnail:e}),r.flush()}get icon(){return this.$$.ctx[50]}set icon(e){this.$$set({icon:e}),r.flush()}get gamename(){return this.$$.ctx[3]}set gamename(e){this.$$set({gamename:e}),r.flush()}get gamevendor(){return this.$$.ctx[4]}set gamevendor(e){this.$$set({gamevendor:e}),r.flush()}get gamelaunchurl(){return this.$$.ctx[51]}set gamelaunchurl(e){this.$$set({gamelaunchurl:e}),r.flush()}get gameid(){return this.$$.ctx[5]}set gameid(e){this.$$set({gameid:e}),r.flush()}get gameisnew(){return this.$$.ctx[6]}set gameisnew(e){this.$$set({gameisnew:e}),r.flush()}get gametag(){return this.$$.ctx[7]}set gametag(e){this.$$set({gametag:e}),r.flush()}get gamefunmode(){return this.$$.ctx[52]}set gamefunmode(e){this.$$set({gamefunmode:e}),r.flush()}get gamefavorite(){return this.$$.ctx[0]}set gamefavorite(e){this.$$set({gamefavorite:e}),r.flush()}get gamecellsize(){return this.$$.ctx[8]}set gamecellsize(e){this.$$set({gamecellsize:e}),r.flush()}get showfavoredcategory(){return this.$$.ctx[53]}set showfavoredcategory(e){this.$$set({showfavoredcategory:e}),r.flush()}get showgamename(){return this.$$.ctx[9]}set showgamename(e){this.$$set({showgamename:e}),r.flush()}get currency(){return this.$$.ctx[54]}set currency(e){this.$$set({currency:e}),r.flush()}get gamepagemodalurl(){return this.$$.ctx[55]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),r.flush()}get endpoint(){return this.$$.ctx[56]}set endpoint(e){this.$$set({endpoint:e}),r.flush()}get categoryid(){return this.$$.ctx[57]}set categoryid(e){this.$$set({categoryid:e}),r.flush()}get livelobbyendpoint(){return this.$$.ctx[58]}set livelobbyendpoint(e){this.$$set({livelobbyendpoint:e}),r.flush()}get connectlive(){return this.$$.ctx[59]}set connectlive(e){this.$$set({connectlive:e}),r.flush()}get visibilityconnect(){return this.$$.ctx[60]}set visibilityconnect(e){this.$$set({visibilityconnect:e}),r.flush()}get integratedgameframedesktop(){return this.$$.ctx[61]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),r.flush()}get integratedgameframemobile(){return this.$$.ctx[62]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),r.flush()}get casinogamesgridslider(){return this.$$.ctx[10]}set casinogamesgridslider(e){this.$$set({casinogamesgridslider:e}),r.flush()}get translationmessages(){return this.$$.ctx[11]}set translationmessages(e){this.$$set({translationmessages:e}),r.flush()}get MONEY_WHEEL_COLOR_MAP(){return this.$$.ctx[63]}get ROULETTE_COLOR_MAP(){return this.$$.ctx[64]}}r.create_custom_element(Ct,{session:{},userid:{},lang:{},clientstyling:{},mbsource:{},clientstylingurl:{},translationurl:{},favorites:{},gamethumbnail:{},icon:{},gamename:{},gamevendor:{},gamelaunchurl:{},gameid:{},gameisnew:{type:"Boolean"},gametag:{},gamefunmode:{type:"Boolean"},gamefavorite:{type:"Boolean"},gamecellsize:{},showfavoredcategory:{type:"Boolean"},showgamename:{},currency:{},gamepagemodalurl:{},endpoint:{},categoryid:{},livelobbyendpoint:{},connectlive:{},visibilityconnect:{},integratedgameframedesktop:{},integratedgameframemobile:{},casinogamesgridslider:{},translationmessages:{}},[],["MONEY_WHEEL_COLOR_MAP","ROULETTE_COLOR_MAP"],!0);const vn=Object.freeze(Object.defineProperty({__proto__:null,default:Ct},Symbol.toStringTag,{value:"Module"}));exports.CasinoGameThumbnailNd_ce=vn;exports.differenceInMilliseconds=Xt;exports.isAfter=Ja;exports.isBefore=Za;