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]=`244d5243-9738-472b-ab47-c411ac52aa1e`,e._sentryDebugIdIdentifier=`sentry-dbid-244d5243-9738-472b-ab47-c411ac52aa1e`)}catch{}import{o as e}from"./rolldown-runtime-nx40z1zs.js";import{Ag as t,jg as n}from"./entry.client-mpghtlrl.js";var r=t(),i=e(n(),1),a=(e,t)=>{let n=(0,r.c)(6),a=(0,i.useRef)(e),o,s;n[0]===e?(o=n[1],s=n[2]):(o=()=>{a.current=e},s=[e],n[0]=e,n[1]=o,n[2]=s),(0,i.useEffect)(o,s);let c,l;n[3]===t?(c=n[4],l=n[5]):(c=()=>{let e=()=>a.current();if(t!=null){let n=setTimeout(e,t);return()=>clearTimeout(n)}},l=[t],n[3]=t,n[4]=c,n[5]=l),(0,i.useEffect)(c,l)};export{a as t};