1import{u as r,r as a,ay as n,j as e,C as o,am as i,a6 as c,dR as l,an as m}from"./index-Cs0LAux9.js";function u(){const{t:s}=r(),t=a.useMemo(()=>new URLSearchParams(window.location.search).get("state")||"",[]);return a.useEffect(()=>{t&&(window.location.href=`${n()}/api/google/oauth/start?state=${encodeURIComponent(t)}`)},[t]),e.jsx("div",{className:"flex items-center justify-center min-h-dvh p-4 bg-muted",children:e.jsx(o,{className:"max-w-sm w-full",children:e.jsxs(i,{className:"items-center text-center gap-3",children:[t?e.jsx(c,{className:"h-12 w-12 animate-spin text-muted-foreground"}):e.jsx(l,{className:"h-12 w-12 text-destructive"}),e.jsx(m,{className:"text-xl",children:s(t?"googleOAuth.redirecting":"googleOAuth.missingState")}),!t&&e.jsx("p",{className:"text-sm text-muted-foreground",children:s("googleOAuth.missingStateHint")})]})})})}export{u as GoogleOAuthConnectPage};
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.