PageSourceSearch

https://sipendi.id/build/assets/ForgotPassword-Sa3dWaU5.js

js sipendi.id collected 2026-10-08 04:34:57 UTC 3,935 bytes, 17 lines download raw bytes

1import{W as u,r as h,j as e,a as g,d as r}from"./app-BoW9ZmlJ.js";import{I as m}from"./InputError-BN2eENsp.js";import{R as f}from"./recaptcha-wrapper-B9ur-6lc.js";import"./index-BAdHJdRM.js";import"./index-Chjiymov.js";const y=({status:s,captcha_sitekey:d})=>{const{data:c,setData:t,post:o,processing:j,errors:i}=u({email:"",recaptcha_token:""}),[l,n]=h.useState(!1),x=a=>{t("recaptcha_token",a)},p=a=>{if(a.preventDefault(),!c.recaptcha_token){alert("Please complete the reCAPTCHA.");return}n(!0),setTimeout(()=>{n(!1)},3e3),o(route("password.email"))};return e.jsxs(e.Fragment,{children:[e.jsx(g,{title:"Lupa Kata Sandi"}),e.jsx("div",{className:"min-h-screen bg-white",children:e.jsx("div",{className:"mx-auto max-w-7xl px-4 sm:px-6 lg:px-8",children:e.jsx("div",{className:"mx-auto max-w-3xl",children:e.jsxs("div",{className:"grid md:grid-cols-2 md:gap-6 md:place-content-center md:min-h-screen",children:[e.jsx("div",{className:"w-full p-5",children:e.jsx(r,{href:"/",children:e.jsx("img",{className:"w-auto mt-10",src:"/img/site/sipaud-logo-3.webp",alt:"Kurikulum Merdeka Logo"})})}),e.jsx("div",{className:"w-full bg-white rounded-lg p-5 shadow-md",children:e.jsxs("div",{children:[e.jsx("p",{className:"text-center font-BalooBhaina text-2xl",children:"Lupa Kata Sandi?"}),s&&e.jsx("div",{className:"mb-4 font-medium text-sm text-green-600",children:s}),e.jsxs("form",{onSubmit:p,children:[e.jsxs("div",{className:"col-span-full mt-10",children:[e.jsx("div",{className:"font-livic text-sm p-5 bg-[#D1ECF1] mb-3 rounded-lg text-sipaud-blue-900",children:"Anda dapat mengatur ulang kata sandi apabila Anda lupa, kami akan mengirimkan tautan untuk mengatur ulang kata sandi ke email anda."}),e.jsxs("label",{htmlFor:"email",className:"block text-sm md:text-base font-medium leading-6 text-gray-900 font-livic",children:["Email akun SIPENDI ",e.jsx("span",{className:"text-red-600",children:"*"})]}),e.jsxs("div",{className:"mt-2",children:[e.jsx("input",{type:"email",name:"email",id:"email",required:!0,autoComplete:"email",onChange:a=>t("email",a.target.value),className:"input input-bordered w-full"}),e.jsx(m,{message:i.email,className:"mt-2"})]})]}),e.jsxs("div",{className:"mt-5",children:[e.jsx(f,{sitekey:d,onChange:x}),e.jsx(m,{message:i.recaptcha_token,className:"mt-2"})]}),e.jsx("div",{className:"mt-5",children:e.jsx("button",{type:"submit",disabled:l,className:"rounded-3xl w-full bg-[#ff6b00] px-3 py-2 text-sm md:text-base font-semibold text-white shadow-sm hover:bg-[#184284] focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-yellow-600 font-livic",children:l?e.jsxs("span",{children:[e.jsx("span",{className:"spinner"}),"Memeriksa..."]}):"Submit"})})]}),e.jsx("style",{children:`
2                        .spinner {
3                            margin-right: 10px;
4                            border: 2px solid rgba(255, 255, 255, 0.3);
5                            border-top: 2px solid white;
6                            border-radius: 50%;
7                            width: 14px;
8                            height: 14px;
9                            animation: spin 1s linear infinite;
10                            display: inline-block;
11                        }
12
13                        @keyframes spin {
14                            0% { transform: rotate(0deg); }
15                            100% { transform: rotate(360deg); }
16                        }
17                    `}),e.jsx("div",{className:"text-center border-b-2 p-3"}),e.jsxs("div",{className:"p-3 text-center",children:[e.jsx("p",{className:"text-sm font-livic",children:"Sudah ingat kata sandi?"}),e.jsx(r,{href:"/login",className:"text-sm font-livic text-sipaud-blue-900",children:"Silahkan login disini"})]})]})}),e.jsxs("div",{className:"md:col-span-2 text-sm text-center font-livic mt-5 md:mt-10",children:["©2024-",new Date().getFullYear()," SIPENDI"]})]})})})})]})};export{y 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.