AdsEventsManagerCAPISetupWithBirchAPIDetailsModal.react",["fbt","AdsEventsManagerAhpGatewayAddDatasourceDataProvider","AdsEventsManagerConversionsAPIGatewayPartnerAPIOnboardingAction","AdsEventsManagerOnboardingCommonFbts","AdsFluxHooks","AhpGatewayProduct","AsyncRequest","ConversionsAPIGatewayOnboardingSteps","ConversionsAPIMarketingExpertEntryContainer.react","ConversionsAPIMarketingExpertUtils","GeoBaseText.react","GeoButton.react","GeoCheckboxInput.react","GeoFlexbox.react","GeoFormVerticalLayout.react","GeoGuidanceCard.react","GeoGuidanceCardContent.react","GeoGuidanceCardHeader.react","GeoLink.react","GeoModalCard.react","GeoModalFooter.react","GeoModalHeader.react","GeoText.react","PartnerIntegrationFBConvServiceAWSConstants","PartnerIntegrationFBConvServiceAWSUtil","PartnerNames","Partners1ClickDaysToClaimAccountSitevarConfig","S2SSetupFlowStrings","SGWClickEvents","SignalsConversionsAPIGatewayFocusedOnboardingFlowContext","SignalsGatewayLoggingUtil","SignalsLoggingBoundary.react","XEventsManagerBirchAPICreateSignalsGatewayInstanceController","XOpenBridgeConfigurationsUpdatePartnerOnboardingDetailsController","XS2SGenerateAccessTokenController","adsCreateStructuredSelector","adsEventsManagerBusinessIDSelector","adsEventsManagerDataSourceIDSelectorEnforced","adsEventsManagerPixelSelector","geoMargin","getSGWLogScope","gkx","isTruthy","react","stylex","useCallOnceImmediately","useCreateOneClickPartnerConnectionEnt","useGeoTheme","useSignalsLogger"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j,k=j||(j=d("react"));b=j;var l=b.useCallback,m=b.useContext,n=b.useEffect,o=b.useState,p=c("adsCreateStructuredSelector")({addDataSourceData:c("AdsEventsManagerAhpGatewayAddDatasourceDataProvider").toFluxSelector()},f.id+".selector"),q="https://bir.ch/signals-gateway";function a(a){a=d("AdsFluxHooks").useAdsSelector(c("adsEventsManagerBusinessIDSelector"));var b=d("AdsFluxHooks").useAdsSelector(c("adsEventsManagerPixelSelector")),e=(a=a)!=null?a:b==null?void 0:(a=b.getValue())==null?void 0:(b=a.ownerBusiness)==null?void 0:b.id,g=d("AdsFluxHooks").useAdsSelector(c("adsEventsManagerDataSourceIDSelectorEnforced"));a=d("AdsFluxHooks").useAdsSelector(p);b=a.addDataSourceData;var j=b.ahpGatewayProduct,r=c("useCreateOneClickPartnerConnectionEnt")();a=c("useGeoTheme")();b=a.selectBorderColor;a=a.selectSpacing;var s=o(!1),t=s[0],u=s[1];s=o(!1);var v=s[0],w=s[1],x="US";s=o(null);var y=s[0],z=s[1];s=o(!1);var A=s[0];s=s[1];var B=o(!1),C=B[0];B=B[1];a=a({bounds:"internal",context:"container",relation:"component"});var D={padding:"16px"},E=m(c("SignalsConversionsAPIGatewayFocusedOnboardingFlowContext")),F=E.onNavigateToStep,G=j===c("AhpGatewayProduct").SGW,H=c("gkx")("10497");E=function(){M.scope("BIRCH_1CLICK_MANUAL_ONBOARDING_CLICKED").logClick(),F(c("ConversionsAPIGatewayOnboardingSteps").ConversionsAPIThroughBirch),u(!1)};var I=c("Partners1ClickDaysToClaimAccountSitevarConfig").Partners1ClickDaysToClaimAccount,J=function(){M.scope("BIRCH_API_CALL_LEARN_MORE").logClick()},K=function(){return A&&C?k.jsx(c("GeoButton.react"),{"data-testid":void 0,isLoading:v,label:d("S2SSetupFlowStrings").S2SSetupFlowStrings.CONNECT_BUTTON_LABEL,variant:"primary",onClick:function(){L()}}):k.jsx(c("GeoButton.react"),{isDisabled:!0,label:d("S2SSetupFlowStrings").S2SSetupFlowStrings.CONNECT_BUTTON_LABEL,variant:"primary"})},L=function(){G?d("SignalsGatewayLoggingUtil").sgwLogODS(c("SGWClickEvents").GATEWAY_CONNECT_SGW_BIRCH_CLICK):d("SignalsGatewayLoggingUtil").sgwLogODS(c("SGWClickEvents").GATEWAY_CONNECT_CAPIG_BIRCH_CLICK),w(!0),M.scope(d("getSGWLogScope").getSGWLogScope(j,"BIRCH_PARTNER_API_CALL_INVOKED")).logClick()},M=c("useSignalsLogger")();c("useCallOnceImmediately")(function(){M.logRender()});var N=function(){M.scope("BIRCH_API_CALL_SIGNALS_GATEWAY").logClick()},O=l(function(){if(g!=null&&e!=null&&v){var a=c("XS2SGenerateAccessTokenController").getURIBuilder().getURI();new(c("AsyncRequest"))(a).setAllowCrossOrigin(!0).setMethod("POST").setData({business_id:e,signal_source_id:g}).setPayloadHandler(function(a){M.scope("BIRCH_PARTNER_API_CALL_ACCESS_TOKEN_GENERATED");a=a.access_token;z(a)}).setErrorHandler(function(){M.scope("BIRCH_PARTNER_API_CALL_ACCESS_TOKEN_GENERATION_FAILED").logClick(),u(!0),w(!1)}).send()}},[e,g,M,v]);n(function(){O()},[O]);var P=l(function(){if(e!=null&&g!=null&&y!=null&&A&&C&&v){M.scope("BIRCH_PARTNER_API_CALL_PLACED").logClick();var a=c("XEventsManagerBirchAPICreateSignalsGatewayInstanceController").getURIBuilder().getURI();new(c("AsyncRequest"))(a).setAllowCrossOrigin(!0).setMethod("POST").setData({access_token:y,business_id:e,instance_type:(a=j)!=null?a:"capig",pixel_id:g,zone:x}).setPayloadHandler(function(a){a=a==null?void 0:(a=a.redirectUrl)==null?void 0:a.toString();a?(M.scope("BIRCH_PARTNER_API_CALL_SUCCESS").logClick(),Q(a)):(M.scope("BIRCH_PARTNER_API_CALL_FAILED_NO_REDIRECT_URL").logClick(),u(!0),w(!1))}).setErrorHandler(function(){M.scope("BIRCH_PARTNER_API_CALL_FAILED").logClick(),u(!0),w(!1)}).send()}},[e,g,y,A,C,v,M]);n(function(){P()},[P]);var Q=function(a){R(a),c("AdsEventsManagerConversionsAPIGatewayPartnerAPIOnboardingAction").dispatch({redirectURL:a},{line:"268",module:"AdsEventsManagerCAPISetupWithBirchAPIDetailsModal.react.js",moduleID:f.id}),M.scope("BIRCH_PARTNER_API_CALL_SUCCESS_REDIRECT_URL").logClick(),F(c("ConversionsAPIGatewayOnboardingSteps").ConversionsAPIThroughBirchAPIsSuccess)},R=function(a){var b=c("XOpenBridgeConfigurationsUpdatePartnerOnboardingDetailsController").getURIBuilder().getURI();new(c("AsyncRequest"))(b).setAllowCrossOrigin(!0).setMethod("POST").setData({partner_claim_account_days_to_expiry:I.Birch,partner_claim_account_endpoint:a,pixel_id:g}).setPayloadHandler(function(a){M.scope("BIRCH_PARTNER_CLAIM_ACCOUNT_ENDPOINT_SAVED_TO_OPENBRIDGE_CONFIGURATION").logClick()}).setErrorHandler(function(){M.scope("BIRCH_PARTNER_CLAIM_ACCOUNT_ENDPOINT_FAILED_TO_UPDATE_OPENBRIDGE_CONFIGURATION").logClick()}).send();H&&e!=null&&r({businessID:e,claimAccountEndpoint:a,isSGW:G,partnerClaimAccountDaysToExpiry:I.Birch,partnerName:c("PartnerNames").BIRCH.valueOf(),pixelID:g}).then(function(a){a===!0?M.scope("BIRCH_PARTNER_CLAIM_ACCOUNT_ENDPOINT_SAVED_TO_ONE_CLICK_ENT").logClick():M.scope("BIRCH_PARTNER_CLAIM_ACCOUNT_ENDPOINT_FAILED_TO_SAVE_TO_ONE_CLICK_ENT").logClick()})["catch"](function(){M.scope("BIRCH_PARTNER_CLAIM_ACCOUNT_ENDPOINT_FAILED_TO_SAVE_TO_ONE_CLICK_ENT").logClick()})};return k.jsx(c("GeoModalCard.react"),{footer:k.jsx(c("GeoModalFooter.react"),{primaryButton:K(),secondaryButton:k.jsx(c("GeoButton.react"),{isDisabled:v,label:h._(/*BTDS*/"u0935u093eu092au0938 u091cu093eu090fu0901"),onClick:function(){d("PartnerIntegrationFBConvServiceAWSUtil").handleBackToAllCAPIGPartners(M,F)}}),startContent:k.jsx(c("ConversionsAPIMarketingExpertEntryContainer.react"),{defaultExperience:null,sourceTracking:d("ConversionsAPIMarketingExpertUtils").SOURCE_TRACKING_CAPI_GATEWAY_ONBOARDING_BIRCH})}),header:k.jsx(c("GeoModalHeader.react"),{description:h._(/*BTDS*/"u0915u092e u0938u094du091fu0947u092a u0914u0930 u0906u0938u093eu0928 u0924u0915u0928u0940u0915u0940 u0936u0930u094du0924u094bu0902 u0915u094b u092au0942u0930u093e u0915u0930u0915u0947 u0905u092au0928u0947 Signals Gateway u0915u094b u0938u0947u091f u0915u0930u0928u0947 u0915u0947 u0932u093fu090f, Birch u0915u0947 u0915u094du0932u093eu0909u0921 u090fu0928u0935u093eu092fu0930u0928u094du092eu0947u0902u091f u0915u093e u0907u0938u094du0924u0947u092eu093eu0932 u0915u0930u0947u0902. {=m2}",[h._implicitParam("=m2",k.jsx(c("GeoLink.react"),{href:q,target:"_blank",onClick:J,children:h._(/*BTDS*/"u0914u0930 u091cu093eu0928u0947u0902.")}))]),heading:h._(/*BTDS*/"Birch u0915u0947 u0938u093eu0925 Signals Gateway u0915u094b u0938u0947u091f u0915u0930u0947u0902")}),children:k.jsxs(c("GeoFlexbox.react"),{direction:"column",style:D,xstyle:a,children:[c("isTruthy")(t)?k.jsx("div",babelHelpers["extends"]({},(i||(i=c("stylex"))).props(c("geoMargin").bottom12),{children:k.jsx(c("GeoGuidanceCard.react"),{header:k.jsx(c("GeoGuidanceCardHeader.react"),{heading:h._(/*BTDS*/"Birch u0938u0947 u0915u0928u0947u0915u094du091f u0928u0939u0940u0902 u0915u093fu092fu093e u091cu093e u0938u0915u093e")}),status:"error",children:k.jsxs(c("GeoGuidanceCardContent.react"),{children:[k.jsx("div",babelHelpers["extends"]({},(i||(i=c("stylex"))).props([b({color:"divider"})]),{children:k.jsx(c("GeoFlexbox.react"),{style:{borderBottom:"solid"},children:k.jsx(c("GeoText.react"),{children:h._(/*BTDS*/"_j{"*":"\u092b\u093c\u093f\u0932\u0939\u093e\u0932, \u0939\u092e Birch \u0938\u0947 \u0915\u0928\u0947\u0915\u094d\u091f \u0928\u0939\u0940\u0902 \u0915\u0930 \u092a\u093e \u0930\u0939\u0947 \u0939\u0948\u0902. \"\u0915\u0928\u0947\u0915\u094d\u091f \u0915\u0930\u0947\u0902\" \u092a\u0930 \u0915\u094d\u0932\u093f\u0915 \u0915\u0930\u0915\u0947 \u0906\u092a \u0926\u094b\u092c\u093e\u0930\u093e \u0915\u094b\u0936\u093f\u0936 \u0915\u0930 \u0938\u0915\u0924\u0947 \u0939\u0948\u0902 \u092f\u093e Birch \u0938\u0947 \u092e\u0948\u0928\u094d\u092f\u0941\u0905\u0932 \u0924\u0930\u0940\u0915\u0947 \u0938\u0947 \u0915\u0928\u0947\u0915\u094d\u091f \u0915\u0930\u0928\u0947 \u0915\u0947 \u0932\u093f\u090f \"\u092e\u0948\u0928\u094d\u092f\u0941\u0905\u0932 \u0924\u0930\u0940\u0915\u0947 \u0938\u0947 \u0915\u0928\u0947\u0915\u094d\u091f \u0915\u0930\u0947\u0902\" \u092a\u0930 \u0915\u094d\u0932\u093f\u0915 \u0915\u0930\u0947\u0902.","2":"\u092b\u093c\u093f\u0932\u0939\u093e\u0932, \u0939\u092e Birch \u0938\u0947 \u0915\u0928\u0947\u0915\u094d\u091f \u0928\u0939\u0940\u0902 \u0915\u0930 \u092a\u093e \u0930\u0939\u0947 \u0939\u0948\u0902. \"\u0915\u0928\u0947\u0915\u094d\u091f \u0915\u0930\u0947\u0902\" \u092a\u0930 \u0915\u094d\u0932\u093f\u0915 \u0915\u0930\u0915\u0947 \u0906\u092a \u0926\u094b\u092c\u093e\u0930\u093e \u0915\u094b\u0936\u093f\u0936 \u0915\u0930 \u0938\u0915\u0924\u0940 \u0939\u0948\u0902 \u092f\u093e Birch \u0938\u0947 \u092e\u0948\u0928\u094d\u092f\u0941\u0905\u0932 \u0924\u0930\u0940\u0915\u0947 \u0938\u0947 \u0915\u0928\u0947\u0915\u094d\u091f \u0915\u0930\u0928\u0947 \u0915\u0947 \u0932\u093f\u090f \"\u092e\u0948\u0928\u094d\u092f\u0941\u0905\u0932 \u0924\u0930\u0940\u0915\u0947 \u0938\u0947 \u0915\u0928\u0947\u0915\u094d\u091f \u0915\u0930\u0947\u0902\" \u092a\u0930 \u0915\u094d\u0932\u093f\u0915 \u0915\u0930\u0947\u0902.","__vcg":1}")})})})),k.jsx(c("GeoLink.react"),{onClick:E,children:h._(/*BTDS*/"u092eu0948u0928u094du092fu0941u0905u0932 u0924u0930u0940u0915u0947 u0938u0947 u0915u0928u0947u0915u094du091f u0915u0930u0947u0902")})]})})})):null,k.jsxs(c("GeoFormVerticalLayout.react"),{children:[k.jsx(c("GeoCheckboxInput.react"),{label:h._(/*BTDS*/"_j{"*":"\u091c\u093e\u0930\u0940 \u0930\u0916\u0928\u0947 \u0915\u093e \u092e\u0924\u0932\u092c \u0939\u0948 \u0915\u093f \u0906\u092a \u0938\u092e\u091d\u0924\u0947 \u0939\u0948\u0902 \u0914\u0930 \u0907\u0938\u0915\u0947 \u0932\u093f\u090f \u0938\u0939\u092e\u0924\u093f \u0926\u0947\u0924\u0947 \u0939\u0948\u0902 \u0915\u093f \u0906\u092a Birch \u0926\u094d\u0935\u093e\u0930\u093e \u0939\u094b\u0938\u094d\u091f \u0915\u093f\u090f \u091c\u093e \u0930\u0939\u0947 {=m2} \u0915\u0928\u0947\u0915\u094d\u0936\u0928 \u0915\u0947 \u091c\u093c\u0930\u093f\u090f Meta \u0915\u094b \u0921\u0947\u091f\u093e \u092d\u0947\u091c\u0947\u0902\u0917\u0947.","2":"\u091c\u093e\u0930\u0940 \u0930\u0916\u0928\u0947 \u0915\u093e \u092e\u0924\u0932\u092c \u0939\u0948 \u0915\u093f \u0906\u092a \u0938\u092e\u091d\u0924\u0940 \u0939\u0948\u0902 \u0914\u0930 \u0907\u0938\u0915\u0947 \u0932\u093f\u090f \u0938\u0939\u092e\u0924\u093f \u0926\u0947\u0924\u0940 \u0939\u0948\u0902 \u0915\u093f \u0906\u092a Birch \u0926\u094d\u0935\u093e\u0930\u093e \u0939\u094b\u0938\u094d\u091f \u0915\u093f\u090f \u091c\u093e \u0930\u0939\u0947 {=m2} \u0915\u0928\u0947\u0915\u094d\u0936\u0928 \u0915\u0947 \u091c\u093c\u0930\u093f\u090f Meta \u0915\u094b \u0921\u0947\u091f\u093e \u092d\u0947\u091c\u0947\u0902\u0917\u0940.","__vcg":1}",[h._implicitParam("=m2",k.jsx(c("GeoLink.react"),{href:d("PartnerIntegrationFBConvServiceAWSConstants").GATEWAY_LINK,target:"_blank",onClick:N,children:h._(/*BTDS*/"Signals Gateway")}))]),value:A,onChange:s}),k.jsx(c("GeoCheckboxInput.react"),{label:h._(/*BTDS*/"u0938u093eu0907u0928 u0905u092a u0915u0930u0928u0947 u0915u093e u092eu0924u0932u092c u0939u0948 u0915u093f u0906u092a u0905u092au0928u0940 Meta u092au093fu0915u094du0938u0947u0932 ID, u092cu093fu091cu093cu0928u0947u0938 ID u0914u0930 u090fu0915u094du0938u0947u0938 u091fu094bu0915u0928 u0915u094b Birch u0915u0947 u0938u093eu0925 u0936u0947u092fu0930 u0915u0930u0928u0947 u0915u0947 u0932u093fu090f u0938u0939u092eu0924 u0939u0948u0902, u0924u093eu0915u093f u092au093fu0915u094du0938u0947u0932 u0915u094b u0911u0928u092cu094bu0930u094du0921 u0915u093fu092fu093e u091cu093e u0938u0915u0947."),value:C,onChange:B})]}),k.jsxs("div",{children:[k.jsx(c("GeoFlexbox.react"),{style:{marginTop:"20px"},xstyle:b({color:"info"}),children:k.jsx(c("GeoBaseText.react"),{color:"placeholder",size:"value",xstyle:c("geoMargin").top8,children:G?h._(/*BTDS*/"u0907u0938 Signals Gateway u0915u0928u0947u0915u094du0936u0928 u0915u094b u092cu0928u093eu0928u0947 u0938u0947 Birch u0915u0947 u0938u093eu0925 u0906u092au0915u093e {Birch_sgw_days_to_claim_account} u0926u093fu0928u094bu0902 u0915u093e u091fu094du0930u093eu092fu0932 u0936u0941u0930u0942 u0939u094b u091cu093eu090fu0917u093e. u0907u0938 u0905u0935u0927u093f u0915u0947 u0926u094cu0930u093eu0928, u0906u092au0938u0947 u0905u092au0928u0947 u0908u092eu0947u0932 u0915u094b u0915u0928u094du092bu093cu0930u094du092e u0915u0930u0928u0947 u0914u0930 u0905u092au0928u0947 u0905u0915u093eu0909u0902u091f u0915u0947 u0932u093fu090f u0915u094du0930u0947u0921u0947u0902u0936u093fu092fu0932 u0938u0947u091f u0915u0930u0928u0947 u0915u0947 u0932u093fu090f u0915u0939u093e u091cu093eu090fu0917u093e.",[h._param("Birch_sgw_days_to_claim_account",I.Birch)]):h._(/*BTDS*/"u0907u0938 u0915u0928u094du0935u0930u094du091cu0928 API u0917u0947u091fu0935u0947 u0915u0928u0947u0915u094du0936u0928 u0915u094b u092cu0928u093eu0928u0947 u0938u0947 Birch u0915u0947 u0938u093eu0925 u0906u092au0915u093e {birch_capig_days_to_claim_account} u0926u093fu0928u094bu0902 u0915u093e u091fu094du0930u093eu092fu0932 u0936u0941u0930u0942 u0939u094b u091cu093eu090fu0917u093e. u0907u0938 u0905u0935u0927u093f u0915u0947 u0926u094cu0930u093eu0928, u0906u092au0938u0947 u0905u092au0928u0947 u0908u092eu0947u0932 u0915u094b u0915u0928u094du092bu093cu0930u094du092e u0915u0930u0928u0947 u0914u0930 u0905u092au0928u0947 u0905u0915u093eu0909u0902u091f u0915u0947 u0932u093fu090f u0915u094du0930u0947u0921u0947u0902u0936u093fu092fu0932 u0938u0947u091f u0915u0930u0928u0947 u0915u0947 u0932u093fu090f u0915u0939u093e u091cu093eu090fu0917u093e.",[h._param("birch_capig_days_to_claim_account",I.Birch)])})}),k.jsx(c("GeoFlexbox.react"),{style:{marginTop:"5px"},xstyle:b({color:"info"}),children:k.jsx(c("GeoBaseText.react"),{color:"placeholder",size:"value",xstyle:c("geoMargin").top8,children:h._(/*BTDS*/"u091fu094du0930u093eu092fu0932 u0916u0924u094du092e u0939u094bu0928u0947 u0915u0947 u092cu093eu0926 Birch u0915u093e u0907u0938u094du0924u0947u092eu093eu0932 u091cu093eu0930u0940 u0930u0916u0928u0947 u092au0930, u0906u092au0915u094b u092au0947u092eu0947u0902u091f u0915u0930u0928u0947 u0915u093e u0935u093fu0915u0932u094du092a u091cu094bu0921u093cu0928u0947 u0915u0947 u0932u093fu090f u0915u0939u093e u091cu093eu090fu0917u093e.")})})]}),k.jsx(c("GeoFlexbox.react"),{style:{borderTop:"solid",marginTop:"20px"},xstyle:b({color:"info"}),children:k.jsx(c("GeoText.react"),{xstyle:c("geoMargin").top8,children:d("AdsEventsManagerOnboardingCommonFbts").PartnerAPIDetailsModalConnectFooter})})]})})}a.displayName=a.name+" [from "+f.id+"]";e=c("SignalsLoggingBoundary.react").loggerConsumingComponent(d("AdsFluxHooks").adsFluxContainer(a,null,{containerName:f.id}),function(a){return a.scope("CAPI_GATEWAY_BIRCH_SETUP_API_DETAILS_STEP")});g["default"]=e}),226);
-----
GTMOnboardingConstants",["PartnerIntegrationFBConvServiceAWSConstants"],(function(a,b,c,d,e,f,g){"use strict";a="/images/ads/signals/events_manager/gtm/gtm_logo.png";b="/images/ads/signals/events_manager/gtm/gtm_icon_whitebg.png";c="/images/ads/signals/events_manager/gtm/stape.png";e="/images/ads/signals/events_manager/gtm/stape_icon_whitebg.png";f="https://developers.google.com/tag-platform/tag-manager/server-side/cloud-run-setup-guide?provisioning=automatic#cloud_run_calculator";var h="https://developers.google.com/tag-platform/tag-manager/server-side/overview";g.LOGO_MEDIA_SRC_GTM=a;g.LOGO_MEDIA_SRC_GTM_WHITEBG=b;g.LOGO_MEDIA_SRC_STAPE=c;g.LOGO_MEDIA_SRC_STAPE_WHITEBG=e;g.LINK_GOOGLE_PRICING_CALCULATOR=f;g.LINK_GOOGLE_ADVANCED_SERVER_CONTAINER_SETUP=h;g.LINK_STAPE_PRICING=d("PartnerIntegrationFBConvServiceAWSConstants").STAPE_PRICING}),98);
-----
AdsEventsManagerMetaHostedTestDriveOnboardingModal.react",["fbt","ix","AdsEventsManagerAhpGatewayAddDatasourceDataProvider","AdsEventsManagerConversionsAPIGatewayAssets","AdsEventsManagerConversionsAPIGatewaySetupFocusedModalDataProvider","AdsEventsManagerConversionsAPIGatewaySetupFocusedModalStateAction","AdsFluxHooks","AhpGatewayProduct","ConversionsAPIGatewayOnboardingSteps","ConversionsAPIMarketingExpertEntryContainer.react","ConversionsAPIMarketingExpertUtils","GeoBaseSpacingLayout.react","GeoButton.react","GeoCheckboxInput.react","GeoFlexbox.react","GeoFormVerticalLayout.react","GeoLink.react","GeoModalCard.react","GeoModalFooter.react","GeoModalHeader.react","GeoPill.react","GeoRadioList.react","GeoRadioListItem.react","GeoSpacingSelectors","GeoTextPairing.react","Image.react","PartnerIntegrationFBConvServiceAWSActions","PartnerIntegrationFBConvServiceAWSConstants","PartnerIntegrationFBConvServiceSetIsOnboardingByBusinessAction","PartnerIntegrationFBConvServiceSetOptInMetaHostedCloudAction","S2SSetupFlowStrings","SGWClickEvents","SignalsConversionsAPIGatewayFocusedOnboardingFlowContext","SignalsGatewayLoggingUtil","SignalsLoggingBoundary.react","adsCreateStructuredSelector","geoMargin","gkx","react","react-compiler-runtime","stylex","useSignalsLogger"],(function(a,b,c,d,e,f,g,h,i){"use strict";var j,k,l=k||(k=d("react"));b=k;var m=b.useContext,n=b.useEffect,o=b.useState,p=c("adsCreateStructuredSelector")({addDataSourceData:c("AdsEventsManagerAhpGatewayAddDatasourceDataProvider").toFluxSelector(),modalData:c("AdsEventsManagerConversionsAPIGatewaySetupFocusedModalDataProvider").toFluxSelector()},f.id+".selector"),q=d("GeoSpacingSelectors").selectSpacing({bounds:"internal",context:"container",relation:"component"}),r={checkbox:{paddingTop:"xyamay9",paddingEnd:"x1pi30zi",paddingBottom:"x1l90r2v",paddingStart:"x1swvt13",$$css:!0}};function a(a){a=d("react-compiler-runtime").c(82);var b=c("gkx")("4788")||c("gkx")("4834"),e=d("AdsFluxHooks").useAdsSelector(p);e=e.addDataSourceData;e=e.ahpGatewayProduct;var g=m(c("SignalsConversionsAPIGatewayFocusedOnboardingFlowContext")),k=g.onNavigateToStep,t=b&&e===c("AhpGatewayProduct").SGW,u=c("useSignalsLogger")();g=b?"https://developers.facebook.com/docs/marketing-api/conversions-api/guides/signals-gateway/setup":"https://developers.facebook.com/docs/marketing-api/conversions-api/guides/gateway/setup";var v;a[0]!==u?(v=function(){u.scope("TEST_DRIVE_WITH_META_HOSTED_LEARN_MORE").logClick()},a[0]=u,a[1]=v):v=a[1];v=v;var w=o(!0),x=w[0],y=w[1];a[2]===Symbol["for"]("react.memo_cache_sentinel")?(w=function(a){c("PartnerIntegrationFBConvServiceSetOptInMetaHostedCloudAction").dispatch({optInMetaHostedCloud:a},{line:"128",module:"AdsEventsManagerMetaHostedTestDriveOnboardingModal.react.js",moduleID:f.id}),y(a)},a[2]=w):w=a[2];var z=w;w=o(!0);var A=w[0];w=w[1];var B=o(!0),C=B[0],D=B[1];B=o(!0);var E=B[0],F=B[1];a[3]===Symbol["for"]("react.memo_cache_sentinel")?(B=function(a){d("PartnerIntegrationFBConvServiceAWSActions").updateEnableAdvancedMatching(a),D(a)},a[3]=B):B=a[3];var G=B;a[4]===Symbol["for"]("react.memo_cache_sentinel")?(B=function(a){c("PartnerIntegrationFBConvServiceSetIsOnboardingByBusinessAction").dispatch({isOnboardingByBusiness:a},{line:"149",module:"AdsEventsManagerMetaHostedTestDriveOnboardingModal.react.js",moduleID:f.id}),F(a)},a[4]=B):B=a[4];var H=B;if(a[5]!==A||a[6]!==t||a[7]!==u||a[8]!==k){B=function(){return A?l.jsx(c("GeoButton.react"),{"data-testid":void 0,isLoading:!1,label:d("S2SSetupFlowStrings").S2SSetupFlowStrings.CONNECT_BUTTON_LABEL,variant:"primary",onClick:function(){I()}}):l.jsx(c("GeoButton.react"),{isDisabled:!0,label:d("S2SSetupFlowStrings").S2SSetupFlowStrings.CONNECT_BUTTON_LABEL,variant:"primary"})};var I=function(){t?d("SignalsGatewayLoggingUtil").sgwLogODS(c("SGWClickEvents").GATEWAY_CONNECT_SGW_META_CLICK):d("SignalsGatewayLoggingUtil").sgwLogODS(c("SGWClickEvents").GATEWAY_CONNECT_CAPIG_META_CLICK),u.scope("META_HOSTED_CAPIG_CALL_INVOKED").logClick(),k(c("ConversionsAPIGatewayOnboardingSteps").ConversionsAPIThroughMetaHostedServerProvisioningInProgress)};a[5]=A;a[6]=t;a[7]=u;a[8]=k;a[9]=B}else B=a[9];var J;a[10]!==u?(J=function(){u.scope("META_HOSTED_TEST_DRIVE_ONBOARDING_SIGNALS_GATEWAY").logClick()},a[10]=u,a[11]=J):J=a[11];J=J;var K,L;a[12]===Symbol["for"]("react.memo_cache_sentinel")?(K=function(){z(!0),G(!0),H(!0)},L=[],a[12]=K,a[13]=L):(K=a[12],L=a[13]);n(K,L);a[14]!==B?(K=B(),a[14]=B,a[15]=K):K=a[15];a[16]===Symbol["for"]("react.memo_cache_sentinel")?(L=l.jsx(c("GeoButton.react"),{isDisabled:!1,label:h._(/*BTDS*/"Cancel"),onClick:s}),B=l.jsx(c("ConversionsAPIMarketingExpertEntryContainer.react"),{defaultExperience:null,sourceTracking:d("ConversionsAPIMarketingExpertUtils").SOURCE_TRACKING_CAPI_GATEWAY_TEST_DRIVE_ONBOARDING_META_HOSTED}),a[16]=L,a[17]=B):(L=a[16],B=a[17]);a[18]!==K?(L=l.jsx(c("GeoModalFooter.react"),{primaryButton:K,secondaryButton:L,startContent:B}),a[18]=K,a[19]=L):L=a[19];a[20]!==e?(B=l.jsx(c("GeoModalHeader.react"),{heading:b&&e===c("AhpGatewayProduct").SGW?h._(/*BTDS*/"Apply for a Signals Gateway demo"):h._(/*BTDS*/"Apply for a Conversions API Gateway demo")}),a[20]=e,a[21]=B):B=a[21];a[22]===Symbol["for"]("react.memo_cache_sentinel")?(K={className:"xas4zb2 x8u2fvd x1ht7hnu x1quq95r x5yzy4c x1iji9kk x1sln4lm x10b6aqq x1yrsyyn"},a[22]=K):K=a[22];a[23]===Symbol["for"]("react.memo_cache_sentinel")?(K=l.jsx("div",babelHelpers["extends"]({},K,{children:l.jsx(c("Image.react"),{height:"20px",src:i("868711"),width:"20px"})})),a[23]=K):K=a[23];var M;a[24]!==e?(M=b&&e===c("AhpGatewayProduct").SGW?h._(/*BTDS*/"Get more complete data to help improve ad targeting and increase ROI with Signals Gateway. If selected for a demo, you can get started with a quick, code-less setup."):h._(/*BTDS*/"Get more complete data to help improve ad targeting and increase ROI with Conversions API Gateway. If selected for a demo, you can get started with a quick, code-less setup."),a[24]=e,a[25]=M):M=a[25];var N;a[26]===Symbol["for"]("react.memo_cache_sentinel")?(N=h._(/*BTDS*/"{=m0}",[h._implicitParam("=m0",l.jsx("strong",{children:h._(/*BTDS*/"Get started with a free 90-day demo")}))]),a[26]=N):N=a[26];a[27]!==M?(K=l.jsxs(c("GeoBaseSpacingLayout.react"),{align:"start",context:"container",direction:"horizontal",relation:"related",xstyle:c("geoMargin").vert24,children:[K,l.jsx(c("GeoBaseSpacingLayout.react"),{align:"start",context:"container",direction:"vertical",relation:"related",children:l.jsx(c("GeoTextPairing.react"),{description:M,heading:N,overflowWrap:"break-word",size:"header3"})})]}),a[27]=M,a[28]=K):K=a[28];a[29]===Symbol["for"]("react.memo_cache_sentinel")?(N={className:"xas4zb2 x8u2fvd x1ht7hnu x1quq95r x5yzy4c x1iji9kk x1sln4lm x10b6aqq x1yrsyyn"},a[29]=N):N=a[29];a[30]===Symbol["for"]("react.memo_cache_sentinel")?(M=i("1345032"),a[30]=M):M=a[30];a[31]===Symbol["for"]("react.memo_cache_sentinel")?(N=l.jsx("div",babelHelpers["extends"]({},N,{children:l.jsx(c("Image.react"),{src:M})})),a[31]=N):N=a[31];a[32]!==e?(M=b&&e===c("AhpGatewayProduct").SGW?h._(/*BTDS*/"Signals Gateway is a cloud-based product, so you will need to select a cloud provider to maintain performance improvements when your demo ends."):h._(/*BTDS*/"Conversions API Gateway is a cloud-based product, so you will need to select a cloud provider to maintain performance improvements when your demo ends."),a[32]=e,a[33]=M):M=a[33];var O;a[34]===Symbol["for"]("react.memo_cache_sentinel")?(O=h._(/*BTDS*/"{=m0}",[h._implicitParam("=m0",l.jsx("strong",{children:h._(/*BTDS*/"When your demo ends")}))]),a[34]=O):O=a[34];a[35]!==M?(O=l.jsx(c("GeoTextPairing.react"),{description:M,heading:O,overflowWrap:"break-word",size:"header3"}),a[35]=M,a[36]=O):O=a[36];a[37]===Symbol["for"]("react.memo_cache_sentinel")?(M=function(a){z(a)},a[37]=M):M=a[37];a[38]!==e||a[39]!==v?(g=b&&e===c("AhpGatewayProduct").SGW?h._(/*BTDS*/"Continue to use the Signals Gateway using a cloud maintained by Meta. Monthly fees are $7.49 USD, billed annually in December. {=m2}",[h._implicitParam("=m2",l.jsx(c("GeoLink.react"),{href:g,target:"_blank",onClick:v,children:h._(/*BTDS*/"Learn more.")}))]):h._(/*BTDS*/"Continue to use the Conversions API Gateway using a cloud maintained by Meta. Monthly fees are $7.49 USD, billed annually in December. {=m2}",[h._implicitParam("=m2",l.jsx(c("GeoLink.react"),{href:g,target:"_blank",onClick:v,children:h._(/*BTDS*/"Learn more.")}))]),a[38]=e,a[39]=v,a[40]=g):g=a[40];a[41]===Symbol["for"]("react.memo_cache_sentinel")?(v=h._(/*BTDS*/"{=m0}{=m1}",[h._implicitParam("=m0",l.jsx("strong",{children:h._(/*BTDS*/"Use a Meta-provided cloud")})),h._implicitParam("=m1",l.jsx("a",babelHelpers["extends"]({},(j||(j=c("stylex"))).props(c("geoMargin").start8),{children:h._(/*BTDS*/"{=m1}",[h._implicitParam("=m1",l.jsx(c("GeoPill.react"),{label:h._(/*BTDS*/"Recommended"),status:"interactive",value:"Recommended",children:h._(/*BTDS*/"")}))])})))]),a[41]=v):v=a[41];a[42]!==g?(v=l.jsx(c("GeoRadioListItem.react"),{description:g,label:v,value:!0}),a[42]=g,a[43]=v):v=a[43];a[44]===Symbol["for"]("react.memo_cache_sentinel")?(g=l.jsx(c("GeoRadioListItem.react"),{description:h._(/*BTDS*/"Continue with your demo and explore other cloud hosting options when your demo ends. Note that usage fees for alternative cloud provider options vary."),label:h._(/*BTDS*/"{=m0}",[h._implicitParam("=m0",l.jsx("strong",{children:h._(/*BTDS*/"Select a cloud provider later")}))]),value:!1}),a[44]=g):g=a[44];a[45]!==x||a[46]!==v?(M=l.jsx(c("GeoBaseSpacingLayout.react"),{align:"start",context:"container",direction:"horizontal",relation:"related",xstyle:c("geoMargin").vert24,children:l.jsxs(c("GeoRadioList.react"),{isLabelHidden:!0,label:d("AdsEventsManagerConversionsAPIGatewayAssets").RADIO_LABEL,value:x,onChange:M,children:[v,g]})}),a[45]=x,a[46]=v,a[47]=M):M=a[47];a[48]!==O||a[49]!==M?(g=l.jsxs(c("GeoBaseSpacingLayout.react"),{align:"start",context:"container",direction:"horizontal",relation:"related",xstyle:c("geoMargin").vert24,children:[N,l.jsxs(c("GeoBaseSpacingLayout.react"),{align:"start",context:"container",direction:"vertical",relation:"related",children:[O,M]})]}),a[48]=O,a[49]=M,a[50]=g):g=a[50];a[51]!==e||a[52]!==J?(x=b&&e===c("AhpGatewayProduct").SGW?h._(/*BTDS*/"By continuing, you understand and agree that you will be sending data to Meta using the Signals Gateway on a {=m2} .",[h._implicitParam("=m2",l.jsx(c("GeoLink.react"),{href:d("PartnerIntegrationFBConvServiceAWSConstants").GATEWAY_LINK,target:"_blank",onClick:J,children:h._(/*BTDS*/"Meta-owned cloud")}))]):h._(/*BTDS*/"By continuing, you understand and agree that you will be sending data to Meta using the Conversions API Gateway on a {=m2} .",[h._implicitParam("=m2",l.jsx(c("GeoLink.react"),{href:d("PartnerIntegrationFBConvServiceAWSConstants").GATEWAY_LINK,target:"_blank",onClick:J,children:h._(/*BTDS*/"Meta-owned cloud")}))]),a[51]=e,a[52]=J,a[53]=x):x=a[53];a[54]!==A||a[55]!==x?(v=l.jsx(c("GeoCheckboxInput.react"),{label:x,value:A,onChange:w}),a[54]=A,a[55]=x,a[56]=v):v=a[56];a[57]!==J?(N=h._(/*BTDS*/"Optional: continuing will also enable the {=m2} setting.",[h._implicitParam("=m2",l.jsx(c("GeoLink.react"),{href:d("PartnerIntegrationFBConvServiceAWSConstants").EVENT_ENRICHMENT_LEARN_MORE_LINK,target:"_blank",onClick:J,children:h._(/*BTDS*/"event enrichment")}))]),a[57]=J,a[58]=N):N=a[58];a[59]===Symbol["for"]("react.memo_cache_sentinel")?(O=function(a){G(a)},a[59]=O):O=a[59];a[60]!==C||a[61]!==N?(M=l.jsx(c("GeoCheckboxInput.react"),{label:N,value:C,onChange:O}),a[60]=C,a[61]=N,a[62]=M):M=a[62];a[63]!==e||a[64]!==J?(w=b&&e===c("AhpGatewayProduct").SGW?h._(/*BTDS*/"Optional: continuing will also enable new pixels created by this Business ID will be {=m2} to this Signals Gateway.",[h._implicitParam("=m2",l.jsx(c("GeoLink.react"),{href:d("PartnerIntegrationFBConvServiceAWSConstants").ONBOARDING_BY_BUSINESS_LEARN_MORE_LINK,target:"_blank",onClick:J,children:h._(/*BTDS*/"automatically connected")}))]):h._(/*BTDS*/"Optional: continuing will also enable new pixels created by this Business ID will be {=m2} to this Conversions API Gateway.",[h._implicitParam("=m2",l.jsx(c("GeoLink.react"),{href:d("PartnerIntegrationFBConvServiceAWSConstants").ONBOARDING_BY_BUSINESS_LEARN_MORE_LINK,target:"_blank",onClick:J,children:h._(/*BTDS*/"automatically connected")}))]),a[63]=e,a[64]=J,a[65]=w):w=a[65];a[66]===Symbol["for"]("react.memo_cache_sentinel")?(x=function(a){H(a)},a[66]=x):x=a[66];a[67]!==E||a[68]!==w?(O=l.jsx(c("GeoCheckboxInput.react"),{label:w,value:E,onChange:x}),a[67]=E,a[68]=w,a[69]=O):O=a[69];a[70]!==v||a[71]!==M||a[72]!==O?(C=l.jsx(c("GeoFlexbox.react"),{direction:"column",style:r.checkbox,children:l.jsxs(c("GeoFormVerticalLayout.react"),{children:[v,M,O]})}),a[70]=v,a[71]=M,a[72]=O,a[73]=C):C=a[73];a[74]!==K||a[75]!==g||a[76]!==C?(N=l.jsxs(c("GeoBaseSpacingLayout.react"),{direction:"vertical",style:r.checkbox,xstyle:q,children:[K,g,C]}),a[74]=K,a[75]=g,a[76]=C,a[77]=N):N=a[77];a[78]!==L||a[79]!==B||a[80]!==N?(b=l.jsx(c("GeoModalCard.react"),{footer:L,header:B,children:N}),a[78]=L,a[79]=B,a[80]=N,a[81]=b):b=a[81];return b}function s(){c("AdsEventsManagerConversionsAPIGatewaySetupFocusedModalStateAction").dispatch({isModalShown:!1},{line:"212",module:"AdsEventsManagerMetaHostedTestDriveOnboardingModal.react.js",moduleID:f.id})}e=c("SignalsLoggingBoundary.react").loggerConsumingComponent(d("AdsFluxHooks").adsFluxContainer(a,null,{containerName:f.id}),function(a){return a.scope("CAPI_GATEWAY_META_HOSTED_TEST_DRIVE_ONBOARDING")});g["default"]=e}),226);
-----
AdsEventsManagerCAPISetupWithMetaHostedModal.react",["fbt","ix","AdsEventsManagerAhpGatewayAddDatasourceDataProvider","AdsEventsManagerOnboardingCommonFbts","AdsFluxHooks","AhpGatewayProduct","ConversionsAPIGatewayOnboardingSteps","ConversionsAPIMarketingExpertEntryContainer.react","ConversionsAPIMarketingExpertUtils","GeoButton.react","GeoCheckboxInput.react","GeoFlexbox.react","GeoFormVerticalLayout.react","GeoLink.react","GeoModalCard.react","GeoModalFooter.react","GeoModalHeader.react","GeoSelector.react","GeoSelectorItem.react","GeoText.react","Image.react","PartnerIntegrationFBConvServiceAWSActions","PartnerIntegrationFBConvServiceAWSConstants","PartnerIntegrationFBConvServiceAWSUtil","PartnerIntegrationFBConvServiceHostingRegionAction","PartnerIntegrationFBConvServiceSetIsOnboardingByBusinessAction","S2SSetupFlowStrings","SGWClickEvents","SignalsConversionsAPIGatewayFocusedOnboardingFlowContext","SignalsGatewayLoggingUtil","SignalsLoggingBoundary.react","adsCreateStructuredSelector","geoMargin","gkx","react","react-compiler-runtime","stylex","useGeoTheme","useSignalsLogger"],(function(a,b,c,d,e,f,g,h,i){"use strict";var j,k,l=k||(k=d("react"));b=k;var m=b.useContext,n=b.useEffect,o=b.useState,p=c("adsCreateStructuredSelector")({addDataSourceData:c("AdsEventsManagerAhpGatewayAddDatasourceDataProvider").toFluxSelector()},f.id+".selector");function a(a){a=d("react-compiler-runtime").c(101);var b=c("gkx")("4788")||c("gkx")("4834"),e=c("useSignalsLogger")(),g=b?"https://developers.facebook.com/docs/marketing-api/conversions-api/guides/signals-gateway/setup":"https://developers.facebook.com/docs/marketing-api/conversions-api/guides/gateway/setup",k;a[0]===Symbol["for"]("react.memo_cache_sentinel")?(k=[{label:"US Central (Iowa)",type:"us-central1"},{label:"US West (Los Angeles)",type:"us-west2"},{label:"Europe West (Belgium)",type:"europe-west1"},{label:"Asia Pacific (Taiwan)",type:"asia-east1"},{label:"Australia Southeast (Sydney)",type:"australia-southeast1"},{label:"South America (Sao Paulo)",type:"southamerica-east1"}],a[0]=k):k=a[0];k=k;var s=m(c("SignalsConversionsAPIGatewayFocusedOnboardingFlowContext")),t=s.onNavigateToStep;s=c("useGeoTheme")();var u=s.selectBorderColor,v=s.selectTextColor;s=s.selectSpacing;var w=d("AdsFluxHooks").useAdsSelector(p);w=w.addDataSourceData;w=w.ahpGatewayProduct;var x=b&&w===c("AhpGatewayProduct").SGW,y=o(!1),z=y[0];y=y[1];var A=o(!1),B=A[0],C=A[1];A=o(!1);var D=A[0],E=A[1];A=o(null);var F=A[0],G=A[1];a[1]!==e?(A=function(){e.scope("META_HOSTED_CAPIG_LEARN_MORE").logClick()},a[1]=e,a[2]=A):A=a[2];A=A;var H;a[3]!==e?(H=function(){e.scope("META_HOSTED_CAPIG_LEARN_MORE_SERVER_LOCATIONS").logClick()},a[3]=e,a[4]=H):H=a[4];H=H;var I;a[5]!==e?(I=function(){e.scope("META_HOSTED_CAPIG_LEARN_MORE_FEES_AND_BILLING").logClick()},a[5]=e,a[6]=I):I=a[6];I=I;var J;a[7]!==e?(J=function(){e.scope("META_HOSTED_CAPIG__SIGNALS_GATEWAY").logClick()},a[7]=e,a[8]=J):J=a[8];J=J;var K;a[9]!==s?(K=s({bounds:"internal",context:"container",relation:"component"}),a[9]=s,a[10]=K):K=a[10];s=K;a[11]===Symbol["for"]("react.memo_cache_sentinel")?(K={padding:"16px"},a[11]=K):K=a[11];K=K;var L;a[12]===Symbol["for"]("react.memo_cache_sentinel")?(L=[],a[12]=L):L=a[12];n(r,L);var M,N,O;if(a[13]!==z||a[14]!==x||a[15]!==e||a[16]!==t||a[17]!==F){L=function(){return F!==null&&z?l.jsx(c("GeoButton.react"),{"data-testid":void 0,isLoading:!1,label:d("S2SSetupFlowStrings").S2SSetupFlowStrings.CONNECT_BUTTON_LABEL,variant:"primary",onClick:function(){Q()}}):l.jsx(c("GeoButton.react"),{isDisabled:!0,label:d("S2SSetupFlowStrings").S2SSetupFlowStrings.CONNECT_BUTTON_LABEL,variant:"primary"})};var P;a[22]===Symbol["for"]("react.memo_cache_sentinel")?(P=function(a){c("PartnerIntegrationFBConvServiceHostingRegionAction").dispatch({hostingRegion:a},{line:"185",module:"AdsEventsManagerCAPISetupWithMetaHostedModal.react.js",moduleID:f.id}),G(a)},a[22]=P):P=a[22];M=P;a[23]===Symbol["for"]("react.memo_cache_sentinel")?(P=function(a){d("PartnerIntegrationFBConvServiceAWSActions").updateEnableAdvancedMatching(a),C(a)},a[23]=P):P=a[23];N=P;a[24]===Symbol["for"]("react.memo_cache_sentinel")?(P=function(a){c("PartnerIntegrationFBConvServiceSetIsOnboardingByBusinessAction").dispatch({isOnboardingByBusiness:a},{line:"199",module:"AdsEventsManagerCAPISetupWithMetaHostedModal.react.js",moduleID:f.id}),E(a)},a[24]=P):P=a[24];O=P;var Q=function(){x?d("SignalsGatewayLoggingUtil").sgwLogODS(c("SGWClickEvents").GATEWAY_CONNECT_SGW_META_CLICK):d("SignalsGatewayLoggingUtil").sgwLogODS(c("SGWClickEvents").GATEWAY_CONNECT_CAPIG_META_CLICK),e.scope("META_HOSTED_CAPIG_CALL_INVOKED").logClick(),t(c("ConversionsAPIGatewayOnboardingSteps").ConversionsAPIThroughMetaHostedServerProvisioningInProgress)};a[13]=z;a[14]=x;a[15]=e;a[16]=t;a[17]=F;a[18]=L;a[19]=M;a[20]=N;a[21]=O}else L=a[18],M=a[19],N=a[20],O=a[21];a[25]!==L?(P=L(),a[25]=L,a[26]=P):P=a[26];a[27]===Symbol["for"]("react.memo_cache_sentinel")?(L=h._(/*BTDS*/"Back"),a[27]=L):L=a[27];a[28]!==e||a[29]!==t?(L=l.jsx(c("GeoButton.react"),{isDisabled:!1,label:L,onClick:function(){d("PartnerIntegrationFBConvServiceAWSUtil").handleBackToAllCAPIGPartners(e,t)}}),a[28]=e,a[29]=t,a[30]=L):L=a[30];var R;a[31]===Symbol["for"]("react.memo_cache_sentinel")?(R=l.jsx(c("ConversionsAPIMarketingExpertEntryContainer.react"),{defaultExperience:null,sourceTracking:d("ConversionsAPIMarketingExpertUtils").SOURCE_TRACKING_CAPI_GATEWAY_ONBOARDING_META_HOSTED}),a[31]=R):R=a[31];a[32]!==L||a[33]!==P?(R=l.jsx(c("GeoModalFooter.react"),{primaryButton:P,secondaryButton:L,startContent:R}),a[32]=L,a[33]=P,a[34]=R):R=a[34];a[35]!==w||a[36]!==A?(L=b&&w===c("AhpGatewayProduct").SGW?h._(/*BTDS*/"{newlineAfterTitle}{=m1}{newline}{=m3}{newlineAfterLogo} Connect your Signals Gateway quickly and easily using a Meta-hosted cloud setup. {=m6}",[h._param("newlineAfterTitle",l.jsx("br",{})),h._param("newline",l.jsx("br",{})),h._param("newlineAfterLogo",l.jsx("br",{})),h._implicitParam("=m1",l.jsx("strong",{children:h._(/*BTDS*/"Hosted by")})),h._implicitParam("=m3",l.jsx(c("Image.react"),{height:"20px",src:i("851482"),width:"101px",children:h._(/*BTDS*/"")})),h._implicitParam("=m6",l.jsx(c("GeoLink.react"),{href:g,target:"_blank",onClick:A,children:h._(/*BTDS*/"Learn more.")}))]):h._(/*BTDS*/"{newlineAfterTitle}{=m1}{newline}{=m3}{newlineAfterLogo} Connect your Conversions API Gateway quickly and easily using a Meta-hosted cloud setup. {=m6}",[h._param("newlineAfterTitle",l.jsx("br",{})),h._param("newline",l.jsx("br",{})),h._param("newlineAfterLogo",l.jsx("br",{})),h._implicitParam("=m1",l.jsx("strong",{children:h._(/*BTDS*/"Hosted by")})),h._implicitParam("=m3",l.jsx(c("Image.react"),{height:"20px",src:i("851482"),width:"101px",children:h._(/*BTDS*/"")})),h._implicitParam("=m6",l.jsx(c("GeoLink.react"),{href:g,target:"_blank",onClick:A,children:h._(/*BTDS*/"Learn more.")}))]),a[35]=w,a[36]=A,a[37]=L):L=a[37];a[38]!==w?(P=b&&w===c("AhpGatewayProduct").SGW?h._(/*BTDS*/"Set up Signals Gateway with Meta"):h._(/*BTDS*/"Set up Conversions API Gateway with Meta"),a[38]=w,a[39]=P):P=a[39];a[40]!==L||a[41]!==P?(g=l.jsx(c("GeoModalHeader.react"),{description:L,heading:P}),a[40]=L,a[41]=P,a[42]=g):g=a[42];a[43]===Symbol["for"]("react.memo_cache_sentinel")?(A=h._(/*BTDS*/"{=m0}",[h._implicitParam("=m0",l.jsx("strong",{children:h._(/*BTDS*/"Fees and billing")}))]),a[43]=A):A=a[43];a[44]!==I?(L=l.jsxs(c("GeoText.react"),{xstyle:c("geoMargin").bottom24,children:[A,h._(/*BTDS*/"{newline} The cost to use a Meta-hosted cloud setup is {=m3} for the first year. Your usage fee will then be re-calculated at the end of each annual billing cycle. {=m5}",[h._param("newline",l.jsx("br",{})),h._implicitParam("=m3",l.jsx("strong",{children:h._(/*BTDS*/"$120 US dollars per pixel")})),h._implicitParam("=m5",l.jsx(c("GeoLink.react"),{href:"https://developers.facebook.com/docs/marketing-api/conversions-api/guides/gateway/setup",target:"_blank",onClick:I,children:h._(/*BTDS*/"Learn more.")}))])]}),a[44]=I,a[45]=L):L=a[45];a[46]!==H?(P=h._(/*BTDS*/"Select the server location closest to the region where your website is hosted. Once setup is complete, you will not be able to change your server location. {=m1}",[h._implicitParam("=m1",l.jsx(c("GeoLink.react"),{href:"https://cloud.google.com/about/locations",target:"_blank",onClick:H,children:h._(/*BTDS*/"Learn more.")}))]),a[46]=H,a[47]=P):P=a[47];a[48]!==v?(A=h._(/*BTDS*/"Server location {=m2}",[h._implicitParam("=m2",l.jsx("span",babelHelpers["extends"]({},(j||(j=c("stylex"))).props([v({color:"warning"})]),{children:h._(/*BTDS*/"*")})))]),a[48]=v,a[49]=A):A=a[49];a[50]!==M?(I=function(a){return M(a)},a[50]=M,a[51]=I):I=a[51];a[52]===Symbol["for"]("react.memo_cache_sentinel")?(H=k.map(q),a[52]=H):H=a[52];a[53]!==F||a[54]!==P||a[55]!==A||a[56]!==I?(v=l.jsx(c("GeoSelector.react"),{description:P,isOptional:!1,label:A,value:F,xstyle:c("geoMargin").bottom20,onChange:I,children:H}),a[53]=F,a[54]=P,a[55]=A,a[56]=I,a[57]=v):v=a[57];a[58]!==w||a[59]!==J?(k=b&&w===c("AhpGatewayProduct").SGW?h._(/*BTDS*/"By continuing, you understand and agree that you will be sending data to Meta using the Signals Gateway on a {=m2} .",[h._implicitParam("=m2",l.jsx(c("GeoLink.react"),{href:d("PartnerIntegrationFBConvServiceAWSConstants").GATEWAY_LINK,target:"_blank",onClick:J,children:h._(/*BTDS*/"Meta-owned cloud")}))]):h._(/*BTDS*/"By continuing, you understand and agree that you will be sending data to Meta using the Conversions API Gateway on a {=m2} .",[h._implicitParam("=m2",l.jsx(c("GeoLink.react"),{href:d("PartnerIntegrationFBConvServiceAWSConstants").GATEWAY_LINK,target:"_blank",onClick:J,children:h._(/*BTDS*/"Meta-owned cloud")}))]),a[58]=w,a[59]=J,a[60]=k):k=a[60];a[61]!==z||a[62]!==k?(H=l.jsx(c("GeoCheckboxInput.react"),{label:k,value:z,onChange:y}),a[61]=z,a[62]=k,a[63]=H):H=a[63];a[64]!==J?(P=h._(/*BTDS*/"Optional: continuing will also enable the {=m2} setting.",[h._implicitParam("=m2",l.jsx(c("GeoLink.react"),{href:"https://developers.facebook.com/docs/meta-pixel/advanced/advanced-matching",target:"_blank",onClick:J,children:h._(/*BTDS*/"event enrichment")}))]),a[64]=J,a[65]=P):P=a[65];a[66]!==N?(A=function(a){N(a)},a[66]=N,a[67]=A):A=a[67];a[68]!==B||a[69]!==P||a[70]!==A?(I=l.jsx(c("GeoCheckboxInput.react"),{label:P,value:B,onChange:A}),a[68]=B,a[69]=P,a[70]=A,a[71]=I):I=a[71];a[72]!==w||a[73]!==J?(y=b&&w===c("AhpGatewayProduct").SGW?h._(/*BTDS*/"Optional: continuing will also enable new pixels created by this Business ID will be {=m2} to this Signals Gateway.",[h._implicitParam("=m2",l.jsx(c("GeoLink.react"),{href:"",target:"_blank",onClick:J,children:h._(/*BTDS*/"automatically connected")}))]):h._(/*BTDS*/"Optional: continuing will also enable new pixels created by this Business ID will be {=m2} to this Conversions API Gateway.",[h._implicitParam("=m2",l.jsx(c("GeoLink.react"),{href:"",target:"_blank",onClick:J,children:h._(/*BTDS*/"automatically connected")}))]),a[72]=w,a[73]=J,a[74]=y):y=a[74];a[75]!==O?(k=function(a){O(a)},a[75]=O,a[76]=k):k=a[76];a[77]!==D||a[78]!==y||a[79]!==k?(B=l.jsx(c("GeoCheckboxInput.react"),{label:y,value:D,onChange:k}),a[77]=D,a[78]=y,a[79]=k,a[80]=B):B=a[80];a[81]!==v||a[82]!==H||a[83]!==I||a[84]!==B?(P=l.jsxs(c("GeoFormVerticalLayout.react"),{children:[v,H,I,B]}),a[81]=v,a[82]=H,a[83]=I,a[84]=B,a[85]=P):P=a[85];a[86]===Symbol["for"]("react.memo_cache_sentinel")?(A={borderTop:"solid",marginTop:"20px"},a[86]=A):A=a[86];a[87]!==u?(b=u({color:"info"}),a[87]=u,a[88]=b):b=a[88];a[89]===Symbol["for"]("react.memo_cache_sentinel")?(w=l.jsx(c("GeoText.react"),{xstyle:c("geoMargin").top8,children:d("AdsEventsManagerOnboardingCommonFbts").MetaHostedCAPIGDetailsModalConnectFooter}),a[89]=w):w=a[89];a[90]!==b?(J=l.jsx(c("GeoFlexbox.react"),{style:A,xstyle:b,children:w}),a[90]=b,a[91]=J):J=a[91];a[92]!==L||a[93]!==P||a[94]!==J||a[95]!==s?(D=l.jsxs(c("GeoFlexbox.react"),{direction:"column",style:K,xstyle:s,children:[L,P,J]}),a[92]=L,a[93]=P,a[94]=J,a[95]=s,a[96]=D):D=a[96];a[97]!==R||a[98]!==g||a[99]!==D?(y=l.jsx(c("GeoModalCard.react"),{footer:R,header:g,children:D}),a[97]=R,a[98]=g,a[99]=D,a[100]=y):y=a[100];return y}function q(a){return l.jsx(c("GeoSelectorItem.react"),{label:a.label,value:a.type},a.type)}q.displayName=q.name+" [from "+f.id+"]";function r(){d("PartnerIntegrationFBConvServiceAWSActions").updateEnableAdvancedMatching(!1)}e=c("SignalsLoggingBoundary.react").loggerConsumingComponent(d("AdsFluxHooks").adsFluxContainer(a,null,{containerName:f.id}),function(a){return a.scope("CAPI_GATEWAY_META_HOSTED_SETUP_DETAILS_STEP")});g["default"]=e}),226);
-----
PartnerIntegrationFBConvServiceAWSConstants",[],(function(a,b,c,d,e,f){"use strict";a="https://developers.facebook.com/docs/marketing-api/conversions-api/guides/gateway/";f.GATEWAY_LINK=a}),66);
-----