AdsManagerEmailVerificationScreenComponent.react",["fbt","AdsAccountSettingsNotificationsUtils","AdsManagerEmailVerificationScreenComponentMutation.graphql","AdsManagerReachabilitySettingsContentUtils.react","AdsManagerReachabilityWidgetLoggingUtils","EditEmailAndPhoneModalStep","GeoButton.react","GeoLink.react","GeoModal.react","GeoModalFooter.react","GeoModalHeader.react","GeoSection.react","GeoText.react","GeoTextInput.react","RelayHooks","geoMargin","react","react-compiler-runtime","stylex","useSendAMConfirmationCodeEmailMutation"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j,k,l=k||(k=d("react"));e=k;var m=e.useEffect,n=e.useState;function a(a){var e=d("react-compiler-runtime").c(47),f=a.adAccountID,g=a.onCloseAndRefetch,k=a.setModalStep,p=a.unverifiedEmail,q=a.userEntryPoint,r;e[0]!==f||e[1]!==q?(a=function(){d("AdsManagerReachabilityWidgetLoggingUtils").logReachabilityWidgetImpressionEvent(f,"AdsManagerEmailVerificationScreenComponent",q)},r=[f,q],e[0]=f,e[1]=q,e[2]=a,e[3]=r):(a=e[2],r=e[3]);m(a,r);a=n("");var s=a[0],t=a[1];r=n(!1);a=r[0];var u=r[1];e[4]===Symbol["for"]("react.memo_cache_sentinel")?(r=i!==void 0?i:i=b("AdsManagerEmailVerificationScreenComponentMutation.graphql"),e[4]=r):r=e[4];r=d("RelayHooks").useMutation(r);var v=r[0];r=s==="";var w;e[5]===Symbol["for"]("react.memo_cache_sentinel")?(w=d("AdsManagerReachabilitySettingsContentUtils.react").getAdsManagerEditEmailBackButtonContent(),e[5]=w):w=e[5];e[6]!==k?(w=l.jsx(c("GeoButton.react"),{label:w,onClick:function(){k(c("EditEmailAndPhoneModalStep").EDIT_EMAIL)}}),e[6]=k,e[7]=w):w=e[7];w=w;var x=c("useSendAMConfirmationCodeEmailMutation")(),y;e[8]!==x||e[9]!==p?(y=function(){x({email:p!=null?p:"",onCompleted:o})},e[8]=x,e[9]=p,e[10]=y):y=e[10];var z;e[11]===Symbol["for"]("react.memo_cache_sentinel")?(z=d("AdsManagerReachabilitySettingsContentUtils.react").getAdsManagerEditEmailResendCodeButtonContent(),e[11]=z):z=e[11];e[12]!==y?(z=l.jsx(c("GeoLink.react"),{onClick:y,children:z}),e[12]=y,e[13]=z):z=e[13];y=z;e[14]===Symbol["for"]("react.memo_cache_sentinel")?(z=h._(/*BTDS*/"your email address"),e[14]=z):z=e[14];z=z;var A;e[15]===Symbol["for"]("react.memo_cache_sentinel")?(A=d("AdsManagerReachabilitySettingsContentUtils.react").getAdsManagerEditEmailAndPhoneContinueButtonContent(),e[15]=A):A=e[15];var B;e[16]!==v||e[17]!==s||e[18]!==g||e[19]!==p?(B=function(){v({variables:{input:{email:p!=null?p:"",email_verification_code:s}},onCompleted:function(){d("AdsAccountSettingsNotificationsUtils").triggerAdsManagerEmailVerifiedToast(),g()},onError:function(){u(!0)}})},e[16]=v,e[17]=s,e[18]=g,e[19]=p,e[20]=B):B=e[20];e[21]!==r||e[22]!==B?(A=l.jsx(c("GeoButton.react"),{isDisabled:r,label:A,variant:"primary",onClick:B}),e[21]=r,e[22]=B,e[23]=A):A=e[23];e[24]!==w||e[25]!==y||e[26]!==A?(r=l.jsx(c("GeoModalFooter.react"),{primaryButton:A,secondaryButton:w,startContent:y}),e[24]=w,e[25]=y,e[26]=A,e[27]=r):r=e[27];e[28]===Symbol["for"]("react.memo_cache_sentinel")?(B=l.jsx(c("GeoModalHeader.react"),{heading:h._(/*BTDS*/"Enter confirmation code")}),e[28]=B):B=e[28];e[29]!==p?(w=l.jsx(c("GeoText.react"),{children:h._(/*BTDS*/"Enter the code we sent to {=m2} to confirm your email address. This code will expire in 60 minutes.",[h._implicitParam("=m2",l.jsx("b",{children:h._(/*BTDS*/"{email-address}",[h._param("email-address",p!=null?p:z)])}))])}),e[29]=p,e[30]=w):w=e[30];e[31]===Symbol["for"]("react.memo_cache_sentinel")?(y=l.jsx("div",babelHelpers["extends"]({},(j||(j=c("stylex"))).props(c("geoMargin").top16))),e[31]=y):y=e[31];e[32]!==a?(A=a?h._(/*BTDS*/"Enter valid confirmation code."):null,e[32]=a,e[33]=A):A=e[33];e[34]===Symbol["for"]("react.memo_cache_sentinel")?(z=h._(/*BTDS*/"Confirmation code"),a=h._(/*BTDS*/"Enter confirmation code"),e[34]=z,e[35]=a):(z=e[34],a=e[35]);var C;e[36]===Symbol["for"]("react.memo_cache_sentinel")?(C=function(a){t(a)},e[36]=C):C=e[36];e[37]!==s||e[38]!==A?(z=l.jsx(c("GeoTextInput.react"),{errorMessage:A,label:z,placeholder:a,type:"text",value:s,onChange:C}),e[37]=s,e[38]=A,e[39]=z):z=e[39];e[40]!==w||e[41]!==z?(a=l.jsxs(c("GeoSection.react"),{children:[w,y,z]}),e[40]=w,e[41]=z,e[42]=a):a=e[42];e[43]!==g||e[44]!==r||e[45]!==a?(C=l.jsx(c("GeoModal.react"),{footer:r,header:B,isShown:!0,onHide:g,children:a}),e[43]=g,e[44]=r,e[45]=a,e[46]=C):C=e[46];return C}function o(){d("AdsAccountSettingsNotificationsUtils").triggerAdsManagerEmailConfirmationSentToast()}g["default"]=a}),226);
-----
AdsManagerEmailVerificationScreenComponentMutation.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{defaultValue:null,kind:"LocalArgument",name:"input"}],b=[{alias:null,args:[{kind:"Variable",name:"input_data",variableName:"input"}],kind:"ScalarField",name:"validate_email_verification_code",storageKey:null}];return{fragment:{argumentDefinitions:a,kind:"Fragment",metadata:null,name:"AdsManagerEmailVerificationScreenComponentMutation",selections:b,type:"Mutation",abstractKey:null},kind:"Request",operation:{argumentDefinitions:a,kind:"Operation",name:"AdsManagerEmailVerificationScreenComponentMutation",selections:b},params:{id:"29765902983054879",metadata:{},name:"AdsManagerEmailVerificationScreenComponentMutation",operationKind:"mutation",text:null}}}();e.exports=a}),null);
-----