@everymatrix/casino-most-played-section 1.9.3 → 1.9.4

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.
@@ -1302,9 +1302,9 @@ return 32773&t[0]&&($=null),/*gamefavorite, isLoggedIn, favorites*/32773&t[0]&&(
1302
1302
  //Analytics event -- if game was searched
1303
1303
  "function"==typeof gtag&&gtag("event","OpenGame",{context:"GameThumbnail--Searched",gameId:`${e}`,userId:`${i||"Not logged in"}`}),
1304
1304
  // Case mobile
1305
- pr(ce)&&"true"==ae?window.postMessage({type:"OpenGameFrame",gameId:e,gamefunmode:W,gamepagemodalurl:Q,isMobile:pr(ce),source:"GameThumbnail"},window.location.href):pr(ce)&&"false"==ae&&window.postMessage({type:"ShowGameModal",gameId:e,isMobile:pr(ce)},window.location.href),
1305
+ pr(ce)&&"true"==ae?window.postMessage({type:"OpenGameFrame",gameId:e,gamefunmode:W,gamepagemodalurl:Q,isMobile:pr(ce),source:"GameThumbnail",identifier:"Lobby"},window.location.href):pr(ce)&&"false"==ae&&window.postMessage({type:"ShowGameModal",gameId:e,isMobile:pr(ce)},window.location.href),
1306
1306
  // Case desktop
1307
- pr(ce)||"true"!=ie?pr(ce)||"false"!=ie||window.postMessage({type:"ShowGameModal",gameId:e,isMobile:pr(ce)},window.location.href):window.postMessage({type:"OpenGameFrame",gameId:e,gamefunmode:W,gamepagemodalurl:Q,isMobile:pr(ce)},window.location.href)},_e=e=>{let t="thumbnail";Z?window.postMessage({type:"SetUnfavoredGame",id:e,triggerFactor:t},window.location.href):window.postMessage({type:"SetFavoredGame",id:e,triggerFactor:t},window.location.href)},Se=()=>{var e;e=D,nr.set(e)},xe=()=>{te&&EventSource&&!l&&U&&Y&&(l=new EventSource(`${ee}/encoder/lobby/updates/${U}/${Y}`),l.addEventListener("message",Te))},Ce=()=>{l&&(l.close(),l=void 0)},Te=async e=>{const{type:t,data:r}=e;let i;if("message"===t){if(r)try{i=JSON.parse(r)}catch(e){
1307
+ pr(ce)||"true"!=ie?pr(ce)||"false"!=ie||window.postMessage({type:"ShowGameModal",gameId:e,isMobile:pr(ce)},window.location.href):window.postMessage({type:"OpenGameFrame",gameId:e,gamefunmode:W,gamepagemodalurl:Q,isMobile:pr(ce),identifier:"Lobby"},window.location.href)},_e=e=>{let t="thumbnail";Z?window.postMessage({type:"SetUnfavoredGame",id:e,triggerFactor:t},window.location.href):window.postMessage({type:"SetFavoredGame",id:e,triggerFactor:t},window.location.href)},Se=()=>{var e;e=D,nr.set(e)},xe=()=>{te&&EventSource&&!l&&U&&Y&&(l=new EventSource(`${ee}/encoder/lobby/updates/${U}/${Y}`),l.addEventListener("message",Te))},Ce=()=>{l&&(l.close(),l=void 0)},Te=async e=>{const{type:t,data:r}=e;let i;if("message"===t){if(r)try{i=JSON.parse(r)}catch(e){
1308
1308
  // eslint-disable-next-line no-console
1309
1309
  console.error("MESSAGE PARSING ERROR: ",e)}if(i){const{InternalTableId:e,MessageType:t,Results:// TakenSeats,
1310
1310
  r,Seats:// Roads, // for baccarat