PageSourceSearch

https://savedelete.com/static/js/7367.f8c3b773.chunk.js

js savedelete.com collected 2026-10-01 07:29:57 UTC 3,429 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunksavedelete_react=self.webpackChunksavedelete_react||[]).push([[7367],{67367:(e,s,t)=>{t.r(s),t.d(s,{default:()=>x});var r=t(65043),l=t(25352),a=t(36767),n=t(49367),i=t(22024),c=t(85692),o=t(35327),d=t(78384),m=t(84889),u=t(70579);const x=()=>{const{verifyEmail:e}=(0,a.A)(),s=(0,l.Zp)(),[t]=(0,l.ok)(),x=t.get("token"),[h,f]=(0,r.useState)(x?"verifying":"form"),[g,y]=(0,r.useState)(""),b=(0,r.useRef)(!1);(0,r.useEffect)(()=>{x&&!b.current&&(b.current=!0,(async()=>{try{await e(void 0,void 0,x),s("/dashboard")}catch(t){f("error")}})())},[x,e,s]);return(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(n.mg,{children:(0,u.jsx)("title",{children:"Verify your email \u2014 SaveDelete"})}),(0,u.jsx)("div",{className:"min-h-screen flex items-center justify-center bg-white px-4",children:(0,u.jsxs)("div",{className:"w-full max-w-sm text-center",children:[(0,u.jsxs)(l.N_,{to:"/",className:"inline-flex items-center group mb-8",children:[(0,u.jsx)("div",{className:"bg-blue-600 p-2 rounded-lg group-hover:bg-blue-700 transition-colors",children:(0,u.jsx)("span",{className:"text-white font-bold text-xl",children:"SD"})}),(0,u.jsx)("span",{className:"ml-3 text-2xl font-bold text-gray-900 tracking-tight",children:"SaveDelete"})]}),"verifying"===h&&(0,u.jsxs)("div",{className:"flex flex-col items-center",children:[(0,u.jsx)(i.A,{className:"h-8 w-8 text-blue-600 animate-spin"}),(0,u.jsx)("p",{className:"mt-4 text-sm text-gray-600",children:"Verifying your email\u2026"})]}),"code"===h&&(0,u.jsx)(m.m,{email:g.trim(),onVerified:()=>s("/dashboard")}),("error"===h||"form"===h)&&(0,u.jsxs)("div",{className:"space-y-6",children:[(0,u.jsxs)("div",{children:[(0,u.jsx)("div",{className:"mx-auto flex h-12 w-12 items-center justify-center rounded-full bg-blue-100",children:(0,u.jsx)(d.A,{className:"h-6 w-6 text-blue-600"})}),(0,u.jsx)("h2",{className:"mt-4 text-2xl font-extrabold text-gray-900",children:"error"===h?"That link didn\u2019t work":"Verify your email"}),(0,u.jsx)("p",{className:"mt-2 text-sm text-gray-600",children:"error"===h?"The link may have expired or already been used. Enter your email to continue.":"Enter your email \u2014 then type the 6-digit code we sent you."})]}),(0,u.jsxs)("form",{onSubmit:e=>{e.preventDefault(),g.trim()&&f("code")},className:"space-y-4",children:[(0,u.jsxs)("div",{className:"relative rounded-md shadow-sm",children:[(0,u.jsx)("div",{className:"absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none",children:(0,u.jsx)(o.A,{className:"h-5 w-5 text-gray-400"})}),(0,u.jsx)("input",{type:"email",required:!0,value:g,onChange:e=>y(e.target.value),placeholder:"[email protected]",className:"block w-full pl-10 pr-3 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent sm:text-sm"})]}),(0,u.jsxs)("button",{type:"submit",className:"w-full flex justify-center items-center py-2.5 px-4 border border-transparent rounded-lg shadow-sm text-sm font-semibold text-white bg-blue-600 hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500 transition-all",children:["Continue",(0,u.jsx)(c.A,{className:"ml-2 h-4 w-4"})]}),(0,u.jsxs)("p",{className:"text-xs text-gray-500",children:["Already signed up?"," ",(0,u.jsx)(l.N_,{to:"/login",className:"underline",children:"Log in instead"}),"."]})]})]})]})})]})}}}]);
2//# sourceMappingURL=7367.f8c3b773.chunk.js.map

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.