import{b as d,j as s,H as p}from"./app-vYFZLebK.js";import{I as l}from"./InputError-Cj3POQLM.js";import{I as u}from"./InputLabel-B7-VnScM.js";import{P as c}from"./PrimaryButton-Byh_hOgr.js";import{T as f}from"./TextInput-BXnk3iOU.js";import{G as x}from"./GuestLayout-DU0lQkT0.js";import"./ProBackground-HBykvu3f.js";import"./ThemeSwitcher-C0dt0hQX.js";import"./fingerprint-pattern-ByR3x1eT.js";import"./cpu-CnpbxAHg.js";function C(){const{data:a,setData:o,post:e,processing:t,errors:i,reset:m}=d({password:""}),n=r=>{r.preventDefault(),e(route("password.confirm"),{onFinish:()=>m("password")})};return s.jsxs(x,{children:[s.jsx(p,{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=>o("password",r.target.value)}),s.jsx(l,{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{C as default};
