if (self.CavalryLogger) { CavalryLogger.start_js(["JGIhG"]); }

__d("AdsCampaignKPITypes",[],(function a(b,c,d,e,f,g){f.exports={LANDING_PAGE_VIEWS:"LANDING_PAGE_VIEWS",LINK_CLICKS:"LINK_CLICKS",PURCHASE:"PURCHASE",LEAD:"LEAD",COMPLETE_REGISTRATION:"COMPLETE_REGISTRATION",CUSTOM_CONVERSION:"CUSTOM_CONVERSION",MRC_VIDEO_VIEWS:"MRC_VIDEO_VIEWS",VIDEO_VIEWS_15S:"VIDEO_VIEWS_15S",COMPLETED_VIDEO_VIEWS:"COMPLETED_VIDEO_VIEWS"}}),null);
__d("AdsDeliveryBulkManualBidTypeStrings",["fbt"],(function a(b,c,d,e,f,g,h){f.exports={MAXIMUM:h._("Maximum"),AVERAGE:h._("Average"),MIXED:h._("Mixed Values"),NONE:h._("Invalid")}}),null);
__d("AdsMultiAbsoluteDefaults",[],(function a(b,c,d,e,f,g){f.exports={WEBSITE_CONVERSIONS:{ACTIONS:30},MOBILE_APP_INSTALLS:{ACTIONS:10},LOCAL_AWARENESS:{REACH:15},LINK_CLICKS:{ACTIONS:5},MOBILE_APP_ENGAGEMENT:{ACTIONS:5},POST_ENGAGEMENT:{ACTIONS:5},OFFER_CLAIMS:{ACTIONS:5},PAGE_LIKES:{ACTIONS:5},CANVAS_APP_INSTALLS:{ACTIONS:5},EVENT_RESPONSES:{ACTIONS:5},CANVAS_APP_ENGAGEMENT:{ACTIONS:5},VIDEO_VIEWS:{ACTIONS:5},LEAD_GENERATION:{ACTIONS:5},PRODUCT_CATALOG_SALES:{ACTIONS:30},BRAND_AWARENESS:{ACTIONS:5},CONVERSIONS:{ACTIONS:30}}}),null);
__d("AdsSplitTestVariable",[],(function a(b,c,d,e,f,g){f.exports={OPTIMIZATION:"OPTIMIZATION",TARGETING:"TARGETING",PLACEMENT:"PLACEMENT",CREATIVE:"CREATIVE"}}),null);
__d("AdsTestedFBTStrings",["fbt"],(function a(b,c,d,e,f,g,h){f.exports={PLACING_ORDER:h._("Placing Order..."),CREATIVE:h._("Creative"),OPTIMIZATION:h._("Delivery Optimization"),TARGETING:h._("Audience"),PLACEMENT:h._("Placement"),EVEN_SPLIT:h._("Even Split"),WEIGHTED_SPLIT:h._("Weighted Split")}}),null);
__d("AdsToplineProductSettings",[],(function a(b,c,d,e,f,g){f.exports={buyingTypes:{"AF-FCPM":{FIXED_PRICE:"FIXED_PRICE"},"AF-FCPM-RF":{RESERVED:"RESERVED"},"PM-FCPM-HP":{FIXED_PRICE:"FIXED_PRICE"},"IG-FCPM-CAROUSEL":{FIXED_PRICE:"FIXED_PRICE"},"IG-FCPM-IMAGE":{FIXED_PRICE:"FIXED_PRICE"},"IG-FCPM-VIDEO":{FIXED_PRICE:"FIXED_PRICE"},"IG-FCPM-MQ-IMG":{FIXED_PRICE:"FIXED_PRICE"},"IG-FCPM-MQ-VID":{FIXED_PRICE:"FIXED_PRICE"},"IG-FCPM-MQ-CAR":{FIXED_PRICE:"FIXED_PRICE"},"IG-FCPM-MQ-VIDLNK":{FIXED_PRICE:"FIXED_PRICE"},"IG-FCPM-MQ-IMGLNK":{FIXED_PRICE:"FIXED_PRICE"},"IG-MARQUEE-RF":{RESERVED:"RESERVED"},"AF-FCPM-RF-VIDEO":{FIXED_PRICE:"FIXED_PRICE"}},bidTypes:{"AF-FCPM":{MULTI_PREMIUM:"MULTI_PREMIUM"},"AF-FCPM-RF":{MULTI_PREMIUM:"MULTI_PREMIUM"},"PM-FCPM-HP":{MULTI_PREMIUM:"MULTI_PREMIUM"},"IG-FCPM-CAROUSEL":{FIXED_CPM:"FIXED_CPM",MULTI_PREMIUM:"MULTI_PREMIUM"},"IG-FCPM-IMAGE":{FIXED_CPM:"FIXED_CPM",MULTI_PREMIUM:"MULTI_PREMIUM"},"IG-FCPM-VIDEO":{FIXED_CPM:"FIXED_CPM",MULTI_PREMIUM:"MULTI_PREMIUM"},"IG-FCPM-MQ-IMG":{FIXED_CPM:"FIXED_CPM"},"IG-FCPM-MQ-VID":{FIXED_CPM:"FIXED_CPM"},"IG-FCPM-MQ-CAR":{FIXED_CPM:"FIXED_CPM"},"IG-FCPM-MQ-VIDLNK":{FIXED_CPM:"FIXED_CPM"},"IG-FCPM-MQ-IMGLNK":{FIXED_CPM:"FIXED_CPM"},"IG-MARQUEE-RF":{MULTI_PREMIUM:"MULTI_PREMIUM"},"AF-FCPM-RF-VIDEO":{MULTI_PREMIUM:"MULTI_PREMIUM"}},auctionBidTypes:{},objectives:{"AF-FCPM":{LINK_CLICKS:"LINK_CLICKS",WEBSITE_CONVERSIONS:"WEBSITE_CONVERSIONS",POST_ENGAGEMENT:"POST_ENGAGEMENT",VIDEO_VIEWS:"VIDEO_VIEWS",CONVERSIONS:"WEBSITE_CONVERSIONS"},"AF-FCPM-RF":{LINK_CLICKS:"LINK_CLICKS",POST_ENGAGEMENT:"POST_ENGAGEMENT",MOBILE_APP_INSTALLS:"MOBILE_APP_INSTALLS",VIDEO_VIEWS:"VIDEO_VIEWS"},"PM-FCPM-HP":{LINK_CLICKS:"LINK_CLICKS",WEBSITE_CONVERSIONS:"WEBSITE_CONVERSIONS",POST_ENGAGEMENT:"POST_ENGAGEMENT",VIDEO_VIEWS:"VIDEO_VIEWS",CONVERSIONS:"WEBSITE_CONVERSIONS"},"IG-FCPM-CAROUSEL":{INSTAGRAM_BRAND_AWARENESS:"INSTAGRAM_BRAND_AWARENESS"},"IG-FCPM-IMAGE":{INSTAGRAM_BRAND_AWARENESS:"INSTAGRAM_BRAND_AWARENESS"},"IG-FCPM-VIDEO":{INSTAGRAM_BRAND_AWARENESS:"INSTAGRAM_BRAND_AWARENESS"},"IG-FCPM-MQ-IMG":{INSTAGRAM_BRAND_AWARENESS:"INSTAGRAM_BRAND_AWARENESS"},"IG-FCPM-MQ-VID":{INSTAGRAM_BRAND_AWARENESS:"INSTAGRAM_BRAND_AWARENESS"},"IG-FCPM-MQ-CAR":{INSTAGRAM_BRAND_AWARENESS:"INSTAGRAM_BRAND_AWARENESS"},"IG-FCPM-MQ-VIDLNK":{INSTAGRAM_BRAND_AWARENESS:"INSTAGRAM_BRAND_AWARENESS"},"IG-FCPM-MQ-IMGLNK":{INSTAGRAM_BRAND_AWARENESS:"INSTAGRAM_BRAND_AWARENESS"},"IG-MARQUEE-RF":{BRAND_AWARENESS:"BRAND_AWARENESS"},"AF-FCPM-RF-VIDEO":{LINK_CLICKS:"LINK_CLICKS",POST_ENGAGEMENT:"POST_ENGAGEMENT",MOBILE_APP_INSTALLS:"MOBILE_APP_INSTALLS"}},auctionObjectives:{},instagramTypes:{"IG-FCPM-IMAGE":"IG-FCPM-IMAGE","IG-FCPM-VIDEO":"IG-FCPM-VIDEO","IG-FCPM-CAROUSEL":"IG-FCPM-CAROUSEL","IG-FCPM-MQ-IMG":"IG-FCPM-MQ-IMG","IG-FCPM-MQ-VID":"IG-FCPM-MQ-VID","IG-FCPM-MQ-CAR":"IG-FCPM-MQ-CAR","IG-FCPM-MQ-VIDLNK":"IG-FCPM-MQ-VIDLNK","IG-FCPM-MQ-IMGLNK":"IG-FCPM-MQ-IMGLNK","IG-MARQUEE-RF":"IG-MARQUEE-RF"},premiumTypes:{"PM-FCPM-HP":"PM-FCPM-HP","IG-FCPM-VIDEO":"IG-FCPM-VIDEO","IG-FCPM-IMAGE":"IG-FCPM-IMAGE","IG-FCPM-CAROUSEL":"IG-FCPM-CAROUSEL","IG-FCPM-MQ-IMG":"IG-FCPM-MQ-IMG","IG-FCPM-MQ-VID":"IG-FCPM-MQ-VID","IG-FCPM-MQ-CAR":"IG-FCPM-MQ-CAR","IG-FCPM-MQ-VIDLNK":"IG-FCPM-MQ-VIDLNK","IG-FCPM-MQ-IMGLNK":"IG-FCPM-MQ-IMGLNK","IG-MARQUEE-RF":"IG-MARQUEE-RF"}}}),null);
__d("FrequencyControlEvents",[],(function a(b,c,d,e,f,g){f.exports={IMPRESSIONS:"IMPRESSIONS",VIDEO_VIEWS:"VIDEO_VIEWS",VIDEO_VIEWS_2S:"VIDEO_VIEWS_2S"}}),null);
__d("GraphSort",[],(function a(b,c,d,e,f,g){f.exports={ASC:"_ascending",DESC:"_descending"}}),null);
__d("HotelGraphApiFields",[],(function a(b,c,d,e,f,g){f.exports={ID:"id",ADDRESS:"address",APPLINKS:"applinks",BRAND:"brand",DESCRIPTION:"description",GUEST_RATINGS:"guest_ratings",HOTEL_ID:"hotel_id",HOTEL_ROOMS:"hotel_rooms",IMAGES:"images",LOWEST_BASE_PRICE:"lowest_base_price",LOYALTY_PROGRAM:"loyalty_program",MARGIN_LEVEL:"margin_level",NAME:"name",PHONE:"phone",STAR_RATING:"star_rating",URL:"url",VIDEOS:"videos",VIDEOS_METADATA:"videos_metadata"}}),null);
__d("OcpmAdConfig",[],(function a(b,c,d,e,f,g){f.exports={actionsMultiplier:.5,clicksMultiplier:.5,mobileInstallMultiplier:1,offsiteMultiplier:3,reachMultiplier:1.5,onsiteMessagesRepliesMultiplier:1.8,onsiteFlowCompleteMultiplier:1.7}}),null);
__d("OfferConstants",[],(function a(b,c,d,e,f,g){f.exports={promoCodeRegex:"^\\S*$"}}),null);
__d("PhoneNumberCategory",[],(function a(b,c,d,e,f,g){f.exports={UNKNOWN:"UNKNOWN",FIXED_LINE:"FIXED_LINE",MOBILE:"MOBILE",FIXED_LINE_OR_MOBILE:"FIXED_LINE_OR_MOBILE",TOLL_FREE:"TOLL_FREE",PREMIUM_RATE:"PREMIUM_RATE",SHARED_COST:"SHARED_COST",VOIP:"VOIP",PERSONAL_NUMBER:"PERSONAL_NUMBER",PAGER:"PAGER",UAN:"UAN"}}),null);
__d("AdsGenericFilterOperatorConfig",["fbt","AdsGenericFilterOperator"],(function a(b,c,d,e,f,g,h){"use strict";var i={AFTER:{shortText:h._("after"),text:h._("is after"),operator:c("AdsGenericFilterOperator").AFTER},BEFORE:{shortText:h._("before"),text:h._("is before"),operator:c("AdsGenericFilterOperator").BEFORE},IN_RANGE:{text:h._("is between"),operator:c("AdsGenericFilterOperator").IN_RANGE},CONTAIN:{text:h._("contains"),operator:c("AdsGenericFilterOperator").CONTAIN},EQUAL:{shortText:h._("="),text:h._("is"),operator:c("AdsGenericFilterOperator").EQUAL},GREATER_THAN:{shortText:h._(">"),text:h._("is greater than"),operator:c("AdsGenericFilterOperator").GREATER_THAN},IN:{text:h._("is"),operator:c("AdsGenericFilterOperator").IN},NOT_IN_RANGE:{shortText:h._("not"),text:h._("is not between"),operator:c("AdsGenericFilterOperator").NOT_IN_RANGE},NOT_CONTAIN:{shortText:h._("not"),text:h._("does not contain"),operator:c("AdsGenericFilterOperator").NOT_CONTAIN},NOT_IN:{shortText:h._("not"),text:h._("is not"),operator:c("AdsGenericFilterOperator").NOT_IN},NOT_EQUAL:{shortText:h._("not"),text:h._("is not"),operator:c("AdsGenericFilterOperator").NOT_EQUAL},LESS_THAN:{shortText:h._("\u003C"),text:h._("is smaller than"),operator:c("AdsGenericFilterOperator").LESS_THAN},STARTS_WITH:{shortText:h._("starts with"),text:h._("starts with"),operator:c("AdsGenericFilterOperator").STARTS_WITH},ANY:{shortText:h._("contains any"),text:h._("contains any"),operator:c("AdsGenericFilterOperator").ANY},ALL:{shortText:h._("contains all"),text:h._("contains all"),operator:c("AdsGenericFilterOperator").ALL},NONE:{shortText:h._("does not contain"),text:h._("does not contain"),operator:c("AdsGenericFilterOperator").NONE}};f.exports=i}),null);
/**
 * License: https://www.facebook.com/legal/license/2x-syWTvs31/
 */
__d("colr-convert",[],(function a(b,c,d,e,f,g){"use strict";__p&&__p();f.exports={grayscale:{rgb:q},hex:{rgb:i},rgb:{hsl:k,hsv:l,hex:j,grayscale:r},hsl:{rgb:m,hsv:n},hsv:{rgb:o,hsl:p}};function h(s){return s<58?s-48:s<71?s-55:s-87}function i(s){__p&&__p();var t=s[0]==="#"?1:0,u=s.length;if(u-t<3)throw new Error("hex input must be at least three chars long");var v,w,x,y=h(s.charCodeAt(0+t)),z=h(s.charCodeAt(1+t)),A=h(s.charCodeAt(2+t));if(u-t>=6){v=(y<<4)+z;w=(A<<4)+h(s.charCodeAt(3+t));x=(h(s.charCodeAt(4+t))<<4)+h(s.charCodeAt(5+t))}else{v=(y<<4)+y;w=(z<<4)+z;x=(A<<4)+A}if(v<0||v>255||w<0||w>255||x<0||x>255)throw new Error("hex input is invalid");return[v,w,x]}function j(s){return"#"+("000000"+((s[0]<<16)+(s[1]<<8)+s[2]).toString(16)).slice(-6)}function k(s){__p&&__p();var t=s[0]/255,u=s[1]/255,v=s[2]/255,w=Math.min(t,u,v),x=Math.max(t,u,v),y=x-w,z,A,B;if(x===w)z=0;else if(t===x)z=(u-v)/y;else if(u===x)z=2+(v-t)/y;else if(v===x)z=4+(t-u)/y;z=Math.min(z*60,360);if(z<0)z+=360;B=(w+x)/2;if(x===w)A=0;else if(B<=.5)A=y/(x+w);else A=y/(2-x-w);return[z,A*100,B*100]}function l(s){__p&&__p();var t=s[0],u=s[1],v=s[2],w=Math.min(t,u,v),x=Math.max(t,u,v),y=x-w,z,A,B;if(x===0)A=0;else A=y/x*1e3/10;if(x===w)z=0;else if(t===x)z=(u-v)/y;else if(u===x)z=2+(v-t)/y;else if(v===x)z=4+(t-u)/y;z=Math.min(z*60,360);if(z<0)z+=360;B=x/255*1e3/10;return[z,A,B]}function m(s){__p&&__p();var t=s[0]/360,u=s[1]/100,v=s[2]/100,w,x,y;if(u===0)w=x=y=v;else{var z=v<.5?v*(u+1):v+u-v*u,A=2*v-z,B;B=t+1/3;if(B<0)B+=1;else if(B>1)B-=1;if(B<1/6)w=A+(z-A)*B*6;else if(B<1/2)w=z;else if(B<2/3)w=A+(z-A)*(2/3-B)*6;else w=A;B=t;if(B<0)B+=1;else if(B>1)B-=1;if(B<1/6)x=A+(z-A)*B*6;else if(B<1/2)x=z;else if(B<2/3)x=A+(z-A)*(2/3-B)*6;else x=A;B=t-1/3;if(B<0)B+=1;else if(B>1)B-=1;if(B<1/6)y=A+(z-A)*B*6;else if(B<1/2)y=z;else if(B<2/3)y=A+(z-A)*(2/3-B)*6;else y=A}return[w*255,x*255,y*255]}function n(s){__p&&__p();var t=s[0],u=s[1]/100,v=s[2]/100,w,x;if(u===0)return[t,0,v*100];if(v===0)return[t,0,0];v*=2;u*=v<=1?v:2-v;x=(v+u)/2;w=2*u/(v+u);return[t,w*100,x*100]}function o(s){var t=s[0]/60,u=s[1]/100,v=s[2]/100,w=Math.floor(t)%6,x=t-Math.floor(t),y=255*v*(1-u),z=255*v*(1-u*x),A=255*v*(1-u*(1-x));v=255*v;switch(w){case 0:return[v,A,y];case 1:return[z,v,y];case 2:return[y,v,A];case 3:return[y,z,v];case 4:return[A,y,v];case 5:return[v,y,z]}}function p(s){__p&&__p();var t=s[0],u=s[1]/100,v=s[2]/100,w,x;if(u===0)return[t,0,v*100];if(v===0)return[t,0,0];x=(2-u)*v;w=u*v;w/=x<=1?x:2-x;x/=2;return[t,w*100,x*100]}function q(s){return[s,s,s]}function r(s){return(s[0]*299+s[1]*587+s[2]*114)/1e3}}),null);
/**
 * License: https://www.facebook.com/legal/license/s5ZJ_4oH-6D/
 */
__d("colr",["colr-convert"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();function h(){this._={}}h.fromHex=function(m){return new h().fromHex(m)};h.fromGrayscale=function(m){return new h().fromGrayscale(m)};h.fromRgb=function(m,n,o){return new h().fromRgb(m,n,o)};h.fromRgbArray=function(m){return new h().fromRgb(m[0],m[1],m[2])};h.fromRgbObject=function(m){return new h().fromRgb(m.r,m.g,m.b)};h.fromHsl=function(m,n,o){return new h().fromHsl(m,n,o)};h.fromHslArray=function(m){return new h().fromHsl(m[0],m[1],m[2])};h.fromHslObject=function(m){return new h().fromHsl(m.h,m.s,m.l)};h.fromHsv=function(m,n,o){return new h().fromHsv(m,n,o)};h.fromHsvArray=function(m){return new h().fromHsv(m[0],m[1],m[2])};h.fromHsvObject=function(m){return new h().fromHsv(m.h,m.s,m.v)};h.prototype.fromHex=function(m){var n=c("colr-convert").hex.rgb(m);this._={rgb:n};return this};h.prototype.fromGrayscale=function(m){m=j(m);var n=c("colr-convert").grayscale.rgb(m);this._={rgb:n};return this};h.prototype.fromRgb=function(m,n,o){if(typeof m!=="number"||typeof n!=="number"||typeof o!=="number")throw new Error("Arguments must be numbers");var p=k(m,n,o);this._={rgb:p};return this};h.prototype.fromRgbArray=function(m){return this.fromRgb(m[0],m[1],m[2])};h.prototype.fromRgbObject=function(m){return this.fromRgb(m.r,m.g,m.b)};h.prototype.fromHsl=function(m,n,o){if(typeof m!=="number"||typeof n!=="number"||typeof o!=="number")throw new Error("Arguments must be numbers");this._={hsl:l(m,n,o)};return this};h.prototype.fromHslArray=function(m){return this.fromHsl(m[0],m[1],m[2])};h.prototype.fromHslObject=function(m){return this.fromHsl(m.h,m.s,m.l)};h.prototype.fromHsv=function(m,n,o){if(typeof m!=="number"||typeof n!=="number"||typeof o!=="number")throw new Error("Arguments must be numbers");this._={hsv:l(m,n,o)};return this};h.prototype.fromHsvArray=function(m){return this.fromHsv(m[0],m[1],m[2])};h.prototype.fromHsvObject=function(m){return this.fromHsv(m.h,m.s,m.v)};h.prototype.toHex=function(){__p&&__p();var m=this._.hex;if(m!==undefined)return m;var n,o=this._.rgb;if(o!==undefined)n=o;else n=this.toRawRgbArray();n[0]=Math.round(n[0]);n[1]=Math.round(n[1]);n[2]=Math.round(n[2]);var p=c("colr-convert").rgb.hex(n);this._.hex=p;return p};h.prototype.toGrayscale=function(){__p&&__p();var m=this._.grayscale;if(m!==undefined)return m;var n,o=this._.rgb;if(o!==undefined)n=o;else n=this.toRawRgbArray();var p=c("colr-convert").rgb.grayscale(n);this._.grayscale=p;return p};h.prototype.toRawRgbArray=function(){__p&&__p();var m=this._.rgb;if(m!==undefined)return m;var n;if((n=this._.hsv)!==undefined)n=c("colr-convert").hsv.rgb(n);else if((n=this._.hsl)!==undefined)n=c("colr-convert").hsl.rgb(n);else throw new Error("No data to convert");this._.rgb=n;return n};h.prototype.toRawRgbObject=function(){var m=this.toRawRgbArray();return{r:m[0],g:m[1],b:m[2]}};h.prototype.toRgbArray=function(){var m=this.toRawRgbArray();return[Math.round(m[0]),Math.round(m[1]),Math.round(m[2])]};h.prototype.toRgbObject=function(){var m=this.toRgbArray();return{r:m[0],g:m[1],b:m[2]}};h.prototype.toRawHslArray=function(){__p&&__p();var m=this._.hsl;if(m!==undefined)return m;var n;if((n=this._.hsv)!==undefined)n=c("colr-convert").hsv.hsl(n);else if((n=this._.rgb)!==undefined)n=c("colr-convert").rgb.hsl(n);else throw new Error("No data to convert");this._.hsl=n;return n};h.prototype.toRawHslObject=function(){var m=this.toRawHslArray();return{h:m[0],s:m[1],l:m[2]}};h.prototype.toHslArray=function(){var m=this.toRawHslArray();return[Math.round(m[0]),Math.round(m[1]),Math.round(m[2])]};h.prototype.toHslObject=function(){var m=this.toHslArray();return{h:m[0],s:m[1],l:m[2]}};h.prototype.toRawHsvArray=function(){__p&&__p();var m=this._.hsv;if(m!==undefined)return m;var n;if((n=this._.hsl)!==undefined)n=c("colr-convert").hsl.hsv(n);else if((n=this._.rgb)!==undefined)n=c("colr-convert").rgb.hsv(n);else throw new Error("No data to convert");this._.hsv=n;return n};h.prototype.toRawHsvObject=function(){var m=this.toRawHsvArray();return{h:m[0],s:m[1],v:m[2]}};h.prototype.toHsvArray=function(){var m=this.toRawHsvArray();return[Math.round(m[0]),Math.round(m[1]),Math.round(m[2])]};h.prototype.toHsvObject=function(){var m=this.toHsvArray();return{h:m[0],s:m[1],v:m[2]}};h.prototype.lighten=function(m){var n=this.toRawHslArray();n[2]=i(n[2]+m);this._={hsl:n};return this};h.prototype.darken=function(m){var n=this.toRawHslArray();n[2]=i(n[2]-m);this._={hsl:n};return this};h.prototype.clone=function(){__p&&__p();var m=new h();m._.hex=this._.hex;m._.grayscale=this._.grayscale;if(this._.rgb!==undefined)m._.rgb=this._.rgb.slice(0);if(this._.hsv!==undefined)m._.hsv=this._.hsv.slice(0);if(this._.hsl!==undefined)m._.hsl=this._.hsl.slice(0);return m};function i(m){return Math.max(Math.min(m,100),0)}function j(m){return Math.max(Math.min(m,255),0)}function k(m,n,o){return[Math.max(Math.min(m,255),0),Math.max(Math.min(n,255),0),Math.max(Math.min(o,255),0)]}function l(m,n,o){return[Math.max(Math.min(m,360),0),Math.max(Math.min(n,100),0),Math.max(Math.min(o,100),0)]}f.exports=h}),null);
__d("CanvasColorUtils",["Assert","colr"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();function h(k){var l=Math.floor(k*255/100).toString(16);if(l.length===1)l="0"+l;return l}function i(k){c("Assert").isTrue(k.length<=2,"invalid hex string: "+k);return Math.ceil(parseInt(k,16)/255*100)}function j(k){return c("colr").fromHex(k).toGrayscale()/255}f.exports={convertColorWithOpacityToARGB:function k(l){var m=l.color;c("Assert").isTrue(6===m.length,"unexpected length string: "+m);var n=h(l.opacity)+m;c("Assert").isTrue(n.length===8,"generated invalid argb: "+n);return n},convertARGBToColorWithOpacity:function k(l){c("Assert").isTrue(l.length===8,"Got argb: "+l);return{color:l.slice(2),opacity:i(l.slice(0,2))}},convertRGBtoCSSColorWithOpacity:function k(l,m){c("Assert").isTrue(6===l.length,"unexpected length string: "+l);return"rgba("+parseInt(l.slice(0,2),16)+","+parseInt(l.slice(2,4),16)+","+parseInt(l.slice(4,6),16)+","+m+")"},luminosityOfColor:j,colorContrastingWith:function k(l){return j(l)>.5?"#000":"#FFF"}}}),null);
__d("FBCarouselArrow.react",["ix","cx","xuiglyph","CenteredContainer.react","Image.react","Locale","React","joinClasses"],(function a(b,c,d,e,f,g,h,i,j){__p&&__p();var k,l,m=c("React").PropTypes;k=babelHelpers.inherits(n,c("React").Component);l=k&&k.prototype;function n(){__p&&__p();var o,p;"use strict";for(var q=arguments.length,r=Array(q),s=0;s<q;s++)r[s]=arguments[s];return p=(o=l.constructor).call.apply(o,[this].concat(r)),this.$FBCarouselArrow1=function(){var t=h("88862"),u=h("88874");if(c("Locale").isRTL()){var v=[u,t];t=v[0];u=v[1]}return this.props.direction==="forward"?u:t}.bind(this),p}n.prototype.render=function(){"use strict";var o=c("joinClasses")(this.props.className,"_10sf"+(!!this.props.fullBleed?" _5x5-":"")+(this.props.direction==="forward"?" _5x5_":"")+(this.props.direction==="backward"?" _5x60":""));return c("React").createElement("div",babelHelpers["extends"]({},this.props,{className:o}),c("React").createElement(c("CenteredContainer.react"),{className:"_5x6d",vertical:true},c("React").createElement(c("Image.react"),{className:"_3-8w",src:this.$FBCarouselArrow1()})))};n.propTypes={direction:m.oneOf(["forward","backward"]).isRequired,fullBleed:m.bool};f.exports=n}),null);
__d("AdsArrowedContainer.react",["cx","invariant","CenteredContainer.react","FBCarouselArrow.react","FBOverlayBase.react","FBOverlayContainer.react","FBOverlayElement.react","Link.react","React"],(function a(b,c,d,e,f,g,h,i){__p&&__p();var j,k,l=c("React").PropTypes;j=babelHelpers.inherits(m,c("React").Component);k=j&&j.prototype;function m(){__p&&__p();var n,o;"use strict";for(var p=arguments.length,q=Array(p),r=0;r<p;r++)q[r]=arguments[r];return o=(n=k.constructor).call.apply(n,[this].concat(q)),this.$AdsArrowedContainer1=function(s){__p&&__p();var t,u;switch(s){case"backward":t=this.props.onDecrement!==null;u=this.props.onDecrement;break;case"forward":t=this.props.onIncrement!==null;u=this.props.onIncrement;break;default:i(0)}if(!t)return null;return c("React").createElement(c("Link.react"),{className:!this.props.isArrowCentered?"_3-8z":"",onClick:u},c("React").createElement(c("FBCarouselArrow.react"),{direction:s,fullBleed:s==="backward"}))}.bind(this),this.$AdsArrowedContainer2=function(s,t){if(t)if(this.props.isArrowCentered)return c("React").createElement(c("FBOverlayElement.react"),{horizontal:s},c("React").createElement(c("CenteredContainer.react"),{vertical:true},t));else return c("React").createElement(c("FBOverlayElement.react"),{horizontal:s},t);return null}.bind(this),o}m.prototype.render=function(){"use strict";var n=this.$AdsArrowedContainer1("backward"),o=this.$AdsArrowedContainer1("forward"),p=this.$AdsArrowedContainer2("left",n),q=this.$AdsArrowedContainer2("right",o);return c("React").createElement(c("FBOverlayContainer.react"),this.props,c("React").createElement(c("FBOverlayBase.react"),null,this.props.children),p,q)};m.propTypes={isArrowCentered:l.bool,onIncrement:l.func,onDecrement:l.func};f.exports=m}),null);
__d("AdsCarousel.react",["cx","Locale","React","ReactDOM","ResponsiveBlock.react","clamp","emptyFunction","joinClasses"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i,j,k=c("React").PropTypes;i=babelHelpers.inherits(l,c("React").Component);j=i&&i.prototype;function l(){var m,n;for(var o=arguments.length,p=Array(o),q=0;q<o;q++)p[q]=arguments[q];return n=(m=j.constructor).call.apply(m,[this].concat(p)),this.state={computedOffset:0},this.$AdsCarousel5=function(r,s){this.$AdsCarousel1(this.props.index)}.bind(this),n}l.prototype.componentDidMount=function(){this.$AdsCarousel1(this.props.index)};l.prototype.componentDidUpdate=function(){this.$AdsCarousel1(this.props.index)};l.prototype.$AdsCarousel1=function(m){__p&&__p();if(!c("ReactDOM").findDOMNode(this))return;var n=c("ReactDOM").findDOMNode(this).offsetWidth,o=c("ReactDOM").findDOMNode(this.refs.inner).offsetWidth,p=Math.max(o-n,0),q=0;for(var r=0;r<m&&q<p;r++){var s=this.$AdsCarousel2(r);if(s)q+=s.offsetWidth}q=c("clamp")(q,0,p);if(q!==this.state.computedOffset)this.setState({computedOffset:q});else{var t=this.props.onUpdated;if(t)t(this.$AdsCarousel3())}};l.prototype.$AdsCarousel4=function(m){var n=0;for(var o=0;o<m;o++){var p=this.$AdsCarousel2(o);if(p)n+=p.offsetWidth}return n};l.prototype.$AdsCarousel2=function(m){var n=this.refs["child_"+m];return n?c("ReactDOM").findDOMNode(n):null};l.prototype.render=function(){var m=c("React").Children.map(this.props.children,function(p,q){return c("React").createElement("div",{className:"_2zgz",key:q,ref:"child_"+q},p)}),n=null;if(this.state.computedOffset){var o=String(-this.state.computedOffset)+"px";n=c("Locale").isRTL()?{right:o}:{left:o}}return c("React").createElement(c("ResponsiveBlock.react"),{onResize:this.$AdsCarousel5},c("React").createElement("div",babelHelpers["extends"]({},this.props,{className:c("joinClasses")(this.props.className,"_a28")}),c("React").createElement("div",{className:"_a2e",ref:"inner",style:n},m)))};l.prototype.$AdsCarousel3=function(){__p&&__p();var m=this.state.computedOffset+c("ReactDOM").findDOMNode(this).offsetWidth,n=this.$AdsCarousel4(this.props.index),o=0,p=this.props.index,q=null;while(q=this.$AdsCarousel2(p++))if(c("Locale").isRTL())if(n+q.offsetWidth<=m){o++;n+=q.offsetWidth}else break;else if(q.offsetLeft+q.offsetWidth<=m)o++;else break;return o};l.propTypes={index:k.number.isRequired,onUpdated:k.func};l.defaultProps={onUpdated:c("emptyFunction")};f.exports=l}),null);
__d("AdsPlayable.react",["cx","ix","CenteredContainer.react","FBOverlayBase.react","FBOverlayContainer.react","FBOverlayElement.react","Image.react","Link.react","React","SUIBusinessTheme","SUIText.react"],(function a(b,c,d,e,f,g,h,i){__p&&__p();var j,k,l=c("React").PropTypes;j=babelHelpers.inherits(m,c("React").Component);k=j&&j.prototype;m.prototype.render=function(){"use strict";var n=c("React").createElement(c("Image.react"),{className:"_51o6",src:this.props.iconImage?this.props.iconImage:i("27500")});if(this.props.onPlayClick)n=c("React").createElement(c("Link.react"),{className:"_51o7",onClick:this.props.onPlayClick},n);var o=c("React").createElement(c("CenteredContainer.react"),{vertical:true},n);if(this.props.iconText)o=c("React").createElement(c("CenteredContainer.react"),{vertical:true},n,c("React").createElement(c("SUIText.react"),{display:"block",size:"medium_DEPRECATED",theme:c("SUIBusinessTheme")},this.props.iconText));return c("React").createElement(c("FBOverlayContainer.react"),this.props,c("React").createElement(c("FBOverlayBase.react"),null,this.props.children),c("React").createElement(c("FBOverlayElement.react"),null,o))};function m(){"use strict";j.apply(this,arguments)}m.propTypes={iconImage:l.object,iconText:l.string,onPlayClick:l.func};f.exports=m}),null);
__d("AdsRichSelector.react",["cx","invariant","AdsTestIDs","ContextualLayer.react","ContextualLayerAutoFlip","ContextualLayerUpdateOnScroll","DOM","Image.react","InlineBlock.react","React","ReactDOM","ScrollableArea","ScrollableArea.react","Style","SubscriptionsHandler","SUIBusinessTheme","SUISpinner.react","WheelEventContain.react","XUIError.react","XUIPopoverButton.react","emptyFunction","joinClasses","requestAnimationFrame"],(function a(b,c,d,e,f,g,h,i){"use strict";__p&&__p();var j,k,l,m,n,o,p,q,r=c("React").PropTypes,s=c("React").cloneElement;function t(z,A,B){__p&&__p();c("React").Children.count(z.children)>0||i(0);var C=null,D=c("React").Children.map(z.children,function(E){__p&&__p();switch(E.type){default:case w:if(B==null&&!z.defaultLabel)B=E.props.value;if(B===E.props.value){C=E;A.selected=true}else A.selected=false;return s(E,A);case x:C=C||t(E.props,A,B).selectedItem;return s(E,A);case y:return E;case"div":case c("ScrollableArea.react"):if(c("React").Children.count(E.props.children)>0){var F=t(E.props,A,B).items;return s(E,{},F)}return E}});return{items:D,selectedItem:C}}var u=c("React").createClass({displayName:"AdsRichSelector",childContextTypes:{onChange:r.func},getChildContext:function z(){return{onChange:this.props.onChange}},propTypes:babelHelpers["extends"]({alignment:r.oneOf(["left","center","right"]),createNewItem:r.node,defaultLabel:r.oneOfType([r.object,r.string]),disableAutoFlip:r.bool,disabled:r.bool,height:r.number,image:r.object,label:r.oneOfType([r.node,r.string]),maxheight:r.number,maxMenuWidth:r.number,maxwidth:r.number,noLabel:r.bool,onlyUseDefaultValue:r.bool.isRequired,requireSelection:r.bool,size:r.string,suppressed:r.bool,useMenuDividers:r.bool,onChange:r.func,onDropdown:r.func,onToggleLayer:r.func},c("XUIError.react").propTypes),_scrollableArea:null,getDefaultProps:function z(){return{disableAutoFlip:false,defaultLabel:"",onDropdown:c("emptyFunction"),onlyUseDefaultValue:false,requireSelection:true}},getInitialState:function z(){!this.props.height||!this.props.maxheight||i(0);return{preShowLayer:false,showLayer:false,value:this.props.defaultValue}},componentDidMount:function z(){this.subscriptions=new(c("SubscriptionsHandler"))();this.subscriptions.addSubscriptions(this.refs.menu.layer.subscribe("blur",this._onBlur),this.refs.menu.layer.subscribe("hide",this._onBlur));this._setMaxHeight()},componentWillReceiveProps:function z(A){!A.height||!A.maxheight||i(0);if("defaultValue"in A)this.setState({value:A.defaultValue})},componentWillUnmount:function z(){this.subscriptions.release()},componentDidUpdate:function z(A){if(A.maxheight!==this.props.maxheight)this._setMaxHeight()},render:function z(){__p&&__p();var A={onSelect:this._onSelect},B=this.props.onlyUseDefaultValue?this.props.defaultValue:this.state.value,C=t(this.props,A,B),D=C.selectedItem,E=void 0;if(this.props.label)E=this.props.label;else if(D)E=this.props.noLabel?"":D.props.label;else E=this.props.defaultLabel;var F=void 0;if(this.props.image)F=this.props.image;else if(D)F=D.props.icon;else F=null;return c("React").createElement("span",null,c("React").createElement(c("XUIError.react"),this.props,c("React").createElement(c("InlineBlock.react"),{alignv:"middle",className:c("joinClasses")(this.state.showLayer?"openToggler":"",this.props.className),name:null},c("React").createElement(c("XUIPopoverButton.react"),{className:"_5mhp"+(this.state.showLayer?" selected":"")+(this.state.showLayer&&this.props.alignment!="right"?" _nk":"")+(this.state.showLayer&&this.props.alignment=="right"?" _nl":""),"data-hover":"tooltip","data-tooltip-alignh":this.props.alignh||"left","data-tooltip-alignv":this.props.alignv||"above","data-tooltip-content":this.props.tooltip||null,depressed:this.state.showLayer,disabled:this.props.disabled||false,image:F,label:E,maxwidth:this.props.maxwidth||0,ref:"selectorButton",size:this.props.size||"medium",suppressed:this.props.suppressed||false,theme:this.props.theme||"dark",onClick:this._toggleSelector}))),this.renderLayers())},_getBehaviors:function z(){var A=this.props.disableAutoFlip?{ContextualLayerUpdateOnScroll:c("ContextualLayerUpdateOnScroll")}:{ContextualLayerAutoFlip:c("ContextualLayerAutoFlip"),ContextualLayerUpdateOnScroll:c("ContextualLayerUpdateOnScroll")};return babelHelpers["extends"]({},A,this.props.behaviors)},renderLayers:function z(){__p&&__p();var A={onSelect:this._onSelect},B=null;if(this.state.showLayer||this.state.preShowLayer){var C=this.props.onlyUseDefaultValue?this.props.defaultValue:this.state.value;B=t(this.props,A,C).items}if(this.state.showLayer)this.props.onDropdown();var D=c("React").createElement("ul",{className:c("joinClasses")("_54nf"+(this.props.useMenuDividers?" _4fau":""),this.props.className),ref:"menuItems",role:"menu",style:{maxWidth:this.props.maxMenuWidth}},B),E=this.props.height?c("React").createElement(c("ScrollableArea.react"),{height:this.props.height},D):D;return c("React").createElement(c("ContextualLayer.react"),{alignment:this.props.alignment||"left",offsetX:this.props.offsetX,behaviors:this._getBehaviors(),contextRef:function(){return this.refs.selectorButton}.bind(this),position:"below",ref:"menu",shown:this.state.showLayer,key:"menu"},c("React").createElement("div",{className:"_54nq _575t _57di _558b"},this.props.createNewItem,c("React").createElement(c("WheelEventContain.react"),{className:"_x4b",ref:"menuContainer"},E)))},_setMaxHeight:function z(){__p&&__p();var A=c("ReactDOM").findDOMNode(this.refs.menuItems),B=c("ReactDOM").findDOMNode(this.refs.menuContainer);if(this.props.maxheight){var C=c("ScrollableArea").renderDOM();this._scrollableArea=C.root;c("DOM").setContent(C.content,A);c("Style").set(C.wrap,"max-height",this.props.maxheight+"px");c("DOM").setContent(B,this._scrollableArea)}else if(this._scrollableArea)c("DOM").setContent(B,A)},_toggleSelector:function z(){if(!this.props.disabled)this._setLayerShownState(true)},_onBlur:function z(){c("requestAnimationFrame")(function(){if(this.isMounted())this._setLayerShownState(false)}.bind(this))},_setLayerShownState:function z(A,B){if(A!==this.state.showLayer)this.props.onToggleLayer&&this.props.onToggleLayer(A);if(A&&A!==this.state.showLayer)this.setState(babelHelpers["extends"]({preShowLayer:true},B),function(){this.setState({showLayer:A,preShowLayer:false})}.bind(this));else this.setState(babelHelpers["extends"]({showLayer:A,preShowLayer:false},B))},_onSelect:function z(A){this._setLayerShownState(false,{image:A.icon,value:A.value});this.props.onChange&&this.props.onChange(A)}});j=babelHelpers.inherits(v,c("React").Component);k=j&&j.prototype;v.prototype.render=function(){return c("React").createElement(c("SUISpinner.react"),{background:"light",className:this.props.loadComplete?"hidden_elem":"",size:"large",theme:c("SUIBusinessTheme")})};function v(){j.apply(this,arguments)}v.propTypes={loadComplete:r.bool.isRequired};l=babelHelpers.inherits(w,c("React").Component);m=l&&l.prototype;function w(){__p&&__p();var z,A;for(var B=arguments.length,C=Array(B),D=0;D<B;D++)C[D]=arguments[D];return A=(z=m.constructor).call.apply(z,[this].concat(C)),this.state={highlighted:false},this.$AdsRichSelectorOption1=function(){var E=this.props.children,F=this.props.icon;if(F){F.type===c("Image.react")||i(0);E=c("React").createElement("div",{className:"_52ps"},c("React").createElement("div",{className:"_52pt prs"},F),E)}return c("React").createElement("div",{className:"_4fay"},E)}.bind(this),this.$AdsRichSelectorOption2=function(E){var F=E.nativeEvent;if(!F||!F.isMiddleClick()&&!F.getModifiers().any){F.preventDefault();this.props.onSelect&&this.props.onSelect({icon:this.props.icon,label:this.props.label,value:this.props.value})}}.bind(this),this.$AdsRichSelectorOption3=function(){this.setState({highlighted:true})}.bind(this),this.$AdsRichSelectorOption4=function(){this.setState({highlighted:false})}.bind(this),A}w.prototype.render=function(){__p&&__p();var z=this.$AdsRichSelectorOption1(),A=this.props.clickable,B=null,C=null,D=null;if(A){Object.prototype.hasOwnProperty.call(this.props,"value")||i(0);if(!this.props.disabled)B=this.$AdsRichSelectorOption2;C=this.$AdsRichSelectorOption3;D=this.$AdsRichSelectorOption4;z=c("React").createElement("a",{className:"_54nc _4faw","data-testid":this.props["data-testid"],href:this.props.href,ref:"menuItemAnchor",role:"menuitem",tabIndex:"0"},c("React").createElement("div",{className:"_4fax _ftt"}),z)}var E=!this.props.disabled&&this.state.highlighted,F=this.props.disabled;return c("React").createElement("li",{className:c("joinClasses")("_4vcz _54ni"+(A&&E&&!F?" _54ne":"")+(A&&this.props.selected?" _4fav":"")+(F?" _5arm":""),this.props.className),"data-testid":c("AdsTestIDs").ADS_RICH_SELECTOR_OPTION,onClick:B,onMouseEnter:C,onMouseLeave:D},z)};w.propTypes={"data-testid":r.string,clickable:r.bool,disabled:r.bool,href:r.string,label:r.oneOfType([r.object,r.string]),selected:r.bool,value:r.oneOfType([r.string,r.number]),onSelect:r.func};w.defaultProps={clickable:true};n=babelHelpers.inherits(x,c("React").Component);o=n&&n.prototype;function x(){var z,A;for(var B=arguments.length,C=Array(B),D=0;D<B;D++)C[D]=arguments[D];return A=(z=o.constructor).call.apply(z,[this].concat(C)),this.state={value:this.props.defaultValue},this.$AdsRichSelectorOptionGroup1=function(E){this.setState({value:E.value});this.props.onSelect&&this.props.onSelect(E);if(this.props.onChange)this.props.onChange(E);else this.context.onChange&&this.context.onChange(E)}.bind(this),A}x.prototype.componentWillReceiveProps=function(z){if("defaultValue"in z)this.setState({value:z.defaultValue})};x.prototype.render=function(){var z=this.props,A=z.className,B=babelHelpers.objectWithoutProperties(z,["className"]),C={onSelect:this.$AdsRichSelectorOptionGroup1},D=t(B,C,this.state.value),E=D.items;return c("React").createElement("li",{className:c("joinClasses")(A,"_b_x")},c("React").createElement("ul",null,E))};x.propTypes={onChange:r.func,onSelect:r.func};x.contextTypes={onChange:r.func};p=babelHelpers.inherits(y,c("React").Component);q=p&&p.prototype;function y(){var z,A;for(var B=arguments.length,C=Array(B),D=0;D<B;D++)C[D]=arguments[D];return A=(z=q.constructor).call.apply(z,[this].concat(C)),this.$AdsRichSelectorSeparator1=function(){if(!this.props.label)return null;return c("React").createElement("h4",{className:"_52ri"},this.props.label)}.bind(this),A}y.prototype.render=function(){!(c("React").Children.count(this.props.children)&&this.props.label)||i(0);var z=this.props.children?this.props.children:this.$AdsRichSelectorSeparator1();z||!this.props.noBorder||i(0);return c("React").createElement("li",{className:"_54ak _52pu"+(!!this.props.noBorder?" _52pv":"")},z)};y.propTypes={label:r.string,noBorder:r.bool};u.Loader=v;u.Option=w;u.OptionGroup=x;u.Separator=y;f.exports=u}),null);
__d("XAdsVideoPlayerController",["XController"],(function a(b,c,d,e,f,g){f.exports=c("XController").create("/x/video_player/",{video_id:{type:"String",required:true},video_container_id:{type:"String",required:true},width:{type:"Int",required:true},height:{type:"Int",required:true},show_controls:{type:"Bool",defaultValue:false},forcehd:{type:"Bool",defaultValue:false},show_captions_default:{type:"Bool",defaultValue:false},force_flash:{type:"Bool",defaultValue:false},allow_fullscreen:{type:"Bool",defaultValue:false},start_muted:{type:"Bool",defaultValue:false},video_player_logger_source:{type:"String",required:true}})}),null);
__d("AdsVideoPlayer.react",["cx","fbt","AdsPlayable.react","AsyncRequest","CenteredContainer.react","FBOverlayBase.react","FBOverlayContainer.react","FBOverlayElement.react","Link.react","React","SUIBusinessTheme","SUISpinner.react","UserAgent","VideoPlayerLoggerSource","VideoPlayerReason","XAdsVideoPlayerController","guid","joinClasses"],(function a(b,c,d,e,f,g,h,i){"use strict";__p&&__p();var j,k,l=c("React").PropTypes,m=1e3;j=babelHelpers.inherits(n,c("React").Component);k=j&&j.prototype;function n(o){__p&&__p();k.constructor.call(this,o);this.playVideo=function(){if(this.props.disableVideoPlay)return;if(!this.isVideoLoaded())return;if(this.state.playerAPI){this.state.playerAPI.play(c("VideoPlayerReason").USER);this.setState({playing:true})}}.bind(this);this.closePlayer=function(){this.pause();this.seek(0);this.setState({playing:false});this.props.onPlayerClosed&&this.props.onPlayerClosed()}.bind(this);this.onMouseEnter=function(){if(this.state.playerAPI&&this.props.playOnHover){this.state.playerAPI.play(c("VideoPlayerReason").HOVER);this.setState({playing:true})}}.bind(this);this.onMouseLeave=function(){if(this.state.playerAPI&&this.props.playOnHover){this.state.playerAPI.pause(c("VideoPlayerReason").HOVER);if(this.state.playerAPI)this.state.playerAPI.abortLoading();this.setState({playing:false})}}.bind(this);this.state={implementationUnavailable:false,playing:false,playerAPI:null};this.$AdsVideoPlayer1=null;this.$AdsVideoPlayer2="ads_video_"+c("guid")()}n.prototype.componentDidMount=function(){this.$AdsVideoPlayer3(this.props)};n.prototype.componentWillReceiveProps=function(o){__p&&__p();var p=o.videoID,q=o.playerWidth,r=o.playerHeight,s=o.rotation,t=o.timePositionInMs;if(p!==this.props.videoID||q!==this.props.playerWidth||r!==this.props.playerHeight){this.closePlayer();this.setState({playerAPI:null});this.$AdsVideoPlayer3(o)}else if(t!=null&&this.props.timePositionInMs!==t&&this.state.playerAPI)this.state.playerAPI.seek(t/m);if(s!=null&&s!==this.props.rotation)if(this.state.playerAPI)this.state.playerAPI.setRotation(s)};n.prototype.componentDidUpdate=function(o){if(this.props.autoPlay&&(!o.autoPlay||this.props.autoPlayStart!==o.autoPlayStart||this.props.autoPlayStop!==o.autoPlayStop))this.autoPlayVideo();if(!this.props.autoPlay&&o.autoPlay)this.pause(c("VideoPlayerReason").AUTOPLAY)};n.prototype.componentWillUnmount=function(){this.pause();this.seek(0);if(this.state.playerAPI)this.state.playerAPI.abortLoading();if(this.state.playerAPI)this.state.playerAPI.detachRootNode()};n.prototype.$AdsVideoPlayer3=function(o){if(this.props.loadVideoPlayer)this.props.loadVideoPlayer(this.$AdsVideoPlayer2,this,o);else this.$AdsVideoPlayer4(o)};n.prototype.$AdsVideoPlayer4=function(o){var p=o.videoID,q=o.playerWidth,r=o.playerHeight,s=c("XAdsVideoPlayerController").getURIBuilder().setString("video_id",p).setString("video_container_id",this.$AdsVideoPlayer2).setInt("width",q).setInt("height",r).setBool("show_controls",this.props.showControls).setBool("forcehd",this.props.forceHD).setBool("show_captions_default",this.props.showCaptionsByDefault).setBool("force_flash",this.props.forceFlash).setBool("allow_fullscreen",this.props.showFullscreenButton).setBool("start_muted",this.props.muted).setString("video_player_logger_source",this.props.videoPlayerLoggerSource).getURI();this.request=new(c("AsyncRequest"))().setMethod("GET").setRelativeTo(this).setURI(s).setReadOnly(true).setAllowCrossPageTransition(true).send()};n.prototype.isImplementationUnavailable=function(){if(this.state.playerAPI)this.setState({implementationUnavailable:this.state.playerAPI.isImplementationUnavailable()});return this.state.implementationUnavailable};n.prototype.autoPlayVideo=function(){__p&&__p();if(!this.state.playerAPI)return;if(this.props.autoPlayStart||this.props.autoPlayStart===0){this.state.playerAPI.seek(this.props.autoPlayStart/m);clearTimeout(this.$AdsVideoPlayer1)}this.state.playerAPI.play(c("VideoPlayerReason").AUTOPLAY);this.setState({playing:true});if(this.props.autoPlayStop)this.$AdsVideoPlayer1=setTimeout(function(){if(this.state.playerAPI)this.state.playerAPI.pause(c("VideoPlayerReason").AUTOPLAY)}.bind(this),this.props.autoPlayStop-(this.props.autoPlayStart||0))};n.prototype.getCurrentTimePosition=function(){return this.state.playerAPI?this.state.playerAPI.getCurrentTimePosition():null};n.prototype.isVideoLoaded=function(){var o=!!this.state.playerAPI;!o;if(this.state.playerAPI&&this.state.playerAPI.isState("fallback"))return false;return o};n.prototype.seek=function(o){if(!this.isVideoLoaded())return;if(this.state.playerAPI)this.state.playerAPI.seek(o/m)};n.prototype.pause=function(){var o=arguments.length<=0||arguments[0]===undefined?c("VideoPlayerReason").USER:arguments[0];if(!this.isVideoLoaded())return;if(this.state.playerAPI)this.state.playerAPI.pause(o)};n.prototype.mute=function(){if(!this.isVideoLoaded())return;if(this.state.playerAPI)this.state.playerAPI.mute()};n.prototype.render=function(){__p&&__p();var o=false,p=this.props.alwaysShowBackground,q=this.props.hideAllOverlays,r=!this.state.playerAPI&&!this.props.hideAllOverlays;if(this.state.playing)o=!!this.state.playerAPI;else if(this.state.playerAPI&&this.state.playerAPI.isState("fallback"))o=true;var s=null;if(this.props.autoPlay)s=c("React").createElement("div",{className:!p&&(o||r)?"invisible_elem":null,style:{height:this.props.playerHeight,width:this.props.playerWidth}},this.props.children);else s=r&&p||q?c("React").createElement("div",{style:{height:this.props.playerHeight,width:this.props.playerWidth}},this.props.children):c("React").createElement(c("AdsPlayable.react"),{className:o||r?"invisible_elem":null,iconImage:this.props.iconImage,iconText:this.props.iconText,onPlayClick:this.playVideo},this.props.children);var t=null;if(this.props.showControls&&!this.props.hideCloseButton)t=c("React").createElement(c("FBOverlayElement.react"),{horizontal:"left",vertical:"top"},c("React").createElement(c("Link.react"),{className:"_3-9a _2phz _4-xh"+(!o?" hidden_elem":""),onClick:this.closePlayer},i._("Close video player")));var u=void 0;if(r)u=c("React").createElement(c("FBOverlayElement.react"),null,c("React").createElement(c("CenteredContainer.react"),{horizontal:true,vertical:true},c("React").createElement(c("SUISpinner.react"),{size:"large",theme:c("SUIBusinessTheme")})));var v=c("UserAgent").isBrowser("IE");return c("React").createElement(c("FBOverlayContainer.react"),babelHelpers["extends"]({},this.props,{className:c("joinClasses")(this.props.className,"_4-xg"),onMouseEnter:this.onMouseEnter,onMouseLeave:this.onMouseLeave}),c("React").createElement(c("FBOverlayElement.react"),null,c("React").createElement("div",{className:o||v?null:"invisible_elem",id:this.$AdsVideoPlayer2})),u,c("React").createElement(c("FBOverlayBase.react"),null,s),t)};n.prototype.onVideoLoaded=function(){__p&&__p();if(this.props.onVideoLoaded)this.props.onVideoLoaded();if(!this.state.playerAPI)return;if(this.props.onUpdateMetadata)this.state.playerAPI.addListener("updateMetadata",this.props.onUpdateMetadata);if(this.props.onBeginPlayback)this.state.playerAPI.addListener("beginPlayback",this.props.onBeginPlayback);if(this.props.loop||this.props.onFinishPlayback){var o=function(){if(this.props.loop){this.state.playerAPI&&this.state.playerAPI.seek(0);this.state.playerAPI&&this.state.playerAPI.play(c("VideoPlayerReason").LOOP);this.setState({playing:true})}if(this.props.onFinishPlayback)this.props.onFinishPlayback()}.bind(this);this.state.playerAPI.addListener("finishPlayback",o)}if(this.props.onPausePlayback)this.state.playerAPI.addListener("pausePlayback",this.props.onPausePlayback);if(this.props.onSeekEnd)this.state.playerAPI.addListener("seekEnd",this.props.onSeekEnd);if(this.props.playOnHover)this.state.playerAPI.abortLoading();if(this.props.autoPlay)this.autoPlayVideo()};n.prototype.destroyPlayer=function(){var o=this.state.playerAPI;if(o)o.destroy()};n.prototype.getPlaybackDuration=function(){if(!this.state.playerAPI)return null;return this.state.playerAPI.getPlaybackDuration()};n.prototype.getPlayerApi=function(){return this.state.playerAPI};n.propTypes={alwaysShowBackground:l.bool,autoPlay:l.bool,autoPlayStart:l.number,autoPlayStop:l.number,disableVideoPlay:l.bool,forceFlash:l.bool,forceHD:l.bool,hideAllOverlays:l.bool,hideCloseButton:l.bool,iconImage:l.object,iconText:l.string,loadVideoPlayer:l.func,loop:l.bool,muted:l.bool,playOnHover:l.bool,playerHeight:l.number.isRequired,playerWidth:l.number.isRequired,rotation:l.number,showCaptionsByDefault:l.bool,showControls:l.bool,showFullscreenButton:l.bool,timePositionInMs:l.number,videoID:l.string.isRequired,videoPlayerLoggerSource:l.string,onBeginPlayback:l.func,onFinishPlayback:l.func,onPausePlayback:l.func,onPlayerClosed:l.func,onSeekEnd:l.func,onUpdateMetadata:l.func,onVideoLoaded:l.func};n.defaultProps={alwaysShowBackground:false,showControls:true,showCaptionsByDefault:true,hideCloseButton:false,forceFlash:false,videoPlayerLoggerSource:c("VideoPlayerLoggerSource").INLINE,hideAllOverlays:false,muted:false,playOnHover:false,showFullscreenButton:true};n.invokeVideoLoaded=function(o,p){__p&&__p();o.setState({implementationUnavailable:p.isImplementationUnavailable()});if(p.isState("loading"))o.stateChangeListener=p.addListener("stateChange",function(){if(!p.isState("loading")){if(o.state&&o.state.playerAPI)return;o.setState({playerAPI:p},o.onVideoLoaded);if(o.stateChangeListener)o.stateChangeListener.remove()}});else o.setState({playerAPI:p},o.onVideoLoaded)};f.exports=n}),null);
__d("AdsPlusBox.react",["cx","CenteredContainer.react","Link.react","React","joinClasses"],(function a(b,c,d,e,f,g,h){__p&&__p();var i,j;i=babelHelpers.inherits(k,c("React").Component);j=i&&i.prototype;k.prototype.render=function(){"use strict";return c("React").createElement(c("Link.react"),babelHelpers["extends"]({},this.props,{className:c("joinClasses")(this.props.className,"_58_r")}),c("React").createElement(c("CenteredContainer.react"),{className:"_4pm_",vertical:true},c("React").createElement("div",{className:"_58_s"}),this.props.children))};function k(){"use strict";i.apply(this,arguments)}f.exports=k}),null);
__d("AdsProgressBox.react",["cx","fbt","BUIAdoptionCloseButton.react","BUIProgressBar.react","React","joinClasses","keyMirror"],(function a(b,c,d,e,f,g,h,i){"use strict";__p&&__p();var j,k,l=c("React").PropTypes,m=c("keyMirror")({Uploading:null,Encoding:null});j=babelHelpers.inherits(n,c("React").Component);k=j&&j.prototype;n.prototype.render=function(){var o=this.props.subtitle?c("React").createElement("div",{className:"_2t6d"},this.props.subtitle):null,p=this.props.onCancel?c("React").createElement(c("BUIAdoptionCloseButton.react"),{className_DEPRECATED:"rfloat",label:i._("Cancel Upload"),onClick:this.props.onCancel}):null,q=this.props.align==="center"?"_5okx":"";return c("React").createElement("div",babelHelpers["extends"]({},this.props,{className:c("joinClasses")(this.props.className,q)}),this.$AdsProgressBox1(this.props.videoTitle,this.props.processingAction),c("React").createElement("div",{className:"clearfix"},p,c("React").createElement("div",{className:p?"_3-92":""},c("React").createElement(c("BUIProgressBar.react"),{flexibleWidth:true,isBuffering:this.props.striped,padding:false,percentage:this.props.progressValue}))),o)};n.prototype.$AdsProgressBox1=function(o,p){if(!o)return;var q=c("React").createElement("span",{className:"_5pic"},o);if(p)q=i._({"Uploading":"Uploading {videoTitle}","Encoding":"Encoding {videoTitle}"},[i["enum"](p,{Uploading:"Uploading",Encoding:"Encoding"}),i.param("videoTitle",q)]);return c("React").createElement("div",{className:"_3-95 _5pid"},q)};function n(){j.apply(this,arguments)}n.PROCESSING_ACTION=m;n.propTypes={align:l.oneOf(["default","center"]),processingAction:l.oneOf(Object.keys(m)),progressValue:l.number.isRequired,striped:l.bool,subtitle:l.string,videoTitle:l.string,onCancel:l.func};n.defaultProps={align:"default",striped:false};f.exports=n}),null);
__d("AdsSelected.react",["cx","ix","FBOverlayBase.react","FBOverlayContainer.react","FBOverlayElement.react","Image.react","React","joinClasses"],(function a(b,c,d,e,f,g,h,i){__p&&__p();var j,k,l=c("React").PropTypes;j=babelHelpers.inherits(m,c("React").Component);k=j&&j.prototype;m.prototype.render=function(){"use strict";return c("React").createElement(c("FBOverlayContainer.react"),babelHelpers["extends"]({},this.props,{className:c("joinClasses")(this.props.className,"_4ie2"+(this.props.isSelected?" _4ie3":""))}),c("React").createElement(c("FBOverlayBase.react"),null,this.props.children),c("React").createElement(c("FBOverlayElement.react"),{horizontal:"right",vertical:"top"},c("React").createElement(c("Image.react"),{className:"_4ie4"+(!this.props.isSelected?" hidden_elem":""),src:i("23112")})))};function m(){"use strict";j.apply(this,arguments)}m.propTypes={isSelected:l.bool};m.defaultProps={isSelected:true};f.exports=m}),null);
__d("adsFormatErrorMessage",["FbtResultBase"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();function h(i){__p&&__p();i=i||{};var j=i.error_user_msg||i.message||"Unknown error",k=[];if(j instanceof c("FbtResultBase"))j=j.toString();if(i.code&&!j.includes(i.code))k.push(i.code);if(i.key&&!j.includes(i.key))k.push(i.key);if(i.error_subcode&&!j.includes(i.error_subcode))k.push(i.error_subcode);return k.length===0?j:j+" (#"+k.join(".")+")"}f.exports=h}),null);
__d("AdsErrorUtils",["AdsAPIPublisherPlatform","AdsError","AdsInstagramSoftErrors","AdsPlacementAPISpecReaderUtils","Map","adsFormatErrorMessage","areEqual","distinctArray","distinctArrayBy","forEachObject","getByPath","groupArray","mapObject","setByPath"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h=c("AdsPlacementAPISpecReaderUtils").isOnlyActivePublisherPlatform,i=c("AdsPlacementAPISpecReaderUtils").haveTheSameActivePublisherPlatform,j="\u2022 ",k=["errors"],l=/^Unsupported (get|delete|post) request\..*/,m={getErrorsByField:function o(p){var q=c("groupArray")(p,function(s){return s.field||""}),r=new(c("Map"))();c("forEachObject")(q,function(p,s){r.set(s,p)});return r},getErrorsForPath:function o(p,q){return p.filter(function(r){return c("areEqual")(q,r.path)})},getRawMessages:function o(p){var q=p.map(function(r){if(r instanceof c("AdsError"))return r.message.toString();else return c("adsFormatErrorMessage")(r).toString()});return c("distinctArray")(q)},getMessages:function o(p){var q=m.getRawMessages(p);if(q.length===0)return null;if(q.length===1)return q[0];return j+q.join("\n"+j)},getErrorSpec:function o(p){__p&&__p();p.sort(function(t,u){return n(t).length-n(u).length});var q={};p.forEach(function(t){var u=n(t);if(!c("getByPath")(q,u))c("setByPath")(q,u,[]);var v=c("getByPath")(q,u);if(Array.isArray(v))v.push(t)});function r(t){if(Array.isArray(t))return m.getMessages(t);else if(Object.prototype.toString.call(t)==="[object Object]")return c("mapObject")(t,r)}var s=r(q);return s},indexErrorsByPath:function o(p){__p&&__p();p=m.getDistrinctErrorsByKey(p);var q={};p.forEach(function(r){var s=r.path||k,t=c("getByPath")(q,s);if(!t){t=[];c("setByPath")(q,s,t)}t.push(r)});return q},hasErrorForField:function o(p,q){return p.some(function(r){var s=r.path||[];if(s.length===1&&s[0]===q)return true;return false})},isInvalidIDError:function o(p){return p!=null&&p.code===100&&l.test(p.message)},giveRecommendationsForSoftErrors:function o(p,q){if(!q||q.length<=1)return p;return p.map(function(r){if(r.key in c("AdsInstagramSoftErrors")&&r.level===c("AdsError").Level.WARN)r.level=c("AdsError").Level.RECOMMEND;return r})},giveRecommendationsForSoftErrorsV2:function o(p,q){__p&&__p();if(q){if(q.some(function(r){return h(r,c("AdsAPIPublisherPlatform").INSTAGRAM)&&!!r.instagram_positions&&r.instagram_positions.length===1}))return p;if(i(q))return p}return p.map(function(r){if(r.key in c("AdsInstagramSoftErrors")&&r.level===c("AdsError").Level.WARN)r.level=c("AdsError").Level.RECOMMEND;return r})},getLevelForErrors:function o(p){var q=c("AdsError").Level.SUCCESS;p.forEach(function(r){if(c("AdsError").compareLevels(r.level,q)>0)q=r.level});return q},getAllErrorsAtLevel:function o(p,q){return p.filter(function(r){return r.level===q})},getCountAtLevel:function o(p,q){var r=0;p.forEach(function(s){if(s.level===q)r++});return r},getMostSeriousLevel:function o(p){var q=c("AdsError").Level.SUCCESS;p.forEach(function(r){if(c("AdsError").compareLevels(r,q)>0)q=r});return q},getBlockingErrors:function o(p){return p.filter(function(q){return q.level===c("AdsError").Level.WARN||q.level===c("AdsError").Level.NOTIFY||q.level===c("AdsError").Level.SUCCESS})},getDistrinctErrorsByKey:function o(p){return c("distinctArrayBy")(p,function(q){return q.key})},getSUINoticeTypeForLevel:function o(p){switch(p){case c("AdsError").Level.WARN:return"error";case c("AdsError").Level.RECOMMEND:return"warning";case c("AdsError").Level.NOTIFY:return"information";case c("AdsError").Level.SUCCESS:return"success"}return"error"}};function n(o){return o.path||k}f.exports=m}),null);
__d("AdsTimeUtils",["fbt","DateConsts"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i={isTheSameMinute:function j(k,l){if(!k||!l)return k===l;var m=i._getTimeStampRoundedToMinutes(k),n=i._getTimeStampRoundedToMinutes(l);return m===n},_getTimeStampRoundedToMinutes:function j(k){return k.getTime()-k.getSeconds()*c("DateConsts").MS_PER_SEC-k.getMilliseconds()},dateUTCTruncate:function j(k){return new Date(Date.UTC(k.getFullYear(),k.getMonth(),k.getDate()))},getDifferenceInDays:function j(k,l){var m=Math.abs(k-l);return Math.ceil(m/c("DateConsts").MS_PER_DAY)},dateStringToSeconds:function j(k){if(i.isNumberLike(k))return+k;else return Date.parse(k)/1e3},isNumberLike:function j(k){return!isNaN(+k)},secondsToString:function j(k){var l=Math.floor(k/c("DateConsts").SEC_PER_HOUR),m=Math.floor((k-l*c("DateConsts").SEC_PER_HOUR)/c("DateConsts").SEC_PER_MIN),n=k-m*c("DateConsts").SEC_PER_MIN-l*c("DateConsts").SEC_PER_HOUR;if(n<10)n="0"+n;if(l&&m<10)m="0"+m;var o=h._("{minutes}:{seconds}",[h.param("minutes",m),h.param("seconds",n)]);if(l)o=h._("{hours}:{minutes}:{seconds}",[h.param("hours",l),h.param("minutes",m),h.param("seconds",n)]);return o}};f.exports=i}),null);
__d("AdsVideoValidationUtils",["fbt","AdsError","AdsErrorUtils","React"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i={getIcebergErrorNotice:function j(k){var l=h._("This video is not eligible for the additional video content.");return i._getErrorList(i._getErrorDetails(l,k))},getCompletedViewErrorNotice:function j(k){var l=h._("This video is not eligible for completed video view buying.");return i._getErrorList(i._getErrorDetails(l,k))},getMrcViewErrorNotice:function j(k){var l=h._("This video is not eligible for 2-second continuous video view buying.");return i._getErrorList(i._getErrorDetails(l,k))},getInstagramErrorNotice:function j(k,l){var m=void 0;if(l===c("AdsError").Level.RECOMMEND)m=h._("This video can't be used for Instagram, but you can still select it to run on Facebook.");else m=h._("This video can't be used for Instagram ads");var n=[];if(l===c("AdsError").Level.RECOMMEND)n.push(h._("You can choose another video that will run on both Instagram and Facebook."));else n.push(h._("Choose another video for this ad set."));return i._getErrorList(i._getErrorDetails(m,k,n))},getAudienceNetworkInStreamVideoCTVErrorNotice:function j(k){var l=h._("This video can't be used for Connected TV ads on Audience Network. To use this video for Connected TV ads, you need to:");return i._getErrorList(i._getErrorDetails(l,k))},getAudienceNetworkInStreamVideoErrorNotice:function j(k){var l=h._("This video can't be used for in-stream ads on Audience Network. To run in-stream on Audience Network, you need to:");return i._getErrorList(i._getErrorDetails(l,k))},getInstreamVideoErrorNotice:function j(k,l){var m=void 0;if(l===c("AdsError").Level.RECOMMEND)m=h._("This video can't be used for in-stream ads, but it can still run in your other placements.");else m=h._("This video can't be used for in-stream ads.");return i._getErrorList(i._getErrorDetails(m,k))},_getErrorDetails:function j(k,l,m){var n=[k,"\n"],o=c("AdsErrorUtils").getRawMessages(l);if(o.length>1)o=o.map(function(p){return h._("{bullet} {error message}",[h.param("bullet","\u2022"),h.param("error message",p)])});if(m)o=o.concat(m);return n.concat(o)},_getErrorList:function j(k){return c("React").createElement("ul",null,k.map(function(l,m){return c("React").createElement("li",{key:"error_"+m},l)}))}};f.exports=i}),null);
__d("AdsVideoValidationIcon.react",["errorCode","AdsAccountCapabilities","AdsAccountUtils","AdsError","AdsErrorUtils","AdsInstagramFields","AdsValidationIcon.react","AdsValidationIconType","AdsVideoBuyingUtils","AdsVideoValidationUtils","React","Set"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i,j,k=new(c("Set"))([1815287,2016029,1815755,1815754]),l=new(c("Set"))([1815287,2016029,2016032,1885566,1815754]),m=c("AdsInstagramFields").INSTAGRAM_VIDEO_ERROR_KEYS,n=new(c("Set"))([1815484,1815490,1815483,2016019]),o=c("AdsVideoBuyingUtils").COMPLETED_VIEW_ERRORS,p=c("AdsVideoBuyingUtils").MRC_VIEW_ERRORS;i=babelHelpers.inherits(q,c("React").PureComponent);j=i&&i.prototype;q.prototype.render=function(){__p&&__p();var r=c("AdsErrorUtils").getLevelForErrors(this.props.errors),s=c("AdsErrorUtils").getAllErrorsAtLevel(this.props.errors,r);if(s.length===0)return null;var t=[],u=s.filter(function(D){return n.has(D.key)});if(u.length!==0)t.push(c("AdsVideoValidationUtils").getInstreamVideoErrorNotice(u,r));var v=s.filter(function(D){return m.has(D.key)});if(v.length!==0)t.push(c("AdsVideoValidationUtils").getInstagramErrorNotice(v,r));var w=s.filter(function(D){return k.has(D.key)});if(w.length!==0)t.push(c("AdsVideoValidationUtils").getAudienceNetworkInStreamVideoErrorNotice(w));var x=s.filter(function(D){return l.has(D.key)}),y=c("AdsAccountUtils").hasCapabilityFromList(this.props.accountCapabilities,c("AdsAccountCapabilities").ADS_INSTREAM_CONNECTED_TV);if(x.length!==0&&y)t.push(c("AdsVideoValidationUtils").getAudienceNetworkInStreamVideoCTVErrorNotice(x));var z=s.filter(function(D){return o.has(D.key)});if(z.length!==0)t.push(c("AdsVideoValidationUtils").getCompletedViewErrorNotice(z));var A=s.filter(function(D){return p.has(D.key)});if(A.length!==0)t.push(c("AdsVideoValidationUtils").getMrcViewErrorNotice(A));var B=function B(D,E){if(D.length===0||D.length===1)return D;var F=[];D.forEach(function(G,H){F.push(G);if(H<D.length-1)F.push(E)});return F};t=B(t,"\n");var C=this.props.iconType;if(!C)C=r===c("AdsError").Level.RECOMMEND?c("AdsValidationIconType").WARNING:c("AdsValidationIconType").ERROR_IMAGE;return c("React").createElement(c("AdsValidationIcon.react"),{className:this.props.className,isError:r===c("AdsError").Level.WARN,messages:t,type:C})};function q(){i.apply(this,arguments)}f.exports=q}),null);
__d("GradientBox.react",["cx","React","joinClasses"],(function a(b,c,d,e,f,g,h){__p&&__p();var i,j,k=c("React").PropTypes,l={up:"_344j",left:"_344k",down:"_344l",right:"_344m"},m={white:"_344n",black:"_344o"};i=babelHelpers.inherits(n,c("React").Component);j=i&&i.prototype;n.prototype.render=function(){"use strict";var o=c("joinClasses")(l[this.props.direction],m[this.props.color]);return c("React").createElement("div",babelHelpers["extends"]({},this.props,{className:c("joinClasses")(this.props.className,o)}))};function n(){"use strict";i.apply(this,arguments)}n.propTypes={direction:k.oneOf(["up","down","right","left"]),color:k.oneOf(["black","white"])};n.defaultProps={direction:"right",color:"black"};f.exports=n}),null);
__d("AdsVideoItem.react",["cssVar","cx","invariant","AdsError","AdsErrorUtils","AdsTestIDs","AdsTimeUtils","AdsVideoPlayer.react","AdsVideoValidationIcon.react","BackgroundImage.react","FBOverlayBase.react","FBOverlayContainer.react","FBOverlayElement.react","GradientBox.react","Link.react","React"],(function a(b,c,d,e,f,g,h,i,j){"use strict";__p&&__p();var k,l,m=c("React").PropTypes,n={tiny:{width:parseInt("152px",10),height:parseInt("86px",10)},small:{width:parseInt("220px",10),height:parseInt("124px",10)},large:{width:parseInt("280px",10),height:parseInt("158px",10)}};k=babelHelpers.inherits(o,c("React").PureComponent);l=k&&k.prototype;o.prototype.componentWillReceiveProps=function(p){if(!p.picture)return;if(this.refs.videoPlayer&&p.picture!==this.props.picture)this.refs.videoPlayer.closePlayer()};o.prototype.render=function(){__p&&__p();var p=n[this.props.size],q=this.props.onClick,r=c("AdsErrorUtils").getLevelForErrors(this.props.errors),s=c("AdsErrorUtils").getAllErrorsAtLevel(this.props.errors,r),t=this.$AdsVideoItem1(s,r);if(!this.props.selectableOnErrors&&s.length>0&&r===c("AdsError").Level.WARN)q=null;var u=null;if(this.props.title)u=c("React").createElement(c("FBOverlayElement.react"),{vertical:"bottom"},c("React").createElement("div",{className:"_5cl3"+(!!(this.props.length&&!t)?" _5r1m":"")+(!!(this.props.length&&t)?" _19ra":"")},this.props.title));var v=null;if(this.props.length)v=c("React").createElement(c("FBOverlayElement.react"),{horizontal:"right",vertical:"bottom"},c("React").createElement("div",{className:"_5r1p"+(!!t?" _19rb":"")},c("AdsTimeUtils").secondsToString(Math.floor(this.props.length))));var w=c("React").createElement(c("FBOverlayContainer.react"),null,c("React").createElement(c("FBOverlayBase.react"),null,c("React").createElement(c("BackgroundImage.react"),{backgroundSize:"contain",className:"_55v-",height:p.height,src:this.props.picture,width:p.width})),c("React").createElement(c("FBOverlayElement.react"),{vertical:"bottom"},c("React").createElement(c("GradientBox.react"),{className:"_5cl2",color:"black",direction:"up"})),u,this.$AdsVideoItem2(t),v);if(this.props.playable){this.props.videoID||j(0);return c("React").createElement(c("FBOverlayContainer.react"),null,c("React").createElement(c("FBOverlayBase.react"),null,c("React").createElement(c("AdsVideoPlayer.react"),babelHelpers["extends"]({},this.props,{playerHeight:p.height,playerWidth:p.width,ref:"videoPlayer",videoID:this.props.videoID}),c("React").createElement(c("Link.react"),{"data-testid":c("AdsTestIDs").VIDEO_BOX,onClick:q},w))),this.$AdsVideoItem3(t))}return c("React").createElement(c("Link.react"),{"data-testid":c("AdsTestIDs").VIDEO_BOX,onClick:q},w)};o.prototype.$AdsVideoItem1=function(p,q){if(p.length===0)return null;return c("React").createElement(c("AdsVideoValidationIcon.react"),{accountCapabilities:this.props.accountCapabilities,className:"_19rc",errors:p})};o.prototype.$AdsVideoItem2=function(p){if(!p)return null;if(this.props.playable)return null;return c("React").createElement(c("FBOverlayElement.react"),{horizontal:"right",vertical:"bottom"},p)};o.prototype.$AdsVideoItem3=function(p){if(!p)return null;if(!this.props.playable)return null;return c("React").createElement(c("FBOverlayElement.react"),{horizontal:"left",vertical:"top"},p)};function o(){k.apply(this,arguments)}o.propTypes={accountCapabilities:m.array,errors:m.arrayOf(m.instanceOf(c("AdsError"))).isRequired,height:m.number.isRequired,isSpherical:m.bool.isRequired,length:m.number.isRequired,picture:m.string.isRequired,playable:m.bool.isRequired,selectableOnErrors:m.bool,size:m.oneOf(Object.keys(n)).isRequired,title:m.string,videoID:m.string,width:m.number.isRequired,onClick:m.func};o.defaultProps={errors:[],size:"small",videoID:null,playable:false,isSpherical:false};f.exports=o}),null);
__d("AdsVideoUploadProgressView.react",["fbt","AdsProgressBox.react","AdsVideoUploadStatus","CenteredContainer.react","React","WaitTimeArea.react"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i,j;i=babelHelpers.inherits(k,c("React").Component);j=i&&i.prototype;k.prototype.render=function(){var l=void 0;switch(this.props.uploadStatus){case c("AdsVideoUploadStatus").UPLOADING:l=this.$AdsVideoUploadProgressView1(h._("Uploading video {video title}",[h.param("video title",this.props.title)]),false);break;case c("AdsVideoUploadStatus").ENCODING:l=this.$AdsVideoUploadProgressView1(h._("Processing video {video title}",[h.param("video title",this.props.title)]),true);break;default:l=null}return l};k.prototype.$AdsVideoUploadProgressView1=function(l,m){return c("React").createElement(c("CenteredContainer.react"),{className:this.props.centerContainerClassName,horizontal:false,vertical:true},c("React").createElement(c("WaitTimeArea.react"),{name:"AdsVideoUploadProgressView",owner:"ads_advertiser_experience"},c("React").createElement(c("AdsProgressBox.react"),{className:this.props.progressBoxClassName,progressValue:this.props.uploadProgress,striped:m,videoTitle:l,onCancel:this.props.onCancel})))};function k(){i.apply(this,arguments)}f.exports=k}),null);
__d("AdsVideoPanel.react",["cx","fbt","AdsLoadState_LEGACY","AdsPlusBox.react","AdsSelected.react","AdsVideoItem.react","AdsVideoUploadProgressView.react","AdsVideoUploadStatus","AdsVideoUtils","CenteredContainer.react","FileInput.react","Map","React","SUIBusinessTheme","SUISpinner.react","emptyFunction"],(function a(b,c,d,e,f,g,h,i){"use strict";__p&&__p();var j,k,l=c("React").PropTypes,m=new(c("Map"))();j=babelHelpers.inherits(n,c("React").Component);k=j&&j.prototype;function n(){__p&&__p();var o,p;for(var q=arguments.length,r=Array(q),s=0;s<q;s++)r[s]=arguments[s];return p=(o=k.constructor).call.apply(o,[this].concat(r)),this.$AdsVideoPanel3=function(t){if(this.props.onVideoFileChange)this.props.onVideoFileChange(t.target.files)}.bind(this),this.$AdsVideoPanel2=function(t,u){if(t.loadState===c("AdsLoadState_LEGACY").LOADING)return c("React").createElement(c("CenteredContainer.react"),{className:"_4hde",key:u,vertical:true},c("React").createElement(c("SUISpinner.react"),{size:"large",theme:c("SUIBusinessTheme")}));if(!t||!t.preferredThumbnail)return null;var v=this.props.selectedVideoIDs.includes(t.id),w=t.title||t.description||i._("Video ({video ID})",[i.param("video ID",t.id)]),x=this.props.videoErrors.get(t.id)||[];return c("React").createElement(c("AdsSelected.react"),{className:"_414a",isSelected:v,key:"video_"+t.id},c("React").createElement(c("AdsVideoItem.react"),{accountCapabilities:this.props.accountCapabilities,errors:x,height:t.height,isSpherical:t.spherical,length:t.length,picture:t.preferredThumbnail.uri,selectableOnErrors:this.props.selectableOnErrors,size:"small",title:w,width:t.width,onClick:this.props.onVideoClick.bind(null,t.id)}))}.bind(this),p}n.prototype.render=function(){var o=null;if(this.props.showUploader){switch(this.props.uploadStatus){case c("AdsVideoUploadStatus").UPLOADING:case c("AdsVideoUploadStatus").ENCODING:o=c("React").createElement(c("AdsVideoUploadProgressView.react"),{centerContainerClassName:"_ji0",progressBoxClassName:"_ji1",title:this.props.uploadTitle,uploadProgress:this.props.uploadProgress,uploadStatus:this.props.uploadStatus,onCancel:this.props.onUploadCancel});break;default:o=this.$AdsVideoPanel1()}o=c("React").createElement("div",{className:"_414a _5c2p"},o)}return c("React").createElement("div",{className:"_iux"},o,this.props.videoList.map(this.$AdsVideoPanel2))};n.prototype.$AdsVideoPanel1=function(){return c("React").createElement(c("FileInput.react"),{accept:c("AdsVideoUtils").getVideoFileExtensions(),onChange:this.$AdsVideoPanel3},c("React").createElement(c("AdsPlusBox.react"),{className:"_1hit"},i._("Upload Video")))};n.propTypes={accountCapabilities:l.array,selectableOnErrors:l.bool,selectedVideoIDs:l.arrayOf(l.string).isRequired,videoErrors:l.instanceOf(c("Map")),videoList:l.array,uploadStatus:l.oneOf(Object.keys(c("AdsVideoUploadStatus"))),uploadProgress:l.number,uploadTitle:l.string,showUploader:l.bool,onVideoClick:l.func,onVideoFileChange:l.func,onUploadCancel:l.func};n.defaultProps={selectedVideoIDs:[],showUploader:true,videoList:[],videoErrors:m,uploadStatus:c("AdsVideoUploadStatus").NONE,onVideoClick:c("emptyFunction")};f.exports=n}),null);
__d("AdsAppDownloadsWarning.react",["cx","fbt","React","SUIBusinessTheme","SUINotice.react"],(function a(b,c,d,e,f,g,h,i){"use strict";var j,k;j=babelHelpers.inherits(l,c("React").Component);k=j&&j.prototype;l.prototype.render=function(){return c("React").createElement("div",{className:"_kac"},c("React").createElement(c("SUINotice.react"),{theme:c("SUIBusinessTheme"),type:"information"},i._("Your ad is optimizing for App Downloads instead of App Installs because we haven't received any app activation events from your app. Note that your delivery is limited facebook mobile feed.")))};function l(){j.apply(this,arguments)}f.exports=l}),null);
__d("AdsAppInstallWarning.react",["cx","fbt","Link.react","React","SUIBusinessTheme","SUINotice.react"],(function a(b,c,d,e,f,g,h,i){"use strict";var j,k;j=babelHelpers.inherits(l,c("React").Component);k=j&&j.prototype;l.prototype.render=function(){return c("React").createElement("div",{className:"_kac"},c("React").createElement(c("SUINotice.react"),{theme:c("SUIBusinessTheme"),type:"error"},i._("Your ad can't be optimized for App Installs because we haven't received any app activation events from your app."),c("React").createElement("br",null),c("React").createElement("br",null),i._("To optimize for App Installs, you need to:"),c("React").createElement("li",null,i._("Add our SDK on {=iOS} or {=Android} to your app.",[i.param("=iOS",c("React").createElement(c("Link.react"),{href:"https://developers.facebook.com/docs/ios",target:"_blank"},"iOS")),i.param("=Android",c("React").createElement(c("Link.react"),{href:"https://developers.facebook.com/docs/android",target:"_blank"},"Android"))])),c("React").createElement("li",null,i._("Use {appEventsIosUrl} to verify that app installs are being observed for your app.",[i.param("appEventsIosUrl",c("React").createElement(c("Link.react"),{href:"https://developers.facebook.com/tools/app-ads-helper",target:"_blank"},"App Ads Helper"))]))))};function l(){j.apply(this,arguments)}f.exports=l}),null);
__d("AdsGuidanceCollapsedNux.react",["ix","cx","BIGAdoptionConfig","BUIAdoptionCloseButton.react","Image.react","React","SUIBusinessTheme","SUIText.react","asset","fbglyph"],(function a(b,c,d,e,f,g,h,i){"use strict";__p&&__p();var j,k;j=babelHelpers.inherits(l,c("React").Component);k=j&&j.prototype;function l(){k.constructor.call(this);this.$AdsGuidanceCollapsedNux2=function(){var m=!this.state.isCollapsed;this.setState({isCollapsed:m});this.props.onCollapsedSectionClick&&this.props.onCollapsedSectionClick(m)}.bind(this);this.state={isCollapsed:true}}l.prototype.render=function(){return c("React").createElement("div",{className:"_41rn"},c("React").createElement("div",{className:"_41ro"},this.props.mainSection,c("React").createElement(c("BUIAdoptionCloseButton.react"),{className_DEPRECATED:"_41rq",shade:"dark",onClick:this.props.onClose})),this.$AdsGuidanceCollapsedNux1())};l.prototype.$AdsGuidanceCollapsedNux1=function(){var m=void 0,n=void 0;if(this.state.isCollapsed)m=c("BIGAdoptionConfig").ads_fbicon_adoption?h("406722"):h("127394");else{m=c("BIGAdoptionConfig").ads_fbicon_adoption?h("406809"):h("127424");n=this.props.collapsedBody}return c("React").createElement("div",{className:"_41s6"},c("React").createElement("div",{className:"_41tc",role:"presentation",onClick:this.$AdsGuidanceCollapsedNux2},c("React").createElement(c("SUIText.react"),{shade:"medium",theme:c("SUIBusinessTheme")},this.props.collapsedHeader),c("React").createElement(c("Image.react"),{className:"rfloat",src:m})),n)};f.exports=l}),null);
__d("AdsDeliveryBulkManualBidTypes",[],(function a(b,c,d,e,f,g){f.exports=Object.freeze({MAXIMUM:"MAXIMUM",AVERAGE:"AVERAGE",MIXED:"MIXED"})}),null);
__d("AdsDeliveryActionType",["keyMirrorRecursive"],(function a(b,c,d,e,f,g){"use strict";f.exports=c("keyMirrorRecursive")({CHANGE_ADSET_SCHEDULE:"",CHANGE_ADSET_SCHEDULE_TIMEZONE_TYPE:"",CHANGE_BID_AMOUNT:"",CHANGE_BILLING_EVENT:"",CHANGE_BUDGET_AMOUNT:"",CHANGE_BUDGET_MODE:"",CHANGE_CONVERSION_WINDOW:"",CHANGE_CUSTOM_EVENT_TYPE:"",CHANGE_DELIVERY_TYPE:"",CHANGE_FULL_FUNNEL_EXPLORATION_MODE:"",CHANGE_FREQUENCY_CONTROL_INTERVAL:"",CHANGE_IS_AUTOBID:"",CHANGE_IS_AVERAGE_PRICE_PACING:"",CHANGE_OPTIMIZATION_GOAL:"",CHANGE_OPTIMIZATION_SUB_EVENT:"",CHANGE_SCHEDULE:"",CHANGE_SCHEDULE_MODE_CREATION:"",CHANGE_SCHEDULING_TYPE:"",CHANGE_VIEW_CONVERSION_WINDOW:"",ERROR:"",SET_DEFAULT_SPEC:"",TOGGLE_SCHEDULE_MODE_MANAGEMENT:""},"AdsDeliveryAction")}),null);
__d("AdsDeliveryContainerLoggingEvents",["keyMirrorRecursive"],(function a(b,c,d,e,f,g){"use strict";var h=c("keyMirrorRecursive")({LANDING_PAGE_VIEWS:{DEFAULT:{NOTICE_CLOSED:"",NOTICE_SHOWN:"",NOTICE_COLLAPSED_SECTION_OPENED:"",NOTICE_COLLAPSED_SECTION_CLOSED:"",HELP:"",UNUSED:"",USED:""},UPSELL:{ACCEPTED:"",DISMISS:"",HELP:"",SHOWN:"",OLD_SHOWN:""},UPSELL_IN_CONVERSIONS:{ACCEPTED:"",DISMISS:"",HELP:"",SHOWN:""},DUPLICATION_TIP:{CAN_SHOW_TIP:"",CANCEL_DUPLICATE:"",CLICK_HELP_LINK:"",CONFIRM_OPTING_IN:"",CONFLICT_WITH_MESSENGER_TIP:"",DISMISS:"",EDITING_TIP_DISMISS:"",EDITING_TIP_SHOWN:"",OPT_IN:"",OPT_OUT:"",OPT_OUT_AT_EDITING:"",SHOWN:"",UI_INVALIDATION:""},PIXEL_WARNING:{SHOWN:"",UPDATED:""},OPTIMIZATION_GOAL:{OPTION_SHOWN:"",OPTION_NOT_SHOWN:""}},AYMT_TIPS:{SEND_REQUEST:"",RETURN_TIPS_MAP:"",GET_TIP_ERROR:{DONT_KNOW_WHICH_TIP:""},GET_TIP_SUCCESS:"",TIP_IMPRESSION:"",TIP_IMPRESSION_UPDATE:"",TIP_XOUT:""}},"AdsDeliveryContainer");f.exports=h}),null);
__d("AdsDeliveryLoggerCategories",[],(function a(b,c,d,e,f,g){f.exports=Object.freeze({IMPRESSION:"impression",INTERACTION:"interaction",TRANSACTION:"transaction",UPDATE:"update",ERROR:"error"})}),null);
__d("AdsDeliveryLoggerUtils",["AdsBulkValueUtils"],(function a(b,c,d,e,f,g){"use strict";function h(l){return c("AdsBulkValueUtils").getUniformValue(l.data.spec.bid_amount,0)}function i(l){return c("AdsBulkValueUtils").getUniformValue(l.data.spec.budget.amount,0)}function j(l){return c("AdsBulkValueUtils").getUniformValue(l.data.spec.budget.type,0)}var k={getBidAmountLogData:h,getBudgetAmountLogData:i,getBudgetModeLogData:j};f.exports=k}),null);
__d("AdsDeliveryContainerLoggingUtils",["AdsAPIAdCampaignFields","AdsBulkValueUtils","AdsDeliveryActionType","AdsDeliveryContainerLoggingEvents","AdsDeliveryLoggerCategories","AdsDeliveryLoggerUtils","AdsInterfacesLogger","AdsInterfacesLoggerConfigColumns"],(function a(aa,b,ba,ca,c,da){"use strict";__p&&__p();var d=b("AdsDeliveryLoggerUtils").getBidAmountLogData,e=b("AdsDeliveryLoggerUtils").getBudgetAmountLogData,f=b("AdsDeliveryLoggerUtils").getBudgetModeLogData,g="bp_landing_page_views_default_notice";function h(){b("AdsInterfacesLogger").log({eventName:b("AdsDeliveryContainerLoggingEvents").LANDING_PAGE_VIEWS.DEFAULT.USED,eventCategory:b("AdsDeliveryLoggerCategories").IMPRESSION},b("AdsInterfacesLogger").LOG_TYPE_PRIMARY_APP)}function i(){b("AdsInterfacesLogger").log({eventName:b("AdsDeliveryContainerLoggingEvents").LANDING_PAGE_VIEWS.DEFAULT.UNUSED,eventCategory:b("AdsDeliveryLoggerCategories").IMPRESSION},b("AdsInterfacesLogger").LOG_TYPE_PRIMARY_APP)}function j(){b("AdsInterfacesLogger").log({eventName:b("AdsDeliveryContainerLoggingEvents").LANDING_PAGE_VIEWS.DEFAULT.NOTICE_SHOWN,eventCategory:b("AdsDeliveryLoggerCategories").IMPRESSION},b("AdsInterfacesLogger").LOG_TYPE_PRIMARY_APP)}function k(){b("AdsInterfacesLogger").log({eventName:b("AdsDeliveryContainerLoggingEvents").LANDING_PAGE_VIEWS.DEFAULT.NOTICE_CLOSED,eventCategory:b("AdsDeliveryLoggerCategories").IMPRESSION},b("AdsInterfacesLogger").LOG_TYPE_PRIMARY_APP)}function l(){b("AdsInterfacesLogger").log({eventName:b("AdsDeliveryContainerLoggingEvents").LANDING_PAGE_VIEWS.DEFAULT.NOTICE_COLLAPSED_SECTION_OPENED,eventCategory:b("AdsDeliveryLoggerCategories").IMPRESSION},b("AdsInterfacesLogger").LOG_TYPE_PRIMARY_APP)}function m(){b("AdsInterfacesLogger").log({eventName:b("AdsDeliveryContainerLoggingEvents").LANDING_PAGE_VIEWS.DEFAULT.NOTICE_COLLAPSED_SECTION_CLOSED,eventCategory:b("AdsDeliveryLoggerCategories").IMPRESSION},b("AdsInterfacesLogger").LOG_TYPE_PRIMARY_APP)}function n(){b("AdsInterfacesLogger").log({eventName:b("AdsDeliveryContainerLoggingEvents").LANDING_PAGE_VIEWS.DEFAULT.HELP,eventCategory:b("AdsDeliveryLoggerCategories").INTERACTION},b("AdsInterfacesLogger").LOG_TYPE_PRIMARY_APP)}function o(){b("AdsInterfacesLogger").log({eventName:b("AdsDeliveryContainerLoggingEvents").LANDING_PAGE_VIEWS.UPSELL.ACCEPTED,eventCategory:b("AdsDeliveryLoggerCategories").INTERACTION},b("AdsInterfacesLogger").LOG_TYPE_PRIMARY_APP)}function p(){b("AdsInterfacesLogger").log({eventName:b("AdsDeliveryContainerLoggingEvents").LANDING_PAGE_VIEWS.UPSELL.DISMISS,eventCategory:b("AdsDeliveryLoggerCategories").INTERACTION},b("AdsInterfacesLogger").LOG_TYPE_PRIMARY_APP)}function q(){b("AdsInterfacesLogger").log({eventName:b("AdsDeliveryContainerLoggingEvents").LANDING_PAGE_VIEWS.UPSELL.HELP,eventCategory:b("AdsDeliveryLoggerCategories").INTERACTION},b("AdsInterfacesLogger").LOG_TYPE_PRIMARY_APP)}function r(){b("AdsInterfacesLogger").log({eventName:b("AdsDeliveryContainerLoggingEvents").LANDING_PAGE_VIEWS.UPSELL.SHOWN,eventCategory:b("AdsDeliveryLoggerCategories").IMPRESSION},b("AdsInterfacesLogger").LOG_TYPE_PRIMARY_APP)}function s(){b("AdsInterfacesLogger").log({eventName:b("AdsDeliveryContainerLoggingEvents").LANDING_PAGE_VIEWS.UPSELL.OLD_SHOWN,eventCategory:b("AdsDeliveryLoggerCategories").IMPRESSION},b("AdsInterfacesLogger").LOG_TYPE_PRIMARY_APP)}function t(){b("AdsInterfacesLogger").log({eventName:b("AdsDeliveryContainerLoggingEvents").LANDING_PAGE_VIEWS.UPSELL_IN_CONVERSIONS.ACCEPTED,eventCategory:b("AdsDeliveryLoggerCategories").INTERACTION},b("AdsInterfacesLogger").LOG_TYPE_PRIMARY_APP)}function u(){b("AdsInterfacesLogger").log({eventName:b("AdsDeliveryContainerLoggingEvents").LANDING_PAGE_VIEWS.UPSELL_IN_CONVERSIONS.DISMISS,eventCategory:b("AdsDeliveryLoggerCategories").INTERACTION},b("AdsInterfacesLogger").LOG_TYPE_PRIMARY_APP)}function v(){b("AdsInterfacesLogger").log({eventName:b("AdsDeliveryContainerLoggingEvents").LANDING_PAGE_VIEWS.UPSELL_IN_CONVERSIONS.HELP,eventCategory:b("AdsDeliveryLoggerCategories").INTERACTION},b("AdsInterfacesLogger").LOG_TYPE_PRIMARY_APP)}function w(){b("AdsInterfacesLogger").log({eventName:b("AdsDeliveryContainerLoggingEvents").LANDING_PAGE_VIEWS.UPSELL_IN_CONVERSIONS.SHOWN,eventCategory:b("AdsDeliveryLoggerCategories").IMPRESSION},b("AdsInterfacesLogger").LOG_TYPE_PRIMARY_APP)}function x(N){var O;b("AdsInterfacesLogger").log({eventName:b("AdsDeliveryContainerLoggingEvents").LANDING_PAGE_VIEWS.OPTIMIZATION_GOAL.OPTION_SHOWN,eventCategory:b("AdsDeliveryLoggerCategories").IMPRESSION,data:(O={},O[b("AdsInterfacesLoggerConfigColumns").OBJECTIVE]=N,O)},b("AdsInterfacesLogger").LOG_TYPE_PRIMARY_APP)}function y(N){var O;b("AdsInterfacesLogger").log({eventName:b("AdsDeliveryContainerLoggingEvents").LANDING_PAGE_VIEWS.OPTIMIZATION_GOAL.OPTION_NOT_SHOWN,eventCategory:b("AdsDeliveryLoggerCategories").IMPRESSION,data:(O={},O[b("AdsInterfacesLoggerConfigColumns").OBJECTIVE]=N,O)},b("AdsInterfacesLogger").LOG_TYPE_PRIMARY_APP)}function z(){b("AdsInterfacesLogger").log({eventName:b("AdsDeliveryContainerLoggingEvents").AYMT_TIPS.SEND_REQUEST,eventCategory:b("AdsDeliveryLoggerCategories").TRANSACTION},b("AdsInterfacesLogger").LOG_TYPE_PRIMARY_APP)}function A(){b("AdsInterfacesLogger").log({eventName:b("AdsDeliveryContainerLoggingEvents").AYMT_TIPS.RETURN_TIPS_MAP,eventCategory:b("AdsDeliveryLoggerCategories").TRANSACTION},b("AdsInterfacesLogger").LOG_TYPE_PRIMARY_APP)}function B(){b("AdsInterfacesLogger").log({eventName:b("AdsDeliveryContainerLoggingEvents").AYMT_TIPS.GET_TIP_SUCCESS,eventCategory:b("AdsDeliveryLoggerCategories").IMPRESSION},b("AdsInterfacesLogger").LOG_TYPE_PRIMARY_APP)}function C(){b("AdsInterfacesLogger").log({eventName:b("AdsDeliveryContainerLoggingEvents").AYMT_TIPS.TIP_IMPRESSION,eventCategory:b("AdsDeliveryLoggerCategories").IMPRESSION},b("AdsInterfacesLogger").LOG_TYPE_PRIMARY_APP)}function D(){b("AdsInterfacesLogger").log({eventName:b("AdsDeliveryContainerLoggingEvents").AYMT_TIPS.TIP_IMPRESSION_UPDATE,eventCategory:b("AdsDeliveryLoggerCategories").IMPRESSION},b("AdsInterfacesLogger").LOG_TYPE_PRIMARY_APP)}function E(){b("AdsInterfacesLogger").log({eventName:b("AdsDeliveryContainerLoggingEvents").AYMT_TIPS.TIP_XOUT,eventCategory:b("AdsDeliveryLoggerCategories").INTERACTION},b("AdsInterfacesLogger").LOG_TYPE_PRIMARY_APP)}function F(){b("AdsInterfacesLogger").log({eventName:b("AdsDeliveryContainerLoggingEvents").AYMT_TIPS.GET_TIP_ERROR.DONT_KNOW_WHICH_TIP,eventCategory:b("AdsDeliveryLoggerCategories").ERROR},b("AdsInterfacesLogger").LOG_TYPE_PRIMARY_APP)}function G(N){var O,P=N.isVisible,Q=N.oldStatus,R=N.newStatus;b("AdsInterfacesLogger").log({eventName:b("AdsDeliveryContainerLoggingEvents").LANDING_PAGE_VIEWS.PIXEL_WARNING.UPDATED,eventCategory:b("AdsDeliveryLoggerCategories").UPDATE,data:(O={},O[b("AdsInterfacesLoggerConfigColumns").VISIBLE]=P,O[b("AdsInterfacesLoggerConfigColumns").NEW_VALUE]=R,O[b("AdsInterfacesLoggerConfigColumns").OLD_VALUE]=Q,O)},b("AdsInterfacesLogger").LOG_TYPE_PRIMARY_APP)}function H(){b("AdsInterfacesLogger").log({eventName:b("AdsDeliveryContainerLoggingEvents").LANDING_PAGE_VIEWS.PIXEL_WARNING.SHOWN,eventCategory:b("AdsDeliveryLoggerCategories").IMPRESSION},b("AdsInterfacesLogger").LOG_TYPE_PRIMARY_APP)}function I(N){__p&&__p();var O,P,Q,R,S,T=N.type;switch(T){case b("AdsDeliveryActionType").CHANGE_BID_AMOUNT:b("AdsInterfacesLogger").log({eventName:T,eventCategory:b("AdsDeliveryLoggerCategories").INTERACTION,data:(O={},O[b("AdsInterfacesLoggerConfigColumns").NEW_VALUE]=d(N),O)},b("AdsInterfacesLogger").LOG_TYPE_PRIMARY_APP);break;case b("AdsDeliveryActionType").CHANGE_BUDGET_AMOUNT:var U={amount:e(N),budgetType:f(N)};b("AdsInterfacesLogger").log({eventName:T,eventCategory:b("AdsDeliveryLoggerCategories").INTERACTION,data:(P={},P[b("AdsInterfacesLoggerConfigColumns").NEW_VALUE]=JSON.stringify(U),P)},b("AdsInterfacesLogger").LOG_TYPE_SECONDARY_APP);break;case b("AdsDeliveryActionType").CHANGE_BUDGET_MODE:b("AdsInterfacesLogger").log({eventName:T,eventCategory:b("AdsDeliveryLoggerCategories").INTERACTION,data:(Q={},Q[b("AdsInterfacesLoggerConfigColumns").NEW_VALUE]=f(N),Q)},b("AdsInterfacesLogger").LOG_TYPE_SECONDARY_APP);break;case b("AdsDeliveryActionType").CHANGE_FULL_FUNNEL_EXPLORATION_MODE:var V=N.data,W=T;if(V.source)W+="."+V.source;b("AdsInterfacesLogger").log({eventName:W,eventCategory:b("AdsDeliveryLoggerCategories").INTERACTION,data:(R={},R[b("AdsInterfacesLoggerConfigColumns").NEW_VALUE]=b("AdsBulkValueUtils").getUniformValue(V.spec.full_funnel_exploration_mode),R)},b("AdsInterfacesLogger").LOG_TYPE_PRIMARY_APP);break;case b("AdsDeliveryActionType").CHANGE_OPTIMIZATION_GOAL:var X=N.data,Y=X.priorOptimizationGoal,Z=X.spec[b("AdsAPIAdCampaignFields").OPTIMIZATION_GOAL],$=b("AdsBulkValueUtils").getUniformValue(Z);b("AdsInterfacesLogger").log({eventName:T,eventCategory:b("AdsDeliveryLoggerCategories").INTERACTION,data:(S={},S[b("AdsInterfacesLoggerConfigColumns").NEW_VALUE]=$,S[b("AdsInterfacesLoggerConfigColumns").OLD_VALUE]=Y,S)},b("AdsInterfacesLogger").LOG_TYPE_PRIMARY_APP);break;case b("AdsDeliveryActionType").CHANGE_ADSET_SCHEDULE:case b("AdsDeliveryActionType").CHANGE_BILLING_EVENT:case b("AdsDeliveryActionType").CHANGE_CONVERSION_WINDOW:case b("AdsDeliveryActionType").CHANGE_CUSTOM_EVENT_TYPE:case b("AdsDeliveryActionType").CHANGE_DELIVERY_TYPE:case b("AdsDeliveryActionType").CHANGE_FREQUENCY_CONTROL_INTERVAL:case b("AdsDeliveryActionType").CHANGE_IS_AUTOBID:case b("AdsDeliveryActionType").CHANGE_IS_AVERAGE_PRICE_PACING:case b("AdsDeliveryActionType").CHANGE_SCHEDULE:case b("AdsDeliveryActionType").CHANGE_SCHEDULING_TYPE:case b("AdsDeliveryActionType").CHANGE_VIEW_CONVERSION_WINDOW:case b("AdsDeliveryActionType").SET_DEFAULT_SPEC:b("AdsInterfacesLogger").log({eventName:T,eventCategory:b("AdsDeliveryLoggerCategories").INTERACTION},b("AdsInterfacesLogger").LOG_TYPE_PRIMARY_APP)}}function J(N){var O;b("AdsInterfacesLogger").log({eventName:b("AdsDeliveryActionType").ERROR,eventCategory:b("AdsDeliveryLoggerCategories").INTERACTION,data:(O={},O[b("AdsInterfacesLoggerConfigColumns").ERROR_TYPE]=N,O)},b("AdsInterfacesLogger").LOG_TYPE_PRIMARY_APP)}function K(N){if(N===g)n()}function L(N){if(N===g)l()}function M(N){if(N===g)m()}c.exports={logAction:I,logAdsWebsiteURLPixelCheckInfoContainerShown:H,logAdsWebsiteURLPixelCheckInfoContainerUpdate:G,logAYMTTipsCollapsedSectionClosed:M,logAYMTTipsCollapsedSectionOpened:L,logAYMTTipsGetTipErrorDontKnowWhichTip:F,logAYMTTipsGetTipImpression:C,logAYMTTipsGetTipImpressionUpdate:D,logAYMTTipsGetTipSucccess:B,logAYMTTipsGetTipXout:E,logAYMTTipsHelp:K,logAYMTTipsSendRequest:z,logAYMTTipsReturnTipsMap:A,logError:J,logLandingPageViewDefaultNoticeClosed:k,logLandingPageViewDefaultNoticeShown:j,logLandingPageViewDefaultNoticeCollapsedSectionOpened:l,logLandingPageViewDefaultNoticeCollapsedSectionClosed:m,logLandingPageViewDefaultNoticeHelp:n,logLandingPageViewDefaultUnused:i,logLandingPageViewDefaultUsed:h,logLandingPageViewOldUpsellShown:s,logLandingPageViewOptimizationGoalOptionShown:x,logLandingPageViewOptimizationGoalOptionNotShown:y,logLandingPageViewUpsellAccepted:o,logLandingPageViewUpsellDismissed:p,logLandingPageViewUpsellHelpClicked:q,logLandingPageViewUpsellShown:r,logLandingPageViewUpsellAcceptedInConversionObjective:t,logLandingPageViewUpsellDismissedInConversionObjective:u,logLandingPageViewUpsellHelpClickedInConversionObjective:v,logLandingPageViewUpsellShownInConversionObjective:w}}),null);
__d("AdsSelectedAccountGetter",["AdsGetter"],(function a(b,c,d,e,f,g){"use strict";var h,i;h=babelHelpers.inherits(j,c("AdsGetter"));i=h&&h.prototype;j.getPath=function(){return"selected_account"};function j(){h.apply(this,arguments)}f.exports=j}),null);
__d("OffsiteCustomEventType",[],(function a(b,c,d,e,f,g){f.exports=Object.freeze({JOB_ALERT_SUBSCRIBE:"JOB_ALERT_SUBSCRIBE",JOB_APPLICATION_CREATE:"JOB_APPLICATION_CREATE",JOB_APPLICATION_FORM_IMPRESSION:"JOB_APPLICATION_FORM_IMPRESSION",JOB_BROWSER_IMPRESSION:"JOB_BROWSER_IMPRESSION",JOB_OPENING_DETAIL_VIEW_IMPRESSION:"JOB_OPENING_DETAIL_VIEW_IMPRESSION",ACTIVATE_APP:"ACTIVATE_APP",COMPLETE_REGISTRATION:"COMPLETE_REGISTRATION",CONTENT_VIEW:"CONTENT_VIEW",SEARCH:"SEARCH",RATE:"RATE",TUTORIAL_COMPLETION:"TUTORIAL_COMPLETION",CONTACT:"CONTACT",CUSTOMIZE_PRODUCT:"CUSTOMIZE_PRODUCT",DONATE:"DONATE",FIND_LOCATION:"FIND_LOCATION",SCHEDULE:"SCHEDULE",START_TRIAL:"START_TRIAL",SUBMIT_APPLICATION:"SUBMIT_APPLICATION",SUBSCRIBE:"SUBSCRIBE",TAKE_SURVEY:"TAKE_SURVEY",VISIT_LOCATION:"VISIT_LOCATION",ADD_TO_CART:"ADD_TO_CART",ADD_TO_WISHLIST:"ADD_TO_WISHLIST",INITIATED_CHECKOUT:"INITIATED_CHECKOUT",ADD_PAYMENT_INFO:"ADD_PAYMENT_INFO",PURCHASE:"PURCHASE",MESSAGE_TO_BUY:"MESSAGE_TO_BUY",LEAD:"LEAD",LEVEL_ACHIEVED:"LEVEL_ACHIEVED",ACHIEVEMENT_UNLOCKED:"ACHIEVEMENT_UNLOCKED",SPENT_CREDITS:"SPENT_CREDITS",FLOW_COMPLETE:"FLOW_COMPLETE",MESSAGING_ACCEPT:"MESSAGING_ACCEPT",MESSAGING_BLOCK:"MESSAGING_BLOCK",MESSAGING_DELETE_THREAD:"MESSAGING_DELETE_THREAD",MESSAGING_MARK_SPAM:"MESSAGING_MARK_SPAM",MESSAGING_REPLY:"MESSAGING_REPLY",MESSAGING_FIRST_REPLY:"MESSAGING_FIRST_REPLY",MESSAGING_OPEN_THREAD:"MESSAGING_OPEN_THREAD",MESSAGING_IGNORE_REQUEST:"MESSAGING_IGNORE_REQUEST",MESSAGING_PROMOTIONAL_OFF:"MESSAGING_PROMOTIONAL_OFF",MESSAGING_READ_RECEIPT:"MESSAGING_READ_RECEIPT",MESSAGING_DELIVERY_RECEIPT:"MESSAGING_DELIVERY_RECEIPT",MESSAGING_DELETE_MESSAGE:"MESSAGING_DELETE_MESSAGE",REFERRAL_SENDER_INVITES_SENT:"REFERRAL_SENDER_INVITES_SENT",REFERRAL_SENDER_MESSAGE_SENT:"REFERRAL_SENDER_MESSAGE_SENT",REFERRAL_RECEIVER_IMPRESSION:"REFERRAL_RECEIVER_IMPRESSION",REFERRAL_RECEIVER_CLICK:"REFERRAL_RECEIVER_CLICK",VIDEO_HOME_SELECTED:"VIDEO_HOME_SELECTED",VIDEO_HOME_WATCHLIST:"VIDEO_HOME_WATCHLIST",VIDEO_HOME_EXPLORE:"VIDEO_HOME_EXPLORE",VIDEO_HOME_PLAYER_START:"VIDEO_HOME_PLAYER_START",VIDEO_HOME_90_SECOND_VIEW:"VIDEO_HOME_90_SECOND_VIEW",OTHER:"OTHER"})}),null);
__d("AdsOptimizationStrings",["cx","fbt","AdsDeliveryBulkManualBidTypes","AdsDeliveryBulkManualBidTypeStrings","AdsDeliveryContainerLoggingUtils","AdsLearnMore.react","AdsOptimizationGoalStrings","React","SUIText.react","gkx"],(function a(b,c,d,e,f,g,h,i){"use strict";__p&&__p();var j="1619591734742116",k="146070805942156",l="1730527393892983",m="1754368491258883",n="417293491972212",o="355670007911605",p="235457266642587",q=c("React").createElement(c("AdsLearnMore.react"),{cmsID:l,isStandalone:true}),r={adsDeliveryTypeHelpText:i._("{options}{standard delivery}{accelerated delivery}",[i.param("options",i._("You can choose standard or accelerated delivery.")),i.param("standard delivery",c("React").createElement("div",{className:"_2pid"},i._("Standard delivery is recommended and the preferred option for most advertisers."))),i.param("accelerated delivery",c("React").createElement("div",{className:"_2pid"},i._("Accelerated delivery can be useful for promoting time-sensitive events and quickly reaching a target audience. Manual bid pricing is required for accelerated delivery.")))]),adsDeliveryTypeLabel:i._("Delivery Type"),appEventsFieldTitle:i._("Select App Event"),appEventsHelpText:i._("Select any of the standard app events that you currently pass to Facebook through the SDK. {learn more}",[i.param("learn more",c("React").createElement(c("AdsLearnMore.react"),{cmsID:p}))]),appEventsTypeaheadPlaceholder:i._("Choose an app event"),appEventsTypeaheadError:i._("Please choose an app event"),boostIncreaseForAppOpenText:i._("Enable boost for users likely to perform app opens"),boostIncreaseForAppOpenExplanation:i._("Set an increase to your max bid for users more likely to open your app."),boostIncreaseInputExplanation:i._("This will increase the initial bid max, only for users likely to perform app opens."),customEventsFieldTitle:i._("Event Type"),customEventsHelpText:i._("Choose the event type you'd like to optimize for."),customEventsPlaceholder:i._("Please select an event"),clickConversionWindowSubheadText:i._("After clicking ad"),viewConversionWindowSubheadText:i._("After clicking or viewing ad"),oneDayClickConversionWindowOptionLabel:i._("{one day click conversion window} day after clicking",[i.param("one day click conversion window",1)]),sevenDayClickConversionWindowOptionLabel:i._("{seven day click conversion window} days after clicking",[i.param("seven day click conversion window",7)]),twentyEightDayClickConversionWindowOptionLabel:i._("{twenty-eight day click conversion window} days after clicking",[i.param("twenty-eight day click conversion window",28)]),oneDayClickOrViewConversionWindowOptionLabel:i._("{one day click or view conversion window} day after clicking or viewing",[i.param("one day click or view conversion window",1)]),sevenDayClickOrOneDayViewConversionWindowOptionLabel:i._("{seven day click conversion window} days after clicking or {one day view conversion window} day after viewing",[i.param("seven day click conversion window",7),i.param("one day view conversion window",1)]),sevenDayClickOrViewConversionWindowOptionLabel:i._("{seven day click conversion window} days after clicking or viewing",[i.param("seven day click conversion window",7)]),twentyEightDayClickOrOneDayViewConversionWindowOptionLabel:i._("{twenty-eight day click conversion window} days after clicking or {one day view conversion window} day after viewing",[i.param("twenty-eight day click conversion window",28),i.param("one day view conversion window",1)]),oneDayClickConversionWindowOptionShortLabel:i._("{one day click conversion window short} day click",[i.param("one day click conversion window short",1)]),sevenDayClickConversionWindowOptionShortLabel:i._("{seven day click conversion window short} days click",[i.param("seven day click conversion window short",7)]),twentyEightDayClickConversionWindowOptionShortLabel:i._("{twenty-eight day click conversion window short} days click",[i.param("twenty-eight day click conversion window short",28)]),oneDayClickOrViewConversionWindowOptionShortLabel:i._("{one day click or view conversion window short} day click or view",[i.param("one day click or view conversion window short",1)]),sevenDayClickOrOneDayViewConversionWindowOptionShortLabel:i._("{seven day click conversion window short} days click or {one day view conversion window short} day view",[i.param("seven day click conversion window short",7),i.param("one day view conversion window short",1)]),twentyEightDayClickOrOneDayViewConversionWindowOptionShortLabel:i._("{twenty-eight day click conversion window short} days click or {one day view conversion window short} day view",[i.param("twenty-eight day click conversion window short",28),i.param("one day view conversion window short",1)]),costLimitString:i._("Don't bid more than:"),maxBidSelectionString:i._("Set a bid cap"),mixedMaxBidSelectionString:i._("Set a bid cap (mixed)"),maxBidSelectionStringForCampaignGroupBudget:i._("Set a bid cap"),autoMaxBidDescriptionUsingCampaignGoupBudget:i._("Get the most results for your budget, across ad sets."),averageCostDescriptionUsingCampaignGroupBudget:i._("Maintain a stable average cost per result for each ad set as you raise budget."),adSetBiddingStrategySetBidCapStringForMaxbid:i._("Set a bid cap for this ad set:"),adSetBiddingStrategySetBidStringForAverageCost:i._("Set a target cost for this ad set:"),getBidAmountInfoInAdSetBidStrategy:function u(v){return i._("per {result type}",[i.param("result type",v)])},getAverageCostOptionBestPractice:function u(){return i._("Stable average cost, even if you raise your budget.")},getAverageCostOptionDescription:function u(){return i._("Tell us your target cost, based on your optimization for ad delivery, and we'll bid to meet that cost on average. Some results may cost more or less, but on average costs will be stable.")},getAverageCostDescriptionForCampaignGroupBudget:function u(){return i._("You'll set the {=average cost per result} within each ad set.",[i.param("=average cost per result",c("React").createElement("span",{style:{fontWeight:"bold"}},i._("average cost per result")))])},getMaxBidDescriptionForCampaignGroupBudget:function u(){return i._("You'll set the {=bid cap} within each ad set.",[i.param("=bid cap",c("React").createElement("span",{style:{fontWeight:"bold"}},i._("bid cap")))])},getAverageCostOptionTradeoff:function u(){return i._("You may not get the lowest cost, because we'll bid to stay around your target (regardless of your budget).")},getAverageCostOptionLabel:function u(v){if(v)return i._("Target Cost");return i._("Target cost")},getBidAmountHelpText:function u(){return i._("Your bid amount determines how effectively we can optimize your ad delivery. Your bid competes in an auction with other advertisers, who also want to reach the same target audience. {learn more}",[i.param("learn more",c("React").createElement(c("AdsLearnMore.react"),{cmsID:j}))])},getBidAmountLabel:function u(){return i._("Bid Amount")},getBidStrategyLabel:function u(){return i._("Bid Strategy")},getBillingEventHelpText:function u(){return i._("The selected option determines when you pay for your ad. For many optimization goals, you'll pay each time your ad is served (known as an impression). {explanation about valid billing events} {explanation about the recomended billin event}{learn more}",[i.param("explanation about valid billing events",c("React").createElement("div",null,i._("Some optimization goals also let you choose between impressions and actions (such as link clicks or 10-second video views)."))),i.param("explanation about the recomended billin event",c("React").createElement("div",null,i._("The recommended option shown here balances efficient spending of your budget to achieve your objective with easy understanding of your results."))),i.param("learn more",c("React").createElement(c("AdsLearnMore.react"),{cmsID:k,isStandalone:true}))])},getBillingEventLabel:function u(){return i._("When You Get Charged")},getMaximumBidOptionShortLabel:function u(v){if(v)return i._("Bid cap");return i._("Max")},getAverageBidOptionShortLabel:function u(v){if(v)return i._("Target Cost");return i._("Avg")},getOneDayConversionWindowOptionLabel:function u(){return i._("{one day attribution window} day",[i.param("one day attribution window",1)])},getOptimizedCostOptionLabel:function u(v){if(v)return i._("Lowest Cost");return i._("Lowest cost")},getOptimizedCostOptionWithBidCapLabel:function u(v){if(v)return i._("Lowest Cost with Bid Cap");return i._("Lowest cost with bid cap")},getOptimizedCostUnderdeliveryNotice:function u(v){return i._("We won't bid more than this amount for any individual {optimization goal for result}. You may have trouble spending your budget if this amount is too low.",[i.param("optimization goal for result",v)])},getAverageCostRangeStringForReachEstimate:function u(v){return i._("Cost per {optimization goal}",[i.param("optimization goal",v)])},getSevenDayConversionWindowOptionLabel:function u(){return i._("{seven day attribution window} days",[i.param("seven day attribution window",7)])},getMixedValuesConversionWindowOptionLabel:function u(){return i._("Mixed Values")},getDeliveryTypeHelpTextForTradeoffs:function u(){return i._("{standard delivery}{accelerated delivery}",[i.param("standard delivery",c("React").createElement("div",null,i._("Standard delivery uses pacing to control your spend. Pacing keeps you from spending your budget too quickly and is the recommended and preferred option for most advertisers."))),i.param("accelerated delivery",c("React").createElement("div",{className:"_2pid"},i._("Accelerated delivery can be useful for time-sensitive promotions. You need to set a bid cap to use accelerated delivery. {learn more}",[i.param("learn more",c("React").createElement(c("AdsLearnMore.react"),{cmsID:m}))])))])},getOptimizationGoalHelpText:function u(){if(c("gkx")("AT7c9fBoorq4GXT2PhHL4157kWScP4DnWG2VL7HjxCPevTo9fImuTGieOOABkGeynpbfhALKWvRkUDFZYR340KfwmsHPvCgnhXzpaR2tGC9p4w"))return i._("Choose how you want us to deliver ads to people based on what you're trying to achieve. We'll show ads to the people most likely to get you the outcome you're optimizing for. {optimization goal usecase}{learn more}",[i.param("optimization goal usecase",c("React").createElement("div",null,i._("Ex: If you choose to optimize for link clicks, we'll deliver your ad to the people likely to click your link."))),i.param("learn more",c("React").createElement(c("AdsLearnMore.react"),{cmsID:o,isStandalone:true}))]);return i._("Choose how you want us to deliver ads to people based on what you're trying to achieve. Your selection affects who sees your ads to get you the best results for the lowest cost. {optimization goal usecase example}{learn more}",[i.param("optimization goal usecase example",c("React").createElement("div",null,i._("Ex: If you choose to optimize for link clicks, we'll deliver your ad to the right people to help you get the most clicks on the link in your ad for the lowest cost."))),i.param("learn more",c("React").createElement(c("AdsLearnMore.react"),{cmsID:o,isStandalone:true}))])},getBiddingHelpText:function u(v,w){var x={fontWeight:"bold"};return i._("Use {average bid label} to set an ideal average cost across all {result type plural}. Use {maximum bid label} if you want to set an ideal maximum for each {result type singular}.",[i.param("average bid label",c("React").createElement("span",{style:x},c("AdsDeliveryBulkManualBidTypeStrings")[c("AdsDeliveryBulkManualBidTypes").AVERAGE])),i.param("result type plural",c("AdsOptimizationGoalStrings").getResultTypeString(v,"plural",w)),i.param("maximum bid label",c("React").createElement("span",{style:x},c("AdsDeliveryBulkManualBidTypeStrings")[c("AdsDeliveryBulkManualBidTypes").MAXIMUM])),i.param("result type singular",c("AdsOptimizationGoalStrings").getResultTypeString(v,"singular",w))])},getOptimizationGoalLabel:function u(){return i._("Optimization for Ad Delivery")},getConversionWindowLabel:function u(){return i._("Conversion window")},getConversionWindowHelpText:function u(){return i._("A conversion window is the length of time between someone clicking or viewing your ad and completing a valuable action you've defined as a conversion event. The window you choose here lets us know whether to focus on {one day attribution window} day or {seven days attribution window} days worth of conversion data when determining who should see your ad.",[i.param("one day attribution window",1),i.param("seven days attribution window",7)])},getConversionWindowNoEditHelpText:function u(){return i._("{explain what is conversion window}{learn more}",[i.param("explain what is conversion window",c("React").createElement("div",null,i._("A conversion window is the length of time between someone clicking or viewing your ad and completing a valuable action you've defined as a conversion event. The window you select here lets us know whether to focus on {one day attribution window} day or {seven days attribution window} days worth of conversion data when determining who should see your ad. Your conversion window can't be changed once your ad set has been created. To use a different conversion window, you'll need to create a new ad set.",[i.param("one day attribution window",1),i.param("seven days attribution window",7)]))),i.param("learn more",q)])},getConversionWindowEditableHelpText:function u(){return i._("{explain what is conversion window}{learn more}",[i.param("explain what is conversion window",c("React").createElement("div",null,i._("A conversion window is the length of time between someone clicking or viewing your ad and completing a valuable action you've defined as a conversion event. The window you select here lets us know whether to focus on {one day attribution window} day or {seven days attribution window} days worth of conversion data when determining who should see your ad.",[i.param("one day attribution window",1),i.param("seven days attribution window",7)]))),i.param("learn more",q)])},getConversionWindowHelpTextForOffsiteConversion:function u(){return i._("{explain what is conversion window}{learn more}",[i.param("explain what is conversion window",c("React").createElement("div",null,i._("Select the amount of time it typically takes for someone to complete a valuable action (conversion) after clicking or viewing your ad. We use data generated using this timeframe to optimize ad delivery. For example, if your conversion window is {one day attribution window} day, we'll optimize by using data from conversions that happen within {one day attribution window} day of someone interacting with your ad.",[i.param("one day attribution window",1)]))),i.param("learn more",q)])},getConversionWindowHelpTextForMobileAppEvents:function u(){return i._("{explain what is conversion window}{learn more}",[i.param("explain what is conversion window",c("React").createElement("div",null,i._("Select the amount of time it typically takes for someone to complete an app event (conversion) after clicking or viewing your ad. We use data generated using this timeframe to optimize ad delivery. For example, if your conversion window is {one day attribution window} day, we'll optimize by using data from conversions that happen within {one day attribution window} day of someone interacting with your ad.",[i.param("one day attribution window",1)]))),i.param("learn more",q)])},getConversionWindowHelpTextForMobileAppInstalls:function u(){return i._("{explain what is conversion window}{learn more}",[i.param("explain what is conversion window",c("React").createElement("div",null,i._("Select the amount of time it typically takes for someone to complete an app installation (conversion) after clicking or viewing your ad. We use data generated using this timeframe to optimize ad delivery. For example, if your conversion window is {one day attribution window} day, we'll optimize by using data from conversions that happen within {one day attribution window} day of someone interacting with your ad.",[i.param("one day attribution window",1)]))),i.param("learn more",q)])},getDayPartingLabel:function u(){return i._("Ad Scheduling")},getDayPartingHelpText:function u(){return i._("You can schedule your ads for specific hours and days of the week.")},getOptimizedCostOptionDescription:function u(){return i._("We'll get you the lowest cost results, based on your optimization for ad delivery, and bid more as needed to spend your budget. You can set a bid cap if you want to make sure we don't bid more than a certain amount for any result.")},getOptimizedCostOptionBestPractice:function u(){return i._("Spending your budget efficiently.")},getOptimizedCostOptionTradeoff:function u(){return i._("Cost may rise as you spend.")},getLandingPageViewsUpsellV2Title:function u(){return i._("Try optimizing for landing page views")},getLandingPageViewsUpsellV3Title:function u(){return r.getLPVIncreaseWebsiteViews()},getLPVIncreaseWebsiteViews:function u(){return i._("Increase Website Views")},getLandingPageViewsUpsellV3Description:function u(){return i._("Optimize for landing page views to find more people in your target audiences who'll click on your ad and wait for the landing page to load. This can help get more page views compared to optimizing for link clicks.")},getSwitchToLandingPageViewsCTALabel:function u(){return i._("Switch to Landing Page Views")},getBidstrategyHelpText:function u(){return i._("Each bid strategy is suited to specific business goals and comes with tradeoffs. If you care most about cost efficiency, the lowest cost bid strategy is best, but it may be harder to get stable costs as you spend. However, if you care most about cost stability, the target cost bid strategy is best, but may be less cost-efficient. Note that the bid strategies available vary based on your optimization for ad delivery. {learn more}",[i.param("learn more",c("React").createElement(c("AdsLearnMore.react"),{cmsID:j,isStandalone:true}))])},getLPVDefaultMessageTitle:function u(){return r.getLPVIncreaseWebsiteViews()},getLPVDefaultMessageContentOption1Description:function u(){return i._("We recommend using landing page views as your optimization event because it'll show your ad to more people who'll wait for the landing page to load. This can help get more page views compared to optimizing for link clicks.")},getLPVDefaultMessageContentOption1:function u(){return i._("{Info message when default is landing page views} {learn more}",[i.param("Info message when default is landing page views",r.getLPVDefaultMessageContentOption1Description()),i.param("learn more",c("React").createElement(c("AdsLearnMore.react"),{cmsID:n}))])},getLPVDefaultMessageContentOption3:function u(){return i._("We recommend using landing page views as your optimization event because it can help get more page views compared to optimizing for link clicks.")},getLPVDefaultMessageSubContentOption3:function u(){return i._("When you optimize for landing page views, you're optimizing for one step further down the funnel than link clicks. Link click optimization finds people who are likely to click on your ad. Landing page views optimization finds people who are likely to click on your ad and wait for the landing page to load. {learn more}",[i.param("learn more",c("React").createElement(c("AdsLearnMore.react"),{cmsID:n,onClick:c("AdsDeliveryContainerLoggingUtils").logLandingPageViewDefaultNoticeHelp}))])},getLPVDefaultMessageSubHeadingOption3:function u(){return i._("How It Works")},getLandingPageViewsDuplicationTipTitle:function u(){return r.getLPVIncreaseWebsiteViews()},getLandingPageViewsDuplicationToggleLabel:function u(){return i._("Optimize for landing page views")},getLandingPageViewsDuplicationUpsellDescription:function u(v,w,x){if(!c("gkx")("AT4rqOZUerTTKx22fmMQL6ic32o67N18j76X41H3ctEPZm5EiokUJ5VztJEGGGZY8CXw5xz-cmox1Th_tYwvdzVsGcsbL2vToFj60lsM-tEDlA"))return r.getLandingPageViewsUpsellV3Description();return i._("Optimize {ad set(s)} for landing page views to find more people in your target audiences who'll click on your ad and wait for the landing page to load. This can help get more page views compared to optimizing for link clicks. {reset billing event to impression message}",[i.param("ad set(s)",t(v,x)),i.param("reset billing event to impression message",s(v,w))])},getLandingPageViewsDuplicationDefaultOptInDescription:function u(v,w,x){if(!c("gkx")("AT4rqOZUerTTKx22fmMQL6ic32o67N18j76X41H3ctEPZm5EiokUJ5VztJEGGGZY8CXw5xz-cmox1Th_tYwvdzVsGcsbL2vToFj60lsM-tEDlA"))return r.getLPVDefaultMessageContentOption1Description();return i._("We recommend using landing page views as your optimization event for {ad set(s)} because it'll show your ads to more people who'll wait for the landing page to load. This can help get more page views compared to optimizing for link clicks. {reset billing event to impression message}",[i.param("ad set(s)",t(v,x)),i.param("reset billing event to impression message",s(v,w))])},getPostEngagmentDuplicationOptimizationTipTitle:function u(){return i._("Increase Landing Page Traffic")},getPostEngagmentDuplicationOptimizationTipDescription:function u(){return i._("Optimize for landing page views in the traffic objective to drive more people to your ad's destination URL.")},getPostEngagmentDuplicationOptimizationTipToggleLabel:function u(){return i._("Optimize for landing page views")},getMessagesMessengerOptimizationTipTitle:function u(){return i._("Get More Messages")},getMessagesMessengerOptimizationTipDescription:function u(){return i._("Drive more people to respond to your ad with replies optimization in the messages objective.")},getMessagesMessengerOptimizationTipToggleLabel:function u(){return i._("Optimize for replies")},getTargetCostMessageWithValue:function u(v,w){return i._("Your current cost per {current optimization goal} is {current cost per result}.",[i.param("current optimization goal",w),i.param("current cost per result",v)])},getGenericTargetCostMessage:function u(v){return i._("Based on a {conversion window} conversion window.",[i.param("conversion window",c("React").createElement(c("SUIText.react"),{shade:"light",size:"meta1"},v))])},getTargetCostMessageWithSigEditTime:function u(v,w){return i._("Based on a {conversion window} conversion window, since your last significant edit ({last significant date time}).",[i.param("conversion window",c("React").createElement(c("SUIText.react"),{shade:"light",size:"meta1"},v)),i.param("last significant date time",w)])},getTargetCostMessageWithoutLastSignificantEdit:function u(v,w,x){return i._("Your current cost per {current optimization goal setting} based on a {original conversion window} conversion window is {cost per optimization goal}.",[i.param("current optimization goal setting",w),i.param("original conversion window",c("React").createElement(c("SUIText.react"),{shade:"light",size:"meta1"},v)),i.param("cost per optimization goal",x)])},getLandingPageViewsCMSID:function u(){return n},getLandingPageViewDisableOfferTooltip:function u(){return i._("Offers are not available with landing page view optimization.")}};function s(u,v){if(!v)return null;return i._("Changing the optimization event could change {ad set(s)} to be charged on impressions.",[i.param("ad set(s)",t(u,true))])}function t(u,v){if(!u)return i._("your ad set");if(v)return i._("your ad sets");return i._("some of your ad sets")}f.exports=r}),null);
__d("AdsLPVDefaultNotice.react",["cx","ix","AdsGuidanceCollapsedNux.react","AdsOptimizationStrings","BUIAdoptionCloseButton.react","Image.react","React","SUIBusinessTheme","SUIText.react"],(function a(b,c,d,e,f,g,h,i){"use strict";__p&&__p();var j,k,l=Object.freeze({VERSION_1:1,VERSION_2:2,VERSION_3:3});j=babelHelpers.inherits(m,c("React").Component);k=j&&j.prototype;function m(n){__p&&__p();k.constructor.call(this,n);this.$AdsLPVDefaultNotice4=function(){this.setState({isClosed:true});this.props.onClose()}.bind(this);this.$AdsLPVDefaultNotice5=function(o){if(!o){if(this.props.onCollapsedSectionOpened)this.props.onCollapsedSectionOpened()}else if(this.props.onCollapsedSectionClosed)this.props.onCollapsedSectionClosed()}.bind(this);this.state={isClosed:false}}m.prototype.componentDidMount=function(){this.props.onShown()};m.prototype.render=function(){if(this.state.isClosed)return null;switch(this.props.version){case 1:return this.$AdsLPVDefaultNotice1(i("369420"),c("AdsOptimizationStrings").getLPVDefaultMessageContentOption1());case 2:return this.$AdsLPVDefaultNotice1(i("391018"),c("AdsOptimizationStrings").getLPVDefaultMessageContentOption1());default:return this.$AdsLPVDefaultNotice2(i("369420"),c("AdsOptimizationStrings").getLPVDefaultMessageContentOption3(),c("AdsOptimizationStrings").getLPVDefaultMessageSubHeadingOption3(),c("AdsOptimizationStrings").getLPVDefaultMessageSubContentOption3())}};m.prototype.$AdsLPVDefaultNotice1=function(n,o){var p=this.$AdsLPVDefaultNotice3(n,o);return c("React").createElement("div",{className:"_43lz _635z"},c("React").createElement("div",{className:"_43l-"},p,c("React").createElement(c("BUIAdoptionCloseButton.react"),{className_DEPRECATED:"_43mk",shade:"dark",onClick:this.$AdsLPVDefaultNotice4})))};m.prototype.$AdsLPVDefaultNotice3=function(n,o){return c("React").createElement("div",null,c("React").createElement("div",{className:"_43ly"},c("React").createElement(c("Image.react"),{className:"_3-9b _3-90 _3-8y",src:n})),c("React").createElement("div",{className:"_43lp"},c("React").createElement(c("SUIText.react"),{className:"_2pim",display:"block",shade:"medium",theme:c("SUIBusinessTheme"),weight:"bold"},c("AdsOptimizationStrings").getLPVDefaultMessageTitle()),c("React").createElement(c("SUIText.react"),{className:"_2pim",display:"block",shade:"medium",size:"meta1",theme:c("SUIBusinessTheme")},o)))};m.prototype.$AdsLPVDefaultNotice2=function(n,o,p,q){var r=this.$AdsLPVDefaultNotice3(n,o),s=c("React").createElement("div",{className:"_2_08"},q);return c("React").createElement("div",{className:"_635z"},c("React").createElement(c("AdsGuidanceCollapsedNux.react"),{collapsedBody:s,collapsedHeader:p,mainSection:r,onClose:this.$AdsLPVDefaultNotice4,onCollapsedSectionClick:this.$AdsLPVDefaultNotice5}))};m.VERSIONS=l;f.exports=m}),null);
__d("AdsLandingPageViewsOptimizationGoalLearnMore.react",["cx","fbt","AdsHelpTrayUIActions","AdsOptimizationStrings","Link.react","React"],(function a(b,c,d,e,f,g,h,i){"use strict";__p&&__p();var j,k;j=babelHelpers.inherits(l,c("React").PureComponent);k=j&&j.prototype;function l(){var m,n;for(var o=arguments.length,p=Array(o),q=0;q<o;q++)p[q]=arguments[q];return n=(m=k.constructor).call.apply(m,[this].concat(p)),this.$AdsLandingPageViewsOptimizationGoalLearnMore1=function(){c("AdsHelpTrayUIActions").pushCMSIDToHistory(c("AdsOptimizationStrings").getLandingPageViewsCMSID());var r=this.props.onClick;if(r)r()}.bind(this),n}l.prototype.render=function(){return c("React").createElement(c("Link.react"),{className:"_2b30",target:"_blank",onClick:this.$AdsLandingPageViewsOptimizationGoalLearnMore1},i._("Learn more."))};f.exports=l}),null);
__d("SUIMessageBox.react",["cx","ImageBlock.react","React","SUICloseButton.react","SUIComponent","SUITheme"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i,j,k=c("React").PropTypes,l={hasShadow:true,shouldFadeIn:true,type:"filled"};i=babelHelpers.inherits(m,c("SUIComponent"));j=i&&i.prototype;m.prototype.render=function(){var n=c("SUITheme").get(this).SUIMessageBox,o=this.props,p=o.children,q=o.icon,r=o.onClose,s=!r?null:c("React").createElement("div",{className:"_15-z"},c("React").createElement(c("SUICloseButton.react"),{onClick:r,shade:"dark"})),t=q?c("React").createElement(c("ImageBlock.react"),{spacing:"medium"},q,c("React").createElement(c("React").Fragment,null,p)):p;return c("React").createElement("div",{className:"_15--"+(this.props.hasShadow?" _11v8":"")+(s!==null?" _15_0":"")+(this.props.shouldFadeIn?" _15_1":""),style:babelHelpers["extends"]({},n[this.props.type],this.props.style)},t,s)};function m(){i.apply(this,arguments)}m.propTypes={hasShadow:k.bool,icon:k.element,onClose:k.func,shouldFadeIn:k.bool,style:k.object,theme:k.instanceOf(c("SUITheme")),type:k.oneOf(["filled","outline"])};m.defaultProps=l;f.exports=m}),null);
__d("AdsOptimizationGoalFieldLandingPageViewsUpsellV3.react",["cx","fbt","ix","AdsDeliveryContainerLoggingUtils","AdsHelpTrayUIActions","AdsLandingPageViewsOptimizationGoalLearnMore.react","AdsOptimizationStrings","Image.react","ImageBlock.react","LeftRight.react","React","SUIBusinessTheme","SUIButton.react","SUIMessageBox.react","SUIText.react"],(function a(b,c,d,e,f,g,h,i,j){"use strict";__p&&__p();var k,l;k=babelHelpers.inherits(m,c("React").Component);l=k&&k.prototype;function m(){var o,p;for(var q=arguments.length,r=Array(q),s=0;s<q;s++)r[s]=arguments[s];return p=(o=l.constructor).call.apply(o,[this].concat(r)),this.$AdsOptimizationGoalFieldLandingPageViewsUpsellV31=function(){c("AdsDeliveryContainerLoggingUtils").logLandingPageViewUpsellDismissed();this.props.onClose()}.bind(this),this.$AdsOptimizationGoalFieldLandingPageViewsUpsellV34=function(){c("AdsDeliveryContainerLoggingUtils").logLandingPageViewUpsellAccepted();this.props.onClick()}.bind(this),p}m.prototype.componentDidMount=function(){c("AdsDeliveryContainerLoggingUtils").logLandingPageViewUpsellShown()};m.prototype.render=function(){return c("React").createElement("div",{className:"_63hp"},c("React").createElement(c("SUIMessageBox.react"),{hasShadow:false,style:{paddingRight:12},theme:c("SUIBusinessTheme"),type:"outline",onClose:this.$AdsOptimizationGoalFieldLandingPageViewsUpsellV31},c("React").createElement(c("ImageBlock.react"),{className:"_63hq"},c("React").createElement(c("Image.react"),{className:"_63hr",src:j("369420")}),c("React").createElement("div",null,c("React").createElement(c("SUIText.react"),{className:"_63hs"},this.$AdsOptimizationGoalFieldLandingPageViewsUpsellV32()),c("React").createElement("div",{className:"_63ht"},this.$AdsOptimizationGoalFieldLandingPageViewsUpsellV33()),c("React").createElement(n,{onClick:this.$AdsOptimizationGoalFieldLandingPageViewsUpsellV34})))))};m.prototype.$AdsOptimizationGoalFieldLandingPageViewsUpsellV32=function(){return c("AdsOptimizationStrings").getLandingPageViewsUpsellV3Title()};m.prototype.$AdsOptimizationGoalFieldLandingPageViewsUpsellV35=function(){c("AdsDeliveryContainerLoggingUtils").logLandingPageViewUpsellHelpClicked();c("AdsHelpTrayUIActions").pushCMSIDToHistory("417293491972212")};m.prototype.$AdsOptimizationGoalFieldLandingPageViewsUpsellV33=function(){return i._("{landing page view upsell description} {learn more}",[i.param("landing page view upsell description",c("AdsOptimizationStrings").getLandingPageViewsUpsellV3Description()),i.param("learn more",c("React").createElement(c("AdsLandingPageViewsOptimizationGoalLearnMore.react"),{onClick:this.$AdsOptimizationGoalFieldLandingPageViewsUpsellV35}))])};function n(o){var p=o.onClick;return c("React").createElement(c("LeftRight.react"),null,c("React").createElement("div",null),c("React").createElement(c("SUIButton.react"),{height:"short",label:c("AdsOptimizationStrings").getSwitchToLandingPageViewsCTALabel(),style:{marginTop:"4px"},theme:c("SUIBusinessTheme"),use:"confirm",onClick:p}))}f.exports=m}),null);
__d("AdsFrequencyControlEditorUtils",["fbt","AdsAccountCapabilities","AdsAccountUtils","AdsAPIObjectives","AdsAPIOptimizationGoals","FrequencyControlEvents","immutable"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i,j,k=1,l=7,m=1,n=90;i=babelHelpers.inherits(o,c("immutable").Record({event:"",interval_days:0,max_frequency:0}));j=i&&i.prototype;function o(){i.apply(this,arguments)}function p(s){if(s===c("AdsAPIOptimizationGoals").BRAND_AWARENESS||s===c("AdsAPIOptimizationGoals").AD_RECALL_LIFT)return[{event:c("FrequencyControlEvents").IMPRESSIONS,interval_days:5,max_frequency:2}];return[{event:c("FrequencyControlEvents").IMPRESSIONS,interval_days:l,max_frequency:k}]}function q(s,t){var u=s instanceof c("immutable").List?s:c("immutable").fromJS(s);if(!s||!u.count())return null;var v=null;u.forEach(function(w){v=w.get(t)});return v}var r={DEFAULT_MAX_FREQUENCY:k,DEFAULT_INTERVAL:l,MIN_INTERVAL_DAYS:m,MAX_INTERVAL_DAYS:n,isCompatibleWithFrequencyControl:function s(t,u,v){switch(t){case c("AdsAPIObjectives").REACH:return u===c("AdsAPIOptimizationGoals").REACH;case c("AdsAPIObjectives").BRAND_AWARENESS:return u===c("AdsAPIOptimizationGoals").REACH||c("AdsAccountUtils").hasCapability(v,c("AdsAccountCapabilities").CAN_USE_BRAND_EXTENDED_FREQUENCY_CONTROLS);case c("AdsAPIObjectives").POST_ENGAGEMENT:return u===c("AdsAPIOptimizationGoals").POST_ENGAGEMENT&&c("AdsAccountUtils").hasCapability(v,c("AdsAccountCapabilities").CAN_USE_PPE_EXTENDED_FREQUENCY_CONTROLS)}return false},computeDefaultFrequencyControlSpecs:function s(t,u,v){if(!r.isCompatibleWithFrequencyControl(t,u,v))return null;return p(u)},getFrequencyControlSpecs:function s(t,u){return[{event:c("FrequencyControlEvents").IMPRESSIONS,interval_days:t||l,max_frequency:u||k}]},getFrequencyLabel:function s(){return h._("Frequency Cap")},getFrequencyTooltipHelpText:function s(t){if(c("AdsAccountUtils").hasCapability(t,c("AdsAccountCapabilities").CAN_USE_BRAND_EXTENDED_FREQUENCY_CONTROLS))return h._("Keep people from seeing your ad too often.");return h._("Keep people from seeing your ad too often. Enter the minimum number of days that should pass before someone sees your ad again.")},getUniformFrequencyInterval:function s(t){return q(t,"interval_days")},getUniformMaxFrequency:function s(t){return q(t,"max_frequency")},parseRawIntervalDays:function s(t){var u=parseInt(t,10);if(isNaN(u)||!isFinite(u)||String(u)!==t)return null;return u}};f.exports=r}),null);
__d("AdCampaignDuplicationCallsite",[],(function a(b,c,d,e,f,g){f.exports=Object.freeze({BULK_CAMPAIGN_GENERAL_DUPLICATION:"bulk_campaign_general_duplication",NONE:"none",SINGLE_CAMPAIGN_GENERAL_DUPLICATION:"single_campaign_general_duplication",SINGLE_CAMPAIGN_GROUP_GENERAL_DUPLICATION:"single_campaign_group_general_duplication"})}),null);
__d("AdsDuplicationOptimizationTipTypes",[],(function a(b,c,d,e,f,g){"use strict";var h=Object.freeze({DEFAULT_OPT_IN:"DEFAULT_OPT_IN",NONE_TIP:"NONE_TIP",UPSELL:"UPSELL"});f.exports=h}),null);
__d("AdsDuplicationOptimizationTypes",[],(function a(b,c,d,e,f,g){f.exports=Object.freeze({CONVERSIONS_LANDING_PAGE_VIEWS:"conversions_landing_page_views",LINK_CLICKS_LANDING_PAGE_VIEWS:"link_clicks_landing_page_views",MESSAGES_MESSENGER_DESTINATION:"messages_messenger_destination",NONE:"none",PAGE_POST_ENGAGEMENT:"page_post_engagement"})}),null);
__d("AdsDuplicationOptimizationTipRecord",["AdCampaignDuplicationCallsite","AdsDuplicationOptimizationTipTypes","AdsDuplicationOptimizationTypes","immutable"],(function a(b,c,d,e,f,g){"use strict";var h,i;h=babelHelpers.inherits(j,c("immutable").Record({callsite:c("AdCampaignDuplicationCallsite").NONE,optimizationType:c("AdsDuplicationOptimizationTypes").NONE,tipType:c("AdsDuplicationOptimizationTipTypes").NONE_TIP}));i=h&&h.prototype;function j(){h.apply(this,arguments)}f.exports=j}),null);
__d("AdsDuplicationOptimizationTipsLoggingUtils",["invariant","AdObjectLevels","AdsDeliveryContainerLoggingEvents","AdsDeliveryLoggerCategories","AdsDuplicationOptimizationTipRecord","AdsDuplicationOptimizationTipTypes","AdsInterfacesLogger","nullthrows"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();function i(y){v(c("AdsDeliveryContainerLoggingEvents").LANDING_PAGE_VIEWS.DUPLICATION_TIP.SHOWN,y,c("AdsDeliveryLoggerCategories").IMPRESSION)}function j(y){v(c("AdsDeliveryContainerLoggingEvents").LANDING_PAGE_VIEWS.DUPLICATION_TIP.OPT_OUT,y)}function k(y){v(c("AdsDeliveryContainerLoggingEvents").LANDING_PAGE_VIEWS.DUPLICATION_TIP.OPT_IN,y)}function l(y){v(c("AdsDeliveryContainerLoggingEvents").LANDING_PAGE_VIEWS.DUPLICATION_TIP.DISMISS,y)}function m(y){v(c("AdsDeliveryContainerLoggingEvents").LANDING_PAGE_VIEWS.DUPLICATION_TIP.CLICK_HELP_LINK,y)}function n(y,z){v(c("AdsDeliveryContainerLoggingEvents").LANDING_PAGE_VIEWS.DUPLICATION_TIP.UI_INVALIDATION,y,c("AdsDeliveryLoggerCategories").ERROR,{error_message:z})}function o(y,z,A){z.forEach(function(B){v(c("AdsDeliveryContainerLoggingEvents").LANDING_PAGE_VIEWS.DUPLICATION_TIP.CONFIRM_OPTING_IN,y,c("AdsDeliveryLoggerCategories").INTERACTION,x(B,A))})}function p(y,z,A){z.forEach(function(B){var C=c("nullthrows")(y.get(B));v(c("AdsDeliveryContainerLoggingEvents").LANDING_PAGE_VIEWS.DUPLICATION_TIP.OPT_OUT_AT_EDITING,C,c("AdsDeliveryLoggerCategories").INTERACTION,x(B,A))})}function q(y){v(c("AdsDeliveryContainerLoggingEvents").LANDING_PAGE_VIEWS.DUPLICATION_TIP.CONFLICT_WITH_MESSENGER_TIP,y,c("AdsDeliveryLoggerCategories").IMPRESSION)}function r(y){v(c("AdsDeliveryContainerLoggingEvents").LANDING_PAGE_VIEWS.DUPLICATION_TIP.CAN_SHOW_TIP,y,c("AdsDeliveryLoggerCategories").IMPRESSION)}function s(){v(c("AdsDeliveryContainerLoggingEvents").LANDING_PAGE_VIEWS.DUPLICATION_TIP.EDITING_TIP_SHOWN,null,c("AdsDeliveryLoggerCategories").IMPRESSION)}function t(){v(c("AdsDeliveryContainerLoggingEvents").LANDING_PAGE_VIEWS.DUPLICATION_TIP.EDITING_TIP_DISMISS)}function u(y){v(c("AdsDeliveryContainerLoggingEvents").LANDING_PAGE_VIEWS.DUPLICATION_TIP.CANCEL_DUPLICATE,y)}function v(y){var z=arguments.length<=1||arguments[1]===undefined?null:arguments[1],A=arguments.length<=2||arguments[2]===undefined?c("AdsDeliveryLoggerCategories").INTERACTION:arguments[2],B=arguments.length<=3||arguments[3]===undefined?{}:arguments[3];if(z)y=w(y,z);c("AdsInterfacesLogger").log({data:B,eventCategory:A,eventName:y})}function w(y,z){var A=z.tipType,B=z.optimizationType;switch(A){case c("AdsDuplicationOptimizationTipTypes").UPSELL:return y+"_UPSELL_"+B;case c("AdsDuplicationOptimizationTipTypes").DEFAULT_OPT_IN:return y+"_DEFAULT_OPT_IN_"+B;default:return"INVALID_TIP_TYPE_"+A}}function x(y,z){if(z===c("AdObjectLevels").CAMPAIGN)return{campaign_id:y};z===c("AdObjectLevels").CAMPAIGN_GROUP||h(0);return{campaign_group_id:y}}f.exports={logCancelDuplication:u,logCanShowTip:r,logClickHelpLink:m,logConfirmOptingIn:o,logConflictWithMessenger:q,logDismiss:l,logEditingTipDismiss:t,logEditingTipShown:s,logOptIn:k,logOptOut:j,logOptOutAtEditing:p,logTipShown:i,logUIInvalidaiton:n}}),null);
__d("AdsInterfacesCreationSectionMode",["keyMirror"],(function a(b,c,d,e,f,g){"use strict";var h=c("keyMirror")({EXISTING:null,NEW:null,SAME:null,DUPLICATE:null});f.exports=h}),null);
__d("AdsLandingPageViewsUtils",["AdObjectLevels","AdsAccountCapabilities","AdsAccountUtils","AdsAPIObjectives","AdsAPIOptimizationGoals","AdsDuplicationOptimizationTipsLoggingUtils","AdsInterfacesCreationSectionMode","AdsLPVDefaultNotice.react","AdsPromotedObjectTypes","React","nullthrows"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h=c("AdsDuplicationOptimizationTipsLoggingUtils").logEditingTipDismiss,i=c("AdsDuplicationOptimizationTipsLoggingUtils").logEditingTipShown;function j(z){return c("AdsAccountUtils").hasCapability(z,c("AdsAccountCapabilities").LANDING_PAGE_VIEW_OPTIMIZATION)}function k(z,A){if(A===c("AdsAPIObjectives").LINK_CLICKS)return c("AdsAccountUtils").hasCapability(z,c("AdsAccountCapabilities").LANDING_PAGE_VIEW_UI);else if(A===c("AdsAPIObjectives").CONVERSIONS)return c("AdsAccountUtils").hasCapability(z,c("AdsAccountCapabilities").LANDING_PAGE_VIEW_OBJ_CONVERSION);return false}function l(z){return z===c("AdsAPIObjectives").LINK_CLICKS}function m(z){return z===c("AdsAPIOptimizationGoals").LINK_CLICKS}function n(z){return z===c("AdsPromotedObjectTypes").WEBSITE||z===c("AdsPromotedObjectTypes").PIXEL||z===c("AdsPromotedObjectTypes").NONE}function o(z){return z.getValues().every(n)}function p(z,A,B,C){return j(z)&&l(B)&&m(C)&&o(A)}function q(z,A,B,C){return y(z)?!A&&k(z,C)&&n(B):k(z,C)&&n(B)}function r(z){return j(z)}function s(z){var A=z&&z.get("lpv_default_during_creation_qe");if(!A||!A.isDone()||!A.hasValue())return null;var B=A.getValueEnforcing().getParam("notice_design_option"),C=parseFloat(B);switch(C){case 1:case 2:case 3:return C;default:return null}}function t(z){return!!s(z)}function u(z,A){switch(z.adObjectLevel){case c("AdObjectLevels").CAMPAIGN:var B=c("nullthrows")(z[c("AdObjectLevels").CAMPAIGN]),C=B.campaignGroupID,D=B.campaignGroupMode;return(D===c("AdsInterfacesCreationSectionMode").SAME||D===c("AdsInterfacesCreationSectionMode").EXISTING)&&(D!==c("AdsInterfacesCreationSectionMode").EXISTING||!!C);case c("AdObjectLevels").CAMPAIGN_GROUP:var E=c("nullthrows")(A[c("AdObjectLevels").CAMPAIGN_GROUP]),F=E.campaignGroupIDs;return F.length===1}return false}function v(z,A,B,C){return B===true&&A===c("AdsAPIOptimizationGoals").LINK_CLICKS&&n(C)&&j(z)&&c("AdsAccountUtils").hasCapability(z,c("AdsAccountCapabilities").SHOW_LANDING_PAGE_VIEW_UPSELL_IN_CONVERSION_OBJ)}function w(z,A){var B=A||{},C=B.areAllOptInLandingPageViewsFromDuplication;if(z!==c("AdsAPIOptimizationGoals").LANDING_PAGE_VIEWS||!C)return null;return c("React").createElement(c("AdsLPVDefaultNotice.react"),{version:1,onClose:h,onShown:i})}function x(z,A,B){return y(z)&&A&&!B}function y(z){return c("AdsAccountUtils").hasCapability(z,c("AdsAccountCapabilities").DISABLE_OFFER_IN_LPV_CAMPAIGNS)}f.exports={canSaveAdSetsWithOptimizationGoal:r,canSeeOptimizationGoalInDropdown:q,canShowDefaultNotice:t,checkDuplicationTipPrecondition:u,getDefaultNoticeVersion:s,getOptInLandingPageViewsFromDuplicationUpsell:w,isRelevantPromotedType:n,shouldSeeUpsellV1:p,shouldShowLandingPageViewUpsellInConversionObjective:v,shouldDisableForLPV:x}}),null);
__d("AdConvAttrWindows",[],(function a(b,c,d,e,f,g){f.exports=Object.freeze({NO_ATTR:0,ATTR_1_DAY:1,ATTR_7_DAY:7,ATTR_14_DAY:14,ATTR_28_DAY:28})}),null);
__d("AdConvViewAttrWindows",[],(function a(b,c,d,e,f,g){f.exports=Object.freeze({NO_ATTR:0,ATTR_1_DAY:1,ATTR_7_DAY:7})}),null);
__d("AdsBidControlType",[],(function a(b,c,d,e,f,g){"use strict";var h=Object.freeze({ANY:1,AUTO_BID_ONLY:2,MANUAL_BID_ONLY:3,AVERAGE_BID_ONLY:4,MAXIMUM_BID_ONLY:5,AUTO_AND_MAX_BID_ONLY:6});f.exports=h}),null);
__d("AdsObjectiveBidTypesMap",["AdsAPIBidType","AdsAPIObjectives","AdsBuyingTypes","AdsLegacyObjectivesUtils","AdsToplineProductSettings","ImmutableObject"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h={};h[c("AdsAPIObjectives").NONE]=[c("AdsAPIBidType").ABSOLUTE_OCPM,c("AdsAPIBidType").CPA,c("AdsAPIBidType").CPC,c("AdsAPIBidType").CPM,c("AdsAPIBidType").FIXED_CPM,c("AdsAPIBidType").MULTI_PREMIUM];h[c("AdsAPIObjectives").OFFER_CLAIMS]=[c("AdsAPIBidType").CPC,c("AdsAPIBidType").MULTI_PREMIUM,c("AdsAPIBidType").ABSOLUTE_OCPM];h[c("AdsAPIObjectives").PAGE_LIKES]=[c("AdsAPIBidType").CPC,c("AdsAPIBidType").ABSOLUTE_OCPM,c("AdsAPIBidType").FIXED_CPM,c("AdsAPIBidType").MULTI_PREMIUM];h[c("AdsAPIObjectives").CANVAS_APP_INSTALLS]=[c("AdsAPIBidType").CPA,c("AdsAPIBidType").ABSOLUTE_OCPM,c("AdsAPIBidType").CPC,c("AdsAPIBidType").FIXED_CPM,c("AdsAPIBidType").MULTI_PREMIUM];h[c("AdsAPIObjectives").EVENT_RESPONSES]=[c("AdsAPIBidType").CPC,c("AdsAPIBidType").CPM,c("AdsAPIBidType").ABSOLUTE_OCPM];h[c("AdsAPIObjectives").CANVAS_APP_ENGAGEMENT]=[c("AdsAPIBidType").MULTI_PREMIUM,c("AdsAPIBidType").ABSOLUTE_OCPM,c("AdsAPIBidType").CPC];h[c("AdsAPIObjectives").POST_ENGAGEMENT]=[c("AdsAPIBidType").CPC,c("AdsAPIBidType").CPM,c("AdsAPIBidType").FIXED_CPM,c("AdsAPIBidType").MULTI_PREMIUM,c("AdsAPIBidType").ABSOLUTE_OCPM];h[c("AdsAPIObjectives").REACH]=[c("AdsAPIBidType").CPC,c("AdsAPIBidType").CPM,c("AdsAPIBidType").FIXED_CPM,c("AdsAPIBidType").MULTI_PREMIUM,c("AdsAPIBidType").ABSOLUTE_OCPM];h[c("AdsAPIObjectives").CONVERSIONS]=[c("AdsAPIBidType").CPC,c("AdsAPIBidType").CPM,c("AdsAPIBidType").MULTI_PREMIUM,c("AdsAPIBidType").ABSOLUTE_OCPM];h[c("AdsAPIObjectives").MOBILE_APP_INSTALLS]=[c("AdsAPIBidType").FIXED_CPM,c("AdsAPIBidType").ABSOLUTE_OCPM,c("AdsAPIBidType").CPA,c("AdsAPIBidType").CPC];h[c("AdsAPIObjectives").LINK_CLICKS]=[c("AdsAPIBidType").CPA,c("AdsAPIBidType").CPM,c("AdsAPIBidType").ABSOLUTE_OCPM,c("AdsAPIBidType").FIXED_CPM,c("AdsAPIBidType").MULTI_PREMIUM];h[c("AdsAPIObjectives").MOBILE_APP_ENGAGEMENT]=[c("AdsAPIBidType").CPC,c("AdsAPIBidType").ABSOLUTE_OCPM];h[c("AdsAPIObjectives").VIDEO_VIEWS]=[c("AdsAPIBidType").FIXED_CPM,c("AdsAPIBidType").MULTI_PREMIUM,c("AdsAPIBidType").ABSOLUTE_OCPM,c("AdsAPIBidType").CPA];h[c("AdsAPIObjectives").MEDIA_DOWNLOADS]=[];h[c("AdsAPIObjectives").LOCAL_AWARENESS]=[c("AdsAPIBidType").ABSOLUTE_OCPM];h[c("AdsAPIObjectives").STORE_VISITS]=[c("AdsAPIBidType").ABSOLUTE_OCPM];h[c("AdsAPIObjectives").INSTAGRAM_BRAND_AWARENESS]=[c("AdsAPIBidType").FIXED_CPM,c("AdsAPIBidType").MULTI_PREMIUM];h[c("AdsAPIObjectives").PRODUCT_CATALOG_SALES]=[c("AdsAPIBidType").ABSOLUTE_OCPM,c("AdsAPIBidType").CPC,c("AdsAPIBidType").CPM];h[c("AdsAPIObjectives").LEAD_GENERATION]=[c("AdsAPIBidType").ABSOLUTE_OCPM];h[c("AdsAPIObjectives").BRAND_AWARENESS]=[c("AdsAPIBidType").ABSOLUTE_OCPM];h[c("AdsAPIObjectives").MESSAGES]=[c("AdsAPIBidType").MULTI_PREMIUM,c("AdsAPIBidType").ABSOLUTE_OCPM];var i={};i[c("AdsBuyingTypes").AUCTION]=function(k){return k!==c("AdsAPIBidType").FIXED_CPM&&k!==c("AdsAPIBidType").FIXED_PRICING&&k!==c("AdsAPIBidType").MULTI_PREMIUM};i[c("AdsBuyingTypes").RESERVED]=function(k){return k===c("AdsAPIBidType").MULTI_PREMIUM};i[c("AdsBuyingTypes").MIXED]=function(k){return true};function j(k,l,m,n){__p&&__p();var o;l=c("AdsLegacyObjectivesUtils").convertToLegacyAppInstallsObjectives_HACK(l,m);var p=h[l];if(!p)return[];var q=i[k];if(!q)q=function q(r){return true};if(n){var o=function(){var r=k===c("AdsBuyingTypes").AUCTION?c("AdsToplineProductSettings").auctionBidTypes[n]:c("AdsToplineProductSettings").bidTypes[n];if(!!r){p=p.filter(function(s){return!!r[s]});return{v:p}}}();if(typeof o==="object")return o.v}return p.filter(q)}f.exports.mapping=new(c("ImmutableObject"))(h);f.exports.getValidBidTypes=j}),null);
__d("AdsCampaignBidUtils",["AdsAPIBidInfoFields","AdsAPIBidType","AdsAPICampaignGroupPaths","AdsAPICampaignPaths","AdsAPIObjectives","AdsAPIOptimizationGoals","AdsBidControlType","AdsBidOptions","AdsBidUtils","AdsBrandAwarenessUtils","AdsBuyingTypes","AdsLocalUtils","AdsMultiAbsoluteDefaults","AdsObjectiveBidTypesMap","AdsToplineProductSettings","OcpmAdConfig","firstx","getByPath","mapObject"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h={isBidInfoFieldVisible:function i(j,k,l){__p&&__p();if(l===c("AdsAPIBidInfoFields").IMPRESSIONS)return k===c("AdsAPIObjectives").VIDEO_VIEWS;switch(j){case c("AdsAPIBidType").MULTI_PREMIUM:return true;case c("AdsAPIBidType").ABSOLUTE_OCPM:switch(k){case c("AdsAPIObjectives").CANVAS_APP_ENGAGEMENT:case c("AdsAPIObjectives").MOBILE_APP_ENGAGEMENT:if(l===c("AdsAPIBidInfoFields").ACTIONS)return false;return true;case c("AdsAPIObjectives").BRAND_AWARENESS:case c("AdsAPIObjectives").VIDEO_VIEWS:return false}return true;default:return true}},getBidControl:function i(j,k,l,m,n){__p&&__p();var o=h.getDefaultBidType(m,k,l,null,j);if(!this.canUseAutoBid(o))return c("AdsBidControlType").MANUAL_BID_ONLY;switch(k){case c("AdsAPIObjectives").BRAND_AWARENESS:switch(n){case c("AdsAPIOptimizationGoals").BRAND_AWARENESS:return c("AdsBidControlType").AUTO_BID_ONLY;case c("AdsAPIOptimizationGoals").REACH:return c("AdsBidControlType").MANUAL_BID_ONLY}break;case c("AdsAPIObjectives").REACH:if(n===c("AdsAPIOptimizationGoals").ENGAGED_REACH)return c("AdsBidControlType").AUTO_BID_ONLY;break}return c("AdsBidControlType").ANY},isAutoBidDefault:function i(j){return h.canUseAutoBid(j)&&j!==c("AdsAPIBidType").CPC},canUseAutoBid:function i(j){switch(j){case c("AdsAPIBidType").ABSOLUTE_OCPM:case c("AdsAPIBidType").CPC:case c("AdsAPIBidType").CPA:case c("AdsAPIBidType").MULTI_PREMIUM:return true;default:return false}},getDefaultBidType:function i(j,k,l,m,n){__p&&__p();switch(j){case c("AdsBuyingTypes").AUCTION:return h.getDefaultAuctionBidType(k,l,n);case c("AdsBuyingTypes").FIXED_PRICE:if(m){var o=c("AdsToplineProductSettings").bidTypes[m];if(!o)return c("AdsAPIBidType").MULTI_PREMIUM;if(k===c("AdsAPIObjectives").INSTAGRAM_BRAND_AWARENESS)return c("AdsAPIBidType").MULTI_PREMIUM;return c("firstx")(Object.keys(o))}return c("AdsAPIBidType").MULTI_PREMIUM;case c("AdsBuyingTypes").RESERVED:return c("AdsAPIBidType").MULTI_PREMIUM;default:throw new Error("Unhandled case")}},getDefaultAuctionBidType:function i(j,k,l){var m=c("AdsObjectiveBidTypesMap").getValidBidTypes(c("AdsBuyingTypes").AUCTION,j,k,null);switch(j){case c("AdsAPIObjectives").APP_INSTALLS:case c("AdsAPIObjectives").LINK_CLICKS:case c("AdsAPIObjectives").OFFER_CLAIMS:case c("AdsAPIObjectives").PAGE_LIKES:case c("AdsAPIObjectives").CANVAS_APP_INSTALLS:case c("AdsAPIObjectives").CANVAS_APP_ENGAGEMENT:case c("AdsAPIObjectives").MOBILE_APP_ENGAGEMENT:case c("AdsAPIObjectives").EVENT_RESPONSES:case c("AdsAPIObjectives").POST_ENGAGEMENT:case c("AdsAPIObjectives").PRODUCT_CATALOG_SALES:case c("AdsLocalUtils").isLocalObjectiveSwitch(j):case c("AdsAPIObjectives").CONVERSIONS:case c("AdsAPIObjectives").MOBILE_APP_INSTALLS:case c("AdsAPIObjectives").VIDEO_VIEWS:case c("AdsAPIObjectives").LEAD_GENERATION:case c("AdsAPIObjectives").BRAND_AWARENESS:case c("AdsAPIObjectives").MESSAGES:return c("AdsAPIBidType").ABSOLUTE_OCPM;default:return m[0]}},getDefaultIOBidInfo:function i(j,k){switch(j){case c("AdsAPIBidType").MULTI_PREMIUM:return{};case c("AdsAPIBidType").FIXED_CPM:return{IMPRESSIONS:k||0};default:return{}}},getDefaultMultiAbsoluteBidInfo:function i(j,k){var l=c("AdsMultiAbsoluteDefaults")[j];if(l)return c("mapObject")(l,function(m){return m*k/10});return{ACTIONS:k*c("OcpmAdConfig").actionsMultiplier}},getDefaultVideoCPABidInfo:function i(j){var k=this.getDefaultMultiAbsoluteBidInfo(c("AdsAPIObjectives").VIDEO_VIEWS,j),l={};l.ACTIONS=k.ACTIONS;return l},getBidInfoFieldForOption:function i(j){switch(j){case c("AdsBidOptions").OCPM_ACTIONS:return c("AdsAPIBidInfoFields").ACTIONS;case c("AdsBidOptions").CLICKS:return c("AdsAPIBidInfoFields").CLICKS;case c("AdsBidOptions").IMPRESSIONS:return c("AdsAPIBidInfoFields").IMPRESSIONS;case c("AdsBidOptions").OCPM_REACH:return c("AdsAPIBidInfoFields").REACH;default:return c("AdsAPIBidInfoFields").IMPRESSIONS}},getBidOption:function i(j){switch(j){case c("AdsAPIBidInfoFields").ACTIONS:return c("AdsBidOptions").OCPM_ACTIONS;case c("AdsAPIBidInfoFields").CLICKS:return c("AdsBidOptions").CLICKS;case c("AdsAPIBidInfoFields").IMPRESSIONS:return c("AdsBidOptions").IMPRESSIONS;case c("AdsAPIBidInfoFields").REACH:return c("AdsBidOptions").OCPM_REACH;default:return c("AdsBidOptions").IMPRESSIONS}},getAbsoluteOCPMField:function i(j){var k=c("AdsMultiAbsoluteDefaults")[j];if(k)for(var l in k)if(k[l]>0)return l;return c("AdsAPIBidInfoFields").ACTIONS},getSingleBidInfoField:function i(j,k,l){if(l===c("AdsAPIObjectives").BRAND_AWARENESS&&k!=null&&c("AdsBrandAwarenessUtils").isOCPMReach(j,k))return c("AdsAPIBidInfoFields").REACH;if(j===c("AdsAPIBidType").ABSOLUTE_OCPM)return h.getAbsoluteOCPMField(l);if(j===c("AdsAPIBidType").FIXED_CPM)return c("AdsAPIBidInfoFields").IMPRESSIONS;var m=c("AdsBidUtils").getBidTypeInfo(j),n=m?m.bidOption:c("AdsBidOptions").IMPRESSIONS;return h.getBidInfoFieldForOption(n)},hasBidOnActions:function i(j,k,l,m,n){if(n===c("AdsBuyingTypes").RESERVED&&l)return l[c("AdsAPIBidInfoFields").ACTIONS]>0;if(j){var o=h.getSingleBidInfoField(k,l,m);return o===c("AdsAPIBidInfoFields").ACTIONS}if(l)return l[c("AdsAPIBidInfoFields").ACTIONS]>0;return false},campaignHasBidOnActions:function i(j,k,l){return h.hasBidOnActions(c("getByPath")(k,c("AdsAPICampaignPaths").IS_AUTOBID)||false,c("getByPath")(k,c("AdsAPICampaignPaths").BID_TYPE)||"",c("getByPath")(k,c("AdsAPICampaignPaths").BID_INFO.path),l,c("getByPath")(j,c("AdsAPICampaignGroupPaths").BUYING_TYPE))}};f.exports=h}),null);
__d("AdsDeliveryManualBidTypes",[],(function a(b,c,d,e,f,g){f.exports=Object.freeze({MAXIMUM:"MAXIMUM",AVERAGE:"AVERAGE"})}),null);
__d("AdsOptimizationUtils",["AdConvAttrWindows","AdConvViewAttrWindows","AdsAPIAccountPaths","AdsAPIBillingEvents","AdsAPIObjectives","AdsAPIOptimizationGoals","AdsBidControlType","AdsBulkValueUtils","AdsBuyingTypes","AdsCampaignBidUtils","AdsCampaignOptimizationPluginResolver","AdsDeliveryManualBidTypes","AdsMessengerPlacementV2Utils","AdsOptimizationGoalUtils","AdsOptimizationStrings","AdsPlacementAPISpecReaderUtils","Currency","LoadObject","adsAssertAPIObjective"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h=c("LoadObject").withValue([]),i=c("LoadObject").withValue(c("AdsOptimizationGoalUtils").getInvalidOptimizationsForNonMeasurableLocations()),j=Object.freeze({AVERAGE:"AVERAGE",MIXED:"MIXED",NONE:"NONE",OPTIMIZED:"OPTIMIZED"}),k="USD",l={COST_STRATEGY_OPTION:j,INELIGIBLE_OPTIMIZATIONS:i,NO_INELIGIBLE_OPTIMIZATIONS:h,supportsOptimizationFields:function m(n,o){if(n===c("AdsBuyingTypes").RESERVED||n===c("AdsBuyingTypes").FIXED_PRICE&&o===c("AdsAPIObjectives").INSTAGRAM_BRAND_AWARENESS)return false;return true},canUseAutoBid:function m(n,o,p,q){if(p===c("AdsAPIBillingEvents").APP_INSTALLS)return false;if(q){var r=c("AdsPlacementAPISpecReaderUtils").convertCampaignRecordToPlacementSpec(q);if(c("AdsMessengerPlacementV2Utils").isMessengerThreadSelected(r))return false}return n!==c("AdsAPIObjectives").BRAND_AWARENESS||o!==c("AdsAPIOptimizationGoals").REACH},canUseMaxBid:function m(n,o){var p=n.getBidControlType(o);return p!=c("AdsBidControlType").AUTO_BID_ONLY&&p!=c("AdsBidControlType").AVERAGE_BID_ONLY},canUseAveragePricePacing:function m(n,o,p){var q=arguments.length<=3||arguments[3]===undefined?false:arguments[3],r=arguments[4];return!q&&n.getCanUseAveragePricePacing(o,p,r)},getBidControlType:function m(n,o,p,q,r,s,t){var u,v=c("AdsCampaignOptimizationPluginResolver").resolve({objective:c("adsAssertAPIObjective")(o),promotedObjectType:p}).getBidControlType(r,s,t,n);if(v!==c("AdsBidControlType").ANY)return v;return c("AdsCampaignBidUtils").getBidControl((u={},u[c("AdsAPIAccountPaths").CAPABILITIES]=n,u),o,p,q,r)},getDefaultManualBidType:function m(){return c("AdsDeliveryManualBidTypes").AVERAGE},getDefaultIsAveragePricePacing:function m(){return true},getIsAveragePricePacingValue:function m(n){if(n)return false;return l.getDefaultIsAveragePricePacing()},getDefaultBidAmount:function m(n,o,p,q,r,s){return c("AdsCampaignOptimizationPluginResolver").resolve({objective:c("adsAssertAPIObjective")(n),promotedObjectType:"NONE"}).getDefaultBidAmount(o,p,q,r,s)},shouldFlipAutobidValue:function m(n,o,p,q,r,s,t){var u=s&&r?l.getBidControlType([],p,q,o,r,s,t):c("AdsBidControlType").ANY,v=true,w=true;if(u!==c("AdsBidControlType").ANY){v=u!==c("AdsBidControlType").MANUAL_BID_ONLY;w=u!==c("AdsBidControlType").AUTO_BID_ONLY}else if(s&&r)v=l.canUseAutoBid(p,r,s);return n&&!v||!n&&!w},getDefaultAttributionWindowDays:function m(){return c("AdConvAttrWindows").ATTR_1_DAY},canSeeAttributionWindowOnUI:function m(n,o,p){var q=c("AdsBulkValueUtils").getUniformValue(o),r=c("AdsBulkValueUtils").getUniformValue(p);if(!q||!r)return false;return n.getCanUseConversionWindow(r)},shouldUseRecurringBudget:function m(n){return true},isOptimizationGoalIneligible:function m(n,o){return!!n&&n.getValues()&&n.getValues().length>0&&n.getValues()[0]instanceof c("LoadObject")&&n.getValues()[0].isDone()&&n.getValues()[0].hasValue()&&n.getValues()[0].getValueEnforcing().includes(o)},getAttributionWindowDaysShortLabel:function m(n,o){__p&&__p();var p=null;if(n===c("AdConvAttrWindows").ATTR_1_DAY&&o===c("AdConvViewAttrWindows").ATTR_1_DAY)p=c("AdsOptimizationStrings").oneDayClickOrViewConversionWindowOptionShortLabel;else if(n===c("AdConvAttrWindows").ATTR_7_DAY&&o===c("AdConvViewAttrWindows").ATTR_1_DAY)p=c("AdsOptimizationStrings").sevenDayClickOrOneDayViewConversionWindowOptionShortLabel;else if(n===c("AdConvAttrWindows").ATTR_28_DAY&&o===c("AdConvViewAttrWindows").ATTR_1_DAY)p=c("AdsOptimizationStrings").twentyEightDayClickOrOneDayViewConversionWindowOptionShortLabel;else if(n===c("AdConvAttrWindows").ATTR_1_DAY)p=c("AdsOptimizationStrings").oneDayClickConversionWindowOptionShortLabel;else if(n===c("AdConvAttrWindows").ATTR_7_DAY)p=c("AdsOptimizationStrings").sevenDayClickConversionWindowOptionShortLabel;else if(n===c("AdConvAttrWindows").ATTR_28_DAY)p=c("AdsOptimizationStrings").twentyEightDayClickConversionWindowOptionShortLabel;return p},changeUSDCentToLocalCurrency:function m(n,o,p){var q=n/c("Currency").getOffset(k)*(o||1),r=Math.pow(10,Math.floor(Math.log10(q)));return Math.max(1,Math.round(q/r)*r)*c("Currency").getOffset(p||k)}};f.exports=l}),null);
__d("AdsCampaignOptimizationPlugins",["adsPluginsFactory","AdsAppInstallsAppCampaignOptimizationPlugin","AdsAppInstallsCanvasAppCampaignOptimizationPlugin","AdsBrandAwarenessCampaignOptimizationPlugin","AdsCanvasAppEngagementCampaignOptimizationPlugin","AdsCanvasAppInstallsCampaignOptimizationPlugin","AdsConversionsCampaignOptimizationPlugin","AdsConversionsAppCampaignOptimizationPlugin","AdsConversionsMessengerCampaignOptimizationPlugin","AdsConversionsOfflineCampaignOptimizationPlugin","AdsDefaultCampaignOptimizationPlugin","AdsEventResponsesCampaignOptimizationPlugin","AdsLeadGenerationCampaignOptimizationPlugin","AdsLinkClicksCampaignOptimizationPlugin","AdsLinkClicksAppCampaignOptimizationPlugin","AdsLinkClicksCanvasAppCampaignOptimizationPlugin","AdsLinkClicksWebsiteCampaignOptimizationPlugin","AdsLocalAwarenessCampaignOptimizationPlugin","AdsMessagesCampaignOptimizationPlugin","AdsMessagesSponsoredMessageCampaignOptimizationPlugin","AdsMessagesWhatsAppCampaignOptimizationPlugin","AdsMobileAppEngagementCampaignOptimizationPlugin","AdsMobileAppInstallsCampaignOptimizationPlugin","AdsOfferClaimsCampaignOptimizationPlugin","AdsPageLikesCampaignOptimizationPlugin","AdsPostEngagementCampaignOptimizationPlugin","AdsProductCatalogSalesCampaignOptimizationPlugin","AdsReachCampaignOptimizationPlugin","AdsStoreVisitsCampaignOptimizationPlugin","AdsVideoViewsCampaignOptimizationPlugin"],(function a(b,c,d,e,f,g){"use strict";var h=c("adsPluginsFactory")(function(){return[c("AdsAppInstallsAppCampaignOptimizationPlugin"),c("AdsAppInstallsCanvasAppCampaignOptimizationPlugin"),c("AdsBrandAwarenessCampaignOptimizationPlugin"),c("AdsCanvasAppEngagementCampaignOptimizationPlugin"),c("AdsCanvasAppInstallsCampaignOptimizationPlugin"),c("AdsConversionsCampaignOptimizationPlugin"),c("AdsConversionsAppCampaignOptimizationPlugin"),c("AdsConversionsMessengerCampaignOptimizationPlugin"),c("AdsConversionsOfflineCampaignOptimizationPlugin"),c("AdsDefaultCampaignOptimizationPlugin"),c("AdsEventResponsesCampaignOptimizationPlugin"),c("AdsLeadGenerationCampaignOptimizationPlugin"),c("AdsLinkClicksCampaignOptimizationPlugin"),c("AdsLinkClicksAppCampaignOptimizationPlugin"),c("AdsLinkClicksCanvasAppCampaignOptimizationPlugin"),c("AdsLinkClicksWebsiteCampaignOptimizationPlugin"),c("AdsLocalAwarenessCampaignOptimizationPlugin"),c("AdsMessagesCampaignOptimizationPlugin"),c("AdsMessagesSponsoredMessageCampaignOptimizationPlugin"),c("AdsMessagesWhatsAppCampaignOptimizationPlugin"),c("AdsMobileAppEngagementCampaignOptimizationPlugin"),c("AdsMobileAppInstallsCampaignOptimizationPlugin"),c("AdsOfferClaimsCampaignOptimizationPlugin"),c("AdsPageLikesCampaignOptimizationPlugin"),c("AdsPostEngagementCampaignOptimizationPlugin"),c("AdsProductCatalogSalesCampaignOptimizationPlugin"),c("AdsReachCampaignOptimizationPlugin"),c("AdsStoreVisitsCampaignOptimizationPlugin"),c("AdsVideoViewsCampaignOptimizationPlugin")]},function(){});f.exports=h}),null);
__d("AdsAppCampaignOptimizationPluginCommon",["AdsAPIBillingEvents","AdsDefaultCampaignOptimizationPlugin"],(function a(b,c,d,e,f,g){"use strict";var h=378,i={getDefaultBidAmount:function j(k,l){if(l===c("AdsAPIBillingEvents").LINK_CLICKS)return h;return c("AdsDefaultCampaignOptimizationPlugin").getDefaultBidAmount(k,l)}};f.exports=i}),null);
__d("AdsAppInstallsAppCampaignOptimizationPlugin",["AdsAPIObjectives","AdsDefaultCampaignOptimizationPlugin","AdsMobileAppCampaignOptimizationPluginCommon","AdsPromotedObjectTypes"],(function a(b,c,d,e,f,g){"use strict";var h=babelHelpers["extends"]({},c("AdsDefaultCampaignOptimizationPlugin"),c("AdsMobileAppCampaignOptimizationPluginCommon"),{type:"campaign/optimization",key:"app_installs_app",pivots:{objective:c("AdsAPIObjectives").APP_INSTALLS,promotedObjectType:c("AdsPromotedObjectTypes").MOBILE_APP}});f.exports=h}),null);
__d("AdsAppInstallsCanvasAppCampaignOptimizationPlugin",["AdsAPIObjectives","AdsCanvasAppCampaignOptimizationPluginCommon","AdsDefaultCampaignOptimizationPlugin","AdsPromotedObjectTypes"],(function a(b,c,d,e,f,g){"use strict";var h=babelHelpers["extends"]({},c("AdsDefaultCampaignOptimizationPlugin"),c("AdsCanvasAppCampaignOptimizationPluginCommon"),{type:"campaign/optimization",key:"app_installs_canvas_app",pivots:{objective:c("AdsAPIObjectives").APP_INSTALLS,promotedObjectType:c("AdsPromotedObjectTypes").CANVAS_APP}});f.exports=h}),null);
__d("AdsBAOAdRecallLiftNuxNames",[],(function a(b,c,d,e,f,g){"use strict";var h=Object.freeze({OBJECTIVE_FLYOUT_TIP:"ads_cf_campaign_group_bao_ad_recall_lift_description_tip",VIDEO_ADS_TIP:"ads_campaign_group_bao_video_ads_for_ad_recall_lift_tip",VIDEO_AD_CREATION_TIP:"ads_cf_video_ad_in_bao_for_ad_recall_lift_tip"});f.exports=h}),null);
__d("AYMTAdsCampaignGroupBAOAdRecallLiftDescriptionTipRenderer",["fbt","AdsBAOAdRecallLiftNuxNames","AdsGuidanceBaseNuxRenderer","immutable","React"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i,j;i=babelHelpers.inherits(k,c("AdsGuidanceBaseNuxRenderer"));j=i&&i.prototype;k.prototype.getIDs=function(){return c("immutable").Set([c("AdsBAOAdRecallLiftNuxNames").OBJECTIVE_FLYOUT_TIP])};k.prototype.canRender=function(l,m,n){return true};k.prototype.getElement=function(l,m,n,o){return c("React").createElement("div",null,h._("Brand Awareness optimization has been renamed to Ad Recall Lift optimization. The new name better represents what this optimizes for."))};function k(){i.apply(this,arguments)}f.exports=k}),null);
__d("AdsActivityStatuses",[],(function a(b,c,d,e,f,g){f.exports=Object.freeze({ACTIVE:"active",COMPLETED:"completed",RECENTLY_COMPLETED:"recently_completed",INACTIVE:"inactive",NOT_DELIVERING:"not_delivering",PENDING_REVIEW:"pending_review",REJECTED:"rejected",RECENTLY_REJECTED:"recently_rejected",SCHEDULED:"scheduled",ARCHIVED:"archived",LIMITED:"limited",PERMANENTLY_DELETED:"permanently_deleted",NOT_PUBLISHED:"not_published",ARCHIVED_IN_DRAFT:"archived_in_draft"})}),null);
__d("sumOfArray",[],(function a(b,c,d,e,f,g){function h(i){var j=0,k=i.length;for(var l=0;l<k;++l)j+=i[l];return j}f.exports=h}),null);
__d("BoostedActionType",[],(function a(b,c,d,e,f,g){f.exports=Object.freeze({APP_INSTALL:"appinstall",LEAD_GEN:"leadgen",LOCAL_AWARENESS:"localawareness",PAGELIKE:"pagelike",WEBSITE:"website",CCTA:"ccta",POST:"boostedpost",PAGE:"page",AUTOMATED_ADS:"automatedads",INSTAGRAM:"instagram"})}),null);
__d("AdsCampaignGroupUtils",["AdsAPIAdCampaignGroupFields","AdsAPICampaignGroupPaths","AdsAPICampaignGroupType","AdsAPICampaignPaths","AdsAPIPacingType","AdsAPIPromotedObjectFields","AdsBulkValueTypesConfig","AdsBulkValueUtils","AdsBuyingTypes","AdsDeliveryBudgetModes","AdsPromotedObjectTypes","AdsSplitTestUtils","AdsUniformValue","BoostedActionType","immutable","ads-app-platforms","compactArray","flattenArray","getBulkByPath","getByPath","isEmpty","nullthrows"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h,i=c("ads-app-platforms").MOBILE_STORE,j=[{campaignGroupPath:c("AdsAPICampaignGroupPaths").IS_AUTOBID,campaignPath:c("AdsAPICampaignPaths").IS_AUTOBID},{campaignGroupPath:c("AdsAPICampaignGroupPaths").IS_AVERAGE_PRICE_PACING,campaignPath:c("AdsAPICampaignPaths").IS_AVERAGE_PRICE_PACING},{campaignGroupPath:c("AdsAPICampaignGroupPaths").PACING_TYPE,campaignPath:c("AdsAPICampaignPaths").PACING_TYPE}],k=c("immutable").Map((h={},h[c("AdsPromotedObjectTypes").CANVAS_APP]=i.FB_CANVAS,h)),l={isFixedPrice:function m(n){var o=l.getBuyingType(n);return o===c("AdsBuyingTypes").FIXED_PRICE},isReachFrequency:function m(n){var o=c("getByPath")(n,c("AdsAPICampaignGroupPaths").BUYING_TYPE);return o===c("AdsBuyingTypes").RESERVED},containsRFCampaignGroup:function m(n){return c("getBulkByPath")(n,c("AdsAPICampaignGroupPaths").BUYING_TYPE).getValues().some(function(o){return o===c("AdsBuyingTypes").RESERVED})},getBuyingType:function m(n){return c("getByPath")(n,c("AdsAPICampaignGroupPaths").BUYING_TYPE)},getObjective:function m(n){return c("getByPath")(n,c("AdsAPICampaignGroupPaths").OBJECTIVE)},isAuction:function m(n){var o=l.getBuyingType(n);return o===c("AdsBuyingTypes").AUCTION},areAutomatedAdsCampaignGroups:function m(n){var o=n[c("AdsAPIAdCampaignGroupFields").BOOSTED_ACTION_TYPE],p=o instanceof c("AdsUniformValue")&&o.getValue()===c("BoostedActionType").AUTOMATED_ADS;if(!p)return false;var q=l.getAutomatedAdsPromotedPage(n);return!!q},getAutomatedAdsPromotedPage:function m(n){var o=n[c("AdsAPIAdCampaignGroupFields").BOOSTED_PAGE_ID];if(o instanceof c("AdsUniformValue"))return o.getValue();return null},getBudgetType:function m(n){if(c("getByPath")(n,c("AdsAPICampaignGroupPaths").DAILY_BUDGET))return c("AdsDeliveryBudgetModes").DAILY;else if(c("getByPath")(n,c("AdsAPICampaignGroupPaths").LIFETIME_BUDGET))return c("AdsDeliveryBudgetModes").LIFETIME;return null},getBudgetTypeEnforcing:function m(n){return c("nullthrows")(l.getBudgetType(n))},hasBudget:function m(n){return l.getBudgetType(n)!==null},hasBudgetBeta:function m(n){var o=n.getIn(c("AdsAPICampaignGroupPaths").PACING_TYPE);if(o&&o.toJS)o=o.toJS();return l.hasBudget(n)&&!c("isEmpty")(o)},hasCatalogID:function m(n){var o=c("getByPath")(n,[c("AdsAPIAdCampaignGroupFields").PROMOTED_OBJECT]);return!!(o&&c("getByPath")(o,[c("AdsAPIPromotedObjectFields").PRODUCT_CATALOG_ID]))},getUseDayParting:function m(n){var o=c("getByPath")(n,c("AdsAPICampaignGroupPaths").PACING_TYPE);if(o)return o.includes(c("AdsAPIPacingType").DAY_PARTING);return null},getBulkUseDayParting:function m(n){return c("AdsBulkValueUtils").aggregate(c("AdsBulkValueTypesConfig").EMPTY_UNIFORM_MIXED,c("AdsBulkValueUtils").deaggregateDeepByID(n).map(l.getUseDayParting))},getBulkBudgetType:function m(n){return c("AdsBulkValueUtils").aggregate(c("AdsBulkValueTypesConfig").EMPTY_UNIFORM_MIXED,c("AdsBulkValueUtils").deaggregateDeepByID(n).map(l.getBudgetType))},getBudgetAmount:function m(n,o){return n===c("AdsDeliveryBudgetModes").DAILY?+o[c("AdsAPIAdCampaignGroupFields").DAILY_BUDGET]:+o[c("AdsAPIAdCampaignGroupFields").LIFETIME_BUDGET]},getBulkBudgetAmount:function m(n,o){return c("AdsBulkValueUtils").aggregate(c("AdsBulkValueTypesConfig").EMPTY_UNIFORM_MIXED,c("AdsBulkValueUtils").deaggregateDeepByID(o).map(function(p){return l.getBudgetAmount(n,p)}))},getBulkBudegetRemaining:function m(n,o,p){var q=c("AdsBulkValueUtils").aggregate(c("AdsBulkValueTypesConfig").EMPTY_UNIFORM_MIXED,n[c("AdsAPIAdCampaignGroupFields").BUDGET_REMAINING].getValues()),r=[q,p,o];q=c("AdsBulkValueUtils").parallelIterator(function(s){var q=s[0],p=s[1],o=s[2];return o?p:q},r);return q},hasBulkBudget:function m(n){var o=l.getBulkBudgetType(n).getValues(),p=false,q=true;o.forEach(function(r){p=p||!!r;q=q&&!!r});return{all:p&&q,some:p}},rollDownCampaignGroupBudgetFields:function m(n,o,p){return o.withMutations(function(q){if(!p||!l.hasBudget(n))return;j.forEach(function(r){var s=r.campaignPath,t=r.campaignGroupPath;q.setIn(s,n.getIn(t))})})},getCampaignGroupBudgetRollDownFieldPaths:function m(){return j},getDisabledAppPlatformsForCampaignGroupBudget:function m(n,o){var p=c("flattenArray")(Array.from(n.values()).map(function(q){var r=q.getIn(c("AdsAPICampaignGroupPaths").ID),s=c("nullthrows")(o.get(r)),t={isAutobid:q.getIn(c("AdsAPICampaignGroupPaths").IS_AUTOBID),isAveragePricePacing:q.getIn(c("AdsAPICampaignGroupPaths").IS_AVERAGE_PRICE_PACING)};return s.getDisabledPromotedObjectTypes(t).map(function(u){return k.get(u)})}));return c("immutable").Set(c("compactArray")(p))},getCampaignGroupType:function m(n){return c("AdsSplitTestUtils").hasSplitTest(n)?c("AdsAPICampaignGroupType").SPLIT_TEST:c("AdsAPICampaignGroupType").DEFAULT}};f.exports=l}),null);
__d("AdsBrandAwarenessCampaignOptimizationPlugin",["cx","AdsAccountCapabilities","AdsAccountUtils","AdsAPICampaignGroupPaths","AdsAPIObjectives","AdsAPIOptimizationGoals","AdsBAOAdRecallLiftNuxNames","AdsBidControlType","AdsCampaignGroupUtils","AdsDefaultCampaignOptimizationPlugin","AdsFrequencyControlEditorUtils","AdsGuidanceChannelName","AdsGuidanceStandaloneNuxContainer.react","AdsOptimizationStrings","AYMTAdsCampaignGroupBAOAdRecallLiftDescriptionTipRenderer","React"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i=babelHelpers["extends"]({},c("AdsDefaultCampaignOptimizationPlugin"),{type:"campaign/optimization",key:"brand_awareness",pivots:{objective:c("AdsAPIObjectives").BRAND_AWARENESS},getBidControlType:function j(k,l){return k===c("AdsAPIOptimizationGoals").REACH?c("AdsBidControlType").MANUAL_BID_ONLY:c("AdsBidControlType").AUTO_BID_ONLY},getDefaultFrequencyControlSpecs:function j(k,l){if(!k)return null;return c("AdsFrequencyControlEditorUtils").computeDefaultFrequencyControlSpecs(c("AdsAPIObjectives").BRAND_AWARENESS,k,l)},getDefaultOptimizationGoal:function j(k){__p&&__p();var l=k.campaignGroup,m=k.account;if(c("AdsAccountUtils").hasCapability(m,c("AdsAccountCapabilities").IS_REACH_IN_BAO_DEPRECATED)||!l||!c("AdsCampaignGroupUtils").hasBudgetBeta(l)){var j=c("AdsDefaultCampaignOptimizationPlugin").getDefaultOptimizationGoal.bind(this);return j(k)}var n=l.getIn(c("AdsAPICampaignGroupPaths").IS_AUTOBID),o=l.getIn(c("AdsAPICampaignGroupPaths").IS_AVERAGE_PRICE_PACING);if(!n&&!o)return c("AdsAPIOptimizationGoals").REACH;if(c("AdsAccountUtils").hasCapability(m,c("AdsAccountCapabilities").ADS_BAO_AD_RECALL_LIFT_OPTIMIZATION))return c("AdsAPIOptimizationGoals").AD_RECALL_LIFT;else return c("AdsAPIOptimizationGoals").BRAND_AWARENESS},getOptimizationGoalHelpText:function j(){return c("React").createElement("div",null,c("React").createElement(c("AdsGuidanceStandaloneNuxContainer.react"),{channelName:c("AdsGuidanceChannelName").ADS_INTERFACES_MANAGEMENT_HOME,className:"_3-95",nuxName:c("AdsBAOAdRecallLiftNuxNames").OBJECTIVE_FLYOUT_TIP,renderer:new(c("AYMTAdsCampaignGroupBAOAdRecallLiftDescriptionTipRenderer"))({}),shouldCloseOnUnmount:false}),c("AdsOptimizationStrings").getOptimizationGoalHelpText())}});f.exports=i}),null);
__d("AdsCampaignOptimizationPluginType",[],(function a(b,c,d,e,f,g){"use strict";f.exports={order:["objective","promotedObjectType"]}}),null);
__d("AdsCampaignOptimizationPluginResolver",["adsPluginResolverFactory","AdsCampaignOptimizationPluginType","AdsCampaignOptimizationPlugins"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsCampaignOptimizationPluginType").order,i=c("adsPluginResolverFactory")(function(){return c("AdsCampaignOptimizationPlugins").getArray()},h);f.exports=i}),null);
__d("AdsCanvasAppCampaignOptimizationPluginCommon",["AdsAPIBillingEvents","AdsAppCampaignOptimizationPluginCommon","AdsBidControlType"],(function a(b,c,d,e,f,g){"use strict";var h=babelHelpers["extends"]({},c("AdsAppCampaignOptimizationPluginCommon"),{getBidControlType:function i(j,k){if(k===c("AdsAPIBillingEvents").APP_INSTALLS)return c("AdsBidControlType").MANUAL_BID_ONLY;return c("AdsBidControlType").ANY}});f.exports=h}),null);
__d("AdsCanvasAppEngagementCampaignOptimizationPlugin",["AdsAPIObjectives","AdsAppCampaignOptimizationPluginCommon","AdsDefaultCampaignOptimizationPlugin"],(function a(b,c,d,e,f,g){"use strict";var h=babelHelpers["extends"]({},c("AdsDefaultCampaignOptimizationPlugin"),c("AdsAppCampaignOptimizationPluginCommon"),{type:"campaign/optimization",key:"canvas_app_engagement",pivots:{objective:c("AdsAPIObjectives").CANVAS_APP_ENGAGEMENT}});f.exports=h}),null);
__d("AdsCanvasAppInstallsCampaignOptimizationPlugin",["AdsAPIObjectives","AdsCanvasAppCampaignOptimizationPluginCommon","AdsDefaultCampaignOptimizationPlugin"],(function a(b,c,d,e,f,g){"use strict";var h=babelHelpers["extends"]({},c("AdsDefaultCampaignOptimizationPlugin"),c("AdsCanvasAppCampaignOptimizationPluginCommon"),{type:"campaign/optimization",key:"canvas_app_installs",pivots:{objective:c("AdsAPIObjectives").CANVAS_APP_INSTALLS}});f.exports=h}),null);
__d("AdsConversionsAppCampaignOptimizationPlugin",["cx","fbt","AdsAccountUtils","AdsAPIObjectives","AdsAPIOptimizationGoals","AdsAppCampaignOptimizationPluginCommon","AdsDefaultCampaignOptimizationPlugin","AdsIntelligentBlueTip.react","AdsPromotedObjectTypes","PositionEnum","React"],(function a(b,c,d,e,f,g,h,i){"use strict";__p&&__p();var j=babelHelpers["extends"]({},c("AdsDefaultCampaignOptimizationPlugin"),c("AdsAppCampaignOptimizationPluginCommon"),{type:"campaign/optimization",key:"conversions/app",pivots:{objective:c("AdsAPIObjectives").CONVERSIONS,promotedObjectType:c("AdsPromotedObjectTypes").MOBILE_APP},maybeLogRelevantBiddingExperimentExposure:function k(l){var m=l.acbAppEventQE;if(m.hasValue())m.getValueEnforcing().maybeLogExposure()},getCanUseAveragePricePacing:function k(l,m,n){return n!=null&&l===c("AdsAPIOptimizationGoals").OFFSITE_CONVERSIONS&&c("AdsAccountUtils").canUseAveragePricePacingForAppEvents(n)},getTargetCostNUX:function k(l,m){var n=c("React").createElement("div",{className:"_2pic"},i._("The target cost bid strategy is now available to help you control your cost per app event even if you increase budget."));return c("React").createElement(c("AdsIntelligentBlueTip.react"),{channelName:l,contextNodeID:m,messageContent:n,messageID:"ads_app_event_target_cost_nux_tip",position:c("PositionEnum").below})},getDefaultOptimizationGoal:function k(l){return c("AdsAPIOptimizationGoals").OFFSITE_CONVERSIONS}});f.exports=j}),null);
__d("AdsAPIFullFunnelExplorationMode",[],(function a(b,c,d,e,f,g){f.exports=Object.freeze({NONE_EXPLORATION:"NONE_EXPLORATION",LIMITED_EXPLORATION:"LIMITED_EXPLORATION",EXTENDED_EXPLORATION:"EXTENDED_EXPLORATION"})}),null);
__d("AdsAveragePacingForAllOptimizationGoalsUtils",["AdsAccountUtils","AdsAPIBillingEvents","AdsAPIOptimizationGoals"],(function a(b,c,d,e,f,g){"use strict";var h=[c("AdsAPIOptimizationGoals").LINK_CLICKS,c("AdsAPIOptimizationGoals").VIDEO_VIEWS,c("AdsAPIOptimizationGoals").LANDING_PAGE_VIEWS,c("AdsAPIOptimizationGoals").PAGE_LIKES,c("AdsAPIOptimizationGoals").LEAD_GENERATION,c("AdsAPIOptimizationGoals").OFFSITE_CONVERSIONS],i={getCanUseAveragePricePacing:function j(k,l,m){if(!m)return false;if(k===c("AdsAPIOptimizationGoals").LEAD_GENERATION&&c("AdsAccountUtils").canUseAveragePricePacingForLeadGen(m))return true;return c("AdsAccountUtils").canUseAveragePacingForAllOptimizationGoals(m)&&l===c("AdsAPIBillingEvents").IMPRESSIONS&&h.includes(k)}};f.exports=i}),null);
__d("SUIInlineNux.react",["React","SUIComponent","SUIMessageBox.react","SUITheme"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h,i,j=c("React").PropTypes;h=babelHelpers.inherits(k,c("SUIComponent"));i=h&&h.prototype;k.prototype.render=function(){var l=c("SUITheme").get(this).SUIInlineNux,m=c("React").cloneElement(l.icon);return c("React").createElement(c("SUIMessageBox.react"),{hasShadow:false,icon:m,onClose:this.props.onClose,style:babelHelpers["extends"]({borderColor:l.borderColor},this.props.style),type:"filled"},c("React").createElement("div",{style:babelHelpers["extends"]({marginBottom:"8px"},l.titleTypeStyle)},this.props.title),c("React").createElement("div",{style:babelHelpers["extends"]({},l.childrenTypeStyle)},this.props.children))};function k(){h.apply(this,arguments)}k.propTypes={onClose:j.func,title:j.node.isRequired,theme:j.instanceOf(c("SUITheme"))};f.exports=k}),null);
__d("AdsGuidanceInlineNux.react",["React","SUIBusinessTheme","SUIInlineNux.react"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h,i,j=c("React").Component;h=babelHelpers.inherits(k,j);i=h&&h.prototype;k.prototype.render=function(){return c("React").createElement(c("SUIInlineNux.react"),{children:this.props.children,className:this.props.className,style:this.props.style,theme:c("SUIBusinessTheme"),title:this.props.title,onClose:this.props.onClose})};function k(){h.apply(this,arguments)}k.propTypes=babelHelpers["extends"]({},c("SUIInlineNux.react").propTypes);f.exports=k}),null);
__d("AdsDeliveryEducationCardForROASDefault.react",["fbt","AdsGuidanceInlineNux.react","AdsHelpTrayUIActions","Link.react","React"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i,j;i=babelHelpers.inherits(k,c("React").Component);j=i&&i.prototype;function k(){var l,m;for(var n=arguments.length,o=Array(n),p=0;p<n;p++)o[p]=arguments[p];return m=(l=j.constructor).call.apply(l,[this].concat(o)),this.$AdsDeliveryEducationCardForROASDefault1=function(){this.props.onClick();c("AdsHelpTrayUIActions").pushCMSIDToHistory("296463804090290")}.bind(this),m}k.prototype.render=function(){var l=h._("Optimize for a Higher Return on Ad Spend"),m=h._("We've automatically selected value as your optimization event because, based on data from your Facebook pixel, you could benefit from optimizing for return on ad spend (ROAS). Value optimization is intended to get the highest ROAS by maximizing the total purchase value generated from your ads. {learn more link}",[h.param("learn more link",c("React").createElement(c("Link.react"),{onClick:this.$AdsDeliveryEducationCardForROASDefault1},h._("Learn More.")))]);return c("React").createElement(c("AdsGuidanceInlineNux.react"),{title:l,onClose:this.props.onClose},m)};f.exports=k}),null);
__d("AdsDeliveryROASUpsellNux.react",["fbt","AdsGuidanceInlineNux.react","AdsHelpTrayUIActions","Link.react","React"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i,j;i=babelHelpers.inherits(k,c("React").Component);j=i&&i.prototype;function k(){var l,m;for(var n=arguments.length,o=Array(n),p=0;p<n;p++)o[p]=arguments[p];return m=(l=j.constructor).call.apply(l,[this].concat(o)),this.$AdsDeliveryROASUpsellNux1=function(){this.props.onClick();c("AdsHelpTrayUIActions").pushCMSIDToHistory("296463804090290")}.bind(this),m}k.prototype.render=function(){var l=h._("Introducing Value Optimization for Purchases"),m=h._("Now you can optimize delivery for purchase value since you have a Facebook pixel sharing purchase values. Value optimization is designed to get the highest return on your ad spend (ROAS) by maximizing the total purchase value generated from your ads. {learn more link}",[h.param("learn more link",c("React").createElement(c("Link.react"),{onClick:this.$AdsDeliveryROASUpsellNux1},h._("Learn More.")))]);return c("React").createElement(c("AdsGuidanceInlineNux.react"),{title:l,onClose:this.props.onClose},m)};f.exports=k}),null);
__d("AdsRoasOptimizationGoalUpsellTipRenderer",["AdsDeliveryEducationCardForROASDefault.react","AdsDeliveryROASUpsellNux.react","AdsGuidanceBaseNuxRenderer","immutable","React"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h,i;h=babelHelpers.inherits(j,c("AdsGuidanceBaseNuxRenderer"));i=h&&h.prototype;function j(k){i.constructor.call(this,k);this.isTipForDefault=k.isTipForDefault}j.prototype.getIDs=function(){return c("immutable").Set(["aymt_ads_roas_optimization_upsell_tip","bp_value_optimization_default_tip"])};j.prototype.canRender=function(k,l,m){return true};j.prototype.getElement=function(k,l,m,n,o){if(this.isTipForDefault)return c("React").createElement(c("AdsDeliveryEducationCardForROASDefault.react"),{onClick:o,onClose:n});else return c("React").createElement(c("AdsDeliveryROASUpsellNux.react"),{onClick:o,onClose:n})};f.exports=j}),null);
__d("AdsConversionsCampaignOptimizationPlugin",["AdConvAttrWindows","AdConvViewAttrWindows","AdsAccountCapabilities","AdsAccountUtils","AdsAPIAdAccountFields","AdsAPIFullFunnelExplorationMode","AdsAPIObjectives","AdsAPIOptimizationGoals","AdsAveragePacingForAllOptimizationGoalsUtils","AdsBootloader.react","AdsDefaultCampaignOptimizationPlugin","AdsGuidanceStandaloneNuxContainer.react","AdsLandingPageViewsUtils","AdsMessengerBidAmountUtils","AdsMessengerPlacementV2Utils","AdsOptimizationStrings","AdsPlacementAPISpecReaderUtils","AdsRoasOptimizationGoalUpsellTipRenderer","JSResource","React","emptyFunction"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h=c("AdsPlacementAPISpecReaderUtils").convertCampaignRecordToPlacementSpec,i=500,j=378,k=500,l=babelHelpers["extends"]({},c("AdsDefaultCampaignOptimizationPlugin"),{type:"campaign/optimization",key:"conversions",pivots:{objective:c("AdsAPIObjectives").CONVERSIONS},getCanUseAveragePricePacing:function m(n,o,p){return n===c("AdsAPIOptimizationGoals").OFFSITE_CONVERSIONS||c("AdsAveragePacingForAllOptimizationGoalsUtils").getCanUseAveragePricePacing(n,o,p)},getCanUseConversionWindow:function m(n){return n===c("AdsAPIOptimizationGoals").OFFSITE_CONVERSIONS||n===c("AdsAPIOptimizationGoals").VALUE||n===c("AdsAPIOptimizationGoals").OFFLINE_CONVERSIONS},getCanUseDefaultViewConversionWindowTip:function m(n,o){return o[c("AdsAPIAdAccountFields").IS_ATTRIBUTION_SPEC_SYSTEM_DEFAULT]===true&&n===c("AdsAPIOptimizationGoals").OFFSITE_CONVERSIONS&&c("AdsAccountUtils").hasCapability(o,c("AdsAccountCapabilities").CAN_SEE_NEW_CONVERSION_WINDOW_NUX)},getShouldDefaultToAttributionSpec:function m(n){return n===c("AdsAPIOptimizationGoals").OFFSITE_CONVERSIONS},getOptimizationGoalUpsell:function m(n,o,p,q,r){var s=c("AdsLandingPageViewsUtils").getOptInLandingPageViewsFromDuplicationUpsell(n,r);if(s)return s;if(c("AdsAccountUtils").hasCapability(q,c("AdsAccountCapabilities").CAN_USE_ROAS_VALUE_OPTIMIZATION)){if(o&&o===c("AdsAPIOptimizationGoals").VALUE&&c("AdsAccountUtils").hasCapability(q,c("AdsAccountCapabilities").ADS_CF_VALUE_OPTIMIZATION_GOAL_DEFAULT))return c("React").createElement(c("AdsGuidanceStandaloneNuxContainer.react"),{channelName:"AYMTAdsCreationChannel",nuxName:"bp_value_optimization_default_tip",renderer:new(c("AdsRoasOptimizationGoalUpsellTipRenderer"))({isTipForDefault:true})});return c("React").createElement(c("AdsGuidanceStandaloneNuxContainer.react"),{channelName:"AYMTAdsInterfacesChannel",nuxName:"aymt_ads_roas_optimization_upsell_tip",renderer:new(c("AdsRoasOptimizationGoalUpsellTipRenderer"))({isTipForDefault:false})})}return null},getConversionWindowOptions:function m(n,o){switch(n){case c("AdsAPIOptimizationGoals").VALUE:var p=c("AdsAccountUtils").hasCapability(o,c("AdsAccountCapabilities").ADS_VALUE_OPTIMIZATION_WEBSITE_CONVERSION_1D);return p?[c("AdConvAttrWindows").ATTR_1_DAY,c("AdConvAttrWindows").ATTR_7_DAY]:[c("AdConvAttrWindows").ATTR_7_DAY];case c("AdsAPIOptimizationGoals").OFFLINE_CONVERSIONS:return[c("AdConvAttrWindows").ATTR_7_DAY];case c("AdsAPIOptimizationGoals").OFFSITE_CONVERSIONS:var q=c("AdsAccountUtils").hasCapability(o,c("AdsAccountCapabilities").CAN_SEE_28_DAY_CLICK_WINDOW_WEB_CONV);if(q)return[c("AdConvAttrWindows").ATTR_1_DAY,c("AdConvAttrWindows").ATTR_7_DAY,c("AdConvAttrWindows").ATTR_28_DAY];default:return[c("AdConvAttrWindows").ATTR_1_DAY,c("AdConvAttrWindows").ATTR_7_DAY]}},getViewConversionWindowOptions:function m(n){switch(n){case c("AdsAPIOptimizationGoals").OFFSITE_CONVERSIONS:return[c("AdConvViewAttrWindows").ATTR_1_DAY];case c("AdsAPIOptimizationGoals").OFFLINE_CONVERSIONS:return[c("AdConvViewAttrWindows").ATTR_7_DAY];default:return[]}},getDefaultConversionWindowLength:function m(n){if(!n)return c("AdConvAttrWindows").ATTR_1_DAY;switch(n){case c("AdsAPIOptimizationGoals").VALUE:case c("AdsAPIOptimizationGoals").OFFSITE_CONVERSIONS:case c("AdsAPIOptimizationGoals").OFFLINE_CONVERSIONS:return c("AdConvAttrWindows").ATTR_7_DAY;default:return c("AdConvAttrWindows").ATTR_1_DAY}},getDefaultBidAmount:function m(n,o,p,q,r){__p&&__p();if(p){var s=h(p);if(c("AdsMessengerPlacementV2Utils").isMessengerThreadSelected(s))return c("AdsMessengerBidAmountUtils").getDefaultBidAmount(q,r)}switch(n){case c("AdsAPIOptimizationGoals").OFFSITE_CONVERSIONS:return i;case c("AdsAPIOptimizationGoals").LINK_CLICKS:return j;case c("AdsAPIOptimizationGoals").REPLIES:return k}return c("AdsDefaultCampaignOptimizationPlugin").getDefaultBidAmount(n,o)},getConversionWindowHelpText:function m(){return c("AdsOptimizationStrings").getConversionWindowHelpTextForOffsiteConversion()},getFullFunnelExplorationMode:function m(){return c("AdsAPIFullFunnelExplorationMode").NONE_EXPLORATION},getOptimizationGoalWarning:function m(n,o,p,q,r,s){var t=this.pivots,u=t.objective,v=t.promotedObjectType,w=c("AdsAccountUtils").hasCapability(q,c("AdsAccountCapabilities").CAN_USE_ROAS_VALUE_OPTIMIZATION);if(w&&n===c("AdsAPIOptimizationGoals").VALUE)return c("React").createElement(c("AdsBootloader.react"),{bootloadLoader:c("JSResource")("AdsRoasInvalidCustomEventNotice.react").__setRef("AdsConversionsCampaignOptimizationPlugin"),errorsByPath:p,key:"roas_warning",offsiteCustomEvent:s,onBootloaderWillMount:c("emptyFunction"),onComponentDidMount:c("emptyFunction")});if(n===c("AdsAPIOptimizationGoals").OFFSITE_CONVERSIONS)return c("React").createElement(c("AdsBootloader.react"),{bootloadLoader:c("JSResource")("AdsWebsiteOptimizationInfoBoxContainer.react").__setRef("AdsConversionsCampaignOptimizationPlugin"),conversionChoice:r,key:"pixel_warning",objective:u,onBootloaderWillMount:c("emptyFunction"),onComponentDidMount:c("emptyFunction")});if(n===c("AdsAPIOptimizationGoals").LANDING_PAGE_VIEWS)return null;return c("React").createElement(c("AdsBootloader.react"),{bootloadLoader:c("JSResource")("AdsOptimizationGoalFieldWarningNotice.react").__setRef("AdsConversionsCampaignOptimizationPlugin"),key:"conversions_upsell_warning",promotedObjectType:v,onBootloaderWillMount:c("emptyFunction"),onComponentDidMount:c("emptyFunction")})}});f.exports=l}),null);
__d("AdsConversionsMessengerCampaignOptimizationPlugin",["AdsAPIObjectives","AdsConversionsCampaignOptimizationPlugin","AdsDefaultCampaignOptimizationPlugin","AdsPromotedObjectTypes"],(function a(b,c,d,e,f,g){"use strict";var h=babelHelpers["extends"]({},c("AdsDefaultCampaignOptimizationPlugin"),c("AdsConversionsCampaignOptimizationPlugin"),{type:"campaign/optimization",key:"conversions/messenger",pivots:{objective:c("AdsAPIObjectives").CONVERSIONS,promotedObjectType:c("AdsPromotedObjectTypes").MESSENGER}});f.exports=h}),null);
__d("AdsConversionsOfflineCampaignOptimizationPlugin",["AdConvViewAttrWindows","AdsAPIObjectives","AdsAPIOptimizationGoals","AdsConversionsCampaignOptimizationPlugin","AdsDefaultCampaignOptimizationPlugin","AdsPromotedObjectTypes"],(function a(b,c,d,e,f,g){"use strict";var h=babelHelpers["extends"]({},c("AdsDefaultCampaignOptimizationPlugin"),c("AdsConversionsCampaignOptimizationPlugin"),{type:"campaign/optimization",key:"conversions/offline",pivots:{objective:c("AdsAPIObjectives").CONVERSIONS,promotedObjectType:c("AdsPromotedObjectTypes").OFFLINE_EVENT_SET},getDefaultViewConversionWindowLength:function i(){return c("AdConvViewAttrWindows").ATTR_7_DAY},getDefaultOptimizationGoal:function i(j){return c("AdsAPIOptimizationGoals").OFFLINE_CONVERSIONS}});f.exports=h}),null);
__d("adsCreateAdAccountQESelector",["AdsAccountStore","AdsAPIAccountPaths","AdsQEStore","LoadObject","adsCreateStoreSelector","getByPath"],(function a(b,c,d,e,f,g){"use strict";function h(i){return c("adsCreateStoreSelector")([c("AdsAccountStore"),c("AdsQEStore")],function(){var j=c("AdsAccountStore").getSelectedAccount(),k=c("getByPath")(j,c("AdsAPIAccountPaths").ACCOUNT_ID);if(!k)return c("LoadObject").loading();return c("AdsQEStore").get(i,k)},f.id)}f.exports=h}),null);
__d("adsCreateStructuredSelector",["adsCreateSelector"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h=function h(i,j){var k=Object.keys(i),l=Object.values(i);return c("adsCreateSelector")(l,function(){var m={};for(var n=arguments.length,o=Array(n),p=0;p<n;p++)o[p]=arguments[p];for(var q=0;q<o.length;q++)m[k[q]]=o[q];return m},j)};f.exports=h}),null);
__d("AdsDeliveryQESelectors",["adsCreateAdAccountQESelector","adsCreateSelector","adsCreateStructuredSelector"],(function a(b,c,d,e,f,g){"use strict";var h=c("adsCreateAdAccountQESelector")("ads_delivery_insights_acb_scaling_tool"),i=c("adsCreateAdAccountQESelector")("ads_average_cost_bidding_app_events"),j=c("adsCreateAdAccountQESelector")("ads_average_cost_bidding_lead_gen_universe"),k=c("adsCreateStructuredSelector")({acbAppEventQE:i,acbLeadGenQE:j},f.id+".biddingQEsSelector"),l=c("adsCreateAdAccountQESelector")("ads_insights_bidding_and_optimization_preset_universe"),m=c("adsCreateAdAccountQESelector")("ads_editor_budget_curve_error_bars_universe"),n=c("adsCreateAdAccountQESelector")("delivery_container_create_similar_qe"),o=c("adsCreateAdAccountQESelector")("ads_delivery_insights_h2_holdout_universe"),p=c("adsCreateAdAccountQESelector")("ads_delivery_insights_manual_bid_upsell_universe"),q=c("adsCreateAdAccountQESelector")("ads_remove_suggested_bid_universe"),r=c("adsCreateAdAccountQESelector")("ads_editor_tradeoffs_redesign_universe"),s=c("adsCreateAdAccountQESelector")("lpv_duplication_modal_upsell_universe"),t=c("adsCreateAdAccountQESelector")("lpv_default_during_creation_3"),u=c("adsCreateAdAccountQESelector")("ads_delivery_ppe_cpa_deprecation_universe"),v=c("adsCreateAdAccountQESelector")("ads_delivery_ppe_cpa_deprecation_phase_2"),w=c("adsCreateAdAccountQESelector")("ads_delivery_insights_tradeoffs_learning_stage_exit_message"),x=c("adsCreateAdAccountQESelector")("lpv_url_warnings_1"),y=c("adsCreateAdAccountQESelector")("ads_tradeoffs_unrealistic_high_bid_universe"),z=c("adsCreateAdAccountQESelector")("lpv_default_during_creation_3"),A=c("adsCreateAdAccountQESelector")("lpv_default_80p"),B=c("adsCreateAdAccountQESelector")("lpv_default_low_history");f.exports={acbScalingToolQESelector:h,biddingPresetQESelector:l,biddingQEsSelector:k,budgetCurveErrorBarsQESelector:m,createSimilarDeliveryContainerQESelector:n,deliveryTrustLongtermHoldoutQESelector:o,landingPageViewsCampaignDuplicationUpsellQESelector:s,landingPageViewsCFDefaultQESelector:t,landingPageViewsURLWarningQESelector:x,learningStageExitMessageQESelector:w,lpvDefault80pQESelector:A,lpvDefaultDuringCreation3QESelector:z,lpvDefaultLowHistoryQESelector:B,manualBidUpsellQESelector:p,postEngagementCPADeprecationPhaseOneQESelector:u,postEngagmentCPADeprecationPhaseTwoQESelector:v,suggestedBidQESelector:q,tradeoffsRedesignQESelector:r,unrealisticBidQESelector:y}}),null);
__d("AdsDeliveryDefaultsQEStoreUtils",["AdsAPIAdAccountFields","AdsDeliveryQESelectors","AdsQEStore"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h=c("AdsDeliveryQESelectors").lpvDefault80pQESelector,i=c("AdsDeliveryQESelectors").lpvDefaultDuringCreation3QESelector,j=c("AdsDeliveryQESelectors").lpvDefaultLowHistoryQESelector;function k(o){try{var p=c("AdsQEStore").get("default_vt_conversion_window_for_offsite_conversion_qe",o[c("AdsAPIAdAccountFields").ACCOUNT_ID]);if(p&&p.isDone()&&p.hasValue())return p.getValueEnforcing().getParamBool("in_default_vt_window_for_offsite_conversion_qe",false)}catch(q){}return false}function l(o){var p=false,q=[i,h,j];try{p=q.map(function(s){return s()}).map(function(s){if(s.isDone()&&s.hasValue())return s.getValueEnforcing().getParamBool("use_lpv_default",false);return false}).reduce(function(s,t){return s||t})}catch(r){}return p}function m(o){try{var p=c("AdsQEStore").get("ads_delivery_ppe_cpa_deprecation_experiment",o[c("AdsAPIAdAccountFields").ACCOUNT_ID]);if(p&&p.isDone()&&p.hasValue())return p.getValueEnforcing().getParamBool("can_use_creation_edit",false)}catch(q){}return false}var n={getDefaultViewConversionWindowQEStatus:k,getShouldUseLPVDefault:l,getShouldUsePostEngagementImpressionBillingDefault:m};f.exports=n}),null);
__d("AdsCampaignKPIUtils",["invariant","AdsAccountCapabilities","AdsAccountUtils","AdsAPIObjectives","AdsCampaignKPIConfig","AdsCampaignKPITypes","AdsDeliveryDefaultsQEStoreUtils","AdsLandingPageViewsUtils","immutable","ads-objectives"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i,j=c("ads-objectives").KPIObjectives,k=c("immutable").Map((i={},i[j.LINK_CLICKS]=c("AdsAccountCapabilities").CAN_USE_MEASUREMENT_KPI_FOR_TRAFFIC_OBJECTIVE,i[j.CONVERSIONS]=c("AdsAccountCapabilities").CAN_USE_MEASUREMENT_KPI_FOR_CONVERSIONS_OBJECTIVE,i[j.VIDEO_VIEWS]=c("AdsAccountCapabilities").CAN_USE_MEASUREMENT_KPI_FOR_VIDEO_VIEW_OBJECTIVE,i)),l={isEligibleForCampaignKPIForTraffic:function m(n){return c("AdsAccountUtils").hasCapability(n,c("AdsAccountCapabilities").CAN_USE_MEASUREMENT_KPI_FOR_TRAFFIC_OBJECTIVE)},isEligibleForCampaignKPIForVideoView:function m(n){return c("AdsAccountUtils").hasCapability(n,c("AdsAccountCapabilities").CAN_USE_MEASUREMENT_KPI_FOR_VIDEO_VIEW_OBJECTIVE)},isEligibleForCampaignKPIForConversions:function m(n){return c("AdsAccountUtils").hasCapability(n,c("AdsAccountCapabilities").CAN_USE_MEASUREMENT_KPI_FOR_CONVERSIONS_OBJECTIVE)},isEligibleForKPIEducation:function m(n){return c("AdsAccountUtils").hasCapabilityFromList(n,c("AdsAccountCapabilities").ADS_CAMPAIGN_KPI_CAN_SEE_EDUCATION)},canSeeLPVOptimizationGoal:function m(n){return c("AdsAccountUtils").hasCapabilityFromList(n,c("AdsAccountCapabilities").LANDING_PAGE_VIEW_OPTIMIZATION)},checkIfDestinationIsSupportedForLPVKPI:function m(n,o,p){if(p){var q=c("AdsLandingPageViewsUtils").isRelevantPromotedType(o);if(n===c("AdsAPIObjectives").LINK_CLICKS&&p===c("AdsCampaignKPITypes").LANDING_PAGE_VIEWS&&!q)return false}return true},supportsObjective:function m(n,o){var p=k.has(n)&&c("AdsAccountUtils").hasCapabilityFromList(o,k.get(n));if(n===j.LINK_CLICKS)return p&&l.canSeeLPVOptimizationGoal(o);return p},getCampaignKPIOptionsForTraffic:function m(n){return c("AdsCampaignKPIConfig").getCampaignKPITypesForObjective(n,j.LINK_CLICKS)},getCampaignKPIOptionsForConversions:function m(n){return c("AdsCampaignKPIConfig").getCampaignKPITypesForObjective(n,j.CONVERSIONS)},getCampaignKPIOptionsForVideoViews:function m(n){return c("AdsCampaignKPIConfig").getCampaignKPITypesForObjective(n,j.VIDEO_VIEWS)},getCampaignKPIOptionsForObjective:function m(n,o){switch(o){case j.LINK_CLICKS:return l.getCampaignKPIOptionsForTraffic(n);case j.CONVERSIONS:return l.getCampaignKPIOptionsForConversions(n);case j.VIDEO_VIEWS:return l.getCampaignKPIOptionsForVideoViews(n);default:return null}},getCampaignKPIOptionsForObjectiveEnforcing:function m(n,o){var p=l.getCampaignKPIOptionsForObjective(n,o);p||h(0);return p},getDefaultKPITypeForTraffic:function m(n){if(c("AdsDeliveryDefaultsQEStoreUtils").getShouldUseLPVDefault(n)&&c("AdsLandingPageViewsUtils").canSaveAdSetsWithOptimizationGoal(n))return c("AdsCampaignKPITypes").LANDING_PAGE_VIEWS;return c("AdsCampaignKPITypes").LINK_CLICKS},getNoneCampaignKPIOption:function m(){return c("AdsCampaignKPIConfig").NONEOption},canLockOptimizationGoal:function m(){return false}};f.exports=l}),null);
__d("AdsCampaignKPICopy",["fbt","AdsHelpTrayUIActions","Link.react","React"],(function a(b,c,d,e,f,g,h){"use strict";var i="159538704626701";function j(){c("AdsHelpTrayUIActions").pushCMSIDToHistory(i)}f.exports={CAMPAIGN_GOAL_HEADER:h._("Key Result"),CAMPAIGN_GOAL_INTRO:h._("Select the action you most want to measure:"),CAMPAIGN_GOAL_INTRO_ALT:h._("What result do you want to report on?"),CAMPAIGN_GOAL_TOOLTIP_CONVERSIONS:h._("With your campaign goal, you can specify the action you most want people to take and we'll measure and reflect this in reporting results. If you set your campaign goal as Purchases but then optimize for Add to Cart, we will still measure against Purchases. {=Learn More}.",[h.param("=Learn More",c("React").createElement(c("Link.react"),{onClick:j},h._("Learn More")))]),CAMPAIGN_GOAL_TOOLTIP_CONVERSIONS_ALT:h._("Choose the result you want to report on for this campaign regardless of your optimization for ad delivery. For example, if you optimize for adds to cart you can choose to view purchases in the Results column in reporting. {=Learn More}.",[h.param("=Learn More",c("React").createElement(c("Link.react"),{onClick:j},h._("Learn More")))]),CAMPAIGN_GOAL_TOOLTIP_TRAFFIC:h._("With your campaign goal, you can specify the action you most want people to take and we'll measure and reflect this in reporting results. If you set your campaign goal as Landing Page Views but then optimize for Link Clicks, we will still measure against Landing Page Views. {=Learn More}.",[h.param("=Learn More",c("React").createElement(c("Link.react"),{onClick:j},h._("Learn More")))]),CAMPAIGN_GOAL_TOOLTIP_TRAFFIC_ALT:h._("Choose the result you want to report on for this campaign regardless of your optimization for ad delivery. For example, if you optimize for link clicks you can choose to view landing page views in the Results column in reporting. {=Learn More}.",[h.param("=Learn More",c("React").createElement(c("Link.react"),{onClick:j},h._("Learn More")))]),CAMPAIGN_GOAL_SELECTOR_PLACEHOLDER:h._("Select what you want to measure"),DID_NOT_FIND_OPTION:h._("None of these apply"),DID_NOT_FIND_OPTION_TOOLTIP:h._("Choose this option if you cannot find a relevant campaign goal."),CONVERSION_CARD_HEADER:h._("Conversion"),CONVERSION_CARD_COPY:h._("You've selected your campaign goal. Now choose a specific conversion event. If you don't have a pixel, app or offline event set up, you'll see instructions for creating one."),CONVERSION_CARD_NUX_HEADER:h._("Optimize your ad delivery"),CONVERSION_CARD_NUX_COPY:h._("If you've selected a campaign goal, you can now choose a conversion event that improves ad delivery but still maps to your primary business goal. {=Learn More}.",[h.param("=Learn More",c("React").createElement(c("Link.react"),{onClick:j},h._("Learn More")))]),TRAFFIC_CARD_COPY:h._("Choose where you want to drive traffic. You'll enter the destination details later."),ADSET_AD_DELIVERY_DESCRIPTION:function k(l){return h._("Based on the campaign goal and conversion event you've selected, we'll optimize your ad delivery. {=Edit optimization}.",[h.param("=Edit optimization",c("React").createElement(c("Link.react"),{onClick:l},"Edit optimization"))])},CAMPAIGN_GOAL_MIXED_VALUES:h._("Mixed campaign goals"),CAMPAIGN_GOAL_CUSTOM_CONVERSION_NAME:h._("Custom Conversion"),CAMPAIGN_GOAL_CUSTOM_CONVERSION_TOOLTIP:h._("If you choose a custom conversion as your campaign goal, we'll reflect this in your reporting results."),CAMPAIGN_GOAL_CUSTOM_CONVERSION_PLACEHOLDER:h._("Select a custom conversion event."),CAMPAIGN_GOAL_CUSTOM_CONVERSION_FIELD_ERROR:h._("A custom conversion event is required if you have chosen custom conversions as your campaign goal."),CAMPAIGN_GOAL_CUSTOM_CONVERSION_MIXED_VALUES:h._("Mixed values"),CAMPAIGN_GOAL_NOT_SUPPORT_APP_MESSENGER_DESTINATION:h._("Destination is not supported when you choose Landing Page View as your campaign goal"),CAMPAIGN_GOAL_PROMOTED_OBJECT_MISMATCH_NOTICE:h._("The campaign goal you chose for your campaign doesn't match the conversion event you chose at the ad set level. If you want the results we optimize for to be the same as what we report in the Results column, make sure that these two settings match.")}}),null);
__d("AdsCampaignKPIConfig",["fbt","invariant","AdsAPIOptimizationGoals","AdsCampaignKPICopy","AdsCampaignKPITypes","AdsCampaignKPIUtils","ads-objectives","gkx"],(function a(b,c,d,e,f,g,h,i){"use strict";__p&&__p();var j=c("ads-objectives").KPIObjectives,k={campaignKPI:null,name:c("AdsCampaignKPICopy").DID_NOT_FIND_OPTION,tooltip:c("AdsCampaignKPICopy").DID_NOT_FIND_OPTION_TOOLTIP},l={};l[c("AdsCampaignKPITypes").LINK_CLICKS]={campaignKPI:c("AdsCampaignKPITypes").LINK_CLICKS,defaultOptimization:c("AdsAPIOptimizationGoals").LINK_CLICKS,description:h._("Count clicks on the ad that take someone to a destination or experience, on or off Facebook-owned properties."),name:h._("Link Clicks"),objective:j.LINK_CLICKS};l[c("AdsCampaignKPITypes").LANDING_PAGE_VIEWS]={campaignKPI:c("AdsCampaignKPITypes").LANDING_PAGE_VIEWS,defaultOptimization:c("AdsAPIOptimizationGoals").LANDING_PAGE_VIEWS,description:h._("Count the number times a person viewed your ad's destination URL (the landing page) after clicking on the ad."),name:h._("Landing Page Views"),objective:j.LINK_CLICKS};l[c("AdsCampaignKPITypes").MRC_VIDEO_VIEWS]={campaignKPI:c("AdsCampaignKPITypes").MRC_VIDEO_VIEWS,defaultOptimization:c("AdsAPIOptimizationGoals").TWO_SECOND_CONTINUOUS_VIDEO_VIEWS,name:h._("2 Seconds Video View"),objective:j.VIDEO_VIEWS};l[c("AdsCampaignKPITypes").VIDEO_VIEWS_15S]={campaignKPI:c("AdsCampaignKPITypes").VIDEO_VIEWS_15S,defaultOptimization:c("AdsAPIOptimizationGoals").VIDEO_VIEWS_15S,name:h._("15 Seconds Video Views"),objective:j.VIDEO_VIEWS};l[c("AdsCampaignKPITypes").COMPLETED_VIDEO_VIEWS]={campaignKPI:c("AdsCampaignKPITypes").COMPLETED_VIDEO_VIEWS,defaultOptimization:c("AdsAPIOptimizationGoals").COMPLETED_VIDEO_VIEWS,name:h._("Completed Video View"),objective:j.VIDEO_VIEWS};l[c("AdsCampaignKPITypes").PURCHASE]={campaignKPI:c("AdsCampaignKPITypes").PURCHASE,description:h._("Count purchases measured by Facebook on your website and mobile app."),name:h._("Purchases"),objective:j.CONVERSIONS};l[c("AdsCampaignKPITypes").LEAD]={campaignKPI:c("AdsCampaignKPITypes").LEAD,defaultOptimization:c("AdsAPIOptimizationGoals").LEAD_GENERATION,description:h._("Count leads measured by your Facebook on your website."),name:h._("Leads"),objective:j.CONVERSIONS};l[c("AdsCampaignKPITypes").COMPLETE_REGISTRATION]={campaignKPI:c("AdsCampaignKPITypes").COMPLETE_REGISTRATION,description:h._("Count registrations measured by Facebook on your website."),name:h._("Registrations"),objective:j.CONVERSIONS};l[c("AdsCampaignKPITypes").CUSTOM_CONVERSION]={campaignKPI:c("AdsCampaignKPITypes").CUSTOM_CONVERSION,description:h._("Count specific custom conversions measured by Facebook on your website."),name:h._("Custom Conversions"),objective:j.CONVERSIONS};function m(v){return{campaignKPITypes:v,campaignKPITypesData:v.map(function(w){return l[w]})}}var n={};n[j.LINK_CLICKS]=babelHelpers["extends"]({defaultKPIType:c("AdsCampaignKPITypes").LINK_CLICKS},m([c("AdsCampaignKPITypes").LANDING_PAGE_VIEWS,c("AdsCampaignKPITypes").LINK_CLICKS]));n[j.VIDEO_VIEWS]=babelHelpers["extends"]({defaultKPIType:c("AdsCampaignKPITypes").VIDEO_VIEWS_15S},m([c("AdsCampaignKPITypes").MRC_VIDEO_VIEWS,c("AdsCampaignKPITypes").VIDEO_VIEWS_15S,c("AdsCampaignKPITypes").COMPLETED_VIDEO_VIEWS]));var o=[c("AdsCampaignKPITypes").PURCHASE,c("AdsCampaignKPITypes").LEAD,c("AdsCampaignKPITypes").COMPLETE_REGISTRATION];o.push(c("AdsCampaignKPITypes").CUSTOM_CONVERSION);n[j.CONVERSIONS]=babelHelpers["extends"]({defaultKPIType:c("AdsCampaignKPITypes").PURCHASE},m(o));function p(v){var w=l[v];w||i(0);return w}function q(v){return p(v).name}function r(v){return p(v).tooltip}function s(v){return p(v).objective}function t(v,w){var x=n[w];x||i(0);if(w===j.LINK_CLICKS)x.defaultKPIType=c("AdsCampaignKPIUtils").getDefaultKPITypeForTraffic(v);return x}function u(v){return p(v).defaultOptimization}f.exports={NONEOption:k,getAdsCampaignKPIConfigData:p,getDefaultOptimization:u,getName:q,getTooltip:r,getObjective:s,getCampaignKPITypesForObjective:t}}),null);
__d("AdsOptimizationGoalUpsellPositions",[],(function a(b,c,d,e,f,g){"use strict";var h=Object.freeze({DOWN:"DOWN",TOP:"TOP"});f.exports=h}),null);
__d("AdsDefaultCampaignOptimizationPlugin",["AdConvAttrWindows","AdsAccountCapabilities","AdsAPIOptimizationGoals","AdsAveragePacingForAllOptimizationGoalsUtils","AdsBidControlType","AdsBulkValueUtils","AdsCampaignKPIConfig","AdsMessengerPlacementV2Utils","AdsOptimizationGoalUpsellPositions","AdsOptimizationGoalUtils","AdsOptimizationStrings","AdsPlacementAPISpecReaderUtils","AdsSplitTestVariable","nullthrows"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h=c("AdsPlacementAPISpecReaderUtils").convertCampaignRecordToPlacementSpec,i=c("AdsPlacementAPISpecReaderUtils").convertCampaignToPlacementSpec,j={type:"campaign/optimization",key:"default",pivots:{},getCanUseAveragePricePacing:function k(l,m,n){return c("AdsAveragePacingForAllOptimizationGoalsUtils").getCanUseAveragePricePacing(l,m,n)},getCanUseConversionWindow:function k(){return false},getCanUseDefaultViewConversionWindowTip:function k(){return false},getShouldDefaultToAttributionSpec:function k(){return false},getCanUseSuggestedBid:function k(){return true},getConversionWindowOptions:function k(){return[]},getViewConversionWindowOptions:function k(){return[]},getDefaultBidAmount:function k(){return 220},getDefaultConversionWindowLength:function k(l){return c("AdConvAttrWindows").ATTR_1_DAY},getDefaultViewConversionWindowLength:function k(){return null},getDefaultOptimizationGoal:function k(l){__p&&__p();var m=l.campaign,n=l.campaignKPI;if(m){var o=h(m);if(c("AdsMessengerPlacementV2Utils").isMessengerThreadSelected(o))return c("AdsAPIOptimizationGoals").IMPRESSIONS}var p=this.pivots,q=p.objective,r=p.promotedObjectType;if(n){var s=c("AdsCampaignKPIConfig").getDefaultOptimization(n);if(s&&q&&r){var t=h(m),u=c("AdsOptimizationGoalUtils").getUIValidForObjectiveV2_DEPRECATED(q,t,null,r,null,l.appURL,null,null,null,l.account);if(u.includes(s))return s}}return c("nullthrows")(c("AdsOptimizationGoalUtils").getDefaultForObjective(q?q:"",l.promotedObjectType,l.pixelConversionEvent,l.deliveryContainerType))},getBidControlType:function k(l,m,n,o){__p&&__p();if(l===c("AdsAPIOptimizationGoals").VALUE){var p=o&&o.includes(c("AdsAccountCapabilities").CAN_USE_MAX_BID_FOR_VALUE_OPTIMIZATION);return p?c("AdsBidControlType").AUTO_AND_MAX_BID_ONLY:c("AdsBidControlType").AUTO_BID_ONLY}if(n){var q=i(n);if(c("AdsMessengerPlacementV2Utils").isMessengerThreadSelected(q))return c("AdsBidControlType").MANUAL_BID_ONLY}return c("AdsBidControlType").ANY},getCanHaveCustomEventType:function k(){return true},getDefaultFrequencyControlSpecs:function k(l){return null},getOptimizationGoalWarning:function k(){return null},getUpselledOptimizationGoal:function k(){return null},getOptimizationGoalUpsell:function k(){return null},getOptimizationGoalUpsellPosition:function k(){return c("AdsOptimizationGoalUpsellPositions").TOP},getOptimizationGoalHelpText:function k(){return null},shouldShowOptimizationGoalUpsell:function k(l){var m=c("AdsBulkValueUtils").getUniformValue(l)===c("AdsSplitTestVariable").OPTIMIZATION;return!m},supportsCustomEventTypeField:function k(){return false},getConversionWindowHelpText:function k(){return c("AdsOptimizationStrings").getConversionWindowHelpText()},getFullFunnelExplorationMode:function k(){return null},getTargetCostNUX:function k(){return null},maybeLogRelevantBiddingExperimentExposure:function k(l){}};f.exports=j}),null);
__d("AdsEventResponsesCampaignOptimizationPlugin",["AdsAPIObjectives","AdsAPIOptimizationGoals","AdsDefaultCampaignOptimizationPlugin"],(function a(b,c,d,e,f,g){"use strict";var h=500,i=babelHelpers["extends"]({},c("AdsDefaultCampaignOptimizationPlugin"),{type:"campaign/optimization",key:"event_responses",pivots:{objective:c("AdsAPIObjectives").EVENT_RESPONSES},getDefaultBidAmount:function j(k,l){if(k===c("AdsAPIOptimizationGoals").EVENT_RESPONSES)return h;return c("AdsDefaultCampaignOptimizationPlugin").getDefaultBidAmount(k,l)}});f.exports=i}),null);
__d("AdsLeadGenerationCampaignOptimizationPlugin",["cx","fbt","AdsAPIObjectives","AdsDefaultCampaignOptimizationPlugin","AdsIntelligentBlueTip.react","React"],(function a(b,c,d,e,f,g,h,i){"use strict";var j=babelHelpers["extends"]({},c("AdsDefaultCampaignOptimizationPlugin"),{type:"campaign/optimization",key:"lead_generation",pivots:{objective:c("AdsAPIObjectives").LEAD_GENERATION},maybeLogRelevantBiddingExperimentExposure:function k(l){var m=l.acbLeadGenQE;if(m.hasValue())m.getValueEnforcing().maybeLogExposure()},getTargetCostNUX:function k(l,m){var n=c("React").createElement("div",{className:"_2pic"},i._("The target cost bid strategy is now available to help you control your cost per lead even if you increase budget."));return c("React").createElement(c("AdsIntelligentBlueTip.react"),{channelName:l,contextNodeID:m,messageContent:n,messageID:"ads_lead_gen_target_cost_nux_tip",position:"below"})}});f.exports=j}),null);
__d("AdsLinkClicksAppCampaignOptimizationPlugin",["AdsAPIObjectives","AdsLinkClicksAppCampaignOptimizationPluginCommon","AdsPromotedObjectTypes"],(function a(b,c,d,e,f,g){"use strict";var h=babelHelpers["extends"]({},c("AdsLinkClicksAppCampaignOptimizationPluginCommon"),{type:"campaign/optimization",key:"link_clicks/app",pivots:{objective:c("AdsAPIObjectives").LINK_CLICKS,promotedObjectType:c("AdsPromotedObjectTypes").MOBILE_APP}});f.exports=h}),null);
__d("AdsLinkClicksAppCampaignOptimizationPluginCommon",["AdsAPIOptimizationGoals","AdsAppCampaignOptimizationPluginCommon","AdsDefaultCampaignOptimizationPlugin"],(function a(b,c,d,e,f,g){"use strict";var h=babelHelpers["extends"]({},c("AdsDefaultCampaignOptimizationPlugin"),c("AdsAppCampaignOptimizationPluginCommon"),{getDefaultOptimizationGoal:function i(j){return c("AdsAPIOptimizationGoals").LINK_CLICKS},getCanHaveCustomEventType:function i(){return false}});f.exports=h}),null);
__d("AdsLinkClicksCampaignOptimizationPlugin",["AdsAPIBillingEvents","AdsAPIObjectives","AdsAPIOptimizationGoals","AdsDefaultCampaignOptimizationPlugin","AdsMessengerBidAmountUtils","AdsMessengerPlacementV2Utils","AdsPlacementAPISpecReaderUtils"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h=c("AdsPlacementAPISpecReaderUtils").convertCampaignRecordToPlacementSpec,i=378,j=500,k=babelHelpers["extends"]({},c("AdsDefaultCampaignOptimizationPlugin"),{type:"campaign/optimization",key:"link_clicks",pivots:{objective:c("AdsAPIObjectives").LINK_CLICKS},getDefaultBidAmount:function l(m,n,o,p,q){if(o){var r=h(o);if(c("AdsMessengerPlacementV2Utils").isMessengerThreadSelected(r))return c("AdsMessengerBidAmountUtils").getDefaultBidAmount(p,q)}if(m===c("AdsAPIOptimizationGoals").LINK_CLICKS)return n===c("AdsAPIBillingEvents").IMPRESSIONS?j:i;return c("AdsDefaultCampaignOptimizationPlugin").getDefaultBidAmount(m,n)}});f.exports=k}),null);
__d("AdsLinkClicksCanvasAppCampaignOptimizationPlugin",["AdsAPIObjectives","AdsAPIOptimizationGoals","AdsLinkClicksAppCampaignOptimizationPluginCommon","AdsPromotedObjectTypes"],(function a(b,c,d,e,f,g){"use strict";var h=babelHelpers["extends"]({},c("AdsLinkClicksAppCampaignOptimizationPluginCommon"),{type:"campaign/optimization",key:"link_clicks/canvas-app",pivots:{objective:c("AdsAPIObjectives").LINK_CLICKS,promotedObjectType:c("AdsPromotedObjectTypes").CANVAS_APP},getDefaultOptimizationGoal:function i(j){return c("AdsAPIOptimizationGoals").ENGAGED_USERS}});f.exports=h}),null);
__d("AdsOptimizationGoalLandingPageViewsUpsellV3TipRenderer",["AdsGuidanceBaseNuxRenderer","AdsOptimizationGoalFieldLandingPageViewsUpsellV3.react","immutable","React"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h,i;h=babelHelpers.inherits(j,c("AdsGuidanceBaseNuxRenderer"));i=h&&h.prototype;j.prototype.getIDs=function(){return c("immutable").Set(["bp_landing_page_views_upsell_v3"])};j.prototype.canRender=function(k,l,m){return true};j.prototype.getElement=function(k,l,m,n,o,p){var q=this.getProps(),r=q.onChangeOptimizationGoal;return c("React").createElement(c("AdsOptimizationGoalFieldLandingPageViewsUpsellV3.react"),{onClick:r,onClose:n})};function j(){h.apply(this,arguments)}f.exports=j}),null);
__d("AdsLinkClicksWebsiteCampaignOptimizationPlugin",["AdsAPIObjectives","AdsAPIOptimizationGoals","AdsCampaignKPIUtils","AdsDefaultCampaignOptimizationPlugin","AdsDeliveryDefaultsQEStoreUtils","AdsGuidanceStandaloneNuxContainer.react","AdsLandingPageViewsUtils","AdsLPVDefaultNotice.react","AdsOptimizationGoalLandingPageViewsUpsellV3TipRenderer","AdsOptimizationGoalUpsellPositions","AdsPromotedObjectTypes","React"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h=null,i=babelHelpers["extends"]({},c("AdsDefaultCampaignOptimizationPlugin"),{type:"campaign/optimization",key:"link_clicks/website",pivots:{objective:c("AdsAPIObjectives").LINK_CLICKS,promotedObjectType:c("AdsPromotedObjectTypes").WEBSITE},getDefaultOptimizationGoal:function m(n){var o=n.campaignKPI&&n.campaignKPI===c("AdsAPIOptimizationGoals").LANDING_PAGE_VIEWS,p=n.account&&!c("AdsCampaignKPIUtils").isEligibleForCampaignKPIForTraffic(n.account)&&c("AdsLandingPageViewsUtils").canSaveAdSetsWithOptimizationGoal(n.account)&&c("AdsDeliveryDefaultsQEStoreUtils").getShouldUseLPVDefault(n.account);if(o||p)return c("AdsAPIOptimizationGoals").LANDING_PAGE_VIEWS;return c("AdsAPIOptimizationGoals").LINK_CLICKS},getUpselledOptimizationGoal:j,getOptimizationGoalUpsell:function m(n,o,p,q,r){var s=c("AdsLandingPageViewsUtils").getOptInLandingPageViewsFromDuplicationUpsell(n,r);if(s)return s;return k(n,q,r)},getOptimizationGoalUpsellPosition:function m(){return c("AdsOptimizationGoalUpsellPositions").DOWN}});function j(m){if(!c("AdsLandingPageViewsUtils").canSaveAdSetsWithOptimizationGoal(m))return null;return c("AdsAPIOptimizationGoals").LANDING_PAGE_VIEWS}function k(m,n,o){__p&&__p();var p=o||{},q=p.deliveryQESpec,r=p.onChangeOptimizationGoal;h=r;if(!q||!r||m!==c("AdsAPIOptimizationGoals").LINK_CLICKS||j(n)!==c("AdsAPIOptimizationGoals").LANDING_PAGE_VIEWS)return null;var s=q.get("landing_page_views_upsell_v3_qe");if(!s||!s.isDone()||!s.hasValue())return null;var t=s.getValueEnforcing().getParam("options");if(t!=="option_1")return null;return c("React").createElement(c("AdsGuidanceStandaloneNuxContainer.react"),{channelName:"AYMTAdsInterfacesChannel",nuxName:"bp_landing_page_views_upsell_v3",renderer:new(c("AdsOptimizationGoalLandingPageViewsUpsellV3TipRenderer"))({onChangeOptimizationGoal:l}),shouldCloseOnUnmount:false})}function l(){h&&h()}f.exports=i}),null);
__d("AdsLocalAwarenessCampaignOptimizationPlugin",["AdsAPIObjectives","AdsAPIOptimizationGoals","AdsDefaultCampaignOptimizationPlugin"],(function a(b,c,d,e,f,g){"use strict";var h=500,i=babelHelpers["extends"]({},c("AdsDefaultCampaignOptimizationPlugin"),{type:"campaign/optimization",key:"local_awareness",pivots:{objective:c("AdsAPIObjectives").LOCAL_AWARENESS},getDefaultBidAmount:function j(k,l){if(k===c("AdsAPIOptimizationGoals").REACH)return h;return c("AdsDefaultCampaignOptimizationPlugin").getDefaultBidAmount(k,l)}});f.exports=i}),null);
__d("AdsMessagesCampaignOptimizationPlugin",["AdsAPIObjectives","AdsAPIOptimizationGoals","AdsDefaultCampaignOptimizationPlugin","AdsPromotedObjectTypes"],(function a(b,c,d,e,f,g){"use strict";var h=1e3,i=babelHelpers["extends"]({},c("AdsDefaultCampaignOptimizationPlugin"),{type:"campaign/optimization",key:"messages/messenger",pivots:{objective:c("AdsAPIObjectives").MESSAGES,promotedObjectType:c("AdsPromotedObjectTypes").MESSENGER},getDefaultOptimizationGoal:function j(k){return c("AdsAPIOptimizationGoals").REPLIES},getDefaultBidAmount:function j(k,l,m,n,o){if(k===c("AdsAPIOptimizationGoals").REPLIES)return h;return c("AdsDefaultCampaignOptimizationPlugin").getDefaultBidAmount(k,l)}});f.exports=i}),null);
__d("AdsMessagesSponsoredMessageCampaignOptimizationPlugin",["AdsAPIObjectives","AdsAPIOptimizationGoals","AdsDefaultCampaignOptimizationPlugin","AdsMessengerBidAmountUtils","AdsPromotedObjectTypes"],(function a(b,c,d,e,f,g){"use strict";var h=babelHelpers["extends"]({},c("AdsDefaultCampaignOptimizationPlugin"),{type:"campaign/optimization",key:"messages/sponsored-messages",pivots:{objective:c("AdsAPIObjectives").MESSAGES,promotedObjectType:c("AdsPromotedObjectTypes").SPONSORED_MESSAGES},getDefaultOptimizationGoal:function i(j){return c("AdsAPIOptimizationGoals").IMPRESSIONS},getDefaultBidAmount:function i(j,k,l,m,n){return c("AdsMessengerBidAmountUtils").getDefaultBidAmount()}});f.exports=h}),null);
__d("AdsMessagesWhatsAppCampaignOptimizationPlugin",["AdsAPIObjectives","AdsMessagesCampaignOptimizationPlugin","AdsPromotedObjectTypes"],(function a(b,c,d,e,f,g){"use strict";var h=babelHelpers["extends"]({},c("AdsMessagesCampaignOptimizationPlugin"),{type:"campaign/optimization",key:"messages/whatsapp",pivots:{objective:c("AdsAPIObjectives").MESSAGES,promotedObjectType:c("AdsPromotedObjectTypes").WHATSAPP}});f.exports=h}),null);
__d("AdsCampaignAppEventsNUXRenderer",["fbt","AdsGuidanceBaseNuxRenderer","AdsGuidanceInlineNux.react","immutable","Link.react","React"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i,j;i=babelHelpers.inherits(k,c("AdsGuidanceBaseNuxRenderer"));j=i&&i.prototype;k.prototype.getIDs=function(){return c("immutable").Set(["aymt_app_event_optimization_nux"])};k.prototype.canRender=function(l,m,n){return true};k.prototype.getElement=function(l,m,n,o){return c("React").createElement(c("AdsGuidanceInlineNux.react"),{title:h._("New! Optimize for Specific App Events"),onClose:o},h._("Now you can optimize your ads for any standard app event, such as add to cart, purchase and more. Just choose an app event, set a bid amount and we will target your ad to people likely to install your app and complete that event."),"\xa0",c("React").createElement(c("Link.react"),{href:"https://developers.facebook.com/docs/app-ads/optimization",target:"_blank"},h._("Learn more.")))};function k(){i.apply(this,arguments)}f.exports=k}),null);
__d("AdsMobileAppCampaignOptimizationPluginCommon",["AdConvAttrWindows","AdConvViewAttrWindows","AdsAccountCapabilities","AdsAccountUtils","AdsAPIAccountPaths","AdsAPIBillingEvents","AdsAPICampaignGroupPaths","AdsAPICampaignPaths","AdsAPIOptimizationGoals","AdsAppCampaignOptimizationPluginCommon","AdsAppDownloadsWarning.react","AdsAppInstallWarning.react","AdsAppUtils","AdsAveragePacingForAllOptimizationGoalsUtils","AdsBidControlType","AdsCampaignAppEventsNUXRenderer","AdsGuidanceStandaloneNuxContainer.react","AdsOptimizationStrings","React","getByPath"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h="AYMTAdsCreationChannel",i="aymt_app_event_optimization_nux",j=babelHelpers["extends"]({},c("AdsAppCampaignOptimizationPluginCommon"),{getCanUseAveragePricePacing:function k(l,m,n){if((l===c("AdsAPIOptimizationGoals").APP_INSTALLS||l===c("AdsAPIOptimizationGoals").OFFSITE_CONVERSIONS)&&m!==c("AdsAPIBillingEvents").APP_INSTALLS)return true;return c("AdsAveragePacingForAllOptimizationGoalsUtils").getCanUseAveragePricePacing(l,m,n)},getCanUseConversionWindow:function k(l){return l===c("AdsAPIOptimizationGoals").APP_INSTALLS||l===c("AdsAPIOptimizationGoals").OFFSITE_CONVERSIONS||l===c("AdsAPIOptimizationGoals").VALUE},getDefaultConversionWindowLength:function k(l){if(!l)return c("AdConvAttrWindows").ATTR_1_DAY;switch(l){case c("AdsAPIOptimizationGoals").OFFSITE_CONVERSIONS:case c("AdsAPIOptimizationGoals").VALUE:return c("AdConvAttrWindows").ATTR_7_DAY;default:return c("AdConvAttrWindows").ATTR_1_DAY}},getConversionWindowOptions:function k(l,m){switch(l){case c("AdsAPIOptimizationGoals").APP_INSTALLS:return[c("AdConvAttrWindows").ATTR_1_DAY];case c("AdsAPIOptimizationGoals").OFFSITE_CONVERSIONS:return[c("AdConvAttrWindows").ATTR_1_DAY,c("AdConvAttrWindows").ATTR_7_DAY];case c("AdsAPIOptimizationGoals").VALUE:var n=c("AdsAccountUtils").hasCapability(m,c("AdsAccountCapabilities").ADS_NEKO_MAI_ROAS),o=c("AdsAccountUtils").hasCapability(m,c("AdsAccountCapabilities").ADS_NEKO_MAI_1D_ROAS);if(n&&o)return[c("AdConvAttrWindows").ATTR_1_DAY,c("AdConvAttrWindows").ATTR_7_DAY];return[c("AdConvAttrWindows").ATTR_7_DAY];default:return[]}},getViewConversionWindowOptions:function k(l){switch(l){case c("AdsAPIOptimizationGoals").APP_INSTALLS:return[c("AdConvViewAttrWindows").ATTR_1_DAY];default:return[]}},getDefaultOptimizationGoal:function k(l){__p&&__p();if(l.hasAdvertisableAppEvents)return c("AdsAPIOptimizationGoals").OFFSITE_CONVERSIONS;var m=!l.campaignGroup||l.campaignGroup.getIn(c("AdsAPICampaignGroupPaths").IS_AVERAGE_PRICE_PACING);if(!m&&(!l.hasBackingApplication||l.appURL&&c("AdsAppUtils").isWindowsURL(l.appURL)))return c("AdsAPIOptimizationGoals").LINK_CLICKS;if(l.appInstallsTracked!==false)return c("AdsAPIOptimizationGoals").APP_INSTALLS;if(c("AdsAccountUtils").hasCapability(l.account,c("AdsAccountCapabilities").NEKO_MAI_APP_DOWNLOAD_OPTIMIZATION_GOAL_API)&&l.appURL&&c("AdsAppUtils").isGooglePlayURL(l.appURL))return c("AdsAPIOptimizationGoals").APP_DOWNLOADS;return c("AdsAPIOptimizationGoals").APP_INSTALLS},getBidControlType:function k(l,m){if(l===c("AdsAPIOptimizationGoals").VALUE)return c("AdsBidControlType").AUTO_BID_ONLY;if(m===c("AdsAPIBillingEvents").APP_INSTALLS)return c("AdsBidControlType").MANUAL_BID_ONLY;return c("AdsBidControlType").ANY},getCanHaveCustomEventType:function k(){return false},getOptimizationGoalWarning:function k(l,m){var n=c("getByPath")(m,c("AdsAPICampaignPaths").OPTIMIZATION_GOAL);if(l===c("AdsAPIOptimizationGoals").APP_INSTALLS&&n!=null)return c("React").createElement(c("AdsAppInstallWarning.react"),null);if(l===c("AdsAPIOptimizationGoals").APP_DOWNLOADS)return c("React").createElement(c("AdsAppDownloadsWarning.react"),null);return null},getOptimizationGoalUpsell:function k(l,m,n,o){var p=c("getByPath")(o,c("AdsAPIAccountPaths").ID);return c("React").createElement(c("AdsGuidanceStandaloneNuxContainer.react"),{accountID:p,channelName:h,nuxName:i,renderer:new(c("AdsCampaignAppEventsNUXRenderer"))({})})},getConversionWindowHelpText:function k(l){if(l===c("AdsAPIOptimizationGoals").APP_INSTALLS)return c("AdsOptimizationStrings").getConversionWindowHelpTextForMobileAppInstalls();else if(l===c("AdsAPIOptimizationGoals").OFFSITE_CONVERSIONS)return c("AdsOptimizationStrings").getConversionWindowHelpTextForMobileAppEvents();else return c("AdsOptimizationStrings").getConversionWindowHelpText()}});f.exports=j}),null);
__d("AdsMobileAppEngagementCampaignOptimizationPlugin",["AdsAPIObjectives","AdsAPIOptimizationGoals","AdsAppCampaignOptimizationPluginCommon","AdsDefaultCampaignOptimizationPlugin"],(function a(b,c,d,e,f,g){"use strict";var h=babelHelpers["extends"]({},c("AdsDefaultCampaignOptimizationPlugin"),c("AdsAppCampaignOptimizationPluginCommon"),{type:"campaign/optimization",key:"mobile_app_engagement",pivots:{objective:c("AdsAPIObjectives").MOBILE_APP_ENGAGEMENT},getDefaultOptimizationGoal:function i(j){return j.hasAdvertisableAppEvents?c("AdsAPIOptimizationGoals").OFFSITE_CONVERSIONS:c("AdsAPIOptimizationGoals").LINK_CLICKS},getCanHaveCustomEventType:function i(){return false}});f.exports=h}),null);
__d("AdsMobileAppInstallsCampaignOptimizationPlugin",["AdsAPIObjectives","AdsDefaultCampaignOptimizationPlugin","AdsMobileAppCampaignOptimizationPluginCommon"],(function a(b,c,d,e,f,g){"use strict";var h=babelHelpers["extends"]({},c("AdsDefaultCampaignOptimizationPlugin"),c("AdsMobileAppCampaignOptimizationPluginCommon"),{type:"campaign/optimization",key:"mobile_app_installs",pivots:{objective:c("AdsAPIObjectives").MOBILE_APP_INSTALLS}});f.exports=h}),null);
__d("AdsOfferClaimsCampaignOptimizationPlugin",["AdConvAttrWindows","AdConvViewAttrWindows","AdsAccountCapabilities","AdsAccountUtils","AdsAPIObjectives","AdsAPIOptimizationGoals","AdsDefaultCampaignOptimizationPlugin","AdsOptimizationStrings"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h=500,i=babelHelpers["extends"]({},c("AdsDefaultCampaignOptimizationPlugin"),{type:"campaign/optimization",key:"offer_claims",pivots:{objective:c("AdsAPIObjectives").OFFER_CLAIMS},getDefaultBidAmount:function j(k,l){if(k===c("AdsAPIOptimizationGoals").OFFER_CLAIMS)return h;return c("AdsDefaultCampaignOptimizationPlugin").getDefaultBidAmount(k,l)},getDefaultOptimizationGoal:function j(k){if(k.hasConversionPixelSelected)return c("AdsAPIOptimizationGoals").OFFSITE_CONVERSIONS;return c("AdsAPIOptimizationGoals").LINK_CLICKS},getCanUseConversionWindow:function j(k){return k===c("AdsAPIOptimizationGoals").OFFSITE_CONVERSIONS},getConversionWindowOptions:function j(k,l){var m=[c("AdConvAttrWindows").ATTR_1_DAY,c("AdConvAttrWindows").ATTR_7_DAY],n=c("AdsAccountUtils").hasCapability(l,c("AdsAccountCapabilities").CAN_SEE_28_DAY_CLICK_WINDOW_WEB_CONV);if(n&&k===c("AdsAPIOptimizationGoals").OFFSITE_CONVERSIONS)m.push(c("AdConvAttrWindows").ATTR_28_DAY);return m},getViewConversionWindowOptions:function j(k){if(k===c("AdsAPIOptimizationGoals").OFFSITE_CONVERSIONS)return[c("AdConvViewAttrWindows").ATTR_1_DAY];return[]},getDefaultConversionWindowLength:function j(k){if(k===c("AdsAPIOptimizationGoals").OFFSITE_CONVERSIONS)return c("AdConvAttrWindows").ATTR_7_DAY;return c("AdConvAttrWindows").ATTR_1_DAY},getConversionWindowHelpText:function j(){return c("AdsOptimizationStrings").getConversionWindowHelpTextForOffsiteConversion()}});f.exports=i}),null);
__d("AdsPageLikesCampaignOptimizationPlugin",["AdsAPIObjectives","AdsAPIOptimizationGoals","AdsDefaultCampaignOptimizationPlugin"],(function a(b,c,d,e,f,g){"use strict";var h=500,i=babelHelpers["extends"]({},c("AdsDefaultCampaignOptimizationPlugin"),{type:"campaign/optimization",key:"page_likes",pivots:{objective:c("AdsAPIObjectives").PAGE_LIKES},getDefaultBidAmount:function j(k,l){if(k===c("AdsAPIOptimizationGoals").PAGE_LIKES)return h;return c("AdsDefaultCampaignOptimizationPlugin").getDefaultBidAmount(k,l)}});f.exports=i}),null);
__d("AdsPostEngagementCampaignOptimizationPlugin",["AdsAPIObjectives","AdsAPIOptimizationGoals","AdsDefaultCampaignOptimizationPlugin","AdsFrequencyControlEditorUtils"],(function a(b,c,d,e,f,g){"use strict";var h=218,i=babelHelpers["extends"]({},c("AdsDefaultCampaignOptimizationPlugin"),{type:"campaign/optimization",key:"post_engagement",pivots:{objective:c("AdsAPIObjectives").POST_ENGAGEMENT},getDefaultFrequencyControlSpecs:function j(k,l){if(!k||!c("AdsFrequencyControlEditorUtils").isCompatibleWithFrequencyControl(c("AdsAPIObjectives").POST_ENGAGEMENT,k,l))return null;return c("AdsFrequencyControlEditorUtils").getFrequencyControlSpecs(7,3)},getDefaultBidAmount:function j(k,l){if(k===c("AdsAPIOptimizationGoals").IMPRESSIONS||k===c("AdsAPIOptimizationGoals").REACH)return h;return c("AdsDefaultCampaignOptimizationPlugin").getDefaultBidAmount(k,l)}});f.exports=i}),null);
__d("AdsProductCatalogSalesCampaignOptimizationPlugin",["AdConvAttrWindows","AdConvViewAttrWindows","AdsAccountCapabilities","AdsAccountUtils","AdsAPICampaignGroupPaths","AdsAPIObjectives","AdsAPIOptimizationGoals","AdsAveragePacingForAllOptimizationGoalsUtils","AdsCampaignGroupUtils","AdsDefaultCampaignOptimizationPlugin","OffsiteCustomEventType","ProductCatalogExpensiveStore","ProductCatalogField"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h=1e4,i=babelHelpers["extends"]({},c("AdsDefaultCampaignOptimizationPlugin"),{type:"campaign/optimization",key:"product_catalog_sales",pivots:{objective:c("AdsAPIObjectives").PRODUCT_CATALOG_SALES},getCanUseAveragePricePacing:function j(k,l,m){return k===c("AdsAPIOptimizationGoals").OFFSITE_CONVERSIONS||c("AdsAveragePacingForAllOptimizationGoalsUtils").getCanUseAveragePricePacing(k,l,m)},getCanUseConversionWindow:function j(k){return k===c("AdsAPIOptimizationGoals").OFFSITE_CONVERSIONS||k===c("AdsAPIOptimizationGoals").VALUE},getCanUseSuggestedBid:function j(){return false},getConversionWindowOptions:function j(k,l){if(k===c("AdsAPIOptimizationGoals").VALUE){var m=c("AdsAccountUtils").hasCapability(l,c("AdsAccountCapabilities").ADS_VALUE_OPTIMIZATION_DYNAMIC_ADS_1D);return m?[c("AdConvAttrWindows").ATTR_1_DAY,c("AdConvAttrWindows").ATTR_7_DAY]:[c("AdConvAttrWindows").ATTR_7_DAY]}return[c("AdConvAttrWindows").ATTR_1_DAY,c("AdConvAttrWindows").ATTR_7_DAY]},getDefaultBidAmount:function j(k,l){switch(k){case c("AdsAPIOptimizationGoals").OFFSITE_CONVERSIONS:return h;default:return c("AdsDefaultCampaignOptimizationPlugin").getDefaultBidAmount(k,l)}},getViewConversionWindowOptions:function j(k){if(k===c("AdsAPIOptimizationGoals").OFFSITE_CONVERSIONS)return[c("AdConvViewAttrWindows").ATTR_1_DAY];return[]},getDefaultConversionWindowLength:function j(k){if(k===c("AdsAPIOptimizationGoals").OFFSITE_CONVERSIONS||k===c("AdsAPIOptimizationGoals").VALUE)return c("AdConvAttrWindows").ATTR_7_DAY;return c("AdConvAttrWindows").ATTR_1_DAY},getDefaultOptimizationGoal:function j(k){__p&&__p();var l=k.campaignGroup;if(l&&c("AdsCampaignGroupUtils").hasBudgetBeta(l)){var m=l.getIn(c("AdsAPICampaignGroupPaths").IS_AVERAGE_PRICE_PACING);if(m)return c("AdsAPIOptimizationGoals").OFFSITE_CONVERSIONS}var n=k.productCatalogID;if(n){var o=c("ProductCatalogExpensiveStore").get(n);if(o[c("ProductCatalogField").SUGGESTED_CONVERSION_EVENT])if(o[c("ProductCatalogField").SUGGESTED_CONVERSION_EVENT]!==c("OffsiteCustomEventType").CONTENT_VIEW||c("AdsAccountUtils").hasCapability(k.account,c("AdsAccountCapabilities").CAN_USE_VIEW_CONTENT_FOR_DYNAMIC_ADS_IN_UI))return c("AdsAPIOptimizationGoals").OFFSITE_CONVERSIONS}return c("AdsAPIOptimizationGoals").LINK_CLICKS},supportsCustomEventTypeField:function j(k){return k===c("AdsAPIOptimizationGoals").OFFSITE_CONVERSIONS}});f.exports=i}),null);
__d("AdsReachCampaignOptimizationPlugin",["AdsAPIObjectives","AdsAPIOptimizationGoals","AdsBidControlType","AdsDefaultCampaignOptimizationPlugin","AdsFrequencyControlEditorUtils"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h=218,i=babelHelpers["extends"]({},c("AdsDefaultCampaignOptimizationPlugin"),{type:"campaign/optimization",key:"reach",pivots:{objective:c("AdsAPIObjectives").REACH},getDefaultBidAmount:function j(k,l){if(k===c("AdsAPIOptimizationGoals").IMPRESSIONS||k===c("AdsAPIOptimizationGoals").REACH)return h;return c("AdsDefaultCampaignOptimizationPlugin").getDefaultBidAmount(k,l)},getBidControlType:function j(k,l){return c("AdsBidControlType").ANY},getDefaultFrequencyControlSpecs:function j(k,l){if(k!==c("AdsAPIOptimizationGoals").REACH)return null;return c("AdsFrequencyControlEditorUtils").computeDefaultFrequencyControlSpecs(c("AdsAPIObjectives").REACH,c("AdsAPIOptimizationGoals").REACH,l)}});f.exports=i}),null);
__d("AdsStoreVisitOptimizationNux.react",["fbt","AdsGuidanceInlineNux.react","AdsHelpTrayUIActions","Link.react","React","SimpleNUXMessage","SimpleNUXMessageTypes"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i,j,k=c("SimpleNUXMessageTypes").ADS_STORE_VISITS_OBJECTIVE_UPSELL,l="175683976191028";i=babelHelpers.inherits(m,c("React").PureComponent);j=i&&i.prototype;function m(n){j.constructor.call(this,n);this.$AdsStoreVisitOptimizationNux2=function(){this.setState({dismissed:true});c("SimpleNUXMessage").markMessageSeenByUser(k)}.bind(this);this.state={dismissed:false}}m.prototype.$AdsStoreVisitOptimizationNux1=function(){c("AdsHelpTrayUIActions").pushCMSIDToHistory(l)};m.prototype.render=function(){if(this.state.dismissed===true)return null;if(c("SimpleNUXMessage").hasUserSeenMessage(k))return null;return c("React").createElement(c("AdsGuidanceInlineNux.react"),{title:h._("Optimize Your Ad Delivery for Store Visits"),onClose:this.$AdsStoreVisitOptimizationNux2},h._("We'll serve your ads to people most likely to visit your business locations. You'll see the number of visits as a result of your campaign. {link to help tray}.",[h.param("link to help tray",c("React").createElement(c("Link.react"),{onClick:this.$AdsStoreVisitOptimizationNux1},h._("Learn more")))]))};f.exports=m}),null);
__d("AdsStoreVisitsCampaignOptimizationPlugin",["AdsAPIObjectives","AdsAPIOptimizationGoals","AdsBidControlType","AdsDefaultCampaignOptimizationPlugin","AdsOptimizationGoalUtils","AdsOptimizationUtils","AdsPromotedObjectTypes","AdsStoreVisitOptimizationNux.react","React"],(function a(b,c,d,e,f,g){"use strict";var h=500,i=babelHelpers["extends"]({},c("AdsDefaultCampaignOptimizationPlugin"),{type:"campaign/optimization",key:"store_visits",pivots:{objective:c("AdsAPIObjectives").STORE_VISITS},getDefaultBidAmount:function j(k,l){if(k===c("AdsAPIOptimizationGoals").REACH)return h;return c("AdsDefaultCampaignOptimizationPlugin").getDefaultBidAmount(k,l)},getBidControlType:function j(k){return k===c("AdsAPIOptimizationGoals").REACH?c("AdsBidControlType").ANY:c("AdsBidControlType").AUTO_BID_ONLY},getOptimizationGoalUpsell:function j(k,l,m,n){var o=c("AdsOptimizationGoalUtils").getUIValidForObjectiveV2_DEPRECATED(c("AdsAPIObjectives").STORE_VISITS,null,null,c("AdsPromotedObjectTypes").NONE).includes(c("AdsAPIOptimizationGoals").STORE_VISITS),p=k&&c("AdsOptimizationUtils").isOptimizationGoalIneligible(m,"STORE_VISITS");return o&&!!k&&!p?c("React").createElement(c("AdsStoreVisitOptimizationNux.react"),null):null}});f.exports=i}),null);
__d("AdsCampaignVideoBuyingValidatorConfig",["errorCode","errorDesc","AdsAPICampaignPaths","AdsAPIOptimizationGoals","AdsAPIPublisherPlatform","AdsError"],(function a(b,c,d,e,f,g,h,i){"use strict";var j;f.exports=(j={},j[c("AdsAPIOptimizationGoals").TWO_SECOND_CONTINUOUS_VIDEO_VIEWS]={ERROR:{WARN:new(c("AdsError"))(2013008,i._(function(k,l){return k._("2-Second Continuous Video Views optimization and buying is not currently supported by any of your placements, please select other eligible placements or change optimization.")},{}),{level:c("AdsError").Level.WARN,path:c("AdsAPICampaignPaths").OPTIMIZATION_GOAL})}},j[c("AdsAPIOptimizationGoals").COMPLETED_VIDEO_VIEWS]={ERROR:{WARN:new(c("AdsError"))(2013011,i._(function(k,l){return k._("Completed video view optimization and buying is not currently supported by any of your placements, please select other eligible placements or change optimization.")},{}),{level:c("AdsError").Level.WARN,path:c("AdsAPICampaignPaths").OPTIMIZATION_GOAL})}},j[c("AdsAPIOptimizationGoals").VIDEO_VIEWS_15S]={ERROR:{WARN:new(c("AdsError"))(2013014,i._(function(k,l){return k._("15-Second video view optimization and buying is not currently supported by any of your placements, please select other eligible placements or change optimization.")},{}),{level:c("AdsError").Level.WARN,path:c("AdsAPICampaignPaths").OPTIMIZATION_GOAL})}},j)}),null);
__d("AdsVideoViewsCampaignOptimizationPlugin",["AdsAPIObjectives","AdsAPIOptimizationGoals","AdsBootloader.react","AdsCampaignVideoBuyingValidatorConfig","AdsDefaultCampaignOptimizationPlugin","JSResource","React","emptyFunction"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h=400,i=218,j=babelHelpers["extends"]({},c("AdsDefaultCampaignOptimizationPlugin"),{type:"campaign/optimization",key:"video_views",pivots:{objective:c("AdsAPIObjectives").VIDEO_VIEWS},getDefaultBidAmount:function k(l,m){switch(l){case c("AdsAPIOptimizationGoals").VIDEO_VIEWS:return h;case c("AdsAPIOptimizationGoals").REACH:return i}return c("AdsDefaultCampaignOptimizationPlugin").getDefaultBidAmount(l,m)},getOptimizationGoalWarning:function k(l,m,n,o,p,q){if(!Object.prototype.hasOwnProperty.call(c("AdsCampaignVideoBuyingValidatorConfig"),l))return null;return c("React").createElement(c("AdsBootloader.react"),{bootloadLoader:c("JSResource")("AdsVideoBuyingWarning.react").__setRef("AdsVideoViewsCampaignOptimizationPlugin"),errorsByPath:n,key:"video_buying_error",onBootloaderWillMount:c("emptyFunction"),onComponentDidMount:c("emptyFunction")})}});f.exports=j}),null);
__d("AdsDeliveryContainers",[],(function a(b,c,d,e,f,g){f.exports=Object.freeze({ADVANCED_OPTIONS:"ADVANCED_OPTIONS",CREATE_FLOW:"CREATE_FLOW",CREATE_SIMILAR:"CREATE_SIMILAR",BUDGET_SCHEDULE:"BUDGET_SCHEDULE",DEFAULT:"ADS_DELIVERY_CONTAINER",OPTIMIZATION:"OPTIMIZATION",SPLIT_TEST_BUDGET_SCHEDULE:"SPLIT_TEST_BUDGET_SCHEDULE",SPLIT_TEST_OPTIMIZATION:"SPLIT_TEST_OPTIMIZATION",UNIFIED_EDITOR:"UNIFIED_EDITOR"})}),null);
__d("AdsOptimizationGoalsDeprecationContent",["fbt","AdsAccountCapabilities","AdsAccountUtils","AdsAPIObjectives","AdsAPIOptimizationGoals","React"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i="1957415901202348",j="110346706273277",k="1925542547764376",l={getBrandAwarenessObjectiveReachOptimizationUpsell:function o(){return{message:h._("You will only be able to optimize for brand awareness with the brand awareness objective soon. Try creating a new campaign with the reach objective."),title:"Try The Reach Objective Instead Of The Brand Awareness Objective",learnMoreLink:j,noticeCode:c("AdsAPIObjectives").BRAND_AWARENESS+"_reach",noticeType:"information"}},getVideoViewsObjectiveDURAdCreationError:function o(){return{message:h._("The daily unique reach optimization is no longer supported in the video views objective. Try creating a new ad, or creating a similar ad set or campaign."),title:h._("Can't Create Similar Video View Ads"),learnMoreLink:i,noticeCode:c("AdsAPIObjectives").VIDEO_VIEWS+"_reach",noticeType:"error"}},getVideoViewsObjectiveDURAdsetConvertedWarning:function o(){return{message:h._("Ad sets will now be optimized for video views instead of daily unique reach to help you get the best results. To optimize your ads for reach, create a new campaign with reach objective."),title:h._("The Video Views Objective Now Optimizes For Video Views Only"),learnMoreLink:i,noticeCode:c("AdsAPIObjectives").VIDEO_VIEWS+"_reach",noticeType:"warning"}},getVideoViewsObjectiveOptimizationGoalUpsellNotice:function o(){return{message:h._("The video views objective has new optimization and billing options for 2-second continuous video views. Edit your ad set to try the new options."),title:h._("New Optimization and Billing Options for Video Views"),learnMoreLink:k,noticeCode:c("AdsAPIObjectives").VIDEO_VIEWS+"_video_views",noticeType:"information"}},getBrandAwarenessObjectiveReachAdCreationError:function o(){return{message:h._("Reach optimization is no longer supported in the brand awareness objective. Try creating a new ad, or creating a similar ad set or campaign."),title:h._("Can't Create Similar Brand Awareness Ads"),learnMoreLink:j,noticeCode:c("AdsAPIObjectives").BRAND_AWARENESS+"_reach",noticeType:"error"}},getBrandAwarenessObjectiveAdsetConvertedToBrandAwarenessWarning:function o(){return{message:h._("Ad sets will now be optimized for brand awareness instead of reach to help you get the best results. To optimize your ads for reach, create a new campaign with reach objective."),title:h._("The Brand Awareness Objective Now Optimizes For Brand Awareness Only"),learnMoreLink:j,noticeCode:c("AdsAPIObjectives").BRAND_AWARENESS+"_reach",noticeType:"warning"}},getBrandAwarenessObjectiveAdsetConvertedToAdRecallLiftInfo:function o(){return{message:c("React").createElement("ul",{style:{listStyleType:"disc",listStylePosition:"inside"}},c("React").createElement("li",null,h._("Your video ads will now reach a larger audience at a lower cost.")),c("React").createElement("li",null,h._("You can use both videos and images within the same ad set."))),title:h._("The Brand Awareness Objective Has Been Updated"),noticeCode:c("AdsAPIObjectives").BRAND_AWARENESS+"_brand_awareness",noticeType:"information"}}},m=[{objective:c("AdsAPIObjectives").VIDEO_VIEWS,optimizationGoal:c("AdsAPIOptimizationGoals").VIDEO_VIEWS,inL1CreationOrDuplicationFlow:null,adRecallLiftOptimization:null,reachInBAODeprecated:null,canShow2SecondBuyingPromotionTip:true,adsNotice:l.getVideoViewsObjectiveOptimizationGoalUpsellNotice()},{objective:c("AdsAPIObjectives").VIDEO_VIEWS,optimizationGoal:c("AdsAPIOptimizationGoals").REACH,inL1CreationOrDuplicationFlow:true,adRecallLiftOptimization:null,reachInBAODeprecated:null,canShow2SecondBuyingPromotionTip:null,adsNotice:l.getVideoViewsObjectiveDURAdCreationError()},{objective:c("AdsAPIObjectives").VIDEO_VIEWS,optimizationGoal:c("AdsAPIOptimizationGoals").REACH,inL1CreationOrDuplicationFlow:false,adRecallLiftOptimization:null,reachInBAODeprecated:null,canShow2SecondBuyingPromotionTip:null,adsNotice:l.getVideoViewsObjectiveDURAdsetConvertedWarning()},{objective:c("AdsAPIObjectives").BRAND_AWARENESS,optimizationGoal:c("AdsAPIOptimizationGoals").REACH,inL1CreationOrDuplicationFlow:null,adRecallLiftOptimization:null,reachInBAODeprecated:false,canShow2SecondBuyingPromotionTip:null,adsNotice:l.getBrandAwarenessObjectiveReachOptimizationUpsell()},{objective:c("AdsAPIObjectives").BRAND_AWARENESS,optimizationGoal:c("AdsAPIOptimizationGoals").REACH,inL1CreationOrDuplicationFlow:true,adRecallLiftOptimization:null,reachInBAODeprecated:true,canShow2SecondBuyingPromotionTip:null,adsNotice:l.getBrandAwarenessObjectiveReachAdCreationError()},{objective:c("AdsAPIObjectives").BRAND_AWARENESS,optimizationGoal:c("AdsAPIOptimizationGoals").REACH,inL1CreationOrDuplicationFlow:false,adRecallLiftOptimization:false,reachInBAODeprecated:true,canShow2SecondBuyingPromotionTip:null,adsNotice:l.getBrandAwarenessObjectiveAdsetConvertedToBrandAwarenessWarning()},{objective:c("AdsAPIObjectives").BRAND_AWARENESS,optimizationGoal:c("AdsAPIOptimizationGoals").REACH,inL1CreationOrDuplicationFlow:false,adRecallLiftOptimization:true,reachInBAODeprecated:true,canShow2SecondBuyingPromotionTip:null,adsNotice:l.getBrandAwarenessObjectiveAdsetConvertedToAdRecallLiftInfo()},{objective:c("AdsAPIObjectives").BRAND_AWARENESS,optimizationGoal:c("AdsAPIOptimizationGoals").BRAND_AWARENESS,inL1CreationOrDuplicationFlow:null,adRecallLiftOptimization:true,reachInBAODeprecated:null,canShow2SecondBuyingPromotionTip:null,adsNotice:l.getBrandAwarenessObjectiveAdsetConvertedToAdRecallLiftInfo()}],n={findNotices:function o(p,q,r,s,t,u){return m.filter(function(v){return v.objective===p&&v.optimizationGoal===q&&(v.inL1CreationOrDuplicationFlow===null||v.inL1CreationOrDuplicationFlow===r)&&(v.adRecallLiftOptimization===null||v.adRecallLiftOptimization===s)&&(v.reachInBAODeprecated===null||v.reachInBAODeprecated===t)&&(v.canShow2SecondBuyingPromotionTip===null||v.canShow2SecondBuyingPromotionTip===u)})},getNotice:function o(p,q,r,s){var t=c("AdsAccountUtils").hasCapability(p,c("AdsAccountCapabilities").ADS_BAO_AD_RECALL_LIFT_OPTIMIZATION),u=c("AdsAccountUtils").hasCapability(p,c("AdsAccountCapabilities").IS_REACH_IN_BAO_DEPRECATED),v=c("AdsAccountUtils").hasCapability(p,c("AdsAccountCapabilities").CAN_SEE_TWO_SEC_BUYING_PROMOTION_NUX),w=n.findNotices(q,r,s,t,u,v);return w.length>0?w[0].adsNotice:null}};f.exports=n}),null);
__d("AdsOptimizationGoalUtils",["AdsAccountCapabilities","AdsAccountUtils","AdsAPIObjectiveOptimizationGoals","AdsAPIObjectives","AdsAPIOptimizationGoals","AdsAppUtils","AdsAudienceDirectConfig","AdsDeliveryContainerLoggingUtils","AdsDeliveryContainers","AdsDeliveryDefaultsQEStoreUtils","AdsLandingPageViewsUtils","AdsLegacyObjectivesUtils","AdsMessengerPlacementV2Utils","AdsOptimizationGoalsDeprecationContent","AdsOptimizationUtils","AdsPromotedObjectAppUtils","AdsPromotedObjectTypes","AdsSelectedAccountGetter","OffsiteCustomEventType","gkx"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h={getDefaultForObjective:function i(j,k,l,m){__p&&__p();var n=c("AdsSelectedAccountGetter").get({});switch(j){case c("AdsAPIObjectives").PAGE_LIKES:var o=this._getCustomDefaultOptimizationForPageLikes(n);if(o)return o;break;case c("AdsAPIObjectives").POST_ENGAGEMENT:var p=this._getCustomDefaultOptimizationForPostEngagement(n);if(p)return p;break;case c("AdsAPIObjectives").STORE_VISITS:return c("AdsAPIOptimizationGoals").REACH;case c("AdsAPIObjectives").LOCAL_AWARENESS:return c("AdsAPIOptimizationGoals").REACH;case c("AdsAPIObjectives").CANVAS_APP_ENGAGEMENT:return c("AdsAPIOptimizationGoals").ENGAGED_USERS;case c("AdsAPIObjectives").MOBILE_APP_INSTALLS:return c("AdsAPIOptimizationGoals").APP_INSTALLS;case c("AdsAPIObjectives").MOBILE_APP_ENGAGEMENT:return c("AdsAPIOptimizationGoals").LINK_CLICKS;case c("AdsAPIObjectives").PRODUCT_CATALOG_SALES:return c("AdsAPIOptimizationGoals").OFFSITE_CONVERSIONS;case c("AdsAPIObjectives").OFFER_CLAIMS:return c("AdsAPIOptimizationGoals").LINK_CLICKS;case c("AdsAPIObjectives").LINK_CLICKS:if(k===c("AdsPromotedObjectTypes").WEBSITE&&c("AdsLandingPageViewsUtils").canSaveAdSetsWithOptimizationGoal(n)&&c("AdsDeliveryDefaultsQEStoreUtils").getShouldUseLPVDefault(n)){c("AdsDeliveryContainerLoggingUtils").logLandingPageViewDefaultUsed();return c("AdsAPIOptimizationGoals").LANDING_PAGE_VIEWS}c("AdsDeliveryContainerLoggingUtils").logLandingPageViewDefaultUnused();break;case c("AdsAPIObjectives").CONVERSIONS:if(k===c("AdsPromotedObjectTypes").PIXEL&&l===c("OffsiteCustomEventType").PURCHASE&&m===c("AdsDeliveryContainers").CREATE_FLOW&&c("AdsAccountUtils").hasCapability(n,c("AdsAccountCapabilities").CAN_USE_ROAS_VALUE_OPTIMIZATION)&&c("AdsAccountUtils").hasCapability(n,c("AdsAccountCapabilities").ADS_CF_VALUE_OPTIMIZATION_GOAL_DEFAULT))return c("AdsAPIOptimizationGoals").VALUE;break;case c("AdsAPIObjectives").MESSAGES:if(k===c("AdsPromotedObjectTypes").MESSENGER)return c("AdsAPIOptimizationGoals").REPLIES;else if(k===c("AdsPromotedObjectTypes").SPONSORED_MESSAGES)return c("AdsAPIOptimizationGoals").IMPRESSIONS;break;case c("AdsAPIObjectives").BRAND_AWARENESS:if(c("AdsAccountUtils").hasCapability(n,c("AdsAccountCapabilities").ADS_BAO_AD_RECALL_LIFT_OPTIMIZATION))return c("AdsAPIOptimizationGoals").AD_RECALL_LIFT;break}var q=c("AdsAPIObjectiveOptimizationGoals")[j];if(!q)return null;return q.DEFAULT},getValidForObjective:function i(j,k){j=c("AdsLegacyObjectivesUtils").convertToLegacyAppInstallsObjectives_HACK(j,k);if(!Object.prototype.hasOwnProperty.call(c("AdsAPIObjectiveOptimizationGoals"),j))return[];return Object.keys(c("AdsAPIObjectiveOptimizationGoals")[j].VALID)},getUIValidForObjectiveV2_DEPRECATED:function i(j,k,l,m,n,o,p,q,r,s,t){var u=k?c("AdsMessengerPlacementV2Utils").isMessengerThreadSelected(k):false;return h._getUIValidForObjective(j,u,l,m,n,o,p,q,r,s,t)},_getUIValidForObjective:function i(j,k,l,m,n,o,p,q,r,s,t){__p&&__p();j=c("AdsLegacyObjectivesUtils").convertToLegacyAppInstallsObjectives_HACK(j,m);var u=[c("AdsAPIOptimizationGoals").ENGAGED_USERS,c("AdsAPIOptimizationGoals").POST_ENGAGEMENT,c("AdsAPIOptimizationGoals").REACH],v=c("AdsLandingPageViewsUtils").canSeeOptimizationGoalInDropdown(s,!!r,m,j),w=c("AdsAccountUtils").hasCapability(s,c("AdsAccountCapabilities").CAN_USE_ROAS_VALUE_OPTIMIZATION),x=c("AdsAccountUtils").hasCapability(s,c("AdsAccountCapabilities").CAN_USE_DYNAMIC_ADS_VALUE_OPTIMIZATION);switch(j){case c("AdsAPIObjectives").CANVAS_APP_ENGAGEMENT:return u;case c("AdsAPIObjectives").CANVAS_APP_INSTALLS:return[c("AdsAPIOptimizationGoals").APP_INSTALLS,c("AdsAPIOptimizationGoals").POST_ENGAGEMENT];case c("AdsAPIObjectives").EVENT_RESPONSES:return[c("AdsAPIOptimizationGoals").EVENT_RESPONSES,c("AdsAPIOptimizationGoals").IMPRESSIONS,c("AdsAPIOptimizationGoals").POST_ENGAGEMENT,c("AdsAPIOptimizationGoals").REACH];case c("AdsAPIObjectives").LEAD_GENERATION:return[c("AdsAPIOptimizationGoals").LEAD_GENERATION];case c("AdsAPIObjectives").STORE_VISITS:return[c("AdsAPIOptimizationGoals").REACH,c("AdsAPIOptimizationGoals").STORE_VISITS];case c("AdsAPIObjectives").LOCAL_AWARENESS:return[c("AdsAPIOptimizationGoals").ENGAGED_REACH,c("AdsAPIOptimizationGoals").REACH];case c("AdsAPIObjectives").MOBILE_APP_ENGAGEMENT:return[c("AdsAPIOptimizationGoals").LINK_CLICKS,c("AdsAPIOptimizationGoals").OFFSITE_CONVERSIONS,c("AdsAPIOptimizationGoals").REACH].concat(p?[]:[c("AdsAPIOptimizationGoals").VIDEO_VIEWS]);case c("AdsAPIObjectives").MOBILE_APP_INSTALLS:return[c("AdsAPIOptimizationGoals").APP_INSTALLS,c("AdsAPIOptimizationGoals").LINK_CLICKS,c("AdsAPIOptimizationGoals").OFFSITE_CONVERSIONS].concat(c("AdsAccountUtils").hasCapability(s,c("AdsAccountCapabilities").ADS_NEKO_MAI_ROAS)?[c("AdsAPIOptimizationGoals").VALUE]:[],p?[]:[c("AdsAPIOptimizationGoals").VIDEO_VIEWS],c("AdsAccountUtils").hasCapability(s,c("AdsAccountCapabilities").NEKO_MAI_APP_DOWNLOAD_OPTIMIZATION_GOAL_API)&&!!n?[c("AdsAPIOptimizationGoals").APP_DOWNLOADS]:[]);case c("AdsAPIObjectives").OFFER_CLAIMS:return[c("AdsAPIOptimizationGoals").LINK_CLICKS,c("AdsAPIOptimizationGoals").OFFSITE_CONVERSIONS,c("AdsAPIOptimizationGoals").POST_ENGAGEMENT];case c("AdsAPIObjectives").PAGE_LIKES:return[c("AdsAPIOptimizationGoals").PAGE_LIKES];case c("AdsAPIObjectives").POST_ENGAGEMENT:return[c("AdsAPIOptimizationGoals").IMPRESSIONS,c("AdsAPIOptimizationGoals").POST_ENGAGEMENT,c("AdsAPIOptimizationGoals").REACH];case c("AdsAPIObjectives").REACH:return[c("AdsAPIOptimizationGoals").IMPRESSIONS,c("AdsAPIOptimizationGoals").REACH];case c("AdsAPIObjectives").PRODUCT_CATALOG_SALES:return[].concat(x?[c("AdsAPIOptimizationGoals").VALUE]:[],[c("AdsAPIOptimizationGoals").OFFSITE_CONVERSIONS,c("AdsAPIOptimizationGoals").LINK_CLICKS,c("AdsAPIOptimizationGoals").IMPRESSIONS]);case c("AdsAPIObjectives").VIDEO_VIEWS:var y=[c("AdsAPIOptimizationGoals").VIDEO_VIEWS];if(c("AdsAccountUtils").hasCapability(s,c("AdsAccountCapabilities").CAN_USE_MRC_VIDEO_VIEW))y.push(c("AdsAPIOptimizationGoals").TWO_SECOND_CONTINUOUS_VIDEO_VIEWS);if(c("AdsAccountUtils").hasCapability(s,c("AdsAccountCapabilities").CAN_USE_15S_VIDEO_VIEW))y.push(c("AdsAPIOptimizationGoals").VIDEO_VIEWS_15S);if(c("AdsAccountUtils").hasCapability(s,c("AdsAccountCapabilities").CAN_USE_COMPLETED_VIDEO_VIEW))y.push(c("AdsAPIOptimizationGoals").COMPLETED_VIDEO_VIEWS);return y;case c("AdsAPIObjectives").LINK_CLICKS:if(k)return[c("AdsAPIOptimizationGoals").IMPRESSIONS];if(c("AdsPromotedObjectAppUtils").isAppType(m)){if(c("AdsAppUtils").isCanvasLink(o))return u;return[c("AdsAPIOptimizationGoals").LINK_CLICKS,c("AdsAPIOptimizationGoals").REACH]}var z=[].concat(v?[c("AdsAPIOptimizationGoals").LANDING_PAGE_VIEWS]:[],[c("AdsAPIOptimizationGoals").LINK_CLICKS,c("AdsAPIOptimizationGoals").IMPRESSIONS,c("AdsAPIOptimizationGoals").REACH]);if(q)if(c("gkx")("AT7uUoRX-CRNcUUYZRxwbaeDoz-yVTji5vRR_4aduYwGCvOnySC6umaSwCCzj4iZpPH57ZKKlRK66Kr6TMpV_7CUpAKOKtkhFQ4NCPTwoQBhbw"))z.push(c("AdsAPIOptimizationGoals").POST_ENGAGEMENT);if(!l)z.push(c("AdsAPIOptimizationGoals").OFFSITE_CONVERSIONS);return z;case c("AdsAPIObjectives").CONVERSIONS:if(k)return[c("AdsAPIOptimizationGoals").IMPRESSIONS];if(c("AdsPromotedObjectAppUtils").isAppType(m))return[c("AdsAPIOptimizationGoals").OFFSITE_CONVERSIONS,c("AdsAPIOptimizationGoals").LINK_CLICKS,c("AdsAPIOptimizationGoals").REACH];if(m===c("AdsPromotedObjectTypes").OFFLINE_EVENT_SET)return[];var A=w&&m===c("AdsPromotedObjectTypes").PIXEL,B=t&&m===c("AdsPromotedObjectTypes").MESSENGER,C=[c("AdsAPIOptimizationGoals").OFFSITE_CONVERSIONS].concat(A?[c("AdsAPIOptimizationGoals").VALUE]:[],B?[c("AdsAPIOptimizationGoals").REPLIES]:[],v?[c("AdsAPIOptimizationGoals").LANDING_PAGE_VIEWS]:[],[c("AdsAPIOptimizationGoals").LINK_CLICKS,c("AdsAPIOptimizationGoals").IMPRESSIONS,c("AdsAPIOptimizationGoals").REACH]);return C;case c("AdsAPIObjectives").BRAND_AWARENESS:var D=[];if(c("AdsAccountUtils").hasCapability(s,c("AdsAccountCapabilities").ADS_BAO_AD_RECALL_LIFT_OPTIMIZATION))D.push(c("AdsAPIOptimizationGoals").AD_RECALL_LIFT);else D.push(c("AdsAPIOptimizationGoals").BRAND_AWARENESS);if(!c("AdsAccountUtils").hasCapability(s,c("AdsAccountCapabilities").IS_REACH_IN_BAO_DEPRECATED))D.push(c("AdsAPIOptimizationGoals").REACH);return D;case c("AdsAPIObjectives").MESSAGES:if(m===c("AdsPromotedObjectTypes").SPONSORED_MESSAGES)return[c("AdsAPIOptimizationGoals").IMPRESSIONS];else return c("AdsAccountUtils").hasCapability(s,c("AdsAccountCapabilities").CAN_USE_LINK_CLICKS_OPTIMIZATION_IN_MESSAGES)?[c("AdsAPIOptimizationGoals").REPLIES,c("AdsAPIOptimizationGoals").LINK_CLICKS]:[c("AdsAPIOptimizationGoals").REPLIES];default:return h.getValidForObjective(j,m)}},isValidForObjective:function i(j,k,l,m){k=c("AdsLegacyObjectivesUtils").convertToLegacyAppInstallsObjectives_HACK(k,m);if((k===c("AdsAPIObjectives").MOBILE_APP_INSTALLS||k===c("AdsAPIObjectives").MOBILE_APP_ENGAGEMENT)&&j===c("AdsAPIOptimizationGoals").LINK_CLICKS)return true;if(k===c("AdsAPIObjectives").VIDEO_VIEWS&&j===c("AdsAPIOptimizationGoals").IMPRESSIONS&&c("AdsAudienceDirectConfig").isDirectDealsUser)return true;if(k===c("AdsAPIObjectives").LINK_CLICKS&&l)k=c("AdsAPIObjectives").CANVAS_APP_ENGAGEMENT;var n=c("AdsAPIObjectiveOptimizationGoals")[k];return!!n&&!!Object.prototype.hasOwnProperty.call(n.VALID,j)},isValidForBiddingStrategy:function i(j,k,l,m,n,o){if(n)return c("AdsOptimizationUtils").canUseAveragePricePacing(j,l,null,false,o);else if(m)return c("AdsOptimizationUtils").canUseAutoBid(k,l);else return c("AdsOptimizationUtils").canUseMaxBid(j,l)},getInvalidOptimizationsForNonMeasurableLocations:function i(){return[c("AdsAPIOptimizationGoals").STORE_VISITS]},getOptimizationGoalNotices:function i(j,k,l,m){return c("AdsOptimizationGoalsDeprecationContent").getNotice(j,k,l,m)||null},_getCustomDefaultOptimizationForPageLikes:function i(j){if(c("AdsAccountUtils").hasCapability(j,c("AdsAccountCapabilities").OPTIMIZATION_DEFAULT_PAGE_LIKES_IMP))return c("AdsAPIOptimizationGoals").IMPRESSIONS;else if(c("AdsAccountUtils").hasCapability(j,c("AdsAccountCapabilities").OPTIMIZATION_DEFAULT_PAGE_LIKES_RCH))return c("AdsAPIOptimizationGoals").REACH;return null},_getCustomDefaultOptimizationForPostEngagement:function i(j){if(c("AdsAccountUtils").hasCapability(j,c("AdsAccountCapabilities").OPTIMIZATION_DEFAULT_POST_ENGAG_IMP))return c("AdsAPIOptimizationGoals").IMPRESSIONS;else if(c("AdsAccountUtils").hasCapability(j,c("AdsAccountCapabilities").OPTIMIZATION_DEFAULT_POST_ENGAG_RCH))return c("AdsAPIOptimizationGoals").REACH;return null}};f.exports=h}),null);
__d("AdsFluxStoreSearchSource",["AbstractAsyncSearchSource","promiseStoreGet"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h,i;function j(m,n,o,p){c("promiseStoreGet")(n.store,function(){return n.getData(m.value)}).done(function(q){return o(q||[])},function(q){return p(q)})}function k(m){return m}h=babelHelpers.inherits(l,c("AbstractAsyncSearchSource"));i=h&&h.prototype;function l(m){if(!m.bootstrapRequests)m.bootstrapRequests=m.queryRequests;i.constructor.call(this,m,j,k)}f.exports=l}),null);
__d("AdsSelectedAccountIDGetter",["AdsGetter"],(function a(b,c,d,e,f,g){"use strict";var h,i;h=babelHelpers.inherits(j,c("AdsGetter"));i=h&&h.prototype;j.getPath=function(){return"selected_account_id"};function j(){h.apply(this,arguments)}f.exports=j}),null);
__d("AdsFilteringObjectType",[],(function a(b,c,d,e,f,g){f.exports=Object.freeze({ADGROUP:"adgroup",CAMPAIGN:"campaign",CAMPAIGN_GROUP:"campaign_group",AD:"ad",ADSET:"adset"})}),null);
__d("AdsReviewAPIErrorType",["errorCode"],(function a(b,c,d,e,f,g,h){"use strict";var i={AFFILIATE_PENALTY_VIOLATION:1885595,POLICY_VIOLATION:1885178,TEXT_OVERLAY_VIOLATION:1885113};f.exports=i}),null);
__d("IntegrityAPIConversions",["AdContentFeedbackTypes","AdsImageUtils","AdsUtils","CROWAdDisapprovalReasons","CROWCompsType","IntegrityAPIConversionsConstants","Map"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h=c("IntegrityAPIConversionsConstants").TEXT_OVERLAY_REASONS,i=Object.freeze({PROACTIVE_AD:"uncategorized",PROACTIVE_AD_ACCOUNT:"account_id",PROACTIVE_AD_BODY_TEXT:"body",PROACTIVE_AD_CAMPAIGN:"campaign_id",PROACTIVE_AD_IMAGE:"image_hash",PROACTIVE_AD_LANDING_PAGE:"link_url",PROACTIVE_AD_TARGET_SPEC:"targeting",PROACTIVE_AD_TITLE_TEXT:"title"}),j=function(){var j={};Object.keys(i).forEach(function(m){j[i[m]]=m});return j}(),k=new(c("Map"))(),l={getApprovedFeedback:function m(n){return{adHash:n,data:{},warningData:{},feedback:c("AdContentFeedbackTypes").APPROVE,imageUniqueIdentifierToBoxesAndPolicy:k,creativeID:null}},fromAPIErrorData:function m(n,o,p){var q=l._getImageUniqueIdentifier(p);return this.fromAPIErrorDataWithIdentifier(n,o,q)},fromAPIErrorDataWithIdentifier:function m(n,o,p){var q=n.feedback_data,r=n.creative_id,s=l._divideImageWarnings(q,h),t=s[0],u=s[1],v=Object.keys(t).length>0?c("AdContentFeedbackTypes").REJECT:c("AdContentFeedbackTypes").APPROVE;return{adHash:o,creativeID:r,data:t,warningData:u,feedback:v,imageUniqueIdentifierToBoxesAndPolicy:l._getTextOverlayPolicyInfo(p,q)}},_divideImageWarnings:function m(n,o){__p&&__p();var p={};if(!n||!n[c("CROWCompsType").PROACTIVE_AD_IMAGE])return[n,p];if(Object.keys(n[c("CROWCompsType").PROACTIVE_AD_IMAGE]).length===0)return[n,p];var q=c("AdsUtils").clone(n),r=q[c("CROWCompsType").PROACTIVE_AD_IMAGE];delete q[c("CROWCompsType").PROACTIVE_AD_IMAGE];Object.keys(r).forEach(function(t){if(o.has(t)){p[t]=r[t];delete r[t]}});if(Object.keys(r).length>0)q[c("CROWCompsType").PROACTIVE_AD_IMAGE]=r;var s={};if(Object.keys(p).length>0)s[c("CROWCompsType").PROACTIVE_AD_IMAGE]=p;return[q,s]},_getTextOverlayPolicyInfo:function m(n,o){__p&&__p();if(!o[c("CROWCompsType").PROACTIVE_AD_IMAGE])return k;var p=o[c("CROWCompsType").PROACTIVE_AD_IMAGE],q=c("CROWAdDisapprovalReasons").UNKNOWN,r=null;Object.keys(p).forEach(function(w){if(h.has(w)){r=p[w];q=w}});if(!r||!r.metadata||!r.metadata.image_url_to_penalty_info)return k;var s=r.metadata.image_url_to_penalty_info;if(Object.keys(s).length===0)return k;if(q===c("CROWAdDisapprovalReasons").UNKNOWN)return k;var t=new(c("Map"))();if(n&&Object.keys(s).length===1){var u=Object.keys(s)[0],v=s[u];this._addImageToPolicyInfo(n,v,t,q)}else Object.keys(s).forEach(function(w){var v=s[w];this._addImageToPolicyInfo(w,v,t,q)}.bind(this));return t},_addImageToPolicyInfo:function m(n,o,p,q){var r={penaltyInfo:o,policyWarning:q};p.set(n,r)},_getImageUniqueIdentifier:function m(n){var o=c("AdsImageUtils").getImageHash(n);if(o)return o;var p=c("AdsImageUtils").getImageURL(n);return p?p:null}};f.exports={fromAPIErrorDataWithIdentifier:l.fromAPIErrorDataWithIdentifier,getApprovedFeedback:l.getApprovedFeedback,fromAPIErrorData:l.fromAPIErrorData,compTypeToField:i,fieldToCompType:j}}),null);
__d("AdsReviewAPIDataLoader",["invariant","Promise","AdsFilteringObjectType","AdsGraphAPI","AdsReviewAPIErrorType","AdsReviewIPCUtils","GraphEdgeName","IntegrityAPIConversions","Set","idx"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i=new(c("Set"))(Object.keys(c("AdsReviewAPIErrorType")).map(function(k){return c("AdsReviewAPIErrorType")[k]})),j={validate:function k(l){if(l.adgroupCreateItem)return this._validateAdgroupCreate(l.adgroupCreateItem);if(l.adgroupEditItem)return this._validateAdgroupEdit(l.adgroupEditItem);if(l.campaignEditItem)return this._validateCampaignEdit(l.campaignEditItem);h(0)},_validateAdgroupCreate:function k(l){l.adgroupAPIReviewSpec.execution_options=["validate_only","synchronous_ad_review"];var m=c("AdsGraphAPI").get(f.id).adaccount(l.accountID).edge(c("GraphEdgeName").ADS).batched().post(babelHelpers["extends"]({},l.adgroupAPIReviewSpec,{adlog_sampling:0}));return this._processValidationPromise(m,l.accountID,l.adgroupAPIReviewSpec,l.adHash)},_processValidationPromise:function k(l,m,n,o){__p&&__p();return new(c("Promise"))(function(p,q){__p&&__p();l.done(function(r){c("AdsReviewIPCUtils").logSuccessfulAPICall(m);p(c("IntegrityAPIConversions").getApprovedFeedback(o))},function(r){if(!i.has(r.error_subcode)){c("AdsReviewIPCUtils").logSuccessfulAPICall(m,r.fbtrace_id);p(c("IntegrityAPIConversions").getApprovedFeedback(o))}else{c("AdsReviewIPCUtils").logFailedAPICall(m,r.fbtrace_id);p(c("IntegrityAPIConversions").fromAPIErrorData(r.error_data,o,n))}})})},_validateAdgroupEdit:function k(l){var m={execution_options:["validate_only","synchronous_ad_review"],creative:l.adgroupAPIReviewSpec.creative},n=c("AdsGraphAPI").get(f.id).object(c("AdsFilteringObjectType").AD,l.adgroupID).batched().post(babelHelpers["extends"]({},m,{adlog_sampling:0}));return this._processValidationPromise(n,l.accountID,l.adgroupAPIReviewSpec,l.adHash)},_validateCampaignEdit:function k(l){return c("AdsGraphAPI").get(f.id).object(c("AdsFilteringObjectType").ADSET,l.campaignID).batched().post(babelHelpers["extends"]({},l.campaignAPIReviewSpec,{adlog_sampling:0,execution_options:["validate_only","synchronous_ad_review"]}))}};f.exports=j}),null);
__d("BatchingQueue",["invariant"],(function a(b,c,d,e,f,g,h){__p&&__p();function i(j,k){"use strict";__p&&__p();this.batchHandler=j;this.timeout=k.timeout;this.maxBatchSize=k.maxBatchSize;this.concurrency=k.concurrency;this.useTimeout=!k.dangerouslyCallBatchHandlerSynchronously;this.timeout||this.maxBatchSize||h(0);this.nextBatch=[];this.queue=[];this.batchHandle=null;this.tasks=0;this.readyBatch=this.$BatchingQueue1.bind(this);this.batchDone=this.$BatchingQueue2.bind(this)}i.prototype.$BatchingQueue2=function(){"use strict";this.tasks--;this.$BatchingQueue3()};i.prototype.$BatchingQueue3=function(){"use strict";__p&&__p();if(this.concurrency&&this.concurrency<=this.tasks)return;var j=this.queue.shift();if(j){var k=this.batchHandler.bind(null,j,this.batchDone);this.tasks++;if(this.useTimeout)setTimeout(k,0);else k()}};i.prototype.$BatchingQueue1=function(){"use strict";this.queue.push(this.nextBatch);this.nextBatch=[];this.$BatchingQueue3();clearTimeout(this.batchHandle);this.batchHandle=null};i.prototype.add=function(j){"use strict";this.nextBatch.push(j);if(this.maxBatchSize&&this.nextBatch.length>=this.maxBatchSize){this.$BatchingQueue1();return}if(this.timeout&&!this.batchHandle)this.batchHandle=setTimeout(this.readyBatch,this.timeout)};f.exports=i}),null);
__d("AdsReviewAPIBatchingQueue",["Promise","AdsReviewAPIDataLoader","BatchingQueue"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();function h(i,j,k){this.$AdsReviewAPIBatchingQueue1=new(c("BatchingQueue"))(this.$AdsReviewAPIBatchingQueue2,{timeout:i,concurrency:j,maxBatchSize:k})}h.prototype.addAdgroupCreateItem=function(i,j,k){var l={accountID:i,adgroupAPIReviewSpec:j,adHash:k};return new(c("Promise"))(function(m,n){return this.$AdsReviewAPIBatchingQueue1.add({value:{adgroupCreateItem:l},resolve:m,reject:n})}.bind(this))};h.prototype.addAdgroupEditItem=function(i,j,k,l){var m={accountID:i,adgroupID:j,adgroupAPIReviewSpec:k,adHash:l};return new(c("Promise"))(function(n,o){return this.$AdsReviewAPIBatchingQueue1.add({value:{adgroupEditItem:m},resolve:n,reject:o})}.bind(this))};h.prototype.addCampaignEditItem=function(i,j,k){var l={campaignID:i,campaignAPIReviewSpec:j,adHash:k};return new(c("Promise"))(function(m,n){return this.$AdsReviewAPIBatchingQueue1.add({value:{campaignEditItem:l},resolve:m,reject:n})}.bind(this))};h.prototype.$AdsReviewAPIBatchingQueue2=function(i,j){var k=[];i.forEach(function(l){return k.push(c("AdsReviewAPIDataLoader").validate(l.value).then(function(m){return l.resolve(m)},function(m){return l.reject(m)}))});c("Promise").all(k).done(j)};f.exports=new h(500,1,20)}),null);
__d("AdsToggleSource",["keyMirror"],(function a(b,c,d,e,f,g){"use strict";var h=c("keyMirror")({automated_brand_lift_opt_in:null,cm_tip:null,copy:null,create:null,drawer_button:null,dropdown_button:null,edit_button:null,insights_button:null,keyboard_escape:null,keyboard_shortcut:null,reach_frequency_dialog:null,split_test_dialog:null,split_test_fix_errors:null,table_cell:null,table_error_hovercard:null,toast_card_cta:null,url:null});f.exports=h}),null);
__d("AdsScenarioUtil",["invariant","AdsInterfacesLogEvents","AdsLoadState_LEGACY","DateConsts","guid","nullthrows","performanceAbsoluteNow","performanceNavigationStart"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i=c("AdsInterfacesLogEvents").Event,j={TIMEOUT_LARGE:c("DateConsts").SEC_PER_MIN*5,TIMEOUT_SMALL:c("DateConsts").SEC_PER_MIN,generateID:function k(){return c("guid")()+"_"+c("performanceAbsoluteNow")()},scenarioStatusToEvent:function k(l){switch(l){case"success":return i.PERF_SCENARIO_SUCCEED;case"fail":return i.PERF_SCENARIO_FAIL;case"abandoned":return i.PERF_SCENARIO_ABANDON;case"timeout":return i.PERF_SCENARIO_TIMEOUT;default:h(0)}},scenarioStatusFromEvent:function k(event){return c("nullthrows")(j.scenarioStatusFromEventOrNull(event))},scenarioStatusFromEventOrNull:function k(event){switch(event){case i.PERF_SCENARIO_SUCCEED:return"success";case i.PERF_SCENARIO_FAIL:return"fail";case i.PERF_SCENARIO_ABANDON:return"abandoned";default:return undefined}},scenarioStatusFromProgressStatus:function k(l){switch(l){case c("AdsLoadState_LEGACY").LOADED:return"success";case c("AdsLoadState_LEGACY").ERROR:return"fail";case c("AdsLoadState_LEGACY").LOADING:return"timeout";default:h(0)}},relativeInstantToAbsoluteUs:function k(l){return Math.round(1e6*l)+1e3*c("performanceNavigationStart")()},durationToUs:function k(l){return Math.round(l*1e6)},scenarioDataToLoggerData:function k(l){var m=l.subeventCountsByStatus;return babelHelpers["extends"]({scenario_duration:j.durationToUs(l.interval[1]-l.interval[0]),scenario_end:j.relativeInstantToAbsoluteUs(l.interval[1]),scenario_event_occurrence_index:l.occurrenceIndex,scenario_start:j.relativeInstantToAbsoluteUs(l.interval[0]),scenario_status:l.status,scenario_subevent_abandoned_count:m&&m.abandoned,scenario_subevent_count:l.subeventCount,scenario_subevent_fail_count:m&&m.fail,scenario_subevent_success_count:m&&m.success},l.logData)}};f.exports=j}),null);
__d("AdsScenarios",["Set","abstractMethod","performanceNow"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y;z.prototype.test=function(K,L){return c("abstractMethod")("ActionMatcherBase","test")};z.prototype.clone=function(){return c("abstractMethod")("ActionMatcherBase","clone")};function z(){}h=babelHelpers.inherits(A,z);i=h&&h.prototype;function A(K){i.constructor.call(this);this.actionSet=new(c("Set"))(K);this.matchedSet=new(c("Set"))()}A.prototype.test=function(K){var L=K.type;if(this.actionSet.has(L))this.matchedSet.add(L);if(this.actionSet.size!==this.matchedSet.size)return false;this.matchedSet.clear();return true};A.prototype.clone=function(){return new A(Array.from(this.actionSet.values()))};j=babelHelpers.inherits(B,z);k=j&&j.prototype;function B(K){k.constructor.call(this);this.actionSet=new(c("Set"))(K)}B.prototype.test=function(K){return this.actionSet.has(K.type)};B.prototype.clone=function(){return new B(Array.from(this.actionSet.values()))};l=babelHelpers.inherits(C,z);m=l&&l.prototype;function C(K){m.constructor.call(this);this.actionFunction=K}C.prototype.test=function(K,L){return this.actionFunction(K,L)};C.prototype.clone=function(){return new C(this.actionFunction)};function D(K,L){this.descriptor=K;this.id=L||"";this.context={}}D.prototype.matchesAction=function(K){return c("abstractMethod")("WaitingBase","matchesAction")};D.prototype.followUp=function(K,L){return c("abstractMethod")("WaitingBase","followUp")};n=babelHelpers.inherits(E,D);o=n&&n.prototype;function E(K,L,M,N,O){o.constructor.call(this,K);this.startCallback=L;this.succeedCallback=M;this.abandonCallback=N;this.failCallback=O}E.prototype.matchesAction=function(K){return this.descriptor.start.test(K,this.context)};E.prototype.followUp=function(K,L){var M=this.startCallback();if(!this.descriptor.keepPreviousContext)this.context={};K.push(new G(this.descriptor,M,this.succeedCallback,L,this.context),new H(this.descriptor,M,this.abandonCallback,L,this.context),new I(this.descriptor,M,this.failCallback,L,this.context),new J(this.descriptor,M,this.failCallback,L,this.context));return K};p=babelHelpers.inherits(F,D);q=p&&p.prototype;function F(K,L,M,N,O){q.constructor.call(this,K,L);this.endCallback=M;this.initialAction=N;this.context=O?babelHelpers["extends"]({},O):{}}F.prototype.followUp=function(K,L){var M=void 0;if(this.descriptor.logData)M=this.descriptor.logData(this.initialAction,L);this.endCallback(this.id,M);return K.filter(function(N){return N.id!==this.id}.bind(this))};r=babelHelpers.inherits(G,F);s=r&&r.prototype;G.prototype.matchesAction=function(K){return this.descriptor.success.test(K,this.context)};function G(){r.apply(this,arguments)}t=babelHelpers.inherits(H,F);u=t&&t.prototype;H.prototype.matchesAction=function(K){var L=this.descriptor.abandon;return!!L&&L.test(K,this.context)};function H(){t.apply(this,arguments)}v=babelHelpers.inherits(I,F);w=v&&v.prototype;I.prototype.matchesAction=function(K){var L=this.descriptor.fail;return!!L&&L.test(K,this.context)};function I(){v.apply(this,arguments)}x=babelHelpers.inherits(J,F);y=x&&x.prototype;function J(K,L,M,N,O){y.constructor.call(this,K,L,M,N,O);this.startTime=c("performanceNow")()}J.prototype.matchesAction=function(K){return c("performanceNow")()-this.startTime>=this.descriptor.timeout*1e3};f.exports={ActionMatcherBase:z,ActionAnd:A,ActionOr:B,ActionFunction:C,WaitingBase:D,WaitingStart:E,WaitingSuccess:G,WaitingAbandon:H,WaitingFail:I,WaitingTimeout:J}}),null);
__d("AdsBaseScenarioLoggerStore",["AdsInterfacesScenarioTerminalStatus","AdsDataAtom","AdsInterfacesLogEvents","AdsScenarios","AdsScenarioUtil","FluxStore","abstractMethod","performance","performanceNow"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h,i,j=c("AdsInterfacesLogEvents").Event,k=c("AdsScenarios").WaitingBase,l=c("AdsScenarios").WaitingStart,m="\u2705",n="\u23f0",o="\u274c",p="\u26d4";h=babelHelpers.inherits(q,c("FluxStore"));i=h&&h.prototype;function q(){i.constructor.call(this,c("AdsDataAtom"));this.$AdsBaseScenarioLoggerStore1={};this.activeScenarios={};this.waitingList=[]}q.prototype.getStoreName=function(){return c("abstractMethod")("AdsBaseScenarioLoggerStore","getStoreName")};q.prototype.__onDispatch=function(r){__p&&__p();var s=r.action,t=[].concat(this.waitingList);for(var u=this.waitingList,v=Array.isArray(u),w=0,u=v?u:u[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var x;if(v){if(w>=u.length)break;x=u[w++]}else{w=u.next();if(w.done)break;x=w.value}var y=x;if(y.matchesAction(s))t=y.followUp(t,s)}this.waitingList=t};q.prototype.prepareScenarios=function(r){this.waitingList=r.map(function(s){return new l(s,function(){return this.scenarioStart(s.name)}.bind(this),function(t,u){return this.scenarioSucceed(t,u)}.bind(this),function(t,u){return this.scenarioAbandon(t,u)}.bind(this),function(t,u){return this.scenarioFail(t,u)}.bind(this))}.bind(this))};q.prototype.getActiveScenarios=function(){return Object.keys(this.activeScenarios).map(function(r){return this.activeScenarios[r].scenario}.bind(this))};q.prototype.getActiveScenarioIDs=function(){return Object.keys(this.activeScenarios)};q.prototype.getStateData=function(){return c("abstractMethod")("AdsBaseScenarioLoggerStore","getStateData")};q.prototype.log=function(event,r){return c("abstractMethod")("AdsBaseScenarioLoggerStore","log")};q.prototype.$AdsBaseScenarioLoggerStore2=function(r){var s=arguments.length<=1||arguments[1]===undefined?{}:arguments[1];this.log(c("AdsScenarioUtil").scenarioStatusToEvent(r.status),babelHelpers["extends"]({},c("AdsScenarioUtil").scenarioDataToLoggerData(r),this.getStateData(),s,{active_scenario_ids:[r.id],active_scenarios:[r.name]}))};q.prototype.$AdsBaseScenarioLoggerStore3=function(r,event,s){var t=arguments.length<=3||arguments[3]===undefined?{}:arguments[3],u=this.activeScenarios[r];this.log(event,babelHelpers["extends"]({},this.getStateData(),t,{scenario_status:s,active_scenarios:[u.scenario],active_scenario_ids:[r],scenario_start:c("AdsScenarioUtil").relativeInstantToAbsoluteUs(u.startTime),scenario_event_occurrence_index:u.occurrenceIndex}))};q.prototype.$AdsBaseScenarioLoggerStore4=function(r,s){var t=arguments.length<=2||arguments[2]===undefined?{}:arguments[2],u=this.activeScenarios[r];if(!u)return;this.$AdsBaseScenarioLoggerStore2({id:r,name:u.scenario,status:s,interval:[u.startTime,c("performanceNow")()/1e3],occurrenceIndex:u.occurrenceIndex},t)};q.prototype.$AdsBaseScenarioLoggerStore5=function(r){};q.prototype.$AdsBaseScenarioLoggerStore6=function(r,s){};q.prototype.scenarioStart=function(r,s){var t=c("performanceNow")()/1e3,u=c("AdsScenarioUtil").generateID(),v=this.$AdsBaseScenarioLoggerStore1[r]||1;this.activeScenarios[u]={scenario:r,startTime:t,occurrenceIndex:v};this.$AdsBaseScenarioLoggerStore1[r]=v+1;this.$AdsBaseScenarioLoggerStore5(u);this.$AdsBaseScenarioLoggerStore3(u,j.PERF_SCENARIO_START,c("AdsInterfacesScenarioTerminalStatus").START,s);return u};q.prototype.scenarioSucceed=function(r,s){this.$AdsBaseScenarioLoggerStore6(r,m);this.$AdsBaseScenarioLoggerStore4(r,"success",s);this.scenarioFinally(r,"success")};q.prototype.scenarioAbandon=function(r,s){this.$AdsBaseScenarioLoggerStore6(r,p);this.$AdsBaseScenarioLoggerStore4(r,"abandoned",s);this.scenarioFinally(r,"abandon")};q.prototype.scenarioFail=function(r,s){this.$AdsBaseScenarioLoggerStore6(r,o);this.$AdsBaseScenarioLoggerStore4(r,"fail",s);this.scenarioFinally(r,"fail")};q.prototype.scenarioFinally=function(r,s){delete this.activeScenarios[r]};q.prototype.logCustomScenario=function(r){var s=arguments.length<=1||arguments[1]===undefined?{}:arguments[1];this.$AdsBaseScenarioLoggerStore2(r,s)};f.exports=q}),null);
__d("AdsPixelServerActionTypes",["ImmutableObject","keyMirror"],(function a(b,c,d,e,f,g){"use strict";var h=c("keyMirror")({CLEAR_ERROR:null,PIXEL_ATTACHED:null,PIXEL_CREATED:null,RECEIVE_ACCOUNT_BUSINESS:null,RECEIVE_ALMOST_PIXEL_COUPON_STATS:null,RECEIVE_AUDIENCE:null,RECEIVE_BUSINESS_USERS:null,RECEIVE_DEFAULT_PIXEL:null,RECEIVE_DEFAULT_PROMOTED_OBJECT:null,RECEIVE_DIAGNOSTICS_EVENT:null,RECEIVE_DIAGNOSTICS_FIRES:null,RECEIVE_DIAGNOSTICS_INVALID_REASON:null,RECEIVE_ERROR:null,RECEIVE_INTEGRATION_SUGGESTION:null,RECEIVE_PIXEL_ACCOUNTS:null,RECEIVE_PIXEL_AUDIENCE:null,RECEIVE_PIXEL_INSTALL_STEP:null,RECEIVE_PIXEL_PARAMETERS:null,RECEIVE_PIXEL_PII_DATA:null,LOAD_PIXEL_SOURCE_STATS_BY_EVENT:null,RECEIVE_PIXEL_SOURCE_STATS_BY_EVENT:null,RECEIVE_PIXEL_SOURCE_STATS:null,RECEIVE_PIXEL_STATS_BY_EVENT:null,RECEIVE_PIXEL_STATS:null,RECEIVE_PIXEL_UNIQUE_USER_STATS:null,RECEIVE_PIXELS:null,RECEIVE_RAW_FIRES_BY_EVENT_AND_FILTER:null,RECEIVE_RAW_FIRES_BY_EVENT:null,RECEIVE_UPDATED_PIXEL_COUPON_STATS:null,WAIT_FOR_SERVER_RESPONSE:null});f.exports=new(c("ImmutableObject"))(h)}),null);
__d("AdsPixelServerClearErrorDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"CLEAR_ERROR");f.exports=h}),null);
__d("AdsPixelServerPixelAttachedDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"PIXEL_ATTACHED");f.exports=h}),null);
__d("AdsPixelServerPixelCreatedDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"PIXEL_CREATED");f.exports=h}),null);
__d("AdsPixelServerReceiveAccountBusinessDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"RECEIVE_ACCOUNT_BUSINESS");f.exports=h}),null);
__d("AdsPixelServerReceiveAlmostPixelCouponStatsDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"RECEIVE_ALMOST_PIXEL_COUPON_STATS");f.exports=h}),null);
__d("AdsPixelServerReceiveAudienceDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"RECEIVE_AUDIENCE");f.exports=h}),null);
__d("AdsPixelServerReceiveBusinessUsersDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"RECEIVE_BUSINESS_USERS");f.exports=h}),null);
__d("AdsPixelServerReceiveDefaultPixelDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"RECEIVE_DEFAULT_PIXEL");f.exports=h}),null);
__d("AdsPixelServerReceiveDefaultPromotedObjectDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"RECEIVE_DEFAULT_PROMOTED_OBJECT");f.exports=h}),null);
__d("AdsPixelServerReceiveErrorDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"RECEIVE_ERROR");f.exports=h}),null);
__d("AdsPixelServerReceiveIntegrationSuggestionDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"RECEIVE_INTEGRATION_SUGGESTION");f.exports=h}),null);
__d("AdsPixelServerReceivePixelAudienceDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"RECEIVE_PIXEL_AUDIENCE");f.exports=h}),null);
__d("AdsPixelServerReceivePixelInstallStepDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"RECEIVE_PIXEL_INSTALL_STEP");f.exports=h}),null);
__d("AdsPixelServerReceivePixelParametersDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"RECEIVE_PIXEL_PARAMETERS");f.exports=h}),null);
__d("AdsPixelServerReceivePixelPiiDataDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"RECEIVE_PIXEL_PII_DATA");f.exports=h}),null);
__d("AdsPixelServerReceivePixelSourceStatsByEventDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"RECEIVE_PIXEL_SOURCE_STATS_BY_EVENT");f.exports=h}),null);
__d("AdsPixelServerReceivePixelStatsByEventDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"RECEIVE_PIXEL_STATS_BY_EVENT");f.exports=h}),null);
__d("AdsPixelServerReceivePixelStatsDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"RECEIVE_PIXEL_STATS");f.exports=h}),null);
__d("AdsPixelServerReceivePixelUniqueUserStatsDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"RECEIVE_PIXEL_UNIQUE_USER_STATS");f.exports=h}),null);
__d("AdsPixelServerReceivePixelsDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"RECEIVE_PIXELS");f.exports=h}),null);
__d("AdsPixelServerReceiveRawFiresByEventAndFilterDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"RECEIVE_RAW_FIRES_BY_EVENT_AND_FILTER");f.exports=h}),null);
__d("AdsPixelServerReceiveRawFiresByEventDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"RECEIVE_RAW_FIRES_BY_EVENT");f.exports=h}),null);
__d("AdsPixelServerReceiveUpdatedPixelCouponStatsDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"RECEIVE_UPDATED_PIXEL_COUPON_STATS");f.exports=h}),null);
__d("AdsPixelServerWaitForServerResponseDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"WAIT_FOR_SERVER_RESPONSE");f.exports=h}),null);
__d("AdsPixelStatsTypes",[],(function a(b,c,d,e,f,g){"use strict";var h={DETECTION_METHOD:null,DEVICE:null,DIAGNOSTICS:null,DOMAIN:null,EVENT:null,PII_KEYS:null,PII_LIFT:null,TRAFFIC:null,URL:null,EVENT_VALUE_COUNT:null},i={};Object.keys(h).forEach(function(j){return i[j]=j.toLowerCase()});f.exports=i}),null);
__d("AdsPixelServerActions",["AdsDataAtom","AdsInterfacesLogger","AdsInterfacesLoggerConfigColumns","AdsPixelLoggingPrefix","AdsPixelServerActionTypes","AdsPixelServerClearErrorDataAction","AdsPixelServerPixelAttachedDataAction","AdsPixelServerPixelCreatedDataAction","AdsPixelServerReceiveAccountBusinessDataAction","AdsPixelServerReceiveAlmostPixelCouponStatsDataAction","AdsPixelServerReceiveAudienceDataAction","AdsPixelServerReceiveBusinessUsersDataAction","AdsPixelServerReceiveDefaultPixelDataAction","AdsPixelServerReceiveDefaultPromotedObjectDataAction","AdsPixelServerReceiveErrorDataAction","AdsPixelServerReceiveIntegrationSuggestionDataAction","AdsPixelServerReceivePixelAudienceDataAction","AdsPixelServerReceivePixelInstallStepDataAction","AdsPixelServerReceivePixelParametersDataAction","AdsPixelServerReceivePixelPiiDataDataAction","AdsPixelServerReceivePixelsDataAction","AdsPixelServerReceivePixelSourceStatsByEventDataAction","AdsPixelServerReceivePixelStatsByEventDataAction","AdsPixelServerReceivePixelStatsDataAction","AdsPixelServerReceivePixelUniqueUserStatsDataAction","AdsPixelServerReceiveRawFiresByEventAndFilterDataAction","AdsPixelServerReceiveRawFiresByEventDataAction","AdsPixelServerReceiveUpdatedPixelCouponStatsDataAction","AdsPixelServerWaitForServerResponseDataAction","AdsPixelStatsTypes","AdsTargetingViewActionsLogger","PixelInterfacesLoggingKeys"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h=c("AdsTargetingViewActionsLogger").attachLog({updatePixels:function i(j){c("AdsPixelServerReceivePixelsDataAction").dispatch({feedback:{pixelList:j}})},updateDefaultPixelID:function i(j){c("AdsPixelServerReceiveDefaultPixelDataAction").dispatch({data:j})},updateDefaultPromotedObject:function i(j){c("AdsPixelServerReceiveDefaultPromotedObjectDataAction").dispatch({data:j})},createPixel:function i(j){c("AdsPixelServerPixelCreatedDataAction").dispatch({pixel:j})},attachPixel:function i(){c("AdsPixelServerPixelAttachedDataAction").dispatch({})},updatePixelAudiences:function i(j,k,l){c("AdsPixelServerReceivePixelAudienceDataAction").dispatch({feedback:{pixelID:j,audiences:k,hasLoadAll:l}})},updateAudiences:function i(j,k){c("AdsPixelServerReceiveAudienceDataAction").dispatch({feedback:{audienceID:j,audience:k}})},updatePixelAccounts:function i(j,k){c("AdsDataAtom").handleUpdateFromServerResponse({actionType:c("AdsPixelServerActionTypes").RECEIVE_PIXEL_ACCOUNTS,feedback:{pixelID:j,accounts:k}})},updatePixelStats:function i(j,k,l,m){c("AdsPixelServerReceivePixelStatsDataAction").dispatch({feedback:{pixelID:k,stats:l,isUnixTime:m},statsType:j})},updateRawFiresByEvent:function i(j,event,k){c("AdsPixelServerReceiveRawFiresByEventDataAction").dispatch({feedback:{pixelID:j,raw_fires:k},event:event})},updateAlmostPixelCouponStats:function i(j){c("AdsPixelServerReceiveAlmostPixelCouponStatsDataAction").dispatch({feedback:j})},updateAlmostPixelCouponEnrollStats:function i(j){c("AdsPixelServerReceiveUpdatedPixelCouponStatsDataAction").dispatch({feedback:j})},updateRawFiresByEventAndFilter:function i(j,event,k,l,m){c("AdsPixelServerReceiveRawFiresByEventAndFilterDataAction").dispatch({feedback:{pixelID:j,raw_fires:m},event:event,filterType:k,filter:l})},updatePixelStatsByEvent:function i(j,k,event,l,m){if(j===c("AdsPixelStatsTypes").DETECTION_METHOD)c("AdsPixelServerReceivePixelSourceStatsByEventDataAction").dispatch({pixelID:k,stats:l,event:event,isUnixTime:m});else c("AdsPixelServerReceivePixelStatsByEventDataAction").dispatch({feedback:{pixelID:k,stats:l},statsType:j,event:event,isUnixTime:m})},updatePixelParameters:function i(j,event,k){c("AdsPixelServerReceivePixelParametersDataAction").dispatch({feedback:{pixelID:j,event:event,stats:k}})},updatePixelPIIParameters:function i(j,k,l){c("AdsPixelServerReceivePixelPiiDataDataAction").dispatch({feedback:{pixelID:k,stats:l},statsType:j})},updateUsersForBusiness:function i(j,k){c("AdsPixelServerReceiveBusinessUsersDataAction").dispatch({feedback:{businessID:j,users:k}})},updateAccountBusiness:function i(j){c("AdsPixelServerReceiveAccountBusinessDataAction").dispatch({feedback:{business:j}})},updateUniqueUser:function i(j,k){c("AdsPixelServerReceivePixelUniqueUserStatsDataAction").dispatch({feedback:{pixelID:j,uniqueUserData:k}})},updatePixelInstallStep:function i(j,k){c("AdsPixelServerReceivePixelInstallStepDataAction").dispatch({feedback:{pixelID:j,pixelInstallStep:k}})},updateSuggestionIntegration:function i(j){var k=j.suggestion,l=j.url;c("AdsPixelServerReceiveIntegrationSuggestionDataAction").dispatch({feedback:{suggestion:k,url:l}})},receiveError:function i(j,k){var l;c("AdsPixelServerReceiveErrorDataAction").dispatch({feedback:{error:j}});c("AdsInterfacesLogger").log({eventName:c("PixelInterfacesLoggingKeys").PIXEL_INTERFACE_ERROR,data:(l={},l[c("AdsInterfacesLoggerConfigColumns").SIGNALS_UI_EVENT_DATA]=JSON.stringify({error:j,source:k}),l)},c("AdsInterfacesLogger").LOG_TYPE_PRIMARY_APP)},clearError:function i(){c("AdsPixelServerClearErrorDataAction").dispatch({})},waitForServerResponse:function i(){c("AdsPixelServerWaitForServerResponseDataAction").dispatch({})}},{prefix:c("AdsPixelLoggingPrefix").PIXEL_SERVER_ACTION_});f.exports=h}),null);
__d("SignalsUploaderColumnMapperConstants",["keyMirrorRecursive"],(function a(b,c,d,e,f,g){"use strict";var h=c("keyMirrorRecursive")({CUSTOM_COLUMN_TYPE_VALUE:"",DEFAULT_COLUMN_TYPE_VALUE:"",ITEM_STATUSES:{MAPPED_RIGHT:"",MAPPED_WITH_ERROR:"",NON_MAPPED:"",PENDING:"",PRE_MAPPED:""},SKIP_ADDITIONAL_INFO_VALUE:"",UNDEFINED_ADDITIONAL_INFO_VALUE:""});f.exports=h}),null);
__d("SignalsNormalizationErrorScope",[],(function a(b,c,d,e,f,g){f.exports=Object.freeze({RULE:"rule",PROP:"prop"})}),null);
__d("getSignalsNormalizationErrorSummary",["immutable","SignalsNormalizationErrorScope"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h=c("immutable").List;function i(k,l,m){__p&&__p();l.errors.forEach(function(q){__p&&__p();if(q.where===c("SignalsNormalizationErrorScope").PROP){if(l.type==="prop"){var r=q.propError&&q.propError.badValues||[];r.forEach(function(v){var w=v.rawPosition!=null?Array.isArray(v.rawPosition)?v.rawPosition:[v.rawPosition]:[];k.invalidColumns=k.invalidColumns.withMutations(function(x){w.forEach(function(y){var z=x.get(y);if(z==null)x.set(y,{propPath:m,count:1});else{var A=z.propPath,B=z.count;x.set(y,{propPath:A,count:B+1})}})})})}}else if(q.where===c("SignalsNormalizationErrorScope").RULE){var s=q.ruleError&&q.ruleError.ruleSpecs.name;if(s!=null){var t=m.length===0?s:m+"."+s,u=k.namedRuleErrors.get(t);if(u!=null)u=u.push(q);else u=h([q]);k.namedRuleErrors=k.namedRuleErrors.set(t,u)}else k.otherErrors=k.otherErrors.push(q)}else k.otherErrors=k.otherErrors.push(q)});if(l.type==="compound")for(var n in l.nodes){var o=l.nodes[n],p=m.length===0?n:m+"."+n;i(k,o,p)}}function j(k){var l={invalidColumns:c("immutable").Map(),namedRuleErrors:c("immutable").Map(),otherErrors:h(),fatalErrors:h()};k.forEach(function(m){if(m.tree!=null)i(l,m.tree,"");if(m.fatalError!=null)l.fatalErrors=l.fatalErrors.push(m.fatalError)});return l}f.exports=j}),null);
__d("SignalsStringStripModes",[],(function a(b,c,d,e,f,g){f.exports=Object.freeze({WHITESPACE_ONLY:"whitespace_only",WHITESPACE_AND_PUNCTUATION:"whitespace_and_punctuation",ALL_NON_LATIN_ALPHA_NUMERIC:"all_non_latin_alpha_numeric"})}),null);
__d("SignalsValidationUtils",["SignalsStringStripModes"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h=/^[a-f0-9]{64}$/i,i=/^\s+|\s+$/g,j=/\s+/g,k=/[!\"#\$%&\'\(\)\*\+,\-\.\/:;<=>\?@ \[\\\]\^_`\{\|\}~\s]+/g,l=/\W+/g;function m(t){return typeof t==="string"?t.replace(i,""):""}function n(t){__p&&__p();var u=arguments.length<=1||arguments[1]===undefined?c("SignalsStringStripModes").WHITESPACE_ONLY:arguments[1],v="";if(typeof t==="string")switch(u){case c("SignalsStringStripModes").WHITESPACE_ONLY:v=t.replace(j,"");break;case c("SignalsStringStripModes").WHITESPACE_AND_PUNCTUATION:v=t.replace(k,"");break;case c("SignalsStringStripModes").ALL_NON_LATIN_ALPHA_NUMERIC:v=t.replace(l,"");break}return v}function o(t,u){return typeof t==="object"&&Object.prototype.hasOwnProperty.call(t,u)}function p(t,u,v){__p&&__p();var w=u.split(".");if(v===undefined)v=null;for(var x=0;x<w.length-1;x++){var y=w.shift();t=t[y]||(t[y]={})}var z=w[0];if(!o(t,z))t[z]=v;else{var A=t[z];if(Array.isArray(A))A.push(v);else t[z]=[A,v]}return t}function q(t){return typeof t==="string"&&h.test(t)}function r(t){return b.File&&t instanceof File||t instanceof Object}function s(t){var u=arguments.length<=1||arguments[1]===undefined?null:arguments[1];throw new Error("Fatal: "+t+", detail="+JSON.stringify(u))}f.exports={addValueAtPath:p,hasProp:o,isFile:r,looksLikeHashed:q,strip:n,throwFatalError:s,trim:m,STRIP_MODES:c("SignalsStringStripModes")}}),null);
__d("getSignalsSchemaSummary",["SignalsValidationUtils"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h=c("SignalsValidationUtils").hasProp,i="pii_keys";function j(l){__p&&__p();var m,n=arguments.length<=1||arguments[1]===undefined?"":arguments[1],o=l.additionalInfoURL,p=l.exampleFiles,q=l.id,r=[],s=[],t=[],u={},v={},w={},x={},y={},z={},A={},B=[],C={},D=n?n+".":"",E=l.type;if(E!=null&&l.id!=null){C[E]=C[E]||[];C[E].push(l.id)}if(l.props!=null&&Array.isArray(l.props))for(var F=0;F<l.props.length;F++){var G=l.props[F],H=G.key;if(typeof G==="object"&&H!=null){var I=G.type,J=D+H;if(I&&I.canHaveExtraProps)t.push(J);if(typeof I==="object")(function(){__p&&__p();var K=j(I,H);r.push.apply(r,K.allSimplePropKeysInSchema);s.push.apply(s,K.noUISimplePropKeysInSchema);t.push.apply(t,K.extraPropsCollectors);u=babelHelpers["extends"]({},u,K.schemasForSimplePropsInSchema);v=babelHelpers["extends"]({},v,K.typesForSimplePropKeys);w=babelHelpers["extends"]({},w,K.typesForSimplePropPaths);x=babelHelpers["extends"]({},x,K.keysForSimplePropPaths);y=babelHelpers["extends"]({},y,K.pathForSimplePropKeys);A=babelHelpers["extends"]({},A,K.keysForSubschemasWithID);for(var L in K.keysForSimplePropsTypesInSchema)if(h(K.keysForSimplePropsTypesInSchema,L)){var M;z[L]=z[L]||[];(M=z[L]).push.apply(M,K.keysForSimplePropsTypesInSchema[L])}B.push.apply(B,K.piiKeys);var N=Object.keys(K.subschemasByType);N.forEach(function(E){var O;C[E]=C[E]||[];(O=C[E]).push.apply(O,K.subschemasByType[E])})})();else{r.push(H);if(G.noUI)s.push(H);u[H]=G;v[H]=I;w[J]=I;x[J]=H;y[H]=J;if(I!=null){z[I]=z[I]||[];z[I].push(H)}if(q!=null){A[q]=A[q]||[];A[q].push(H)}if(l.type===i)B.push(H)}}}return{id:q,additionalInfoURL:o,exampleFiles:p,allSimplePropKeysInSchema:r,noUISimplePropKeysInSchema:s,extraPropsCollectors:t,schemasForSimplePropsInSchema:u,typesForSimplePropKeys:v,typesForSimplePropPaths:w,keysForSimplePropPaths:x,pathForSimplePropKeys:y,keysForSimplePropsTypesInSchema:z,keysForSubschemasWithID:A,piiKeys:B,subschemasByType:C,validIf:l.validIf}}function k(l){return j(l)}f.exports=k}),null);
__d("SignalsUploaderUtils",["immutable","SignalsUploaderColumnMapperConstants","getSignalsSchemaSummary","getSignalsNormalizationErrorSummary"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h=.95,i=c("immutable").Map,j=c("immutable").List,k=c("SignalsUploaderColumnMapperConstants").CUSTOM_COLUMN_TYPE_VALUE,l=c("SignalsUploaderColumnMapperConstants").ITEM_STATUSES,m=c("SignalsUploaderColumnMapperConstants").SKIP_ADDITIONAL_INFO_VALUE,n=c("SignalsUploaderColumnMapperConstants").UNDEFINED_ADDITIONAL_INFO_VALUE;function o(w){var x={};for(var y=0;y<w.length;y++)x[y]=w[y];return x}function p(w,x){__p&&__p();var y=c("getSignalsSchemaSummary")(x),z=y.pathForSimplePropKeys,A=y.extraPropsCollectors[0],B={};w.forEach(function(C,D){var E=void 0;if(typeof C==="string")if(z[C])E=z[C];else if(A!=null)E=A+"."+C;if(E)B[D]=E});return B}function q(w){__p&&__p();if(typeof w==="number")return 8;if(typeof w==="boolean")return 4;if(typeof w==="string"){var x=0;for(var y=0;y<w.length;y++){var z=w.charCodeAt(y);if(z<128)x+=1;else if(z<2048)x+=2;else if(z<65536)x+=3;else if(z<2097152)x+=4;else if(z<67108864)x+=5;else x+=6}return x}return 1}function r(w){var x={mappings:[],values:[]};if(w!=null){x.mappings=Object.keys(w);for(var y=0;y<x.mappings.length;y++)x.values.push(w[x.mappings[y]])}return x}function s(w,x,y){var z=JSON.parse(JSON.stringify(w));y.forEach(function(A,B){z[B+x]=A});return z}function t(w,x,y,z,A){__p&&__p();var B=w.map(function(E,F){__p&&__p();var G=y.get(String(F)),H=void 0;if(!A||A.get(F)!==l.MAPPED_WITH_ERROR){if(E===k){var I=x.get(String(F));H=I&&I.key?I.key:undefined}else if(G!==m&&G!==n)H=z.keysForSimplePropPaths[E];return H}}),C=y.reduce(function(E,F,G){var H=z.keysForSimplePropPaths[w.get(Number(G))];return H&&F!==m&&F!==n?E.set(H,F):E},i()),D=i(x.reduce(function(E,F){E[F.key]=F;return E},{}));return{mapping:B,infoForNormalization:C,customTypeInfos:D}}function u(w,x,y,z,A,B){__p&&__p();var C=arguments.length<=6||arguments[6]===undefined?h:arguments[6],D=arguments.length<=7||arguments[7]===undefined?[]:arguments[7],E=x;while(E.size<w)E=E.push(undefined);var F=void 0,G=A.size,H=c("getSignalsNormalizationErrorSummary")(A.toArray());if(G>0)F=E.map(function(L,M){__p&&__p();if(B&&B.includes(M))return l.PRE_MAPPED;if(L===k){var N=z.get(String(M));if(N==null||N.key==null||N.key==="")return l.NON_MAPPED}var O=y.get(String(M));if(L==null||O===n||O===m)return l.NON_MAPPED;var P=(H.invalidColumns.get(String(M))||{count:0}).count,Q=Math.max(1,Math.round(C*G));if(P<Q||D.indexOf(L)>-1&&P<G)return l.MAPPED_RIGHT;else return l.MAPPED_WITH_ERROR});else F=j();var I=0,J=0,K=0;F.forEach(function(L){I+=L===l.MAPPED_RIGHT;J+=L===l.MAPPED_WITH_ERROR;K+=L===l.NON_MAPPED});return{mapping:E,columnStatuses:F,mappedRightColumns:I,mappedWithErrorColumns:J,nonMappedColumns:K,errorSummary:H,sampleNormalizationResults:A}}function v(w){if(w)if(typeof w==="string")return w;else if(w.error_user_msg)return w.error_user_msg;else return w.message;return null}f.exports={arrayToObject:o,getArgumentsForNormalizationFromColumnMapping:t,getByteLength:q,getColumnStatuses:u,getMappingWithPreset:s,getPresetValueConfigFromObject:r,getPropKeysForTypes:p,COLUMN_MAPPING_ERROR_THRESHOLD:h,getHumanFriendlyAPIErrorMessage:v}}),null);
__d("XSignalsUploaderLoggerController",["XController"],(function a(b,c,d,e,f,g){f.exports=c("XController").create("/ads/signals/uploader-basic-logging/",{key:{type:"Enum",required:true,enumType:1}})}),null);
__d("SignalsUILogger",["AdsInterfacesLogEvents","AdsInterfacesLogger","AsyncRequest","AdsInterfacesLoggerConfigColumns","SignalsUploaderUtils","XSignalsUploaderLoggerController"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h=c("SignalsUploaderUtils").getHumanFriendlyAPIErrorMessage,i=c("AdsInterfacesLogEvents").EventCategory,j={};function k(l,m,n){this.$SignalsUILogger1=l;this.$SignalsUILogger3=m||Date.now();this.$SignalsUILogger2=n;this.$SignalsUILogger5=0;this.$SignalsUILogger4={}}k.prototype.$SignalsUILogger6=function(l){this.$SignalsUILogger5++;this.$SignalsUILogger4[l]=this.$SignalsUILogger4[l]||0;this.$SignalsUILogger4[l]++};k.prototype.log=function(l,m,n){var o;m=m||{};this.$SignalsUILogger6(l);var p=this.$SignalsUILogger2,q=Object.assign({},n,p!=null?{containerContext:p}:null);q.eventIndex=this.$SignalsUILogger5;q.eventCounts=this.$SignalsUILogger4;q.details=m;c("AdsInterfacesLogger").log({eventName:l,eventCategory:i.USER_ACTION,data:(o={},o[c("AdsInterfacesLoggerConfigColumns").EVENT_SOURCE]=this.$SignalsUILogger1,o[c("AdsInterfacesLoggerConfigColumns").ACTUAL_EVENT_TIME]=Date.now(),o[c("AdsInterfacesLoggerConfigColumns").SIGNALS_UI_EVENT_DATA]=JSON.stringify(q),o[c("AdsInterfacesLoggerConfigColumns").SIGNALS_UI_LOGGER_SESSION_ID]=this.$SignalsUILogger3,o[c("AdsInterfacesLoggerConfigColumns").AT_SECTION]=m.atSection,o[c("AdsInterfacesLoggerConfigColumns").TO_SECTION]=m.toSection,o[c("AdsInterfacesLoggerConfigColumns").ERROR_TYPE]=m.errorType,o[c("AdsInterfacesLoggerConfigColumns").ERROR_CODE]=m.errorCode,o[c("AdsInterfacesLoggerConfigColumns").MESSAGE]=m.errorMessage,o)},c("AdsInterfacesLogger").LOG_TYPE_PRIMARY_APP)};k.prototype.logEvent=function(l,m){this.log(l,null,m)};k.prototype.logError=function(l,m,n,o){var p={errorCode:m.code,errorFBTraceID:m.fbtrace_id,errorMessage:h(m),errorStackTrace:m.stack,errorSubCode:m.error_subcode,errorType:m.type},q=Object.assign({},p,o);this.log(l,q,n)};k.prototype.getContainerContext=function(){return this.$SignalsUILogger2};k.prototype.setContainerContext=function(l){this.$SignalsUILogger2=l};k.prototype.getLoggerSessionID=function(){return this.$SignalsUILogger3};k.logToCounter=function(l){new(c("AsyncRequest"))().setAllowCrossOrigin(true).setURI(c("XSignalsUploaderLoggerController").getURIBuilder().setEnum("key",l).getURI()).setErrorHandler(function(m){}).send()};k.getAppLogger=function(l){if(j[l]==null)j[l]=new k(l);return j[l]};k.getDefaultLogger=function(){return k.getAppLogger("_default_")};f.exports=k}),null);
__d("SignalsHomeLogger",["SignalsUILogger"],(function a(b,c,d,e,f,g){"use strict";var h=new(c("SignalsUILogger"))("signals-home",Date.now());f.exports=h}),null);
__d("SignalsHomeLoggedDispatcher",["AdsDataAtom","SignalsHomeLogger"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h={handleUpdateFromViewAction:function i(j,k){var l=babelHelpers["extends"]({},k||j);delete l.type;var m=l.error;delete l.error;if(m!=null)c("SignalsHomeLogger").logError(j.type,m,l);else c("SignalsHomeLogger").logEvent(j.type,l);c("AdsDataAtom").handleUpdateFromViewAction(j)},handleUpdateFromServerResponse:function i(j,k){var l=babelHelpers["extends"]({},k||j);delete l.type;var m=l.error;delete l.error;if(m!=null)c("SignalsHomeLogger").logError(j.type,m,l);else c("SignalsHomeLogger").logEvent(j.type,l);c("AdsDataAtom").handleUpdateFromServerResponse(j)}};f.exports=h}),null);
__d("SignalsLoadObjectStore",["AdsDataAtom","FluxLoadObjectStore","SignalsHomeLoggedDispatcher","abstractMethod"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h,i;h=babelHelpers.inherits(j,c("FluxLoadObjectStore"));i=h&&h.prototype;function j(){i.constructor.call(this,c("AdsDataAtom"))}j.prototype.reduce=function(k,l){var m=l.action;switch(m.type){case this.__getName()+"-success":return this.__handleOne(k,m.key,m.result);case this.__getName()+"-error":return this.__handleOne(k,m.key,m.error);case this.__getName()+"-clear":return k["delete"](m.key);default:return this.__customReduce(k,l)}};j.prototype.clearKeyLater=function(k){setTimeout(function(){c("SignalsHomeLoggedDispatcher").handleUpdateFromServerResponse({type:this.__getName()+"-clear",key:k})}.bind(this),0)};j.prototype.__customReduce=function(k,l){return k};j.prototype.__load=function(k){this.__getLoader(k).done(function(l){return c("SignalsHomeLoggedDispatcher").handleUpdateFromServerResponse({type:this.__getName()+"-success",key:k,result:l})}.bind(this),function(l){return c("SignalsHomeLoggedDispatcher").handleUpdateFromServerResponse({type:this.__getName()+"-error",key:k,error:l})}.bind(this))};j.prototype.__loadAll=function(k){__p&&__p();var l=this.__getBatchLoader(k);if(l==null)for(var m=k,n=Array.isArray(m),o=0,m=n?m:m[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var p;if(n){if(o>=m.length)break;p=m[o++]}else{o=m.next();if(o.done)break;p=o.value}var q=p;this.__load(q)}else l.done(function(r){__p&&__p();var s=this.__parseBatchResults(k,r);for(var t=k,u=Array.isArray(t),v=0,t=u?t:t[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var w;if(u){if(v>=t.length)break;w=t[v++]}else{v=t.next();if(v.done)break;w=v.value}var x=w;if(s.has(x))c("SignalsHomeLoggedDispatcher").handleUpdateFromServerResponse({type:this.__getName()+"-success",key:x,result:s.get(x)});else this.__load(x)}}.bind(this),function(r){__p&&__p();for(var s=k,t=Array.isArray(s),u=0,s=t?s:s[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var v;if(t){if(u>=s.length)break;v=s[u++]}else{u=s.next();if(u.done)break;v=u.value}var q=v;this.__load(q)}}.bind(this))};j.prototype.__getName=function(){return c("abstractMethod")("SignalsLoadObjectStore","__getName")};j.prototype.__getLoader=function(k){return c("abstractMethod")("SignalsLoadObjectStore","__getLoader")};j.prototype.__getBatchLoader=function(k){return null};j.prototype.__parseBatchResults=function(k,l){return l};f.exports=j}),null);
__d("SignalsAdAccountPixelIDListStore",["Promise","AdsGraphAPI","GraphAPIPaging","immutable","SignalsLoadObjectStore"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h,i,j=c("immutable").List;h=babelHelpers.inherits(k,c("SignalsLoadObjectStore"));i=h&&h.prototype;k.prototype.__getName=function(){return f.id};k.prototype.__getLoader=function(l){return new(c("Promise"))(function(m,n){c("AdsGraphAPI").get(f.id).adaccount(l).edge("adspixels").get({fields:["id"],limit:300,sort_by:"LAST_FIRED_TIME"}).then(c("GraphAPIPaging").allPages()).done(function(o){m(j(o.data.map(function(p){return p.id})))},n)})};function k(){h.apply(this,arguments)}f.exports=new k()}),null);
__d("StatsTypeToAggregationType",["AdsPixelStatsTypes"],(function a(b,c,d,e,f,g){"use strict";var h,i=(h={},h[c("AdsPixelStatsTypes").DOMAIN]="host",h[c("AdsPixelStatsTypes").EVENT]="event",h[c("AdsPixelStatsTypes").TRAFFIC]="pixel_fire",h[c("AdsPixelStatsTypes").PII_KEYS]="pii_keys",h[c("AdsPixelStatsTypes").PII_LIFT]="pii_lift",h[c("AdsPixelStatsTypes").URL]="url",h[c("AdsPixelStatsTypes").DEVICE]="device_type",h[c("AdsPixelStatsTypes").DETECTION_METHOD]="event_detection_method",h[c("AdsPixelStatsTypes").EVENT_VALUE_COUNT]="event_value_count",h);f.exports=i}),null);
__d("XAdsDefaultPixelController",["XController"],(function a(b,c,d,e,f,g){f.exports=c("XController").create("/ads/pixel/default_pixel/",{account_id:{type:"Int",required:true},domains:{type:"StringVector",required:true}})}),null);
__d("XAdsPixelDefaultConversionController",["XController"],(function a(b,c,d,e,f,g){f.exports=c("XController").create("/ads/pixels/default_conversion/",{account_id:{type:"Int",required:true}})}),null);
__d("XAdsPixelStepperController",["XController"],(function a(b,c,d,e,f,g){f.exports=c("XController").create("/ads/pixel/pixel_stepper/",{pixel_id:{type:"Int",required:true},pixel_install_progress:{type:"Enum",required:true,enumType:1}})}),null);
__d("XAdsPixelUniqueUserController",["XController"],(function a(b,c,d,e,f,g){f.exports=c("XController").create("/ads/pixels/unique_user/",{pixel_id:{type:"Int",required:true}})}),null);
__d("XAdsSignalsPixelCouponController",["XController"],(function a(b,c,d,e,f,g){f.exports=c("XController").create("/ads/pixel/pixel_coupon/",{account_id:{type:"Int",required:true},pixel_id:{type:"Int",required:true}})}),null);
__d("XAdsSignalsPixelCouponStageUpdateController",["XController"],(function a(b,c,d,e,f,g){f.exports=c("XController").create("/ads/pixel/pixel_coupon/update_coupon_stage/",{account_id:{type:"Int",required:true},pixel_id:{type:"Int",required:true},coupon_progress:{type:"Enum",required:true,enumType:1}})}),null);
__d("XFacebookPixelMegaphoneLogDismissAsyncController",["XController"],(function a(b,c,d,e,f,g){f.exports=c("XController").create("/pixel/megaphone/log/dismiss/",{})}),null);
__d("XFacebookPixelMegaphoneLogViewAsyncController",["XController"],(function a(b,c,d,e,f,g){f.exports=c("XController").create("/pixel/megaphone/log/view/",{})}),null);
__d("AdsPixelDataManager",["invariant","Promise","AdsAccountStore","AdsAccountStoreWrapper_DEPRECATED","AdsGraphAPI","AdsInterfacesLogger","AdsPixelServerActions","AdsPixelStatsTypes","AdsPixelStatusUtils","AppConstants.brands","AsyncRequest","CustomAudienceTosUtils","GraphAPIFieldUtils","SignalsAdAccountPixelIDListStore","StatsTypeToAggregationType","XAdsDefaultPixelController","XAdsPixelDefaultConversionController","XAdsPixelStepperController","XAdsPixelUniqueUserController","XAdsSignalsPixelCouponController","XAdsSignalsPixelCouponStageUpdateController","XFacebookPixelMegaphoneLogDismissAsyncController","XFacebookPixelMegaphoneLogViewAsyncController","getByPath"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i=c("AppConstants.brands").DEFAULT_API_LIMIT,j=["external_event_source"],k=["account_id","name"],l=["id","name"],m=["code","creation_time","enable_automatic_events","last_fired_time","is_created_by_business","name","owner_business",c("GraphAPIFieldUtils").getFieldWithSubfields("owner_ad_account",k),"shared_agencies"],n={loadPixels:function o(){c("AdsGraphAPI").get(f.id).adaccount(c("AdsAccountStoreWrapper_DEPRECATED").getAccountID()).edge("adspixels").get({fields:m}).done(function(p){return c("AdsPixelServerActions").updatePixels(p.data)},function(p){return c("AdsPixelServerActions").receiveError(p,"loadPixels")})},loadPixel:function o(p){c("AdsGraphAPI").get(f.id).object("adspixel",p).get({fields:m}).done(function(q){return c("AdsPixelServerActions").updatePixels([q])},function(q){return c("AdsPixelServerActions").receiveError(q,"loadPixel")})},acceptTOS:function o(){var p=c("CustomAudienceTosUtils").getTosRequirements().website_custom_audience;c("AdsGraphAPI").get(f.id).adaccount(c("AdsAccountStoreWrapper_DEPRECATED").getAccountID()).edge("customaudiencestos").post({accountId:c("AdsAccountStoreWrapper_DEPRECATED").getAccountID(),tos_id:p}).done(function(q){c("AdsAccountStoreWrapper_DEPRECATED").setTosAccepted()},function(q){return c("AdsPixelServerActions").receiveError(q,"acceptTOS")})},createPixel:function o(p,q,r,s){__p&&__p();c("AdsInterfacesLogger").log({eventName:"facebook_pixel_create_pixel_attempt"},c("AdsInterfacesLogger").LOG_TYPE_PRIMARY_APP);c("AdsPixelServerActions").waitForServerResponse();p=p.toString();c("AdsGraphAPI").get(f.id).adaccount(c("AdsAccountStoreWrapper_DEPRECATED").getAccountID()).edge("adspixels").post({name:p}).done(function(t){return c("AdsGraphAPI").get(f.id).object("adspixels",t.id).get({fields:m}).done(function(t){c("AdsPixelServerActions").createPixel(t);c("AdsPixelServerActions").updatePixels([t]);c("AdsInterfacesLogger").log({eventName:"facebook_pixel_create_pixel_success"},c("AdsInterfacesLogger").LOG_TYPE_PRIMARY_APP);q&&q(t.id);if(s!=null&&s!="")c("SignalsAdAccountPixelIDListStore").clearKeyLater(s)})},function(t){c("AdsPixelServerActions").receiveError(t,"createPixel");c("AdsInterfacesLogger").log({eventName:"facebook_pixel_create_pixel_fail"},c("AdsInterfacesLogger").LOG_TYPE_PRIMARY_APP);r&&r(t)})},editPixel:function o(p,q,r){c("AdsGraphAPI").get(f.id).object("adspixel",p).post(q).done(function(s){r&&r(s);if(s.success)c("AdsPixelServerActions").updatePixels([Object.assign({id:p},q)])},function(s){return c("AdsPixelServerActions").receiveError(s,"editPixel")})},loadPixelDiagnosticsFires:function o(p){c("AdsGraphAPI").get(f.id).object("adspixel",p).edge("stats").get({aggregation:"diagnostics_fire",start_time:c("AdsPixelStatusUtils").getStatsStartTime()}).done(function(q){c("AdsPixelServerActions").updatePixelDiagnosticsFires(p,q.data)},function(q){return c("AdsPixelServerActions").receiveError(q,"loadPixelDiagnosticsFires")})},loadPixelDiagnosticsStats:function o(p){c("AdsGraphAPI").get(f.id).object("adspixel",p).edge("stats").get({aggregation:"diagnostics_event",start_time:c("AdsPixelStatusUtils").getStatsStartTime()}).done(function(q){c("AdsPixelServerActions").updatePixelDiagnosticsStats(p,q.data)},function(q){return c("AdsPixelServerActions").receiveError(q,"loadPixelDiagnosticsStats")})},loadAudiences:function o(p){c("AdsGraphAPI").get(f.id).adaccount(c("AdsAccountStoreWrapper_DEPRECATED").getAccountID()).edge("customaudiences").get({pixel_id:p,fields:l}).done(function(q){c("AdsPixelServerActions").updatePixelAudiences(p,q.data,c("getByPath")(q,["paging","next"])?false:true)},function(q){return c("AdsPixelServerActions").receiveError(q,"loadAudiences")})},loadAudience:function o(p){c("AdsGraphAPI").get(f.id).object("customaudience",p).get({fields:j}).done(function(q){c("AdsPixelServerActions").updateAudiences(p,q)},function(q){return c("AdsPixelServerActions").receiveError(q,"loadAudience")})},loadPixelAccounts:function o(p,q){c("AdsGraphAPI").get(f.id).object("adspixel",p).edge("shared_accounts").get({business:q,fields:k}).done(function(r){c("AdsPixelServerActions").updatePixelAccounts(p,r.data)},function(r){return c("AdsPixelServerActions").receiveError(r,"loadPixelAccounts")})},loadRawFiresByEvent:function o(p,event){c("AdsGraphAPI").get(f.id).object("adspixel",p).edge("raw_fires").get({event:event}).done(function(q){c("AdsPixelServerActions").updateRawFiresByEvent(p,event,q.data)},function(q){return c("AdsPixelServerActions").receiveError(q,"loadRawFiresByEvent")})},loadRawFiresByEventAndFilter:function o(p,event,q,r){c("AdsGraphAPI").get(f.id).object("adspixel",p).edge("raw_fires").get({event:event,filter_type:c("StatsTypeToAggregationType")[q],filter:r}).done(function(s){c("AdsPixelServerActions").updateRawFiresByEventAndFilter(p,event,q,r,s.data)},function(s){return c("AdsPixelServerActions").receiveError(s,"loadRawFiresByEventAndFilter")})},loadStatsByEvent:function o(p,q,event){var r=arguments.length<=3||arguments[3]===undefined?true:arguments[3],s=arguments.length<=4||arguments[4]===undefined?true:arguments[4],t=arguments.length<=5||arguments[5]===undefined?false:arguments[5],u=arguments.length<=6||arguments[6]===undefined?false:arguments[6];p in c("StatsTypeToAggregationType")||h(0);var v=s?c("AdsPixelStatusUtils").getStatsMaximumStartTimeForPixel():c("AdsPixelStatusUtils").getStatsStartTime();return new(c("Promise"))(function(w,x){c("AdsGraphAPI").get(f.id).object("adspixel",q).edge("stats").get({aggregation:c("StatsTypeToAggregationType")[p],start_time:v,event:event,sanitize_url:r,receiving_automatic_events:t,date_format:u?"U":undefined}).done(function(y){c("AdsPixelServerActions").updatePixelStatsByEvent(p,q,event,y.data,u);w({event:event,pixelID:q,stats:y.data,statsType:p})},function(y){c("AdsPixelServerActions").receiveError(y,"loadStatsByEvent");x(y)})})},loadURLPagingStats:function o(p){var q=p.aggregationPagingLimit,r=p.aggregationPagingStart,s=p.pixelID,t=p.receivingAutomaticEvents,u=t===undefined?false:t,v=p.sanitizeURL,w=p.shouldUnixTimestamp,x=w===undefined?false:w,y=p.shouldUseMaxTimeRange,z=y===undefined?true:y,A=z?c("AdsPixelStatusUtils").getStatsMaximumStartTimeForPixel():c("AdsPixelStatusUtils").getStatsStartTime();c("AdsGraphAPI").get(f.id).object("adspixel",s).edge("stats").get({aggregation_paging_limit:q,aggregation_paging_start:r,aggregation:c("StatsTypeToAggregationType")[c("AdsPixelStatsTypes").URL],date_format:x?"U":undefined,receiving_automatic_events:u,sanitize_url:v,start_time:A}).done(function(B){c("AdsPixelServerActions").updatePixelStats(c("AdsPixelStatsTypes").URL,s,B.data,x)},function(B){return c("AdsPixelServerActions").receiveError(B,"loadStats")})},loadStats:function o(p,q){var r=arguments.length<=2||arguments[2]===undefined?true:arguments[2],s=arguments.length<=3||arguments[3]===undefined?true:arguments[3],t=arguments.length<=4||arguments[4]===undefined?false:arguments[4],u=arguments.length<=5||arguments[5]===undefined?false:arguments[5];p in c("StatsTypeToAggregationType")||h(0);var v=s?c("AdsPixelStatusUtils").getStatsMaximumStartTimeForPixel():c("AdsPixelStatusUtils").getStatsStartTime();c("AdsGraphAPI").get(f.id).object("adspixel",q).edge("stats").get({aggregation:c("StatsTypeToAggregationType")[p],start_time:v,sanitize_url:r,receiving_automatic_events:t,date_format:u?"U":undefined}).done(function(w){c("AdsPixelServerActions").updatePixelStats(p,q,w.data,u)},function(w){return c("AdsPixelServerActions").receiveError(w,"loadStats")})},loadEventParameters:function o(event,p){if(!event)return;c("AdsGraphAPI").get(f.id).object("adspixel",p).edge("stats").get({event:event,aggregation:"custom_data_field",start_time:c("AdsPixelStatusUtils").getStatsStartTime()}).done(function(q){c("AdsPixelServerActions").updatePixelParameters(p,event,q.data)},function(q){return c("AdsPixelServerActions").receiveError(q,"loadEventParameters")})},loadPIIData:function o(p,q){q in c("StatsTypeToAggregationType")||h(0);c("AdsGraphAPI").get(f.id).object("adspixel",p).edge("stats").get({aggregation:c("StatsTypeToAggregationType")[q],start_time:c("AdsPixelStatusUtils").getStatsStartTime()}).done(function(r){c("AdsPixelServerActions").updatePixelPIIParameters(q,p,r.data)},function(r){return c("AdsPixelServerActions").receiveError(r,"loadPIIData")})},loadAccountBusiness:function o(){c("AdsGraphAPI").get(f.id).adaccount(c("AdsAccountStoreWrapper_DEPRECATED").getAccountID()).get({fields:["business"]}).done(function(p){c("AdsPixelServerActions").updateAccountBusiness(c("getByPath")(p,["business","id"]))},function(p){return c("AdsPixelServerActions").receiveError(p,"loadAccountBusiness")})},loadUsersForBusiness:function o(p){c("AdsGraphAPI").get(f.id).object("business",p).edge("userpermissions").get({limit:i}).done(function(q){c("AdsPixelServerActions").updateUsersForBusiness(p,q.data)},function(q){return c("AdsPixelServerActions").receiveError(q,"loadUsersForBusiness")})},loadUniqueUser:function o(p){var q=c("XAdsPixelUniqueUserController").getURIBuilder().setInt("pixel_id",p).getURI();new(c("AsyncRequest"))().setURI(q).setHandler(function(r){c("AdsPixelServerActions").updateUniqueUser(p,r.payload)}).setErrorHandler(function(r){return c("AdsPixelServerActions").receiveError(r,"loadUniqueUser")}).send()},loadPixelInstalProgress:function o(p,q){var r=c("XAdsPixelStepperController").getURIBuilder().setInt("pixel_id",p).setEnum("pixel_install_progress",q).getURI();new(c("AsyncRequest"))().setURI(r).setHandler(function(s){c("AdsPixelServerActions").updatePixelInstallStep(s.payload.pixel_id,s.payload.pixel_install_progress)}).setErrorHandler(function(s){c("AdsPixelServerActions").receiveError(s,"loadPixelInstalProgress")}).send()},loadDefaultPixelID:function o(p){var q=c("XAdsDefaultPixelController").getURIBuilder().setInt("account_id",c("AdsAccountStoreWrapper_DEPRECATED").getAccountID()).setStringVector("domains",p).getURI();new(c("AsyncRequest"))().setURI(q).setHandler(function(r){c("AdsPixelServerActions").updateDefaultPixelID(r.payload)}).setErrorHandler(function(r){return c("AdsPixelServerActions").receiveError(r,"loadDefaultPixelID")}).send()},loadAlmostPixelCouponStats:function o(p){if(!p)return;var q=c("AdsAccountStore").getSelectedAccountID(),r=c("XAdsSignalsPixelCouponController").getURIBuilder().setInt("account_id",q).setInt("pixel_id",p).getURI();new(c("AsyncRequest"))().setURI(r).setHandler(function(s){c("AdsPixelServerActions").updateAlmostPixelCouponStats(s.payload)}).setErrorHandler(function(s){return c("AdsPixelServerActions").receiveError(s,"loadDefaultPixelID")}).send()},updateAlmostPixelCouponStats:function o(p,q,r){var s=c("XAdsSignalsPixelCouponStageUpdateController").getURIBuilder().setInt("account_id",p).setInt("pixel_id",q).setEnum("coupon_progress",r).getURI();new(c("AsyncRequest"))().setURI(s).setHandler(function(t){var u=t.payload;c("AdsPixelServerActions").updateAlmostPixelCouponEnrollStats(u)}).setErrorHandler(function(t){return c("AdsPixelServerActions").receiveError(t,"updateAlmostPixelCouponStats")}).send()},loadDefaultPromotedObject:function o(){var p=c("AdsAccountStore").getSelectedAccountID(),q=c("XAdsPixelDefaultConversionController").getURIBuilder().setInt("account_id",p).getURI();new(c("AsyncRequest"))().setURI(q).setHandler(function(r){c("AdsPixelServerActions").updateDefaultPromotedObject(r.payload)}).setErrorHandler(function(r){return c("AdsPixelServerActions").receiveError(r,"loadDefaultPromotedObject")}).send()},onPixelMegaphoneClosed:function o(){var p=c("XFacebookPixelMegaphoneLogDismissAsyncController").getURIBuilder().getURI();new(c("AsyncRequest"))(p).send()},onPixelMegaphoneViewed:function o(){var p=c("XFacebookPixelMegaphoneLogViewAsyncController").getURIBuilder().getURI();new(c("AsyncRequest"))(p).send()}};f.exports=n}),null);
__d("AdsPixelStore",["AdsAccountSelectDataAction","AdsDataAtom","AdsLoadState_LEGACY","AdsPixelDataManager","AdsPixelServerPixelCreatedDataAction","AdsPixelServerReceivePixelInstallStepDataAction","AdsPixelServerReceivePixelsDataAction","AdsPixelViewPixelMegaphoneClosedDataAction","AdsPixelViewPixelMegaphoneViewedDataAction","AdsPixelViewRefreshPixelCodeStatusDataAction","AdsPixelViewResetPixelListDataAction","AdsPixelViewUpdateTableSelectionDataAction","DateTime","FluxStore","Map","adsBaseStoreMixin_DEPRECATED","getByPath"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h,i;h=babelHelpers.inherits(j,c("FluxStore"));i=h&&h.prototype;function j(){i.constructor.call(this,c("AdsDataAtom"));c("adsBaseStoreMixin_DEPRECATED")(this);this.$AdsPixelStoreClass6()}j.prototype.getStoreName=function(){return"AdsPixelStore"};j.prototype.__onDispatch=function(l){__p&&__p();var m=l.action;switch(m.actionType){case c("AdsPixelServerReceivePixelsDataAction").actionType:this.$AdsPixelStoreClass7(m.feedback.pixelList);this.$AdsPixelStoreClass2=c("AdsLoadState_LEGACY").LOADED;this.$AdsPixelStoreClass4=c("AdsLoadState_LEGACY").LOADED;this.__emitChange();break;case c("AdsPixelServerReceivePixelInstallStepDataAction").actionType:this.$AdsPixelStoreClass8(m.feedback.pixelID.toString(),m.feedback.pixelInstallStep);this.__emitChange();break;case c("AdsPixelViewUpdateTableSelectionDataAction").actionType:this.$AdsPixelStoreClass9(m.data.selectedID);this.__emitChange();break;case c("AdsPixelViewResetPixelListDataAction").actionType:case c("AdsAccountSelectDataAction").actionType:this.$AdsPixelStoreClass6();this.__emitChange();break;case c("AdsPixelViewRefreshPixelCodeStatusDataAction").actionType:this.$AdsPixelStoreClass4=c("AdsLoadState_LEGACY").LOADING;this.$AdsPixelStoreClass10(m.data.pixelID);this.__emitChange();break;case c("AdsPixelServerPixelCreatedDataAction").actionType:this.$AdsPixelStoreClass7([m.pixel]);this.__emitChange();break;case c("AdsPixelViewPixelMegaphoneClosedDataAction").actionType:c("AdsPixelDataManager").onPixelMegaphoneClosed();break;case c("AdsPixelViewPixelMegaphoneViewedDataAction").actionType:c("AdsPixelDataManager").onPixelMegaphoneViewed();break}};j.prototype.getShouldEnableAutomaticEvents=function(l){return c("getByPath")(this.$AdsPixelStoreClass3,[l,"enable_automatic_events"])||false};j.prototype.getIsCreatedByBusiness=function(l){return c("getByPath")(this.$AdsPixelStoreClass3,[l,"is_created_by_business"])||false};j.prototype.getName=function(l){if(!l||!this.$AdsPixelStoreClass3[l])return"";return c("getByPath")(this.getPixelInfo(l),["name"])||""};j.prototype.getPixelCode=function(l){return c("getByPath")(this.getPixelInfo(l),["code"])||""};j.prototype.getPixelLastFiringTime=function(l){return c("getByPath")(this.getPixelInfo(l),["last_fired_time"])||""};j.prototype.getPixelCreationTime=function(l){return c("getByPath")(this.$AdsPixelStoreClass3,[l,"creation_time"])||""};j.prototype.getPixelCreationTimeInUnixTS=function(l,m){var n=this.getPixelCreationTime(l),o=c("DateTime").fromISOString(n,m);return o.getUnixTimestampSeconds()};j.prototype.getPixelInfo=function(l){this.$AdsPixelStoreClass11(l);return this.$AdsPixelStoreClass3[l]};j.prototype.getPixelsByID=function(l){l.forEach(function(m){return this.$AdsPixelStoreClass11(m)}.bind(this));return new(c("Map"))(l.map(function(m){return[m,this.$AdsPixelStoreClass3[m]]}.bind(this)))};j.prototype.$AdsPixelStoreClass11=function(l){if(!Object.prototype.hasOwnProperty.call(this.$AdsPixelStoreClass1,l)){this.$AdsPixelStoreClass1[l]=undefined;this.$AdsPixelStoreClass3[l]={id:l,loadState:c("AdsLoadState_LEGACY").LOADING};c("AdsPixelDataManager").loadPixel(l)}};j.prototype.getPixels=function(){if(this.$AdsPixelStoreClass2===c("AdsLoadState_LEGACY").NOT_LOADED){this.$AdsPixelStoreClass2=c("AdsLoadState_LEGACY").LOADING;c("AdsPixelDataManager").loadPixels()}return this.$AdsPixelStoreClass3};j.prototype.getPixelIDs=function(){return Object.keys(this.getPixels())};j.prototype.hasPixels=function(){return Object.keys(this.getPixels()).length>0};j.prototype.getPixelListLoadState=function(){return this.$AdsPixelStoreClass2};j.prototype.getPixelRefreshState=function(){return this.$AdsPixelStoreClass4};j.prototype.getPixelInstallStep=function(l,m){if(this.$AdsPixelStoreClass5[l]===undefined){this.$AdsPixelStoreClass5[l]={loadState:c("AdsLoadState_LEGACY").LOADING,installStep:""};c("AdsPixelDataManager").loadPixelInstalProgress(l,m)}return this.$AdsPixelStoreClass5[l].installStep};j.prototype.getIsInstallStepLoaded=function(l){return this.$AdsPixelStoreClass5[l]!==undefined&&this.$AdsPixelStoreClass5[l].loadState===c("AdsLoadState_LEGACY").LOADED};j.prototype.getAdAccountOwnPixelIDs=function(l){var m=this.getPixels();return Object.keys(m).filter(function(n){var o=c("getByPath")(m[n],["owner_ad_account","account_id"]);return o&&o===l})};j.prototype.isListLoaded=function(){return this.$AdsPixelStoreClass2===c("AdsLoadState_LEGACY").LOADED};j.prototype.$AdsPixelStoreClass10=function(l){c("AdsPixelDataManager").loadPixel(l)};j.prototype.$AdsPixelStoreClass7=function(l){l.forEach(function(m){m.id=m.id.toString();this.$AdsPixelStoreClass1[m.id]=undefined;this.$AdsPixelStoreClass3[m.id]=Object.assign(this.$AdsPixelStoreClass3[m.id]||{},m,{loadState:c("AdsLoadState_LEGACY").LOADED})}.bind(this))};j.prototype.$AdsPixelStoreClass8=function(l,m){this.$AdsPixelStoreClass5[l]={loadState:c("AdsLoadState_LEGACY").LOADED,installStep:m}};j.prototype.$AdsPixelStoreClass9=function(l){Object.keys(this.$AdsPixelStoreClass3).forEach(function(m){return this.$AdsPixelStoreClass3[m].selected=m===l}.bind(this))};j.prototype.$AdsPixelStoreClass6=function(){this.$AdsPixelStoreClass1={};this.$AdsPixelStoreClass2=c("AdsLoadState_LEGACY").NOT_LOADED;this.$AdsPixelStoreClass3={};this.$AdsPixelStoreClass4=c("AdsLoadState_LEGACY").LOADED;this.$AdsPixelStoreClass5={}};var k=new j();f.exports=k}),null);
__d("AdsCFXPlaceOrderPlaceOrderCreationEndpointSuccessDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"CF.PLACE_ORDER.PLACE_ORDER_CREATION_ENDPOINT_SUCCESS");f.exports=h}),null);
__d("AdsCFXPlaceOrderPublishSuccessDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"CF.PLACE_ORDER.PUBLISH_SUCCESS");f.exports=h}),null);
__d("AdsLeadGenFormFormLoadedDataAction",["AdsDataAction"],(function a(b,c,d,e,f,g){"use strict";var h=c("AdsDataAction").create([],"leadGenFormFormLoaded");f.exports=h}),null);
__d("AdsErrorType_DEPRECATED",["keyMirror"],(function a(b,c,d,e,f,g){"use strict";var h=c("keyMirror")({ADGROUP_CANVAS_PLACEMENT_INCOMPATIBLE:null,ADGROUP_CANVAS_UNSUPPORTED_WITH_IG:null,ADGROUP_CREATIVE_CHILD_ATTACHMENT_URL_LONG:null,ADGROUP_CREATIVE_CHILD_ATTACHMENT_VIDEO_MISSING:null,ADGROUP_CREATIVE_CHILD_IMAGE_MISSING:null,ADGROUP_CREATIVE_INVALID_PHONE_NUMBER:null,ADGROUP_CREATIVE_MESSAGE_LONG:null,ADGROUP_CREATIVE_MESSAGE_MISSING:null,ADGROUP_CREATIVE_PAGE_MESSAGE_DISABLED:null,ADGROUP_CREATIVE_PLACE_DATA_LABEL_MISSING:null,ADGROUP_CREATIVE_PLACE_DATA_NAME_MISSING:null,ADGROUP_CREATIVE_VIDEO_INVALID:null,ADGROUP_IMAGE_POLICY_VIOLATION:null,ADGROUP_MEDIA_UPLOAD_ERROR:null,ADGROUP_MESSENGER_MPA_SELECTED:null,ADGROUP_MESSENGER_VIDEO_SELECTED:null,ADGROUP_PAGE_TYPES_DOMAIN_FEED:null,ADGROUP_POLICY_VIOLATION:null,ADGROUP_UNSUPPORTED_PAGE_TYPES:null,CAMPAIGN_EMPTY_ZIP_CODES:null,CAMPAIGN_MANUAL_BIDDING_ONLY_WITH_NO_BID_AMOUNT:null,CAMPAIGN_MESSENGER_BID_AMOUNT_TOO_LOW:null,CAMPAIGN_MISSING_OPTMIZATION_GOAL:null,CAMPAIGN_MISSING_PAGE:null,CAMPAIGN_MISSING_PAGE_TYPES:null,CAMPAIGN_OPTIMIZATION_FREQUENCY_INVALID_VALUE:null,OBJECT_STORY_SPEC_DEEP_LINK:null,OBJECT_STORY_SPEC_DIRECTION_EMPTY:null});Object.keys(h).forEach(function(i){h[i]=h[i].toLowerCase()});f.exports=h}),null);
__d("AssetLibraryUITab",[],(function a(b,c,d,e,f,g){f.exports=Object.freeze({AUDIENCE:"audience",LOCATIONS:"locations",MEDIA:"media",VIDEO:"video"})}),null);
__d("AssetLibraryAppConstants.brands",["AssetLibraryUITab"],(function a(b,c,d,e,f,g){"use strict";var h=Object.freeze({SET_INITIAL_CONTEXT:"set_initial_context",UPDATE_CONTEXT:"update_context",ADD_TAG_TO_OBJECT_SUCCESS:"add_tag_to_object_success",ADD_TAG_TO_OBJECT_ERROR:"add_tag_to_object_error",EDIT_OBJECT_TAGS_SUCCESS:"edit_object_tags_success",EDIT_OBJECT_TAGS_ERROR:"edit_object_tags_error",ADD_TAGS:"add_tags",INIT_TAG:"init_tag",FETCH_TAG_ERROR:"fetch_tag_error",CREATE_TAG_START:"create_tag_start",CREATE_TAG_SUCCESS:"create_tag_success",CREATE_TAG_ERROR:"create_tag_error",DELETE_TAG_SUCCESS:"delete_tag_success",DELETE_TAG_ERROR:"delete_tag_error",RENAME_TAG_START:"rename_tag_start",RENAME_TAG_SUCCESS:"rename_tag_success",RENAME_TAG_ERROR:"rename_tag_error",SET_SEARCH_TEXT:"set_search_text",SET_SEARCH_TAG:"set_search_tag",SET_SEARCH_FOLDER:"set_search_folder",CLEAR_SEARCH:"clear_search",SEARCH_ACROSS_ASSETS_START:"search_across_assets_start",SEARCH_ACROSS_ASSETS_SUCCESS:"search_across_assets_success",SEARCH_ACROSS_ASSETS_ERROR:"search_across_assets_error",SEARCH_ACROSS_ASSETS_CLEAR:"search_across_assets_clear",INIT_SMART_FOLDER:"init_smart_folder",FETCH_SMART_FOLDER_ERROR:"fetch_smart_folder_error",INIT_TABLE_ENTRY:"init_table_entry",FETCH_TABLE_ENTRY:"fetch_table_entry",FETCH_TABLE_ENTRY_ERROR:"fetch_table_entry_error",TABLE_SORT_CHANGED:"table_sort_changed",TOGGLE_LEFT_NAV:"toggle_left_nav",TABLE_TOGGLE_SELECTION:"table_toggle_selection",TABLE_SELECT_ALL_ENTRIES:"table_select_all_entries",TABLE_DESELECT_ALL_ENTRIES:"table_deselect_all_entries",REFRESH_TABLE:"refresh_table",TABLE_REFRESHED:"table_refreshed",DELETE_IMAGES_START:"delete_images_start",DELETE_IMAGES_SUCCESS:"delete_images_success",DELETE_IMAGES_ERROR:"delete_images_error",DELETE_IMAGES_CANCELED:"DELETE_IMAGES_CANCELED"}),i=c("AssetLibraryUITab"),j=Object.freeze({NAME:"name",TAG:"tag",CREATE:"create"}),k=Object.freeze({NAME:"name",LABEL:"label",FOLDER:"folder"}),l=200,m=44;f.exports={ACTION:h,ACTION_BAR_HEIGHT:m,DEFAULT_API_LIMIT:l,SEARCH_TYPES:k,SEARCH_RESULT_TYPES:j,TABS:i}}),null);
__d("AssetLibraryAPIUtils.brands",["BizSiteIdentifier.brands"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h={getTagFieldsForAudiences:function i(){var j=[];if(c("BizSiteIdentifier.brands").isBizSite()){var k=c("BizSiteIdentifier.brands").getBusinessID();if(k)j.push("business_object_tags.business_id("+k+").fields(name)")}return j}};f.exports=h}),null);
__d("AdsAPIAssetLibraryFilteringFields",[],(function a(b,c,d,e,f,g){f.exports=Object.freeze({BUSINESS_TAG_ID:"business_tag_id",BUSINESS_SMART_FOLDER:"business_smart_folder"})}),null);
__d("AssetLibrarySearchUtils.brands",["cx","AdsAPIAssetLibraryFilteringFields","AdsGenericFilterField","AdsGenericFilterFieldType","AdsGenericFilter","AdsGenericFilterSet","AdsGenericFilterOperatorConfig","SearchableEntry","AssetLibraryAppConstants.brands"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i=c("AssetLibraryAppConstants.brands").SEARCH_RESULT_TYPES,j={getFilterSetForTag:function k(l){if(l===""||!l)return null;return new(c("AdsGenericFilterSet"))([new(c("AdsGenericFilter"))(new(c("AdsGenericFilterField"))("business_tag_id",c("AdsGenericFilterFieldType").NUMBER),c("AdsGenericFilterOperatorConfig").EQUAL.operator,l)])},getFilterSetForSmartFolder:function k(l){return new(c("AdsGenericFilterSet"))([new(c("AdsGenericFilter"))(new(c("AdsGenericFilterField"))(l.field,c("AdsGenericFilterFieldType").STRING),l.operator,l.value)])},getAssetLibraryFilteringParams:function k(l){if(!l)return[];var m=l.toAPI(),n=[];m.forEach(function(o){var p=this._getFilteringParam(o);if(p)n.push(p)}.bind(this));return n},getSearchableEntryFromTag:function k(l){return new(c("SearchableEntry"))({type:i.TAG,auxiliaryData:{iconClass:"_11_6"},uniqueID:l.id,title:l.name,keywordString:l.name})},_getFilteringParam:function k(l){var m=Object.values(c("AdsAPIAssetLibraryFilteringFields"));if(m.indexOf(l.field)>-1)return{field:l.field,operator:l.operator,value:l.value};return null}};f.exports=j}),null);
__d("BUIAdoptionUtils",["invariant"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();function i(m){switch(m){case"short":return"medium";case"normal":return"large";case"tall":return"xlarge";case undefined:return undefined;default:h(0)}}function j(m){switch(m){case"small":case"medium":return"short";case"large":return"normal";case"xlarge":case"xxlarge":return"tall";case undefined:return undefined;default:h(0)}}function k(m){switch(m){case"success":return"success";case"notify":return"information";case"recommend":return"warning";case"warn":return"error";case"quiet":return"information";case undefined:return undefined;default:h(0)}}function l(m){return function(n){return m({value:n})}}f.exports={convertHeightToSize:i,convertSelectorXUIOnChangeToSUIOnChange:l,convertSizeToHeight:j,convertUseToType:k}}),null);
__d("BUIAdoptionButton.react",["cx","BUIAdoptionUtils","React","SUIBusinessTheme","SUIButton.react","joinClasses"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i,j;i=babelHelpers.inherits(k,c("React").Component);j=i&&i.prototype;k.prototype.render=function(){return c("React").createElement(c("SUIButton.react"),babelHelpers["extends"]({theme:c("SUIBusinessTheme")},this.props))};k.getButtonSize=function(l){return c("BUIAdoptionUtils").convertHeightToSize(l.height)};k.convertSUIPropsToXUIProps=function(l){var m=l.className_DEPRECATED,n=l.borderedSides,o=l.depressed,p=l.hasHoverState,q=l.height,r=l.icon,s=l.isDepressed,t=l.layerAction,u=l.roundedCorners,v=l.style,w=l.suppressLabelOverflowTooltip,x=l.textAlign,y=l.tooltipDelay,z=l.width,A=babelHelpers.objectWithoutProperties(l,["className_DEPRECATED","borderedSides","depressed","hasHoverState","height","icon","isDepressed","layerAction","roundedCorners","style","suppressLabelOverflowTooltip","textAlign","tooltipDelay","width"]);if(z)v=babelHelpers["extends"]({},v,{padding:0,width:z});return babelHelpers["extends"]({},A,{image:r,size:c("BUIAdoptionUtils").convertHeightToSize(q),className:c("joinClasses")(m,"_1x8p",(t==="confirm"?"layerConfirm":"")+(t==="cancel"?" layerCancel":"")+(t==="button"?" layerButton":"")),depressed:s||o,style:v})};function k(){i.apply(this,arguments)}k.defaultProps=babelHelpers["extends"]({},c("SUIButton.react").defaultProps,{height:"short"});k.propTypes=c("SUIButton.react").propTypes;f.exports=k}),null);
__d("BUIAdoptionDialogButton.react",["BIGAdoptionConfig","BUIAdoptionButton.react","BUIAdoptionWrapper.react","React","SUIBusinessTheme","SUIButton.react","XUIDialogButton.react"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h,i;h=babelHelpers.inherits(j,c("React").Component);i=h&&h.prototype;j.prototype.render=function(){return c("React").createElement(c("BUIAdoptionWrapper.react"),{enabled:c("BIGAdoptionConfig").sui_dialog_button_adoption,fallback:c("React").createElement(k,this.props)},c("React").createElement(c("SUIButton.react"),babelHelpers["extends"]({theme:c("SUIBusinessTheme")},this.props)))};j.getButtonSize=function(l){return c("BUIAdoptionButton.react").getButtonSize(l)};function j(){h.apply(this,arguments)}j.defaultProps=c("SUIButton.react").defaultProps;j.propTypes=c("SUIButton.react").propTypes;function k(l){var m=c("BUIAdoptionButton.react").convertSUIPropsToXUIProps(l);m.action=l.layerAction;return c("React").createElement(c("XUIDialogButton.react"),m)}f.exports=j}),null);
__d("SUIModalCancelButton.react",["fbt","React","SUIButton.react","SUIComponent"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i,j;i=babelHelpers.inherits(k,c("SUIComponent"));j=i&&i.prototype;k.prototype.render=function(){return c("React").createElement(c("SUIButton.react"),babelHelpers["extends"]({},this.props,{label:h._("Cancel"),layerAction:"cancel"}))};function k(){i.apply(this,arguments)}k.defaultProps=c("SUIButton.react").defaultProps;f.exports=k}),null);
__d("BUIAdoptionDialogCancelButton.react",["BIGAdoptionConfig","BUIAdoptionButton.react","BUIAdoptionWrapper.react","React","SUIBusinessTheme","SUIButton.react","SUIModalCancelButton.react","XUIDialogCancelButton.react"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h,i;h=babelHelpers.inherits(j,c("React").Component);i=h&&h.prototype;j.prototype.render=function(){return c("React").createElement(c("BUIAdoptionWrapper.react"),{enabled:c("BIGAdoptionConfig").sui_dialog_button_adoption,fallback:c("React").createElement(k,this.props)},c("React").createElement(c("SUIModalCancelButton.react"),babelHelpers["extends"]({theme:c("SUIBusinessTheme")},this.props)))};j.getButtonSize=function(l){return c("BUIAdoptionButton.react").getButtonSize(l)};function j(){h.apply(this,arguments)}j.defaultProps=c("SUIButton.react").defaultProps;j.propTypes=c("SUIButton.react").propTypes;function k(l){var m=c("BUIAdoptionButton.react").convertSUIPropsToXUIProps(l);m.action=l.layerAction;return c("React").createElement(c("XUIDialogCancelButton.react"),m)}f.exports=j}),null);
__d("SUIModalOkayButton.react",["fbt","React","SUIButton.react","SUIComponent"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i,j;i=babelHelpers.inherits(k,c("SUIComponent"));j=i&&i.prototype;k.prototype.render=function(){return c("React").createElement(c("SUIButton.react"),babelHelpers["extends"]({},this.props,{label:h._("OK")}))};function k(){i.apply(this,arguments)}k.defaultProps=c("SUIButton.react").defaultProps;k.propTypes={layerAction:c("SUIButton.react").propTypes.layerAction.isRequired};f.exports=k}),null);
__d("BUIAdoptionDialogOkayButton.react",["BIGAdoptionConfig","BUIAdoptionButton.react","BUIAdoptionWrapper.react","React","SUIBusinessTheme","SUIButton.react","SUIModalOkayButton.react","XUIDialogOkayButton.react"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h,i;h=babelHelpers.inherits(j,c("React").Component);i=h&&h.prototype;j.prototype.render=function(){return c("React").createElement(c("BUIAdoptionWrapper.react"),{enabled:c("BIGAdoptionConfig").sui_dialog_button_adoption,fallback:c("React").createElement(k,this.props)},c("React").createElement(c("SUIModalOkayButton.react"),babelHelpers["extends"]({theme:c("SUIBusinessTheme")},this.props)))};j.getButtonSize=function(l){return c("BUIAdoptionButton.react").getButtonSize(l)};function j(){h.apply(this,arguments)}j.defaultProps=c("SUIButton.react").defaultProps;j.propTypes=c("SUIButton.react").propTypes;function k(l){var m=c("BUIAdoptionButton.react").convertSUIPropsToXUIProps(l);m.action=l.layerAction;return c("React").createElement(c("XUIDialogOkayButton.react"),m)}f.exports=j}),null);
__d("BUIAdoptionHorizontalLayout.react",["BUIAdoptionWrapper.react","React","SUIBusinessTheme","SUIHorizontalLayout.react"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h,i;h=babelHelpers.inherits(j,c("React").Component);i=h&&h.prototype;j.prototype.render=function(){var k=c("React").createElement(c("SUIHorizontalLayout.react"),babelHelpers["extends"]({},this.props,{theme:c("SUIBusinessTheme")}),this.props.children);return c("React").createElement(c("BUIAdoptionWrapper.react"),{enabled:true,fallback:k},k)};function j(){h.apply(this,arguments)}f.exports=j}),null);
__d("LocalDateInterval",["invariant","DateConsts","LocalDate","PeriodUnit","TimeInterval","Timezone"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i=c("Timezone").UTC;function j(k,l){k.compare(l)<=0||h(0);this.start=k;this.end=l}j.create=function(k,l){return new j(k,l)};j.prototype.equals=function(k){return this.start.equals(k.start)&&this.end.equals(k.end)};j.prototype.hashCode=function(){return this.start.hashCode()+this.end.hashCode()};j.prototype.join=function(k){return j.create(this.start.min(k.start),this.end.max(k.end))};j.prototype.contains=function(k){return this.start.isBeforeOrEqual(k)&&k.isBefore(this.end)};j.prototype.measure=function(k){return this.measureDateBasedUnit(k)};j.prototype.measureDateBasedUnit=function(k){__p&&__p();var l=this.start,m=this.end,n=void 0;switch(k){case c("PeriodUnit").year:n=m.getYear()-l.getYear();return l.addYears(n).compare(m)<=0?n:n-1;case c("PeriodUnit").month:n=m.getYear()-l.getYear();var o=m.getMonth()-l.getMonth(),p=12*n+o;for(var q=p;Math.max(0,p-2)<q;q-=1)if(l.addMonths(q).compare(m)<=0)break;return q;case c("PeriodUnit").week:return Math.floor(this.measureDateBasedUnit(c("PeriodUnit").day)/c("DateConsts").DAYS_PER_WEEK);case c("PeriodUnit").day:return Math.round((m.toInstant(i)-l.toInstant(i))/c("DateConsts").SEC_PER_DAY);default:h(0)}};j.prototype.toDuration=function(){return c("DateConsts").SEC_PER_DAY*this.measure("day")};j.prototype.toPeriod=function(){return this.toPeriodIn(c("PeriodUnit").canonicalDateUnits)};j.prototype.toPeriodIn=function(k){if(k.length===0)return{};else{var l=k[0],m={};m[l]=this.measure(l);Object.assign(m,j.create(this.start.add(m),this.end).toPeriodIn(k.slice(1)));return m}};j.fromDateTimes=function(k,l){return new j(c("LocalDate").fromDateTime(k),c("LocalDate").fromDateTime(l))};j.fromStrings=function(k,l){return new j(c("LocalDate").fromISOString(k),c("LocalDate").fromISOString(l))};j.fromTimeInterval=function(k){return j.fromDateTimes(k.getStartDateTime(),k.getEndDateTime())};j.prototype.toTimeInterval=function(k){return c("TimeInterval").create(this.start.toInstant(k),this.end.toInstant(k),k)};j.prototype.toString=function(){return"("+this.start.toString()+", "+this.end.toString()+")"};f.exports=j}),null);
__d("BUIDateRangePresets",["fbt","LocalDateInterval"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i={TODAY:{calculateInterval:function j(k){return new(c("LocalDateInterval"))(k,k.addDays(1))},text:h._("Today"),value:"today"},YESTERDAY:{calculateInterval:function j(k){return new(c("LocalDateInterval"))(k.subtractDays(1),k)},text:h._("Yesterday"),value:"yesterday"},LAST_7D:{calculateInterval:function j(k){return new(c("LocalDateInterval"))(k.subtractDays(7),k)},text:h._("Last 7 days"),value:"last_7d"},LAST_14D:{calculateInterval:function j(k){return new(c("LocalDateInterval"))(k.subtractDays(14),k)},text:h._("Last 14 days"),value:"last_14d"},LAST_28D:{calculateInterval:function j(k){return new(c("LocalDateInterval"))(k.subtractDays(28),k)},text:h._("Last 28 days"),value:"last_28d"},LAST_30D:{calculateInterval:function j(k){return new(c("LocalDateInterval"))(k.subtractDays(30),k)},text:h._("Last 30 days"),value:"last_30d"},LAST_7_DAYS:{calculateInterval:function j(k){return new(c("LocalDateInterval"))(k.subtractDays(7),k)},calculateIntervalIncludingToday:function j(k){return new(c("LocalDateInterval"))(k.subtractDays(7),k.addDays(1))},text:h._("Last 7 days"),value:"last_7_days"},LAST_14_DAYS:{calculateInterval:function j(k){return new(c("LocalDateInterval"))(k.subtractDays(14),k)},calculateIntervalIncludingToday:function j(k){return new(c("LocalDateInterval"))(k.subtractDays(14),k.addDays(1))},text:h._("Last 14 days"),value:"last_14_days"},LAST_28_DAYS:{calculateInterval:function j(k){return new(c("LocalDateInterval"))(k.subtractDays(28),k)},calculateIntervalIncludingToday:function j(k){return new(c("LocalDateInterval"))(k.subtractDays(28),k.addDays(1))},text:h._("Last 28 days"),value:"last_28_days"},THIS_MONTH:{calculateInterval:function j(k){var l=k.startOfMonth();return new(c("LocalDateInterval"))(l,k.addDays(1))},text:h._("This month"),value:"this_month"},THIS_QUARTER:{calculateInterval:function j(k){var l=k.startOfMonth();return new(c("LocalDateInterval"))(l.addMonths(-(k.month-1)%3),k.addDays(1))},text:h._("This quarter"),value:"this_quarter"},THIS_YEAR:{calculateInterval:function j(k){return new(c("LocalDateInterval"))(k.startOfYear(),k.addDays(1))},text:h._("This year"),value:"this_year"}};f.exports=i}),null);
__d("OfferDiscountBarcodeType",[],(function a(b,c,d,e,f,g){f.exports=Object.freeze({CODE128:"CODE128",CODE128B:"CODE128B",CODE93:"CODE93",DATABAR:"DATABAR",DATABAR_EXPANDED:"DATABAR_EXPANDED",DATABAR_EXPANDED_STACKED:"DATABAR_EXPANDED_STACKED",DATABAR_LIMITED:"DATABAR_LIMITED",DATAMATRIX:"DATAMATRIX",EAN:"EAN",PDF417:"PDF417",QR:"QR",UPC_A:"UPC_A",UPC_E:"UPC_E"})}),null);
__d("OfferComposerConstants.react",["LocalDate","OfferConstants","OfferDiscountBarcodeType","Timezone"],(function a(b,c,d,e,f,g){var h=c("Timezone").getEnvironmentTimezoneID,i=c("Timezone").UTC,j=h()||i,k=c("LocalDate").today(j),l=new RegExp(c("OfferConstants").promoCodeRegex),m={DIALOG_MIN_PADDING_TO_BOTTOM:220,DIALOG_WIDTH:940,DIALOG_WIDTH_NUX:740,FIXED_TOP_POSITION:325,IMAGE_WIDTH_DESKTOP:470,IMAGE_WIDTH_DESKTOP_CAROUSEL:300,IMAGE_WIDTH_MOBILE:350,IMAGE_WIDTH_MOBILE_CAROUSEL:230,IMAGE_RATIO:1.913,IMAGE_RATIO_CAROUSEL:1,SCHEDULE_WIDTH:450,IN_STORE_OFFER_URL:"https://fb.me",PAGE_IMAGE_SIZE:40,SCROLLABLE_AREA_INITIAL_HEIGHT:590,MAX_LENGTH_DESCRIPTION:250,MAX_LENGTH_DISCOUNT_CODE:40,MAX_LENGTH_TERMS_AND_CONDITIONS:5e3,MAX_LENGTH_TITLE:50,PROMO_CODE_REGEX:l,DAYS_IN_MONTH:30,LOCAL_TIMEZONE_ID:j,MIN_MINUTES_FOR_SCHEDULE:15,NOW:k,ONE_MINUTE_IN_MS:6e4,ONE_YEAR_FROM_NOW:c("LocalDate").create(k.getYear()+1,k.getMonth(),k.getDayOfMonth()-1),SECONDS_IN_DAY:86400,DEFAULT_HAS_BARCODE_CHAR_LIMIT:false,HELP_CENTER_LINK:"https://www.facebook.com/business/help/584726725020570",HELP_CENTER_LINK_UNIQUE_CODES:"https://www.facebook.com/business/help/1181893525262443",CREATIVE_TYPE:{PHOTO:"photo",VIDEO:"video"},OFFER_CODE_TYPE:babelHelpers["extends"]({DISCOUNT_CODE:"discount_code",BARCODE:"BARCODE",NO_CODE:"no_code"},c("OfferDiscountBarcodeType")),OFFER_CODE_CATEGORY:{GENERIC_CODE:"generic_code",UNIQUE_CODES:"unique_codes",NO_CODE:"no_code"},OFFER_REFERRER:{AYMT_VDAY:"aymt_vday",PAGE_PROFILE_HOME_MODAL_UNKNOWN:"page_profile_home_modal_unknown"},SIMPLE_COMPOSE_FUNNEL:"WWW_OFFERS_SIMPLE_COMPOSE_FUNNEL",SIMPLE_COMPOSE_V2_FUNNEL:"WWW_OFFERS_SIMPLE_COMPOSE_POST_LIKE_FUNNEL"};f.exports=m}),null);
__d("PhoneNumberError",[],(function a(b,c,d,e,f,g){"use strict";var h,i;h=babelHelpers.inherits(j,Error);i=h&&h.prototype;function j(k){i.constructor.call(this);this.defaultXUIError=k}f.exports=j}),null);
__d("PhoneNumber",["fbt","invariant","Promise","GraphAPI","immutable","PhoneNumberCategory","PhoneNumberError","cachedGraphAPI"],(function a(b,c,d,e,f,g,h,i){"use strict";__p&&__p();var j,k,l=["category","display_number","region_code","region_codes","uri"].join(","),m=c("cachedGraphAPI")(c("GraphAPI")("2.8").root("phone_number")).cacheFor(60),n=h._("Please make sure to provide a valid phone number."),o=/tel:(.*)/;j=babelHelpers.inherits(p,c("immutable").Record({category:0,displayNumber:"",regionCode:"",regionCodes:[],uri:""}));k=j&&j.prototype;function p(){j.apply(this,arguments)}function q(r){r instanceof p||i(0);this.$PhoneNumber1=r}q.prototype.getCategory=function(){return this.$PhoneNumber1.category};q.prototype.getDisplayNumber=function(){return this.$PhoneNumber1.displayNumber};q.prototype.getRegionCodes=function(){return this.$PhoneNumber1.regionCodes};q.prototype.getURI=function(){return this.$PhoneNumber1.uri};q.isTelURI=function(r){return!!r&&!!r.match(o)};q.getRawNumberFromTelURI=function(r){var s=r.match(o);if(!s)return null;return s[1]};q.parseNumber=function(r,s){__p&&__p();if(!r)return c("Promise").reject(new(c("PhoneNumberError"))(n));var t={fields:l,number:r};if(s)t.region=s;return m.get(t).then(function(u){if(!u.data||u.data.length!==1)return c("Promise").reject(new(c("PhoneNumberError"))(n));var v=u.data[0];return new q(new p({category:c("PhoneNumberCategory")[v.category],displayNumber:v.display_number,regionCode:v.region_code,regionCodes:v.region_codes,uri:v.uri}))})};q.fields=l;q.TEL_URI_SCHEME="tel";q.TEL_URI_PREFIX=q.TEL_URI_SCHEME+":";f.exports=q}),null);
__d("SUIModalConfirmButton.react",["fbt","React","SUIButton.react","SUIComponent"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i,j;i=babelHelpers.inherits(k,c("SUIComponent"));j=i&&i.prototype;k.prototype.render=function(){return c("React").createElement(c("SUIButton.react"),babelHelpers["extends"]({},this.props,{label:h._("Confirm"),layerAction:"confirm",use:"confirm"}))};function k(){i.apply(this,arguments)}k.defaultProps=c("SUIButton.react").defaultProps;f.exports=k}),null);
__d("SUINoticeGroup.react",["React","SUIComponent","SUITheme"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h,i,j=c("React").PropTypes;h=babelHelpers.inherits(k,c("SUIComponent"));i=h&&h.prototype;k.prototype.render=function(){var l=c("SUITheme").get(this).SUINoticeGroup.margin,m=c("React").Children.toArray(this.props.children).filter(function(n){return n}).map(function(n,o){return c("React").createElement("div",{key:o,style:{marginTop:o?l:0}},n)});return c("React").createElement("div",{"data-testid":this.props["data-testid"]},m)};function k(){h.apply(this,arguments)}k.propTypes={"data-testid":j.string,theme:j.instanceOf(c("SUITheme"))};f.exports=k}),null);
__d("SUITabItem.react",["cx","React","SUIComponent","SUITheme","SUITooltip.react","TabBarItem.react","emptyFunction","joinClasses"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i,j,k=c("React").Element,l=200;i=babelHelpers.inherits(m,c("SUIComponent"));j=i&&i.prototype;function m(){__p&&__p();var n,o;for(var p=arguments.length,q=Array(p),r=0;r<p;r++)q[r]=arguments[r];return o=(n=j.constructor).call.apply(n,[this].concat(q)),this.state={isHovering:false,isMouseDown:false},this.$SUITabItem1=function(){this.setState({isHovering:true});if(this.props.onMouseEnter)this.props.onMouseEnter()}.bind(this),this.$SUITabItem2=function(){this.setState({isHovering:false});if(this.props.onMouseLeave)this.props.onMouseLeave()}.bind(this),this.$SUITabItem3=function(){this.setState({isMouseDown:true});if(this.props.onMouseDown)this.props.onMouseDown()}.bind(this),this.$SUITabItem4=function(){this.setState({isMouseDown:false});if(this.props.onMouseUp)this.props.onMouseUp()}.bind(this),this.$SUITabItem5=function(){this.props.onClick(this.props.value)}.bind(this),o}m.prototype.render=function(){var n=c("SUITheme").get(this).SUITabItem,o=this.props,p=o.className,q=o.icon,r=o.isActive,s=o.isClickable,t=o.isDisabled,u=o.label,v=r?n.activeTypeStyle:n.typeStyle,w=void 0;if(r)w=n.activeBorderBottomColor;else if(this.state.isHovering)w=n.hoverBorderBottomColor||n.hoverBackgroundColor;var x=t?{color:n.disabledColor}:{},y=babelHelpers["extends"]({borderBottomColor:w},v,x,{lineHeight:n.height+"px"}),z=babelHelpers["extends"]({},n.activeTypeStyle,{lineHeight:n.height+"px"}),A=q?c("React").cloneElement(q,{active:r,className:c("joinClasses")(q.props.className,"_ur6")}):null,B=c("React").createElement("span",{"aria-hidden":true,className:"_60ol",style:z},A,u),C=c("React").createElement("span",{className:"_60om"},c("React").createElement("span",{className:c("joinClasses")("_2ztj _m_6"+(r?" _4i1f":"")+(!s||t?" _3mmj":"")+(this.state.isMouseDown?" _1_mq":""),p),"data-testid":this.props["data-testid"],style:y},A,u),B),D=this.props,E=D.shouldWrapTab,F=D.tabIndex,G=D.selected,H=D.focused,I=D.hideFocusRing,J=D.onFocus,K=D.onBlur,L=D.mockSpacebarClick,M=H&&I;return c("React").createElement(c("TabBarItem.react"),{className:"_1_mp",focused:H,hideFocusRing:M,mockSpacebarClick:L,onBlur:K,onClick:t?c("emptyFunction"):this.$SUITabItem5,onFocus:J,onMouseDown:t?c("emptyFunction"):this.$SUITabItem3,onMouseEnter:t?c("emptyFunction"):this.$SUITabItem1,onMouseLeave:t?c("emptyFunction"):this.$SUITabItem2,onMouseUp:t?c("emptyFunction"):this.$SUITabItem4,selected:G,shouldWrapTab:E,tabIndex:F},!this.props.tooltip?C:c("React").createElement(c("SUITooltip.react"),{tooltip:this.props.tooltip,tooltipDelay:l},C),this.props.separator)};m.defaultProps={isClickable:true,isDisabled:false};f.exports=m}),null);
__d("SUITabGroup.react",["cx","Map","React","SUIComponent","SUISelector.react","SUISelectorOption.react","SUITabItem.react","SUITheme","TabBar.react","emptyFunction","joinClasses"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i,j,k,l,m=c("React").Element,n=c("React").PureComponent,o=200;i=babelHelpers.inherits(p,c("SUIComponent"));j=i&&i.prototype;function p(){__p&&__p();var r,s;for(var t=arguments.length,u=Array(t),v=0;v<t;v++)u[v]=arguments[v];return s=(r=j.constructor).call.apply(r,[this].concat(u)),this.$SUITabGroup2=new(c("Map"))(),this.$SUITabGroup3=function(w,event){if(this.$SUITabGroup4(w)||this.$SUITabGroup5(w))return false;var x=this.props.onChange;if(x&&this.props.value!==w)x(w,event);return true}.bind(this),this.$SUITabGroup6=function(w){clearTimeout(this.$SUITabGroup1);this.$SUITabGroup2.forEach(function(x,y){if(x&&y!==w)x.hideMenu()});var x=this.$SUITabGroup2.get(w);if(x)x.showMenu()}.bind(this),this.$SUITabGroup7=function(w){this.$SUITabGroup1=setTimeout(function(){var x=this.$SUITabGroup2.get(w);if(x)x.hideMenu()}.bind(this),o)}.bind(this),this.$SUITabGroup8=function(){clearTimeout(this.$SUITabGroup1)}.bind(this),this.$SUITabGroup9=function(){this.$SUITabGroup1=setTimeout(function(){this.$SUITabGroup2.forEach(function(w){if(w)w.hideMenu()})}.bind(this),o)}.bind(this),s}p.prototype.$SUITabGroup10=function(r,s){return!!r&&r.filter(function(t){return t.value===s}).length>0};p.prototype.$SUITabGroup5=function(r){return this.props.tabs.some(function(s){return s.value===r&&s.subItems&&s.subItems.length})};p.prototype.$SUITabGroup4=function(r){return this.props.tabs.some(function(s){return s.value===r&&s.isDisabled})};p.prototype.$SUITabGroup11=function(){var r=c("SUITheme").get(this),s=r.SUITabGroup;return new(c("SUITheme"))({id:"suitabgroupcomposite",components:{SUISelector:r.SUISelector,SUISelectorOption:babelHelpers["extends"]({},r.SUISelectorOption,s.subItem,{selectedIcon:c("React").createElement("div",{style:{background:s.activeIndicatorColor,height:"29px",left:"0",position:"absolute",width:"2px"}})}),SUITabItem:r.SUITabItem}})};p.prototype.render=function(){var r=c("SUITheme").get(this),s=r.SUITabGroup,t=r.SUITabItem,u=this.props.value!==null&&this.props.value!==undefined?this.props.value:this.props.tabs.length?this.props.tabs[0].value:null;this.$SUITabGroup2=new(c("Map"))();return c("React").createElement(c("TabBar.react"),{activeTabKey:u,className:c("joinClasses")(this.props.className,this.props.margin),onTabClick:this.$SUITabGroup3},this.props.tabs.map(function(v,w){var x=s.dividerColor&&w<this.props.tabs.length-1,y=!x?null:c("React").createElement("div",{className:"_57p3 _3mmj",style:{backgroundColor:s.dividerColor,height:t.height*.6}});if(!v.subItems||!v.subItems.length)return c("React").createElement(c("SUITabItem.react"),{"data-testid":v["data-testid"],icon:v.icon,isActive:v.value===u,isDisabled:v.isDisabled,key:v.value,label:v.label,onClick:c("emptyFunction"),separator:y,theme:this.props.theme,tooltip:v.tooltip,value:v.value});return c("React").createElement("div",{className:"_57rm",key:v.value},c("React").createElement(c("SUISelector.react"),{button:c("React").createElement(q,{"data-testid":v["data-testid"],icon:v.icon,isActive:this.$SUITabGroup10(v.subItems,u),isClickable:false,isDisabled:v.isDisabled,label:v.label,onClick:c("emptyFunction"),onMouseEnter:this.$SUITabGroup6,onMouseLeave:this.$SUITabGroup7,theme:this.props.theme,tooltip:v.tooltip,value:v.value}),onChange:this.$SUITabGroup3,onMouseEntersMenu:this.$SUITabGroup8,onMouseLeavesMenu:this.$SUITabGroup9,ref:function(z){return this.$SUITabGroup2.set(v.value,z)}.bind(this),shouldHideOnBlur:false,theme:this.$SUITabGroup11(),value:this.$SUITabGroup10(v.subItems,u)?u:null},v.subItems.map(function(z){return c("React").createElement(c("SUISelectorOption.react"),{key:z.value,value:z.value},z.label)})),y)}.bind(this)))};k=babelHelpers.inherits(q,n);l=k&&k.prototype;function q(r,s){l.constructor.call(this,r,s);this.$SelectorTabItem1=function(){this.props.onMouseEnter(this.props.value)}.bind(this);this.$SelectorTabItem2=function(){this.props.onMouseLeave(this.props.value)}.bind(this)}q.prototype.render=function(){return c("React").createElement(c("SUITabItem.react"),{"data-testid":this.props["data-testid"],isActive:this.props.isActive,isClickable:this.props.isClickable,isDisabled:this.props.isDisabled,label:this.props.label,onClick:this.props.onClick,onMouseEnter:this.$SelectorTabItem1,onMouseLeave:this.$SelectorTabItem2,theme:this.props.theme,tooltip:this.props.tooltip,value:this.props.value})};f.exports=p}),null);
/**
 * License: https://www.facebook.com/legal/license/1QmcY1n1lnu/
 */
__d("color-picker-clamp",[],(function a(b,c,d,e,f,g){function h(i,j,k){return i<j?j:i>k?k:i}f.exports=h}),null);
/**
 * License: https://www.facebook.com/legal/license/vfsLEdIq8Nr/
 */
__d("color-picker-draggable-mixin",["React","color-picker-clamp"],(function a(b,c,d,e,f,g){__p&&__p();var h=c("React"),i=c("color-picker-clamp");function j(){}var k={propTypes:{onChange:h.PropTypes.func,max:h.PropTypes.number},getDefaultProps:function(){return{onChange:j,max:1}},getInitialState:function(){return{active:false}},componentDidMount:function(){document.addEventListener("mousemove",this.handleUpdate);document.addEventListener("touchmove",this.handleUpdate);document.addEventListener("mouseup",this.stopUpdates);document.addEventListener("touchend",this.stopUpdates)},componentWillUnmount:function(){document.removeEventListener("mousemove",this.handleUpdate);document.removeEventListener("touchmove",this.handleUpdate);document.removeEventListener("mouseup",this.stopUpdates);document.removeEventListener("touchend",this.stopUpdates)},startUpdates:function(l){var m=this.getPosition(l);this.setState({active:true});this.updatePosition(m.x,m.y)},handleUpdate:function(l){if(this.state.active){l.preventDefault();var m=this.getPosition(l);this.updatePosition(m.x,m.y)}},stopUpdates:function(){if(this.state.active)this.setState({active:false})},getPosition:function(l){if(l.touches)l=l.touches[0];return{x:l.clientX,y:l.clientY}},getPercentageValue:function(l){return l/this.props.max*100+"%"},getScaledValue:function(l){return i(l,0,1)*this.props.max}};f.exports=k}),null);
/**
 * License: https://www.facebook.com/legal/license/9vpgcXj7XNQ/
 */
__d("color-picker-map",["cx","React","ReactDOM","ReactComponentWithPureRenderMixin","color-picker-draggable-mixin"],(function a(b,c,d,e,f,g,h){var i=c("React").createClass({displayName:"Map",mixins:[c("color-picker-draggable-mixin"),c("ReactComponentWithPureRenderMixin")],propTypes:{x:c("React").PropTypes.number,y:c("React").PropTypes.number,backgroundColor:c("React").PropTypes.string},getDefaultProps:function j(){return{x:0,y:0,backgroundColor:"transparent"}},updatePosition:function j(k,l){var m=c("ReactDOM").findDOMNode(this).getBoundingClientRect(),n=(k-m.left)/m.width,o=(m.bottom-l)/m.height;n=this.getScaledValue(n);o=this.getScaledValue(o);this.props.onChange(n,o)},render:function j(){var k="map"+(this.state.active?" active":"");return c("React").createElement("div",{className:"_4uwo "+this.props.className+" "+k,onMouseDown:this.startUpdates,onTouchStart:this.startUpdates},c("React").createElement("div",{className:"background",style:{backgroundColor:this.props.backgroundColor}}),c("React").createElement("div",{className:"pointer",style:{left:this.getPercentageValue(this.props.x),bottom:this.getPercentageValue(this.props.y)}}))}});f.exports=i}),null);
/**
 * License: https://www.facebook.com/legal/license/jAERg7eiCDx/
 */
__d("color-picker-slider",["cx","React","ReactDOM","ReactComponentWithPureRenderMixin","color-picker-draggable-mixin"],(function a(b,c,d,e,f,g,h){__p&&__p();var i=c("React").createClass({displayName:"Slider",mixins:[c("color-picker-draggable-mixin"),c("ReactComponentWithPureRenderMixin")],propTypes:{vertical:c("React").PropTypes.bool.isRequired,value:c("React").PropTypes.number.isRequired},getDefaultProps:function j(){return{value:0}},updatePosition:function j(k,l){var m=c("ReactDOM").findDOMNode(this).getBoundingClientRect(),n;if(this.props.vertical)n=(m.bottom-l)/m.height;else n=(k-m.left)/m.width;n=this.getScaledValue(n);this.props.onChange(n)},getCss:function j(){var k={},l=this.props.vertical?"bottom":"left";k[l]=this.getPercentageValue(this.props.value);return k},render:function j(){var k="slider"+(this.props.vertical?" vertical":"")+(!this.props.vertical?" horizontal":"");return c("React").createElement("div",{className:"_4_2w "+k,onMouseDown:this.startUpdates,onTouchStart:this.startUpdates},c("React").createElement("div",{className:"track"}),c("React").createElement("div",{className:"pointer",style:this.getCss()}))}});f.exports=i}),null);
/**
 * License: https://www.facebook.com/legal/license/R5LoBhE_LiW/
 */
__d("color-picker",["cx","React","color-picker-map","color-picker-slider","colr","joinClasses"],(function a(b,c,d,e,f,g,h){__p&&__p();var i,j;i=babelHelpers.inherits(k,c("React").PureComponent);j=i&&i.prototype;function k(l){"use strict";__p&&__p();j.constructor.call(this,l);this.getStateFrom=function(m){var n=c("colr").fromHex(m);return{hsv:n.toHsvObject()}};this.getLuminosity=function(){return c("colr").fromHsvObject(this.state.hsv).toGrayscale()/255}.bind(this);this.getBackgroundHue=function(){return c("colr").fromHsv(this.state.hsv.h,100,100).toHex()}.bind(this);this.handleHueChange=function(m){this.update({h:m,s:this.state.hsv.s,v:this.state.hsv.v})}.bind(this);this.handleSaturationValueChange=function(m,n){this.update({h:this.state.hsv.h,s:m,v:n})}.bind(this);this.update=function(m){var n=c("colr").fromHsvObject(m);this.props.onChange(n.toHex());this.setState({hsv:m})}.bind(this);this.state=this.getStateFrom(l.color)}k.prototype.componentWillReceiveProps=function(l){"use strict";var m=l.color,n=c("colr").fromHsvObject(this.state.hsv).toHex();if(m.toLowerCase()!==n.toLowerCase())this.setState(this.getStateFrom(m))};k.prototype.render=function(){"use strict";var l=this.getLuminosity(),m=this.getBackgroundHue(),n=(l<=.5?"dark":"")+(l>.5?" light":"");return c("React").createElement("div",{className:c("joinClasses")("_f4e",this.props.className)},c("React").createElement("div",{className:"_2ppf"},c("React").createElement(c("color-picker-slider"),{vertical:true,value:this.state.hsv.h,max:360,onChange:this.handleHueChange})),c("React").createElement(c("color-picker-map"),{x:this.state.hsv.s,y:this.state.hsv.v,max:100,className:n,backgroundColor:m,onChange:this.handleSaturationValueChange}))};k.defaultProps={className:"",color:"#000000"};f.exports=k}),null);
/**
 * License: https://www.facebook.com/legal/license/y1JMyf7YWKj/
 */
__d("sha256",["str2rstr"],(function a(b,c,d,e,f,g){__p&&__p();var h=c("str2rstr");function i(G,H){return H>>>G|H<<32-G}function j(G,H,I){return G&H^~G&I}function k(G,H,I){return G&H^G&I^H&I}function l(G){return i(2,G)^i(13,G)^i(22,G)}function m(G){return i(6,G)^i(11,G)^i(25,G)}function n(G){return i(7,G)^i(18,G)^G>>>3}function o(G){return i(17,G)^i(19,G)^G>>>10}function p(u,G){return u[G&15]+=o(u[G+14&15])+u[G+9&15]+n(u[G+1&15])}var q=new Array(1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298),r=new Array(8),s=new Array(2),t=new Array(64),u=new Array(16),v="0123456789abcdef";function w(G,H){var I=(G&65535)+(H&65535),J=(G>>16)+(H>>16)+(I>>16);return J<<16|I&65535}function x(){s[0]=s[1]=0;r[0]=1779033703;r[1]=3144134277;r[2]=1013904242;r[3]=2773480762;r[4]=1359893119;r[5]=2600822924;r[6]=528734635;r[7]=1541459225}function y(){__p&&__p();var G,H,I,J,K,L,M,N,O,P;G=r[0];H=r[1];I=r[2];J=r[3];K=r[4];L=r[5];M=r[6];N=r[7];for(var Q=0;Q<16;Q++)u[Q]=t[(Q<<2)+3]|t[(Q<<2)+2]<<8|t[(Q<<2)+1]<<16|t[Q<<2]<<24;for(var R=0;R<64;R++){O=N+m(K)+j(K,L,M)+q[R];if(R<16)O+=u[R];else O+=p(u,R);P=l(G)+k(G,H,I);N=M;M=L;L=K;K=w(J,O);J=I;I=H;H=G;G=w(O,P)}r[0]+=G;r[1]+=H;r[2]+=I;r[3]+=J;r[4]+=K;r[5]+=L;r[6]+=M;r[7]+=N}function z(G,H){__p&&__p();var I,J,K=0;J=s[0]>>3&63;var L=H&63;if((s[0]+=H<<3)<H<<3)s[1]++;s[1]+=H>>29;for(I=0;I+63<H;I+=64){for(var M=J;M<64;M++)t[M]=G.charCodeAt(K++);y();J=0}for(var M=0;M<L;M++)t[M]=G.charCodeAt(K++)}function A(){__p&&__p();var G=s[0]>>3&63;t[G++]=128;if(G<=56)for(var H=G;H<56;H++)t[H]=0;else{for(var H=G;H<64;H++)t[H]=0;y();for(var H=0;H<56;H++)t[H]=0}t[56]=s[1]>>>24&255;t[57]=s[1]>>>16&255;t[58]=s[1]>>>8&255;t[59]=s[1]&255;t[60]=s[0]>>>24&255;t[61]=s[0]>>>16&255;t[62]=s[0]>>>8&255;t[63]=s[0]&255;y()}function B(){var G=0,H=new Array(32);for(var I=0;I<8;I++){H[G++]=r[I]>>>24&255;H[G++]=r[I]>>>16&255;H[G++]=r[I]>>>8&255;H[G++]=r[I]&255}return H}function C(){var G=new String();for(var H=0;H<8;H++)for(var I=28;I>=0;I-=4)G+=v.charAt(r[H]>>>I&15);return G}function D(t){var G=0;for(var H=0;H<8;H++)for(var I=28;I>=0;I-=4)t[G++]=v.charCodeAt(r[H]>>>I&15)}function E(G,t){x();z(G,G.length);A();if(t)D(t);else return C()}function F(G,H,t){if(G===null||G===undefined)return null;H=typeof H=="undefined"?true:H;if(H)G=h(G);return E(G,t)}f.exports=F}),null);
__d("forEachDifference",["forEachObject"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();function h(i,j,k){__p&&__p();c("forEachObject")(i,function(l,m){if(Object.prototype.hasOwnProperty.call(j,m)){if(k.onBoth)k.onBoth(l,j[m],m)}else if(k.onLeft)k.onLeft(l,m)});c("forEachObject")(j,function(l,m){if(!Object.prototype.hasOwnProperty.call(i,m)&&k.onRight)k.onRight(l,m)})}f.exports=h}),null);
__d("trim",["invariant"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();function i(j,k){k.length===1||h(0);var l=j;if(l==="")return l;while(l.charAt(0)===k)l=l.slice(1);while(l.charAt(l.length-1)===k)l=l.slice(0,-1);return l}f.exports=i}),null);
__d("ElementResizeEmitter",["cx","invariant","DOM","EventListener","SubscriptionList","requestAnimationFrame"],(function a(b,c,d,e,f,g,h,i){"use strict";__p&&__p();var j,k,l=!!navigator.userAgent.match(/Trident/);j=babelHelpers.inherits(m,c("SubscriptionList"));k=j&&j.prototype;function m(n){getComputedStyle(n).position!=="static"||i(0);k.constructor.call(this,m.__setup,m.__teardown);this.$ElementResizeEmitter1=n;this.$ElementResizeEmitter2=false}m.__setup=function(){var n=document.createElement("iframe");this.$ElementResizeEmitter3=n;if(l)n.src="javascript:void((function(){document.open();document.domain="+JSON.stringify(document.domain)+";document.close();})())";n.className="_3dtr";n.onload=this.$ElementResizeEmitter4.bind(this);this.$ElementResizeEmitter1.appendChild(n)};m.__teardown=function(){if(this.$ElementResizeEmitter3){if(this.$ElementResizeEmitter5!=undefined&&this.$ElementResizeEmitter3.document!==undefined)this.$ElementResizeEmitter5.remove();c("DOM").remove(this.$ElementResizeEmitter3);this.$ElementResizeEmitter3=undefined}};m.prototype.$ElementResizeEmitter4=function(){this.$ElementResizeEmitter6();var n=void 0;try{n=this.$ElementResizeEmitter3.contentWindow;n.document}catch(o){return}this.$ElementResizeEmitter5=c("EventListener").listen(n,"resize",this.$ElementResizeEmitter6.bind(this))};m.prototype.$ElementResizeEmitter6=function(){if(this.$ElementResizeEmitter2)return;this.$ElementResizeEmitter2=true;c("requestAnimationFrame")(function(){this.fireCallbacks();this.$ElementResizeEmitter2=false}.bind(this))};f.exports=m}),null);
__d("partitionObject",["forEachObject"],(function a(b,c,d,e,f,g){"use strict";function h(i,j,k){var l={},m={};c("forEachObject")(i,function(n,o){if(j.call(k,n,o,i))l[o]=n;else m[o]=n});return[l,m]}f.exports=h}),null);
__d("partitionObjectByKey",["partitionObject"],(function a(b,c,d,e,f,g){"use strict";function h(i,j){return c("partitionObject")(i,function(k,l){return j.has(l)})}f.exports=h}),null);
__d("AdsSideTrayKeys",[],(function a(b,c,d,e,f,g){f.exports=Object.freeze({ACTIVITY_HISTORY_DRAWER:"ACTIVITY_HISTORY_DRAWER",EDITOR_DRAWER:"EDITOR_DRAWER",INSIGHTS_DRAWER:"INSIGHTS_DRAWER",NEKO_DEBUGGER_DRAWER:"NEKO_DEBUGGER_DRAWER"})}),null);
__d("ProductItemGraphApiFields",[],(function a(b,c,d,e,f,g){f.exports=Object.freeze({ADDITIONAL_IMAGE_URLS:"additional_image_urls",AGE_GROUP:"age_group",APPLINKS:"applinks",AVAILABILITY:"availability",BRAND:"brand",CATEGORY:"category",CHECKOUT_URL:"checkout_url",COLOR:"color",CONDITION:"condition",CURRENCY:"currency",CUSTOM_LABEL_0:"custom_label_0",CUSTOM_LABEL_1:"custom_label_1",CUSTOM_LABEL_2:"custom_label_2",CUSTOM_LABEL_3:"custom_label_3",CUSTOM_LABEL_4:"custom_label_4",DESCRIPTION:"description",EXPIRATION_DATE:"expiration_date",GENDER:"gender",GTIN:"gtin",ID:"id",IMAGE_URL:"image_url",INVENTORY:"inventory",MANUFACTURER_PART_NUMBER:"manufacturer_part_number",MATERIAL:"material",NAME:"name",OFFER_ADDRESS:"address",OFFER_AVAILABILITY_AREA:"availability_area",OFFER_AVAILABILITY_RADIUS:"availability_radius",PATTERN:"pattern",PRICE:"price",PRODUCT_TYPE:"product_type",RETAILER_ID:"retailer_id",RETAILER_PRODUCT_GROUP_ID:"retailer_product_group_id",SALE_PRICE:"sale_price",SALE_PRICE_END_DATE:"sale_price_end_date",SALE_PRICE_START_DATE:"sale_price_start_date",SHIPPING_WEIGHT_UNIT:"shipping_weight_unit",SHIPPING_WEIGHT_VALUE:"shipping_weight_value",SHORT_DESCRIPTION:"short_description",SIZE:"size",START_DATE:"start_date",URL:"url",VIDEO_IDS:"video_ids",CAPABILITIES:"capabilities",COMMERCE_INSIGHTS:"commerce_insights",COMMERCE_SETTINGS:"commerce_settings",CUSTOM_DATA:"custom_data",DA_DISPLAY_PREVIEW_URL:"da_display_preview_url",HAS_MAIN_IMAGE_FETCHED:"has_main_image_fetched",ORDERING_INDEX:"ordering_index",REVIEW_REJECTION_REASONS:"review_rejection_reasons",REVIEW_STATUS:"review_status",VISIBILITY:"visibility"})}),null);
__d("VideoCaptionEditEvents",[],(function a(b,c,d,e,f,g){f.exports=Object.freeze({ABORT_WAIT_GEN:"abort_wait_gen",ADD_ENTRY:"add_entry",ATTEMPT_AUTO_GENERATE_DUPLICATE:"attempt_auto_generate_duplicate",AUTO_GENERATED_ERROR:"auto_generated_error",AUTO_GENERATED_SUCCESS:"auto_generated_success",CANCEL_EDIT:"cancel_edit",CLONE_IN_SRT:"clone_in_srt",CREATE_SRT_ERROR:"create_srt_error",CREATE_SRT_SUCCESS:"create_srt_success",DOWNLOAD_ERROR:"download_error",DOWNLOAD_SUCCESS:"download_success",EDIT_ENTRY:"edit_entry",FETCHED_SUCCESS:"fetched_success",GENERATE_SUCCESS:"generate_success",GENERATE_ERROR:"generate_error",INIT_ADS_SETTING:"init_ads_setting",OPEN_EDIT_FLOW:"open_edit_flow",OPEN_EDITOR:"open_editor",PERMALINK_ERROR:"permalink_error",OPEN_PERMALINK:"open_permalink",PUBLISH_ERROR:"publish_error",PUBLISH_START:"publish_start",PUBLISH_SUCCESS:"publish_success",REMOVE_ENTRY:"remove_entry",REMOVE_FROM_AD:"remove_from_ad",REVOKE_SHARE_ERROR:"revoke_share_error",REVOKE_SHARE_SUCCESS:"revoke_share_success",REVOKE_SRT_ERROR:"revoke_srt_error",DEQUEUE_SRT_ERROR:"dequeue_srt_error",REVOKE_SRT_SUCCESS:"revoke_srt_success",SAVE_ERROR:"save_error",SAVE_FILE_CHANGE:"save_file_change",SAVE_FILE_ERROR:"save_file_error",SAVE_START:"save_start",SAVE_SUCCESS:"save_success",SAVE_TO_AD:"save_to_ad",SEND_NOTIF_ERROR:"send_notif_error",SEND_NOTIF_SUCCESS:"send_notif_success",SHARE_ERROR:"share_error",SHARE_DIALOG_OPEN:"share_dialog_open",SHARE_SUCCESS:"share_success",SWITCH_CAPTION:"switch_caption",SWITCH_REVIEW:"switch_review",UNPUBLISH_ERROR:"unpublish_error",UNPUBLISH_SUCCESS:"unpublish_success",HIDE_GENERATE_CAPTION_HEADER:"hide_generate_caption_header",RENDER_CAPTION_ENTRY:"render_caption_entry",CLICK_EDIT_AUTO_CAPTION:"click_edit_auto_caption"})}),null);
__d("VideoSubtitleStatusType",[],(function a(b,c,d,e,f,g){f.exports=Object.freeze({PROCESSING:0,SUCCEEDED:1,FAILED:2,PUBLISHED:3,SRT_REVIEWING:4,PRE_SRT_REVIEW:5,SRT_PUBLISHED:6})}),null);
__d("LeafletLayer.react",["React","Set","areEqual","forEachDifference","forEachObject","partitionObjectByKey"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h,i,j=c("React").PropTypes;h=babelHelpers.inherits(k,c("React").Component);i=h&&h.prototype;function k(){var n,o;for(var p=arguments.length,q=Array(p),r=0;r<p;r++)q[r]=arguments[r];return o=(n=i.constructor).call.apply(n,[this].concat(q)),this.$LeafletLayer1=undefined,this.$LeafletLayer2=function(s){this.$LeafletLayer1=this.props.onCreateLayer(s);this.context.onAddLayer(this.$LeafletLayer1)}.bind(this),o}k.mutateEventHandlers=function(n,o,p){if(!c("areEqual")(o,p))c("forEachDifference")(o||{},p||{},{onLeft:function q(r,s){n.on(s,r)},onRight:function q(r,s){n.off(s,r)},onBoth:function q(r,s,t){if(r!==s){n.off(t,s);n.on(t,r)}}})};k.addEventHandlers=function(n,o){if(o!=null)c("forEachObject")(o,function(p,q){n.on(q,p)})};k.prototype.componentDidMount=function(){this.$LeafletLayer2(m(this.props))};k.prototype.componentDidUpdate=function(n){var o=m(this.props),p=m(n);if(this.props.onUpdateLayer!==n.onUpdateLayer||!this.props.onUpdateLayer(this.$LeafletLayer1,o,p)){this.context.onRemoveLayer(this.$LeafletLayer1);this.$LeafletLayer2(o)}};k.prototype.componentWillUnmount=function(){this.context.onRemoveLayer(this.$LeafletLayer1);this.$LeafletLayer1=null};k.prototype.render=function(){return null};k.propTypes={onCreateLayer:j.func.isRequired,onUpdateLayer:j.func.isRequired};k.contextTypes={onAddLayer:j.func.isRequired,onRemoveLayer:j.func.isRequired};var l=new(c("Set"))(Object.keys(k.propTypes));function m(n){return c("partitionObjectByKey")(n,l)[1]}f.exports=k}),null);
__d("LeafletMapLayer.react",["invariant","LeafletLayer.react","React"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i,j,k=c("React").PropTypes;i=babelHelpers.inherits(l,c("React").Component);j=i&&i.prototype;function l(){__p&&__p();var m,n;for(var o=arguments.length,p=Array(o),q=0;q<o;q++)p[q]=arguments[q];return n=(m=j.constructor).call.apply(m,[this].concat(p)),this.$LeafletMapLayer1=function(){var r=c("React").Children.only(this.props.children);this.$LeafletMapLayer3=r;return r.type.toLayer(r.props)}.bind(this),this.$LeafletMapLayer2=function(r,s,t){var u=c("React").Children.only(this.props.children);if(u.type!==this.$LeafletMapLayer3.type)return false;this.$LeafletMapLayer3=u;return u.type.mutate(r,s,t)}.bind(this),n}l.prototype.componentDidMount=function(){var m=c("React").Children.only(this.props.children);m.type.mutate||h(0);m.type.toLayer||h(0)};l.prototype.render=function(){var m=c("React").Children.only(this.props.children);return c("React").createElement(c("LeafletLayer.react"),babelHelpers["extends"]({},m.props,{onAddLayer:this.props.onAddLayer,onRemoveLayer:this.props.onRemoveLayer,onCreateLayer:this.$LeafletMapLayer1,onUpdateLayer:this.$LeafletMapLayer2}))};l.propTypes={onAddLayer:k.func.isRequired,onRemoveLayer:k.func.isRequired};f.exports=l}),null);
__d("LeafletView",["invariant","GeoCoordinates","ImmutableObject","nearlyEqualNumbers"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i,j;i=babelHelpers.inherits(k,c("ImmutableObject"));j=i&&i.prototype;function k(l){l||h(0);l.center instanceof c("GeoCoordinates")||h(0);typeof l.zoom==="number"||h(0);j.constructor.call(this,l)}k.prototype.nearlyEquals=function(l){return this.center.nearlyEquals(l.center)&&c("nearlyEqualNumbers")(this.zoom,l.zoom)};k.prototype.setZoom=function(l){return new k({center:this.center,zoom:l})};k.prototype.setCenter=function(l){return new k({center:l,zoom:this.zoom})};k.DEFAULT=new k({center:new(c("GeoCoordinates"))(0,0),zoom:0});f.exports=k}),null);
__d("LeafletUtils",["invariant","GeoCoordinates","LeafletView","leaflet","mod"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i=c("leaflet").CRS.EPSG3857,j=360,k=j/2,l=c("leaflet").LatLng.DEG_TO_RAD,m=c("leaflet").LatLng.RAD_TO_DEG,n=c("leaflet").Projection.Mercator.R_MAJOR,o=2*Math.PI*n,p=new(c("leaflet").LatLngBounds)(new(c("leaflet").LatLng)(-j/4,-j/2),new(c("leaflet").LatLng)(j/4,j/2));function q(s){var t=s.zoomRange;Array.isArray(t)&&t.length===2||h(0);return t}var r={WHOLE_WORLD_BOUNDS:p,FULL_CIRCLE_DEG:j,fromLatLng:function s(t){return new(c("GeoCoordinates"))(t.lat,t.lng)},normalizedBounds:function s(t,u){var v=r.wrapLongitude(t.lng);u=c("leaflet").latLng(u.lat,u.lng+v-t.lng);t=c("leaflet").latLng(t.lat,v);return c("leaflet").latLngBounds(t,u)},fitBounds:function s(t,u,v){var w=v.crs||i,x=q(v),y=r.getBoundsZoom(t,u,{zoomRange:x,crs:w});if(y==null)y=x[0];var z=w.latLngToPoint(t.getSouthWest(),y),A=w.latLngToPoint(t.getNorthEast(),y),B=r.fromLatLng(w.pointToLatLng(z.add(A).divideBy(2),y));return new(c("LeafletView"))({center:B,zoom:y})},getBoundsZoom:function s(t,u,v){__p&&__p();var w=v.crs||i,x=q(v),y=c("leaflet").point(u.width,u.height),z=t.getNorthWest(),A=t.getSouthEast(),B=x[0]-1;for(;B<=x[1];++B){var C=w.latLngToPoint(A,B+1),D=w.latLngToPoint(z,B+1),E=C.subtract(D).floor();if(!y.contains(E))break}if(B<x[0])return null;if(B<=x[1])return B;return B-1},getViewBounds:function s(t,u,v){v=v||i;var w=u.width/2,x=u.height/2,y=r.toLatLng(t.center),z=v.latLngToPoint(y,t.zoom),A=v.pointToLatLng(c("leaflet").point(z.x-w,z.y+x),t.zoom),B=v.pointToLatLng(c("leaflet").point(z.x+w,z.y-x),t.zoom);return r.normalizedBounds(A,B)},isViewInBounds:function s(t,u,v,w){var x=r.getViewBounds(t,u,w),y=r.shiftBoundsLng(x,j);return v.some(function(z){return z.contains(x)||z.contains(y)})},projectCircle:function s(t,u,v){v=v||i;var w=r.toLatLng(t.center),x=v.projection,y=r.circleBounds(w,t.radius,x),z=v.latLngToPoint(y.getCenter(),u),A=v.latLngToPoint(y.getSouthWest(),u),B=v.latLngToPoint(y.getNorthEast(),u),C=c("leaflet").point(Math.round((B.x-A.x)/2),Math.round((A.y-B.y)/2));return{center:z,radius:C}},circleBounds:function s(t,u,v){v=v||i.projection;var w=t.lat,x=t.lng,y=u/n*m,z=v.project(c("leaflet").latLng(w+y,x)),A=v.project(c("leaflet").latLng(w-y,x)),B=z.add(A).divideBy(2),C=v.unproject(B).lat,D=w*l,E=C*l,F=Math.acos((Math.cos(y*l)-Math.sin(D)*Math.sin(E))/(Math.cos(D)*Math.cos(E)))*m;return c("leaflet").latLngBounds(c("leaflet").latLng(C-y,x-F),c("leaflet").latLng(C+y,x+F))},shiftBoundsLng:function s(t,u){return c("leaflet").latLngBounds([t.getSouthWest().lat,t.getSouthWest().lng+u],[t.getNorthEast().lat,t.getNorthEast().lng+u])},toLatLng:function s(t){return new(c("leaflet").LatLng)(t.latitude,t.longitude)},wrapLongitude:function s(t){return c("mod")(t+k,j)-k},areViewEqual:function s(t,u){if(!t&&!u)return true;if(!t||!u)return false;return t.zoom===u.zoom&&t.center.latitude===u.center.latitude&&t.center.longitude===u.center.longitude},metersToPixels:function s(t,u){return t/(o*Math.abs(Math.cos(u.center.latitude*l))/Math.pow(2,u.zoom+8))},distanceFromLatLng:function s(t,u,v){var w=u/n,x=v*l,y=t.lat*l,z=t.lng*l,A=Math.sin(y),B=Math.cos(y),C=Math.sin(w),D=Math.cos(w),E=Math.sin(x),F=Math.cos(x),G=A*D+B*C*F,H=Math.asin(G),I=E*C*B,J=D-A*G,K=z+Math.atan2(I,J);return new(c("leaflet").LatLng)(H*m,r.wrapLongitude(K*m))}};f.exports=r}),null);
__d("LeafletMap.react",["invariant","ElementResizeEmitter","LeafletMapLayer.react","LeafletUtils","LeafletView","React","ReactDOM","Set","debounceCore","emptyFunction","forEachDifference","leaflet","nullthrows"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i,j,k=c("React").PropTypes,l=100,m=10,n=new(c("Set"))(["dragging","touchZoom","doubleClickZoom","scrollWheelZoom","boxZoom","keyboard","tab"]),o=k.instanceOf(c("LeafletView"));function p(v){var w=v.getCenter();return new(c("LeafletView"))({center:c("LeafletUtils").fromLatLng(w),zoom:v.getZoom()})}function q(v,w){return{center:[v.center.latitude,v.center.longitude],zoom:v.zoom,attributionControl:false,layers:w,trackResize:false}}function r(v,w,x){if(!n.has(w))throw new Error("cannot change Leaflet option `"+w+"` during component lifetime");v[w][x?"enable":"disable"]()}function s(v,w,x){if(w===x)return;c("forEachDifference")(w,x,{onLeft:function y(z,A){return r(v,A,z)},onRight:function y(z,A){throw new Error("reverting Leaflet option `"+A+"` back to default is not supported")},onBoth:function y(z,A,B){if(z!==A)r(v,B,z)}})}function t(v,w,x){c("forEachDifference")(w,x,{onLeft:function y(z,A){return void v.on(A,z)},onRight:function y(z,A){return void v.off(A,z)},onBoth:function y(z,A,B){if(z!==A){v.off(B,A);v.on(B,z)}}})}i=babelHelpers.inherits(u,c("React").Component);j=i&&i.prototype;function u(){__p&&__p();var v,w;for(var x=arguments.length,y=Array(x),z=0;z<x;z++)y[z]=arguments[z];return w=(v=j.constructor).call.apply(v,[this].concat(y)),this.$LeafletMap4=function(A){if(this.$LeafletMap3){this.$LeafletMap3.addLayer(A);return}this.$LeafletMap11().push(A)}.bind(this),this.$LeafletMap5=function(A){this.$LeafletMap3!==undefined||h(0);if(this.$LeafletMap3!==null)this.$LeafletMap3.removeLayer(A)}.bind(this),w}u.prototype.getChildContext=function(){return{onAddLayer:this.$LeafletMap4,onRemoveLayer:this.$LeafletMap5}};u.prototype.componentDidMount=function(){__p&&__p();var v=Object.assign({},this.props.defaultOptions,this.props.options,q(this.$LeafletMap10(),this.$LeafletMap11())),w=this.$LeafletMap3=c("leaflet").map(c("ReactDOM").findDOMNode(this),v);(this.props.controlOptions||{}).showScale&&c("leaflet").control.scale({imperial:false,shiftRight:true}).addTo(this.$LeafletMap3);this.$LeafletMap1=null;this.$LeafletMap8=c("debounceCore")(this.$LeafletMap12.bind(this),l);t(w,this.props.eventHandlers,{});w.on("movestart",this.$LeafletMap13.bind(this));w.on("moveend",this.$LeafletMap14.bind(this));this.$LeafletMap2="still";this.$LeafletMap9=new(c("Set"))();this.$LeafletMap7=c("debounceCore")(function(x,y){if(this.$LeafletMap3)this.$LeafletMap3.setView(x,y)}.bind(this),m);this.$LeafletMap6=new(c("ElementResizeEmitter"))(c("ReactDOM").findDOMNode(this)).add(function(){var w=this.$LeafletMap3;if(w!=null){w.invalidateSize();c("nullthrows")(this.props.onSizeSettled)(w.getSize())}}.bind(this))};u.prototype.componentDidUpdate=function(v){var w=this.$LeafletMap3;if(w==null)return;var x=this.props,y=x.eventHandlers,z=x.options;t(w,y,v.eventHandlers);s(w,z,v.options);this.$LeafletMap16(v.view)};u.prototype.componentWillUnmount=function(){this.$LeafletMap6.remove();if(this.$LeafletMap3!=null)this.$LeafletMap3.remove();this.$LeafletMap3=null};u.prototype.render=function(){var v=c("React").Children.map(this.props.children,function(w,x){if(!w)return w;if(w.type.toLayer==null)return w;return c("React").createElement(c("LeafletMapLayer.react"),{key:w.key,onAddLayer:this.$LeafletMap4,onRemoveLayer:this.$LeafletMap5},w)}.bind(this));return c("React").createElement("div",{className:this.props.className,style:babelHelpers["extends"]({display:"relative"},this.props.style)},v)};u.prototype.$LeafletMap11=function(){if(!this.$LeafletMap1)this.$LeafletMap1=[];return this.$LeafletMap1};u.prototype.$LeafletMap10=function(){if(this.props.view)return this.props.view;if(this.props.defaultView)return this.props.defaultView;return c("LeafletView").DEFAULT};u.prototype.$LeafletMap14=function(){__p&&__p();if(!this.$LeafletMap3)return;var v=p(this.$LeafletMap3),w=this.$LeafletMap2;this.$LeafletMap2="still";if(this.props.view){if(w==="moving-stale"){this.$LeafletMap12();return}if(v.nearlyEquals(this.props.view))return;this.$LeafletMap8()}if(!this.props.onViewChange)return;this.props.onViewChange(v)};u.prototype.$LeafletMap13=function(){if(!this.$LeafletMap3)return;if(this.$LeafletMap2==="still")this.$LeafletMap2="moving"};u.prototype.$LeafletMap12=function(){this.$LeafletMap8.reset();if(this.$LeafletMap2==="moving")this.$LeafletMap2="moving-stale";var v=this.props.view,w=this.$LeafletMap3;if(v==null||w==null||v.nearlyEquals(p(w)))return;this.$LeafletMap7([v.center.latitude,v.center.longitude],v.zoom)};u.prototype.$LeafletMap16=function(v){var w=this.props.view;if(!w||!this.$LeafletMap3||w===v||v&&w.nearlyEquals(v))return;this.$LeafletMap12()};u.prototype.$LeafletMap15=function(v,w){if(v[w]!==this.props[w]&&!this.$LeafletMap9.has(w))this.$LeafletMap9.add(w)};u.propTypes={className:k.string,defaultOptions:k.object,defaultView:k.instanceOf(c("LeafletView")),eventHandlers:k.object,onSizeSettled:k.func,onViewChange:k.func,options:k.object,style:k.object,view:function v(w,x,y){__p&&__p();for(var z=arguments.length,A=Array(z>3?z-3:0),B=3;B<z;B++)A[B-3]=arguments[B];var C=o.apply(undefined,[w,x,y].concat(A));if(!w[x]||C)return C;if(w[x]&&w.defaultView)return new Error("You provided both `view` and `defaultView` props to LeafletMap. `defaultView` will be discarded.");if(w.onViewChange)return null;return new Error("You provided a `view` prop to LeafletMap without an `onViewChange` handler. This will prevent the user to move the view. If the view should be movable use `defaultView`. Otherwise, set `onViewChange`.")}};u.defaultProps={eventHandlers:{},onSizeSettled:c("emptyFunction"),options:{}};u.childContextTypes={onAddLayer:k.func.isRequired,onRemoveLayer:k.func.isRequired};f.exports=u}),null);
__d("LeafletMarker.react",["GeoCoordinates","LeafletLayer.react","LeafletUtils","React","areEqual","leaflet","nullthrows"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h,i;h=babelHelpers.inherits(j,c("React").Component);i=h&&h.prototype;j.prototype.$LeafletMarker1=function(k,l,m){__p&&__p();var n=m.options||{},o=n.opacity,p=n.zIndex,q=babelHelpers.objectWithoutProperties(n,["opacity","zIndex"]),r=l.options||{},s=r.opacity,t=r.zIndex,u=babelHelpers.objectWithoutProperties(r,["opacity","zIndex"]);if(!c("areEqual")(u,q))return false;if(s!==o)k.setOpacity(s);if(t!==p)k.setZIndex(t);if(l.coordinates!==m.coordinates)k.setLatLng(c("LeafletUtils").toLatLng(l.coordinates));var v=l.popup;if(v){var w=v.type.mutate(k.getPopup(),v.props,c("nullthrows")(m.popup).props);if(!w){k.unbindPopup();k.bindPopup(v.type.toLayer(v.props,k))}}else if(!v&&m.popup)k.unbindPopup();c("LeafletLayer.react").mutateEventHandlers(k,l.eventHandlers,m.eventHandlers);return true};j.prototype.$LeafletMarker2=function(k){var l=c("leaflet").marker(c("LeafletUtils").toLatLng(k.coordinates),k.options);if(k.popup)l.bindPopup(k.popup.type.toLayer(k.popup.props,l));c("LeafletLayer.react").addEventHandlers(l,k.eventHandlers);return l};j.prototype.render=function(){return c("React").createElement(c("LeafletLayer.react"),babelHelpers["extends"]({},this.props,{onCreateLayer:this.$LeafletMarker2,onUpdateLayer:this.$LeafletMarker1}))};function j(){h.apply(this,arguments)}f.exports=j}),null);
__d("LeafletTileLayer.react",["LeafletLayer.react","React","areEqual","leaflet"],(function a(b,c,d,e,f,g){__p&&__p();var h,i,j=c("React").PropTypes;h=babelHelpers.inherits(k,c("React").Component);i=h&&h.prototype;k.prototype.render=function(){"use strict";return c("React").createElement(c("LeafletLayer.react"),babelHelpers["extends"]({},this.props,{onCreateLayer:l,onUpdateLayer:m}))};function k(){"use strict";h.apply(this,arguments)}k.propTypes={options:j.object,urlTemplate:j.string.isRequired};function l(n){return c("leaflet").tileLayer(n.urlTemplate,n.options)}function m(n,o,p){__p&&__p();var q=p.options||{},r=q.opacity,s=q.zIndex,t=babelHelpers.objectWithoutProperties(q,["opacity","zIndex"]),u=o.options||{},v=u.opacity,w=u.zIndex,x=babelHelpers.objectWithoutProperties(u,["opacity","zIndex"]);if(!c("areEqual")(x,t))return false;if(v!==r)n.setOpacity(v);if(w!==s)n.setZIndex(w);if(o.urlTemplate!==p.urlTemplate)n.setUrl(o.urlTemplate);return true}f.exports=k}),null);
__d("XVideoCaptionPublishAsyncController",["XController"],(function a(b,c,d,e,f,g){f.exports=c("XController").create("/videos/captioneditor/publish/",{caption_id:{type:"Int",required:true},source_app_id:{type:"FBID"}})}),null);
__d("XVideoCaptionShareAsyncController",["XController"],(function a(b,c,d,e,f,g){f.exports=c("XController").create("/videos/captioneditor/share/",{caption_id:{type:"Int",required:true},revoke:{type:"Int"}})}),null);
__d("XVideoUnPublishCaptionAsyncController",["XController"],(function a(b,c,d,e,f,g){f.exports=c("XController").create("/videos/captioneditor/unpublish/",{caption_id:{type:"Int",required:true},source_app_id:{type:"FBID"}})}),null);