AdsLiftSetupFlowInlineNoticeCardAep.react",["fbt","AdStudyConstantsShared","AdsLiftSetupUtils","GeoCollapsibleGuidanceCard.react","GeoGuidanceCardContent.react","GeoGuidanceCardHeader.react","GeoLink.react","GeoNotice.react","URI","react"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j,k=j||d("react"),l=new(i||(i=c("URI")))("https://business.facebook.com/events_manager2/overview"),m=new i("https://www.facebook.com/business/help/433493041367251?id=818859032317965"),n=new i("https://www.facebook.com/business/help/379226453470947?id=818859032317965"),o=new i("https://www.facebook.com/business/help/765081237991954?id=818859032317965");function a(a){var b=a.className,e=a.error;a.linkLabel;a.onClickLink;a=h._("");var f=!1,g=!1,i=!1,j=!1,p=!1,q=!1,r=!1,s=!1,t=!1,u=!1;(e=e.path)==null?void 0:e.map(function(a){var b;a=JSON.parse(a);((b=a.DUPLICATION)==null?void 0:b.length)>0&&(f=u,r=!u);((b=a.CAPI_EXISTS)==null?void 0:b.length)>0&&(g=u,p=!u);((b=a.DELAY)==null?void 0:b.length)>0&&(i=u,s=!u);((b=a.EMQ)==null?void 0:b.length)>0&&(j=u,t=!u);((b=a.CAPI_WARNING)==null?void 0:b.length)>0&&(d("AdsLiftSetupUtils").isSelfServeSetup()?q=!0:p=!0);((b=a.DUPLICATION_WARNING)==null?void 0:b.length)>0&&(r=!0);((b=a.DELAY_WARNING)==null?void 0:b.length)>0&&(s=!0);((b=a.EMQ_WARNING)==null?void 0:b.length)>0&&(t=!0)});e=f||g||i||j;var v=p||r||s||t,w=q,x=Number(p)+Number(r)+Number(s)+Number(t);x=e?h._("You will not be able to run a lift test for this event. Please review the event to ensure that it meets the requirements below. {linebreak}{linebreak}",[h._param("linebreak",k.jsx("br",{}))]):x===1?h._("Please review this potential issue, which can affect your test. {linebreak}{linebreak}",[h._param("linebreak",k.jsx("br",{}))]):x>1?h._("Please review these {number of issues} potential issues, which can affect your test. {linebreak}{linebreak}",[h._param("number of issues",x),h._param("linebreak",k.jsx("br",{}))]):h._("While the selected event(s) meets the minimum requirements to run a lift test, we recommend considering these best practices to improve your existing setup. {linebreak}{linebreak}",[h._param("linebreak",k.jsx("br",{}))]);var y=f?h._("{=m0}{linebreak} If you are using a redundant setup, check that your rate of event deduplication meets best practices. Without deduplication, there may be some instances where you may see two events (one sent from the browser and one sent from the server) appear in your report when only a single event has actually occurred. {linebreak}{linebreak}",[h._param("linebreak",k.jsx("br",{})),h._implicitParam("=m0",k.jsx("b",{children:h._("Event duplication")}))]):!e&&r?h._("{=m0}{linebreak} Some of your events are duplicates. This can happen when events are sent two or more times because they"re being logged by more than one connection method. Follow the instructions in Events Manager to address this issue. {linebreak}{=m4}{linebreak}{linebreak}",[h._param("linebreak",k.jsx("br",{})),h._implicitParam("=m0",k.jsx("b",{children:h._("Event duplication")})),h._implicitParam("=m4",k.jsx(c("GeoLink.react"),{href:l,children:h._("Go to Events Manager")}))]):a,z=g?h._("{=m0}{linebreak} Lift tests can only be run on events with Conversions API. Both redundant (browser and server) and server-only setups are supported. {linebreak}{linebreak}",[h._param("linebreak",k.jsx("br",{})),h._implicitParam("=m0",k.jsx("b",{children:h._("Conversions API")}))]):!e&&p?h._("{=m0}{linebreak} Some of your data sources are based on tracking through a Meta pixel. Consider also using the Conversions API, which provides a direct connection between your marketing data and the systems that help us optimise ad targeting, decrease cost per action and measure more conversions results. {linebreak}{=m4}{linebreak}{linebreak}",[h._param("linebreak",k.jsx("br",{})),h._implicitParam("=m0",k.jsx("b",{children:h._("Conversions API")})),h._implicitParam("=m4",k.jsx(c("GeoLink.react"),{href:m,target:"_blank",children:h._("Learn about Conversions API setup options")}))]):a,A=j?h._("{=m0}{linebreak} We require that lift tests have an event match quality score of at least {emq warning limit}/10. {linebreak}{linebreak}",[h._param("linebreak",k.jsx("br",{})),h._param("emq warning limit",c("AdStudyConstantsShared").emq_error_value),h._implicitParam("=m0",k.jsx("b",{children:h._("Event matching")}))]):!e&&t?h._("{=m0}{linebreak} Some of your data sources have low event match quality scores, which will affect the number of conversions that you can track. Follow the recommendations that we"ve provided to help improve these scores. {linebreak}{=m4}{linebreak}{linebreak}",[h._param("linebreak",k.jsx("br",{})),h._implicitParam("=m0",k.jsx("b",{children:h._("Event matching")})),h._implicitParam("=m4",k.jsx(c("GeoLink.react"),{href:o,children:h._("Learn more about event match quality")}))]):a;a=i?h._("{=m0}{linebreak} Lift tests can only be run on events where the average frequency of events received is daily or better. {linebreak}",[h._param("linebreak",k.jsx("br",{})),h._implicitParam("=m0",k.jsx("b",{children:h._("Data freshness")}))]):!e&&s?h._("{=m0}{linebreak} Some of your events are being sent to Meta with over a 24-hour delay. We can"t report them until they"ve been shared with us. Consider sending events in or as close to real time as possible. {linebreak}{=m4}{linebreak}",[h._param("linebreak",k.jsx("br",{})),h._implicitParam("=m0",k.jsx("b",{children:h._("Data freshness")})),h._implicitParam("=m4",k.jsx(c("GeoLink.react"),{href:n,children:h._("Learn about event delay times")}))]):a;x=h._("{recap error}{capi error}{dedup error}{emq error}{delay error}",[h._param("recap error",x),h._param("capi error",z),h._param("dedup error",y),h._param("emq error",A),h._param("delay error",a)]);return e||v?k.jsx("div",{className:b,children:k.jsx(c("GeoNotice.react"),{"data-testid":void 0,status:e?"error":"warning",children:x})}):w?k.jsx("div",{className:b,style:{width:600},children:k.jsx(c("GeoCollapsibleGuidanceCard.react"),{"data-testid":void 0,header:k.jsx(c("GeoGuidanceCardHeader.react"),{heading:h._("Set up Conversions API to measure more conversions")}),status:"recommendation",children:k.jsxs(c("GeoGuidanceCardContent.react"),{"data-testid":void 0,children:[h._("Conversions API provides a direct connection between your marketing data and the systems that help optimize ad targeting, decrease cost per action and measure outcomes."),k.jsx(c("GeoLink.react"),{href:m,target:"_blank",children:h._("Learn about Conversions API setup options")})]})})}):k.jsx("div",{})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),226);
-----
AdsLiftBudgetCalculationUtils",["fbt","AdStudyConstantsShared","AdStudyPHPConstants","AdsCurrencyFormatter","AdsLiftSetupStudyCellUtils","AdsLiftStudySetupProvider","AdsSSBLEligibilityUtils","CountryCodeMap","Currency","gkx"],(function(a,b,c,d,e,f,g,h){"use strict";function a(a){a=d("AdsLiftSetupStudyCellUtils").mergeCellsAdEntityIDLists(a);var b=a.adAccountIDList;a.campaignGroupIDList.size>0&&(b=a.campaignGroupIDList);a.campaignIDList.size>0&&(b=a.campaignIDList);return b}function i(a,b,c){a=a/b;b=a/c;return b}function b(a,b,c){b=d("Currency").getOffset(b);a=i(a,b,c);b=d("AdsCurrencyFormatter").formatCurrencyFullFormat("USD",a*100,!0,!0,!0);return b}function e(a,b){var c=0,e=new Set();a.forEach(function(a){var f,g,h;a=b.get(a);f=(f=a==null?void 0:a.budget_overlapping_with_lift_study)!=null?f:0;g=(g=a==null?void 0:a.currency)!=null?g:"USD";h=(h=a==null?void 0:a.currency_ratio_to_usd)!=null?h:1;a=(a=a==null?void 0:a.targeted_countries)!=null?a:[];g=d("Currency").getOffset(g);f=i(f,g,h);c+=f;a.forEach(function(a){e.add(a)})});return{totalBudget:c,allTargetedCountries:Array.from(e)}}function j(a,b){var c=!1,d=!0;a.forEach(function(a){var e;a=b.get(a);e=(e=a==null?void 0:a.contains_rf)!=null?e:!1;a=(a=a==null?void 0:a.only_contains_rf)!=null?a:!1;c=c||e;d=d&&a});return{containsRF:c,onlyContainsRF:d}}function f(a){var b=c("AdsLiftStudySetupProvider")().studySetupData.cells;b=d("AdsLiftSetupStudyCellUtils").mergeCellsAdEntityIDLists(b);b=b.adAccountIDList.concat(b.campaignGroupIDList,b.campaignIDList);b=j(b,a);return b}function k(){var a=new Set(["CA","GB","PE","CO","CZ","FI","GR","HK","HU","NL","PT","TR","VN"]);return a}function l(a){var b=k(),e=d("AdStudyPHPConstants").RecommendedBudget.regions;if(e!=null){e=Object.values(e).flat().find(function(b){return Object.prototype.hasOwnProperty.call(b,a)});e=e==null?void 0:e[a];if(e!=null){var f=c("AdStudyConstantsShared").budget_enforcement_test_markets_increase_factor/100;return c("gkx")("2038")&&b.has(a)?Math.round(f*e/1e3)*1e3:e}}return 1e4}function m(a,b,e){e=e.map(function(e){return{countryName:c("CountryCodeMap")[e],budgetRequirement:a?d("AdsSSBLEligibilityUtils").getMinRequiredBudgetCents(b,[e]):l(e)*100}}).sort(function(a,b){return b.budgetRequirement-a.budgetRequirement});return e.map(function(a){var b=a.countryName;a=a.budgetRequirement;return h._("{country}: {amount}",[h._param("country",b),h._param("amount",d("AdsCurrencyFormatter").formatCurrencyFullFormat("USD",a,!0,!0,!1))])})}function n(a){var b=[],c=[];a.forEach(function(a){a.objectLevel==="ad_account"?b.push.apply(b,a.ids):a.objectLevel==="campaign"&&c.push.apply(c,a.ids)});return{adAccountIDs:b,campaignGroupIDs:c}}function o(a,b){a=n(a);return b==="ad_account"?a.adAccountIDs:a.campaignGroupIDs}g.getAdEntitiesForBudgetCalculation=a;g.convertFromCurrencyToUSD=i;g.getFormattedBudgetInUSDForTroubleshooter=b;g.getTotalBudgetCalculationInfo=e;g.getStudyContainsRFAdEntity=j;g.getStudyContainsRFAdEntityAfterAdSourceRemoval=f;g.getTestMarkets=k;g.getCountryMinimum=l;g.getCountryBudgetsForGuidanceCard=m;g.getSSBLAdEntities=n;g.getSSBLAdEntitiesForLevel=o}),226);
-----
AdStudyConstantsShared",[],(function(a,b,c,d,e,f){a=Object.freeze({emq_warning_value:5,emq_error_value:3,question_id_to_end:193011147401144,question_id_to_end_old:238279436214242,budget_enforcement_test_markets_increase_factor:160});f["default"]=a}),66);
-----
AdStudyConstantsShared",[],(function(a,b,c,d,e,f){a=Object.freeze({emq_warning_value:5,emq_error_value:3,question_id_to_end:193011147401144,question_id_to_end_old:238279436214242});f["default"]=a}),66);
-----
AdsLiftSetupFlowInlineNoticeCardAep.react",["fbt","AdStudyConstantsShared","AdsLiftSetupUtils","GeoCollapsibleGuidanceCard.react","GeoGuidanceCardContent.react","GeoGuidanceCardHeader.react","GeoLink.react","GeoNotice.react","URI","gkx","react"],(function(a,b,c,d,e,f,g,h){"use strict";var i=d("react"),j=new(c("URI"))("https://business.facebook.com/events_manager2/overview"),k=new(c("URI"))("https://www.facebook.com/business/help/433493041367251?id=818859032317965"),l=new(c("URI"))("https://www.facebook.com/business/help/379226453470947?id=818859032317965"),m=new(c("URI"))("https://www.facebook.com/business/help/765081237991954?id=818859032317965");function a(a){var b,e=a.linkLabel,f=a.onClickLink,g=h._(""),n=!1,o=!1,p=!1,q=!1,r=!1,s=!1,t=!1,u=!1,v=!1,w=c("gkx")("3434");(b=a.error.path)==null?void 0:b.map(function(a){var b,e;a=JSON.parse(a);((b=a.DUPLICATION)==null?void 0:b.length)>0&&(n=!w,t=w);((b=a.CAPI_EXISTS)==null?void 0:b.length)>0&&(o=!w,r=w);((b=a.DELAY)==null?void 0:b.length)>0&&(p=!w,u=w);((b=a.EMQ)==null?void 0:b.length)>0&&(q=!w,v=w);b=c("gkx")("200");((e=a.CAPI_WARNING)==null?void 0:e.length)>0&&(d("AdsLiftSetupUtils").isSelfServeSetup()&&b?s=!0:r=!0);((e=a.DUPLICATION_WARNING)==null?void 0:e.length)>0&&(t=!0);((b=a.DELAY_WARNING)==null?void 0:b.length)>0&&(u=!0);((e=a.EMQ_WARNING)==null?void 0:e.length)>0&&(v=!0)});b=n||o||p||q;var x=r||t||u||v,y=s,z=Number(r)+Number(t)+Number(u)+Number(v);z=b?h._("You will not be able to run a lift test for this event. Please review the event to ensure it meets the requirements below. {linebreak}{linebreak}",[h._param("linebreak",i.jsx("br",{}))]):z>0&&w?z===1?h._("Please review this potential issue which can impact your test. {linebreak}{linebreak}",[h._param("linebreak",i.jsx("br",{}))]):h._("Please review these {number of issues} potential issues which can impact your test. {linebreak}{linebreak}",[h._param("number of issues",z),h._param("linebreak",i.jsx("br",{}))]):h._("While the selected event(s) meets the minimum requirements to run a lift test, we recommend considering these best practices to improve your existing setup. {linebreak}{linebreak}",[h._param("linebreak",i.jsx("br",{}))]);var A=n?h._("{=m0}{linebreak} If you are using a redundant set up, check that your rate of event deduplication meets best practices. Without deduplication, there may be some instances where you may see two events (one sent from the browser and one sent from the server) show up in your report when only a single event has actually occurred. {linebreak}{linebreak}",[h._param("linebreak",i.jsx("br",{})),h._implicitParam("=m0",i.jsx("b",{children:h._("Event duplication")}))]):!b&&t?w?h._("{=m0}{linebreak} Some of your events are duplicates. This can happen when events are sent 2 or more times because theyu2019re being logged by more than one connection method. Follow the instructions in Events Manager to address this issue. {linebreak}{=m4}{linebreak}{linebreak}",[h._param("linebreak",i.jsx("br",{})),h._implicitParam("=m0",i.jsx("b",{children:h._("Event duplication")})),h._implicitParam("=m4",i.jsx(c("GeoLink.react"),{href:j,children:h._("Go to Events Manager")}))]):h._("{=m0}{linebreak} For redundant set-ups, check that your rate of event deduplication meets best practices. Without deduplication, there may be some instances where you may see two events (one sent from the browser and one sent from the server) show up in your report when only a single event has actually occurred. {linebreak}{linebreak}",[h._param("linebreak",i.jsx("br",{})),h._implicitParam("=m0",i.jsx("b",{children:h._("Event duplication")}))]):g,B=o?h._("{=m0}{linebreak} Lift tests can only be run on events with Conversions API. Both redundant (browser and server) and server only setups are supported. {linebreak}{linebreak}",[h._param("linebreak",i.jsx("br",{})),h._implicitParam("=m0",i.jsx("b",{children:h._("Conversions API")}))]):!b&&r?w?h._("{=m0}{linebreak} Some of your data sources are based on tracking through a Meta Pixel. Consider also using the Conversions API, which provides a direct connection between your marketing data and the systems that help us optimize ad targeting, decrease cost per action and measure more conversions results. {linebreak}{=m4}{linebreak}{linebreak}",[h._param("linebreak",i.jsx("br",{})),h._implicitParam("=m0",i.jsx("b",{children:h._("Conversions API")})),h._implicitParam("=m4",i.jsx(c("GeoLink.react"),{href:k,target:"_blank",children:h._("Learn about Conversions API setup options")}))]):h._("{=m0}{linebreak} When possible, we recommend Lift tests to be run on events with Conversions API. {linebreak}{linebreak}",[h._param("linebreak",i.jsx("br",{})),h._implicitParam("=m0",i.jsx("b",{children:h._("Conversions API")}))]):g,C=q?h._("{=m0}{linebreak} We require Lift tests have an event match quality score of at least {emq warning limit}/10. {linebreak}{linebreak}",[h._param("linebreak",i.jsx("br",{})),h._param("emq warning limit",c("AdStudyConstantsShared").emq_error_value),h._implicitParam("=m0",i.jsx("b",{children:h._("Event matching")}))]):!b&&v?w?h._("{=m0}{linebreak} Some of your data sources have low event match quality scores, which will impact the number of conversions you can track. Follow the recommendations weu2019ve provided to help improve these scores. {linebreak}{=m4}{linebreak}{linebreak}",[h._param("linebreak",i.jsx("br",{})),h._implicitParam("=m0",i.jsx("b",{children:h._("Event matching")})),h._implicitParam("=m4",i.jsx(c("GeoLink.react"),{href:m,children:h._("Learn more about Event Match Quality")}))]):h._("{=m0}{linebreak} When possible, we recommend Lift tests have an event match quality score of at least {emq warning limit}/10. {linebreak}{linebreak}",[h._param("linebreak",i.jsx("br",{})),h._param("emq warning limit",c("AdStudyConstantsShared").emq_warning_value),h._implicitParam("=m0",i.jsx("b",{children:h._("Event matching")}))]):g;g=p?h._("{=m0}{linebreak} Lift tests can only be run on events where the average frequency of events received is daily or better. {linebreak}",[h._param("linebreak",i.jsx("br",{})),h._implicitParam("=m0",i.jsx("b",{children:h._("Data freshness")}))]):!b&&u?w?h._("{=m0}{linebreak} Some of your events are being sent to Meta with over a 24 hour delay. We canu2019t report them until theyu2019ve been shared with us. Consider sending events in or as close to real time as possible. {linebreak}{=m4}{linebreak}",[h._param("linebreak",i.jsx("br",{})),h._implicitParam("=m0",i.jsx("b",{children:h._("Data freshness")})),h._implicitParam("=m4",i.jsx(c("GeoLink.react"),{href:l,children:h._("Learn about event delay times")}))]):h._("{=m0} Data freshness {linebreak} Share your events in real time or as close to real time as possible. Sending events with delays greater than 24 hours may negatively affect performance and measurement. {linebreak}",[h._param("linebreak",i.jsx("br",{})),h._implicitParam("=m0",i.jsx("b",{children:h._("Data freshness")}))]):g;z=h._("{recap error}{capi error}{dedup error}{emq error}{delay error}",[h._param("recap error",z),h._param("capi error",B),h._param("dedup error",A),h._param("emq error",C),h._param("delay error",g)]);return b||x?i.jsx("div",{className:a.className,children:i.jsx(c("GeoNotice.react"),{action:e!=null&&f&&!w?i.jsx(c("GeoLink.react"),{onClick:f,children:e}):void 0,"data-testid":void 0,status:b?"error":"warning",children:z})}):y?i.jsx("div",{className:a.className,style:{width:600},children:i.jsx(c("GeoCollapsibleGuidanceCard.react"),{"data-testid":void 0,header:i.jsx(c("GeoGuidanceCardHeader.react"),{heading:h._("Setup Conversions API to measure more conversions")}),status:"recommendation",children:i.jsxs(c("GeoGuidanceCardContent.react"),{"data-testid":void 0,children:[h._("Conversions API provides a direct connection between your marketing data and the systems that help optimize ad targeting, decrease cost per action and measure outcomes."),i.jsx(c("GeoLink.react"),{href:k,target:"_blank",children:h._("Learn about Conversions API setup options")})]})})}):i.jsx("div",{})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
-----
-----
AdsLiftBudgetCalculationUtils",["fbt","AdStudyConstantsShared","AdStudyPHPConstants","AdsCurrencyFormatter","AdsLiftSetupStudyCellUtils","AdsLiftStudySetupProvider","AdsSSBLEligibilityUtils","CountryCodeMap","Currency","gkx"],(function(a,b,c,d,e,f,g,h){"use strict";function a(a){a=d("AdsLiftSetupStudyCellUtils").mergeCellsAdEntityIDLists(a);var b=a.adAccountIDList;a.campaignGroupIDList.size>0&&(b=a.campaignGroupIDList);a.campaignIDList.size>0&&(b=a.campaignIDList);return b}function i(a,b,c){a=a/b;b=a/c;return b}function b(a,b,c){b=d("Currency").getOffset(b);a=i(a,b,c);b=d("AdsCurrencyFormatter").formatCurrencyFullFormat("USD",a*100,!0,!0,!0);return b}function e(a,b){var c=0,e=new Set();a.forEach(function(a){var f,g,h;a=b.get(a);f=(f=a==null?void 0:a.budget_overlapping_with_lift_study)!=null?f:0;g=(g=a==null?void 0:a.currency)!=null?g:"USD";h=(h=a==null?void 0:a.currency_ratio_to_usd)!=null?h:1;a=(a=a==null?void 0:a.targeted_countries)!=null?a:[];g=d("Currency").getOffset(g);f=i(f,g,h);c+=f;a.forEach(function(a){e.add(a)})});return{totalBudget:c,allTargetedCountries:Array.from(e)}}function j(a,b){var c=!1,d=!0;a.forEach(function(a){var e;a=b.get(a);e=(e=a==null?void 0:a.contains_rf)!=null?e:!1;a=(a=a==null?void 0:a.only_contains_rf)!=null?a:!1;c=c||e;d=d&&a});return{containsRF:c,onlyContainsRF:d}}function f(a){var b=c("AdsLiftStudySetupProvider")().studySetupData.cells;b=d("AdsLiftSetupStudyCellUtils").mergeCellsAdEntityIDLists(b);b=b.adAccountIDList.concat(b.campaignGroupIDList,b.campaignIDList);b=j(b,a);return b}function k(){var a=new Set(["CA","GB","PE","CO","CZ","FI","GR","HK","HU","NL","PT","TR","VN"]);return a}function l(a){var b=k(),e=d("AdStudyPHPConstants").RecommendedBudget.regions;if(e!=null){e=Object.values(e).flat().find(function(b){return Object.prototype.hasOwnProperty.call(b,a)});e=e==null?void 0:e[a];if(e!=null){var f=c("AdStudyConstantsShared").budget_enforcement_test_markets_increase_factor/100;return c("gkx")("2038")&&b.has(a)?Math.round(f*e/1e3)*1e3:e}}return 1e4}function m(a,b,e){e=e.map(function(e){return{countryName:c("CountryCodeMap")[e],budgetRequirement:a?d("AdsSSBLEligibilityUtils").getMinRequiredBudgetCents(b,[e]):l(e)*100}}).sort(function(a,b){return b.budgetRequirement-a.budgetRequirement});return e.map(function(a){var b=a.countryName;a=a.budgetRequirement;return h._("{country}: {amount}",[h._param("country",b),h._param("amount",d("AdsCurrencyFormatter").formatCurrencyFullFormat("USD",a,!0,!0,!1))])})}function n(a){var b=[],c=[];a.forEach(function(a){a.objectLevel==="ad_account"?b.push.apply(b,a.ids):a.objectLevel==="campaign"&&c.push.apply(c,a.ids)});return{adAccountIDs:b,campaignGroupIDs:c}}function o(a,b){a=n(a);return b==="ad_account"?a.adAccountIDs:a.campaignGroupIDs}g.getAdEntitiesForBudgetCalculation=a;g.convertFromCurrencyToUSD=i;g.getFormattedBudgetInUSDForTroubleshooter=b;g.getTotalBudgetCalculationInfo=e;g.getStudyContainsRFAdEntity=j;g.getStudyContainsRFAdEntityAfterAdSourceRemoval=f;g.getTestMarkets=k;g.getCountryMinimum=l;g.getCountryBudgetsForGuidanceCard=m;g.getSSBLAdEntities=n;g.getSSBLAdEntitiesForLevel=o}),226);
-----
AdStudyConstantsShared",[],(function(a,b,c,d,e,f){a=Object.freeze({emq_warning_value:5,emq_error_value:3,question_id_to_end:193011147401144,question_id_to_end_old:238279436214242,budget_enforcement_test_markets_increase_factor:160});f["default"]=a}),66);
-----
AdStudyConstantsShared",[],(function(a,b,c,d,e,f){a=Object.freeze({emq_warning_value:5,emq_error_value:3,question_id_to_end:193011147401144,question_id_to_end_old:238279436214242});f["default"]=a}),66);
-----
AdsLiftSetupFlowInlineNoticeCardAep.react",["fbt","AdStudyConstantsShared","AdsLiftSetupUtils","GeoCollapsibleGuidanceCard.react","GeoGuidanceCardContent.react","GeoGuidanceCardHeader.react","GeoLink.react","GeoNotice.react","URI","gkx","react"],(function(a,b,c,d,e,f,g,h){"use strict";var i=d("react"),j=new(c("URI"))("https://business.facebook.com/events_manager2/overview"),k=new(c("URI"))("https://www.facebook.com/business/help/433493041367251?id=818859032317965"),l=new(c("URI"))("https://www.facebook.com/business/help/379226453470947?id=818859032317965"),m=new(c("URI"))("https://www.facebook.com/business/help/765081237991954?id=818859032317965");function a(a){var b,e=a.linkLabel,f=a.onClickLink,g=h._(""),n=!1,o=!1,p=!1,q=!1,r=!1,s=!1,t=!1,u=!1,v=!1,w=c("gkx")("3434");(b=a.error.path)==null?void 0:b.map(function(a){var b,e;a=JSON.parse(a);((b=a.DUPLICATION)==null?void 0:b.length)>0&&(n=!w,t=w);((b=a.CAPI_EXISTS)==null?void 0:b.length)>0&&(o=!w,r=w);((b=a.DELAY)==null?void 0:b.length)>0&&(p=!w,u=w);((b=a.EMQ)==null?void 0:b.length)>0&&(q=!w,v=w);b=c("gkx")("200");((e=a.CAPI_WARNING)==null?void 0:e.length)>0&&(d("AdsLiftSetupUtils").isSelfServeSetup()&&b?s=!0:r=!0);((e=a.DUPLICATION_WARNING)==null?void 0:e.length)>0&&(t=!0);((b=a.DELAY_WARNING)==null?void 0:b.length)>0&&(u=!0);((e=a.EMQ_WARNING)==null?void 0:e.length)>0&&(v=!0)});b=n||o||p||q;var x=r||t||u||v,y=s,z=Number(r)+Number(t)+Number(u)+Number(v);z=b?h._("You will not be able to run a lift test for this event. Please review the event to ensure it meets the requirements below. {linebreak}{linebreak}",[h._param("linebreak",i.jsx("br",{}))]):z>0&&w?z===1?h._("Please review this potential issue which can impact your test. {linebreak}{linebreak}",[h._param("linebreak",i.jsx("br",{}))]):h._("Please review these {number of issues} potential issues which can impact your test. {linebreak}{linebreak}",[h._param("number of issues",z),h._param("linebreak",i.jsx("br",{}))]):h._("While the selected event(s) meets the minimum requirements to run a lift test, we recommend considering these best practices to improve your existing setup. {linebreak}{linebreak}",[h._param("linebreak",i.jsx("br",{}))]);var A=n?h._("{=m0}{linebreak} If you are using a redundant set up, check that your rate of event deduplication meets best practices. Without deduplication, there may be some instances where you may see two events (one sent from the browser and one sent from the server) show up in your report when only a single event has actually occurred. {linebreak}{linebreak}",[h._param("linebreak",i.jsx("br",{})),h._implicitParam("=m0",i.jsx("b",{children:h._("Event duplication")}))]):!b&&t?w?h._("{=m0}{linebreak} Some of your events are duplicates. This can happen when events are sent 2 or more times because theyu2019re being logged by more than one connection method. Follow the instructions in Events Manager to address this issue. {linebreak}{=m4}{linebreak}{linebreak}",[h._param("linebreak",i.jsx("br",{})),h._implicitParam("=m0",i.jsx("b",{children:h._("Event duplication")})),h._implicitParam("=m4",i.jsx(c("GeoLink.react"),{href:j,children:h._("Go to Events Manager")}))]):h._("{=m0}{linebreak} For redundant set-ups, check that your rate of event deduplication meets best practices. Without deduplication, there may be some instances where you may see two events (one sent from the browser and one sent from the server) show up in your report when only a single event has actually occurred. {linebreak}{linebreak}",[h._param("linebreak",i.jsx("br",{})),h._implicitParam("=m0",i.jsx("b",{children:h._("Event duplication")}))]):g,B=o?h._("{=m0}{linebreak} Lift tests can only be run on events with Conversions API. Both redundant (browser and server) and server only setups are supported. {linebreak}{linebreak}",[h._param("linebreak",i.jsx("br",{})),h._implicitParam("=m0",i.jsx("b",{children:h._("Conversions API")}))]):!b&&r?w?h._("{=m0}{linebreak} Some of your data sources are based on tracking through a Meta Pixel. Consider also using the Conversions API, which provides a direct connection between your marketing data and the systems that help us optimize ad targeting, decrease cost per action and measure more conversions results. {linebreak}{=m4}{linebreak}{linebreak}",[h._param("linebreak",i.jsx("br",{})),h._implicitParam("=m0",i.jsx("b",{children:h._("Conversions API")})),h._implicitParam("=m4",i.jsx(c("GeoLink.react"),{href:k,target:"_blank",children:h._("Learn about Conversions API setup options")}))]):h._("{=m0}{linebreak} When possible, we recommend Lift tests to be run on events with Conversions API. {linebreak}{linebreak}",[h._param("linebreak",i.jsx("br",{})),h._implicitParam("=m0",i.jsx("b",{children:h._("Conversions API")}))]):g,C=q?h._("{=m0}{linebreak} We require Lift tests have an event match quality score of at least {emq warning limit}/10. {linebreak}{linebreak}",[h._param("linebreak",i.jsx("br",{})),h._param("emq warning limit",c("AdStudyConstantsShared").emq_error_value),h._implicitParam("=m0",i.jsx("b",{children:h._("Event matching")}))]):!b&&v?w?h._("{=m0}{linebreak} Some of your data sources have low event match quality scores, which will impact the number of conversions you can track. Follow the recommendations weu2019ve provided to help improve these scores. {linebreak}{=m4}{linebreak}{linebreak}",[h._param("linebreak",i.jsx("br",{})),h._implicitParam("=m0",i.jsx("b",{children:h._("Event matching")})),h._implicitParam("=m4",i.jsx(c("GeoLink.react"),{href:m,children:h._("Learn more about Event Match Quality")}))]):h._("{=m0}{linebreak} When possible, we recommend Lift tests have an event match quality score of at least {emq warning limit}/10. {linebreak}{linebreak}",[h._param("linebreak",i.jsx("br",{})),h._param("emq warning limit",c("AdStudyConstantsShared").emq_warning_value),h._implicitParam("=m0",i.jsx("b",{children:h._("Event matching")}))]):g;g=p?h._("{=m0}{linebreak} Lift tests can only be run on events where the average frequency of events received is daily or better. {linebreak}",[h._param("linebreak",i.jsx("br",{})),h._implicitParam("=m0",i.jsx("b",{children:h._("Data freshness")}))]):!b&&u?w?h._("{=m0}{linebreak} Some of your events are being sent to Meta with over a 24 hour delay. We canu2019t report them until theyu2019ve been shared with us. Consider sending events in or as close to real time as possible. {linebreak}{=m4}{linebreak}",[h._param("linebreak",i.jsx("br",{})),h._implicitParam("=m0",i.jsx("b",{children:h._("Data freshness")})),h._implicitParam("=m4",i.jsx(c("GeoLink.react"),{href:l,children:h._("Learn about event delay times")}))]):h._("{=m0} Data freshness {linebreak} Share your events in real time or as close to real time as possible. Sending events with delays greater than 24 hours may negatively affect performance and measurement. {linebreak}",[h._param("linebreak",i.jsx("br",{})),h._implicitParam("=m0",i.jsx("b",{children:h._("Data freshness")}))]):g;z=h._("{recap error}{capi error}{dedup error}{emq error}{delay error}",[h._param("recap error",z),h._param("capi error",B),h._param("dedup error",A),h._param("emq error",C),h._param("delay error",g)]);return b||x?i.jsx("div",{className:a.className,children:i.jsx(c("GeoNotice.react"),{action:e!=null&&f&&!w?i.jsx(c("GeoLink.react"),{onClick:f,children:e}):void 0,"data-testid":void 0,status:b?"error":"warning",children:z})}):y?i.jsx("div",{className:a.className,style:{width:600},children:i.jsx(c("GeoCollapsibleGuidanceCard.react"),{"data-testid":void 0,header:i.jsx(c("GeoGuidanceCardHeader.react"),{heading:h._("Setup Conversions API to measure more conversions")}),status:"recommendation",children:i.jsxs(c("GeoGuidanceCardContent.react"),{"data-testid":void 0,children:[h._("Conversions API provides a direct connection between your marketing data and the systems that help optimize ad targeting, decrease cost per action and measure outcomes."),i.jsx(c("GeoLink.react"),{href:k,target:"_blank",children:h._("Learn about Conversions API setup options")})]})})}):i.jsx("div",{})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
-----