1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9320],{9040:(e,t,n)=>{"use strict";n.d(t,{Bc:()=>m,L3:()=>i,Sg:()=>c,Zt:()=>o});var a=n(4902),s=n(20830),r=n(17494),i=function(e){return e.Html="html",e.Url="url",e.Error="error",e}({});class o{}(0,a.Cg)([(0,s.v)({name:"is_locked"})],o.prototype,"isLocked",void 0),(0,a.Cg)([(0,s.v)({name:"is_maintenance"})],o.prototype,"isMaintenance",void 0),(0,a.Cg)([(0,s.v)({name:"is_favorite"})],o.prototype,"isFavorite",void 0);class l{}(0,a.Cg)([(0,s.v)({name:"banner_image"})],l.prototype,"bannerImage",void 0),(0,a.Cg)([(0,s.v)({name:"logo_image"})],l.prototype,"logoImage",void 0),(0,a.Cg)([(0,s.v)({name:"is_locked"})],l.prototype,"isLocked",void 0),(0,a.Cg)([(0,r.Z)(()=>Boolean),(0,s.v)({name:"is_maintenance"})],l.prototype,"isMaintenance",void 0);class u{}(0,a.Cg)([(0,r.Z)(()=>l)],u.prototype,"providers",void 0);class c{}(0,a.Cg)([(0,s.v)({name:"balance_alert"})],c.prototype,"balanceAlert",void 0);class d{}class m{}(0,a.Cg)([(0,r.Z)(()=>d)],m.prototype,"icon",void 0);class g{}(0,a.Cg)([(0,r.Z)(()=>o)],g.prototype,"games",void 0)},15228:(e,t,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/game-launch/[id]",function(){return n(33891)}])},33891:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h,isWebView:()=>v});var a=n(37876),s=n(9040),r=n(60173),i=n(42252),o=n(64837),l=n(4902),u=n(20830);class c{}(0,l.Cg)([(0,u.v)({name:"is_limit_reached"})],c.prototype,"isLimitReached",void 0);var d=n(37227),m=n(2233),g=n(89099),p=n(14232);let v=()=>!!window.ReactNativeWebView||navigator.userAgent.includes("wv")||/iPhone|iPad|iPod.*AppleWebKit(?!.*Safari)/i.test(navigator.userAgent);function h(){var e,t,n,l,u;let d=(0,g.useRouter)(),{t:p}=(0,m.A)(),v=d.query.id,h=d.query.bc,{data:C,isLoading:E,isFetching:L,error:x}=(0,r.v6)({gameId:v}),{data:I,isLoading:j,isFetching:R}=(0,o.oE)((0,i.I)(["getMemberWinLimit"],()=>(0,o.hs)({url:"member-win-limit"}),void 0),c),b=x||(null==C?void 0:C.message)||!(null==C||null==(e=C.data)?void 0:e.content)?s.L3.Error:null==C||null==(t=C.data)?void 0:t.type;if(E||L||j||R)return(0,a.jsx)("h1",{children:"Loading..."});if(null==C||null==(n=C.data)?void 0:n.balanceAlert)return(0,a.jsx)(f,{});if(null==I||null==(l=I.data)?void 0:l.isLimitReached)return(0,a.jsx)("div",{style:{height:"100vh",display:"flex",justifyContent:"center",alignItems:"center"},children:(0,a.jsxs)("div",{style:{padding:"40px 20px",background:"white"},children:[(0,a.jsx)("p",{children:p("common:something_went_wrong")}),(0,a.jsx)("p",{children:p("common:please_try_again_or_contact_cs")})]})});switch(b){case s.L3.Html:return(0,a.jsx)(_,{...null==C?void 0:C.data,type:b});case s.L3.Url:return(0,a.jsx)(y,{...null==C?void 0:C.data,type:b});case s.L3.Error:if(null==x?void 0:x.message)return(0,a.jsx)(w,{gameLaunchBCId:h,message:null==x?void 0:x.message,type:b});if(!(null==C||null==(u=C.data)?void 0:u.content))return(0,a.jsx)(w,{gameLaunchBCId:h,message:"NO CONTENT",type:b});return(0,a.jsx)(w,{gameLaunchBCId:h,message:null==C?void 0:C.message,type:b});default:return null}}function f(){let e=(0,g.useRouter)();return(0,p.useEffect)(()=>{try{sessionStorage.setItem("BALANCE_ALERT",JSON.stringify({time:Date.now()}))}catch(e){console.warn("sessionStorage failed",e)}e.replace("/")},[e]),null}function _(e){return(0,p.useEffect)(()=>{let t=document.open("text/html","replace");t.write(e.content),t.close()},[e.content]),null}function y(e){let t=(0,g.useRouter)();return(0,p.useEffect)(()=>{t.replace(e.content)},[e.content,t]),null}function w(e){let t=(0,g.useRouter)();return(0,p.useEffect)(()=>{let n;if(v()){try{sessionStorage.setItem("GAME_LAUNCH_ERROR",JSON.stringify({message:e.message,time:Date.now()}))}catch(e){console.warn("sessionStorage failed",e)}t.replace("/");return}if(e.message&&e.gameLaunchBCId)try{(n=new d.X2(e.gameLaunchBCId)).postMessage({type:"GAME_LAUNCH_ERROR",message:e.message})}catch(e){console.warn("BroadcastChannel failed",e)}return window.opener&&!window.opener.closed?(window.close(),setTimeout(()=>{t.replace("/")},300)):t.replace("/"),()=>{var e;null==n||null==(e=n.close)||e.call(n)}},[e.gameLaunchBCId,e.message,t]),(0,a.jsxs)("div",{style:{textAlign:"center",paddingTop:"40vh"},children:[(0,a.jsx)("p",{children:"Something went wrong"}),(0,a.jsx)("p",{children:"Redirecting..."})]})}},60173:(e,t,n)=>{"use strict";n.d(t,{B9:()=>o,BS:()=>l,D_:()=>g,Z9:()=>d,Zi:()=>c,fe:()=>u,v6:()=>m});var a=n(79819),s=n(42252),r=n(64837),i=n(9040);function o(e,t){return(0,r.oE)((0,a.q)(["getGames",null==e?void 0:e.params],()=>(0,r.hs)({url:"games",params:{...null==e?void 0:e.params}}),t),i.Zt)}function l(e){let t=["getGames"];return e&&t.push(null==e?void 0:e.params),t}function u(e,t){return(0,r.oE)((0,a.q)(["getFavoriteGames",null==e?void 0:e.params],()=>(0,r.hs)({url:"games/favorite",params:null==e?void 0:e.params}),t),i.Zt)}function c(e){let t=["getFavoriteGames"];return e&&t.push(null==e?void 0:e.params),t}function d(e,t){return(0,r.oE)((0,s.I)(["getGameTags",null==e?void 0:e.params],()=>(0,r.hs)({url:"games/tags",params:null==e?void 0:e.params}),t),i.Bc)}function m(e,t){return(0,r.oE)((0,s.I)(["getGameUrl",null==e?void 0:e.gameId],()=>(0,r.hs)({url:"games/".concat(null==e?void 0:e.gameId,"/url")}),t),i.Sg)}function g(e,t){return(0,r.oE)((0,s.I)(["getGameHistoryUrl",null==e?void 0:e.id],()=>(0,r.hs)({url:"transaction-histories/games/".concat(null==e?void 0:e.id)}),t),i.Sg)}}},e=>{e.O(0,[9089,636,6593,8792],()=>e(e.s=15228)),_N_E=e.O()}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.