1import{a as l,j as e}from"./react-vendor-BGQ-fvu8.js";import{ao as x,a$ as f,b0 as h,R as j,M as t,B as c,b1 as p,b2 as v}from"./main-BjGN4ckN.js";import{A as g}from"./Layout-DamczIiy.js";import"./charts-vendor-fU6IkEZ_.js";import"./lodash-vendor-0cI-KiNp.js";import"./apollo-vendor-WdUFfbxi.js";import"./chevron-left-5-Gg-yzc.js";const a=60,y=5;function k(){const{user:n}=x(),r=f(),{time:s,reset:o}=h({targetSeconds:a,delaySeconds:y}),m=l.useCallback(async()=>{o(),await r()},[o,r]),i=n?.email,d=n?.active,u=l.useMemo(()=>`https://mail.google.com/mail/u/${i||"0"}/#search/from%3A%40firstory.me+in%3Aanywhere+newer_than%3A1d`,[i]);return d?e.jsx(j,{to:"/"}):e.jsx(g,{children:e.jsxs("div",{className:"flex w-full flex-col items-center text-center",children:[e.jsx("h3",{className:"mb-12 text-center text-3xl font-bold",children:e.jsx(t,{id:"auth.emailVerify.title"})}),e.jsx("p",{className:"text-center",children:e.jsx(t,{id:"auth.emailVerify.description",values:{email:i}})}),s>=0&&e.jsx(c,{size:"sm",className:"mt-4",disabled:s!==a,onClick:m,children:s===a?e.jsx(t,{id:"auth.emailVerify.resend"}):e.jsx(t,{id:"auth.emailVerify.countdown",values:{time:`00:${p(a-s)}`}})}),e.jsxs(c,{variant:"outline",size:"lg",className:"mt-8",nativeButton:!1,render:e.jsx("a",{href:u}),children:[e.jsx("img",{src:"/assets/platforms/gmail.svg",alt:"Gmail","data-icon":"inline-start",className:"size-6"}),"Open Gmail",e.jsx(v,{"data-icon":"inline-end",size:20})]})]})})}export{k 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.