1import{j as s}from"./app-C1iegf7Q.js";import{H as u,F as w}from"./inertia-BpyZy4w-.js";import{I as a}from"./input-error-DbopxwIP.js";import{B as f}from"./button-BE4q1_FS.js";import{I as x}from"./input-DJt0nBB3.js";import{L as m}from"./label-Czc25Mye.js";import{P as p}from"./password-input-DbRinonY.js";import{S as j}from"./spinner-DESk7nuH.js";import{A as h}from"./auth-layout-BPpQUs1y.js";import{u as g}from"./index-BmC_c-Am.js";/* empty css */import"./utils-BiuKVCuu.js";import"./index-CGXdj8xB.js";import"./index-DdRFMukF.js";import"./eye-off-MvQ-AuyG.js";import"./createLucideIcon-wqc1LSWg.js";import"./eye-DoZffUO5.js";import"./loader-circle-C_KBZAGS.js";/* empty css */import"./app-logo-Dz0wogSq.js";import"./logo-light-DU4bWymm.js";import"./site-announcement-fVSM8f3a.js";import"./use-funnel-tracking-DZvQDmiU.js";import"./x-DQSeRCcH.js";import"./index-C_SHgnPd.js";import"./index-BMKB-lBE.js";function T({token:d,email:t,action:e,title:i="Reset password",description:l="Please enter your new password below",submitLabel:n="Reset password"}){const c=e?{action:e,method:"post"}:g.form();return s.jsxs(h,{title:i,description:l,children:[s.jsx(u,{title:i}),s.jsx(w,{...c,transform:r=>({...r,token:d,email:t}),resetOnSuccess:["password","password_confirmation"],children:({processing:r,errors:o})=>s.jsxs("div",{className:"grid gap-6",children:[s.jsxs("div",{className:"grid gap-2",children:[s.jsx(m,{htmlFor:"email",children:"Email"}),s.jsx(x,{id:"email",type:"email",name:"email",autoComplete:"email",value:t,className:"mt-1 block w-full",readOnly:!0}),s.jsx(a,{message:o.email,className:"mt-2"})]}),s.jsxs("div",{className:"grid gap-2",children:[s.jsx(m,{htmlFor:"password",children:"Password"}),s.jsx(p,{id:"password",name:"password",autoComplete:"new-password",autoFocus:!0,placeholder:"Password"}),s.jsx(a,{message:o.password})]}),s.jsxs("div",{className:"grid gap-2",children:[s.jsx(m,{htmlFor:"password_confirmation",children:"Confirm password"}),s.jsx(p,{id:"password_confirmation",name:"password_confirmation",autoComplete:"new-password",placeholder:"Confirm password"}),s.jsx(a,{message:o.password_confirmation,className:"mt-2"})]}),s.jsxs(f,{type:"submit",className:"mt-4 w-full",disabled:r,"data-test":"reset-password-button",children:[r&&s.jsx(j,{}),n]})]})})]})}export{T as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.