import{_ as n}from"./InputError.vue_vue_type_script_setup_true_lang-rMzOKLUE.js";import{_ as p}from"./index-C32fBP6Q.js";import{_ as c}from"./Input.vue_vue_type_script_setup_true_lang-C2RPzpSC.js";import{_ as l}from"./Label.vue_vue_type_script_setup_true_lang-Bs6ONg8r.js";import{_}from"./AuthLayout.vue_vue_type_script_setup_true_lang-7K5JbaF3.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-bWy6VYs1.js";import{L as x}from"./loader-circle-oqQD25qk.js";import"./index-CMWG4mbA.js";import"./useForwardExpose-Cx2E44RD.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};
