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