PageSourceSearch

https://hsl.co.in/build/assets/ForgotPassword-D6qyNgN3.js

js hsl.co.in collected 2026-10-09 22:40:29 UTC 3,307 bytes, 1 lines download raw bytes

1import{G as n,j as e,S as d}from"./app-Mnt2IEGe.js";import{G as c}from"./GuestLayout-BYnLiqFZ.js";import{T as x,I as p}from"./TextInput-DZZVw8So.js";import{P as u}from"./PrimaryButton-CuAryFCM.js";import{M as h}from"./mail-Ce-sk81h.js";import"./ApplicationLogo-JvKRx6b1.js";import"./x-B1Pn9Kmg.js";import"./message-circle-D4MbkUVn.js";import"./phone-DSAsYLtt.js";import"./chevron-down-BlAiga6f.js";import"./user-ad0RTXxq.js";import"./package-CT4joqbC.js";import"./map-pin-BuVEKMGp.js";import"./truck-CpGakV_6.js";import"./shopping-cart-DokKNEt4.js";import"./search-BeXkNHdv.js";import"./clock-Dnho5FNh.js";import"./shield-Da3uiB5y.js";function M({status:s}){const{data:a,setData:l,post:o,processing:t,errors:i}=n({email:""}),m=r=>{r.preventDefault(),o(route("password.email"))};return e.jsxs(c,{children:[e.jsx(d,{title:"Forgot Password"}),e.jsxs("div",{className:"min-h-[60vh] grid lg:grid-cols-2 gap-8 items-center",children:[e.jsxs("div",{className:"hidden lg:block",children:[e.jsx("h2",{className:"text-3xl font-bold text-gray-900 mb-4",children:"Reset your password"}),e.jsx("p",{className:"text-gray-600",children:"Enter your email and we’ll send you a link to reset your password."})]}),e.jsxs("div",{className:"max-w-md w-full mx-auto",children:[s&&e.jsx("div",{className:"mb-4 font-medium text-sm text-green-600",children:s}),e.jsxs("div",{className:"bg-white border-2 border-gray-100 rounded-2xl shadow-lg p-8",children:[e.jsx("h1",{className:"text-2xl font-bold text-gray-900 mb-2",children:"Forgot Password?"}),e.jsx("p",{className:"text-sm text-gray-600 mb-8",children:"No worries, we'll send you reset instructions"}),e.jsxs("form",{onSubmit:m,className:"space-y-6",children:[e.jsxs("div",{children:[e.jsx(InputLabel,{htmlFor:"email",value:"Email address",className:"text-gray-700"}),e.jsxs("div",{className:"mt-2 relative",children:[e.jsx(h,{className:"w-5 h-5 text-gray-400 absolute left-3 top-2.5"}),e.jsx(x,{id:"email",type:"email",name:"email",value:a.email,className:"pl-10 mt-0 block w-full border-gray-300 focus:border-primary focus:ring-blue-500 rounded-xl shadow-sm",isFocused:!0,onChange:r=>l("email",r.target.value),placeholder:"Enter your email"})]}),e.jsx(p,{message:i.email,className:"mt-2"})]}),e.jsx("div",{className:"pt-2",children:e.jsx(u,{className:"w-full justify-center py-3 bg-gradient-to-r from-primary to-primary hover:from-primary hover:to-primary rounded-xl transition-all duration-200",disabled:t,children:t?e.jsxs("span",{className:"flex items-center justify-center",children:[e.jsxs("svg",{className:"animate-spin -ml-1 mr-3 h-5 w-5 text-white",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[e.jsx("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),e.jsx("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]}),"Sending..."]}):"Send reset link"})})]}),e.jsx("div",{className:"mt-8 text-center",children:e.jsx(Link,{href:route("login"),className:"text-sm text-gray-600 hover:text-gray-900 transition-colors duration-200",children:e.jsx("span",{className:"text-primary hover:text-blue-700 hover:underline",children:"Back to login"})})})]})]})]})]})}export{M 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.