1import{o as e}from"./useRouteContext-Bcj-2RB1.js";import{t}from"./auth-query-CRRUWVJg.js";import{n,t as r}from"./sign-in-BrUKS9k8.js";function i(t){let{authInfoQueryOptions:n,getSignInHref:r,normalizePostAuthRedirect:i}=t;async function a(t){let n=await s(t.queryClient);if(!n?.user)throw e({href:r(t.redirectTo),replace:!0});return n}async function o(t){if((await s(t.queryClient))?.user)throw e({href:i(t.redirectTo),replace:!0})}async function s(e){try{return await e.fetchQuery(n)}catch{return null}}return{redirectSignedInUserFromAuthRoute:o,requireSignedInRoute:a}}var{redirectSignedInUserFromAuthRoute:a,requireSignedInRoute:o}=i({authInfoQueryOptions:t.queryOptions,getSignInHref:r,normalizePostAuthRedirect:n});export{o as n,a as t};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.