1import{u,a as n,j as e}from"./reactapp-CaJ7rnto.js";import{A as d,b as p,a as c,C as j,P as g}from"./AuthLayout-Bz5R7LH7.js";import{L as t}from"./LedgerField-BVOgpiKD.js";import"./bootstrap-hkV09-sn.js";/* empty css */import"./ApplicationMark-bP7W1VDo.js";function F({canResetPassword:i,email:l,inviteContext:a=null}){const{t:r}=u(),{errors:o={},flash:s}=n().props,m=l||(a==null?void 0:a.email)||"";return e.jsxs(d,{title:r("Log in"),heading:r("Welcome back"),subline:a?`${r("You've been invited to join :team.",{team:a.team})} ${r("Sign in to accept the invitation.")}`:void 0,children:[e.jsx(p,{status:s==null?void 0:s.status,info:s==null?void 0:s.info,error:s==null?void 0:s.error}),e.jsxs(c,{action:"/login",children:[e.jsx(j,{}),e.jsx(t,{id:"email",label:r("Email"),error:o.email,children:e.jsx("input",{type:"email",name:"email",className:"ledger-input",defaultValue:m,required:!0,autoFocus:!0,autoComplete:"username"})}),e.jsx(t,{id:"password",label:r("Password"),error:o.password,children:e.jsx("input",{type:"password",name:"password",className:"ledger-input",required:!0,autoComplete:"current-password"})}),e.jsxs("div",{className:"-mt-1 mb-[18px] flex items-center justify-between gap-3 text-sm",children:[e.jsxs("label",{className:"ledger-check",htmlFor:"remember_me",children:[e.jsx("input",{id:"remember_me",type:"checkbox",name:"remember",defaultChecked:!0}),r("Keep me signed in")]}),i?e.jsx("a",{className:"ledger-link",href:"/forgot-password",children:r("Forgot your password?")}):null]}),e.jsx("button",{type:"submit",className:g,children:r("Log in")})]})]})}export{F 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.