1import{G as f,r as h,a as r,j as e,S as b}from"./app-de874c55.js";import{G as g}from"./GuestLayout-0cdba736.js";import{I as c}from"./input-c01b5075.js";import{L as i}from"./label-1660feba.js";import{B as x}from"./button-497dfebc.js";import"./ThemeButton-e00b02f2.js";import"./react-icons.esm-d4f15552.js";import"./index-4180030f.js";import"./index-4bb9a49c.js";function n({message:t,className:s=""}){return t?e("p",{className:"text-sm text-red-600 "+s,children:t}):null}function G({status:t,canResetPassword:s}){const{data:l,setData:d,post:p,errors:m,reset:u}=f({email:"",password:"",remember:""});h.useEffect(()=>()=>{u("password")},[]);const o=a=>{d(a.target.name,a.target.type==="checkbox"?a.target.checked:a.target.value)};return r(g,{children:[e(b,{title:"ë¡ê·¸ì¸"}),t&&e("div",{className:"mb-4 font-medium text-sm text-green-600",children:t}),r("form",{onSubmit:a=>{a.preventDefault(),p(route("login"))},className:"pb-2",children:[r("div",{children:[e(i,{htmlFor:"email",className:"text-black",children:"Email"}),e(c,{id:"email",type:"email",name:"email",value:l.email,className:"mt-1 block w-full text-black",autoComplete:"username",placeholder:"[email protected]",onChange:o}),e(n,{message:m.email,className:"mt-2"})]}),r("div",{className:"mt-4",children:[e(i,{htmlFor:"password",className:"text-black",children:"PW"}),e(c,{id:"password",type:"password",name:"password",value:l.password,className:"mt-1 block w-full text-black",autoComplete:"current-password",onChange:o}),e(n,{message:m.password,className:"mt-2"})]}),e("div",{className:"flex flex-col items-center justify-center mt-7",children:e(x,{className:"w-full justify-center bg-[#191919] hover:bg-[#191919]/90 dark:bg-[#EF6A00] dark:hover:bg-[#EF6A00]/90",children:"Login"})})]})]})}export{G 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.