import{_ as n}from"./InputError.vue_vue_type_script_setup_true_lang-C-A2YNVC.js";import{_ as p}from"./index-CcjNLu6f.js";import{_ as c}from"./Input.vue_vue_type_script_setup_true_lang-nLsESaiq.js";import{_ as l}from"./Label.vue_vue_type_script_setup_true_lang-BRSPv2gn.js";import{_}from"./AuthLayout.vue_vue_type_script_setup_true_lang-BT-jlmDE.js";import{s as u}from"./index-CKv6rp-i.js";import{d as w,o as i,g as m,w as o,b as a,e as s,h as C,aq as h,N as b,f as r,i as d,j as g}from"./app-D9-EssCM.js";import{L as x}from"./loader-circle-w-GClVEY.js";import"./index-CMWG4mbA.js";import"./useForwardExpose-MNmriUeS.js";const y={class:"space-y-6"},N={class:"grid gap-2"},P={class:"flex items-center"},D=w({__name:"ConfirmPassword",setup($){return(k,e)=>(i(),m(_,{title:"Confirm your password",description:"This is a secure area of the application. Please confirm your password before continuing."},{default:o(()=>[a(s(C),{title:"Confirm password"}),a(s(h),b(s(u).form(),{"reset-on-success":""}),{default:o(({errors:f,processing:t})=>[r("div",y,[r("div",N,[a(s(l),{htmlFor:"password"},{default:o(()=>[...e[0]||(e[0]=[d("Password",-1)])]),_:1}),a(s(c),{id:"password",type:"password",name:"password",class:"mt-1 block w-full",required:"",autocomplete:"current-password",autofocus:""}),a(n,{message:f.password},null,8,["message"])]),r("div",P,[a(s(p),{class:"w-full",disabled:t,"data-test":"confirm-password-button"},{default:o(()=>[t?(i(),m(s(x),{key:0,class:"h-4 w-4 animate-spin"})):g("",!0),e[1]||(e[1]=d(" Confirm Password ",-1))]),_:2},1032,["disabled"])])])]),_:1},16)]),_:1}))}});export{D as default};
