AdsManagerSimplifiedPixelSetupModalEntrypoint.entrypoint",["AdsManagerSimplifiedPixelSetupModalPartnerIntegrationQuery$Parameters","JSResourceForInteraction"],(function(a,b,c,d,e,f,g){"use strict";a={getPreloadProps:function(a){return{queries:{partnerIntegrationQueryRef:{parameters:c("AdsManagerSimplifiedPixelSetupModalPartnerIntegrationQuery$Parameters"),variables:{business_id:a.businessID}}}}},root:c("JSResourceForInteraction")("AdsManagerSimplifiedPixelSetupModal.react").__setRef("AdsManagerSimplifiedPixelSetupModalEntrypoint.entrypoint")};b=a;g["default"]=b}),98);
-----
AdsManagerSimplifiedPixelSetupModalPartnerIntegrationQuery$Parameters",[],(function(a,b,c,d,e,f){"use strict";a={kind:"PreloadableConcreteRequest",params:{id:"24248709431479361",metadata:{},name:"AdsManagerSimplifiedPixelSetupModalPartnerIntegrationQuery",operationKind:"query",text:null}};e.exports=a}),null);
-----
AdsManagerSimplifiedPixelSetupModal.react",["fbt","ix","AdsCAPISetupWithCAPIGRecommendationModalEntryPoints","AdsEventsManagerCAPIFocusedPixelContinueSetupSelectionModalAction","AdsManagerSimplifiedPixelSetupModalAssets","AdsManagerSimplifiedPixelSetupModalPartnerIntegrationQuery.graphql","AdsManagerSimplifiedPixelSetupModalUtils","GeoButton.react","GeoFlexbox.react","GeoIcon.react","GeoLink.react","GeoModal.react","GeoModalFooter.react","GeoModalHeader.react","GeoSection.react","GeoSelectableTileGroup.react","MiniPartnerGalleryModal.entrypoint","PartnerIntegrationDialogActions","PartnerIntegrationDialogTypes","PartnerIntegrationSetupIntegrationTypes","PartnerRoutingUtil","PixelEmailSetupInstructionsModal.entrypoint","PixelSetupModal.entrypoint","RelayHooks","SignalsLogging","SimplifiedPixelSetupTiles.react","fbicon","geoMargin","react","react-compiler-runtime","useGeoEntryPointModal"],(function(Ee,oe,t,i,Te,X,se,$,Y){"use strict";var H,U,n=U||(U=i("react")),K=U.useState,de=600,ue=H!==void 0?H:H=oe("AdsManagerSimplifiedPixelSetupModalPartnerIntegrationQuery.graphql");function Se(Z){var ee,e=i("react-compiler-runtime").c(58),ce=Z.queries,k=Z.props,pe=ce.partnerIntegrationQueryRef,l=k.onHide,S=k.datasetID,r=k.businessID,o=i("RelayHooks").usePreloadedQuery(ue,pe).xfb_get_recommended_partner_integration_details,w=o==null?void 0:o.call_to_action_link,F=o==null?void 0:o.gallery_logo,Q=o==null?void 0:o.name,B=(ee=o==null?void 0:o.partner_type)!=null?ee:"",E;e[0]!==w||e[1]!==F||e[2]!==Q||e[3]!==B?(E={callToActionLink:w,logoSource:F,name:Q,partnerType:B},e[0]=w,e[1]=F,e[2]=Q,e[3]=B,e[4]=E):E=e[4];var d=E,s=o!=null&&o.partner_type!=null,ie=K(!1),_=ie[0],Pe=ie[1],te=K(s?i("AdsManagerSimplifiedPixelSetupModalUtils").SetupOptions.RECOMMENDED_PARTNER_INTEGRATION:i("AdsManagerSimplifiedPixelSetupModalUtils").SetupOptions.MANUAL),a=te[0],ne=te[1],T;e[5]===Symbol.for("react.memo_cache_sentinel")?(T={},e[5]=T):T=e[5];var Me=t("useGeoEntryPointModal")(t("PixelSetupModal.entrypoint"),T),V=Me.showModal,y;e[6]!==r?(y={adAccountID:null,businessID:r},e[6]=r,e[7]=y):y=e[7];var ge=t("useGeoEntryPointModal")(t("MiniPartnerGalleryModal.entrypoint"),y),W=ge.showModal,v;e[8]!==r||e[9]!==S?(v=function(u){return i("PartnerIntegrationDialogActions").showDialog({adAccountID:null,assetType:0,businessID:r,dialogType:t("PartnerIntegrationDialogTypes").SETUP_STEPS,filterSteps:[1,100],partnerType:u,pixelID:S,setupIntegrationType:t("PartnerIntegrationSetupIntegrationTypes").CREATE_NEW},{entryPointContext:{callsite:X.id,entry_point_name:"ADS_MANAGER_SIMPLIFIED_PIXEL_SETUP",entry_point_type:"STATIC"}})},e[8]=r,e[9]=S,e[10]=v):v=e[10];var q=v,h;e[11]===Symbol.for("react.memo_cache_sentinel")?(h=new(t("SignalsLogging"))().namespace("ADS_SIGNALS").scope("SIMPLIED_PIXEL_SETUP_MODAL"),e[11]=h):h=e[11];var fe=h,m;e[12]===Symbol.for("react.memo_cache_sentinel")?(m={},e[12]=m):m=e[12];var xe=t("useGeoEntryPointModal")(t("PixelEmailSetupInstructionsModal.entrypoint"),m),N=xe.showModal,G;e[13]!==r||e[14]!==S||e[15]!==q||e[16]!==l||e[17]!==d||e[18]!==a||e[19]!==W||e[20]!==N||e[21]!==V?(G=function(){if(a===i("AdsManagerSimplifiedPixelSetupModalUtils").SetupOptions.MANUAL)l("layerHideButton"),V({businessID:r,datasetID:S});else if(a===i("AdsManagerSimplifiedPixelSetupModalUtils").SetupOptions.SEND_TO_DEVELOPER)l("layerHideButton"),N({businessID:r,datasetID:S});else if(a===i("AdsManagerSimplifiedPixelSetupModalUtils").SetupOptions.PARTNER_INTEGRATION){var u=function(re){re&&q(re)};l("layerHideButton"),W({entryPoint:i("AdsCAPISetupWithCAPIGRecommendationModalEntryPoints").AdsCAPISetupWithCAPIGRecommendationModalEntryPoints.ADS_MANAGER_SIMPLIFIED_PIXEL_SETUP,logger:fe,onNext:u})}else if(a===i("AdsManagerSimplifiedPixelSetupModalUtils").SetupOptions.RECOMMENDED_PARTNER_INTEGRATION){var ae,le;i("PartnerRoutingUtil").routePartner({accountID:null,assetType:0,backToModalAction:null,businessID:r,isInAM:!1,pixelID:S,selectedPartner:{callToActionLink:d.callToActionLink,dataSources:[],logo:(ae=d.logoSource)!=null?ae:"",name:(le=d.name)!=null?le:"",type:d.partnerType}})}},e[13]=r,e[14]=S,e[15]=q,e[16]=l,e[17]=d,e[18]=a,e[19]=W,e[20]=N,e[21]=V,e[22]=G):G=e[22];var z=G,R;e[23]!==d||e[24]!==s?(R=function(){return s?n.jsx(i("SimplifiedPixelSetupTiles.react").SimplifiedPixelSetupRecommendedPartnerIntegrationTile,{partnerDetails:d}):n.jsxs(n.Fragment,{children:[n.jsx(i("SimplifiedPixelSetupTiles.react").SimplifiedPixelSetupManualSetupTile,{}),n.jsx(i("SimplifiedPixelSetupTiles.react").SimplifiedPixelSetupSendToDeveloperTile,{}),n.jsx(i("SimplifiedPixelSetupTiles.react").SimplifiedPixelSetupPartnerIntegrationTile,{})]})},e[23]=d,e[24]=s,e[25]=R):R=e[25];var J=R,Ie=_e,b;e[26]===Symbol.for("react.memo_cache_sentinel")?(b=$._(/*BTDS*/""),e[26]=b):b=e[26];var c;e[27]!==z?(c=n.jsx(t("GeoButton.react"),{"data-testid":void 0,isDisabled:!1,isLoading:!1,label:b,variant:"primary",onClick:z}),e[27]=z,e[28]=c):c=e[28];var D;e[29]===Symbol.for("react.memo_cache_sentinel")?(D=$._(/*BTDS*/""),e[29]=D):D=e[29];var p;e[30]!==l?(p=n.jsx(t("GeoButton.react"),{autoFocus:!1,"data-testid":void 0,label:D,variant:"default",onClick:function(){l("escape"),t("AdsEventsManagerCAPIFocusedPixelContinueSetupSelectionModalAction").dispatch({isModalShown:!0},{line:"268",module:"AdsManagerSimplifiedPixelSetupModal.react.js",moduleID:X.id})}}),e[30]=l,e[31]=p):p=e[31];var P;e[32]!==c||e[33]!==p?(P=n.jsx(t("GeoModalFooter.react"),{primaryButton:c,secondaryButton:p}),e[32]=c,e[33]=p,e[34]=P):P=e[34];var O,L;e[35]===Symbol.for("react.memo_cache_sentinel")?(O=n.jsx(t("GeoModalHeader.react"),{heading:i("AdsManagerSimplifiedPixelSetupModalAssets").SIMPLIFIED_PIXEL_SETUP_RECOMMENDATION_MODAL_TITLE}),L={surface:"simplified_pixel_setup_recommendation_modal"},e[35]=O,e[36]=L):(O=e[35],L=e[36]);var C;e[37]===Symbol.for("react.memo_cache_sentinel")?(C=function(u){u!=null&&ne(u)},e[37]=C):C=e[37];var M;e[38]!==J?(M=J(),e[38]=J,e[39]=M):M=e[39];var g;e[40]!==a||e[41]!==M?(g=n.jsx(t("GeoSelectableTileGroup.react"),{columns:1,"data-testid":void 0,gutter:16,orientation:"horizontal",selectionType:"single",value:a,onChange:C,children:M}),e[40]=a,e[41]=M,e[42]=g):g=e[42];var f;e[43]!==_||e[44]!==s?(f=s&&n.jsx(t("GeoLink.react"),{onClick:function(){Pe(!_)},children:n.jsxs(t("GeoFlexbox.react"),{alignItems:"center",gap:8,xstyle:t("geoMargin").vert8,children:[n.jsx(t("GeoIcon.react"),{color:"info",icon:_?i("fbicon")._(Y("505564"),16):i("fbicon")._(Y("492450"),16)}),_?i("AdsManagerSimplifiedPixelSetupModalAssets").SEE_FEWER_SETUP_METHODS:i("AdsManagerSimplifiedPixelSetupModalAssets").SEE_OTHER_SETUP_METHODS]})}),e[43]=_,e[44]=s,e[45]=f):f=e[45];var x;e[46]!==a||e[47]!==_||e[48]!==s?(x=s&&_&&n.jsx(t("GeoSelectableTileGroup.react"),{columns:1,"data-testid":void 0,gutter:16,orientation:"horizontal",selectionType:"single",value:a,onChange:function(u){u!=null&&ne(u)},children:Ie()}),e[46]=a,e[47]=_,e[48]=s,e[49]=x):x=e[49];var I;e[50]!==g||e[51]!==f||e[52]!==x?(I=n.jsxs(t("GeoSection.react"),{children:[g,f,x]}),e[50]=g,e[51]=f,e[52]=x,e[53]=I):I=e[53];var j;return e[54]!==l||e[55]!==P||e[56]!==I?(j=n.jsx(t("GeoModal.react"),{"data-testid":void 0,footer:P,header:O,logging:L,width:de,onHide:l,children:I}),e[54]=l,e[55]=P,e[56]=I,e[57]=j):j=e[57],j}function _e(){return n.jsxs(n.Fragment,{children:[n.jsx(i("SimplifiedPixelSetupTiles.react").SimplifiedPixelSetupManualSetupTile,{}),n.jsx(i("SimplifiedPixelSetupTiles.react").SimplifiedPixelSetupSendToDeveloperTile,{}),n.jsx(i("SimplifiedPixelSetupTiles.react").SimplifiedPixelSetupPartnerIntegrationTile,{})]})}se.default=Se}),226);
-----
AdsManagerSimplifiedPixelSetupModalPartnerIntegrationQuery.graphql",["relay-runtime"],(function(t,l,s,u,i,d){"use strict";var e=(function(){var a=[{defaultValue:null,kind:"LocalArgument",name:"business_id"}],n=[{alias:null,args:[{kind:"Variable",name:"business_id",variableName:"business_id"}],concreteType:"XFBPartnerIntegrationTypeDetails",kind:"LinkedField",name:"xfb_get_recommended_partner_integration_details",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"partner_type",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"gallery_logo",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"call_to_action_link",storageKey:null}],storageKey:null}];return{fragment:{argumentDefinitions:a,kind:"Fragment",metadata:null,name:"AdsManagerSimplifiedPixelSetupModalPartnerIntegrationQuery",selections:n,type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:a,kind:"Operation",name:"AdsManagerSimplifiedPixelSetupModalPartnerIntegrationQuery",selections:n},params:{id:"24248709431479361",metadata:{},name:"AdsManagerSimplifiedPixelSetupModalPartnerIntegrationQuery",operationKind:"query",text:null}}})();l("relay-runtime").PreloadableQueryRegistry.set(e.params.id,e),i.exports=e}),null);
-----