import{S as p,r as d,j as s,a as l}from"./app-BZJf8lgN.js";import{G as c}from"./GuestLayout-DMmAkuUq.js";import{I as u}from"./InputError-DE3wWovO.js";import{I as f}from"./InputLabel-Dd3VnoK3.js";import{P as x}from"./PrimaryButton-DZfTvxkJ.js";import{T as w}from"./TextInput-BR_8t0R7.js";import"./button.esm-D_cwsnQR.js";import"./hooks.esm-UVLztt_0.js";function I(){const{data:e,setData:a,post:t,processing:o,errors:m,reset:i}=p({password:""});d.useEffect(()=>()=>{i("password")},[]);const n=r=>{r.preventDefault(),t(route("password.confirm"))};return s.jsxs(c,{children:[s.jsx(l,{title:"Confirm Password"}),s.jsx("div",{className:"mb-4 text-sm text-gray-600",children:"This is a secure area of the application. Please confirm your password before continuing."}),s.jsxs("form",{onSubmit:n,children:[s.jsxs("div",{className:"mt-4",children:[s.jsx(f,{htmlFor:"password",value:"Password"}),s.jsx(w,{id:"password",type:"password",name:"password",value:e.password,className:"mt-1 block w-full",isFocused:!0,onChange:r=>a("password",r.target.value)}),s.jsx(u,{message:m.password,className:"mt-2"})]}),s.jsx("div",{className:"flex items-center justify-end mt-4",children:s.jsx(x,{className:"ml-4",disabled:o,children:"Confirm"})})]})]})}export{I as default};
//# sourceMappingURL=ConfirmPassword-DG9pe1N7.js.map
