1import{k7 as c,k6 as m,f$ as a,fA as e,w as f}from"./index-DfswWcju.js";function x(){const{accessToken:o}=c(({auth:r})=>r),n=m({from:"/(auth)/_auth/verify-email"}),{lang:s}=c(({languages:r})=>r),[i,l]=a.useState(!1),[t,u]=a.useState(""),d=async()=>{n.error_description?u(n.error_description):o&&l(!0)};return a.useEffect(()=>{d()},[]),i||t?e.jsxs(e.Fragment,{children:[t&&e.jsx("div",{className:"alert alert-warning",style:{marginBottom:0},children:t}),i&&e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"alert alert-success",style:{marginBottom:0},children:s?"Akun anda telah terverifikasi!":"Your account has been verified!"}),e.jsxs(f,{to:"/",children:[s?"Kunjungi peta Nusantara Atlas":"Go to the Nusantara Atlas map","â¶"]})]})]}):e.jsxs("div",{style:{textAlign:"center"},children:[e.jsxs("div",{className:"lds-ripple",children:[e.jsx("div",{}),e.jsx("div",{})]}),e.jsx("p",{children:s?"Sedang memverifikasi akun anda...":"Verifying your account..."})]})}const p=x;export{p as component};
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.