import{m as d,j as s,L as m}from"./app-D_lWdAF1.js";import{I as l}from"./input-error-Dz46bbCi.js";import{B as c}from"./app-logo-icon-B18IWF-o.js";import{L as u,I as f}from"./label-4h6KnNp-.js";import{A as w}from"./auth-layout-CPcoyQnT.js";import{L as h}from"./loader-circle-CqvjZacN.js";import"./app-gFGt7Tbg.js";import"./index-DKsctv8k.js";function N(){const{data:a,setData:e,post:t,processing:o,errors:i,reset:n}=d({password:""}),p=r=>{r.preventDefault(),t(route("password.confirm"),{onFinish:()=>n("password")})};return s.jsxs(w,{title:"Confirm your password",description:"This is a secure area of the application. Please confirm your password before continuing.",children:[s.jsx(m,{title:"Confirm password"}),s.jsx("form",{onSubmit:p,children:s.jsxs("div",{className:"space-y-6",children:[s.jsxs("div",{className:"grid gap-2",children:[s.jsx(u,{htmlFor:"password",children:"Password"}),s.jsx(f,{id:"password",type:"password",name:"password",placeholder:"Password",autoComplete:"current-password",value:a.password,autoFocus:!0,onChange:r=>e("password",r.target.value)}),s.jsx(l,{message:i.password})]}),s.jsx("div",{className:"flex items-center",children:s.jsxs(c,{className:"w-full",disabled:o,children:[o&&s.jsx(h,{className:"h-4 w-4 animate-spin"}),"Confirm password"]})})]})})]})}export{N as default};
