PageSourceSearch

https://testmyteam.ai/assets/GoogleOAuthPopup-DYf4kgsT.js

js testmyteam.ai collected 2026-10-05 12:46:27 UTC 1,147 bytes, 1 lines download raw bytes

1import{r as i,j as e,B as u,bo as h,bp as x,ao as f,bn as m}from"./index-E5bXD9K8.js";import{C as a,b as l,c,d,a as w}from"./card-BKlRtFWa.js";function C(){const[r,g]=i.useState(null);return i.useEffect(()=>{let n=!0;return(async()=>{var t;try{const{error:s}=await h.auth.signInWithOAuth("google",{redirect_uri:x()});if(s)throw s}catch(s){const o=f(s);if(!n)return;g(o),(t=window.opener)==null||t.postMessage({type:m,status:"error",error:o},window.location.origin)}})(),()=>{n=!1}},[]),r?e.jsx("div",{className:"flex min-h-screen items-center justify-center bg-background p-6",children:e.jsxs(a,{className:"w-full max-w-sm",children:[e.jsxs(l,{children:[e.jsx(c,{children:"Google sign in failed"}),e.jsx(d,{children:r})]}),e.jsx(w,{children:e.jsx(u,{type:"button",className:"w-full",onClick:()=>window.close(),children:"Close window"})})]})}):e.jsx("div",{className:"flex min-h-screen items-center justify-center bg-background p-6",children:e.jsx(a,{className:"w-full max-w-sm",children:e.jsxs(l,{children:[e.jsx(c,{children:"Opening Google"}),e.jsx(d,{children:"Continue in the Google window to finish signing in."})]})})})}export{C as default};

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.