1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2493],{37635:function(e,i,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/docurama/forgot-password",function(){return s(95256)}])},80481:function(e,i,s){"use strict";var t=s(85893);s(67294);let l=s(68777).ZP.form.withConfig({componentId:"sc-5a3342c9-0"})(["display:flex;flex-direction:column;width:100%;"]);i.Z=function(e){let{children:i,...s}=e;return(0,t.jsx)(l,{...s,children:i})}},76537:function(e,i,s){"use strict";var t=s(85893);s(67294),i.Z=function(e){let{children:i,...s}=e;return(0,t.jsx)("div",{className:"auth-form-wrapper",...s,children:i})}},86518:function(e,i,s){"use strict";var t=s(85893),l=s(76537),o=s(80481),n=s(91639),a=s(89755),r=s.n(a),d=s(31028),c=s(11163),u=s(68777);i.Z=function(e){let i=(0,c.useRouter)();return(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)("div",{className:"".concat((null==e?void 0:e.is_docu_soreal)==!0||(null==e?void 0:e.is_soreal)==!0||(null==e?void 0:e.is_bobross)==!0?"auth-page-div_docu_soreal":"auth-page-div"),children:[(null==e?void 0:e.is_bobross)==!0&&(0,t.jsx)(m,{children:(0,t.jsx)(r(),{src:"//images/bobross-logo.svg",width:150,height:84})}),(null==e?void 0:e.is_docu_soreal)==!0&&(0,t.jsx)(m,{children:(0,t.jsx)(r(),{src:"//images/Docurama_logo_white.svg",width:150,height:84})}),(null==e?void 0:e.is_soreal)==!0&&(0,t.jsx)(m,{children:(0,t.jsx)(r(),{src:"//images/SoReal_logo_white.svg",width:150,height:84})}),(0,t.jsxs)(l.Z,{children:[(0,t.jsx)(o.Z,{className:"auth-form-input-wrapper",style:{marginBottom:20},children:(0,t.jsx)(r(),{src:e.img,alt:"check",width:e.imgwidth?e.imgwidth:150,height:e.imgheight?e.imgheight:150})}),(0,t.jsx)(n.Z,{isTitleColor:null==e?void 0:e.isTitleColor,className:"auth-form-small-head",title:e.msg}),e.islogin&&(0,t.jsx)(d.Z,{btnclr:null==e?void 0:e.btnclr,onClick:()=>{i.push({pathname:"/login"})},children:"Sign In"}),!(null==e?void 0:e.is_docu_soreal)&&!(null==e?void 0:e.is_soreal)&&!e.is_bobross&&e.fpassprofile&&(0,t.jsx)(d.Z,{btnclr:null==e?void 0:e.btnclr,onClick:()=>{i.push({pathname:"/login"})},children:"Go to sign in page"}),((null==e?void 0:e.is_docu_soreal)||(null==e?void 0:e.is_soreal)||(null==e?void 0:e.is_bobross))&&(0,t.jsx)(d.Z,{style:{width:"8rem"},btnclr:null==e?void 0:e.btnclr,onClick:()=>window.location.reload(),className:"docu_soreal_form_button_style",children:"Okay"})]})]})})};let m=u.ZP.div.withConfig({componentId:"sc-161a00be-0"})(["padding:5px 50px;@media screen and (max-width:600px){padding:5px 20px;}"])},95256:function(e,i,s){"use strict";s.r(i),s.d(i,{__N_SSP:function(){return v}});var t=s(85893),l=s(67294),o=s(76537),n=s(91639),a=s(80481),r=s(71231),d=s(31028),c=s(24091),u=s(33299),m=s(32415),h=s(86518),g=s(45312),p=s(89755),_=s.n(p),f=s(68777),v=!0;i.default=e=>{let{status:i}=(0,u.useSession)(),s=e.ironLogin;(0,l.useEffect)(()=>{(0,m.Sl)(e);let i=document.getElementById("header-nav"),s=document.getElementById("separatorLine"),t=document.getElementById("footer"),l=document.getElementById("matchpoint_footer"),o=document.getElementById("main-container");return s&&(s.style.display="none"),i&&(i.style.display="none"),t&&l&&(t.style.display="none",l.style.display="none"),o&&(o.style.height="100vh"),()=>{i&&(i.style.display="block"),s&&(s.style.display="block"),t&&(t.style.display="block"),o&&(o.style.height="auto")}},[e]);let[p,f]=(0,l.useState)(e&&e.ironCookie&&e.ironCookie.user&&e.ironCookie.user.email?e.ironCookie.user.email:""),[v,b]=(0,l.useState)(""),[j,Z]=(0,l.useState)(!1),[k,C]=(0,l.useState)(!!s),[E,I]=(0,l.useState)(""),[S,N]=(0,l.useState)(0),P=(e,i,s,t)=>{"email"===e&&(i?/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(i)?(C(!0),I(t)):(I(s),C(!1)):(I("Email is mandatory"),C(!1)))},T=async e=>{let s=e.replace("__JTV__FORGOT__EMAIL__",p);try{await (0,m.bf)(s,e=>{e&&"success"==e.result?(f(""),Z(!0)):b(e.message)},"",null,!1,i)}catch(e){b(resp.message)}};return j?(0,t.jsx)(h.Z,{is_docu_soreal:!0,isTitleColor:"#fff",btnclr:"#ffda15",img:g.isDove?"//images/dove_task_alt_white_48dp.svg":"//images/task_alt_white_48dp.svg",msg:"Email sent successfully, please check your Inbox",fpassprofile:!1}):(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)("div",{className:"auth-page-div_docu_soreal",children:[(0,t.jsx)(x,{children:(0,t.jsx)(_(),{src:"//images/Docurama_logo_white.svg",width:150,height:84})}),(0,t.jsxs)(o.Z,{isDocu_soreal:!0,children:[(0,t.jsx)(y,{children:"Forgot Password"}),(0,t.jsx)(w,{children:(0,t.jsx)(n.Z,{isTitleColor:"#fff",title:"Please enter your registered Email ID"})}),(0,t.jsxs)(a.Z,{className:"auth-form-input-wrapper",onSubmit:i=>{if(i.preventDefault(),k&&""==!p){var s,t;T((0,m.tY)((null==e?void 0:null===(s=e.urls)||void 0===s?void 0:s.docuramaPasswordRequestURL)?null==e?void 0:null===(t=e.urls)||void 0===t?void 0:t.docuramaPasswordRequestURL:""))}else P("email",p,"Invalid Email","")},method:"POST",children:[(0,t.jsx)(r.Z,{isDocu_soreal_color:"#fff",n
1ame:"email",type:"text",placeholder:"Email Address",value:p,disabled:e.ironLogin&&!0,onChange:e=>{let{target:i}=e;f(i.value),b(""),P(i.name,i.value,"Invalid Email","")},style:{marginBottom:"25px",padding:"18px 15px",width:"20rem"}}),E?(0,t.jsx)(c.Z,{children:E}):null,(0,t.jsx)(d.Z,{type:"submit",btnclr:"#ffda15",className:"docu_soreal_form_button_style",children:"Submit"})]})]})]})})};let x=f.ZP.div.withConfig({componentId:"sc-ca816c7e-0"})(["padding:5px 50px;@media screen and (max-width:600px){padding:5px 20px;}"]),w=f.ZP.div.withConfig({componentId:"sc-ca816c7e-1"})(["margin-bottom:10px;"]),y=f.ZP.div.withConfig({componentId:"sc-ca816c7e-2"})(["font-size:30px;font-weight:600;line-height:1.2;margin-bottom:20px;color:#fff;"])}},function(e){e.O(0,[2888,9774,179],function(){return e(e.s=37635)}),_N_E=e.O()}]);
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.