import{D as e,E as t,H as n,T as r,b as i,i as a,m as o,n as s,nt as c,x as l,xt as u,yt as d}from"./app-r2SMcdpu.js";import{t as f}from"./GuestLayout-ULt6nELo.js";import{n as p,r as m,t as h}from"./TextInput-IAw8Ne2B.js";import{t as g}from"./PrimaryButton-zow5epdV.js";var _={class:`mt-4 flex justify-end`},v=e({__name:`ConfirmPassword`,setup(e){let v=a({password:``}),y=()=>{v.post(route(`password.confirm`),{onFinish:()=>{v.reset()}})};return(e,a)=>(n(),l(f,null,{default:c(()=>[t(d(s),{title:`Confirm Password`}),a[2]||=i(`div`,{class:`mb-4 text-sm text-gray-600 dark:text-gray-400`},` This is a secure area of the application. Please confirm your password before continuing. `,-1),i(`form`,{onSubmit:o(y,[`prevent`])},[i(`div`,null,[t(p,{for:`password`,value:`Password`}),t(h,{id:`password`,type:`password`,class:`mt-1 block w-full`,modelValue:d(v).password,"onUpdate:modelValue":a[0]||=e=>d(v).password=e,required:``,autocomplete:`current-password`,autofocus:``},null,8,[`modelValue`]),t(m,{class:`mt-2`,message:d(v).errors.password},null,8,[`message`])]),i(`div`,_,[t(g,{class:u([`ms-4`,{"opacity-25":d(v).processing}]),disabled:d(v).processing},{default:c(()=>[...a[1]||=[r(` Confirm `,-1)]]),_:1},8,[`class`,`disabled`])])],32)]),_:1}))}});export{v as default};