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