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]=`26566e6c-e96a-4d01-be97-8e80368d9321`,e._sentryDebugIdIdentifier=`sentry-dbid-26566e6c-e96a-4d01-be97-8e80368d9321`)}catch{}import{o as e}from"./rolldown-runtime-eb2nym32.js";import{Ig as t,Qp as n,Yp as r,em as i}from"./entry.client-dr7r6s9a.js";var a=e(t(),1);function o(e){let t=n(),o=(0,a.useRef)(void 0);return r(t.stores.location,n=>{let r=e?.select?e.select(n):n;if(e?.structuralSharing??t.options.defaultStructuralSharing){let e=i(o.current,r);return o.current=e,e}return r})}export{o as t};