AdsManagerEditEmailAndPhoneModalContainer.react",["AMPhoneCountryCodeUtils.react","AdsManagerEditEmailAndPhoneModalContainerQuery.graphql","AdsManagerEditEmailModalComponent.react","AdsManagerEditPhoneModalComponent.react","AdsManagerEditPhoneModalComponentV2.react","AdsManagerEmailConfirmationSentModalComponent.react","AdsManagerEmailVerificationScreenComponent.react","AdsManagerPhoneVerificationScreenComponent.react","AdsManagerReachabilityWidgetLoggingUtils","EditEmailAndPhoneModalStep","RelayHooks","getShouldShowNewEmailVerificationFlow","react","react-compiler-runtime"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||(i=d("react"));e=i;e.useCallback;var k=e.useEffect,l=e.useState,m=h!==void 0?h:h=b("AdsManagerEditEmailAndPhoneModalContainerQuery.graphql");function a(a){var b,e,f,g,h,i,n=d("react-compiler-runtime").c(47);a=a.props;var o=a.onHide,p=a.adAccountID,q=a.step,r=a.onRefetch,s=a.userEntryPoint;a=d("RelayHooks").useLazyLoadQuery(m,{},{fetchPolicy:"network-only"});b=(b=a.ad_account_notification_preferences)==null?void 0:b.am_email_address_with_fallback;(e=a.ad_account_notification_preferences)==null?void 0:e.am_verified_email;e=(e=(e=a.ad_account_notification_preferences)==null?void 0:(e=e.am_verified_phone)==null?void 0:e.national_number)!=null?e:"";var t;n[0]!==o||n[1]!==r?(t=function(){o("layerCancelButton"),r()},n[0]=o,n[1]=r,n[2]=t):t=n[2];t=t;q=l(q);var u=q[0];q=q[1];f=l((f=a.ad_account_notification_preferences)==null?void 0:f.am_unverified_email);var v=f[0];f=f[1];g=l((g=a.ad_account_notification_preferences)==null?void 0:(g=g.am_unverified_phone)==null?void 0:g.national_number);var w=g[0];g=g[1];var x;if(n[3]!==((h=a.ad_account_notification_preferences)==null?void 0:(h=h.am_unverified_phone)==null?void 0:h.country_prefix)||n[4]!==((h=a.ad_account_notification_preferences)==null?void 0:(h=h.am_verified_phone)==null?void 0:h.country_prefix)){var y,z;h=d("AMPhoneCountryCodeUtils.react").getCountryCodeSearchableEntries();x=(y=(y=(y=a.ad_account_notification_preferences)==null?void 0:(y=y.am_unverified_phone)==null?void 0:y.country_prefix)!=null?y:(y=a.ad_account_notification_preferences)==null?void 0:(y=y.am_verified_phone)==null?void 0:y.country_prefix)!=null?y:"";y=l;h=(h=h.getSearchableEntries().find(function(a){return a.getTitle()===x}))!=null?h:null;n[3]=(z=a.ad_account_notification_preferences)==null?void 0:(z=z.am_unverified_phone)==null?void 0:z.country_prefix;n[4]=(z=a.ad_account_notification_preferences)==null?void 0:(z=z.am_verified_phone)==null?void 0:z.country_prefix;n[5]=x;n[6]=y;n[7]=h}else x=n[5],y=n[6],h=n[7];z=y(h);y=z[0];h=z[1];z=l((z=(z=a.ad_account_notification_preferences)==null?void 0:(z=z.am_unverified_phone)==null?void 0:z.international_number)!=null?z:"");var A=z[0];z=z[1];var B;n[8]===Symbol["for"]("react.memo_cache_sentinel")?(B={isEmailandChatOptIn:!1,isEmailOptIn:!1,isCallsOptIn:!1,isSMSOptIn:!1},n[8]=B):B=n[8];B=l(B);var C=B[0];B=B[1];var D=(i=(i=a.ad_account_notification_preferences)==null?void 0:i.is_in_strict_countries)!=null?i:!1,E;n[9]!==p||n[10]!==D||n[11]!==s?(i=function(){d("AdsManagerReachabilityWidgetLoggingUtils").logReachabilityWidgetImpressionEvent(p,"AdsManagerEditEmailAndPhoneCardModalContainer",s,D)},E=[p,s,D],n[9]=p,n[10]=D,n[11]=s,n[12]=i,n[13]=E):(i=n[12],E=n[13]);k(i,E);n[14]===Symbol["for"]("react.memo_cache_sentinel")?(i=d("getShouldShowNewEmailVerificationFlow").getShouldShowNewEmailVerificationFlow(),n[14]=i):i=n[14];E=i;n[15]!==p||n[16]!==C||n[17]!==t||n[18]!==x||n[19]!==y||n[20]!==w||n[21]!==s||n[22]!==e?(i=E?j.jsx(c("AdsManagerEditPhoneModalComponentV2.react"),{adAccountID:p,marketingOptInStates:C,prefilledCountryPrefix:x,setMarketingOptInStates:B,setModalStep:q,setUnverifiedPhoneCountryPrefix:h,setUnverifiedPhoneFormatted:z,setUnverifiedPhoneNumber:g,unverifiedPhoneCountryPrefix:y,unverifiedPhoneNumber:w,userEntryPoint:s,verifiedPhoneNumber:e,onCloseAndRefetch:t},"AdsManagerEditPhoneModalComponentV2"):j.jsx(c("AdsManagerEditPhoneModalComponent.react"),{adAccountID:p,marketingOptInStates:C,prefilledCountryPrefix:x,setMarketingOptInStates:B,setModalStep:q,setUnverifiedPhoneCountryPrefix:h,setUnverifiedPhoneFormatted:z,setUnverifiedPhoneNumber:g,unverifiedPhoneCountryPrefix:y,unverifiedPhoneNumber:w,userEntryPoint:s,verifiedPhoneNumber:e,onCloseAndRefetch:t},"AdsManagerEditPhoneModalComponent"),n[15]=p,n[16]=C,n[17]=t,n[18]=x,n[19]=y,n[20]=w,n[21]=s,n[22]=e,n[23]=i):i=n[23];h=i;y=(g=(z=a.ad_account_notification_preferences)==null?void 0:z.is_in_strict_countries)!=null?g:!1;n[24]!==p||n[25]!==C||n[26]!==t||n[27]!==y||n[28]!==v||n[29]!==s||n[30]!==b?(w=j.jsx(c("AdsManagerEditEmailModalComponent.react"),{adAccountID:p,isInStrictCountries:y,marketingOptInStates:C,setMarketingOptInStates:B,setModalStep:q,setUnverifiedEmail:f,unverifiedEmail:v,userEntryPoint:s,verifiedOrFBEmail:b,onCloseAndRefetch:t},"AdsManagerEditPhoneModalComponent"),n[24]=p,n[25]=C,n[26]=t,n[27]=y,n[28]=v,n[29]=s,n[30]=b,n[31]=w):w=n[31];e=w;n[32]!==p||n[33]!==t||n[34]!==v||n[35]!==s?(i=j.jsx(c("AdsManagerEmailConfirmationSentModalComponent.react"),{adAccountID:p,setModalStep:q,unverifiedEmail:v,userEntryPoint:s,onCloseAndRefetch:t},"AdsManagerEmailConfirmationSentModalComponent"),n[32]=p,n[33]=t,n[34]=v,n[35]=s,n[36]=i):i=n[36];a=i;n[37]!==p||n[38]!==t||n[39]!==v||n[40]!==s?(z=j.jsx(c("AdsManagerEmailVerificationScreenComponent.react"),{adAccountID:p,setModalStep:q,unverifiedEmail:v,userEntryPoint:s,onCloseAndRefetch:t},"AdsManagerEmailVerificationScreenComponent"),n[37]=p,n[38]=t,n[39]=v,n[40]=s,n[41]=z):z=n[41];g=z;n[42]!==p||n[43]!==t||n[44]!==A||n[45]!==s?(B=j.jsx(c("AdsManagerPhoneVerificationScreenComponent.react"),{adAccountID:p,setModalStep:q,unverifiedPhoneFormatted:A,userEntryPoint:s,onCloseAndRefetch:t},"AdsManagerPhoneVerificationScreenComponent"),n[42]=p,n[43]=t,n[44]=A,n[45]=s,n[46]=B):B=n[46];f=B;switch(u){case c("EditEmailAndPhoneModalStep").EDIT_EMAIL:return e;case c("EditEmailAndPhoneModalStep").EDIT_PHONE:return h;case c("EditEmailAndPhoneModalStep").EMAIL_CONFIRMATION_SENT:return E?g:a;case c("EditEmailAndPhoneModalStep").PHONE_CONFIRMATION_SENT:return f}}g["default"]=a}),98);
-----
AdsManagerEditEmailAndPhoneModalContainerQuery.graphql",["relay-runtime"],(function(a,b,c,d,e,f){"use strict";a=function(){var a={alias:null,args:null,kind:"ScalarField",name:"country_prefix",storageKey:null},b={alias:null,args:null,kind:"ScalarField",name:"national_number",storageKey:null};a=[{alias:null,args:null,concreteType:"AdAccountNotificationPreferences",kind:"LinkedField",name:"ad_account_notification_preferences",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"am_email_address_with_fallback",storageKey:null},{alias:null,args:null,concreteType:"AdsManagerPhoneNumber",kind:"LinkedField",name:"am_unverified_phone",plural:!1,selections:[a,b,{alias:null,args:null,kind:"ScalarField",name:"international_number",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"AdsManagerPhoneNumber",kind:"LinkedField",name:"am_verified_phone",plural:!1,selections:[a,b],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"am_verified_email",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"am_unverified_email",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"is_in_strict_countries",storageKey:null}],storageKey:null}];return{fragment:{argumentDefinitions:[],kind:"Fragment",metadata:{throwOnFieldError:!0},name:"AdsManagerEditEmailAndPhoneModalContainerQuery",selections:a,type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[],kind:"Operation",name:"AdsManagerEditEmailAndPhoneModalContainerQuery",selections:a},params:{id:"24043325175250987",metadata:{},name:"AdsManagerEditEmailAndPhoneModalContainerQuery",operationKind:"query",text:null}}}();b("relay-runtime").PreloadableQueryRegistry.set(a.params.id,a);e.exports=a}),null);
-----
-----
AdsManagerEditEmailAndPhoneModalContainerQuery.graphql",["relay-runtime"],(function(a,b,c,d,e,f){"use strict";a=function(){var a={alias:null,args:null,kind:"ScalarField",name:"country_prefix",storageKey:null},b={alias:null,args:null,kind:"ScalarField",name:"national_number",storageKey:null};a=[{alias:null,args:null,concreteType:"AdAccountNotificationPreferences",kind:"LinkedField",name:"ad_account_notification_preferences",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"am_email_address_with_fallback",storageKey:null},{alias:null,args:null,concreteType:"AdsManagerPhoneNumber",kind:"LinkedField",name:"am_unverified_phone",plural:!1,selections:[a,b,{alias:null,args:null,kind:"ScalarField",name:"international_number",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"AdsManagerPhoneNumber",kind:"LinkedField",name:"am_verified_phone",plural:!1,selections:[a,b],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"am_verified_email",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"am_unverified_email",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"is_in_strict_countries",storageKey:null}],storageKey:null}];return{fragment:{argumentDefinitions:[],kind:"Fragment",metadata:{throwOnFieldError:!0},name:"AdsManagerEditEmailAndPhoneModalContainerQuery",selections:a,type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[],kind:"Operation",name:"AdsManagerEditEmailAndPhoneModalContainerQuery",selections:a},params:{id:"24043325175250987",metadata:{},name:"AdsManagerEditEmailAndPhoneModalContainerQuery",operationKind:"query",text:null}}}();b("relay-runtime").PreloadableQueryRegistry.set(a.params.id,a);e.exports=a}),null);
-----