import{y as m,h as c,o as d,c as f,a as s,u as o,w as r,F as u,Z as p,d as a,n as _,b as w,C as b}from"./app-I4K73wff.js";import{G as h}from"./GuestLayout-synxfyPB.js";import{_ as x}from"./ApplicationLogo-NZ7k2jdv.js";import{_ as y}from"./InputError-H3v_qTU0.js";import{_ as g}from"./InputLabel-kIOW7zCm.js";import{_ as C}from"./PrimaryButton-nm2-bJVd.js";import{_ as v}from"./TextInput-QqzhSxrA.js";import"./_plugin-vue_export-helper-x3n3nnut.js";const V=a("div",{class:"mb-4 text-sm text-gray-600"}," This is a secure area of the application. Please confirm your password before continuing. ",-1),k={class:"mt-4 flex justify-end"},z={__name:"ConfirmPassword",setup($){const e=m({password:""}),i=()=>{e.post(route("password.confirm"),{onFinish:()=>e.reset()})};return(P,t)=>{const n=c("Link");return d(),f(u,null,[s(o(p),{title:"Confirm Password"}),s(h,null,{default:r(()=>[s(n,{href:"/",class:"mb-4 flex items-center justify-center"},{default:r(()=>[s(x,{class:"h-10 w-10 fill-current text-gray-500"})]),_:1}),V,a("form",{onSubmit:b(i,["prevent"])},[a("div",null,[s(g,{for:"password",value:"Password"}),s(v,{id:"password",type:"password",class:"mt-1 block w-full",modelValue:o(e).password,"onUpdate:modelValue":t[0]||(t[0]=l=>o(e).password=l),required:"",autocomplete:"current-password",autofocus:""},null,8,["modelValue"]),s(y,{class:"mt-2",message:o(e).errors.password},null,8,["message"])]),a("div",k,[s(C,{class:_(["w-full",{"opacity-25":o(e).processing}]),disabled:o(e).processing},{default:r(()=>[w(" Confirm ")]),_:1},8,["class","disabled"])])],32)]),_:1})],64)}}};export{z as default};
