text: if (self.CavalryLogger) { CavalryLogger.start_js(["5l20P"]); }
  
  __d("AdsLWIPromotionTabNuxStoreCreateSuccessActionHandler",["AdsBoostedComponentCommonV2CreateSuccessWithBoostIdDataActionFlux","AdsDataAtom","AdsSelectorUtils","BoostedComponentExistingAdInfoStoreV2","BoostedComponentStoreState","adsLWIBoostedComponentObjectiveSelector","adsLWIInstanceDataSelector","nullthrows"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g=b("BoostedComponentStoreState").getKey;a={type:b("AdsBoostedComponentCommonV2CreateSuccessWithBoostIdDataActionFlux").actionType,genExtraData:function(a,c){b("AdsDataAtom").waitFor(b("AdsSelectorUtils").getStoreDispatchTokens([b("adsLWIBoostedComponentObjectiveSelector"),b("adsLWIInstanceDataSelector")]));c=a.boostID;a=a.instanceID;a=b("nullthrows")(b("adsLWIInstanceDataSelector")(a));var d=a.product;a=g(a.appID,a.targetID,c);c=b("BoostedComponentExistingAdInfoStoreV2").getDataByKey(a);a=c.objective;return{objective:a,product:d}},mutate:function(a,b,c){a=b.product;return a!==null?b:b.withMutations(function(a){a.set("objective",c.objective).set("product",c.product)})}};e.exports=a}),null);
  __d("AdsLWIPromotionTabNuxStoreEditCloseActionHandler",["BoostedComponentDialogUIActionTypesV2"],(function(a,b,c,d,e,f){"use strict";a={type:b("BoostedComponentDialogUIActionTypesV2").EDIT_DIALOG_CLOSE,mutate:function(a,b,c){a=b.product;return a===null?b:b.set("showNuxAfterCreation",!0)}};e.exports=a}),null);
  __d("AdsLWIPromotionTabNuxStoreActionHandlers",["AdsLWIPromotionTabNuxStoreCreateSuccessActionHandler","AdsLWIPromotionTabNuxStoreEditCloseActionHandler"],(function(a,b,c,d,e,f){"use strict";e.exports=[b("AdsLWIPromotionTabNuxStoreCreateSuccessActionHandler"),b("AdsLWIPromotionTabNuxStoreEditCloseActionHandler")]}),null);
  __d("AdsLWIPromotionsTabNux.react",["cx","React","SimpleNUXMessage","XUIAmbientNUX.react"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();var h=b("React").useState;function a(a){var c=a.nuxBody,d=a.nuxTitle,e=a.nuxType;a=a.promotionTab;var f=h(!0),g=f[0],i=f[1];f=function(){b("SimpleNUXMessage").markMessageSeenByUser(e),i(!1)};var j=b("SimpleNUXMessage").hasUserSeenMessage(e);return!g||j||c===null?null:b("React").createElement(b("XUIAmbientNUX.react"),{context:a,customwidth:320,position:"below",shown:g,width:"custom",onCloseButtonClick:f},d!=null&&b("React").createElement("div",{className:"_1bnq"},d),b("React").createElement("div",{className:"_1bnr"},c))}e.exports=a}),null);
  __d("AdsLWIPromotionsTabNuxContainerQuery.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{kind:"LocalArgument",name:"pageID",type:"ID!",defaultValue:null}],b=[{kind:"Variable",name:"id",variableName:"pageID"}],c={kind:"LinkedField",alias:"adminInfo",name:"admin_info",storageKey:null,args:null,concreteType:"PageAdminInfo",plural:!1,selections:[{kind:"ScalarField",alias:null,name:"is_advertiser",args:null,storageKey:null}]};return{kind:"Request",fragment:{kind:"Fragment",name:"AdsLWIPromotionsTabNuxContainerQuery",type:"Query",metadata:null,argumentDefinitions:a,selections:[{kind:"LinkedField",alias:null,name:"page",storageKey:null,args:b,concreteType:"Page",plural:!1,selections:[c]}]},operation:{kind:"Operation",name:"AdsLWIPromotionsTabNuxContainerQuery",argumentDefinitions:a,selections:[{kind:"LinkedField",alias:null,name:"page",storageKey:null,args:b,concreteType:"Page",plural:!1,selections:[c,{kind:"ScalarField",alias:null,name:"id",args:null,storageKey:null}]}]},params:{operationKind:"query",name:"AdsLWIPromotionsTabNuxContainerQuery",id:"1799994786766695",text:null,metadata:{}}}}();e.exports=a}),null);
  __d("AdsLWIPromotionTabNuxRecord",["AdproObjectiveType","immutable"],(function(a,b,c,d,e,f){"use strict";a=b("immutable").Record({objective:b("AdproObjectiveType").NONE,product:null,showNuxAfterCreation:!1});c=function(a){babelHelpers.inheritsLoose(b,a);function b(){return a.apply(this,arguments)||this}return b}(a);e.exports=c}),null);
  __d("AdsLWIPromotionTabNuxStore",["AdsDataAtom","AdsLWIPromotionTabNuxRecord","FluxReduceStore","createObjectBy","AdsLWIPromotionTabNuxStoreActionHandlers"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g=b("createObjectBy")(b("AdsLWIPromotionTabNuxStoreActionHandlers"),function(a){return a.type});a=function(a){__p&&__p();babelHelpers.inheritsLoose(c,a);function c(){return a.apply(this,arguments)||this}var d=c.prototype;d.getInitialState=function(){return new(b("AdsLWIPromotionTabNuxRecord"))()};d.reduce=function(a,b){b=b.action;var c=g[b.type];if(c){var d=c.genExtraData&&c.genExtraData(b,a);return c.mutate(b,a,d)}return a};return c}(b("FluxReduceStore"));a.__moduleID=e.id;e.exports=new a(b("AdsDataAtom"))}),null);
  __d("adsLWIPromotionTabNuxStoreDataSelector",["AdsLWIPromotionTabNuxStore","AdsStoreUtils"],(function(a,b,c,d,e,f){"use strict";a=b("AdsStoreUtils").toSelector(b("AdsLWIPromotionTabNuxStore"));e.exports=a}),null);
  __d("AdsLWIPromotionsTabNuxContainer.react",["fbt","AdproObjectiveType","AdsFluxHooks","AdsLWIPromotionsTabNux.react","BoostedComponentProduct","React","RelayFBEnvironment","RelayModern","adsLWIPromotionTabNuxStoreDataSelector","nullthrows","qex","requireCond","cr:938019","AdsLWIPromotionsTabNuxContainerQuery.graphql"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();c=b("AdsFluxHooks").adsFluxContainer;var h=b("AdsFluxHooks").useAdsSelector,i=b("RelayModern").QueryRenderer;b("RelayModern").graphql;b("cr:938019");function j(a,c,d,e){if(!c||!d)return null;if(e===b("AdproObjectiveType").WEBSITE_CONVERSIONS)return g._("View Your Sales and Results");if(d===b("BoostedComponentProduct").BOOSTED_POST)return g._("Manage Your Boosted Posts");else return g._("Manage Your Promotions")}function k(a,c,d){if(c&&d)if(d===b("BoostedComponentProduct").BOOSTED_POST)return g._("When people start responding to your boosted posts, you can view the results here.");else return g._("When people start responding to your promotions, you can view the results here.");else if(a===!0)return g._("Your ad results are now in one place!");else if(a===!1)return g._("Learn how to use ads to get results and reach more people.");else return null}var l=function(){return b("AdsLWIPromotionsTabNuxContainerQuery.graphql")};function a(a){__p&&__p();var c=a.pageID,d=a.tabElement;a=h(b("nullthrows")(b("adsLWIPromotionTabNuxStoreDataSelector")));var e=a.objective,f=a.product,g=a.showNuxAfterCreation;if(c==null||c==="")return null;a=b("qex")._("939799");return a===!0?b("React").createElement(i,{environment:b("RelayFBEnvironment"),query:l,render:function(a){var c=a.props;a=a.error;if(a)return null;a=c==null?void 0:(a=c.page)==null?void 0:(c=a.adminInfo)==null?void 0:c.is_advertiser;return b("React").createElement(b("AdsLWIPromotionsTabNux.react"),{nuxBody:k(a,g,f),nuxTitle:j(a,g,f,e),nuxType:g?"201541873991679":"397455467520099",promotionTab:d})},variables:{pageID:c}}):b("React").createElement(b("AdsLWIPromotionsTabNux.react"),{nuxBody:k(!1,g,f),nuxTitle:j(!1,g,f,e),nuxType:"201541873991679",promotionTab:d})}e.exports=c(a,null,{containerName:e.id})}),null);
  __d("HiddenPromoteButton.react",["AdsLWIDialogUtils","AdsLWIInstanceType","AdsLWIProductUtils","FBLogger","PageTransitions","React","URI","adsLWICurrentDialogStateSelector","createCancelableFunction","requireCond","cr:936660"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g=b("AdsLWIDialogUtils").openLWIDialog;a=b("AdsLWIInstanceType").createRandomInstanceID;var h=b("AdsLWIProductUtils").isAdsLWIProduct;b("cr:936660");function i(){__p&&__p();var a=new(b("URI"))(window.location.href).getQueryData(),c=a.boosted_auto_open;if(c==null)return null;if(!h(String(c))){b("FBLogger")("boosted_component").mustfix("URI had invalid product specified: %s",String(c));return null}var d=a.notif_t||a.ref||"auto_open_unknown_source",e=a.boost_id?String(a.boost_id):"";a=a.target_id?String(a.target_id):null;return{product:c,boostID:e,placement:d,targetID:a}}var j=a();c=function(a){__p&&__p();babelHelpers.inheritsLoose(c,a);function c(){var c,d;for(var e=arguments.length,f=new Array(e),h=0;h<e;h++)f[h]=arguments[h];return(c=d=a.call.apply(a,[this].concat(f))||this,d.maybeAutoOpenDialog=b("createCancelableFunction")(function(){var a=i();a&&!b("adsLWICurrentDialogStateSelector")().dialogState.instanceID&&g(j,d.props.pageID,a.placement,a.product,a.boostID,a.targetID);b("PageTransitions").registerCompletionCallback(d.maybeAutoOpenDialog)}),c)||babelHelpers.assertThisInitialized(d)}var d=c.prototype;d.componentDidMount=function(){b("PageTransitions").registerCompletionCallback(this.maybeAutoOpenDialog)};d.componentWillUnmount=function(){this.maybeAutoOpenDialog.cancel()};d.render=function(){return null};return c}(b("React").PureComponent);e.exports=c}),null);
  __d("XPagesPresenceController",["XController"],(function(a,b,c,d,e,f){e.exports=b("XController").create("/pages/presence/",{})}),null);
  __d("PagePresencePoller",["ActorURI","AsyncRequest","UserActivity","XPagesPresenceController"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g=9e4,h=0,i=function(a){h=Date.now();var c=b("XPagesPresenceController").getURIBuilder().getURI();c=b("ActorURI").create(c,a);new(b("AsyncRequest"))().setURI(c).send()};a={init:function(a){b("UserActivity").subscribe(function(){Date.now()-h>g&&i(a)}),setInterval(function(){b("UserActivity").isActive()&&i(a)},g)}};e.exports=a}),null);