import{u as d,j as s,H as l}from"./app-2gKhTNh_.js";import{I as p}from"./InputError-DhaXYDJ0.js";import{I as u}from"./InputLabel-PPFXGoOK.js";import{P as c}from"./PrimaryButton-h1mMzw6w.js";import{T as f}from"./TextInput-A2t-ZZU5.js";import{G as x}from"./GuestLayout-B3jvYuVb.js";function y(){const{data:a,setData:e,post:o,processing:t,errors:i,reset:m}=d({password:""}),n=r=>{r.preventDefault(),o(route("password.confirm"),{onFinish:()=>m("password")})};return s.jsxs(x,{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(u,{htmlFor:"password",value:"Password"}),s.jsx(f,{id:"password",type:"password",name:"password",value:a.password,className:"mt-1 block w-full",isFocused:!0,onChange:r=>e("password",r.target.value)}),s.jsx(p,{message:i.password,className:"mt-2"})]}),s.jsx("div",{className:"mt-4 flex items-center justify-end",children:s.jsx(c,{className:"ms-4",disabled:t,children:"Confirm"})})]})]})}export{y as default};
