PageSourceSearch

https://solidityscan.com/assets/index-DUSvmRBQ.js

js solidityscan.com collected 2026-10-03 21:22:34 UTC 2,466 bytes, 1 lines download raw bytes

1import{j as t}from"./vendor-dotlottie-CKWLB76h.js";import{a as n,L as h,n as f}from"./vendor-react-CCzXVbVA.js";import{u as S}from"./index.esm-Dhj9gSlK.js";import{L as b,Y as y,a as w,b as F,A as E,c as L}from"./app-ZGxtfi_0.js";import{E as T}from"./EmailInput-CIk9kp1G.js";import{T as C}from"./TurnstileComponent-DGwBZ16v.js";import{F as m,h as k,T as l,L as v,a0 as A,B as P,a3 as I,g as z}from"./vendor-chakra-z2eW50qa.js";import"./vendor-analytics-kxESroPO.js";import"./vendor-victory-2uYGyQN6.js";import"./vendor-query-Cq2FYR_1.js";import"./vendor-monaco-CiJro7ev.js";import"./index.esm-DOW5uEmc.js";import"./debounce-CxjSGMPP.js";const _=A(m),Q=()=>{const[e,r]=n.useState(!1),[o,a]=n.useState("");return t.jsxs(t.Fragment,{children:[t.jsx(m,{as:"header",justifyContent:"space-between",maxW:"80vw",mx:"auto",py:8,children:t.jsx(b,{})}),e?t.jsxs(_,{align:"center",direction:"column",my:36,initial:{opacity:0},animate:{opacity:1},children:[t.jsx(y,{size:130}),t.jsx(l,{fontSize:"2xl",fontWeight:600,mb:4,mt:8,children:"Reset your password"}),t.jsxs(l,{color:"subtle",children:["We've sent a link to reset your password on:"," ",t.jsx(P,{as:"span",color:"accent",children:o})]})]}):t.jsxs(m,{align:"center",direction:"column",my:40,children:[t.jsx(k,{fontSize:"2xl",children:"Forgot password?"}),t.jsx(l,{color:"subtle",my:3,children:"Enter your details to recieve a reset link"}),t.jsx(B,{email:o,setMailSent:r,setEmail:a}),t.jsx(v,{id:"ss-back-signin",as:h,variant:"subtle",fontSize:"sm",mr:1,mt:4,to:"/signin",children:"Back to sign in"})]})]})},B=({email:e,setMailSent:r,setEmail:o})=>{const{handleSubmit:a,formState:u}=S(),{orgName:p}=f(),[d,x]=n.useState({}),[i,j]=n.useState(""),g=async()=>{try{const s=i?{"Content-Type":"application/json","cf-turnstile-response":i}:{"Content-Type":"application/json"},{data:c}=await E.post(L.API_SEND_EMAIL,{org_name:p,email:e},{headers:s});c.status==="success"&&r(!0)}catch{}};return t.jsx("form",{onSubmit:a(g),children:t.jsxs(I,{spacing:6,mt:8,width:["300px","400px","500px"],children:[t.jsx(T,{isRequired:!0,showLeftIcon:!0,placeholder:"Your email",value:e,onChange:s=>o(s.target.value.toLowerCase()),onError:s=>x(c=>({...c,Email:s}))}),w().reCAPTCHA_enabled&&t.jsx(C,{setTurnstileToken:j}),t.jsx(z,{id:"ss-forgot-send",type:"submit",variant:"brand",isLoading:u.isSubmitting,isDisabled:Object.values(d).join("").length>0||!i,spinner:t.jsx(F,{color:"#3300FF",size:25}),children:"Send Now"})]})})};export{Q 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.