TopBenefitsCardPartnerCenterPilot.react",["fbt","ix","GeoIcon.react","GeoList.react","GeoListItem.react","GeoSection.react","GeoText.react","GeoVStack.react","RelayHooks","RelayModern","TopBenefitsCard.react","TopBenefitsCardPartnerCenterPilotOptInMutation.graphql","fbicon","react"],(function(a,b,c,d,e,f,g,h,i){"use strict";var j,k,l=k||(k=d("react"));e=k;var m=e.useEffect,n=e.useMemo,o=e.useState,p=function(){return h._(/*BTDS*/"Join the Conversions API Gateway demo Pilot")},q=function(){var a,b,e,f;return l.jsx(c("GeoSection.react"),{children:l.jsxs(c("GeoVStack.react"),{children:[l.jsx(b=c("GeoText.react"),{children:h._(/*BTDS*/"The Conversions API Gateway demo lets agencies experience the benefits of CAPI-G with no upfront cost or technical setup. During the demo, Meta hosts the CAPI-G instance and covers all cloud service expenses. This "try-before-you-buy" opportunity lets you see real performance improvements, like additional conversions reported (ACR) in Events Manager, before committing long-term.")}),l.jsx(b,{children:h._(/*BTDS*/"What to Expect:")}),l.jsxs(c("GeoList.react"),{density:"dense",children:[l.jsx(e=c("GeoListItem.react"),{label:h._(/*BTDS*/"Once you confirm, weu2019ll set up a kickoff meeting for a quick introduction of the solution and next steps."),media:l.jsx(f=c("GeoIcon.react"),{icon:(a=d("fbicon"))._(i("477812"),12)})}),l.jsx(e,{label:h._(/*BTDS*/"After the kickoff meeting, weu2019ll enable access in the Partner Center for your Business Manager(s) and provide instructions."),media:l.jsx(f,{icon:a._(i("477812"),12)})}),l.jsx(e,{label:h._(/*BTDS*/"Youu2019ll have support from a dedicated Meta team."),media:l.jsx(f,{icon:a._(i("477812"),12)})}),l.jsx(e,{label:h._(/*BTDS*/"We ask that you use your CAPI-G instance to onboard existing and new pixels and provide feedback once at the end (via survey)."),media:l.jsx(f,{icon:a._(i("477812"),12)})})]}),l.jsx(b,{children:h._(/*BTDS*/"As this is a pre-release test, you may encounter bugs or want additional features. Your feedback is essential to help us improve.")}),l.jsx(b,{children:h._(/*BTDS*/"Pilot participants will be selected on a first-come, first-served basis, based on the order of opt-in submissions in Partner Center Home. Due to limited availability, spots will be displayed to all eligible agencies within Partner Center Home.")})]})})};function a(a){var e=a.businessID,f=a.maxUsage,g=a.usageStatus,k=d("RelayHooks").useRelayEnvironment();a=o(!1);var r=a[0],s=a[1];a=o(f!=null&&f==="Opted-in");var t=a[0],u=a[1],v=n(function(){return f!=null&&f!=="Opted-in"&&g!=null&&+g>=+f},[f,g]);a=n(function(){if(t)return h._(/*BTDS*/"Opted in");else if(v)return h._(/*BTDS*/"Join waitlist");else return h._(/*BTDS*/"Opt In")},[t,v]);var w=function(){s(!1),u(!0)},x=function(){s(!1),u(!1)};m(function(){if(r){var a=d("RelayModern").commitMutation(k,{mutation:j!==void 0?j:j=b("TopBenefitsCardPartnerCenterPilotOptInMutation.graphql"),variables:{businessID:e},onCompleted:w,onError:x});return function(){return a.dispose()}}},[r,e,k]);var y=function(){s(!0)};return l.jsx(c("TopBenefitsCard.react"),{benefitType:"PARTNER_CENTER_PILOT",businessID:e,content:q(),icon:i("910415"),isPrimaryButtonDisabled:t||r,isPrimaryButtonLoading:r,primaryButtonLabel:a,primaryButtonOnClick:y,secondaryButtonLabel:h._(/*BTDS*/"Learn More"),secondaryButtonUrl:"https://developers.facebook.com/docs/marketing-api/gateway-products/conversions-api-gateway",status:t?"success":"warning",title:p(),usage:a})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),226);
-----
TopBenefitsCardPartnerCenterPilotOptInMutation.graphql",["TopBenefitsCardPartnerCenterPilotOptInMutation_facebookRelayOperation"],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{defaultValue:null,kind:"LocalArgument",name:"businessID"}],c=[{alias:null,args:[{kind:"Variable",name:"business_id",variableName:"businessID"}],kind:"ScalarField",name:"xfb_marketing_partner_business_optin_to_pilot",storageKey:null}];return{fragment:{argumentDefinitions:a,kind:"Fragment",metadata:null,name:"TopBenefitsCardPartnerCenterPilotOptInMutation",selections:c,type:"Mutation",abstractKey:null},kind:"Request",operation:{argumentDefinitions:a,kind:"Operation",name:"TopBenefitsCardPartnerCenterPilotOptInMutation",selections:c},params:{id:b("TopBenefitsCardPartnerCenterPilotOptInMutation_facebookRelayOperation"),metadata:{},name:"TopBenefitsCardPartnerCenterPilotOptInMutation",operationKind:"mutation",text:null}}}();e.exports=a}),null);
-----
TopBenefitsCardPartnerCenterPilotOptInMutation_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="23908554652156846"}),null);
-----
-----
TopBenefitsCardPartnerCenterPilotOptInMutation.graphql",["TopBenefitsCardPartnerCenterPilotOptInMutation_facebookRelayOperation"],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{defaultValue:null,kind:"LocalArgument",name:"businessID"}],c=[{alias:null,args:[{kind:"Variable",name:"business_id",variableName:"businessID"}],kind:"ScalarField",name:"xfb_marketing_partner_business_optin_to_pilot",storageKey:null}];return{fragment:{argumentDefinitions:a,kind:"Fragment",metadata:null,name:"TopBenefitsCardPartnerCenterPilotOptInMutation",selections:c,type:"Mutation",abstractKey:null},kind:"Request",operation:{argumentDefinitions:a,kind:"Operation",name:"TopBenefitsCardPartnerCenterPilotOptInMutation",selections:c},params:{id:b("TopBenefitsCardPartnerCenterPilotOptInMutation_facebookRelayOperation"),metadata:{},name:"TopBenefitsCardPartnerCenterPilotOptInMutation",operationKind:"mutation",text:null}}}();e.exports=a}),null);
-----
TopBenefitsCardPartnerCenterPilotOptInMutation_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="23908554652156846"}),null);
-----