PageSourceSearch

https://ailikeme.ai/static/1614.a73c390d25c17663f1d9.js

js ailikeme.ai collected 2026-10-05 15:27:55 UTC 3,758 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkmy_webpack_project=self.webpackChunkmy_webpack_project||[]).push([[1614],{83728(e,t,r){var n,a,l=r(39471);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},o.apply(null,arguments)}r.d(t,["A",0,e=>l.createElement("svg",o({xmlns:"http://www.w3.org/2000/svg",width:30,height:30,fill:"none"},e),n||(n=l.createElement("path",{fill:"#000",d:"M3.656 6.22v-.914a.914.914 0 0 0-.914.914zm21.943 0h.915a.914.914 0 0 0-.915-.914zm-21.943.915H25.6V5.306H3.656zm21.029-.915V20.85h1.829V6.22zm-1.524 16.153H6.095V24.2H23.16zm-18.59-1.524V6.22H2.742V20.85zm1.524 1.524a1.524 1.524 0 0 1-1.524-1.524H2.742A3.35 3.35 0 0 0 6.095 24.2zm18.59-1.524c0 .841-.683 1.524-1.524 1.524V24.2a3.35 3.35 0 0 0 3.353-3.352z"})),a||(a=l.createElement("path",{stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.829,d:"m3.656 6.22 10.972 10.972L25.599 6.22"})))])},91614(e,t,r){r.r(t);var n=r(39471),a=r(5185),l=r(17700),o=r(85635),i=r(52600),s=r(73551),u=r(88477),c=r(83728),m=r(45345),d=r(51794);function f(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,a,l,o,i=[],s=!0,u=!1;try{if(l=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=l.call(r)).done)&&(i.push(n.value),i.length!==t);s=!0);}catch(e){u=!0,a=e}finally{try{if(!s&&null!=r.return&&(o=r.return(),Object(o)!==o))return}finally{if(u)throw a}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return h(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?h(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}r.d(t,["default",0,()=>{const e=f((0,n.useState)(""),2),t=e[0],r=e[1],h=f((0,n.useState)(""),2),p=h[0],v=h[1],g=f((0,n.useState)(!1),2),y=g[0],b=g[1],w=f(n.useState(!1),2),E=w[0],A=w[1],S=f((0,n.useState)(""),2),x=S[0],k=S[1];return n.createElement("main",{className:"pt-2 px-4 sm:px-10 md:w-[35%] my-auto md:ml-auto md:h-full flex flex-col"},n.createElement(a.A,{variant:"h5"},"Forgot Password"),n.createElement("form",{onSubmit:async e=>{if(e.preventDefault(),t&&!p)try{var r;b(!0);const e=await(0,d.XC)({email:t});b(!1),k((null==e||null===(r=e.data)||void 0===r?void 0:r.detail)||""),A(!0)}catch(e){b(!1),500===e.response.status&&(k("Something went wrong! Please try again later"),A(!0)),404===e.response.status&&(k("Email doesn't exist"),A(!0)),400===e.response.status&&(k("No user found with this email"),A(!0))}else k("Please enter the Email Id")},className:"flex-1 flex flex-col"},n.createElement(l.A,{placeholder:"Email",fullWidth:!0,value:t,onChange:e=>(e=>{r(e.target.value),e.target.value?s.EMAIL_REGEX.test(e.target.value)?v(""):v("Invalid email format"):v("Email is required")})(e),margin:"normal",error:!!p,helperText:p,InputProps:{endAdornment:n.createElement(o.A,{position:"end"},n.createElement(i.A,null,n.createElement("img",{src:c.A,width:20,height:20})))}}),n.createElement("div",{className:"mt-8 mb-4"},n.createElement(u.$n,{type:"submit",htmlType:"submit",variant:"contained",label:"Reset Password",loading:y}))),n.createElement(m.A,{anchorOrigin:{vertical:"top",horizontal:"center"},open:E,onClose:()=>{A(!1)},message:x,autoHideDuration:3e3}))}])}}]);

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.