1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9722],{53078:function(e,s,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/bobross/forgot-password",function(){return i(78075)}])},80481:function(e,s,i){"use strict";var o=i(85893);i(67294);let t=i(68777).ZP.form.withConfig({componentId:"sc-5a3342c9-0"})(["display:flex;flex-direction:column;width:100%;"]);s.Z=function(e){let{children:s,...i}=e;return(0,o.jsx)(t,{...i,children:s})}},76537:function(e,s,i){"use strict";var o=i(85893);i(67294),s.Z=function(e){let{children:s,...i}=e;return(0,o.jsx)("div",{className:"auth-form-wrapper",...i,children:s})}},86518:function(e,s,i){"use strict";var o=i(85893),t=i(76537),l=i(80481),n=i(91639),a=i(89755),r=i.n(a),d=i(31028),c=i(11163),u=i(68777);s.Z=function(e){let s=(0,c.useRouter)();return(0,o.jsx)(o.Fragment,{children:(0,o.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,o.jsx)(m,{children:(0,o.jsx)(r(),{src:"//images/bobross-logo.svg",width:150,height:84})}),(null==e?void 0:e.is_docu_soreal)==!0&&(0,o.jsx)(m,{children:(0,o.jsx)(r(),{src:"//images/Docurama_logo_white.svg",width:150,height:84})}),(null==e?void 0:e.is_soreal)==!0&&(0,o.jsx)(m,{children:(0,o.jsx)(r(),{src:"//images/SoReal_logo_white.svg",width:150,height:84})}),(0,o.jsxs)(t.Z,{children:[(0,o.jsx)(l.Z,{className:"auth-form-input-wrapper",style:{marginBottom:20},children:(0,o.jsx)(r(),{src:e.img,alt:"check",width:e.imgwidth?e.imgwidth:150,height:e.imgheight?e.imgheight:150})}),(0,o.jsx)(n.Z,{isTitleColor:null==e?void 0:e.isTitleColor,className:"auth-form-small-head",title:e.msg}),e.islogin&&(0,o.jsx)(d.Z,{btnclr:null==e?void 0:e.btnclr,onClick:()=>{s.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,o.jsx)(d.Z,{btnclr:null==e?void 0:e.btnclr,onClick:()=>{s.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,o.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;}"])},78075:function(e,s,i){"use strict";i.r(s),i.d(s,{__N_SSP:function(){return v}});var o=i(85893),t=i(67294),l=i(76537),n=i(91639),a=i(80481),r=i(71231),d=i(31028),c=i(24091),u=i(32415),m=i(74136),h=i(86518),g=i(45312),p=i(89755),_=i.n(p),f=i(68777),x=i(33299),v=!0;s.default=e=>{let{status:s}=(0,x.useSession)(),i=e.ironLogin;(0,t.useEffect)(()=>{(0,u.Sl)(e);let s=document.getElementById("header-nav"),i=document.getElementById("separatorLine"),o=document.getElementById("footer"),t=document.getElementById("matchpoint_footer"),l=document.getElementById("main-container");return i&&(i.style.display="none"),s&&(s.style.display="none"),o&&t&&(o.style.display="none",t.style.display="none"),l&&(l.style.height="100vh"),()=>{s&&(s.style.display="block"),i&&(i.style.display="block"),o&&(o.style.display="block"),l&&(l.style.height="auto")}},[e]);let[p,f]=(0,t.useState)(e&&e.ironCookie&&e.ironCookie.user&&e.ironCookie.user.email?e.ironCookie.user.email:""),[v,j]=(0,t.useState)(""),[Z,k]=(0,t.useState)(!1),[C,E]=(0,t.useState)(!!i),[I,S]=(0,t.useState)(""),[N,P]=(0,t.useState)(0),T=(e,s,i,o)=>{"email"===e&&(s?/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(s)?(E(!0),S(o)):(S(i),E(!1)):(S("Email is mandatory"),E(!1)))},B=async(e,s)=>{let i=e.replace("__JTV__FORGOT__EMAIL__",p);try{await (0,u.bf)(i,e=>{e&&"success"==e.result?(f(""),k(!0)):(j(e.message),S(e.message))},"",null,!1,s)}catch(e){j(resp.message),S(resp.message)}};return Z?(0,o.jsx)(h.Z,{is_bobross:!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,o.jsx)(o.Fragment,{children:(0,o.jsxs)("div",{className:"auth-page-div_docu_soreal",children:[(0,o.jsx)(b,{children:(0,o.jsx)(_(),{src:"//images/bobross-logo.svg",width:150,height:84})}),(0,o.jsxs)(l.Z,{isDocu_soreal:!0,children:[(0,o.jsx)(y,{children:"Forgot Password"}),(0,o.jsx)(w,{children:(0,o.jsx)(n.Z,{isTitleColor:"#fff",title:"Please enter your registered Email ID"})}),(0,o.jsxs)(a.Z,{className:"auth-form-input-wrapper",onSubmit:i=>{if(i.preventDefault(),C&&""==!p){var o,t;B((0,u.tY)((null==e?void 0:null===(o=e.urls)||void 0===o?void 0:o.bobrossPasswordRequestURL)?null==e?void 0:null===(t=e.urls)||void 0===t?void 0:t.bobrossPasswordRequestURL:""),s)}else T("email",p,"Invalid Email","")},method:"POST",children:[(0,o.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:s}=e,i=(0,m.ic)(s.value);f(i),j(""),T(s.name,i,"Invalid Email","")},style:{marginBottom:"25px",padding:"18px 15px",width:"20rem"}}),I?(0,o.jsx)(c.Z,{children:I}):null,(0,o.jsx)(d.Z,{type:"submit",btnclr:"#ffda15",className:"docu_soreal_form_button_style",children:"Submit"})]})]})]})})};let b=f.ZP.div.withConfig({componentId:"sc-9d03b6b0-0"})(["padding:5px 50px;@media screen and (max-width:600px){padding:5px 20px;}"]),w=f.ZP.div.withConfig({componentId:"sc-9d03b6b0-1"})(["margin-bottom:10px;"]),y=f.ZP.div.withConfig({componentId:"sc-9d03b6b0-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=53078)}),_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.