import{u as m,y as d,e as t,b as e,f as r,d as a,h as n,g as u,n as p,q as f,o as c}from"./app-DtilF0jd.js";import{G as w}from"./GuestLayout-BQpY9ERn.js";import{_,b,a as y}from"./InputError-CGryjV6E.js";import{P as g}from"./PrimaryButton-8n0N1KDV.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";import"./DarkModeToggle-wIsj_tj1.js";const x={class:"mt-4 flex justify-end"},$={__name:"ConfirmPassword",setup(P){const s=m({password:""}),i=()=>{s.post(route("password.confirm"),{onFinish:()=>s.reset()})};return(V,o)=>(c(),d(w,null,{default:t(()=>[e(a(n),{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(_,{for:"password",value:"Password"}),e(b,{id:"password",type:"password",class:"mt-1 block w-full",modelValue:a(s).password,"onUpdate:modelValue":o[0]||(o[0]=l=>a(s).password=l),required:"",autocomplete:"current-password",autofocus:""},null,8,["modelValue"]),e(y,{class:"mt-2",message:a(s).errors.password},null,8,["message"])]),r("div",x,[e(g,{class:p(["ms-4",{"opacity-25":a(s).processing}]),disabled:a(s).processing},{default:t(()=>[...o[1]||(o[1]=[f(" Confirm ",-1)])]),_:1},8,["class","disabled"])])],32)]),_:1}))}};export{$ as default};
