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]=`f680cdff-b2d1-4abe-a0fd-e0f9160fa36e`,e._sentryDebugIdIdentifier=`sentry-dbid-f680cdff-b2d1-4abe-a0fd-e0f9160fa36e`)}catch{}import{o as e}from"./rolldown-runtime-eb2nym32.js";import{Fg as t,Ig as n,at as r}from"./entry.client-dr7r6s9a.js";var i=t(),a=e(n(),1),o=e=>{let t=(0,i.c)(5),{stateRestorationManager:n}=r(),o=(0,a.useId)(),s,c;t[0]!==e||t[1]!==n||t[2]!==o?(s=()=>(e?n.addLoadingRef(o):n.removeLoadingRef(o),()=>{n.removeLoadingRef(o)}),c=[o,e,n],t[0]=e,t[1]=n,t[2]=o,t[3]=s,t[4]=c):(s=t[3],c=t[4]),(0,a.useEffect)(s,c)};export{o as t};