@everymatrix/casino-favorites-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.
@@ -1293,9 +1293,9 @@ return 32773&t[0]&&($=null),/*gamefavorite, isLoggedIn, favorites*/32773&t[0]&&(
1293
1293
  //Analytics event -- if game was searched
1294
1294
  "function"==typeof gtag&&gtag("event","OpenGame",{context:"GameThumbnail--Searched",gameId:`${e}`,userId:`${i||"Not logged in"}`}),
1295
1295
  // Case mobile
1296
- 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),
1296
+ 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),
1297
1297
  // Case desktop
1298
- 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,qt.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){
1298
+ 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,qt.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){
1299
1299
  // eslint-disable-next-line no-console
1300
1300
  console.error("MESSAGE PARSING ERROR: ",e)}if(i){const{InternalTableId:e,MessageType:t,Results:// TakenSeats,
1301
1301
  r,Seats:// Roads, // for baccarat