AdsEventManagerCustomAttributionDeleteMutation",["AdsEventManagerCustomAttributionDeleteMutation.graphql"],(function(a,b,c,d,e,f,g){"use strict";var h;a=h!==void 0?h:h=b("AdsEventManagerCustomAttributionDeleteMutation.graphql");g.deleteCustomAttributionSourceMutation=a}),98);
-----
AdsEventManagerCustomAttributionDeleteMutation.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{defaultValue:null,kind:"LocalArgument",name:"connections"},{defaultValue:null,kind:"LocalArgument",name:"input"}],b=[{kind:"Variable",name:"data",variableName:"input"}],c={alias:null,args:null,kind:"ScalarField",name:"client_mutation_id",storageKey:null},d={alias:null,args:null,kind:"ScalarField",name:"deleted_id",storageKey:null};return{fragment:{argumentDefinitions:a,kind:"Fragment",metadata:null,name:"AdsEventManagerCustomAttributionDeleteMutation",selections:[{alias:null,args:b,concreteType:"XFBDeleteAdCustomAttributionSourceResponsePayload",kind:"LinkedField",name:"xfb_delete_ad_custom_attribution_source",plural:!1,selections:[c,d],storageKey:null}],type:"Mutation",abstractKey:null},kind:"Request",operation:{argumentDefinitions:a,kind:"Operation",name:"AdsEventManagerCustomAttributionDeleteMutation",selections:[{alias:null,args:b,concreteType:"XFBDeleteAdCustomAttributionSourceResponsePayload",kind:"LinkedField",name:"xfb_delete_ad_custom_attribution_source",plural:!1,selections:[c,d,{alias:null,args:null,filters:null,handle:"deleteEdge",key:"",kind:"ScalarHandle",name:"deleted_id",handleArgs:[{kind:"Variable",name:"connections",variableName:"connections"}]}],storageKey:null}]},params:{id:"23937472532616255",metadata:{},name:"AdsEventManagerCustomAttributionDeleteMutation",operationKind:"mutation",text:null}}}();e.exports=a}),null);
-----
AdsEventsManagerConsolidatedDataSetSettingsCustomAttributionSourcesSection.react",["fbt","ix","AdsEventManagerCustomAttribtutionInstructionsModalContainer.react","AdsEventManagerCustomAttribtutionOwnAnalyticsToolUtils","AdsEventManagerCustomAttributionDeleteMutation","AdsEventManagerCustomAttributionOwnAnalyticsToolModalContainer.react","AdsEventsManagerConsolidatedDataSetSettingsCustomAttributionSourcesSection_XFBAdCustomAttributionSource.graphql","AdsEventsManagerConsolidatedDataSetSettingsCustomAttributionSourcesSection_XFBAdCustomAttributionSourceList.graphql","AdsEventsManagerCreateCustomAttributionOpenModalAction","AdsEventsManagerDataSetSettingsCustomAttributionSourcesDeleteModal.react","FBClipboardLink.react","GeoBaseText.react","GeoButton.react","GeoDropdownMenu.react","GeoFlexbox.react","GeoHeading.react","GeoIcon.react","GeoLink.react","GeoMediaItem.react","GeoMenuItem.react","GeoPopover.react","GeoText.react","GeoToast.react","RelayHooks","RelayRuntime","SignalsHomeSettingsRow.react","SignalsHomeSettingsSection.react","fbicon","geoMargin","justknobx","react","react-compiler-runtime","stylex","useGeoTheme","useGeoToaster","useToggle"],(function(a,b,c,d,e,f,g,h,i){"use strict";var j,k,l,m,n=m||(m=d("react"));m.useCallback;var o=j!==void 0?j:j=b("AdsEventsManagerConsolidatedDataSetSettingsCustomAttributionSourcesSection_XFBAdCustomAttributionSource.graphql"),p=k!==void 0?k:k=b("AdsEventsManagerConsolidatedDataSetSettingsCustomAttributionSourcesSection_XFBAdCustomAttributionSourceList.graphql"),q={statusDot:{borderStartStartRadius:"x1c9tyrk",borderStartEndRadius:"xeusxvb",borderEndEndRadius:"x1pahc9y",borderEndStartRadius:"x1ertn4p",height:"xdk7pt",width:"x1xc55vz",$$css:!0},statusDotInactive:{borderTopStyle:"x13fuv20",borderInlineEndStyle:"x18b5jzi",borderBottomStyle:"x1q0q8m5",borderInlineStartStyle:"x1t7ytsu",borderTopWidth:"xamhcws",borderInlineEndWidth:"x1alpsbp",borderBottomWidth:"xlxy82",borderInlineStartWidth:"xyumdvf",height:"xqu0tyb",width:"x51ohtg",$$css:!0}};function r(a){var b=d("react-compiler-runtime").c(8);a=a.isActive;var e=c("useGeoTheme")(),f=e.selectStaticBackgroundColor;e=e.selectBorderColor;if(a){b[0]!==f?(a=(l||(l=c("stylex"))).props([q.statusDot,f({surface:"success"})]),b[0]=f,b[1]=a):a=b[1];b[2]!==a?(f=n.jsx("div",babelHelpers["extends"]({},a)),b[2]=a,b[3]=f):f=b[3];return f}b[4]!==e?(a=(l||(l=c("stylex"))).props([q.statusDot,q.statusDotInactive,e({color:"element"})]),b[4]=e,b[5]=a):a=b[5];b[6]!==a?(f=n.jsx("div",babelHelpers["extends"]({},a)),b[6]=a,b[7]=f):f=b[7];return f}var s=h._(/*BTDS*/"Custom attribution sources"),t=h._(/*BTDS*/"Manage or edit setups for your custom attribution sources."),u=h._(/*BTDS*/"Add new"),v=h._(/*BTDS*/"Actions"),w=h._(/*BTDS*/"View instructions"),x=h._(/*BTDS*/"Manage"),y=h._(/*BTDS*/"Delete");function z(a){var b,e,f=d("react-compiler-runtime").c(88),g=a.adAccountID,j=a.businessID,k=a.customAttributionSourceData,l=a.dataSourceID;a=c("useToggle")(!1);var m=a[0],o=a[1];a=c("useToggle")(!1);var p=a[0],q=a[1];f[0]!==q?(a=function(){return q(!0)},f[0]=q,f[1]=a):a=f[1];a=a;var s;f[2]!==q?(s=function(){return q(!1)},f[2]=q,f[3]=s):s=f[3];var t=s;f[4]!==o?(s=function(){return o(!0)},f[4]=o,f[5]=s):s=f[5];s=s;var u;f[6]!==o?(u=function(){return o(!1)},f[6]=o,f[7]=u):u=f[7];u=u;var z=d("RelayHooks").useMutation(d("AdsEventManagerCustomAttributionDeleteMutation").deleteCustomAttributionSourceMutation),B=z[0],C=c("useGeoToaster")();f[8]!==k.name||f[9]!==C?(z=function(){C.add(n.jsx(c("GeoToast.react"),{"data-testid":void 0,description:h._(/*BTDS*/"Custom attribution source {sourceName} was deleted.",[h._param("sourceName",k.name)]),hasIcon:!0,heading:h._(/*BTDS*/"Success"),status:"success"}))},f[8]=k.name,f[9]=C,f[10]=z):z=f[10];var D=z;f[11]!==B||f[12]!==k.id||f[13]!==l||f[14]!==t||f[15]!==D?(z=function(){var a=d("RelayRuntime").ConnectionHandler.getConnectionID(l,"AdsEventsManagerConsolidatedDataSetSettingsCustomAttributionSourcesSectionContainerQuery_custom_attribution_sources"),b=d("RelayRuntime").ConnectionHandler.getConnectionID(l,"AdsEventsManagerConsolidatedDataSetInspectorTabsHeaderCreateContainerQuery_passback_custom_attribution_sources");B({onCompleted:function(){t(),D()},variables:{connections:[a,b],input:{ad_custom_attribution_source_id:k.id}}});t()},f[11]=B,f[12]=k.id,f[13]=l,f[14]=t,f[15]=D,f[16]=z):z=f[16];z=z;var E=c("useToggle")(!1),F=E[0],G=E[1];f[17]!==G?(E=function(){return G(!0)},f[17]=G,f[18]=E):E=f[18];E=E;var H;f[19]!==G?(H=function(){return G(!1)},f[19]=G,f[20]=H):H=f[20];var I=H;f[21]!==C?(H=function(){C.add(n.jsx(c("GeoToast.react"),{"data-testid":void 0,hasIcon:!0,heading:h._(/*BTDS*/"Changes saved"),status:"success"}))},f[21]=C,f[22]=H):H=f[22];var J=H;f[23]!==I||f[24]!==J?(H=function(){I(),J()},f[23]=I,f[24]=J,f[25]=H):H=f[25];H=H;var K=A;f[26]!==k.attribution_model?(K=K(k.attribution_model),f[26]=k.attribution_model,f[27]=K):K=f[27];b=(b=k.attribution_window)!=null?b:d("AdsEventManagerCustomAttribtutionOwnAnalyticsToolUtils").MAX_ATTRIBUTION_WINDOW;var L;f[28]!==k.id||f[29]!==k.name||f[30]!==l||f[31]!==K||f[32]!==b?(L={attributionModel:K,attributionWindow:b,dataSourceID:l,id:k.id,name:k.name},f[28]=k.id,f[29]=k.name,f[30]=l,f[31]=K,f[32]=b,f[33]=L):L=f[33];K=L;f[34]===Symbol["for"]("react.memo_cache_sentinel")?(b=n.jsx(c("GeoIcon.react"),{icon:d("fbicon")._(i("580901"),24)}),f[34]=b):b=f[34];f[35]===Symbol["for"]("react.memo_cache_sentinel")?(L=n.jsx(c("GeoMediaItem.react"),{fit:"contain",media:b,ratio:"square",size:32,xstyle:[c("geoMargin").end8,c("geoMargin").vert4]}),b={flexGrow:1},f[35]=L,f[36]=b):(L=f[35],b=f[36]);e=(e=k.name)!=null?e:"";var M;f[37]!==e?(M=n.jsx(c("GeoHeading.react"),{level:4,children:e}),f[37]=e,f[38]=M):M=f[38];e=k.active_adsets.length>0;var N;f[39]!==e?(N=n.jsx(r,{isActive:e}),f[39]=e,f[40]=N):N=f[40];f[41]!==k.active_adsets?(e=k.active_adsets.length>0?n.jsxs(c("GeoFlexbox.react"),{alignItems:"center",columnGap:4,children:[n.jsx(c("GeoBaseText.react"),{color:"placeholder",size:"value",children:h._(/*BTDS*/"Currently in use for")}),n.jsx(c("GeoPopover.react"),{align:"middle",content:n.jsx(c("GeoFlexbox.react"),{direction:"column",style:{minWidth:300},children:k.active_adsets.length>0?n.jsxs(n.Fragment,{children:[n.jsxs(c("GeoFlexbox.react"),{style:{borderBottom:"1px solid #e4e6ea",padding:"8px 12px"},children:[n.jsx(c("GeoFlexbox.react"),{style:{flex:3},children:n.jsx(c("GeoText.react"),{children:h._(/*BTDS*/"{=m0}",[h._implicitParam("=m0",n.jsx("strong",{children:h._(/*BTDS*/"Ad set")}))])})}),n.jsx(c("GeoFlexbox.react"),{style:{flex:2,justifyContent:"flex-end"},children:n.jsx(c("GeoText.react"),{children:h._(/*BTDS*/"{=m0}",[h._implicitParam("=m0",n.jsx("strong",{children:h._(/*BTDS*/"Amount spent")}))])})})]}),k.active_adsets.map(function(a,b){return(a==null?void 0:a.id)==null||(a==null?void 0:a.name)==null||(a==null?void 0:a.spend)==null?null:n.jsxs(c("GeoFlexbox.react"),{style:{borderBottom:b-----
-----
AdsEventManagerCustomAttributionDeleteMutation.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{defaultValue:null,kind:"LocalArgument",name:"connections"},{defaultValue:null,kind:"LocalArgument",name:"input"}],b=[{kind:"Variable",name:"data",variableName:"input"}],c={alias:null,args:null,kind:"ScalarField",name:"client_mutation_id",storageKey:null},d={alias:null,args:null,kind:"ScalarField",name:"deleted_id",storageKey:null};return{fragment:{argumentDefinitions:a,kind:"Fragment",metadata:null,name:"AdsEventManagerCustomAttributionDeleteMutation",selections:[{alias:null,args:b,concreteType:"XFBDeleteAdCustomAttributionSourceResponsePayload",kind:"LinkedField",name:"xfb_delete_ad_custom_attribution_source",plural:!1,selections:[c,d],storageKey:null}],type:"Mutation",abstractKey:null},kind:"Request",operation:{argumentDefinitions:a,kind:"Operation",name:"AdsEventManagerCustomAttributionDeleteMutation",selections:[{alias:null,args:b,concreteType:"XFBDeleteAdCustomAttributionSourceResponsePayload",kind:"LinkedField",name:"xfb_delete_ad_custom_attribution_source",plural:!1,selections:[c,d,{alias:null,args:null,filters:null,handle:"deleteEdge",key:"",kind:"ScalarHandle",name:"deleted_id",handleArgs:[{kind:"Variable",name:"connections",variableName:"connections"}]}],storageKey:null}]},params:{id:"23937472532616255",metadata:{},name:"AdsEventManagerCustomAttributionDeleteMutation",operationKind:"mutation",text:null}}}();e.exports=a}),null);
-----
AdsEventsManagerConsolidatedDataSetSettingsCustomAttributionSourcesSection.react",["fbt","ix","AdsEventManagerCustomAttribtutionInstructionsModalContainer.react","AdsEventManagerCustomAttribtutionOwnAnalyticsToolUtils","AdsEventManagerCustomAttributionDeleteMutation","AdsEventManagerCustomAttributionOwnAnalyticsToolModalContainer.react","AdsEventsManagerConsolidatedDataSetSettingsCustomAttributionSourcesSection_XFBAdCustomAttributionSource.graphql","AdsEventsManagerConsolidatedDataSetSettingsCustomAttributionSourcesSection_XFBAdCustomAttributionSourceList.graphql","AdsEventsManagerCreateCustomAttributionOpenModalAction","AdsEventsManagerDataSetSettingsCustomAttributionSourcesDeleteModal.react","FBClipboardLink.react","GeoBaseText.react","GeoButton.react","GeoDropdownMenu.react","GeoFlexbox.react","GeoHeading.react","GeoIcon.react","GeoLink.react","GeoMediaItem.react","GeoMenuItem.react","GeoPopover.react","GeoText.react","GeoToast.react","RelayHooks","RelayRuntime","SignalsHomeSettingsRow.react","SignalsHomeSettingsSection.react","fbicon","geoMargin","justknobx","react","react-compiler-runtime","stylex","useGeoTheme","useGeoToaster","useToggle"],(function(a,b,c,d,e,f,g,h,i){"use strict";var j,k,l,m,n=m||(m=d("react"));m.useCallback;var o=j!==void 0?j:j=b("AdsEventsManagerConsolidatedDataSetSettingsCustomAttributionSourcesSection_XFBAdCustomAttributionSource.graphql"),p=k!==void 0?k:k=b("AdsEventsManagerConsolidatedDataSetSettingsCustomAttributionSourcesSection_XFBAdCustomAttributionSourceList.graphql"),q={statusDot:{borderStartStartRadius:"x1c9tyrk",borderStartEndRadius:"xeusxvb",borderEndEndRadius:"x1pahc9y",borderEndStartRadius:"x1ertn4p",height:"xdk7pt",width:"x1xc55vz",$$css:!0},statusDotInactive:{borderTopStyle:"x13fuv20",borderInlineEndStyle:"x18b5jzi",borderBottomStyle:"x1q0q8m5",borderInlineStartStyle:"x1t7ytsu",borderTopWidth:"xamhcws",borderInlineEndWidth:"x1alpsbp",borderBottomWidth:"xlxy82",borderInlineStartWidth:"xyumdvf",height:"xqu0tyb",width:"x51ohtg",$$css:!0}};function r(a){var b=d("react-compiler-runtime").c(8);a=a.isActive;var e=c("useGeoTheme")(),f=e.selectStaticBackgroundColor;e=e.selectBorderColor;if(a){b[0]!==f?(a=(l||(l=c("stylex"))).props([q.statusDot,f({surface:"success"})]),b[0]=f,b[1]=a):a=b[1];b[2]!==a?(f=n.jsx("div",babelHelpers["extends"]({},a)),b[2]=a,b[3]=f):f=b[3];return f}b[4]!==e?(a=(l||(l=c("stylex"))).props([q.statusDot,q.statusDotInactive,e({color:"element"})]),b[4]=e,b[5]=a):a=b[5];b[6]!==a?(f=n.jsx("div",babelHelpers["extends"]({},a)),b[6]=a,b[7]=f):f=b[7];return f}var s=h._(/*BTDS*/"Custom attribution sources"),t=h._(/*BTDS*/"Manage or edit setups for your custom attribution sources."),u=h._(/*BTDS*/"Add new"),v=h._(/*BTDS*/"Actions"),w=h._(/*BTDS*/"View instructions"),x=h._(/*BTDS*/"Manage"),y=h._(/*BTDS*/"Delete");function z(a){var b,e,f=d("react-compiler-runtime").c(88),g=a.adAccountID,j=a.businessID,k=a.customAttributionSourceData,l=a.dataSourceID;a=c("useToggle")(!1);var m=a[0],o=a[1];a=c("useToggle")(!1);var p=a[0],q=a[1];f[0]!==q?(a=function(){return q(!0)},f[0]=q,f[1]=a):a=f[1];a=a;var s;f[2]!==q?(s=function(){return q(!1)},f[2]=q,f[3]=s):s=f[3];var t=s;f[4]!==o?(s=function(){return o(!0)},f[4]=o,f[5]=s):s=f[5];s=s;var u;f[6]!==o?(u=function(){return o(!1)},f[6]=o,f[7]=u):u=f[7];u=u;var z=d("RelayHooks").useMutation(d("AdsEventManagerCustomAttributionDeleteMutation").deleteCustomAttributionSourceMutation),B=z[0],C=c("useGeoToaster")();f[8]!==k.name||f[9]!==C?(z=function(){C.add(n.jsx(c("GeoToast.react"),{"data-testid":void 0,description:h._(/*BTDS*/"Custom attribution source {sourceName} was deleted.",[h._param("sourceName",k.name)]),hasIcon:!0,heading:h._(/*BTDS*/"Success"),status:"success"}))},f[8]=k.name,f[9]=C,f[10]=z):z=f[10];var D=z;f[11]!==B||f[12]!==k.id||f[13]!==l||f[14]!==t||f[15]!==D?(z=function(){var a=d("RelayRuntime").ConnectionHandler.getConnectionID(l,"AdsEventsManagerConsolidatedDataSetSettingsCustomAttributionSourcesSectionContainerQuery_custom_attribution_sources"),b=d("RelayRuntime").ConnectionHandler.getConnectionID(l,"AdsEventsManagerConsolidatedDataSetInspectorTabsHeaderCreateContainerQuery_passback_custom_attribution_sources");B({onCompleted:function(){t(),D()},variables:{connections:[a,b],input:{ad_custom_attribution_source_id:k.id}}});t()},f[11]=B,f[12]=k.id,f[13]=l,f[14]=t,f[15]=D,f[16]=z):z=f[16];z=z;var E=c("useToggle")(!1),F=E[0],G=E[1];f[17]!==G?(E=function(){return G(!0)},f[17]=G,f[18]=E):E=f[18];E=E;var H;f[19]!==G?(H=function(){return G(!1)},f[19]=G,f[20]=H):H=f[20];var I=H;f[21]!==C?(H=function(){C.add(n.jsx(c("GeoToast.react"),{"data-testid":void 0,hasIcon:!0,heading:h._(/*BTDS*/"Changes saved"),status:"success"}))},f[21]=C,f[22]=H):H=f[22];var J=H;f[23]!==I||f[24]!==J?(H=function(){I(),J()},f[23]=I,f[24]=J,f[25]=H):H=f[25];H=H;var K=A;f[26]!==k.attribution_model?(K=K(k.attribution_model),f[26]=k.attribution_model,f[27]=K):K=f[27];b=(b=k.attribution_window)!=null?b:d("AdsEventManagerCustomAttribtutionOwnAnalyticsToolUtils").MAX_ATTRIBUTION_WINDOW;var L;f[28]!==k.id||f[29]!==k.name||f[30]!==l||f[31]!==K||f[32]!==b?(L={attributionModel:K,attributionWindow:b,dataSourceID:l,id:k.id,name:k.name},f[28]=k.id,f[29]=k.name,f[30]=l,f[31]=K,f[32]=b,f[33]=L):L=f[33];K=L;f[34]===Symbol["for"]("react.memo_cache_sentinel")?(b=n.jsx(c("GeoIcon.react"),{icon:d("fbicon")._(i("580901"),24)}),f[34]=b):b=f[34];f[35]===Symbol["for"]("react.memo_cache_sentinel")?(L=n.jsx(c("GeoMediaItem.react"),{fit:"contain",media:b,ratio:"square",size:32,xstyle:[c("geoMargin").end8,c("geoMargin").vert4]}),b={flexGrow:1},f[35]=L,f[36]=b):(L=f[35],b=f[36]);e=(e=k.name)!=null?e:"";var M;f[37]!==e?(M=n.jsx(c("GeoHeading.react"),{level:4,children:e}),f[37]=e,f[38]=M):M=f[38];e=k.active_adsets.length>0;var N;f[39]!==e?(N=n.jsx(r,{isActive:e}),f[39]=e,f[40]=N):N=f[40];f[41]!==k.active_adsets?(e=k.active_adsets.length>0?n.jsxs(c("GeoFlexbox.react"),{alignItems:"center",columnGap:4,children:[n.jsx(c("GeoBaseText.react"),{color:"placeholder",size:"value",children:h._(/*BTDS*/"Currently in use for")}),n.jsx(c("GeoPopover.react"),{align:"middle",content:n.jsx(c("GeoFlexbox.react"),{direction:"column",style:{minWidth:300},children:k.active_adsets.length>0?n.jsxs(n.Fragment,{children:[n.jsxs(c("GeoFlexbox.react"),{style:{borderBottom:"1px solid #e4e6ea",padding:"8px 12px"},children:[n.jsx(c("GeoFlexbox.react"),{style:{flex:3},children:n.jsx(c("GeoText.react"),{children:h._(/*BTDS*/"{=m0}",[h._implicitParam("=m0",n.jsx("strong",{children:h._(/*BTDS*/"Ad set")}))])})}),n.jsx(c("GeoFlexbox.react"),{style:{flex:2,justifyContent:"flex-end"},children:n.jsx(c("GeoText.react"),{children:h._(/*BTDS*/"{=m0}",[h._implicitParam("=m0",n.jsx("strong",{children:h._(/*BTDS*/"Amount spent")}))])})})]}),k.active_adsets.map(function(a,b){return(a==null?void 0:a.id)==null||(a==null?void 0:a.name)==null||(a==null?void 0:a.spend)==null?null:n.jsxs(c("GeoFlexbox.react"),{style:{borderBottom:b