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]=`fa22e8a0-7e21-44ea-8386-849c2526feb6`,e._sentryDebugIdIdentifier=`sentry-dbid-fa22e8a0-7e21-44ea-8386-849c2526feb6`)}catch{}import{o as e}from"./rolldown-runtime-nx40z1zs.js";import{E as t}from"./vendor-misc-dys7qi6h.js";import{Gu as n,Ji as r,Lm as i,jg as a,ng as o,op as s,wm as c}from"./entry.client-mpghtlrl.js";import{t as l}from"./GameStreamPage-eeysv293.js";import{n as u}from"./dialogPreloading-oqqhxo9l.js";var d=r(),f=e(a(),1),p=o(),m=i(()=>{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)(c,{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(s.dialog.gameStream.fullPath).catch(h)}export{m as default};