PageSourceSearch

https://www.myfreshtools.com/static/js/5921.6a1a460f.chunk.js

js myfreshtools.com collected 2026-09-24 14:16:54 UTC 1,681 bytes, 5 lines download raw bytes

1"use strict";
2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="c40f421f-a7d6-5092-934b-36556a850cd5")}catch(e){}}();
3(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([[5921],{65921:(e,t,s)=>{s.r(t),s.d(t,{default:()=>u});var a=s(65043),o=s(49806),n=s(53969),r=s(55895),l=s(66154),i=s(12097),d=s(86213),c=s(70579);const u=()=>{const[e,t]=(0,a.useState)(""),[s,u]=(0,a.useState)(""),[m,h]=(0,a.useState)("");return(0,c.jsx)(o.A,{maxWidth:"xs",sx:{mt:20,mb:30},children:(0,c.jsxs)(n.A,{component:"form",onSubmit:async t=>{t.preventDefault(),h(""),u("");try{const t=await d.A.post("https://api.myfreshtools.com/auth/forgot-password",{email:e});console.log(t.data.message),u(t.data.message||"Password reset link sent to your email.")}catch(n){var s,a,o;console.error((null===(s=n.response)||void 0===s?void 0:s.data)||n.message),h((null===(a=n.response)||void 0===a||null===(o=a.data)||void 0===o?void 0:o.message)||"Something went wrong.")}},display:"flex",flexDirection:"column",gap:2,children:[(0,c.jsx)(r.A,{variant:"h5",align:"center",children:"Forgot Password?"}),(0,c.jsx)(l.A,{label:"Email",type:"email",fullWidth:!0,value:e,onChange:e=>t(e.target.value),required:!0}),s&&(0,c.jsx)(r.A,{color:"primary",children:s}),m&&(0,c.jsx)(r.A,{color:"error",children:m}),(0,c.jsx)(i.A,{type:"submit",variant:"contained",fullWidth:!0,children:"Send Reset Link"})]})})}}}]);
4//# sourceMappingURL=5921.6a1a460f.chunk.js.map
5//# debugId=c40f421f-a7d6-5092-934b-36556a850cd5

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.