PageSourceSearch

https://www.awarts.club/assets/AuthCallback-yj4S6prq.js

js awarts.club collected 2026-09-30 15:34:27 UTC 1,777 bytes, 1 lines download raw bytes

1import{j as e}from"./ui-BDGGWJX8.js";import{r}from"./clerk-CrpdJg_o.js";import{u as t}from"./index-BTL6aLaB.js";import{d as s,L as i}from"./react-C3qrV33i.js";import"./charts-HGO4GMPn.js";import"./convex-BEiXB6rg.js";function n(){const{isSignedIn:n,isLoaded:a,isUserLoading:o,user:c}=t(),m=s(),[d,l]=r.useState(!1);return r.useEffect(()=>{if(a&&!o)if(n){m(!c?.country?"/onboarding":"/feed",{replace:!0})}else m("/login",{replace:!0})},[a,o,n,c,m]),r.useEffect(()=>{const e=setTimeout(()=>{a||l(!0)},15e3);return()=>clearTimeout(e)},[a]),d?e.jsx("div",{className:"min-h-screen bg-background flex items-center justify-center",children:e.jsxs("div",{className:"text-center space-y-4 max-w-md mx-auto px-4",children:[e.jsx("p",{className:"text-lg font-semibold text-foreground",children:"Authentication is taking too long"}),e.jsx("p",{className:"text-sm text-muted-foreground",children:"There may be a connectivity issue. Please try again."}),e.jsxs("div",{className:"flex gap-3 justify-center",children:[e.jsx(i,{to:"/login",className:"inline-flex items-center justify-center rounded-md bg-primary px-4 py-2 text-sm font-medium text-primary-foreground hover:bg-primary/90",children:"Try again"}),e.jsx(i,{to:"/",className:"inline-flex items-center justify-center rounded-md border border-input px-4 py-2 text-sm font-medium hover:bg-accent",children:"Go home"})]})]})}):e.jsx("div",{className:"min-h-screen bg-background flex items-center justify-center",children:e.jsxs("div",{className:"text-center space-y-4",children:[e.jsx("div",{className:"h-8 w-8 animate-spin rounded-full border-4 border-primary border-t-transparent mx-auto","aria-label":"Signing in",role:"status"}),e.jsx("p",{className:"text-muted-foreground",children:"Signing you in..."})]})})}export{n 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.