CandidatePortalPasswordResetMutation",["CandidatePortalBrowserSession","CandidatePortalLoggingUtils","CandidatePortalPasswordResetMutation.graphql","CandidatePortalRelayEnvironment","PIERelayModernMutator","Promise","asyncToGeneratorRuntime"],(function(a,b,c,d,e,f,g){"use strict";var h,i;function a(a){return j.apply(this,arguments)}function j(){j=b("asyncToGeneratorRuntime").asyncToGenerator(function*(a){d("CandidatePortalLoggingUtils").logInfo("EMAIL_PASSWORD_RESET","PASSWORD_RESET_MUTATION");return new(i||(i=b("Promise")))(function(e,f){return d("PIERelayModernMutator").commitMutation({callbacks:{onCompleted:e,onError:f},environment:c("CandidatePortalRelayEnvironment"),eventType:"candidate_portal.password_reset.mutation",mutation:h!==void 0?h:h=b("CandidatePortalPasswordResetMutation.graphql"),mutationData:babelHelpers["extends"]({},a,{session_id:d("CandidatePortalBrowserSession").getSessionKey()}),productType:"CANDIDATE_PORTAL"})})});return j.apply(this,arguments)}g.commit=a}),98);
-----
CandidatePortalPasswordResetMutation.graphql",["CandidatePortalPasswordResetMutation_candidate_portalRelayOperation"],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{defaultValue:null,kind:"LocalArgument",name:"input"}],c=[{alias:null,args:[{kind:"Variable",name:"input",variableName:"input"}],kind:"ScalarField",name:"password_reset",storageKey:null}];return{fragment:{argumentDefinitions:a,kind:"Fragment",metadata:null,name:"CandidatePortalPasswordResetMutation",selections:c,type:"Mutation",abstractKey:null},kind:"Request",operation:{argumentDefinitions:a,kind:"Operation",name:"CandidatePortalPasswordResetMutation",selections:c},params:{id:b("CandidatePortalPasswordResetMutation_candidate_portalRelayOperation"),metadata:{},name:"CandidatePortalPasswordResetMutation",operationKind:"mutation",text:null}}}();e.exports=a}),null);
-----
CandidatePortalPasswordResetMutation_candidate_portalRelayOperation",[],(function(a,b,c,d,e,f){e.exports="29415708021376845"}),null);
-----
CPAuthResetPasswordForm.react",["errorCode","fbt","CPAuthResetPasswordFormContext.react","CPAuthResetPasswordFormFields.react","CPXCareerSiteAlumniPortalPageController","CPXCareerSiteCareerProfileHomePageController","CandidatePortalAuthContainer.react","CandidatePortalBrowserSession","CandidatePortalGuidanceCard.react","CandidatePortalLoggingUtils","CandidatePortalMainPageUtils","CandidatePortalPasswordResetMutation","asyncToGeneratorRuntime","justknobx","react","useCPNavigate","useCandidatePortalImpressionLog"],(function(a,b,c,d,e,f,g,h,i){"use strict";var j,k=j||(j=d("react")),l=j.useState,m=3;function a(a){var e,f=a.email,g=a.isAlumni,h=g===void 0?!1:g,j=a.nonce,n=a.redirect,o=a.source;g=c("useCPNavigate")();var p=g.cpGoURI;a=l(null);g=a[0];var q=a[1];a=l(0);var r=a[0],s=a[1];a=c("justknobx")._("213");c("useCandidatePortalImpressionLog")("EMAIL_PASSWORD_RESET",{payload:{source:(e=o)!=null?e:"password_reset_form"}});var t=h?c("CPXCareerSiteAlumniPortalPageController").getURIBuilder():c("CPXCareerSiteCareerProfileHomePageController").getURIBuilder();e=function(){var a=b("asyncToGeneratorRuntime").asyncToGenerator(function*(a){d("CandidatePortalLoggingUtils").logCriticalAction("EMAIL_PASSWORD_RESET","SUBMIT_PASSWORD_RESET");q(null);s(r+1);try{yield d("CandidatePortalPasswordResetMutation").commit({user_email:f,new_password:{sensitive_string_value:a},nonce:{sensitive_string_value:j},is_alumni_portal:h,session_id:d("CandidatePortalBrowserSession").getSessionKey(),source:o}),d("CandidatePortalLoggingUtils").logInfo("EMAIL_PASSWORD_RESET","EMAIL_PASSWORD_RESET_SUBMIT_CONFIRMATION"),p(n!=null?n:t.getURI().setQueryData({guidance_event:c("CandidatePortalGuidanceCard.react").GUIDANCE_EVENTS.PASSWORD_UPDATED_SUCCESS}).stripTrailingSlash().toString())}catch(a){d("CandidatePortalLoggingUtils").logError("EMAIL_PASSWORD_RESET",100,"SUBMIT_PASSWORD_ERROR",a);switch(a.code){case 2805027:p(d("CandidatePortalMainPageUtils").CreateGenericErrorPageURI("rate_limited",h));break;default:r>=m?p(d("CandidatePortalMainPageUtils").CreateGenericErrorPageURI("link_expired",h)):q({status:"error",guidance:"RESET_PASSWORD_GENERIC"})}}});return function(b){return a.apply(this,arguments)}}();var u=i._("Reset your password"),v=i._("Enter a new password, and we"ll get you back into your account.");g=g!=null&&k.jsx("div",{className:"xg87l8a",children:k.jsx(c("CandidatePortalGuidanceCard.react"),{guidance:g.guidance,status:g.status})});e=k.jsx(d("CPAuthResetPasswordFormContext.react").CPAuthResetPasswordFormContext,{children:k.jsx(c("CPAuthResetPasswordFormFields.react"),{onSave:e})});return a?k.jsxs(k.Fragment,{children:[e,g]}):k.jsxs(c("CandidatePortalAuthContainer.react"),{className:"xh8yej3 x8rgt9n xp7zrkg",subsubtitle:v,title:u,children:[e,g]})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
-----
CandidatePortalPasswordResetMutation",["CandidatePortalBrowserSession","CandidatePortalLoggingUtils","CandidatePortalPasswordResetMutation.graphql","CandidatePortalRelayEnvironment","PIERelayModernMutator","Promise","asyncToGeneratorRuntime"],(function(a,b,c,d,e,f,g){"use strict";var h,i;function a(a){return j.apply(this,arguments)}function j(){j=b("asyncToGeneratorRuntime").asyncToGenerator(function*(a){d("CandidatePortalLoggingUtils").logInfo("EMAIL_PASSWORD_RESET","PASSWORD_RESET_MUTATION");return new(i||(i=b("Promise")))(function(e,f){return d("PIERelayModernMutator").commitMutation({callbacks:{onCompleted:e,onError:f},environment:c("CandidatePortalRelayEnvironment"),eventType:"candidate_portal.password_reset.mutation",mutation:h!==void 0?h:h=b("CandidatePortalPasswordResetMutation.graphql"),mutationData:babelHelpers["extends"]({},a,{session_id:d("CandidatePortalBrowserSession").getSessionKey()}),productType:"CANDIDATE_PORTAL"})})});return j.apply(this,arguments)}g.commit=a}),98);
-----
CandidatePortalPasswordResetMutation.graphql",["CandidatePortalPasswordResetMutation_candidate_portalRelayOperation"],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{defaultValue:null,kind:"LocalArgument",name:"input"}],c=[{alias:null,args:[{kind:"Variable",name:"input",variableName:"input"}],kind:"ScalarField",name:"password_reset",storageKey:null}];return{fragment:{argumentDefinitions:a,kind:"Fragment",metadata:null,name:"CandidatePortalPasswordResetMutation",selections:c,type:"Mutation",abstractKey:null},kind:"Request",operation:{argumentDefinitions:a,kind:"Operation",name:"CandidatePortalPasswordResetMutation",selections:c},params:{id:b("CandidatePortalPasswordResetMutation_candidate_portalRelayOperation"),metadata:{},name:"CandidatePortalPasswordResetMutation",operationKind:"mutation",text:null}}}();e.exports=a}),null);
-----
CandidatePortalPasswordResetMutation_candidate_portalRelayOperation",[],(function(a,b,c,d,e,f){e.exports="3448246935299382"}),null);
-----