1import{c as y,u as F,aa as L,j as t,L as _}from"./app-D65SehBq.js";import{F as M}from"./FormField-Da26M1OK.js";import{M as v}from"./member-auth-layout-BjJl8UD1.js";import{p as C}from"./box-BV5JKl4A.js";import{e as E}from"./link-D75aR3RM.js";import{n as P,u as S}from"./callout-Bz6Bs28f.js";import{o as z}from"./button-DO9jwHO0.js";import{p as D}from"./flex-DWgPC7E1.js";/* empty css */import"./text-DWZWgx6t.js";import"./weight.prop-6mA0sXEb.js";import"./app-layout-AjiEqD7z.js";import"./index-ykQDlluf.js";import"./iconBase-CbdQJn5l.js";import"./index-sSJyGtGR.js";import"./utils-DCzd1eCS.js";import"./use-jp-query-C8VNeY-e.js";import"./index-Vr2z223D.js";import"./require-react-element-CPSWlelU.js";import"./get-subtree-C6vzjbPr.js";import"./card-BsrLINpC.js";import"./grid-B7XMB8Iq.js";import"./index-Cs81XUVJ.js";import"./react-icons.esm-CZP-Wsom.js";import"./heading-BtewR7aX.js";import"./dialog-vXqgyULY.js";import"./icon-button-DYRP8Bno.js";import"./base-button-BOedcCSO.js";import"./radius.prop-CIarg28h.js";import"./scroll-area-B51O2jLh.js";import"./web-push-B__4989-.js";function ue(){const e=y.c(25),{props:w}=F(),p=w?.status||null;let n;e[0]===Symbol.for("react.memo_cache_sentinel")?(n={email:""},e[0]=n):n=e[0];const{data:f,setData:h,post:b,processing:r,errors:x}=L(n);let u;e[1]!==b?(u=k=>{k.preventDefault(),b("/member/forgot-password")},e[1]=b,e[2]=u):u=e[2];const g=u;let c;e[3]===Symbol.for("react.memo_cache_sentinel")?(c=t.jsxs(C,{children:["Ingat password kamu?"," ",t.jsx(E,{color:"blue",asChild:!0,children:t.jsx(_,{href:"/member/login",children:"Login"})})]}),e[3]=c):c=e[3];let i;e[4]!==p?(i=p&&t.jsx(P,{color:"green",size:"1",children:t.jsx(S,{children:p})}),e[4]=p,e[5]=i):i=e[5];let o;e[6]!==h?(o=k=>h("email",k.target.value),e[6]=h,e[7]=o):o=e[7];let m;e[8]!==f.email||e[9]!==x.email||e[10]!==r||e[11]!==o?(m=t.jsx(M,{id:"email",label:"Email",type:"email",value:f.email,onChange:o,error:x.email,placeholder:"",autoComplete:"email",required:!0,disabled:r}),e[8]=f.email,e[9]=x.email,e[10]=r,e[11]=o,e[12]=m):m=e[12];const j=r?"Mengirim...":"Kirim tautan reset";let s;e[13]!==r||e[14]!==j?(s=t.jsx(z,{type:"submit",size:"3",disabled:r,children:j}),e[13]=r,e[14]=j,e[15]=s):s=e[15];let a;e[16]!==m||e[17]!==s?(a=t.jsxs(D,{direction:"column",gap:"3",children:[m,s]}),e[16]=m,e[17]=s,e[18]=a):a=e[18];let l;e[19]!==g||e[20]!==a?(l=t.jsx("form",{onSubmit:g,noValidate:!0,children:a}),e[19]=g,e[20]=a,e[21]=l):l=e[21];let d;return e[22]!==i||e[23]!==l?(d=t.jsxs(v,{title:"Lupa Password",description:"Masukkan email akun kamu. Kami kirim tautan untuk membuat password baru.",footer:c,children:[i,l]}),e[22]=i,e[23]=l,e[24]=d):d=e[24],d}export{ue 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.