PageSourceSearch

https://js-static.iimjobs.com/production/21.4.0/_next/static/chunks/984-65442a7c1d7e8aad.js

js iimjobs.com collected 2026-09-24 11:17:04 UTC 52,316 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[984,7924],{47924:function(e,t,n){n.d(t,{P:function(){return f}});var i,o,r,a,s,l=n(81862),c=n(5163),u=n(67015),d=(0,u.Z)("".concat("https://gladiator.iimjobs.com","/").concat("media")),p=(0,u.Z)("".concat("https://gladiator.iimjobs.com","/ext/").concat("media")),f={uploadRoundZeroAudioVideo:(i=(0,l._)(function(e){var t,n,i,o,r;return(0,c.Jh)(this,function(a){switch(a.label){case 0:t=e.blob,i=void 0===(n=e.mediaType)?"RoundZeroVideo":n,a.label=1;case 1:return a.trys.push([1,3,,4]),o=new FormData,r="RoundZeroVideo"==i?"mp4":"mp3","RoundZeroVideo"==i&&(t=new Blob([t],{type:"video/mp4"})),o.append("mediaType",i),o.append("file",t,"somefile.".concat(r)),[4,d.post("/files",o,{headers:{"Content-Type":"multipart/form-data"}})];case 2:return[2,a.sent().data];case 3:throw a.sent();case 4:return[2]}})}),function(e){return i.apply(this,arguments)}),deleteRoundZeroAudioVideo:(o=(0,l._)(function(){var e,t,n=arguments;return(0,c.Jh)(this,function(i){switch(i.label){case 0:e=n.length>0&&void 0!==n[0]?n[0]:"RoundZeroVideo",i.label=1;case 1:return i.trys.push([1,3,,4]),(t=new URLSearchParams).append("mediaType",e),[4,d.post("/remove",t,{headers:{"content-type":"application/x-www-form-urlencoded"}})];case 2:return[2,i.sent().data];case 3:throw i.sent();case 4:return[2]}})}),function(){return o.apply(this,arguments)}),uploadFile:(r=(0,l._)(function(e){return(0,c.Jh)(this,function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),[4,d.post("/files",e,{headers:{"Content-Type":"multipart/form-data"}})];case 1:return[2,t.sent().data];case 2:throw t.sent();case 3:return[2]}})}),function(e){return r.apply(this,arguments)}),getFile:(a=(0,l._)(function(e){var t,n;return(0,c.Jh)(this,function(i){switch(i.label){case 0:return i.trys.push([0,2,,3]),[4,d.get("/files?mediaTypes=".concat(null!==(n=null===(t=e)||void 0===t?void 0:t.join(","))&&void 0!==n?n:""))];case 1:return[2,i.sent().data];case 2:throw i.sent();case 3:return[2]}})}),function(e){return a.apply(this,arguments)}),uploadSocialPic:(s=(0,l._)(function(e,t){return(0,c.Jh)(this,function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,p.post("/upload",e,t)];case 1:return[2,n.sent().data];case 2:throw n.sent();case 3:return[2]}})}),function(e,t){return s.apply(this,arguments)})};t.Z=f},98881:function(e,t,n){var i=n(89290),o=n(52322),r=n(2784),a=n(90419),s=n(89520),l=n(88646);t.Z=function(e){var t=e.onAccountNotFound,n=e.onError,c=(0,i._)((0,r.useState)(!1),2),u=c[0],d=c[1],p=(0,l.YN)("sm");return(0,o.jsx)(o.Fragment,{children:(0,o.jsx)(a.Z,{onClick:function(){(0,s.VP)(function(){try{var e,i="com.highorbit.iimjobs.auth";if(!i)throw Error("Apple login not configured");var o="".concat(window.location.origin,"/auth/apple/callback"),r=window.location.pathname+window.location.search,a=new URLSearchParams({client_id:i,redirect_uri:o,response_type:"code",response_mode:"form_post",scope:"name email",state:r}),l="https://appleid.apple.com/auth/authorize?".concat(a.toString());if(!p){window.location.href=l;return}var c=function(){clearInterval(e),window.removeEventListener("message",u)},u=function(e){if(e.origin===window.location.origin){var i,o,r=e.data||{},a=r.type,l=r.nextUrl;"APPLE_LOGIN_SUCCESS"===a?(c(),d(!1),(0,s.Yo)(l,"_self")):"APPLE_LOGIN_FAILURE"===a&&(c(),d(!1),(null===(i=e.data)||void 0===i?void 0:i.errorCode)==="ACCOUNT_NOT_FOUND"?null==t||t():null==n||n(null===(o=e.data)||void 0===o?void 0:o.errorMessage))}};d(!0),window.addEventListener("message",u);var f=window.open(l,"appleLogin","width=500,height=600");e=setInterval(function(){(null==f?void 0:f.closed)&&(c(),d(!1))},500)}catch(e){d(!1)}})},disabled:u,sx:{px:"20px",py:"10px",lineHeight:"24px",width:"100%",height:"40px",fontSize:"16px",fontWeight:600,borderRadius:"24px",display:"flex",alignItems:"center",gap:"10px",border:1.5,mt:"12px"}})})}},984:function(e,t,n){var i=n(81862),o=n(87612),r=n(85333),a=n(6692),s=n(89290),l=n(5163),c=n(52322),u=n(65992),d=n(73597),p=n(45596),f=n(80982),m=n(62197),h=n(81066),g=n(35469),x=n(85801),v=n(69089),y=n(41075),b=n(99491),w=n(35196),S=n(2784),j=n(47924),k=n(85915),_=n(63397),C=n(59083),Z=n(62471),P=n(193
108),R=n(17057),T=n(91187),F=n(27412),L=n(94449),A=n(3176),E=n(89520),I=n(58402),z=n(88646),V=n(83050),D=n(52566),N=n(27227),W=n(91746),O=n(5632),U=n(38885),B=n(42732),J=n(23119),H=n(74749),M=n(98881),Y=n(42898),G={email:1,password:1,terms_and_policy:1},q=function(e){return function(t,n,i,o,r,a){var s;(0,C.T$)({actionType:t,regStep:e,field_name:n,field_value:i,field_value_source:null!=a?a:"user filled",required:null!==(s=G[n])&&void 0!==s?s:0,isValid:o,validation_error:r})}},$=q("reg_step_sign_in"),Q=q("reg_step_sign_up"),X=q("reg_step_forgot_password"),K=(0,u.ZP)(d.Z)(function(e){return e.theme,{position:"relative",height:"100vh",width:"100%",padding:"310px 0"}}),ee=(0,u.ZP)(d.Z)(function(e){return e.theme,{position:"absolute",top:55,left:70,"& img":{height:40,filter:"brightness(10)"}}}),et=(0,u.ZP)(p.Z)(function(e){var t=e.theme;return{"& .MuiOutlinedInput-root":{"& fieldset":{border:"2px solid #e6e6e6"},"&:hover fieldset":{border:"2px solid #e6e6e6"},"&.Mui-focused fieldset":{border:"2px solid #e6e6e6"}},"& .MuiOutlinedInput-input":(0,o._)({paddingTop:"19px",paddingBottom:"19px",paddingLeft:"15px",paddingRight:"15px"},t.breakpoints.up("md"),{paddingTop:"clamp(10px, 1.8vh, 19px)",paddingBottom:"clamp(10px, 1.8vh, 19px)"})}}),en=(0,u.ZP)(p.Z)(function(e){var t,n=e.theme;
1return t={width:42,height:50},(0,o._)(t,n.breakpoints.up("sm"),{width:50,height:58}),(0,o._)(t,n.breakpoints.up("md"),{width:54,height:62}),(0,o._)(t,"& .MuiOutlinedInput-root",{height:"100%",borderRadius:"8px","& fieldset":{border:"2px solid #e6e6e6"},"&:hover fieldset":{border:"2px solid #e6e6e6"},"&.Mui-focused fieldset":{border:"2px solid ".concat(n.palette.primary.main)}}),(0,o._)(t,"& .MuiOutlinedInput-input",{height:"100%",padding:0,textAlign:"center",fontSize:"22px",fontWeight:600,fontFamily:"Nunito Sans",color:"#1c1c1c"}),t}),ei=(0,u.ZP)(d.Z)(function(e){var t=e.theme;return(0,o._)({position:"absolute",top:"50%",transform:"translateY(-50%)",textAlign:"center",fontSize:25,fontWeight:800,lineHeight:1.29,color:"#fff",padding:"0px 53px","& p":{fontWeight:"normal",lineHeight:1.69,fontSize:16}},t.breakpoints.down("lg"),{padding:"0px 21px",position:"relative",top:"auto"})}),eo=(0,u.ZP)(f.Z)(function(){return{color:"#eb1c2a",marginTop:"-1px",fontSize:"14px",fontFamily:"Nunito Sans"}}),er=(0,u.ZP)(d.Z)(function(e){return e.theme,{position:"absolute",bottom:30,width:"100%","& p":{fontSize:16,fontWeight:"normal",color:"#fff",lineHeight:1.69},"& img":{margin:"0 10px",height:40}}});t.Z=function(e){var t,n,o,u,p,f,G,q,ea,es,el,ec,eu,ed,ep,ef,em,eh,eg,ex,ev,ey,eb=(0,S.useRef)(null),ew=(0,S.useRef)([]),eS=(0,s._)((0,S.useState)(!1),2),ej=eS[0],ek=eS[1],e_=(0,s._)((0,S.useState)(!1),2),eC=e_[0],eZ=e_[1],eP=(0,s._)((0,S.useState)(!1),2),eR=(eP[0],eP[1]),eT=(0,s._)((0,S.useState)(!1),2),eF=eT[0],eL=eT[1],eA=(0,s._)((0,S.useState)(!1),2),eE=(eA[0],eA[1]),eI=(0,s._)((0,S.useState)(!1),2),ez=(eI[0],eI[1]),eV=(0,s._)((0,S.useState)(),2),eD=eV[0];eV[1];var eN=(0,N.Z)(),eW=(0,O.useRouter)(),eO=(0,E.pM)()||{},eU=null===(eh=eW.asPath)||void 0===eh?void 0:eh.match(/-(\d+)(?:[/?#]|$)/),eB=eU?eU[1]:"",eJ=(null===(eg=eW.asPath)||void 0===eg?void 0:eg.includes("talent-bridge"))||(null===(ex=eW.pathname)||void 0===ex?void 0:ex.includes("talent-bridge"))?"reg_talentbridge":"reg_profile",eH=(0,s._)((0,S.useState)(!1),2),eM=eH[0],eY=eH[1],eG=new URLSearchParams(eO),eq=(0,s._)((0,z.UW)(!0),2),e$=eq[0],eQ=eq[1],eX=(0,z.Um)(),eK=(t=(0,i._)(function(e){var t;return(0,l.Jh)(this,function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),e.append("mediaType","TextResume"),[4,j.Z.uploadFile(e)];case 1:if(null===(t=n.sent())||void 0===t?void 0:t.url)return eE(!0),[2,!0];return[2,!1];case 2:return console.error(n.sent()),[2,!1];case 3:return[2]}})}),function(e){return t.apply(this,arguments)}),e0=(0,s._)((0,S.useState)({}),2),e1=e0[0],e2=e0[1],e3=(0,s._)((0,S.useState)(!1),2),e4=e3[0],e6=e3[1],e5=(0,_.TA)({initialValues:{email:"",password:"",reCaptchaCode:""},validationSchema:T.nv,onSubmit:(n=(0,i._)(function(e){return(0,l.Jh)(this,function(t){switch(t.label){case 0:return e2({}),eL(!0),[4,tU(e.email,e.password,e.reCaptchaCode)];case 1:return t.sent(),[2]}})}),function(e){return n.apply(this,arguments)})}),e9=(0,_.TA)({initialValues:{email:"",password:""},validationSchema:T.mB,onSubmit:(o=(0,i._)(function(t){var n,i,o,s,c,u,d,p,f,m,h,g,x,v,y,b;return(0,l.Jh)(this,function(l){switch(l.label){case 0:return e2({}),eL(!0),[4,tB(null===(n=t.email)||void 0===n?void 0:n.trim(),null===(i=t.password)||void 0===i?void 0:i.trim(),null===(o=t.password)||void 0===o?void 0:o.trim(),!0)];case 1:if(d=l.sent(),p=(0,E.s$)().refText,(0,C.mG)("jsActionRegister",(0,a._)((0,r._)({event_category:"jsHomePage",Source:"register",Ref:"".concat(p),Device:sessionStorage.getItem("device")||"desktop",Device_Type:sessionStorage.getItem("deviceType")||"web"},eB&&{content_type:"product",content_id:[eB]}),{country:"in",em:(t.email||"").toLowerCase(),fbc:eO.fbclid||"",fbp:(0,w.getCookie)("_fbp")||"",external_id:(null===(s=d)||void 0===s?void 0:s.userId)?String(d.userId):"",source:eJ})),ne("jsActionRegisterClick","click",(null===(c=d)||void 0===c?void 0:c.valid)?"signupSuccess":"signupFailure",null===(u=d)||void 0===u?void 0:u.userId),!d)return[3,7];if(e.onSuccessFulRegister&&e.onSuccessFulRegister(),localStorage.removeItem("parsed-resume-content"),!eD)return[3,6];return(h=new FormData).append("file",eD),[4,eK(h)];case 2:if(!(l.sent()&&(null!==(g=eO.ref)&&void 0!==g?g:"")!=="google"))return[3,6];eG.set("nu","1"),l.label=3;case 3:return l.trys.push([3,5,,6]),[4,R.Z.parseResume("HiristRegister")];case 4:return x=l.sent(),localStorage.setItem("parsed-resume-content",JSON.stringify(x)),[3,6];case 5:return console.error("Resume parsing failed:",l.sent()),[3,6];case 6:(null===(m=eW)||void 0===m?void 0:null===(f=m.asPath)||void 0===f?void 0:f.split("?")[0])==="/register"?(eG.set("profiletype","1"),eG.set("nu",""),eG.set("source","reg"),(0,E.Yo)("/registration/resume-registration.php?".concat(eG.toString()),"_self")):(eG.set("hir","1"),eG.set("source","reg"),b=(null===(v=e)||void 0===v?void 0:v.customRedirectionUrl)?"&redirectto=".concat(null===(y=e)||void 0===y?void 0:y.customRedirectionUrl):"",(0,E.Yo)("/registration/addPersonalDetails?".concat(eG.toString()).concat(b),"_self")),l.label=7;case 7:return eL(!1),[2]}})}),function(e){return o.apply(this,arguments)}),validateOnChange:!0,validateOnBlur:!0,validate:(u=(0,i._)(function(e){return(0,l.Jh)(this,function(t){return e$(e.password),[2]})}),function(e){return u.apply(this,arguments)})}),e8=(0,_.TA)({initialValues:{email:"",reCaptchaCode:""},validationSchema:T.Sy,onSubmit:(p=(0,i._)(function(e){var t;return(0,l.Jh)(this,function(n){switch(n.label){case 0:return e2({}),eL(!0),[4,tq(null===(t=e.email)||void 0===t?void 0:t.trim(),e.reCaptchaCode)];case 1:return n.sent(),eL(!1),e8.setFieldValue("reCaptchaCode",""),[2]}})}),function(e){return p.apply(this,arguments)})}),e7=(0,s._)((0,S.useState)(!0),2),te=e7[0],tt=e7[1],tn=(0,s._)((0,S.useState)(!1),2),ti=tn[0],to=tn[1],tr=(0,s._)((0,S.useState)(0),2),ta=tr[0],ts=tr[1],tl=(0,s._)((0,S.useState)("email"),2),tc=tl[0],tu=tl[1],td=(0,s._)((0,S.useState)(""),2),tp=td[0],tf=td[1],tm=(0,s._)((0,S.useState)(""),2),th=tm[0],tg=tm[1],tx=(0,s._)((0,S.useState)(""),2),tv=tx[0],ty=tx[1],tb=(0,s._)((0,S.useState)(""),2),tw=tb[0],tS=tb[1],tj=(0,s._)((0,S.useState)(!1),2),tk=tj[0],t_=tj[1],tC=(0,s._)((0,S.useState)(""),2),tZ=tC[0],tP=tC[
11],tR=(0,s._)((0,S.useState)(!1),2),tT=tR[0],tF=tR[1],tL=(0,_.TA)({initialValues:{otp:""},validationSchema:T.zp,onSubmit:(f=(0,i._)(function(e){return(0,l.Jh)(this,function(t){switch(t.label){case 0:if(!tk)return[3,2];return[4,t2()];case 1:case 3:return t.sent(),[2];case 2:return tX||e2({}),[4,t5(e.otp)]}})}),function(e){return f.apply(this,arguments)})});(0,S.useEffect)(function(){if(te&&ti&&!(ta<=0)){var e=setInterval(function(){ts(function(e){return e>0?e-1:0})},1e3);return function(){clearInterval(e)}}},[te,ti,ta]),(0,S.useEffect)(function(){if(te&&ti){var e;null===(e=ew.current[0])||void 0===e||e.focus()}},[te,ti]),(0,S.useEffect)(function(){te&&!ti&&t7(e4?"loginOtpPageView":"registerOtpPageView","view",e4?"Page opened":"Pageopened")},[te,ti,e4]),(0,S.useEffect)(function(){te&&ti&&t7("enterOtpPageView","view",e4?"Page opened":"Pageopened",void 0,tc)},[te,ti,e4,tc]),window&&window.location&&new URLSearchParams(window.location.search).get("ref");var tA=(0,s._)((0,S.useState)(!1),2),tE=tA[0],tI=tA[1],tz=(0,s._)((0,S.useState)(!1),2),tV=tz[0],tD=tz[1],tN=(0,L.I0)(),tW=(G=(0,i._)(function(e){return(0,l.Jh)(this,function(t){return e&&(e5.setFieldValue("reCaptchaCode",e),e2({})),[2]})}),function(e){return G.apply(this,arguments)}),tO=(q=(0,i._)(function(e){return(0,l.Jh)(this,function(t){return e&&(e8.setFieldValue("reCaptchaCode",e),e2({})),[2]})}),function(e){return q.apply(this,arguments)});(0,S.useEffect)(function(){if(e1&&e1.code&&"number"==typeof e1.code&&(eL(!1),[406].includes(e1.code)&&(e4?tI(!0):ni&&tD(!0),406===e1.code))){var e;null==eb||null===(e=eb.current)||void 0===e||e.reset()}},[e1,null==e1?void 0:e1.code]),(0,S.useEffect)(function(){"/register"===eW.pathname?eY(!0):eY(!1)},[eW.pathname]),(0,S.useEffect)(function(){(null==e1?void 0:e1.message)&&e2({}),na&&ns(""),tI(!1)},[e5.values.email,e5.values.password]),(0,S.useEffect)(function(){var e=new URLSearchParams(window.location.search),t=e.get("apple_error");
1if(t){ns("ACCOUNT_NOT_FOUND"===t?"It looks like you haven’t signed up with Apple yet. Please create your account using an iPhone or iPad to continue.":decodeURIComponent(t)),e.delete("apple_error");var n="".concat(window.location.pathname).concat(e.toString()?"?"+e.toString():"").concat(window.location.hash);window.history.replaceState({},"",n)}},[]),(0,S.useEffect)(function(){na&&ns("")},[tp,tv]),(0,S.useEffect)(function(){(null==e1?void 0:e1.message)&&e2({})},[e9.values.email,e9.values.password]),(0,S.useEffect)(function(){(null==e1?void 0:e1.message)&&e2({}),tD(!1)},[e8.values.email]);var tU=(ea=(0,i._)(function(t,n,i){var o,s,c,u,d,p,f,m,h,g,x,v,y,b;return(0,l.Jh)(this,function(l){switch(l.label){case 0:return l.trys.push([0,2,,3]),e2({}),[4,(0,F.x4)(t,n,tN,i)];case 1:if(d=l.sent(),p=(0,E.s$)().refText,(0,C.mG)("jsActionLogin",(0,a._)((0,r._)({event_category:"jsHomePage",Source:"login",Ref:"".concat(p),Device:sessionStorage.getItem("device")||"desktop",Device_Type:sessionStorage.getItem("deviceType")||"web"},eB&&{content_type:"product",content_id:[eB]}),{country:"in",em:(t||"").toLowerCase(),fbc:eO.fbclid||"",fbp:(0,w.getCookie)("_fbp")||"",external_id:(null===(o=d)||void 0===o?void 0:o.userId)?String(d.userId):""})),null===(s=d)||void 0===s?void 0:s.activationToken)return eL(!1),e2({message:d.message,code:10999,activationToken:d.activationToken}),ne("jsActionLoginClick","click","signinFailure"),[2];if(null===(u=d)||void 0===u?void 0:null===(c=u.options)||void 0===c?void 0:c.reset)return e2({message:d.message,code:10203}),eL(!1),ne("jsActionLoginClick","click","signinFailure"),[2];if(e.onSuccess&&d.token)return ne("jsActionLoginClick","click","signinSuccess",null===(f=d)||void 0===f?void 0:f.userId),e.onSuccess(),[2];if(d.token){if(ne("jsActionLoginClick","click","signinSuccess",null===(m=d)||void 0===m?void 0:m.userId),window&&window.location&&(h=new URLSearchParams(window.location.search).get("redirectto")))return(0,E.Yo)(h,"_self"),[2];(0,E.Yo)("/jobfeed","_self")}return tI(!1),[3,3];case 2:"object"==typeof(g=l.sent())&&g&&e2(g);try{v=g||{},y=((null===(x=v)||void 0===x?void 0:x.message)||"").toString(),b=/incorrect|invalid/i.test(y)?"incorrectEmailorPass":"signinFailure",ne("jsActionLoginClick","click",b)}catch(e){ne("jsActionLoginClick","click","signinFailure")}return eL(!1),[3,3];case 3:return tI(!1),[2]}})}),function(e,t,n){return ea.apply(this,arguments)}),tB=(es=(0,i._)(function(e,t,n,i){var o,s,c;return(0,l.Jh)(this,function(l){switch(l.label){case 0:return l.trys.push([0,2,,3]),eL(!0),[4,(0,F.z2)(e,t,n,i,tN)];case 1:return s=l.sent(),(0,C.mG)("register_first_step",(0,a._)((0,r._)({event_category:"action",Label:"SignUp User",Value:"success"},eB&&{content_type:"product",content_id:[eB]}),{country:"in",ph:"",em:(e||"").toLowerCase(),fbc:eO.fbclid||"",fbp:(0,w.getCookie)("_fbp")||"",external_id:(null===(o=s)||void 0===o?void 0:o.userId)?String(s.userId):"",source:eJ})),[2,s];case 2:return c=l.sent(),eL(!1),"object"==typeof c&&c&&e2(c),[3,3];case 3:return[2]}})}),function(e,t,n,i){return es.apply(this,arguments)}),tJ=(0,s._)((0,S.useState)(!1),2),tH=tJ[0],tM=tJ[1],tY=function(){return tM(!0)},tG=function(){return tM(!1)},tq=(el=(0,i._)(function(e,t){var n,i,o;return(0,l.Jh)(this,function(r){switch(r.label){case 0:return r.trys.push([0,2,,3]),eL(!0),[4,(0,F.gF)(e,t)];case 1:if(null===(n=i=r.sent())||void 0===n?void 0:n.activationToken)return eL(!1),e2({message:i.message,code:10999,activationToken:i.activationToken}),ne("forgotPassClick","click","reactivationRequired"),[2];return eR(!0),e2({message:i,code:0}),ne("forgotPassClick","click","success"),eL(!1),[3,3];case 2:return o=r.sent(),eL(!1),eR(!1),"object"==typeof o&&o&&e2(o),ne("forgotPassClick","click","failure"),[3,3];case 3:return tD(!1),[2]}})}),function(e,t){return el.apply(this,arguments)}),t$=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,tQ=/^\d{10}$/,tX=tk||"mobile"===tc&&((0,F.Mq)(null==e1?void 0:e1.code)||(0,F.TH)(null==e1?void 0:e1.code));(0,S.useEffect)(function(){var e;te&&ti&&!tX&&!eF&&(null==e1?void 0:e1.message)&&(null===(e=ew.current[5])||void 0===e||e.focus())},[null==e1?void 0:e1.message,te,ti,tX,eF]);var tK=function(e){tf(e.target.value),tg(""),(null==e1?void 0:e1.message)&&e2({})},t0=function(e){ty(e.target.value),tS(""),e2(function(e){return(0,a._)((0,r._)({},e),{message:""})})},t1=(ec=(0,i._)(function(){var e,t,n,i,o,r,a,s,c;return(0,l.Jh)(this,function(l){switch(l.label){case 0:if(t=null===(e=tp)||void 0===e?void 0:e.trim(),n=tQ.test(t||""),i=t$.test(t||""),t7(e4?"loginOtpPageClick":"registerOtpPageClick","click","Getotp",void 0,n?"mobile":i?"email":void 0),!n&&!i)return tg("Enter a valid email address or 10-digit mobile number"),[2];tu(o=n?"mobile":"email"),l.label=1;case 1:if(l.trys.push([1,6,,7]),eL(!0),e2({}),"mobile"!==o)return[3,3];return[4,(0,F.fm)(t,e4?"login":"register")];case 2:return a=l.sent(),[3,5];case 3:return[4,(0,F.gy)(t,e4?"login":"register")];case 4:a=l.sent(),l.label=5;case 5:return tF(!!(null===(r=a)||void 0===r?void 0:r.name)),tL.setFieldValue("otp",""),to(!0),ts(60),eL(!1),[3,7];case 6:return s=l.sent(),eL(!1),"object"==typeof s&&s&&("mobile"===o&&(0,F.Mq)(null===(c=s)||void 0===c?void 0:c.code)?(t_(!0),tP(t),e2({})):e2(s)),[3,7];case 7:return[2]}})}),function(){return ec.apply(this,arguments)}
1),t2=(eu=(0,i._)(function(){var e,t,n,i,o;return(0,l.Jh)(this,function(r){switch(r.label){case 0:if(t=null===(e=tv)||void 0===e?void 0:e.trim(),!t$.test(t))return tS("Enter a valid email address"),[2];r.label=1;case 1:return r.trys.push([1,3,,4]),eL(!0),[4,(0,F.gy)(t,e4?"login":"register")];case 2:return i=r.sent(),tu("email"),tf(t),tF(!!(null===(n=i)||void 0===n?void 0:n.name)),t_(!1),tL.setFieldValue("otp",""),to(!0),ts(60),eL(!1),[3,4];case 3:return o=r.sent(),eL(!1),"object"==typeof o&&o&&e2(o),[3,4];case 4:return[2]}})}),function(){return eu.apply(this,arguments)}),t3=(ed=(0,i._)(function(){var e,t,n,i;return(0,l.Jh)(this,function(o){switch(o.label){case 0:if(ta>0||(0,F.Bu)(null===(e=e1)||void 0===e?void 0:e.message))return[2];o.label=1;case 1:if(o.trys.push([1,6,,7]),e2({}),"mobile"!==tc)return[3,3];return[4,(0,F.fm)(null===(t=tp)||void 0===t?void 0:t.trim(),e4?"login":"register")];case 2:return o.sent(),[3,5];case 3:return[4,(0,F.gy)(null===(n=tp)||void 0===n?void 0:n.trim(),e4?"login":"register")];case 4:o.sent(),o.label=5;case 5:return tL.setFieldValue("otp",""),ts(60),[3,7];case 6:return"object"==typeof(i=o.sent())&&i&&e2(i),[3,7];case 7:return[2]}})}),function(){return ed.apply(this,arguments)}),t4=function(){t7("enterOtpPageClick","click","Change",void 0,tc),e2({}),tL.setFieldValue("otp",""),to(!1),ts(0),ty(""),tS(""),t_(!1),tP(""),tF(!1)},t6=function(e){if(!e)return"";try{var t=new URL(e,window.location.origin),n=new URLSearchParams;return["utm_source","utm_campaign","utm_medium","utm_term","utm_content","ref"].forEach(function(e){var i=t.searchParams.get(e);i&&n.set(e,i)}),n.toString()?"&".concat(n.toString()):""}catch(e){return""}},t5=(ep=(0,i._)(function(t){var n,i,o,s,c,u,d,p,f,m,h,g,x,v,y,b;return(0,l.Jh)(this,function(l){switch(l.label){case 0:if((0,F.Bu)(null===(n=e1)||void 0===n?void 0:n.message))return[2];l.label=1;case 1:if(l.trys.push([1,6,,7]),eL(!0),"mobile"!==tc)return[3,3];return[4,(0,F.x)(null===(i=tp)||void 0===i?void 0:i.trim(),t,tN,e4?"login":"register",(null===(o=tv)||void 0===o?void 0:o.trim())||void 0)];case 2:return f=l.sent(),[3,5];case 3:return[4,(0,F.dj)(null===(s=tp)||void 0===s?void 0:s.trim(),t,tN,e4?"login":"register",tZ||void 0)];case 4:f=l.sent(),l.label=5;case 5:if(p=f,m=(0,E.s$)().refText,(0,C.mG)("jsActionLogin",(0,a._)((0,r._)({event_category:"jsHomePage",Source:"login",Ref:"".concat(m),Device:sessionStorage.getItem("device")||"desktop",Device_Type:sessionStorage.getItem("deviceType")||"web"},eB&&{content_type:"product",content_id:[eB]}),{country:"in",em:"email"===tc?(tp||"").toLowerCase():"",fbc:eO.fbclid||"",fbp:(0,w.getCookie)("_fbp")||"",external_id:(null===(c=p)||void 0===c?void 0:c.userId)?String(p.userId):""})),t7("enterOtpPageClick","click","verify&login","success",tc),h=p.token,e.onSuccess&&h)return e.onSuccess(),[2];if(g=new URLSearchParams(window.location.search).get("redirectto"),(null===(u=p)||void 0===u?void 0:u.redirectPath)==="/registration")return x=t6(g),(0,E.Yo)("/registration/addPersonalDetails?hir=1&source=reg&redirectto=".concat(encodeURIComponent(g||"/jobfeed")).concat(x),"_self"),[2];if(g)return(0,E.Yo)(g,"_self"),[2];return(0,E.Yo)((null===(d=p)||void 0===d?void 0:d.redirectPath)||"/jobfeed","_self"),[3,7];case 6:return v=l.sent(),t7("enterOtpPageClick","click","verify&login",!e4||"mobile"===tc&&((0,F.Mq)(null===(y=v)||void 0===y?void 0:y.code)||(0,F.TH)(null===(b=v)||void 0===b?void 0:b.code))?"reg":"failure",tc),eL(!1),"object"==typeof v&&v&&e2(v),[3,7];case 7:return[2]}})}),function(e){return ep.apply(this,arguments)}),t9=function(){te?t7(ti?"enterOtpPageClick":e4?"loginOtpPageClick":"registerOtpPageClick","click",e4?"usePasswordToLogin":"registerwithpassword"):t7(e4?"loginPageClick":"registrationInitialPageClick","click",e4?"Loginwithotp":"Registerwithotp"),(0,E.VP)(function(){e2({}),ns(""),no(!1),tI(!1),to(!1),ts(0),te?(tp&&t$.test(tp.trim())&&(e4?e5.setFieldValue("email",tp):e9.setFieldValue("email",tp)),tf("")):tf((e4?e5.values.email:e9.values.email)||""),tv&&t$.test(tv.trim())&&e9.setFieldValue("email",tv),tg(""),tu("email"),ty(""),tS(""),t_(!1),tP(""),tF(!1),tL.setErrors({}),tt(function(e){return!e})})},t8=(ef=(0,i._)(function(){return(0,l.Jh)(this,function(e){return(0,E.VP)(function(){(0,C.mG)("jsClickDwdAppBeforeLogin",{event_category:"MobileAppPromotion",Origin:e4?"SigninPage":"SignUpPage",Device:sessionStorage.getItem("device")||"desktop",Device_Type:sessionStorage.getItem("deviceType")||"web",Status:sessionStorage.getItem("status")||"LoggedOut"}),e4?(0,E.Yo)("/downloadapp?ref=signin"):(0,E.Yo)("/downloadapp?ref=signup")}),[2]})}),function(){return ef.apply(this,arguments)});(0,S.useEffect)(function(){var e=(0,E.s$)().refText;(0,C.mG)("jsViewLoginLogo",{event_category:"jsHomePage",Source:"register",Ref:"".concat(e),Device:sessionStorage.getItem("device")||"desktop",Device_Type:sessionStorage.getItem("deviceType")||"web"})},[]),(0,S.useEffect)(function(){var t;e6(null!==(t=null==e?void 0:e.enableSignIn)&&void 0!==t&&t)},[null==e?void 0:e.enableSignIn]);var t7=function(e,t,n,i,o){(0,C.Xf)(e,t,(0,r._)({pageName:(0,C.uW)(),action:n},i?{status:i}:{},o?{actionSrc:o}:{}))},ne=function(e,t,n,i){var o=eM?"Register Campaign":(0,C.uW)();(0,C.Xf)(e,t,(0,a._)((0,r._)({page:o,pageName:o,ref:eW.query.ref||""},n?{status:n}:{}),{sessionUsername:sessionStorage.getItem("userId")||i||""}))},nt=(em=(0,i._)(function(){return(0,l.Jh)(this,function(e){return(0,E.VP)(function(){no(!1),e2({}),tD(!1),e6(!0)}),[2]})}),function(){return em.apply(this,arguments)}),nn=(0,s._)((0,S.useState)(!1),2),ni=nn[0],no=nn[1],nr=(0,s._)((0,S.useState)(""),2),na=nr[0],ns=nr[1],nl=(0,S.useRef)(!1),nc=(0,S.useRef)(!1),nu=(0,S.useRef)(!1),nd=(0,S.useRef)(!1),np=(0,S.useRef)(!1),nf=(0,S.useRef)(!1),nm=(0,S.useRef)(!1);(0,S.useEffect)(function(){nf.current=!1,nm.current=!1;var e=document.querySelector('input[name="email"]'),t=document.querySelector('input[name="password"]'),n=function(e){if(!e)return!1;try{return e.matches(":-webkit-autofill")||e.matches(":autofill")}catch(e){return!1}},i=function(){nf.current||(nf.current=!0,e4?$("auto-fill","email","**redacted**",1,"","browser-autofill"):ni?X("auto-fill","email","**redacted**",1,"","browser-autofill"):Q("auto-fill","email","**redacted**",1,"","browser-autofill"))},o=function(){nm.current||ni||(nm.current=!0,e4?$("auto-fill","password","**redacted**",1,"","browser-autofill"):Q("auto-fill","password","**redacted**",1,"","browser-autofill"))},r=function(){n(e)&&i(),n(t)&&o()},a=function(n){if("mui-auto-fill"===n.animationName){var r=n.target;r===e?i():r===t&&o()}},s=function(){n(e)||(nf.current=!1),setTimeout(r,50)},l=function(){n(t)||(nm.current=!1),setTimeout(r,50)};return null==e||e.addEventListener("animationstart",a),null==t||t.addEventListener("animationstart",a),null==e||e.addEventListener("input",s),null==t||t.addEventListener("input",l),function(){null==e||e.removeEventListener("animationstart",a),null==t||t.removeEventListener("animationstart",a),null==e||e.removeEventListener("input",s),null==t||t.removeEventListener("input",l)}},[e4,ni]);var nh=function(){(0,E.VP)(function(){ns(""),to(!1),ts(0),tf(""),tg(""),ty(""),tS(""),t_(!1),tP(""),tF(!1),tL.setFieldValue("otp",""),tL.setErrors({}),e4?(e2({}),e6(!1),ne(eM?"registrationInitialOverlayPageView":"registrationInitialPageView","view")):(ne("jsLoginLogoView","view","signin"),ne("loginPageView","view"),e2({}),e6(!0)),no(!1)})},ng=(0,s._)((0,S.useState)([]),2),nx=ng[0],nv=ng[1],ny=(0,s._)((0,S.useState)([]),2),nb=ny[0],nw=ny[1];(0,W.Z)(null===(ey=eN.ads)||void 0===ey?void 0:null===(ev=ey.favouriteCompanies)||void 0===ev?void 0:ev.slot,
1nw,{},!1),(0,S.useEffect)(function(){var e;(e=(0,i._)(function(){return(0,l.Jh)(this,function(e){try{nb&&nb.length>0&&nv(nb)}catch(e){console.error("Error fetching companies:",e)}return[2]})}),function(){return e.apply(this,arguments)})()},[nb]);var nS=na?(0,c.jsx)(m.Z,{component:"p",fontSize:"13px",color:"error.main",textAlign:"center",marginTop:"10px","data-testid":"apple-login-error",children:na}):null,nj=function(){var e,t,n,o,a;return ni?(0,c.jsxs)(d.Z,{component:"form",noValidate:!0,onSubmit:function(e){e.preventDefault(),(0,E.VP)(function(){e8.handleSubmit()})},children:[(0,c.jsx)(m.Z,{mb:"-10px",fontWeight:700,color:"#000",fontFamily:"Nunito Sans",fontSize:"14px",sx:{opacity:.8},children:"Email Address"}),(0,c.jsx)(et,{fullWidth:!0,type:"email",margin:"normal",placeholder:"[email protected]",name:"email",value:e8.values.email,onChange:e8.handleChange,onFocus:function(){np.current=!0,X("focus-in","email","**redacted**",1,"")},onBlur:(e=(0,i._)(function(e){var t;return(0,l.Jh)(this,function(e){switch(e.label){case 0:return[4,e8.validateField("email")];case 1:return X("focus-out","email","**redacted**",(t=e.sent())?0:1,t?String(t):""),[2]}})}),function(t){return e.apply(this,arguments)})}),e8.touched.email&&!!e8.errors.email&&(0,c.jsx)(eo,{children:e8.errors.email}),tV&&(0,c.jsx)(d.Z,{display:"flex",justifyContent:"flex-start",mt:2,children:(0,c.jsx)(A.Z,{ref:eb,sitekey:"".concat("6LfNFNwiAAAAAOU8Y4QtreDsQAX4am7czAxYjSwd"),size:"normal",onChange:tO})}),e1&&""!==e1.message&&void 0!==e1.message&&(0,c.jsxs)(m.Z,{component:"p",fontSize:"13px",color:"error.main",display:"inline-flex",flexDirection:"column",textAlign:"center",marginTop:"10px",children:[e1.message,(null==e1?void 0:e1.code)===10999&&(0,c.jsx)(d.Z,{children:(0,c.jsx)(J.Z,{sx:{textDecoration:"underline",textDecorationColor:eX.palette.primary.main,"&:hover":{textDecorationColor:eX.palette.primary.main},textAlign:"left"},href:"reactivate-account".concat((null==e1?void 0:e1.activationToken)?"?em=".concat(btoa(e5.values.email),"&token=").concat(encodeURIComponent(null==e1?void 0:e1.activationToken)):""),children:(0,c.jsx)(m.Z,{sx:{fontSize:"13px",fontWeight:500,lineHeight:"16px",color:"primary.main",marginTop:.5},children:"Reactivate your account"})})})]}),(0,c.jsx)(h.Z,{type:"submit",fullWidth:!0,variant:"contained",sx:{padding:"12px",fontSize:"20px",fontFamily:"Nunito Sans",borderRadius:"8px",mt:2,backgroundColor:eX.palette.primary.main,"&:hover":{backgroundColor:eX.palette.primary.main,boxShadow:"0px 6px 18px rgba(233, 99, 12, 0.19)"}},children:eF?(0,c.jsx)(k.Z,{size:35,sx:{color:"#ffffff !important"}}):"Reset Password"})]}):te?(0,c.jsx)(d.Z,{component:"form",noValidate:!0,onSubmit:function(e){e.preventDefault(),(ti||tk)&&(0,E.VP)(function(){tL.handleSubmit()})},children:tX?(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(m.Z,{mb:"-10px",fontWeight:700,color:"#000",fontSize:"15px",fontFamily:"Nunito Sans",sx:{opacity:.8},children:"Email Address"}),(0,c.jsx)(et,{fullWidth:!0,type:"email",margin:"normal",placeholder:"Enter your email address",name:"otpRegisterEmail",value:tv,onChange:t0,disabled:eF,error:!!tw}),tw&&(0,c.jsx)(eo,{error:!0,children:tw}),tk&&(0,c.jsx)(m.Z,{component:"p",fontSize:"13px",color:"error.main",textAlign:"center",marginTop:"10px",children:e4?"The number isn't registered with us. Please provide your email to continue":"Please provide your email to continue the registration process"}),e1&&""!==e1.message&&void 0!==e1.message&&(0,c.jsx)(m.Z,{component:"p",fontSize:"13px",color:"error.main",textAlign:"center",marginTop:"10px",children:e1.message}),(0,c.jsx)(h.Z,{type:tk?"button":"submit",fullWidth:!0,disabled:tk?!t$.test((tv||"").trim()):6!==(tL.values.otp||"").length||!t$.test((tv||"").trim())||(0,F.Bu)(null==e1?void 0:e1.message),onClick:tk?t2:void 0,sx:{padding:{xxs:"12px",md:"clamp(8px, 1.4vh, 12px)"},backgroundColor:eX.palette.primary.main,fontSize:{xxs:"20px",md:"clamp(16px, 2.2vh, 20px)"},fontStyle:"Nunito sans",color:"white",textDecoration:"none",borderRadius:"8px",cursor:"pointer",mt:2,"&:hover":{backgroundColor:eX.palette.primary.main,boxShadow:"0px 6px 18px rgba(233, 99, 12, 0.19)"},"&.Mui-disabled":{color:"white",background:"rgb(249, 183, 163)",cursor:"not-allowed"}},children:eF?(0,c.jsx)(k.Z,{size:35,sx:{color:"#ffffff !important"}}):"Register"})]}):ti?(0,c.jsxs)(c.Fragment,{children:[(0,c.jsxs)(m.Z,{fontSize:"14px",color:"#000",fontFamily:"Nunito Sans",sx:{opacity:.8,wordBreak:"break-word"},children:["We've sent a 6-digit code to ",(0,c.jsx)("strong",{style:{display:"inline-block",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",verticalAlign:"bottom"},children:"mobile"===tc?"+91\xa0".concat(tp):tp}),(0,c.jsx)(m.Z,{component:"span",onClick:eF?void 0:t4,sx:(0,r._)({color:"rgb(59, 111, 224)",fontWeight:700,marginLeft:"8px",whiteSpace:"nowrap"},eF?{cursor:"not-allowed",opacity:.5}:{cursor:"pointer"}),children:"Change"})]}),(0,c.jsx)(m.Z,{mt:2,mb:1,fontWeight:700,color:"#000",fontSize:"15px",fontFamily:"Nunito Sans",sx:{opacity:.8},children:"Enter OTP"}),(0,c.jsx)(d.Z,{display:"flex",gap:1.25,children:Array.from({length:6}).map(function(e,t){return(0,c.jsx)(en,{value:(tL.values.otp||"")[t]||"",disabled:eF,inputRef:function(e){ew.current[t]=e},inputProps:{inputMode:"numeric",maxLength:1},onChange:function(e){var n,i=(e.target.value||"").replace(/\D/g,"").slice(-1),o=(tL.values.otp||"").split("");o[t]=i;var r=o.join("");tL.setFieldValue("otp",r),i&&t<5&&(null===(n=ew.current[t+1])||void 0===n||n.focus()),i&&5===t&&6===r.length&&setTimeout(function(){return tL.handleSubmit()},200)},onKeyDown:function(e){var n,i,o,r=tL.values.otp||"";"Backspace"===e.key&&!r[t]&&t>0?null===(n=ew.current[t-1])||void 0===n||n.focus():"ArrowLeft"===e.key&&t>0?null===(i=ew.current[t-1])||void 0===i||i.focus():"ArrowRight"===e.key&&t<5?null===(o=ew.current[t+1])||void 0===o||o.focus():"Enter"===e.key&&tL.handleSubmit()},onPaste:function(e){var t,n=(e.clipboardData.getData("text")||"").replace(/\D/g,"").slice(0,6);if(n){e.preventDefault(),tL.setFieldValue("otp",n);var i=Math.min(n.length,5);null===(t=ew.current[i])||void 0===t||t.focus(),6===n.length&&setTimeout(function(){return tL.handleSubmit()},200)}}},t)})}),(0,c.jsx)(d.Z,{display:"flex",mt:1.5,children:ta>0&&!(0,F.Bu)(null==e1?void 0:e1.message)?(0,c.jsx)(m.Z,{fontSize:"12px",color:"#7e7e7e",fontFamily:"Nunito Sans",children:"Resend OTP in ".concat(String(Math.floor(ta/60)).padStart(2,"0"),":").concat(String(ta%60).padStart(2,"0"))}):(0,c.jsxs)(m.Z,{fontSize:"12px",color:"#7e7e7e",fontFamily:"Nunito Sans",children:["Didn't receive an OTP? ",(0,c.jsx)(m.Z,{component:"span",onClick:(0,F.Bu)(null==e1?void 0:e1.message)||eF?void 0:t3,sx:(0,r._)({color:eX.palette.primary.main,fontWeight:700},(0,F.Bu)(null==e1?void 0:e1.message)||eF?{opacity:.5,cursor:"not-allowed",pointerEvents:"none"}:{cursor:"pointer"}),children:"Resend OTP"})]})}),e1&&""!==e1.message&&void 0!==e1.message&&(0,c.jsx)(m.Z,{component:"p",fontSize:"13px",color:"error.main",textAlign:"center",marginTop:"10px",children:e1.message}),(0,c.jsx)(h.Z,{type:"submit",fullWidth:!0,disabled:6!==(tL.values.otp||"").length||(0,F.Bu)(null==e1?void 0:e1.message),sx:{padding:{xxs:"12px",md:"clamp(8px, 1.4vh, 12px)"},backgroundColor:eX.palette.primary.main,fontSize:{xxs:"20px",md:"clamp(16px, 2.2vh, 20px)"},fontStyle:"Nunito sans",color:"white",textDecoration:"none",borderRadius:"8px",cursor:"pointer",mt:2,"&:hover":{backgroundColor:eX.palette.primary.main,boxShadow:"0px 6px 18px rgba(233, 99, 12, 0.19)"},"&.Mui-disabled":{color:"white",background:"rgb(249, 183, 163)",cursor:"not-allowed"}},children:eF?(0,c.jsx)(k.Z,{size:35,sx:{color:"#ffffff !important"}}):tT?"Verify & Login":tZ?"Verify & Register":e4?"Verify & Login":"Verify & Register"})]}):(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(m.Z,{mb:"-10px",fontWeight:700,color:"#000",fontSize:"15px",fontFamily:"Nunito Sans",sx:{opacity:.8},children:"Email or Mobile Number"}),(0,c.jsx)(et,{fullWidth:!0,type:"text",margin:"normal",placeholder:"Email or Mobile Number",name:"otpIdentifier",value:tp,onChange:tK,onFocus:function(){return t7(e4?"loginOtpPageClick":"registerOtpPageClick","click",e4?"email_Id":"emailid")},error:!!th,InputProps:{startAdornment:tQ.test((tp||"").trim())?(0,c.jsx)(g.Z,{position:"start",children:(0,c.jsxs)(d.Z,{display:"flex",alignItems:"center",gap:"8px",children:[(0,c.jsx)(b.E,{src:Z.I$,alt:"indianFLag",width:20,height:14}),(0,c.jsx)(m.Z,{children:"+91"})]})}):void 0}}),th&&(0,c.jsx)(eo,{error:!0,children:th}),(0,c.jsx)(m.Z,{mt:1,fontSize:"13px",color:"#7e7e7e",fontFamily:"Nunito Sans",children:"You will receive one time password on this."}),e1&&""!==e1.message&&void 0!==e1.message&&(0,c.jsx)(m.Z,{component:"p",fontSize:"13px",color:"error.main",textAlign:"center",marginTop:"10px",children:e1.message}),(0,c.jsx)(h.Z,{type:"button",fullWidth:!0,disabled:!tQ.test((tp||"").trim())&&!t$.test((tp||"").trim())||!!th,onClick:t1,sx:{padding:{xxs:"12px",md:"clamp(8px, 1.4vh, 12px)"},backgroundColor:eX.palette.primary.main,fontSize:{xxs:"20px",md:"clamp(16px, 2.2vh, 20px)"},fontStyle:"Nunito sans",color:"white",textDecoration:"none",borderRadius:"8px",cursor:"pointer",mt:{xxs:"30px",md:"clamp(12px, 2.5vh, 44px)"},"&:hover":{backgroundColor:eX.palette.primary.main,boxShadow:"0px 6px 18px rgba(233, 99, 12, 0.19)"},"&.Mui-disabled":{color:"white",background:"rgb(249, 183, 163)",cursor:"not-allowed"}},children:eF?(0,c.jsx)(k.Z,{size:35,sx:{color:"#ffffff !important"}}):"Get OTP"})]})}):e4?(0,c.jsxs)(d.Z,{component:"form",noValidate:!0,onSubmit:function(e){e.preventDefault(),(0,E.VP)(function(){e5.handleSubmit()})},children:[(0,c.jsx)(m.Z,{mb:"-10px",fontWeight:700,color:"#000",fontSize:"14px",fontFamily:"Nunito Sans",sx:{opacity:.8},children:"Email Address"}),(0,c.jsx)(et,{fullWidth:!0,type:"email",margin:"normal",placeholder:"Enter your registered email",name:"email",value:e5.values.email,onChange:e5.handleChange,onFocus:function(){nl.current=!0,$("focus-in","email","**redacted**",1,"")},onBlur:(t=(0,i._)(function(e){var t;return(0,l.Jh)(this,function(e){switch(e.label){case 0:return[4,e5.validateField("email")];case 1:return $("focus-out","email","**redacted**",(t=e.sent())?0:1,t?Str
1ing(t):""),[2]}})}),function(e){return t.apply(this,arguments)})}),e5.touched.email&&!!e5.errors.email&&(0,c.jsx)(eo,{children:e5.errors.email}),(0,c.jsx)(m.Z,{mt:{xxs:"15px",md:"clamp(8px, 1.8vh, 25px)"},mb:"-10px",fontWeight:700,color:"#000",fontSize:"14px",fontFamily:"Nunito Sans",sx:{opacity:.8},children:"Password"}),(0,c.jsx)(et,{fullWidth:!0,type:ej?"text":"password",margin:"normal",placeholder:"Enter your password",name:"password",value:e5.values.password,onChange:e5.handleChange,onFocus:function(){nc.current=!0,$("focus-in","password","**redacted**",1,"")},onBlur:(n=(0,i._)(function(e){var t;return(0,l.Jh)(this,function(e){switch(e.label){case 0:return[4,e5.validateField("password")];case 1:return $("focus-out","password","**redacted**",(t=e.sent())?0:1,t?String(t):""),[2]}})}),function(e){return n.apply(this,arguments)}),InputProps:{endAdornment:(0,c.jsx)(g.Z,{position:"end",children:(0,c.jsx)(x.Z,{onClick:function(){(0,E.VP)(function(){return ek(function(e){return!e})})},edge:"end","aria-label":"toggle password visibility",disableRipple:!0,disableFocusRipple:!0,sx:{backgroundColor:"transparent","&:hover":{backgroundColor:"transparent"},"&:active":{backgroundColor:"transparent"},"&:focus":{backgroundColor:"transparent"},paddingRight:"15px"},children:ej?(0,c.jsx)(b.E,{src:P.b1N,alt:"unlock-icon",height:16,width:12}):(0,c.jsx)(b.E,{src:P.uLb,alt:"lock-icon",height:16,width:12})})})}}),e5.touched.password&&!!e5.errors.password&&(0,c.jsx)(eo,{children:e5.errors.password}),(0,c.jsx)(d.Z,{sx:{textAlign:"right"},children:(0,c.jsx)(m.Z,{component:"a",sx:{textDecoration:"none",cursor:"pointer",display:"inline-block",fontSize:eM?"14px":"16px",marginTop:eM?"0px":{xxs:"8px",md:"0px"},fontWeight:eM?700:400,color:"#0057ff",textAlign:"right",fontFamily:"Nunito Sans"},onClick:function(){(0,E.VP)(function(){e2({}),no(!0),tI(!1),e6(!1),ne("forgotPassView","view")})},children:"Forgot Password?"})}),tE&&(0,c.jsx)(d.Z,{display:"flex",justifyContent:"flex-start",mt:2,children:(0,c.jsx)(A.Z,{ref:eb,sitekey:"".concat("6LfNFNwiAAAAAOU8Y4QtreDsQAX4am7czAxYjSwd"),size:"normal",onChange:tW})}),e1&&""!==e1.message&&void 0!==e1.message&&(0,c.jsxs)(m.Z,{component:"p",fontSize:"13px",color:"error.main",display:"inline-flex",flexDirection:"column",textAlign:"center",marginTop:"10px",children:[e1.message,(null==e1?void 0:e1.code)===10999&&(0,c.jsx)(d.Z,{children:(0,c.jsx)(J.Z,{sx:{textDecoration:"underline",textDecorationColor:eX.palette.primary.main,"&:hover":{textDecorationColor:eX.palette.primary.main},textAlign:"left"},href:"reactivate-account".concat((null==e1?void 0:e1.activationToken)?"?em=".concat(btoa(e5.values.email),"&token=").concat(encodeURIComponent(null==e1?void 0:e1.activationToken)):""),children:(0,c.jsx)(m.Z,{sx:{fontSize:"13px",fontWeight:500,lineHeight:"16px",color:"primary.main",marginTop:.5},children:"Reactivate your account"})})})]}),(0,c.jsx)(h.Z,{type:"submit",fullWidth:!0,sx:{padding:{xxs:"12px",md:"clamp(8px, 1.4vh, 12px)"},backgroundColor:eX.palette.primary.main,fontSize:{xxs:"20px",md:"clamp(16px, 2.2vh, 20px)"},fontStyle:"Nunito sans",color:"white",textDecoration:"none",borderRadius:"8px",cursor:"pointer",mt:{xxs:"30px",md:"clamp(12px, 2.5vh, 44px)"},"&:hover":{backgroundColor:eX.palette.primary.main,boxShadow:"0px 6px 18px rgba(233, 99, 12, 0.19)"}},children:eF?(0,c.jsx)(k.Z,{size:35,sx:{color:"#ffffff !important"}}):(0,c.jsxs)(c.Fragment,{children:["Login",(0,c.jsx)(b.E,{src:P.UVy,alt:"right-arrow",width:16,height:16,style:{marginLeft:"6px"}})]})})]}):(0,c.jsxs)(d.Z,{component:"form",noValidate:!0,onSubmit:function(e){e.preventDefault(),(0,E.VP)(function(){e9.handleSubmit()})},children:[(0,c.jsx)(m.Z,{mb:"-10px",fontWeight:700,color:"#000",fontSize:"14px",sx:{opacity:.8},children:"Email Address"}),(0,c.jsx)(et,{fullWidth:!0,type:"email",margin:"normal",placeholder:"[email protected]",name:"email",value:e9.values.email,onChange:e9.handleChange,onFocus:function(){nu.current=!0,Q("focus-in","email","**redacted**",1,"")},onBlur:(o=(0,i._)(function(e){var t;return(0,l.Jh)(this,function(e){switch(e.label){case 0:return[4,e9.validateField("email")];case 1:return Q("focus-out","email","**redacted**",(t=e.sent())?0:1,t?Str
1ing(t):""),[2]}})}),function(e){return o.apply(this,arguments)})}),e9.touched.email&&!!e9.errors.email&&(0,c.jsx)(eo,{children:e9.errors.email}),(0,c.jsx)(m.Z,{mt:{xxs:"15px",md:"20px"},mb:"-10px",fontWeight:700,color:"#000",fontSize:"14px",sx:{opacity:.8},children:"Password"}),(0,c.jsx)(V.d,{onClickAway:tG,children:(0,c.jsx)("div",{children:(0,c.jsx)(D.u,{PopperProps:{disablePortal:!0},onClose:tG,open:tH,disableFocusListener:!0,disableHoverListener:!0,disableTouchListener:!0,title:(0,c.jsx)(eQ,{}),arrow:!0,placement:"top-start",sx:{"& .MuiTooltip-tooltip":{backgroundColor:"#fafafa",boxShadow:"0 1px 4px 0 hsla(0, 0%, 83.9%, 0.5)",padding:"0px"}},children:(0,c.jsx)(d.Z,{onClick:tY,children:(0,c.jsx)(et,{fullWidth:!0,type:eC?"text":"password",margin:"normal",placeholder:"Enter 6 characters or more",name:"password",value:e9.values.password,onChange:e9.handleChange,onFocus:function(){nd.current=!0,Q("focus-in","password","**redacted**",1,"")},onBlur:(a=(0,i._)(function(e){var t;return(0,l.Jh)(this,function(e){switch(e.label){case 0:return[4,e9.validateField("password")];case 1:return Q("focus-out","password","**redacted**",(t=e.sent())?0:1,t?String(t):""),[2]}})}),function(e){return a.apply(this,arguments)}),InputProps:{endAdornment:(0,c.jsx)(g.Z,{position:"end",children:(0,c.jsx)(x.Z,{onClick:function(){(0,E.VP)(function(){return eZ(function(e){return!e})})},edge:"end","aria-label":"toggle password visibility",disableRipple:!0,disableFocusRipple:!0,sx:{backgroundColor:"transparent","&:hover":{backgroundColor:"transparent"},"&:active":{backgroundColor:"transparent"},"&:focus":{backgroundColor:"transparent"},paddingRight:"15px"},children:eC?(0,c.jsx)(b.E,{src:P.b1N,alt:"unlock-icon",height:16,width:12}):(0,c.jsx)(b.E,{src:P.uLb,alt:"lock-icon",height:16,width:12})})})}})})})})}),e9.touched.password&&!!e9.errors.password&&(0,c.jsx)(eo,{children:e9.errors.password}),e1&&""!==e1.message&&void 0!==e1.message&&(0,c.jsx)(m.Z,{component:"p",fontSize:"13px",color:"error.main",display:"inline-flex",textAlign:"center",marginTop:"10px",children:e1.message}),(0,c.jsx)(h.Z,{type:"submit",fullWidth:!0,variant:"contained",sx:{padding:"12px",mt:2,backgroundColor:eX.palette.primary.main,fontSize:"20px",fontStyle:"Nunito Sans",borderRadius:"8px","&:hover":{backgroundColor:eX.palette.primary.main,boxShadow:"0px 6px 18px rgba(233, 99, 12, 0.19)"}},children:eF?(0,c.jsx)(k.Z,{size:35,sx:{color:"#ffffff !important"}}):eM?(0,c.jsxs)(c.Fragment,{children:["Register",(0,c.jsx)(b.E,{src:P.UVy,alt:"right-arrow",width:16,height:16,style:{marginLeft:"6px"}})]}):"Register"})]})};return eM?(0,c.jsx)(B.Z,{open:eM,onClose:function(){ne("jsCloseRegisterBoxClick","click"),eY(!1)},variant:U.r.VERSION_HIRIST_V1,children:(0,c.jsxs)(d.Z,{sx:{padding:{xxs:"5px",md:"0 40px 40px"},width:{xxs:"auto",md:"550px"}},children:[(0,c.jsx)(d.Z,{display:"flex",justifyContent:"space-between",marginBottom:"21px",children:(0,c.jsxs)(d.Z,{children:[(0,c.jsx)(m.Z,{fontStyle:"Nunito Sans",fontSize:"22px",fontWeight:700,children:ni?"Forgot your Password?":""}),(0,c.jsx)(m.Z,{fontStyle:"Nunito Sans",fontSize:"18px",fontWeight:300,children:te&&tT?"Sign in to Hirist":te&&tX?"Register here to access premium technology jobs matching with your profile.":te&&tZ?"Register here to access premium technology jobs matching with your profile.":e4?"Sign in to Hirist":ni?"We’ll help you reset it and get back on track.":"Register here to access premium technology jobs matching with your profile."})]})}),(0,c.jsxs)(d.Z,{children:[nj(),nS,!ni&&(0,c.jsxs)(m.Z,{mt:{xxs:2.5,md:2},textAlign:"center",color:"#7e7e7e",fontSize:"16px",fontFamily:"Nunito Sans",children:[e4?"Don’t have an account?":"Already have an account?"," ",(0,c.jsx)(m.Z,{component:"a",sx:{textDecoration:"none",fontWeight:"700",cursor:"pointer",color:eX.palette.primary.main},onClick:nh,children:e4?"Sign Up":"Sign In"})]}),!ni&&(0,c.jsx)(m.Z,{mt:1,textAlign:"center",fontSize:"16px",fontFamily:"Nunito Sans",children:(0,c.jsx)(m.Z,{component:"a",sx:{textDecoration:"none",fontWeight:"700",cursor:"pointer",color:eX.palette.primary.main},"data-testid":"auth-otp-toggle-link-compact",onClick:t9,children:e4?te?"Use Password to Login":"Use OTP to Login":te?"Register with password":"Register with OTP"})}),(0,c.jsxs)(d.Z,{sx:{pb:1,"& > hr":{mt:"16px !important"}},children:[(0,c.jsx)(H.Z,{}),(0,c.jsx)(M.Z,{onAccountNotFound:function(){return ns("It looks like you haven’t signed up with Apple yet. Please create your account using an iPhone or iPad to continue.")},onError:function(e){return ns(e)}})]})]})]})}):(0,c.jsx)(v.Z,{open:null==e?void 0:e.openDialog,fullScreen:!0,"data-testid":"auth-dialog",children:(0,c.jsx)(d.Z,{display:"flex",sx:{alignItems:{xxs:"center",md:"stretch"},minHeight:{md:"100vh"}},children:(0,c.jsxs)(y.ZP,{container:!0,direction:{xxs:"column-reverse",md:"row"},sx:{minHeight:{md:"100vh"},backgroundColor:{md:"white"}},children:[(0,c.jsx)(y.ZP,{item:!0,xxs:12,md:4,children:(0,c.jsx)(d.Z,{children:(0,c.jsxs)(K,{children:[(0,c.jsx)(b.E,{src:Z.Gl,alt:"Hirist Backgroun
1d",layout:"fill"}),(0,c.jsx)(ee,{children:(0,c.jsx)(b.E,{src:Y.s,alt:"Logo",height:30})}),(0,c.jsxs)(ei,{children:["Choose a job you love, and you never have to work a day in your life",(0,c.jsx)(m.Z,{component:"p",marginTop:"16px",children:"- Confucius"})]}),(0,c.jsxs)(er,{children:[(0,c.jsx)(m.Z,{display:"flex",justifyContent:"center",marginTop:"16px",fontSize:"16px",fontFamily:"Nunito Sans",children:"Companies you might love to work with"}),(0,c.jsx)(d.Z,{display:"flex",justifyContent:"space-evenly",mt:1,width:"100%","data-testid":"hirist-companies-list",children:nx.map(function(e,t){return(0,c.jsx)(d.Z,{width:"20%",display:3===t?{xxs:"none",md:"flex"}:"flex",sx:{backgroundImage:'url("'.concat(e.imageUrl,'")'),backgroundSize:"contain",backgroundRepeat:"no-repeat",backgroundPosition:"center",aspectRatio:"16/9",cursor:"pointer"},"data-testid":"hirist-company-item-".concat(t),onClick:function(){(0,E.VP)(function(){var t=(0,E.s$)().refText;(0,C.mG)("jsClickLoginLogo",{event_category:"jsHomePage",Source:e4?"login":"register",Ref:"".concat(t),CompanyName:e.title,Device:sessionStorage.getItem("device")||"desktop",Device_Type:sessionStorage.getItem("deviceType")||"web"}),ne("jsLoginLogoClick","click",e4?"signin":"signup"),(0,E.Yo)("".concat(e.link))})}},t)})})]})]})})}),(0,c.jsxs)(y.ZP,{item:!0,xxs:12,md:8,sx:{display:{md:"flex"},flexDirection:{md:"column"},maxHeight:{md:"100vh"}},children:[(0,c.jsxs)(d.Z,{display:"flex",justifyContent:ni?"space-between":"flex-end",marginTop:{xxs:"20px",md:"15px"},marginRight:{xxs:"35px",md:"46px"},children:[(0,c.jsx)(d.Z,{display:ni?"flex":"none",children:(0,c.jsx)(d.Z,{onClick:nt,sx:{cursor:"pointer",position:"relative",width:"50px",height:"50px",backgroundColor:"#f2f5fa",borderRadius:"50%",marginLeft:{xxs:"30px",md:"55px"},display:"flex",alignItems:"center",justifyContent:"center","&:hover":{backgroundColor:"white",boxShadow:"0 6px 14px 0 rgba(0, 0, 0, 0.09)"}},children:(0,c.jsx)(b.E,{src:P._Qn,alt:"left-arrow",height:20,width:20,style:{transform:"rotate(180deg)"}})})}),(0,c.jsxs)(d.Z,{display:"flex",children:[(0,c.jsxs)(h.Z,{onClick:t8,sx:{height:"48px",borderRadius:"24px",border:"1px solid #fceecf",backgroundColor:"#fffbf1",padding:"11px 12px 11px 14px",marginRight:"30px",display:{xxs:"none",md:"flex"},alignItems:"center","&:hover":{backgroundColor:"#fffbf1"}},children:[(0,c.jsx)(b.E,{src:Z.qW,alt:"phoneIcon",height:24,width:24}),(0,c.jsxs)(m.Z,{color:eX.palette.primary.main,marginLeft:1.5,fontSize:"15px",fontFamily:"Nunito Sans",fontWeight:400,children:["Download App",(0,c.jsx)(b.E,{src:P.L$X,alt:"orange-arrow",height:13,width:13,style:{marginLeft:"12px",paddingTop:"3px"}})]})]}),(0,c.jsx)(d.Z,{onClick:function(){eL(!0),(0,E.VP)(function(){var t=e4?"signInCancel":ni?"":"signUpCancel";(0,C.mG)(t,{event_category:"Offline Landing page",event_label:"cross=1"}),ne("jsCloseRegisterBoxClick","click"),e.setOpenDialog(!1),e5.setErrors({}),e8.setErrors({}),e9.setErrors({}),tL.setErrors({}),e2({}),tt(!0),to(!1),ts(0),tf(""),tg(""),t_(!1),tP(""),tF(!1),ez(!1),eL(!1)})},sx:{cursor:"pointer",position:"relative",width:"50px",height:"50px",backgroundColor:"#f2f5fa",borderRadius:"50%",display:"flex",alignItems:"center",justifyContent:"center","&:hover":{backgroundColor:"white",boxShadow:"0 6px 14px 0 rgba(0, 0, 0, 0.09)"}},children:(0,c.jsx)(b.E,{src:P.aMB,alt:"cross-icon",height:14,width:14})})]})]}),(0,c.jsxs)(d.Z,{display:"flex",flexDirection:{xxs:"column",sm:"row"},justifyContent:"center",marginTop:0,height:e4?{xxs:"1%",md:"auto"}:ni?{xxs:"6%",md:"auto"}:{xxs:"1%",md:"auto"},sx:{backgroundColor:"white",flex:{md:1},alignItems:{md:"center"}},children:[(0,c.jsxs)(d.Z,{width:{xxs:"90%",md:"70%"},px:3,marginBottom:"1vh",alignSelf:{xxs:"center",sm:"start"},children:[(0,c.jsx)(m.Z,{fontSize:{xxs:"20px",md:"26px"},fontFamily:"Nunito Sans",fontWeight:700,children:ni?"Forgot your Password?":""}),(0,c.jsx)(m.Z,{fontSize:ni?"21px":{xxs:"32px",md:"clamp(22px, 4vh, 46px)"},fontWeight:ni?200:500,fontFamily:"Nunito Sans",marginTop:ni?{xxs:"5px",md:"20px"}:{xxs:"-10px",md:"clamp(-10px, -1vh, -4px)"},sx:{lineHeight:{md:1.1}},children:ni?"We’ll help you reset it and get back on track.":te&&tT?"Login here":te&&tX?"Register here":te&&tZ?"Register here":e4?"Login here":"Register here"}),(0,c.jsx)(d.Z,{sx:{mt:{xxs:2.5,md:"clamp(8px, 2vh, 24px)"}},children:nj()}),nS,!ni&&(0,c.jsxs)(m.Z,{mt:{xxs:2.5,md:"clamp(8px, 1.5vh, 16px)"},textAlign:"center",color:"#7e7e7e",fontSize:"16px",fontFamily:"Nunito Sans",children:[e4?"Don’t have an account?":"Already have an account?"," ",(0,c.jsx)(m.Z,{component:"a",sx:{textDecoration:"none",fontWeight:"700",cursor:"pointer",color:eX.palette.primary.main},"data-testid":"auth-toggle-link",onClick:nh,children:e4?"Register now!":"Login now!"})]}),!ni&&(0,c.jsx)(m.Z,{mt:4,textAlign:"center",fontSize:"16px",fontFamily:"Nunito Sans",children:(0,c.jsx)(m.Z,{component:"a",sx:{textDecoration:"none",fontWeight:"700",cursor:"pointer",color:eX.palette.primary.main,"&:hover":{textDecoration:"underline",textDecorationColor:"currentColor"}},"data-testid":"auth-otp-toggle-link",onClick:t9,children:e4?te?"Use Password to Login":"Use OTP to Login":te?"Register with password":"Register with OTP"})}),(0,c.jsxs)(d.Z,{sx:{pb:{md:"clamp(12px, 2vh, 32px)"},"& > hr":{mt:{md:"clamp(8px, 1.5vh, 24px) !important"}}},children:[(0,c.jsx)(H.Z,{}),(0,c.jsx)(M.Z,{onAccountNotFound:function(){return ns("It looks like you haven’t signed up with Apple yet. Please create your account using an iPhone or iPad to continue.")},onError:function(e){return ns(e)}})]})]}),(0,c.jsx)(d.Z,{sx:{padding:"10px",marginBottom:"50px",display:{xxs:"block",sm:"none"}},children:(0,c.jsx)(I.default,{showWidgetMobile:!0})})]})]})]})})})}},27412:function(e,t,n){n.d(t,{Bu:function(){return i.Bu},HB:function(){return i.HB},Mq:function(){return i.Mq},Sy:function(){return o.Sy},TH:function(){return i.TH},dj:function(){return i.dj},fm:function(){return i.fm},gF:function(){return i.gF},gy:function(){return i.gy},nv:function(){return o.nv},u1:function(){return o.u1},x:function(){return i.x}
1,x4:function(){return i.x4},z2:function(){return i.z2},zp:function(){return o.zp}});var i=n(61271),o=n(91187)}}]);
2//# sourceMappingURL=984-65442a7c1d7e8aad.js.map

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.