try{let e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`d38cf22f-71fc-4105-bf87-b2ef83c63ff9`,e._sentryDebugIdIdentifier=`sentry-dbid-d38cf22f-71fc-4105-bf87-b2ef83c63ff9`)}catch{}import{o as e}from"./rolldown-runtime-eb2nym32.js";import{z as t}from"./vendor-misc-hfpbxrii.js";import{$d as n,Ag as r,Ig as i,Sr as a,Ym as o,zm as s,zp as c}from"./entry.client-dr7r6s9a.js";import{t as l}from"./GameStreamPage-kvdmt4vc.js";import{t as u}from"./dialogPreloading-7hh3nt1j.js";var d=a(),f=e(i(),1),p=r(),m=o(()=>{let e=(0,d.c)(4),{consoleId:r}=t(n.remotePlay.byConsoleId),i;if(e[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=[],e[0]=i):i=e[0],(0,f.useEffect)(g,i),!r){let t;return e[1]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,p.jsx)(s,{to:`/404`,replace:!0}),e[1]=t):t=e[1],t}let a;return e[2]===r?a=e[3]:(a=(0,p.jsx)(l,{serverId:r}),e[2]=r,e[3]=a),a});function h(){}function g(){u(c.dialog.gameStream.fullPath).catch(h)}export{m as default};