import{u as l,c as n,a as t,d as e,e as a,B as d,b as r,j as u,n as f,f as p,o as c}from"./app-BJF24m-a.js";import{_}from"./GuestLayout-UifdBsij.js";import{_ as w}from"./InputError-96UgAvVt.js";import{_ as b,a as x}from"./TextInput-O1sjt4fZ.js";import{P as g}from"./PrimaryButton-5AnCxPpY.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";const y={class:"mt-4 flex justify-end"},h={__name:"ConfirmPassword",setup(P){const s=l({password:""}),i=()=>{s.post(route("password.confirm"),{onFinish:()=>s.reset()})};return(V,o)=>(c(),n(_,null,{default:t(()=>[e(a(d),{title:"Confirm Password"}),o[2]||(o[2]=r("div",{class:"mb-4 text-sm text-gray-600"}," This is a secure area of the application. Please confirm your password before continuing. ",-1)),r("form",{onSubmit:u(i,["prevent"])},[r("div",null,[e(b,{for:"password",value:"Password"}),e(x,{id:"password",type:"password",class:"mt-1 block w-full",modelValue:a(s).password,"onUpdate:modelValue":o[0]||(o[0]=m=>a(s).password=m),required:"",autocomplete:"current-password",autofocus:""},null,8,["modelValue"]),e(w,{class:"mt-2",message:a(s).errors.password},null,8,["message"])]),r("div",y,[e(g,{class:f(["ms-4",{"opacity-25":a(s).processing}]),disabled:a(s).processing},{default:t(()=>[...o[1]||(o[1]=[p(" Confirm ",-1)])]),_:1},8,["class","disabled"])])],32)]),_:1}))}};export{h as default};
