import{c as t,j as s,F as a,H as i}from"./app-BiexncSX.js";import{I as m}from"./input-error-BizLhD6E.js";import{B as p}from"./button-Cwvd_D5X.js";import{I as n}from"./input-C7geQw3H.js";import{L as c}from"./label-BACPLsln.js";import{S as d}from"./spinner-BshPoFqP.js";import{A as l}from"./auth-layout-c0K9oGz2.js";import{s as f}from"./index-mwCShWhl.js";/* empty css            */import"./utils-DvRnx1Xn.js";import"./index-Dql7-O7m.js";import"./index-BLf-KPWz.js";import"./loader-circle-C36m3ppM.js";import"./createLucideIcon-CiyItOCI.js";import"./index-DDBh_SM-.js";function E(){const r=t.c(2);let o;r[0]===Symbol.for("react.memo_cache_sentinel")?(o=s.jsx(i,{title:"Confirm password"}),r[0]=o):o=r[0];let e;return r[1]===Symbol.for("react.memo_cache_sentinel")?(e=s.jsxs(l,{title:"Confirm your password",description:"This is a secure area of the application. Please confirm your password before continuing.",children:[o,s.jsx(a,{...f.form(),resetOnSuccess:["password"],children:u})]}),r[1]=e):e=r[1],e}function u(r){const{processing:o,errors:e}=r;return s.jsxs("div",{className:"space-y-6",children:[s.jsxs("div",{className:"grid gap-2",children:[s.jsx(c,{htmlFor:"password",children:"Password"}),s.jsx(n,{id:"password",type:"password",name:"password",placeholder:"Password",autoComplete:"current-password",autoFocus:!0}),s.jsx(m,{message:e.password})]}),s.jsx("div",{className:"flex items-center",children:s.jsxs(p,{className:"w-full",disabled:o,"data-test":"confirm-password-button",children:[o&&s.jsx(d,{}),"Confirm password"]})})]})}export{E as default};
