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

__d("RightsManagerRulesRequestSource",[],(function a(b,c,d,e,f,g){f.exports={MATCH_SETTINGS_DIALOG:"MATCH_SETTINGS_DIALOG",RULES_SELECTOR:"RULES_SELECTOR",RULES_TAB:"RULES_TAB"}}),null);
__d("VideoBroadcastAPIStatus",[],(function a(b,c,d,e,f,g){f.exports={UNPUBLISHED:"UNPUBLISHED",LIVE:"LIVE",LIVE_STOPPED:"LIVE_STOPPED",PROCESSING:"PROCESSING",VOD:"VOD",SCHEDULED_UNPUBLISHED:"SCHEDULED_UNPUBLISHED",SCHEDULED_LIVE:"SCHEDULED_LIVE",SCHEDULED_EXPIRED:"SCHEDULED_EXPIRED",SCHEDULED_CANCELED:"SCHEDULED_CANCELED"}}),null);
__d("VideoCopyrightMatchStatus",[],(function a(b,c,d,e,f,g){f.exports={NEW_MATCH:"NEW_MATCH",REPORTED:"REPORTED",ALLOWED:"ALLOWED",ADDED_MATCH:"ADDED_MATCH",REMOVED:"REMOVED",IN_DISPUTE:"IN_DISPUTE",BLOCKED:"BLOCKED",CLAIMED:"CLAIMED",MONITORED:"MONITORED",MANUAL_REVIEW:"MANUAL_REVIEW",REPORTED_OR_REMOVED:"REPORTED_OR_REMOVED",OTHER:"OTHER"}}),null);
__d("VideoCopyrightRuleActionType",[],(function a(b,c,d,e,f,g){f.exports={ALLOW:"ALLOW",MANUAL_REVIEW:"MANUAL_REVIEW",TRACK:"TRACK",BLOCK:"BLOCK",TAKEDOWN:"TAKEDOWN",MONETIZE:"MONETIZE",ACQUIRE_VIEWS_AND_MONETIZE:"ACQUIRE_VIEWS_AND_MONETIZE"}}),null);
__d("VideoCopyrightRuleConditionType",[],(function a(b,c,d,e,f,g){f.exports={UNDEFINED:"UNDEFINED",GEO:"GEO",MONITORING_TYPE:"MONITORING_TYPE",OVERLAP_DURATION:"OVERLAP_DURATION",VIDEO_EXPERIENCE:"VIDEO_EXPERIENCE",PUBLISHER_TYPE:"PUBLISHER_TYPE",MATCH_OVERLAP_PERCENTAGE:"MATCH_OVERLAP_PERCENTAGE",REFERENCE_OVERLAP_PERCENTAGE:"REFERENCE_OVERLAP_PERCENTAGE",PRIVACY:"PRIVACY",VALIDITY_PERIOD:"VALIDITY_PERIOD"}}),null);
__d("VideoCopyrightRuleGraphFields",[],(function a(b,c,d,e,f,g){f.exports={ID:"id",NAME:"name",MIGRATION_RULE_ID:"migration_rule_id",COPYRIGHTS:"copyrights",CONDITION_GROUPS:"condition_groups",CREATOR:"creator",CREATED_DATE:"created_date",COPYRIGHTS_COUNT:"copyrights_count",MATCHES_COUNT:"matches_count",IS_IN_MIGRATION:"is_in_migration",IS_NEW_VERSION_RULE:"is_new_version_rule",EXCLUDED_COPYRIGHT_IDS:"excluded_copyright_ids",ACTION:"action",CONDITIONS:"conditions",TYPE:"type",OPERATOR:"operator",VALUE:"value"}}),null);
__d("VideoCopyrightRuleOperatorType",[],(function a(b,c,d,e,f,g){f.exports={UNDEFINED:"UNDEFINED",IS:"IS",IS_NOT:"IS_NOT",IN_SET:"IN_SET",NOT_IN_SET:"NOT_IN_SET",LESS_THAN:"LESS_THAN",LESS_THAN_OR_EQUAL:"LESS_THAN_OR_EQUAL",GREATER_THAN:"GREATER_THAN",GREATER_THAN_OR_EQUAL:"GREATER_THAN_OR_EQUAL"}}),null);
__d("VideoCopyrightSegmentSource",[],(function a(b,c,d,e,f,g){f.exports={UNKNOWN:"UNKNOWN",REFERENCE_CONFLICT:"REFERENCE_CONFLICT",POPULAR_MATCHES:"POPULAR_MATCHES",PUBLISHER_DEFINED:"PUBLISHER_DEFINED",AM_MUTING:"AM_MUTING",RIDGE_MATCHES:"RIDGE_MATCHES",PAUSE_LIVE_MONITORING:"PAUSE_LIVE_MONITORING"}}),null);
__d("VideoReferenceMatchState",[],(function a(b,c,d,e,f,g){f.exports={CONFLICT:"CONFLICT",DISPUTED:"DISPUTED",DISPUTE_ACCEPTED:"DISPUTE_ACCEPTED",DISPUTE_REJECTED:"DISPUTE_REJECTED",CONFLICT_RESOLVED:"CONFLICT_RESOLVED",AUTO_RESOLVED:"AUTO_RESOLVED",INACTIVE:"INACTIVE",DISPUTE_EXPIRED:"DISPUTE_EXPIRED",OPS_RESOLVED:"OPS_RESOLVED",CONFLICT_EXPIRED:"CONFLICT_EXPIRED",POSSIBLE_CONFLICT:"POSSIBLE_CONFLICT",OWNERSHIP_ASSERTED:"OWNERSHIP_ASSERTED"}}),null);
__d("AdsGenericFilterFieldType",["keyMirror"],(function a(b,c,d,e,f,g){"use strict";var h=c("keyMirror")({BOOLEAN:null,NUMBER:null,CURRENCY:null,NUMBER_RANGE:null,NUMBER_SET:null,STRING:null,STRING_SET:null,DATE_RANGE:null,TOKENIZED_TYPEAHEAD:null,DURATION:null});f.exports=h}),null);
__d("LegacyImmutableObject",["invariant","isNode","mergeHelpers"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i=c("mergeHelpers").checkMergeObjectArgs,j=c("mergeHelpers").isTerminal,k;function l(n){n instanceof k||h(0)}k=function k(n){Object.assign(this,n)};k.set=function(n,o){l(n);var p=new k(n);Object.assign(p,o);return p};k.setField=function(n,o,p){var q={};q[o]=p;return k.set(n,q)};k.setDeep=function(n,o){l(n);return m(n,o)};function m(n,o){__p&&__p();i(n,o);var p={},q=Object.keys(n);for(var r=0;r<q.length;r++){var s=q[r];if(!Object.prototype.hasOwnProperty.call(o,s))p[s]=n[s];else if(j(n[s])||j(o[s]))p[s]=o[s];else p[s]=m(n[s],o[s])}var t=Object.keys(o);for(r=0;r<t.length;r++){var u=t[r];if(Object.prototype.hasOwnProperty.call(n,u))continue;p[u]=o[u]}return n instanceof k||o instanceof k?new k(p):p}f.exports=k}),null);
__d("AdsGenericFilterField",["invariant","AdsGenericFilterFieldType","LegacyImmutableObject","getObjectValues"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i,j,k={},l=c("getObjectValues")(c("AdsGenericFilterFieldType"));i=babelHelpers.inherits(m,c("LegacyImmutableObject"));j=i&&i.prototype;function m(n,o,p){__p&&__p();k.name=n;k.type=o;if(p){k.level=p;k.key=n+"-"+o+"-"+p}else{k.level=undefined;k.key=n+"-"+o}j.constructor.call(this,k)}m.prototype.toString=function(){return this.key};f.exports=m}),null);
__d("AdsGenericFilterSet",["LegacyImmutableObject"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h,i,j={},k=[],l=";";h=babelHelpers.inherits(m,c("LegacyImmutableObject"));i=h&&h.prototype;function m(n){__p&&__p();var o=void 0,p=[];switch(n.length){case 0:throw Error("AdsGenericFilterSet contains no filter");case 1:p.push(n[0]);o=n[0].key;break;default:var q={};k.length=0;n.forEach(function(r){var s=r.key;if(!(s in q)){p.push(r);q[s]=true;k.push(s)}});k.sort();o=k.join(l)}j.values=p;j.key="("+o+")";i.constructor.call(this,j)}m.prototype.toString=function(){return this.key};m.prototype.toAPI=function(){var n=this.values,o=[];for(var p=0;p<n.length;p++){var q=n[p].toAPI();if(q!=null)o.push(q)}return o};m.prototype.getCompleteFilters=function(){var n=this.values.filter(function(o){return o.isComplete()});return n.length?new this.constructor(n):undefined};f.exports=m}),null);
__d("AdsAbstractCurrencyInput.react",["fbt","AdsCurrencyFormatter","Keys","NumberFormatConfig","React","escapeRegex"],(function a(b,c,d,e,f,g,h){__p&&__p();var i,j,k=c("NumberFormatConfig").decimalSeparator,l=c("NumberFormatConfig").numberDelimiter,m=c("React").PropTypes,n=new RegExp("^\\D*["+c("escapeRegex")(l)+"\\d]*"+c("escapeRegex")(k)+"?\\d{0,8}\\D*$"),o=500;i=babelHelpers.inherits(p,c("React").Component);j=i&&i.prototype;function p(){__p&&__p();var q,r;"use strict";for(var s=arguments.length,t=Array(s),u=0;u<s;u++)t[u]=arguments[u];return r=(q=j.constructor).call.apply(q,[this].concat(t)),this.state={dirtyValue:null,pasteTime:null,xuiError:this.props.xuiError},this.$AdsAbstractCurrencyInput2=function(event){var v=typeof event==="string"?event:event.target.value,w=this.$AdsAbstractCurrencyInput7(v);this.setState({dirtyValue:v,xuiError:w});if(this.props.eventType==="change")this.props.onDataUpdate(this.$AdsAbstractCurrencyInput6(v));this.props.onUnderlyingValueChange&&this.props.onUnderlyingValueChange(this.$AdsAbstractCurrencyInput6(v),v)}.bind(this),this.$AdsAbstractCurrencyInput3=function(event){if(this.state.dirtyValue!==null)this.updateValue(event);this.props.onBlur&&this.props.onBlur(event)}.bind(this),this.$AdsAbstractCurrencyInput5=function(event){if(!this.props.onMultiplePaste)return;var v=this.state.pasteTime;if(!v)this.setState({pasteTime:Date.now()});else{if(Date.now()-v<o)this.props.onMultiplePaste();this.setState({pasteTime:null})}}.bind(this),this.$AdsAbstractCurrencyInput4=function(event){if(event.keyCode===c("Keys").RETURN)this.updateValue(event);this.props.onKeyUp&&this.props.onKeyUp(event)}.bind(this),r}p.prototype.componentWillReceiveProps=function(q){"use strict";if(this.props.xuiError!==q.xuiError)this.setState({xuiError:q.xuiError})};p.prototype.$AdsAbstractCurrencyInput1=function(){"use strict";__p&&__p();var q=this.state.dirtyValue;if(q===null||q===undefined){q=this.props.value;if(q!==null&&q!==undefined)if(!this.props.showSymbol)q=c("AdsCurrencyFormatter").formatCurrencyWithISONoSymbol(this.props.currency,q);else q=c("AdsCurrencyFormatter").formatCurrencyFullFormat(this.props.currency,q,this.props.withISO,this.props.withNumberDelimiters,this.props.withDecimals);else q=""}return q};p.prototype.render=function(){"use strict";var q=this.$AdsAbstractCurrencyInput1(),r=this.props.textInputClass;return c("React").createElement(r,babelHelpers["extends"]({},this.props,{onChange:this.$AdsAbstractCurrencyInput2,onBlur:this.$AdsAbstractCurrencyInput3,onKeyUp:this.$AdsAbstractCurrencyInput4,onPaste:this.$AdsAbstractCurrencyInput5,ref:"textInput",value:q,xuiError:this.state.xuiError}))};p.prototype.focusInput=function(){"use strict";this.refs.textInput.focusInput()};p.prototype.updateValue=function(event){"use strict";var q=this.$AdsAbstractCurrencyInput6(event.target.value),r=this.$AdsAbstractCurrencyInput7(q);this.props.onDataUpdate(q);this.setState({dirtyValue:null,xuiError:r})};p.prototype.$AdsAbstractCurrencyInput8=function(q){"use strict";if(q==null)return false;return n.test(q.toString())};p.prototype.$AdsAbstractCurrencyInput7=function(q){"use strict";var r=this.props.xuiError;if(!this.$AdsAbstractCurrencyInput8(q))r=h._("Your budget must be a valid number.");return r};p.prototype.$AdsAbstractCurrencyInput6=function(q){"use strict";__p&&__p();var r=c("AdsCurrencyFormatter").parseOptionalCurrency(this.props.currency,q);if(!this.props.invalidInputIsNull)r=r||0;if(!r)return r;if(this.props.nonnegative)r=Math.abs(r);if(r<0&&this.props.negativeIsNull)return null;if(!isFinite(r))r=0;if(!this.$AdsAbstractCurrencyInput8(r))r=0;return r};p.propTypes={currency:m.string.isRequired,"data-testid":m.string,showSymbol:m.bool,value:m.number,withDecimals:m.bool,withISO:m.bool,withNumberDelimiters:m.bool,negativeIsNull:m.bool,nonnegative:m.bool,invalidInputIsNull:m.bool,onDataUpdate:m.func.isRequired,onUnderlyingValueChange:m.func,onKeyUp:m.func,eventType:m.oneOf(["change","blur"]),textInputClass:m.func.isRequired,onMultiplePaste:m.func};p.defaultProps={eventType:"blur",showSymbol:true,withDecimals:true,withNumberDelimiters:false};f.exports=p}),null);
__d("BUITextInput_DEPRECATED.react",["cx","BUIComponent","React","XUITextInput.react","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("BUIComponent"));j=i&&i.prototype;function l(m){j.constructor.call(this,m);this.$BUITextInput_DEPRECATED1=function(n){this.setState({focused:true});this.props.onFocus&&this.props.onFocus(n)}.bind(this);this.$BUITextInput_DEPRECATED2=function(n){this.setState({focused:false});this.props.onBlur&&this.props.onBlur(n)}.bind(this);this.state={focused:false}}l.prototype.render=function(){var m=this.props,n=m.className,o=m.height,p=babelHelpers.objectWithoutProperties(m,["className","height"]),q=c("joinClasses")("_4c02"+(!!this.props.disabled?" _1x7o":"")+(o==="medium"?" _1x7p":"")+(o==="tall"?" _1x7-":"")+(o==="xtall"?" _1x82":"")+(!!this.props.leftIcon?" _1x85":"")+(!!this.props.rightIcon||!!this.props.xuiError?" _1x86":"")+(!this.props.xuiError&&(this.props.highlighted||this.state.focused)?" _1x87":"")+(!!this.props.leftIcon||!!this.props.rightIcon?" clearfix":""),n);return c("React").createElement(c("XUITextInput.react"),babelHelpers["extends"]({},p,{leftChild:this.props.leftIcon,rightChild:this.props.rightIcon,className:q,ref:"textInput",onFocus:this.$BUITextInput_DEPRECATED1,onBlur:this.$BUITextInput_DEPRECATED2}))};l.prototype.focusInput=function(){this.refs.textInput&&this.refs.textInput.focusInput()};l.prototype.blurInput=function(){this.refs.textInput&&this.refs.textInput.blurInput()};l.defaultProps={height:"short",highlighted:false};l.propTypes=babelHelpers["extends"]({},c("XUITextInput.react").propTypes,{highlighted:k.bool,height:k.oneOf(["short","medium","tall","xtall"]),leftIcon:k.element,rightIcon:k.element});f.exports=l}),null);
__d("AdsCurrencyInput_DEPRECATED.react",["AdsAbstractCurrencyInput.react","BUITextInput_DEPRECATED.react","React","ifRequired"],(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;function k(){var l,m;"use strict";for(var n=arguments.length,o=Array(n),p=0;p<n;p++)o[p]=arguments[p];return m=(l=i.constructor).call.apply(l,[this].concat(o)),this.focusInput=function(){this.refs.input.focusInput()}.bind(this),this.onUnderlyingValueChange=function(q,r){c("ifRequired")("AdsCMLoggerInternal",function(s){s.log("ADS_CM_CURRENCY_INPUT_CHANGE",null,{old_value:r,new_value:q})});this.props.onUnderlyingValueChange&&this.props.onUnderlyingValueChange(q,r)}.bind(this),m}k.prototype.render=function(){"use strict";return c("React").createElement(c("AdsAbstractCurrencyInput.react"),babelHelpers["extends"]({},this.props,{ref:"input",textInputClass:c("BUITextInput_DEPRECATED.react"),onUnderlyingValueChange:this.onUnderlyingValueChange}))};k.propTypes={"data-testid":j.string,currency:j.string.isRequired,eventType:j.oneOf(["change","blur"]),invalidInputIsNull:j.bool,negativeIsNull:j.bool,nonnegative:j.bool,value:j.number,withDecimals:j.bool,withISO:j.bool,onDataUpdate:j.func.isRequired,onKeyUp:j.func,onMultiplePaste:j.func,onUnderlyingValueChange:j.func};k.defaultProps={onKeyUp:null,xuiError:null};f.exports=k}),null);
__d("SingleSelectorAlignOnScroll",["Event","Style","SubscriptionsHandler"],(function a(b,c,d,e,f,g){__p&&__p();function h(i){"use strict";this.$SingleSelectorAlignOnScroll1=i}h.prototype.enable=function(){"use strict";if(!this.$SingleSelectorAlignOnScroll2){this.$SingleSelectorAlignOnScroll2=new(c("SubscriptionsHandler"))();this.$SingleSelectorAlignOnScroll2.addSubscriptions(this.$SingleSelectorAlignOnScroll1.subscribe("show",this.$SingleSelectorAlignOnScroll3.bind(this)),this.$SingleSelectorAlignOnScroll1.subscribe("hide",this.$SingleSelectorAlignOnScroll4.bind(this)))}};h.prototype.disable=function(){"use strict";if(this.$SingleSelectorAlignOnScroll2){this.$SingleSelectorAlignOnScroll2.release();this.$SingleSelectorAlignOnScroll2=null}this.$SingleSelectorAlignOnScroll4()};h.prototype.$SingleSelectorAlignOnScroll3=function(){"use strict";if(this.$SingleSelectorAlignOnScroll5)return;var i=c("Style").getScrollParent(this.$SingleSelectorAlignOnScroll1.getButton());this.$SingleSelectorAlignOnScroll5=c("Event").listen(i,"scroll",this.$SingleSelectorAlignOnScroll1.align.bind(this.$SingleSelectorAlignOnScroll1))};h.prototype.$SingleSelectorAlignOnScroll4=function(){"use strict";this.$SingleSelectorAlignOnScroll5&&this.$SingleSelectorAlignOnScroll5.remove();this.$SingleSelectorAlignOnScroll5=null};f.exports=h}),null);
__d("SingleSelectorHideOnScrollOut",["Event","Style","SubscriptionsHandler"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();function h(i){this.$SingleSelectorHideOnScrollOut1=i}h.prototype.enable=function(){if(!this.$SingleSelectorHideOnScrollOut2){this.$SingleSelectorHideOnScrollOut2=new(c("SubscriptionsHandler"))();this.$SingleSelectorHideOnScrollOut2.addSubscriptions(this.$SingleSelectorHideOnScrollOut1.subscribe("show",this.$SingleSelectorHideOnScrollOut3.bind(this)),this.$SingleSelectorHideOnScrollOut1.subscribe("hide",this.$SingleSelectorHideOnScrollOut4.bind(this)))}};h.prototype.disable=function(){if(this.$SingleSelectorHideOnScrollOut2){this.$SingleSelectorHideOnScrollOut2.release();this.$SingleSelectorHideOnScrollOut2=null}this.$SingleSelectorHideOnScrollOut4()};h.prototype.$SingleSelectorHideOnScrollOut3=function(){this.$SingleSelectorHideOnScrollOut5=c("Style").getScrollParent(this.$SingleSelectorHideOnScrollOut1.getButton());if(this.$SingleSelectorHideOnScrollOut6||this.$SingleSelectorHideOnScrollOut5===window)return;this.$SingleSelectorHideOnScrollOut7=this.$SingleSelectorHideOnScrollOut1.getLayer().getRoot();this.$SingleSelectorHideOnScrollOut6=c("Event").listen(this.$SingleSelectorHideOnScrollOut5,"scroll",this.$SingleSelectorHideOnScrollOut8.bind(this))};h.prototype.$SingleSelectorHideOnScrollOut4=function(){if(this.$SingleSelectorHideOnScrollOut6){this.$SingleSelectorHideOnScrollOut6.remove();this.$SingleSelectorHideOnScrollOut6=null}this.$SingleSelectorHideOnScrollOut5=null;this.$SingleSelectorHideOnScrollOut7=null};h.prototype.$SingleSelectorHideOnScrollOut8=function(){var i=this.$SingleSelectorHideOnScrollOut7.getBoundingClientRect(),j=this.$SingleSelectorHideOnScrollOut5.getBoundingClientRect(),k=i.bottom<=j.top||i.top>=j.bottom||i.right<=j.left||i.left>=j.right;if(k)this.$SingleSelectorHideOnScrollOut1.getLayer().hide()};f.exports=h}),null);
__d("AdsSelectorWithTooltips.react",["DOM","React","ReactDOM","SingleSelectorAlignOnScroll","SingleSelectorHideOnScrollOut","Tooltip","XUIError.react","XUISingleSelector.react"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h,i,j,k,l=c("React").PropTypes,m=c("XUISingleSelector.react").Option;h=babelHelpers.inherits(n,m);i=h&&h.prototype;function n(p){i.constructor.call(this,p);this.$OptionWithTooltip1=p.tooltip||null}n.prototype.setupTooltip=function(){if(typeof this.$OptionWithTooltip1=="string")this.tooltip=this.$OptionWithTooltip1;else if(typeof this.$OptionWithTooltip1=="object"){this.tooltip=c("DOM").create("div");c("ReactDOM").render(this.$OptionWithTooltip1,this.tooltip)}};n.prototype.render=function(){var p=i.render.call(this);if(this.$OptionWithTooltip1){if(!this.tooltip)this.setupTooltip();c("Tooltip").set(c("ReactDOM").findDOMNode(p),this.tooltip,"right")}return p};j=babelHelpers.inherits(o,c("React").Component);k=j&&j.prototype;o.prototype.render=function(){return c("React").createElement(c("XUIError.react"),this.props,c("React").createElement(c("XUISingleSelector.react"),babelHelpers["extends"]({behaviors:[c("SingleSelectorAlignOnScroll"),c("SingleSelectorHideOnScrollOut")]},this.props),this.props.children))};function o(){j.apply(this,arguments)}o.propTypes=babelHelpers["extends"]({},c("XUIError.react").propTypes,{onHide:l.func,onShow:l.func});o.Option=n;f.exports=o}),null);
__d("AdsProgressBar.react",["cx","LoadingMarker.react","React","joinClasses"],(function a(b,c,d,e,f,g,h){__p&&__p();var i,j,k=c("React").PropTypes,l={xsmall:"_2n01",small:"_5nak",medium:"_5nal",large:"_5nam"};i=babelHelpers.inherits(m,c("React").Component);j=i&&i.prototype;m.prototype.render=function(){"use strict";__p&&__p();var n=this.props.min,o=this.props.max,p=Math.max(n,Math.min(o,this.props.value)),q=(p-n)/(o-n)*100+"%",r="_5nat"+(p===o?" _5nan":"")+(p===n?" _5nao":""),s=c("joinClasses")("_5nap"+(!!this.props.animated?" _5naq":""),l[this.props.size]),t=this.props.label,u=null;if(t)u=c("React").createElement("span",{className:"_5nar"},t);var v=null;if(t)v=c("React").createElement("span",{className:"_5nar _5nas"},t);var w=this.props.error,x=null;if(w){var y=(w-n)/(p-n)*100+"%";x=c("React").createElement("div",{className:"_5nat _5nc9",style:{width:y}})}var z=null;if(this.props.striped)z=c("React").createElement("div",{className:"_5nat _4g9k"});var A=c("React").createElement("div",babelHelpers["extends"]({},this.props,{className:c("joinClasses")(this.props.className,s)}),v,c("React").createElement("div",{className:r,style:{width:q}},x,u,z));if(!this.props.representsWait)return A;return c("React").createElement(c("LoadingMarker.react"),null,A)};function m(){"use strict";i.apply(this,arguments)}m.propTypes={animated:k.bool,label:k.string,min:k.number,max:k.number,representsWait:k.bool,size:k.oneOf(["xsmall","small","medium","large"]),value:k.number,error:k.number,striped:k.bool};m.defaultProps={animated:false,label:null,min:0,max:100,value:0,representsWait:true,size:"large",error:null,striped:false};f.exports=m}),null);
__d("AdsXUIProgressBar.react",["cx","AdsProgressBar.react","React","joinClasses"],(function a(b,c,d,e,f,g,h){"use strict";var i,j;i=babelHelpers.inherits(k,c("React").Component);j=i&&i.prototype;k.prototype.render=function(){return c("React").createElement(c("AdsProgressBar.react"),babelHelpers["extends"]({},this.props,{animated:true,className:c("joinClasses")(this.props.className,"_qss"),size:"small",value:this.props.value}))};function k(){i.apply(this,arguments)}f.exports=k}),null);
__d("FixedDataTableAbstractSortableHeader.react",["ix","cx","Image.react","PopoverMenu.react","PopoverMenuShowOnHover","React","fbglyph","joinClasses","keyMirror"],(function a(b,c,d,e,f,g,h,i){__p&&__p();var j,k,l=c("React").PropTypes,m=c("keyMirror")({ASC:null,DESC:null});function n(p){switch(p){case m.ASC:return m.DESC;default:return m.ASC}}j=babelHelpers.inherits(o,c("React").Component);k=j&&j.prototype;function o(){var p,q;"use strict";for(var r=arguments.length,s=Array(r),t=0;t<r;t++)s[t]=arguments[t];return q=(p=k.constructor).call.apply(p,[this].concat(s)),this.$FixedDataTableAbstractSortableHeader1=function(u){var v=n(this.props.sorting);this.props.onClick(v,u)}.bind(this),q}o.prototype.render=function(){"use strict";__p&&__p();var p=this.props,q=p.children,r=p.className,s=p.sortMenu,t=p.sorting,u=p.isSortDisabled,v=babelHelpers.objectWithoutProperties(p,["children","className","sortMenu","sorting","isSortDisabled"]),w="_54_8"+(u?" _3w3t":"")+(!!t&&!u&&!s?" _54_9":"")+(t===m.DESC&&!u&&!s?" _5y6x":"")+(!!t&&!u&&!!s?" _3qz2":""),x=void 0;if(s){var y=void 0;if(!t||u)y=h("125303");else if(t===m.DESC)y=h("134915");else y=h("134927");x=c("React").createElement(c("PopoverMenu.react"),{activateControlVisiblityPropName:"onShow",alignh:"right",behaviors:[c("PopoverMenuShowOnHover")],deactivateControlVisiblityPropName:"onHide",menu:s,position:"below"},c("React").createElement(c("Image.react"),{className:"_3qz3",src:y}))}return c("React").createElement("div",babelHelpers["extends"]({},v,{onClick:this.$FixedDataTableAbstractSortableHeader1,className:c("joinClasses")(w,r),role:"columnheader",tabIndex:"-1"}),q,x)};o.propTypes={className:l.string,disabledReason:l.string,isSortDisabled:l.bool,sortMenu:l.node,sorting:l.oneOf([m.ASC,m.DESC]),onClick:l.func.isRequired};f.exports=o}),null);
__d("FixedDataTableSortableHeader.react",["ix","cx","fbt","xuiglyph","FixedDataTableAbstractSortableHeader.react","Image.react","React","XUIError.react","joinClasses"],(function a(b,c,d,e,f,g,h,i,j,k){"use strict";__p&&__p();var l,m,n=j._("Please use the filters to narrow down the number of items to be sorted.");l=babelHelpers.inherits(o,c("React").Component);m=l&&l.prototype;o.prototype.render=function(){var p=this.props,q=p.className,r=babelHelpers.objectWithoutProperties(p,["className"]),s=r.isSortDisabled?this.$FixedDataTableSortableHeader1(r.disabledReason):null;return c("React").createElement(c("FixedDataTableAbstractSortableHeader.react"),babelHelpers["extends"]({className:c("joinClasses")(q,"_2wzx")},r),c("React").createElement("div",{className:"_2eq6"},s,this.props.children))};o.prototype.$FixedDataTableSortableHeader1=function(){var p=arguments.length<=0||arguments[0]===undefined?n:arguments[0];return c("React").createElement(c("XUIError.react"),{xuiErrorPosition:"above",xuiError:p},c("React").createElement("span",{className:"_2wzy"},c("React").createElement(c("Image.react"),{className:"_2w-0",src:h("88769")}),c("React").createElement(c("Image.react"),{className:"_2w-1",src:h("88766")})))};function o(){l.apply(this,arguments)}o.propTypes=babelHelpers["extends"]({},c("FixedDataTableAbstractSortableHeader.react").propTypes);f.exports=o}),null);
__d("AbstractInfiniteScroll.react",["cx","React","ReactDOM","Scroll","SubscriptionsHandler","joinClasses"],(function a(b,c,d,e,f,g,h){__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;"use strict";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.checkIfEndReached=function(){var r=this.props,s=r.distanceToEnd,t=r.onEndReached;if(!t)return;var u=c("ReactDOM").findDOMNode(this);if(!u.offsetHeight)return;var v=c("Scroll").getTop(u)+u.offsetHeight;if(v>=u.scrollHeight-s)t()}.bind(this),n}l.prototype.componentDidMount=function(){"use strict";var m=c("ReactDOM").findDOMNode(this);this.$AbstractInfiniteScroll1=new(c("SubscriptionsHandler"))();this.$AbstractInfiniteScroll1.addSubscriptions(this.props.resizeEventSubscription(m,this.checkIfEndReached),this.props.scrollEventSubscription(m,this.checkIfEndReached));this.checkIfEndReached()};l.prototype.componentDidUpdate=function(){"use strict";this.checkIfEndReached()};l.prototype.componentWillUnmount=function(){"use strict";this.$AbstractInfiniteScroll1.release();delete this.$AbstractInfiniteScroll1};l.prototype.render=function(){"use strict";return c("React").createElement("div",babelHelpers["extends"]({},this.props,{className:c("joinClasses")(this.props.className,"_3kbk")}),this.props.children)};l.propTypes={distanceToEnd:k.number,onEndReached:k.func,resizeEventSubscription:k.func.isRequired,scrollEventSubscription:k.func.isRequired};l.defaultProps={distanceToEnd:50};f.exports=l}),null);
__d("InfiniteScroll.react",["AbstractInfiniteScroll.react","Event","React"],(function a(b,c,d,e,f,g){__p&&__p();var h,i;h=babelHelpers.inherits(j,c("React").Component);i=h&&h.prototype;j.prototype.render=function(){"use strict";return c("React").createElement(c("AbstractInfiniteScroll.react"),babelHelpers["extends"]({},this.props,{resizeEventSubscription:k,scrollEventSubscription:l}))};function j(){"use strict";h.apply(this,arguments)}j.defaultProps=c("AbstractInfiniteScroll.react").defaultProps;function k(m,n){return c("Event").listen(m,"resize",n)}function l(m,n){return c("Event").listen(m,"scroll",n)}f.exports=j}),null);
__d("Heap",[],(function a(b,c,d,e,f,g){"use strict";__p&&__p();function h(j,k){return j<k}function i(j,k){this._items=j||[];this._size=this._items.length;this._comparator=k||h;this._heapify()}i.prototype.empty=function(){return this._size===0};i.prototype.pop=function(){if(this._size===0)return;var j=this._items[0],k=this._items.pop();this._size--;if(this._size>0){this._items[0]=k;this._sinkDown(0)}return j};i.prototype.push=function(j){this._items[this._size++]=j;this._bubbleUp(this._size-1)};i.prototype.size=function(){return this._size};i.prototype.peek=function(){if(this._size===0)return;return this._items[0]};i.prototype._heapify=function(){for(var j=Math.floor((this._size+1)/2);j>=0;j--)this._sinkDown(j)};i.prototype._bubbleUp=function(j){var k=this._items[j];while(j>0){var l=Math.floor((j+1)/2)-1,m=this._items[l];if(this._comparator(m,k))return;this._items[l]=k;this._items[j]=m;j=l}};i.prototype._sinkDown=function(j){__p&&__p();var k=this._items[j];while(true){var l=2*(j+1)-1,m=2*(j+1),n=-1;if(l<this._size){var o=this._items[l];if(this._comparator(o,k))n=l}if(m<this._size){var p=this._items[m];if(this._comparator(p,k))if(n===-1||this._comparator(p,this._items[n]))n=m}if(n===-1)return;this._items[j]=this._items[n];this._items[n]=k;j=n}};f.exports=i}),null);
__d("IntegerBufferSet",["invariant","Heap"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();function i(){__p&&__p();this.getSize=function(){return this.$IntegerBufferSet2}.bind(this);this.getValuePosition=function(j){if(this.$IntegerBufferSet1[j]===undefined)return null;return this.$IntegerBufferSet1[j]}.bind(this);this.getNewPositionForValue=function(j){this.$IntegerBufferSet1[j]===undefined||h(0);var k=this.$IntegerBufferSet2;this.$IntegerBufferSet2++;this.$IntegerBufferSet7(k,j);this.$IntegerBufferSet1[j]=k;return k}.bind(this);this.replaceFurthestValuePosition=function(j,k,l){__p&&__p();this.$IntegerBufferSet1[l]===undefined||h(0);this.$IntegerBufferSet8();if(this.$IntegerBufferSet3.empty()||this.$IntegerBufferSet5.empty())return null;var m=this.$IntegerBufferSet3.peek().value,n=this.$IntegerBufferSet5.peek().value;if(m>=j&&n<=k)return null;var o=void 0;if(j-m>n-k){o=m;this.$IntegerBufferSet3.pop()}else{o=n;this.$IntegerBufferSet5.pop()}var p=this.$IntegerBufferSet1[o];delete this.$IntegerBufferSet1[o];this.$IntegerBufferSet1[l]=p;this.$IntegerBufferSet7(p,l);return p}.bind(this);this.$IntegerBufferSet1={};this.$IntegerBufferSet2=0;this.$IntegerBufferSet3=new(c("Heap"))([],this.$IntegerBufferSet4);this.$IntegerBufferSet5=new(c("Heap"))([],this.$IntegerBufferSet6)}i.prototype.$IntegerBufferSet7=function(j,k){var l={position:j,value:k};this.$IntegerBufferSet3.push(l);this.$IntegerBufferSet5.push(l)};i.prototype.$IntegerBufferSet8=function(){this.$IntegerBufferSet9(this.$IntegerBufferSet3);this.$IntegerBufferSet9(this.$IntegerBufferSet5);var j=Math.min(this.$IntegerBufferSet3.size(),this.$IntegerBufferSet5.size()),k=Math.max(this.$IntegerBufferSet3.size(),this.$IntegerBufferSet5.size());if(k>10*j)this.$IntegerBufferSet10()};i.prototype.$IntegerBufferSet10=function(){__p&&__p();var j=this.$IntegerBufferSet3.size()<this.$IntegerBufferSet5.size()?this.$IntegerBufferSet3:this.$IntegerBufferSet5,k=new(c("Heap"))([],this.$IntegerBufferSet4),l=new(c("Heap"))([],this.$IntegerBufferSet6);while(!j.empty()){var m=j.pop();if(this.$IntegerBufferSet1[m.value]!==undefined){k.push(m);l.push(m)}}this.$IntegerBufferSet3=k;this.$IntegerBufferSet5=l};i.prototype.$IntegerBufferSet9=function(j){while(!j.empty()&&this.$IntegerBufferSet1[j.peek().value]===undefined)j.pop()};i.prototype.$IntegerBufferSet4=function(j,k){return j.value<k.value};i.prototype.$IntegerBufferSet6=function(j,k){return j.value>k.value};f.exports=i}),null);
__d("PrefixIntervalTree",["invariant"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i=function i(m){return Math.floor(m/2)},j=b.Int32Array||function(m){var n=[];for(var o=m-1;o>=0;--o)n[o]=0;return n};function k(m){var n=1;while(n<m)n*=2;return n}function l(m){this.$PrefixIntervalTree1=m.length;this.$PrefixIntervalTree2=k(this.$PrefixIntervalTree1);this.$PrefixIntervalTree3=new j(2*this.$PrefixIntervalTree2);var n=void 0;for(n=0;n<this.$PrefixIntervalTree1;++n)this.$PrefixIntervalTree3[this.$PrefixIntervalTree2+n]=m[n];for(n=this.$PrefixIntervalTree2-1;n>0;--n)this.$PrefixIntervalTree3[n]=this.$PrefixIntervalTree3[2*n]+this.$PrefixIntervalTree3[2*n+1]}l.uniform=function(m,n){var o=[];for(var p=m-1;p>=0;--p)o[p]=n;return new l(o)};l.empty=function(m){return l.uniform(m,0)};l.prototype.set=function(m,n){0<=m&&m<this.$PrefixIntervalTree1||h(0);var o=this.$PrefixIntervalTree2+m;this.$PrefixIntervalTree3[o]=n;o=i(o);for(;o!==0;o=i(o))this.$PrefixIntervalTree3[o]=this.$PrefixIntervalTree3[2*o]+this.$PrefixIntervalTree3[2*o+1]};l.prototype.get=function(m){0<=m&&m<this.$PrefixIntervalTree1||h(0);var n=this.$PrefixIntervalTree2+m;return this.$PrefixIntervalTree3[n]};l.prototype.getSize=function(){return this.$PrefixIntervalTree1};l.prototype.sumUntil=function(m){0<=m&&m<this.$PrefixIntervalTree1+1||h(0);if(m===0)return 0;var n=this.$PrefixIntervalTree2+m-1,o=this.$PrefixIntervalTree3[n];for(;n!==1;n=i(n))if(n%2===1)o+=this.$PrefixIntervalTree3[n-1];return o};l.prototype.sumTo=function(m){0<=m&&m<this.$PrefixIntervalTree1||h(0);return this.sumUntil(m+1)};l.prototype.sum=function(m,n){m<=n||h(0);return this.sumUntil(n)-this.sumUntil(m)};l.prototype.greatestLowerBound=function(m){__p&&__p();if(m<0)return-1;var n=1;if(this.$PrefixIntervalTree3[n]<=m)return this.$PrefixIntervalTree1;while(n<this.$PrefixIntervalTree2){var o=this.$PrefixIntervalTree3[2*n];if(m<o)n=2*n;else{n=2*n+1;m-=o}}return n-this.$PrefixIntervalTree2};l.prototype.greatestStrictLowerBound=function(m){__p&&__p();if(m<=0)return-1;var n=1;if(this.$PrefixIntervalTree3[n]<m)return this.$PrefixIntervalTree1;while(n<this.$PrefixIntervalTree2){var o=this.$PrefixIntervalTree3[2*n];if(m<=o)n=2*n;else{n=2*n+1;m-=o}}return n-this.$PrefixIntervalTree2};l.prototype.leastUpperBound=function(m){return this.greatestStrictLowerBound(m)+1};l.prototype.leastStrictUpperBound=function(m){return this.greatestLowerBound(m)+1};f.exports=l}),null);
__d("LayoutHelper",["invariant","PrefixIntervalTree","clamp"],(function a(b,c,d,e,f,g,h){__p&&__p();function i(j,k,l){"use strict";__p&&__p();this.$LayoutHelper1=c("PrefixIntervalTree").uniform(j,k);this.$LayoutHelper2=[];for(var m=0;m<j;++m)this.$LayoutHelper2[m]=k;this.$LayoutHelper3=j;this.$LayoutHelper4=0;this.$LayoutHelper5=j*k;this.$LayoutHelper6=k;this.$LayoutHelper7=l;this.$LayoutHelper8=0}i.prototype.$LayoutHelper9=function(j,k){"use strict";__p&&__p();if(j<0||j>=this.$LayoutHelper3)return 0;if(k!==this.$LayoutHelper2[j]){var l=k-this.$LayoutHelper2[j];this.$LayoutHelper1.set(j,k);this.$LayoutHelper2[j]=k;this.$LayoutHelper5+=l;var m=this.$LayoutHelper1.greatestLowerBound(this.$LayoutHelper4);if(j<m)this.$LayoutHelper4+=l}};i.prototype.$LayoutHelper10=function(){"use strict";__p&&__p();var j=this.$LayoutHelper1.greatestLowerBound(this.$LayoutHelper4);j=c("clamp")(j,0,Math.max(this.$LayoutHelper3-1,0));var k=this.$LayoutHelper1.sumUntil(j),l=k-this.$LayoutHelper4,m=l,n=j,o=[],p=0;while(m<this.$LayoutHelper7&&n<this.$LayoutHelper3){var q={index:n,offset:m,rowHeight:this.$LayoutHelper2[n]};m+=this.$LayoutHelper2[n];o[p]=q;n++;p++}return o};i.prototype.scrollBy=function(j){"use strict";__p&&__p();var k=this.$LayoutHelper1.greatestLowerBound(this.$LayoutHelper4);k=c("clamp")(k,0,Math.max(this.$LayoutHelper3-1,0));var l=this.$LayoutHelper1.sumUntil(k),m=k,n=this.$LayoutHelper4,o=this.$LayoutHelper2[m]-(n-l);if(j>=0)while(j>0&&m<this.$LayoutHelper3){if(j<o){n+=j;j=0}else{j-=o;n+=o;m++}if(m<this.$LayoutHelper3)o=this.$LayoutHelper2[m]}else if(j<0){j=-j;var p=this.$LayoutHelper2[m]-o;while(j>0&&m>=0){if(j<p){n-=j;j=0}else{n-=p;j-=p;m--}if(m>=0)p=this.$LayoutHelper2[m]}}var q=this.$LayoutHelper5-this.$LayoutHelper7;n=c("clamp")(n,0,q);this.$LayoutHelper4=n};i.prototype.$LayoutHelper11=function(j){"use strict";__p&&__p();var k=j,l=this.$LayoutHelper2[k];while(l<this.$LayoutHelper7&&k>=0){k--;if(k>=0)l+=this.$LayoutHelper2[k]}var m=this.$LayoutHelper1.sumTo(j)-this.$LayoutHelper7;if(m<0)m=0;return m};i.prototype.scrollTo=function(j){"use strict";var k=j;if(j<=0)k=0;else if(j>=this.$LayoutHelper5-this.$LayoutHelper7){var l=this.$LayoutHelper3-1;k=this.$LayoutHelper11(l)}this.$LayoutHelper4=k};i.prototype.canHandleScrollBy=function(j){"use strict";if(j===0||this.$LayoutHelper5<this.$LayoutHelper7)return false;if(j>0&&this.$LayoutHelper4===this.$LayoutHelper5-this.$LayoutHelper7)return false;else if(j<0&&this.$LayoutHelper4===0)return false;return true};i.prototype.$LayoutHelper12=function(j){"use strict";var k=this.$LayoutHelper8,l=j.getChangesSince(k),m=l.pointer,n=l.changes,o=0;while(o<n.length){var p=n[o].value,q=n[o].index;this.$LayoutHelper9(q,p);o++}this.$LayoutHelper8=m};i.prototype.$LayoutHelper13=function(j){"use strict";j=c("clamp")(j,0,Math.max(this.$LayoutHelper3-1,0));var k=this.$LayoutHelper1.sumUntil(j);this.$LayoutHelper4=k-Math.round(this.$LayoutHelper7/2);this.scrollTo(this.$LayoutHelper4)};i.prototype.updateLayout=function(j,k,l,m,n,o){"use strict";__p&&__p();if(this.$LayoutHelper7!==l)this.$LayoutHelper7=l;if(this.$LayoutHelper3!==j||this.$LayoutHelper6!==k){this.$LayoutHelper1=c("PrefixIntervalTree").uniform(j,k);this.$LayoutHelper2=[];for(var p=0;p<j;++p)this.$LayoutHelper2[p]=k;this.$LayoutHelper5=j*k;this.$LayoutHelper8=0;this.$LayoutHelper3=j;this.$LayoutHelper6=k}if(n!=null)this.$LayoutHelper12(n);m==null||o==null||h(0);if(m!=null)this.scrollTo(m);if(o!=null)this.$LayoutHelper13(o)};i.prototype.getLayout=function(){"use strict";return{items:this.$LayoutHelper10(),position:this.$LayoutHelper4,viewportHeight:this.$LayoutHelper7,contentHeight:this.$LayoutHelper5}};f.exports=i}),null);
__d("DOMMouseMoveTracker",["EventListener","cancelAnimationFramePolyfill","requestAnimationFramePolyfill"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();function h(i,j,k){__p&&__p();this.$DOMMouseMoveTracker8=function(event){var l=event.clientX,m=event.clientY;this.$DOMMouseMoveTracker10+=l-this.$DOMMouseMoveTracker12;this.$DOMMouseMoveTracker11+=m-this.$DOMMouseMoveTracker13;if(this.$DOMMouseMoveTracker2===null)this.$DOMMouseMoveTracker2=c("requestAnimationFramePolyfill")(this.$DOMMouseMoveTracker14);this.$DOMMouseMoveTracker12=l;this.$DOMMouseMoveTracker13=m;event.preventDefault()}.bind(this);this.$DOMMouseMoveTracker14=function(){this.$DOMMouseMoveTracker2=null;this.$DOMMouseMoveTracker4(this.$DOMMouseMoveTracker10,this.$DOMMouseMoveTracker11);this.$DOMMouseMoveTracker10=0;this.$DOMMouseMoveTracker11=0}.bind(this);this.$DOMMouseMoveTracker9=function(){if(this.$DOMMouseMoveTracker2)this.$DOMMouseMoveTracker14();this.$DOMMouseMoveTracker5()}.bind(this);this.$DOMMouseMoveTracker1=false;this.$DOMMouseMoveTracker2=null;this.$DOMMouseMoveTracker3=k;this.$DOMMouseMoveTracker4=i;this.$DOMMouseMoveTracker5=j}h.prototype.captureMouseMoves=function(event){__p&&__p();if(!this.$DOMMouseMoveTracker6&&!this.$DOMMouseMoveTracker7){this.$DOMMouseMoveTracker6=c("EventListener").listen(this.$DOMMouseMoveTracker3,"mousemove",this.$DOMMouseMoveTracker8);this.$DOMMouseMoveTracker7=c("EventListener").listen(this.$DOMMouseMoveTracker3,"mouseup",this.$DOMMouseMoveTracker9)}if(!this.$DOMMouseMoveTracker1){this.$DOMMouseMoveTracker10=0;this.$DOMMouseMoveTracker11=0;this.$DOMMouseMoveTracker1=true;this.$DOMMouseMoveTracker12=event.clientX;this.$DOMMouseMoveTracker13=event.clientY}event.preventDefault()};h.prototype.releaseMouseMoves=function(){__p&&__p();if(this.$DOMMouseMoveTracker6&&this.$DOMMouseMoveTracker7){this.$DOMMouseMoveTracker6.remove();this.$DOMMouseMoveTracker6=null;this.$DOMMouseMoveTracker7.remove();this.$DOMMouseMoveTracker7=null}if(this.$DOMMouseMoveTracker2!==null){c("cancelAnimationFramePolyfill")(this.$DOMMouseMoveTracker2);this.$DOMMouseMoveTracker2=null}if(this.$DOMMouseMoveTracker1){this.$DOMMouseMoveTracker1=false;this.$DOMMouseMoveTracker12=null;this.$DOMMouseMoveTracker13=null}};h.prototype.isDragging=function(){return this.$DOMMouseMoveTracker1};f.exports=h}),null);
__d("normalizeWheel",["UserAgent","isEventSupported"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h=10,i=40,j=800;function k(event){__p&&__p();var l=0,m=0,n=0,o=0;if("detail"in event)m=event.detail;if("wheelDelta"in event)m=-event.wheelDelta/120;if("wheelDeltaY"in event)m=-event.wheelDeltaY/120;if("wheelDeltaX"in event)l=-event.wheelDeltaX/120;if("axis"in event&&event.axis===event.HORIZONTAL_AXIS){l=m;m=0}n=l*h;o=m*h;if("deltaY"in event)o=event.deltaY;if("deltaX"in event)n=event.deltaX;if((n||o)&&event.deltaMode)if(event.deltaMode==1){n*=i;o*=i}else{n*=j;o*=j}if(n&&!l)l=n<1?-1:1;if(o&&!m)m=o<1?-1:1;return{spinX:l,spinY:m,pixelX:n,pixelY:o}}k.getEventType=function(){return c("UserAgent").isBrowser("Firefox")?"DOMMouseScroll":c("isEventSupported")("wheel")?"wheel":"mousewheel"};f.exports=k}),null);
__d("ReactWheelHandler",["emptyFunction","normalizeWheel","requestAnimationFramePolyfill"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();function h(j,k,l,m){__p&&__p();i.call(this);this.$ReactWheelHandler1=null;this.$ReactWheelHandler2=0;this.$ReactWheelHandler3=0;if(typeof k!=="function")k=k?c("emptyFunction").thatReturnsTrue:c("emptyFunction").thatReturnsFalse;if(typeof l!=="function")l=l?c("emptyFunction").thatReturnsTrue:c("emptyFunction").thatReturnsFalse;if(typeof m!=="function")m=m?c("emptyFunction").thatReturnsTrue:c("emptyFunction").thatReturnsFalse;this.$ReactWheelHandler4=k;this.$ReactWheelHandler5=l;this.$ReactWheelHandler6=m;this.$ReactWheelHandler7=j}var i=function i(){__p&&__p();this.onWheel=function(event){__p&&__p();if(event instanceof Event)event.deliberateSync=true;var j=c("normalizeWheel")(event),k=this.$ReactWheelHandler2+j.pixelX,l=this.$ReactWheelHandler3+j.pixelY,m=this.$ReactWheelHandler4(k,l),n=this.$ReactWheelHandler5(l,k);if(!m&&!n)return;this.$ReactWheelHandler2+=m?j.pixelX:0;this.$ReactWheelHandler3+=n?j.pixelY:0;event.preventDefault();var o=void 0;if(this.$ReactWheelHandler2!==0||this.$ReactWheelHandler3!==0){if(this.$ReactWheelHandler6())event.stopPropagation();o=true}if(o===true&&this.$ReactWheelHandler1===null)this.$ReactWheelHandler1=c("requestAnimationFramePolyfill")(this.$ReactWheelHandler8)}.bind(this);this.$ReactWheelHandler8=function(){this.$ReactWheelHandler1=null;this.$ReactWheelHandler7(this.$ReactWheelHandler2,this.$ReactWheelHandler3);this.$ReactWheelHandler2=0;this.$ReactWheelHandler3=0}.bind(this)};f.exports=h}),null);
__d("translateDOMPositionXY",["BrowserSupportCore","getVendorPrefixedName"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h=c("getVendorPrefixedName")("transform"),i=c("getVendorPrefixedName")("backfaceVisibility"),j=function(){__p&&__p();if(c("BrowserSupportCore").hasCSSTransforms()){var k=b.window?b.window.navigator.userAgent:"UNKNOWN",l=/Safari\//.test(k)&&!/Chrome\//.test(k);if(!l&&c("BrowserSupportCore").hasCSS3DTransforms())return function(m,n,o){m[h]="translate3d("+n+"px,"+o+"px,0)";m[i]="hidden"};else return function(m,n,o){m[h]="translate("+n+"px,"+o+"px)"}}else return function(m,n,o){m.left=n+"px";m.top=o+"px"}}();f.exports=j}),null);
__d("Scrollbar.react",["cssVar","cx","DOMMouseMoveTracker","Keys","React","ReactDOM","ReactComponentWithPureRenderMixin","ReactWheelHandler","emptyFunction","translateDOMPositionXY"],(function a(b,c,d,e,f,g,h,i){__p&&__p();var j=c("React").PropTypes,k={position:0,scrollable:false},l=parseInt("4px",10),m=l*2,n=30,o=40,p=null,q=c("React").createClass({displayName:"Scrollbar",mixins:[c("ReactComponentWithPureRenderMixin")],propTypes:{contentSize:j.number.isRequired,defaultPosition:j.number,isOpaque:j.bool,isRTL:j.bool,orientation:j.oneOf(["vertical","horizontal"]),onScroll:j.func,position:j.number,size:j.number.isRequired,trackColor:j.oneOf(["gray"]),zIndex:j.number,verticalTop:j.number},getInitialState:function r(){var s=this.props;return this._calculateState(s.position||s.defaultPosition||0,s.size,s.contentSize,s.orientation)},componentWillReceiveProps:function r(s){var t=s.position;if(t===undefined)this._setNextState(this._calculateState(this.state.position,s.size,s.contentSize,s.orientation));else this._setNextState(this._calculateState(t,s.size,s.contentSize,s.orientation),s)},getDefaultProps:function r(){return{defaultPosition:0,isOpaque:false,onScroll:c("emptyFunction"),orientation:"vertical",zIndex:99}},render:function r(){__p&&__p();if(!this.state.scrollable)return null;var s=this.props.size,t,u,v=this.state.isHorizontal,w=!v,x=this.state.focused||this.state.isDragging,y=this.state.faceSize,z=this.props.isOpaque,A=this.props.verticalTop||0,B="_1t0r"+(w?" _1t0s":"")+(v?" _1t0t":"")+" _4jdr"+(z?" _1t0u":"")+(x?" _1t0v":""),C="_1t0w"+(v?" _1t0y":"")+(w?" _1t0z":"")+(x?" _1t0-":"")+" _1t0_",D=this.state.position*this.state.scale+l;if(v){t={width:s};u={width:y-m};D=this.props.isRTL?-D:D;c("translateDOMPositionXY")(u,D,0)}else{t={top:A,height:s};u={height:y-m};c("translateDOMPositionXY")(u,0,D)}t.zIndex=this.props.zIndex;if(this.props.trackColor==="gray")t.backgroundColor="#f6f7f9";return c("React").createElement("div",{onFocus:this._onFocus,onBlur:this._onBlur,onKeyDown:this._onKeyDown,onMouseDown:this._onMouseDown,onMouseEnter:this._onMouseEnter,onMouseLeave:this._onMouseLeave,className:B,style:t,tabIndex:0},c("React").createElement("div",{ref:"face",className:C,style:u}))},componentWillMount:function r(){var s=this.props.orientation==="horizontal",t=s?this._onWheelX:this._onWheelY;this._wheelHandler=new(c("ReactWheelHandler"))(t,this._shouldHandleX,this._shouldHandleY)},componentDidMount:function r(){this._mouseMoveTracker=new(c("DOMMouseMoveTracker"))(this._onMouseMove,this._onMouseMoveEnd,document.documentElement);if(this.props.position!==undefined&&this.state.position!==this.props.position)this._didScroll()},componentWillUnmount:function r(){this._nextState=null;this._mouseMoveTracker.releaseMouseMoves();if(p===this)p=null;delete this._mouseMoveTracker;this._onMouseLeave()},scrollBy:function r(s){this._onWheel(s)},_shouldHandleX:function r(s){return this.props.orientation==="horizontal"?this._shouldHandleChange(s):false},_shouldHandleY:function r(s){return this.props.orientation!=="horizontal"?this._shouldHandleChange(s):false},_shouldHandleChange:function r(s){if(this.props.orientation==="horizontal"&&this.props.isRTL)s*=-1;var t=this._calculateState(this.state.position+s,this.props.size,this.props.contentSize,this.props.orientation);return t.position!==this.state.position},_calculateState:function r(s,t,u,v){__p&&__p();if(t<1||u<=t)return k;var w=s+"_"+t+"_"+u+"_"+v;if(this._stateKey===w)return this._stateForKey;var x=v==="horizontal",y=t/u,z=t*y;if(z<n){y=(t-n)/(u-t);z=n}var A=true,B=u-t;if(s<0)s=0;else if(s>B)s=B;var C=this._mouseMoveTracker?this._mouseMoveTracker.isDragging():false,D={faceSize:z,isDragging:C,isHorizontal:x,position:s,scale:y,scrollable:A};this._stateKey=w;this._stateForKey=D;return D},_onMouseEnter:function r(){if(!this._isHovering){this._isHovering=true;var s=c("ReactDOM").findDOMNode(this);s&&s.addEventListener("wheel",this._wheelHandler.onWheel)}},_onMouseLeave:function r(){this._isHovering=false;var s=c("ReactDOM").findDOMNode(this);s&&s.removeEventListener("wheel",this._wheelHandler.onWheel)},_onWheelY:function r(s,t){this._onWheel(t)},_onWheelX:function r(s,t){this._onWheel(s)},_onWheel:function r(s){var t=this.props;if(t.orientation==="horizontal"&&t.isRTL)s*=-1;this._setNextState(this._calculateState(this.state.position+s,t.size,t.contentSize,t.orientation))},_onMouseDown:function r(event){__p&&__p();var s;if(event.target!==c("ReactDOM").findDOMNode(this.refs.face)){var t=event.nativeEvent,u=this.state.isHorizontal?t.offsetX||t.layerX:t.offsetY||t.layerY;if(this.state.isHorizontal&&this.props.isRTL)u=this.props.size-u;var v=this.props;u/=this.state.scale;s=this._calculateState(u-this.state.faceSize*.5/this.state.scale,v.size,v.contentSize,v.orientation)}else s={};s.focused=true;this._setNextState(s);this._mouseMoveTracker.captureMouseMoves(event);c("ReactDOM").findDOMNode(this).focus()},_onMouseMove:function r(s,t){var u=this.props,v=this.state.isHorizontal?s:t;if(this.state.isHorizontal&&this.props.isRTL)v*=-1;v/=this.state.scale;this._setNextState(this._calculateState(this.state.position+v,u.size,u.contentSize,u.orientation))},_onMouseMoveEnd:function r(){this._nextState=null;this._mouseMoveTracker.releaseMouseMoves();this.setState({isDragging:false})},_onKeyDown:function r(event){__p&&__p();var s=event.keyCode;if(s===c("Keys").TAB)return;var t=o,u=0;if(this.state.isHorizontal)switch(s){case c("Keys").HOME:u=-1;t=this.props.contentSize;break;case c("Keys").LEFT:u=this.props.isRTL?1:-1;break;case c("Keys").RIGHT:u=this.props.isRTL?-1:1;break;default:return}if(!this.state.isHorizontal)switch(s){case c("Keys").SPACE:if(event.shiftKey)u=-1;else u=1;break;case c("Keys").HOME:u=-1;t=this.props.contentSize;break;case c("Keys").UP:u=-1;break;case c("Keys").DOWN:u=1;break;case c("Keys").PAGE_UP:u=-1;t=this.props.size;break;case c("Keys").PAGE_DOWN:u=1;t=this.props.size;break;default:return}event.preventDefault();var v=this.props;this._setNextState(this._calculateState(this.state.position+t*u,v.size,v.contentSize,v.orientation))},_onFocus:function r(){this.setState({focused:true})},_onBlur:function r(){this.setState({focused:false})},_blur:function r(){if(this.isMounted())try{this._onBlur();c("ReactDOM").findDOMNode(this).blur()}catch(s){}},_setNextState:function r(s,t){__p&&__p();t=t||this.props;var u=t.position,v=this.state.position!==s.position;if(u===undefined){var w=v?this._didScroll:undefined;this.setState(s,w)}else if(u===s.position)this.setState(s);else{if(s.position!==undefined&&s.position!==this.state.position)this.props.onScroll(s.position);return}if(v&&p!==this){p&&p._blur();p=this}},_didScroll:function r(){this.props.onScroll(this.state.position)}});q.KEYBOARD_SCROLL_AMOUNT=o;q.SIZE=parseInt("15px",10);f.exports=q}),null);
__d("SimpleList.react",["cx","IntegerBufferSet","LayoutHelper","React","ReactDOM","Scrollbar.react","joinClasses","normalizeWheel","requestPersistentAnimationFrame","translateDOMPositionXY"],(function a(b,c,d,e,f,g,h){__p&&__p();var i,j,k=c("React").PropTypes;i=babelHelpers.inherits(l,c("React").Component);j=i&&i.prototype;function l(n){"use strict";j.constructor.call(this,n);m.call(this);this.$SimpleList2=new(c("IntegerBufferSet"))();var o=n.height;this.$SimpleList3=new(c("LayoutHelper"))(n.rowCount,n.rowHeight,o);var p=this.$SimpleList3.getLayout();this.state={contentHeight:p.contentHeight,itemPositioning:p.items,isScrolling:false,isDragging:false,scrollbarPosition:0,viewportHeight:p.viewportHeight}}l.prototype.componentWillReceiveProps=function(n){"use strict";if(this.props.height!==n.height||this.props.rowCount!==n.rowCount||this.props.rowHeight!==n.rowHeight||this.props.rowHeightTracker!=null||this.props.rowHeightTracker!==n.rowHeightTracker||this.props.goToRowIndex!==n.goToRowIndex){var o=n.height;if(n.rowCount===0)o=0;this.$SimpleList3.updateLayout(n.rowCount,n.rowHeight,o,null,n.rowHeightTracker,n.goToRowIndex);var p=this.$SimpleList3.getLayout();this.setState({contentHeight:p.contentHeight,itemPositioning:p.items,scrollbarPosition:p.position,viewportHeight:p.viewportHeight})}};l.prototype.componentDidUpdate=function(n){"use strict";if(this.props.goToRowIndex!==n.goToRowIndex){var o=this.state.itemPositioning,p=this.$SimpleList7(o);this.props.onRangeChange&&this.props.onRangeChange(p.firstIndex,p.lastIndex)}};l.prototype.componentDidMount=function(){"use strict";this.$SimpleList8(this.state.itemPositioning,[])};l.prototype.componentWillUnmount=function(){"use strict";this.$SimpleList9()};l.prototype.$SimpleList14=function(n,event){"use strict";__p&&__p();if(this.$SimpleList3.canHandleScrollBy(n)){if(!this.$SimpleList4){this.$SimpleList4=true;c("requestPersistentAnimationFrame")(this.$SimpleList10)}this.$SimpleList3.scrollBy(n);event.preventDefault();event.stopPropagation();this.$SimpleList15()}if(this.$SimpleList4){clearTimeout(this.$SimpleList5);this.$SimpleList5=setTimeout(this.$SimpleList11,100)}};l.prototype.$SimpleList21=function(){"use strict";__p&&__p();var n=this.state.itemPositioning,o=[],p=this.$SimpleList7(n);for(var q=0;q<n.length;q++){var r=n[q],s={position:"absolute",height:r.rowHeight,width:"100%",pointerEvents:this.state.isScrolling?"none":"auto"};c("translateDOMPositionXY")(s,0,Math.round(r.offset));var t={height:r.rowHeight,rowIndex:r.index,top:r.offset,width:this.props.width},u;if(typeof this.props.item==="function")u=this.props.item(t);else u=c("React").cloneElement(this.props.item,t);var v=this.$SimpleList20(r.index,p.firstIndex,p.lastIndex);o.push(c("React").createElement("div",{key:v,style:s},u))}return o};l.prototype.render=function(){"use strict";var n={height:this.state.viewportHeight,width:this.props.width},o=this.$SimpleList21(),p=void 0;if(!this.props.hideScrollShadow&&this.state.scrollbarPosition)p=c("React").createElement("div",{className:"_24tv",style:{top:0}});var q=void 0;if(!this.props.hideScrollShadow&&this.state.scrollbarPosition<this.state.contentHeight-this.props.height)q=c("React").createElement("div",{className:"_24tw",style:{top:this.state.viewportHeight}});return c("React").createElement("div",{onMouseEnter:this.$SimpleList12,onMouseLeave:this.$SimpleList9,onTouchStart:this.$SimpleList16,onTouchMove:this.$SimpleList18,onTouchEnd:this.$SimpleList17,style:n,className:c("joinClasses")("_24tx",this.props.className)},o,p,q,c("React").createElement("div",{className:this.props.scrollbarOnHoverOnly?"_5-dk":""},c("React").createElement(c("Scrollbar.react"),{contentSize:this.state.contentHeight,onScroll:this.$SimpleList19,size:this.props.height,position:this.state.scrollbarPosition})))};l.propTypes={className:k.string,width:k.number,rowCount:k.number.isRequired,height:k.number.isRequired,hideScrollShadow:k.bool.isRequired,rowHeight:k.number.isRequired,scrollbarOnHoverOnly:k.bool.isRequired,item:k.oneOfType([k.element,k.func]).isRequired,onRangeChange:k.func,rowHeightTracker:k.object,goToRowIndex:k.number};l.defaultProps={hideScrollShadow:false,scrollbarOnHoverOnly:false};var m=function m(){__p&&__p();this.$SimpleList3=null;this.$SimpleList2=null;this.$SimpleList4=null;this.$SimpleList5=null;this.$SimpleList6=false;this.$SimpleList10=function(){this.setState({isScrolling:true})}.bind(this);this.$SimpleList11=function(){this.$SimpleList4=false;this.setState({isScrolling:false})}.bind(this);this.$SimpleList12=function(){if(!this.$SimpleList6){this.$SimpleList6=true;c("ReactDOM").findDOMNode(this).addEventListener("wheel",this.$SimpleList13)}}.bind(this);this.$SimpleList9=function(){this.$SimpleList6=false;c("ReactDOM").findDOMNode(this).removeEventListener("wheel",this.$SimpleList13)}.bind(this);this.$SimpleList13=function(event){event.deliberateSync=true;var n=c("normalizeWheel")(event),o=Math.round(n.pixelY);this.$SimpleList14(o,event)}.bind(this);this.$SimpleList16=function(event){this.$SimpleList1=event.touches?event.touches[0].clientY:event.clientY;this.setState({isDragging:true})}.bind(this);this.$SimpleList17=function(event){this.setState({isDragging:false})}.bind(this);this.$SimpleList18=function(event){if(!this.state.isDragging)return;var n=event.touches?event.touches[0].clientY:event.clientY,o=n-this.$SimpleList1;this.$SimpleList14(-o,event)}.bind(this);this.$SimpleList7=function(n){var o,p;if(n[0]!==undefined){o=n[0].index;p=o+n.length-1}else{o=0;p=0}return{firstIndex:o,lastIndex:p}};this.$SimpleList8=function(n,o){if(!o)o=this.state.itemPositioning;var p=this.$SimpleList7(o),q=this.$SimpleList7(n);if(this.props.onRangeChange&&(q.firstIndex!==p.firstIndex||q.lastIndex!==p.lastIndex))this.props.onRangeChange(q.firstIndex,q.lastIndex)}.bind(this);this.$SimpleList19=function(n){this.$SimpleList3.scrollTo(Math.round(n));this.$SimpleList15()}.bind(this);this.$SimpleList15=function(){var n=this.$SimpleList3.getLayout();this.$SimpleList8(n.items);this.setState({contentHeight:n.contentHeight,itemPositioning:n.items,scrollbarPosition:n.position})}.bind(this);this.$SimpleList20=function(n,o,p){var q=this.$SimpleList2.getValuePosition(n),r=p-o+1,s=r+2;if(q===null&&this.$SimpleList2.getSize()>=s)q=this.$SimpleList2.replaceFurthestValuePosition(o,p,n);if(q===null)q=this.$SimpleList2.getNewPositionForValue(n);return q}.bind(this)};f.exports=l}),null);
__d("DraggableItemMixin",["cssVar","cx","DOMDimensions","Draggable","Event","Keys","React","ReactDOM","Rect","joinClasses","getScrollPosition","getViewportDimensions"],(function a(b,c,d,e,f,g,h,i){__p&&__p();var j=c("React").PropTypes,k=parseInt("1024px",10),l={_draggable:null,_keyDownListener:null,propTypes:{item:j.shape({className:j.string,id:j.string.isRequired,isMovable:j.bool,isRemovable:j.bool,label:j.oneOfType([j.object,j.string]).isRequired,isVisible:j.bool}).isRequired,onCancelDrag:j.func.isRequired,onDrag:j.func.isRequired,onDrop:j.func.isRequired,onGrab:j.func.isRequired,onRemove:j.func.isRequired},getInitialState:function m(){return{dragging:false,width:null}},_toggleDraggable:function m(n){var o=c("ReactDOM").findDOMNode(this);if(n&&!this._draggable)this._draggable=new(c("Draggable"))(o).setNamespace("AbstractDraggableList").setUseAbsolute(true).setGrabHandler(this._onGrab).setDragHandler(this._onDrag).setDropHandler(this._onDrop).addHandle(c("ReactDOM").findDOMNode(this.refs.dragHandle));else if(!n&&this._draggable){if(this._draggable.active)this._cancelDrag();this._draggable.destroy()}},componentDidMount:function m(){this._toggleDraggable(this.props.item.isMovable)},componentWillUnmount:function m(){this._toggleDraggable(false)},componentWillReceiveProps:function m(n){this._toggleDraggable(n.item.isMovable)},_onGrab:function m(){__p&&__p();if(this.state.dragging)return;var n=c("ReactDOM").findDOMNode(this);this._keyDownListener=c("Event").listen(document,"keydown",function(q){if(q.keyCode===c("Keys").ESC){this._cancelDrag();q.preventDefault()}}.bind(this));var o=c("DOMDimensions").getElementDimensions(n),p=o.width;this.setState({dragging:true,width:p});this.props.onGrab(this.props.item.id,n)},_onDrag:function m(){var n=c("ReactDOM").findDOMNode(this),o=250,p=n.parentNode,q=new(c("Rect"))(p),r=c("getViewportDimensions")(),s=c("getScrollPosition")(window),t=Math.max(r.width,k),u=new(c("Rect"))(s.y,Math.min(t,q.r+o),r.height+s.y,Math.max(0,q.l-o));this._draggable&&this._draggable.setBoundingBox(u);this.props.onDrag()},_cancelDrag:function m(){this._draggable&&this._draggable.killDrag();this._endDrag();this.props.onCancelDrag()},_endDrag:function m(){this._draggable&&this._draggable.resetPosition();this.setState({dragging:false,width:null});this._keyDownListener&&this._keyDownListener.remove();delete this._keyDownListener},_onDrop:function m(){this._endDrag();this.props.onDrop()},_onRemoveButtonClick:function m(){this.props.onRemove(this.props.item.id)},_getRootClassName:function m(){var n=this.props.item,o=(n.isMovable?"_58zo":"")+(this.state.dragging?" _58zp":"")+" _58z_"+(!n.isMovable?" _58-6":"");return c("joinClasses")(o,this.props.item.className||"_58-8")}};f.exports=l}),null);
__d("BUIDefaultDraggableItem.react",["cx","AdsInterfacesComponentsLogger","BUIAdoptionCloseButton.react","CenteredContainer.react","DraggableItemMixin","FBOverlayContainer.react","FBOverlayElement.react","React","ReactComponentWithPureRenderMixin","joinClasses"],(function a(b,c,d,e,f,g,h){__p&&__p();var i=c("React").PropTypes,j=c("React").createClass({displayName:"BUIDefaultDraggableItem",mixins:[c("DraggableItemMixin"),c("ReactComponentWithPureRenderMixin")],propTypes:{shouldPassClassThrough:i.bool},defaultProps:{shouldPassClassThrough:false},componentDidCatch:function k(l){c("AdsInterfacesComponentsLogger").logBIGComponentError(l,this.constructor.displayName);throw l},render:function k(){__p&&__p();var l=this.props.item,m=null;if(l.isMovable)m=c("React").createElement(c("FBOverlayElement.react"),{horizontal:"left",vertical:"fit"},c("React").createElement(c("CenteredContainer.react"),{horizontal:false,vertical:true},c("React").createElement("div",{className:"_58zl"})));var n=null;if(l.isRemovable)n=c("React").createElement(c("FBOverlayElement.react"),{horizontal:"right",vertical:"fit"},c("React").createElement("span",null,c("React").createElement(c("BUIAdoptionCloseButton.react"),{className_DEPRECATED:"_58zm",onClick:this._onRemoveButtonClick})));var o=c("React").createElement(c("FBOverlayElement.react"),{horizontal:"left",ref:"dragHandle",vertical:"fit"},c("React").createElement("div",{className:"_58zn"})),p=this._getRootClassName();if(this.props.shouldPassClassThrough===true)p=c("joinClasses")(p,this.props.className);return c("React").createElement(c("FBOverlayContainer.react"),{className:p,key:l.id,style:{width:this.state.width}},l.label,m,o,n)}});f.exports=j}),null);
__d("AbstractDraggableList.react",["cx","invariant","BinarySearch","BUIDefaultDraggableItem.react","DOMDimensions","joinClasses","React","ReactDOM","Rect"],(function a(b,c,d,e,f,g,h,i){"use strict";__p&&__p();var j,k,l=c("React").PropTypes;j=babelHelpers.inherits(m,c("React").PureComponent);k=j&&j.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=k.constructor).call.apply(n,[this].concat(q)),this.state={targetIndex:null,sourceHeight:null},this.$AbstractDraggableList5=function(s){var t=c("ReactDOM").findDOMNode(this),u=t.childNodes,v=u.length-1-(this.state.targetIndex!==null?1:0),w=c("BinarySearch").leastUpperBound(function(x){if(this.sourceIndex<=x)x+=1;if(this.state.targetIndex!==null&&this.state.targetIndex<=x)x+=1;var y=new(c("Rect"))(u[x]);return(y.t+y.b)/2}.bind(this),s,0,v,function(x,y){return x-y});return this.sourceIndex<=w?w+1:w}.bind(this),this.$AbstractDraggableList4=function(s,t){this.sourceIndex=this.props.itemIDs.indexOf(s);this.sourceElem=t;var u=c("DOMDimensions").getElementDimensions(this.sourceElem),v=u.height;this.setState({sourceHeight:v});this.$AbstractDraggableList2()}.bind(this),this.$AbstractDraggableList2=function(){var s=new(c("Rect"))(this.sourceElem),t=(s.t+s.b)/2,u=this.$AbstractDraggableList5(t);while(u!==this.props.itemIDs.length&&(!this.props.itemsByID[this.props.itemIDs[u]].isMovable||u===this.sourceIndex))u+=1;this.setState({targetIndex:u})}.bind(this),this.$AbstractDraggableList3=function(){var s=this.props.itemIDs[this.sourceIndex],t=this.state.targetIndex!==this.props.itemIDs.length?this.props.itemIDs[this.state.targetIndex]:null;this.endDrag();this.props.onReorder(s,t)}.bind(this),this.$AbstractDraggableList1=function(){this.endDrag()}.bind(this),this.endDrag=function(){delete this.sourceIndex;delete this.sourceElem;this.setState({sourceHeight:null,targetIndex:null})}.bind(this),o}m.prototype.render=function(){this.props.itemIDs.length!==0||i(0);var n=this.props.itemsRenderer,o=this.props.itemIDs.map(function(s){return c("React").createElement(n,{className:this.props.className,item:this.props.itemsByID[s],key:s,onCancelDrag:this.$AbstractDraggableList1,onDrag:this.$AbstractDraggableList2,onDrop:this.$AbstractDraggableList3,onGrab:this.$AbstractDraggableList4,onRemove:this.props.onRemove,onSettingsClick:this.props.onSettingsClick})}.bind(this));if(this.state.targetIndex!==null){var p=this.props.itemIDs[this.sourceIndex],q=this.props.itemsByID[p],r=c("React").createElement("li",{className:q.placeholderClassName||"_58-9",key:"_placeholder",style:{height:this.state.sourceHeight}});o.splice(this.state.targetIndex,0,r)}return c("React").createElement("ul",babelHelpers["extends"]({},this.props,{className:c("joinClasses")(this.props.className,"_58-a")}),o)};m.propTypes={className:l.string,itemIDs:l.array.isRequired,itemsByID:l.object.isRequired,itemsRenderer:l.func.isRequired,onRemove:l.func.isRequired,onReorder:l.func.isRequired,onSettingsClick:l.func};m.defaultProps={itemsRenderer:c("BUIDefaultDraggableItem.react")};f.exports=m}),null);
__d("BUIDraggableList.react",["cx","invariant","AbstractDraggableList.react","BUIComponent","FBOverlayBase.react","React","XUIGrayText.react","joinClasses","mapObject"],(function a(b,c,d,e,f,g,h,i){"use strict";__p&&__p();var j,k,l=c("React").PropTypes;j=babelHelpers.inherits(m,c("BUIComponent"));k=j&&j.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=k.constructor).call.apply(n,[this].concat(q)),this.$BUIDraggableList1=function(s){var t=c("React").createElement(c("FBOverlayBase.react"),null,c("React").createElement("div",null,c("React").createElement(c("XUIGrayText.react"),{shade:"medium"},c("React").createElement("div",null,s))));return t},this.$BUIDraggableList2=function(s){var t=c("mapObject")(s,function(u){var v=this.$BUIDraggableList1(u.label),w=babelHelpers["extends"]({},u,{label:v});return w}.bind(this));return t}.bind(this),o}m.prototype.render=function(){this.props.itemIDs.length!==0||i(0);var n=c("joinClasses")(this.props.className,"_5nz6");return c("React").createElement(c("AbstractDraggableList.react"),babelHelpers["extends"]({},this.props,{className:n,itemsByID:this.$BUIDraggableList2(this.props.itemsByID)}))};m.propTypes={itemIDs:l.arrayOf(l.string.isRequired).isRequired,itemsByID:l.object.isRequired,itemsRenderer:l.func,onRemove:l.func.isRequired,onReorder:l.func.isRequired};f.exports=m}),null);
__d("BUISwitch.react",["cx","fbt","BUIComponent","Event","Keys","React"],(function a(b,c,d,e,f,g,h,i){"use strict";__p&&__p();var j,k,l=c("React").PropTypes;j=babelHelpers.inherits(m,c("BUIComponent"));k=j&&j.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=k.constructor).call.apply(n,[this].concat(q)),this.$BUISwitch1=function(event){if(this.props.disabled)return;this.props.onToggle&&this.props.onToggle(!this.props.value);if(this.props.preventEventBubbling)event.stopPropagation()}.bind(this),this.$BUISwitch2=function(event){if(this.props.disabled)return;var s=c("Event").getKeyCode(event);if(s===c("Keys").RETURN||s===c("Keys").SPACE){event.preventDefault();this.props.onToggle&&this.props.onToggle(!this.props.value);if(this.props.preventEventBubbling)event.stopPropagation()}}.bind(this),o}m.prototype.render=function(){return c("React").createElement("div",babelHelpers["extends"]({},this.props,{className:"_128j"+(this.props.value?" _128k":"")+(!this.props.value?" _128l":"")+(this.props.disabled?" _128m":"")+(this.props.animate?" _128n":"")+(this.props.inline?" _3n6a":"")}),c("React").createElement("div",{"aria-checked":this.props.value?"true":"false",className:"_128o",onClick:this.$BUISwitch1,onKeyDown:this.$BUISwitch2,onMouseDown:this.$BUISwitch3,role:"checkbox",tabIndex:this.props.disabled?"-1":"0"},c("React").createElement("div",{className:"_128p"})),this.$BUISwitch4())};m.prototype.$BUISwitch4=function(){if(!this.props.showLabel)return null;return c("React").createElement("span",{className:"_128q"},this.props.value?i._("ON"):i._("OFF"))};m.prototype.$BUISwitch3=function(event){event.preventDefault()};m.propTypes={animate:l.bool.isRequired,disabled:l.bool,onToggle:l.func,showLabel:l.bool,value:l.bool.isRequired,preventEventBubbling:l.bool,inline:l.bool};m.defaultProps={animate:true};f.exports=m}),null);
__d("WheelEventContain.react",["DOMEventListener","React"],(function a(b,c,d,e,f,g){__p&&__p();var h,i;h=babelHelpers.inherits(j,c("React").Component);i=h&&h.prototype;function j(){__p&&__p();var k,l;"use strict";for(var m=arguments.length,n=Array(m),o=0;o<m;o++)n[o]=arguments[o];return l=(k=i.constructor).call.apply(k,[this].concat(n)),this.$WheelEventContain1=null,this.$WheelEventContain2=function(p){if(p&&!this.$WheelEventContain1)this.$WheelEventContain1=c("DOMEventListener").add(p,"wheel",this.$WheelEventContain3,{passive:true});else if(!p&&this.$WheelEventContain1){this.$WheelEventContain1.remove();this.$WheelEventContain1=null}}.bind(this),l}j.prototype.render=function(){"use strict";return c("React").createElement("div",babelHelpers["extends"]({},this.props,{ref:this.$WheelEventContain2}))};j.prototype.$WheelEventContain3=function(event){"use strict";event.stopPropagation()};f.exports=j}),null);
__d("AccessibleTableParts.react",["cx","React","joinClasses"],(function a(b,c,d,e,f,g,h){__p&&__p();var i,j,k,l,m=c("React").PropTypes;function n(r,s){return c("React").Children.map(r,function(t){if(t&&t.type==="th")return c("React").cloneElement(t,{scope:s});return t})}i=babelHelpers.inherits(o,c("React").Component);j=i&&i.prototype;o.prototype.render=function(){"use strict";var r=n(this.props.children,"col");return c("React").createElement("tr",this.props,r)};function o(){"use strict";i.apply(this,arguments)}k=babelHelpers.inherits(p,c("React").Component);l=k&&k.prototype;p.prototype.render=function(){"use strict";var r=n(this.props.children,"row"),s=this.props,t=s.className,u=s.hover,v=s.selected,w=babelHelpers.objectWithoutProperties(s,["className","hover","selected"]);t=c("joinClasses")((!u?"_1isx":"")+(v?" _4jpt":""),t);return c("React").createElement("tr",babelHelpers["extends"]({className:t},w),r)};function p(){"use strict";k.apply(this,arguments)}p.propTypes={hover:m.bool,selected:m.bool};p.defaultProps={hover:true,selected:false};var q={HeadRow:o,BodyRow:p};f.exports=q}),null);
__d("XUITable.react",["cx","React","joinClasses"],(function a(b,c,d,e,f,g,h){__p&&__p();var i,j,k=c("React").PropTypes;i=babelHelpers.inherits(l,c("React").Component);j=i&&i.prototype;l.prototype.render=function(){"use strict";var m="_4-ss"+(this.props.outerBorder?" _4-sv":"");return c("React").createElement("table",babelHelpers["extends"]({},this.props,{className:c("joinClasses")(this.props.className,m)}),this.props.children)};function l(){"use strict";i.apply(this,arguments)}l.propTypes={outerBorder:k.bool};f.exports=l}),null);
__d("PostScheduleDialog.react",["cx","fbt","DatePickerRestraints","React","ReactLayeredComponentMixin_DEPRECATED","XUIDateTimePicker.react","XUIDialog.react","XUIDialogBody.react","XUIDialogFooter.react","XUIDialogTitle.react","XUIDialogButton.react","XUIDialogCancelButton.react","XUIGrayText.react","XUINotice.react"],(function a(b,c,d,e,f,g,h,i){__p&&__p();var j=c("React").PropTypes,k=60*1e3,l=24*60*60*1e3,m=30,n=c("React").createClass({displayName:"PostScheduleDialog",mixins:[c("ReactLayeredComponentMixin_DEPRECATED")],propTypes:{initialDate:j.instanceOf(Date),isReschedule:j.bool,timezoneStr:j.string.isRequired,onSubmit:j.func.isRequired,defaultScheduledTimeDelta:j.number,submitLabel:j.string},getDefaultProps:function o(){return{defaultScheduledTimeDelta:11*k}},getInitialState:function o(){return{shown:false,date:this.props.initialDate?this.props.initialDate:new Date(Date.now()+this.props.defaultScheduledTimeDelta)}},show:function o(){this.setState({shown:true,date:this.props.initialDate?this.props.initialDate:new Date(Date.now()+this.props.defaultScheduledTimeDelta)})},renderLayers:function o(){var p=new Date(Date.now()-l),q=new Date(Date.now()+6*m*l),r=this._isSelectedTimeValid(this.state.date.getTime()),s=this.props.isReschedule?i._("Reschedule Post"):i._("Schedule Post"),t=this.props.submitLabel?this.props.submitLabel:this.props.isReschedule?i._("Reschedule"):i._("Schedule");return c("React").createElement(c("XUIDialog.react"),{shown:this.state.shown,width:343},c("React").createElement(c("XUIDialogTitle.react"),null,s),c("React").createElement(c("XUIDialogBody.react"),{className:"_hg8"},c("React").createElement(c("XUIGrayText.react"),{shade:"light",size:"meta1",display:"block"},i._("Select a date and time in the future for when you want your post to publish.")),c("React").createElement(c("XUIDateTimePicker.react"),{allowEmpty:false,dateRestraints:[c("DatePickerRestraints").enforceDateIsNoEarlierThan(p),c("DatePickerRestraints").enforceDateIsNoLaterThan(q)],className:"_3-8x",date:this.state.date,onChange:this._onChange,timezone:this.props.timezoneStr}),c("React").createElement(c("XUINotice.react"),{use:"warn",className:"_3-8x"+(r?" hidden_elem":"")},i._("Scheduled posts need to be shared between 10 minutes and 6 months from when you create them."))),c("React").createElement(c("XUIDialogFooter.react"),null,c("React").createElement(c("XUIDialogCancelButton.react"),null),c("React").createElement(c("XUIDialogButton.react"),{action:"confirm",label:t,onClick:this._onSubmitClick,disabled:!r,use:"confirm"})))},render:function o(){return c("React").createElement("div",null)},_onChange:function o(p){this.setState({date:p})},_onSubmitClick:function o(){this.props.onSubmit(this.state.date);this.setState({shown:false})},_isSelectedTimeValid:function o(p){var q=Date.now()+10*k,r=Date.now()+6*m*l;return p>q&&p<r}});f.exports=n}),null);
__d("flash-js",[],(function a(b,c,d,e,f,g){function h(){}Object.assign(h,{INIT:"flash/init",READY:"flash/ready",FAILED:"flash/failed"});f.exports=h}),null);
__d("GraphAPIPolling",["Promise","DateConsts"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h=5*c("DateConsts").SEC_PER_MIN*c("DateConsts").MS_PER_SEC,i=5*c("DateConsts").MS_PER_SEC,j=125;function k(m,n,o){if(m==null)return n;if(m<=0)return n;return m}var l={poll:function m(n,o,p,q){__p&&__p();return function(r){__p&&__p();var s=k(p,h,"maxTime"),t=k(q,i,"maxDelay"),u=Date.now()+s,v=Math.min(j,t),w=null,x=function(y,z){__p&&__p();n(r).done(function(A){__p&&__p();var B=o(A);if(B instanceof Error){z(B);return}if(B){y(r);return}if(Date.now()>=u){z(new Error("Polling stopped after "+s+" milliseconds."));return}w=setTimeout(x.bind(this,y,z),v);v=Math.min(v*2,t||0)}.bind(this),z)}.bind(this);return new(c("Promise"))(x)}.bind(this)}};f.exports=l}),null);
__d("PageInsightsPostFields",[],(function a(b,c,d,e,f,g){f.exports=Object.freeze({CAPTION:"caption",CREATION_TIME:"created_time",DESCRIPTION:"description",ID:"id",IDENTIFIER:"identifier",IS_HOT:"is_hot",LINK:"link",MESSAGE:"message",NAME:"name",PICTURE:"picture",PRIVACY:"privacy",PRIVACY_COUNTRIES:"privacy_countries",PRIVACY_CITIES:"privacy_cities",PRIVACY_DESCRIPTION:"privacy_description",PRIVACY_LOCALES:"privacy_locales",PRIVACY_POST_TARGETING:"privacy_post_targeting",PROMOTABLE_POST_ID:"promotable_post_id",PROPERTY:"properties",STATUS_TYPE:"status_type",STYLE:"style",TYPE:"type",HAS_HINTS:"has_hints",HINTS_CONFIG:"hints_config",AUDIENCE_TARGETING:"audience_targeting",VISIBILITY:"visibility",TIMELINE_TOKEN:"timeline_token"})}),null);
__d("HubbleConstants",["PageInsightsPostFields"],(function a(b,c,d,e,f,g){var h={DATE_RANGE:{TODAY:"today",YESTERDAY:"yesterday",WEEK:"7_days",MONTH:"28_days"},DEFAULT_SECTION:"navOverview",NAV_SECTIONS:{LIKES:"navLikes",FOLLOWERS:"navFollowers",LOCAL:"navLocal",OVERVIEW:"navOverview",PEOPLE:"navPeople",POSTS:"navPosts",REACH:"navReach",VISITS:"navVisits",PAGE_VIEWS:"navPageViews",GROUPS:"navGroups",ACTIONS_ON_PAGE:"navActionsOnPage",WIFI:"navWifi",EVENTS:"navEvents",VIDEOS:"navVideos",SHOP:"navShop",BRANDED_CONTENT:"navBrandedContent",MESSAGES:"navMessages",PROMOTIONS:"navPromotions",API:"navAPI",IA_CTA_INSIGHTS:"navIaCtaInsights",OFFERS:"navOffers",PAGE_INVITES:"navPageInvites",REWARDS:"navRewards",PREVIEWS:"navPreviews",PURCHASES:"navPurchases",AD_BREAKS:"navAdBreaks",QR_CODE:"navQRCode"},SCROLL_TARGETS:{ENGAGEMENT:"engagement"},PIPELINE_DAILY:"pipe_daily",PIPELINE_WEEKLY:"pipe_weekly",PIPELINE_MONTHLY:"pipe_monthly",PIPELINE_LIFETIME:"pipe_lifetime",PIPELINE_DEMO:"pipe_demo",PERIOD_DAY:"day",PERIOD_WEEK:"week",PERIOD_28_DAYS:"days_28",PERIOD_LIFETIME:"lifetime",SERIES_AREA:"area",SERIES_LINE:"line",SEC_IN_MIN:60,DAYS_PER_WEEK:7,SORT_BY_DATE:"date",SORT_BY_REACH:"reach",SORT_BY_CLICKS:"clicks",SORT_BY_LCS:"lcs",REQ_PREMIUM_VIDEO:"premium_video",REQ_PUBLISHED:"published",REQ_SMART_PUBLISHING:"smart_publishing",REQ_UNPUBLISHED:"unpublished",REQ_VIDEO:"video",TABLE_PAGE_SIZE:10,FACEBOOK_DEMOGRAPHICS:{F:{ageBuckets:{"13-17":7.2,"18-24":14.4,"25-34":11.8,"35-44":6.2,"45-54":3.6,"55-64":1.9,"65+":1.1},total:46.2},M:{ageBuckets:{"13-17":7.7,"18-24":17.9,"25-34":14.8,"35-44":7,"45-54":3.6,"55-64":1.6,"65+":1.3},total:53.8},total:100},MIN_WIFI_USERS_COUNT:100,POSTS_TABLE_FIELDS:[c("PageInsightsPostFields").CAPTION,c("PageInsightsPostFields").CREATION_TIME,c("PageInsightsPostFields").DESCRIPTION,c("PageInsightsPostFields").ID,c("PageInsightsPostFields").IDENTIFIER,c("PageInsightsPostFields").MESSAGE,c("PageInsightsPostFields").NAME,c("PageInsightsPostFields").PICTURE,c("PageInsightsPostFields").PRIVACY,c("PageInsightsPostFields").PROMOTABLE_POST_ID,c("PageInsightsPostFields").STATUS_TYPE,c("PageInsightsPostFields").TYPE,c("PageInsightsPostFields").HAS_HINTS,c("PageInsightsPostFields").HINTS_CONFIG,c("PageInsightsPostFields").VISIBILITY,c("PageInsightsPostFields").TIMELINE_TOKEN],FBTYPE_VIDEO:128};f.exports=h}),null);
__d("VideoCopyrightUITypedLogger",["Banzai","GeneratedLoggerUtils","nullthrows"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();function h(){this.clear()}h.prototype.log=function(){c("GeneratedLoggerUtils").log("logger:VideoCopyrightUILoggerConfig",this.$VideoCopyrightUITypedLogger1,c("Banzai").BASIC)};h.prototype.logVital=function(){c("GeneratedLoggerUtils").log("logger:VideoCopyrightUILoggerConfig",this.$VideoCopyrightUITypedLogger1,c("Banzai").VITAL)};h.prototype.clear=function(){this.$VideoCopyrightUITypedLogger1={};return this};h.prototype.updateData=function(j){this.$VideoCopyrightUITypedLogger1=babelHelpers["extends"]({},this.$VideoCopyrightUITypedLogger1,j);return this};h.prototype.setAppID=function(j){this.$VideoCopyrightUITypedLogger1.app_id=j;return this};h.prototype.setAttributionID=function(j){this.$VideoCopyrightUITypedLogger1.attribution_id=j;return this};h.prototype.setContentCategory=function(j){this.$VideoCopyrightUITypedLogger1.content_category=j;return this};h.prototype.setCopyrightChecked=function(j){this.$VideoCopyrightUITypedLogger1.copyright_checked=j;return this};h.prototype.setCopyrightContentID=function(j){this.$VideoCopyrightUITypedLogger1.copyright_content_id=j;return this};h.prototype.setCopyrightID=function(j){this.$VideoCopyrightUITypedLogger1.copyright_id=j;return this};h.prototype.setEvent=function(j){this.$VideoCopyrightUITypedLogger1.event=j;return this};h.prototype.setExceptionClass=function(j){this.$VideoCopyrightUITypedLogger1.exception_class=j;return this};h.prototype.setExceptionMessage=function(j){this.$VideoCopyrightUITypedLogger1.exception_message=j;return this};h.prototype.setExceptionStack=function(j){this.$VideoCopyrightUITypedLogger1.exception_stack=c("GeneratedLoggerUtils").serializeVector(j);return this};h.prototype.setIsReference=function(j){this.$VideoCopyrightUITypedLogger1.is_reference=j;return this};h.prototype.setIsReferenceDisabled=function(j){this.$VideoCopyrightUITypedLogger1.is_reference_disabled=j;return this};h.prototype.setLiveStatus=function(j){this.$VideoCopyrightUITypedLogger1.live_status=j;return this};h.prototype.setMatchID=function(j){this.$VideoCopyrightUITypedLogger1.match_id=j;return this};h.prototype.setMatchedVideoID=function(j){this.$VideoCopyrightUITypedLogger1.matched_video_id=j;return this};h.prototype.setMessage=function(j){this.$VideoCopyrightUITypedLogger1.message=j;return this};h.prototype.setMonitoringType=function(j){this.$VideoCopyrightUITypedLogger1.monitoring_type=j;return this};h.prototype.setOwnershipCountries=function(j){this.$VideoCopyrightUITypedLogger1.ownership_countries=j;return this};h.prototype.setResolvedTimestamp=function(j){this.$VideoCopyrightUITypedLogger1.resolved_timestamp=j;return this};h.prototype.setRightsHolderID=function(j){this.$VideoCopyrightUITypedLogger1.rights_holder_id=j;return this};h.prototype.setRuleID=function(j){this.$VideoCopyrightUITypedLogger1.rule_id=j;return this};h.prototype.setSource=function(j){this.$VideoCopyrightUITypedLogger1.source=j;return this};h.prototype.setVC=function(j){this.$VideoCopyrightUITypedLogger1.vc=j;return this};h.prototype.setWhitelistedIds=function(j){this.$VideoCopyrightUITypedLogger1.whitelisted_ids=j;return this};h.prototype.setWhitelistedIgUserIds=function(j){this.$VideoCopyrightUITypedLogger1.whitelisted_ig_user_ids=j;return this};var i={app_id:true,attribution_id:true,content_category:true,copyright_checked:true,copyright_content_id:true,copyright_id:true,event:true,exception_class:true,exception_message:true,exception_stack:true,is_reference:true,is_reference_disabled:true,live_status:true,match_id:true,matched_video_id:true,message:true,monitoring_type:true,ownership_countries:true,resolved_timestamp:true,rights_holder_id:true,rule_id:true,source:true,vc:true,whitelisted_ids:true,whitelisted_ig_user_ids:true};f.exports=h}),null);
__d("SUIAtlasConstants",["cssVar","SUITypeStyle"],(function a(b,c,d,e,f,g,h){"use strict";var i={black:"#000",blackOpacity40:"rgba(0, 0, 0, .4)",neutral80:"#394E5D",neutral72:"#466072",neutral50:"#788F9F",neutral30:"#A0B0BB",neutral15:"#D0DAE0",neutral06:"#EEEEEE",neutral03:"#F6F6F6",neutral02:"#F9F9F9",white:"#fff",green:"#4EC099",greenTint85:"#E4F5EF",greenTint50:"#A6DFCC",greenShade10:"#46AC89",greenShade25:"#3A8F72",greenStatus:"#9FD356",blue:"#27A9E1",blueTint85:"#DEF2FA",blueTint50:"#93D4F0",blueShade10:"#2397CA",blueShade25:"#1D7EA8",red:"#F55D5D",redTint85:"#FDE6E6",redTint50:"#FAAEAE",redShade10:"#DC5353",redShade25:"#B74545",yellow:"#FFA933",yellowTint85:"#FFF2E0",yellowTint50:"#FFD499",yellowShade10:"#E5972D",yellowShade25:"#BF7E26"},j={type40:new(c("SUITypeStyle"))({color:"#466072",fontFamily:"Freight Sans Bold, Helvetica, Arial, Lucida Grande, sans-serif",fontSize:"40px",textRendering:"optimizelegibility"}),type32:new(c("SUITypeStyle"))({color:"#788F9F",fontFamily:"Freight Sans Bold, Helvetica, Arial, Lucida Grande, sans-serif",fontSize:"32px",textRendering:"optimizelegibility"}),type32Value:new(c("SUITypeStyle"))({color:"#466072",fontFamily:"Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif",fontSize:"32px",fontWeight:"200"}),type24:new(c("SUITypeStyle"))({color:"#788F9F",fontFamily:"Freight Sans Bold, Helvetica, Arial, Lucida Grande, sans-serif",fontSize:"24px",textRendering:"optimizelegibility"}),type24Bold:new(c("SUITypeStyle"))({color:"#466072",fontFamily:"Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif",fontSize:"24px",fontWeight:"bold"}),type24Value:new(c("SUITypeStyle"))({color:"#466072",fontFamily:"Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif",fontSize:"24px",fontWeight:"200"}),type16:new(c("SUITypeStyle"))({color:"#466072",fontFamily:"Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif",fontSize:"16px"}),type12:new(c("SUITypeStyle"))({color:"#466072",fontFamily:"Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif",fontSize:"12px"}),type12Bold:new(c("SUITypeStyle"))({color:"#466072",fontFamily:"Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif",fontSize:"12px",fontWeight:"bold"}),type12Form:new(c("SUITypeStyle"))({color:"#000",fontFamily:"Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif",fontSize:"12px"}),type12Toast:new(c("SUITypeStyle"))({color:"#fff",fontFamily:"Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif",fontSize:"12px",fontWeight:"normal"}),type11:new(c("SUITypeStyle"))({color:"#466072",fontFamily:"Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif",fontSize:"11px"}),type11Bold:new(c("SUITypeStyle"))({color:"#466072",fontFamily:"Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif",fontSize:"11px",fontWeight:"700"})};f.exports={COLORS:i,TYPOGRAPHY:j}}),null);
__d("Typography.atlas",["cx"],(function a(b,c,d,e,f,g,h){"use strict";var i=["xs","s","m","l","xl"],j=["regular","bold"],k=["blue","dark","darkBlue","green","light","lightBlue","medium","orange","red","white"],l={Colors:k,Sizes:i,Weights:j,getClassName:function m(n,o,p){return"_4vo9"+(n==="l"?" _4vod":"")+(n==="xl"?" _4voe":"")+(o==="bold"?" _4voh":"")+(n==="m"?" _4voc":"")+(p==="light"?" _4von":"")+(p==="medium"?" _4voo":"")+(p==="dark"?" _4vop":"")+(p==="orange"?" _5k1o":"")+(p==="red"?" _4voq":"")+(p==="blue"?" _4vor":"")+(p==="darkBlue"?" _mo-":"")+(p==="lightBlue"?" _4_0z":"")+(n==="s"?" _4vob":"")+(p==="white"?" _4vos":"")+(n==="xs"?" _4voa":"")+(p==="green"?" _43jm":"")+(o==="regular"?" _4vom":"")}};f.exports=l}),null);
__d("Link.atlas",["cx","React","Typography.atlas","joinClasses"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i,j,k=c("React").PureComponent,l={color:"blue",display:"inline",showUnderline:"never"};i=babelHelpers.inherits(m,k);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.$Link1=function(event){__p&&__p();var s=this.props.href&&this.props.href!=="#";if(s){var t=event.button===1;if(t||event.metaKey||event.ctrlKey)return}else event.preventDefault();if(this.props.onClick){this.props.onClick(event);event.preventDefault()}}.bind(this),o}m.prototype.render=function(){var n=this.props,o=n.color,p=n.display,q=n.href,r=n.size,s=n.weight,t=babelHelpers.objectWithoutProperties(n,["color","display","href","size","weight"]),u=c("joinClasses")(this.props.className,c("Typography.atlas").getClassName(r,s,o),"_wpy"+(this.props.showUnderline==="hover"?" _2gyg":"")+(this.props.showUnderline==="always"?" _2gyh":""));return c("React").createElement("a",babelHelpers["extends"]({},t,{className:u,href:q||"#",onClick:this.$Link1,style:p==="block"?babelHelpers["extends"]({},this.props.style,{display:"block"}):this.props.style}),this.props.children)};m.defaultProps=l;f.exports=m}),null);
__d("IconConfig.atlas",["cx"],(function a(b,c,d,e,f,g,h){"use strict";f.exports={addItem:"_2dev",ads:"_382x",advertisers:"_382y",allDocuments:"_2bs-",assets:"_256d",assign:"_42mq",assignment:"_2dew",associationsFile:"_5bvf",atlasLogo:"_3bw3",backwardArrow:"_10rf",blockedItem:"_2dex",brandSafety:"_2dez",calendar:"_3fzc",calendarDay:"_3bw4",calendarMonth:"_3bw5",campaigns:"_382z",chart:"_3bw6",check:"_2de-",chevronDown:"_42mr",chevronLeft:"_42ms",chevronRight:"_42mt",chevronUp:"_42mu",clickThru:"_382-",clock:"_2_bn",connect:"_2de_",copy:"_3bw8",create:"_pif",creativeConcept:"_382_",dash:"_1z18",decisionGroups:"_qpt",defaultAd:"_3830","delete":"_3bw9",disconnect:"_2df0",document:"_2bt0",downArrow:"_2n8m",download:"_3bwa",edit:"_1cdu",encryptionFile:"_2bt1",evenCreditModel:"_sbd",exclude:"_3sbg","export":"_3bwb",favorite:"_42mv",file:"_1cdv",filter:"_3bwc",flashDark:"_1cdw",flashLight:"_1cdx",folder:"_1_nt",folderZIP:"_5ymd",forwardArrow:"_2n8n",gauge:"_3bwd",generate:"_42mw",health:"_3bwe",help:"_3m7e",hierarchy:"_3fzd",html:"_1cdy",htmlFile:"_3m7f","import":"_3bwf",information:"_3bwg","information-open":"_2df1",intersection:"_3sbh",lastClickModel:"_sbe",liverailLogo:"_5ymr",menu:"_3e67",metadata:"_256j",metadataFile:"_5bvg",money:"_42mx",more:"_10rg",notification:"_3bwh",notificationActive:"_3832",packages:"_3833",percent:"_42my",photo:"_1cdz",placement:"_2df2",placements:"_3834",positionalModel:"_sbf",prioritize:"_42mz",privateInventory:"_5yms",removeItem:"_2df3",replace:"_3fze",reports:"_3835",review:"_3bwi",rtb:"_3836",search:"_42m-",segments:"_3837",settings:"_3bwj",sharingFrom:"_5ymt",sharingTo:"_5ym_",statisticalModel:"_sbg",success:"_3bwk",targeting:"_3838",timeDecayModel:"_sbh",timer:"_3839",tracking:"_383a",trackingNav:"_5mde",trackingPixel:"_383b",traffic:"_3bwl",union:"_3sbi",universalTag:"_4fd5",upArrow:"_2n8o",user:"_3bwm",users:"_3bwn",video:"_4ndo",warning:"_3bwo",weighting:"_256l",x1:"_1cd-"}}),null);
__d("Icon.atlas",["cx","IconConfig.atlas","React","Typography.atlas","joinClasses"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i,j,k=c("React").PureComponent;i=babelHelpers.inherits(l,k);j=i&&i.prototype;l.prototype.render=function(){var m=c("IconConfig.atlas")[this.props.name],n=this.props.style;if(this.props.height)n=babelHelpers["extends"]({fontSize:this.props.height+"px",lineHeight:this.props.height+"px"},n);var o=null;if(this.props.color)o=c("Typography.atlas").getClassName(null,null,this.props.color);return c("React").createElement("span",babelHelpers["extends"]({},this.props,{className:c("joinClasses")(this.props.className,"_3bwp",o,m),style:n}))};function l(){i.apply(this,arguments)}f.exports=l}),null);
__d("SUIAtlasIcon.react",["Icon.atlas","React"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();function h(i){var j=i.colorDefault,k=i.colorDisabled,l=i.colorFocused,m=i.colorHover,n=i.disabled,o=i.focused,p=i.hover,q=i.size,r=i.style,s=babelHelpers.objectWithoutProperties(i,["colorDefault","colorDisabled","colorFocused","colorHover","disabled","focused","hover","size","style"]),t=j;if(n&&k)t=k;else if(o&&l)t=l;else if(p&&m)t=m;return c("React").createElement(c("Icon.atlas"),babelHelpers["extends"]({},s,{height:q,style:babelHelpers["extends"]({color:t},r)}))}f.exports=h}),null);
__d("SUIAtlasTheme",["cssVar","Icon.atlas","React","SUIAtlasConstants","SUIAtlasIcon.react","SUITheme","SUITypeStyle"],(function a(b,c,d,e,f,g,h){"use strict";var i=c("SUIAtlasConstants").COLORS,j=c("SUIAtlasConstants").TYPOGRAPHY,k=function k(o){return c("React").createElement(c("SUIAtlasIcon.react"),babelHelpers["extends"]({},o,{colorDefault:i.neutral50,colorDisabled:i.neutral15,colorHover:i.neutral72,name:"delete"}))},l=function l(o){return c("React").createElement(c("SUIAtlasIcon.react"),babelHelpers["extends"]({},o,{colorDefault:i.neutral15,colorDisabled:i.neutral30,colorHover:i.neutral06,name:"delete"}))},m={SUIButton:{height:{normal:32,"short":32,tall:48},padding:{normal:{button:"16px",icon:"6px",onlyIcon:"19px"},"short":{button:"16px",icon:"6px",onlyIcon:"19px"},tall:{button:"16px",icon:"6px",onlyIcon:"19px"}},typeStyle:j.type12,use:{confirm:{active:{background:i.blueShade25,borderColor:i.blueShade25,color:i.white},disabled:{background:i.neutral15,borderColor:i.neutral15,color:i.white},hover:{background:i.blueShade10,borderColor:i.blueShade10,color:i.white},normal:{background:i.blue,borderColor:i.blue,color:i.white}},"default":{active:{background:i.neutral06,borderColor:i.neutral15,color:i.neutral72},disabled:{background:i.neutral15,borderColor:i.neutral15,color:i.white},hover:{background:i.neutral03,borderColor:i.neutral15,color:i.neutral72},normal:{background:i.white,borderColor:i.neutral15,color:i.neutral72}},special:{active:{background:i.greenShade25,borderColor:i.greenShade25,color:i.white},disabled:{background:i.neutral15,borderColor:i.neutral15,color:i.white},hover:{background:i.greenShade10,borderColor:i.greenShade10,color:i.white},normal:{background:i.green,borderColor:i.green,color:i.white}}}},SUIButtonIcon:{colorConfirm:i.blueTint50,colorDefault:i.neutral50,colorDisabled:i.white,colorSpecial:i.greenTint50,defaultSize:18,iconComponent:c("SUIAtlasIcon.react")},SUICardDEPRECATED:{colors:{background:i.white,border:i.neutral06,footerBackground:i.neutral02,innerBorder:i.neutral15},typeStyles:{content:j.type12,footer:j.type12,header:j.type24}},SUICard:{backgroundColor:i.white,borderColor:i.neutral06,borderRadius:"4px",borderWidth:1,boxShadow:"0px 1px 0px 0px rgba(0, 0, 0, 0.10)",body:{paddingBottom:24,paddingLeft:24,paddingRight:24,paddingTop:24,typeStyle:j.type12},header:{borderBottomColor:i.neutral15,borderBottomWidth:1,marginLeft:24,marginRight:24,paddingBottom:16,paddingTop:16},headerFullBleed:{borderBottomColor:i.neutral15,borderBottomWidth:1,paddingBottom:16,paddingLeft:24,paddingRight:24,paddingTop:16},footer:{backgroundColor:i.neutral02,borderTopColor:i.neutral15,borderTopWidth:1,paddingBottom:8,paddingLeft:24,paddingRight:24,paddingTop:8,typeStyle:j.type12},status:{backgroundColor:i.neutral02,borderTopColor:i.neutral15,borderTopWidth:1,paddingBottom:8,paddingLeft:24,paddingRight:24,paddingTop:8,typeStyle:j.type12},title:{typeStyle:j.type24}},SUIThreeStateCheckboxInput:{activeCheckboxBackgroundColor:i.white,activeCheckboxBorderColor:i.blueTint50,checkboxBackgroundColor:i.white,checkboxBorderColor:i.neutral15,checkedIcon:c("React").createElement(c("SUIAtlasIcon.react"),{colorDefault:i.neutral72,name:"check",size:14}),disabledLabelColor:i.neutral30,labelColor:i.neutral72,partiallyCheckedIcon:c("React").createElement(c("SUIAtlasIcon.react"),{colorDefault:i.neutral72,name:"dash",size:14}),typeStyle:j.type12},SUICloseButton:{dark:{large:k,small:k},light:{large:l,small:l},iconSize:{large:18,small:14}},SUICustomPopover:{backgroundColor:i.white,borderColor:i.neutral15,borderHighlightColor:i.green,color:i.neutral72},SUITooltip:{backgroundColor:i.black,color:i.white,typeStyle:babelHelpers["extends"]({},j.type12,{WebkitFontSmoothing:"auto"})},SUIDateInput:{inputIcon:c("React").createElement(c("SUIAtlasIcon.react"),{colorDefault:i.neutral30,name:"calendarMonth",size:24}),layerBackgroundColor:i.white,layerBorderColor:i.neutral15},SUICalendarPager:{dayColor:i.neutral72,dayDisabledColor:i.neutral30,dayNameColor:i.neutral30,gridBorderColor:i.neutral15,pagerBackgroundColor:i.neutral03,pagerBorderColor:i.neutral06,rangeBackgroundColor:i.neutral06,selectedBackgroundColor:i.blueTint50,typeStyle:j.type12},SUIDateTimeRangePicker:{backgroundColor:i.white,borderColor:i.neutral15,typeStyle:j.type12},SUIDecisionModal:{decisionOption:{backgroundColor:"#fff",borderColor:"#D0DAE0",hoverBackgroundColor:"#EEEEEE",titleStyle:babelHelpers["extends"]({},j.type16,{color:"#2397CA"}),descriptionStyle:j.type12}},SUIError:{error:{borderColor:i.red,icon:c("React").createElement(c("SUIAtlasIcon.react"),{colorDefault:i.red,name:"warning",size:24})},warning:{borderColor:i.yellow,icon:c("React").createElement(c("SUIAtlasIcon.react"),{colorDefault:i.yellow,name:"warning",size:24})}},SUIFileSelector:{backgroundColor:{"default":i.white,hovering:i.neutral03},borderColor:{"default":i.neutral15,error:i.red},typeStyles:{content:j.type12,header:j.type24Bold}},SUIFormRow:{childrenText:j.type12,emphasizedBackgroundColor:i.neutral06,labelText:j.type12,positions:{helpPosition:"13px",requiredPosition:"16px",requiredPositionWithHelp:"32px"},requiredColor:i.red},SUIHelpMessage:{icon:c("React").createElement(c("SUIAtlasIcon.react"),{name:"information",style:{color:i.neutral30}})},SUIHighlightedText:{backgroundColor:i.greenTint50},SUIInlineNux:{borderColor:i.blueTint50,icon:c("React").createElement(c("SUIAtlasIcon.react"),{colorDefault:i.blue,name:"information",size:20}),titleTypeStyle:j.type12Bold},SUIInlineTypeahead:{dividerBorderColor:i.neutral15,searchIcon:c("React").createElement(c("SUIAtlasIcon.react"),{colorDefault:i.neutral50,name:"search"})},SUIItemListScopeHeader:{favorite:{color:i.yellow,enabledColor:i.white,iconName:"favorite"},iconComponent:c("Icon.atlas")},SUILoadingBar:{backgroundColor:i.blue,movingColor:i.blueTint50},SUILink:{hoverColor:i.blueShade25,normalColor:i.blue},SUIMessageBox:{filled:{backgroundColor:i.blueTint85,border:"1px solid",borderColor:i.neutral30},outline:{backgroundColor:i.white,border:"1px solid",borderColor:i.neutral30}},SUIModalDEPRECATED:{margin:64},SUIModalBackgroundDEPRECATED:{backgroundColor:i.blackOpacity40},SUIModalCardDEPRECATED:{boxShadow:"0px 1px 0px 0px rgba(0, 0, 0, 0.10)",colors:{background:i.neutral02,border:i.neutral06,footerBackground:i.white,headerBackground:i.white,innerBorder:i.neutral15},fullWidthFooterDivider:true,padding:{contentLightPadding:{paddingBottom:"8px",paddingLeft:"24px",paddingRight:"24px",paddingTop:"8px"},contentNormalPadding:{paddingBottom:"24px",paddingLeft:"24px",paddingRight:"24px",paddingTop:"24px"},footer:{paddingBottom:"0",paddingLeft:"24px",paddingRight:"8px",paddingTop:"0"},header:{paddingBottom:"0",paddingLeft:"24px",paddingRight:"8px",paddingTop:"0"}},typeStyles:{content:j.type12,footer:j.type16,header:j.type16}},SUIModalCard:{backgroundColor:i.neutral02,bodyHorizontalMargin:24,bodyVerticalMargin:24,boxShadow:"0px 1px 0px 0px rgba(0, 0, 0, 0.10)",closeButtonPosition:12,typeStyle:j.type12},SUIModalFooter:{topBorderColor:i.neutral15},SUIModalHeader:{backgroundColor:i.white,bottomBorderColor:i.neutral15,typeStyle:j.type16},SUINameCell:{description:{color:i.neutral72,typeStyle:j.type11},height:48},SUINestedTable:{borderColor:i.neutral15,evenBackgroundColor:i.white,loadingBackgroundColor:i.neutral03,loadingColor:i.neutral30,oddBackgroundColor:i.neutral02,rowIconClosedName:"chevronRight",rowIconComponent:c("Icon.atlas"),rowIconOpenName:"chevronDown",textColor:i.neutral72,textStyle:j.type12},SUINotice:{textStyle:babelHelpers["extends"]({},j.type12,{lineHeight:"21px"}),type:{error:{icon:c("React").createElement(c("SUIAtlasIcon.react"),{colorDefault:i.white,name:"warning"}),iconBackgroundColor:i.red,messageBackgroundColor:i.white,messageBorderColor:i.neutral15},information:{icon:c("React").createElement(c("SUIAtlasIcon.react"),{colorDefault:i.white,name:"information-open"}),iconBackgroundColor:i.blue,messageBackgroundColor:i.white,messageBorderColor:i.neutral15},success:{icon:c("React").createElement(c("SUIAtlasIcon.react"),{colorDefault:i.white,name:"check"}),iconBackgroundColor:i.blue,messageBackgroundColor:i.white,messageBorderColor:i.neutral15},warning:{icon:c("React").createElement(c("SUIAtlasIcon.react"),{colorDefault:i.white,name:"warning"}),iconBackgroundColor:i.yellow,messageBackgroundColor:i.white,messageBorderColor:i.neutral15}}},SUIRadioList:{activeBackgroundColor:i.neutral06,activeBorderColor:i.neutral30,activeDotColor:i.neutral80,backgroundColor:i.white,borderColor:i.neutral15,disabledBackgroundColor:i.neutral06,disabledBorderColor:i.neutral15,disabledDotColor:i.neutral50,disabledTypeColor:i.neutral30,dotColor:i.neutral72,enabledTypeColor:i.neutral72,typeStyle:j.type12},SUIRemovableSearchableSelector:{removeButtonBackgroundColor:i.neutral03,removeButtonBorderColor:i.neutral15},SUISearchableSelector:{disabledSubtitleTypeStyle:j.type12,disabledTitleTypeStyle:j.type12,dropdownBackgroundColor:i.white,dropdownBorderColor:i.neutral15,headerBackgroundColor:i.white,headerTypeStyle:j.type12,subtitleColor:i.neutral30,subtitleTypeStyle:j.type12,titleTypeStyle:j.type12},SUISearchInput:{cancelIcon:c("React").createElement(c("SUIAtlasIcon.react"),{colorDefault:i.neutral15,colorHover:i.neutral50,name:"delete"}),searchIcon:c("React").createElement(c("SUIAtlasIcon.react"),{colorDefault:i.neutral15,colorFocused:i.neutral50,name:"search",size:24})},SUISectionHeading:{borderColor:i.neutral15,color:i.neutral50,typeStyle:j.type24},SUISelector:{backgroundColor:i.white,borderColor:i.neutral15,boxShadow:"0px 2px 4px 0px rgba(0, 0, 0, 0.10)"},SUISelectorButton:{disabled:{background:i.neutral02,borderColor:i.neutral15,color:i.neutral30},chevron:c("React").createElement(c("SUIAtlasIcon.react"),{colorDefault:i.neutral72,colorDisabled:i.neutral30,name:"chevronDown",size:12}),padding:"12px"},SUISelectorOption:{activeBackgroundColor:i.neutral02,activeColor:i.neutral72,color:i.neutral72,descriptionColor:i.neutral50,descriptionSelectedColor:i.neutral15,disabledBackgroundColor:i.white,disabledColor:i.neutral30,highlightedBackgroundColor:i.neutral03,highlightedColor:i.neutral72,padding:{bottom:"8px",left:"24px",right:"24px",top:"8px"},paddingWhenNoValue:{bottom:"8px",left:"12px",right:"24px",top:"8px"},selectedBackgroundColor:i.blueTint85,selectedColor:i.neutral72,selectedIcon:c("React").createElement(c("SUIAtlasIcon.react"),{name:"check",size:16}),selectedIconMarginLeft:"-7px",selectedIconMarginRight:"3px",selectedTypeStyle:new(c("SUITypeStyle"))({color:"#466072",fontFamily:"Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif",fontSize:"12px",fontWeight:"bold"}),typeStyle:j.type12},SUISelectorOptionGroup:{activeBackgroundColor:i.neutral02,activeColor:i.neutral72,collapsedIcon:c("React").createElement(c("SUIAtlasIcon.react"),{colorDefault:i.neutral72,name:"chevronRight",size:12}),color:i.neutral72,expandedIcon:c("React").createElement(c("SUIAtlasIcon.react"),{colorDefault:i.neutral72,name:"chevronDown",size:12}),highlightedBackgroundColor:i.neutral03,highlightedColor:i.neutral72,typeStyle:j.type12Bold},SUISelectorSeparator:{color:i.neutral15,margin:{bottom:"12px",left:"12px",right:"12px",top:"12px"}},SUISpinner:{activeColor:i.neutral50,backgroundColor:i.neutral15,darkActiveColor:i.neutral50,darkBackgroundColor:i.neutral15,sizes:{large:{border:2,diameter:20},small:{border:1.5,diameter:14}}},SUISplitButton:{chevronPadding:"4px",use:{confirm:{chevron:c("React").createElement(c("SUIAtlasIcon.react"),{colorDefault:i.white,colorDisabled:i.white,name:"chevronDown",style:{padding:"0 5px"}}),dividerColor:i.white},"default":{chevron:c("React").createElement(c("SUIAtlasIcon.react"),{colorDefault:i.neutral72,colorDisabled:i.white,name:"chevronDown",style:{padding:"0 5px"}}),dividerColor:i.neutral15},special:{chevron:c("React").createElement(c("SUIAtlasIcon.react"),{colorDefault:i.white,colorDisabled:i.white,name:"chevronDown",style:{padding:"0 5px"}}),dividerColor:i.white}}},SUIStatusIndicator:{colors:{active:i.greenStatus,error:i.red,empty:i.white,inactive:i.neutral15,warning:i.yellow},size:{border:2,diameter:10}},SUITabGroup:{},SUITabItem:{activeBorderBottomColor:i.neutral72,activeTypeStyle:j.type12,disabledColor:i.neutral30,height:44,hoverBackgroundColor:i.neutral03,typeStyle:j.type12},SUITable:{cellPadding:12,colors:{cell:i.neutral72,cellBorder:i.neutral03,cellErrorBackground:i.redTint85,cellHoverBackground:i.neutral06,cellModifiedBackground:i.neutral15,cellSelectedBackground:i.blueTint85,cellSelectedHoverBackground:i.neutral06,cellWarningBackground:i.yellowTint85,error:i.red,heading:i.neutral30,headingBackground:i.white,headingRule:i.neutral15,highlight:i.blue,loading:i.neutral30,loadingBackground:i.neutral03,noItemsMessage:i.neutral72,rowBackground:i.white,rowStripe:i.neutral02,text:i.neutral72,warning:i.yellow},textStyles:{cell:j.type12,heading:j.type12,table:j.type12}},SUIText:{header1:{fontFamily:"Freight Sans Bold, Helvetica, Arial, Lucida Grande, sans-serif",fontSize:24,lineHeight:32},header2:{fontFamily:"Freight Sans Bold, Helvetica, Arial, Lucida Grande, sans-serif",fontSize:20,lineHeight:24},header3:{fontFamily:"Freight Sans Bold, Helvetica, Arial, Lucida Grande, sans-serif",fontSize:16,lineHeight:24},header4:{fontFamily:"Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif",fontSize:14,lineHeight:20},body1:{fontFamily:"Freight Sans Bold, Helvetica, Arial, Lucida Grande, sans-serif",fontSize:14,lineHeight:18},body1_DEPRECATED:{fontFamily:"Freight Sans Bold, Helvetica, Arial, Lucida Grande, sans-serif",fontSize:16,lineHeight:20},body2:{fontFamily:"Freight Sans Bold, Helvetica, Arial, Lucida Grande, sans-serif",fontSize:13,lineHeight:17},body2_DEPRECATED:{fontFamily:"Freight Sans Bold, Helvetica, Arial, Lucida Grande, sans-serif",fontSize:14,lineHeight:18},body3:{fontFamily:"Freight Sans Bold, Helvetica, Arial, Lucida Grande, sans-serif",fontSize:12,lineHeight:16},body3_DEPRECATED:{fontFamily:"Freight Sans Bold, Helvetica, Arial, Lucida Grande, sans-serif",fontSize:12,lineHeight:17},meta1:{fontFamily:"Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif",fontSize:12,lineHeight:17},display:{fontFamily:"Freight Sans Bold, Helvetica, Arial, Lucida Grande, sans-serif",fontSize:40,lineHeight:48},heading:{fontFamily:"Freight Sans Bold, Helvetica, Arial, Lucida Grande, sans-serif",fontSize:24,lineHeight:32},subheading:{fontFamily:"Freight Sans Bold, Helvetica, Arial, Lucida Grande, sans-serif",fontSize:20,lineHeight:24},headline:{fontFamily:"Freight Sans Bold, Helvetica, Arial, Lucida Grande, sans-serif",fontSize:16,lineHeight:24},regular:{fontFamily:"Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif",fontSize:14,lineHeight:20},regularUI:{fontFamily:"Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif",fontSize:14,lineHeight:16},large:{fontFamily:"Freight Sans Bold, Helvetica, Arial, Lucida Grande, sans-serif",fontSize:24,lineHeight:30},medium:{fontFamily:"Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif",fontSize:16,lineHeight:21},shade:{dark:i.neutral72,light:i.neutral30,link:i.blue,medium:i.neutral50,white:i.white},small:{fontFamily:"Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif",fontSize:12,lineHeight:17},color:{disabled:i.neutral30,disabledDark:i.neutral72,interactive:i.blue,negative:i.red,positive:i.green,primary:i.neutral72,primaryDark:i.neutral15,secondary:i.neutral30,secondaryDark:i.neutral50,white:i.white},xlarge:{fontFamily:"Freight Sans Bold, Helvetica, Arial, Lucida Grande, sans-serif",fontSize:32,lineHeight:40},xsmall:{fontFamily:"Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif",fontSize:11,lineHeight:16},xxlarge:{fontFamily:"Freight Sans Bold, Helvetica, Arial, Lucida Grande, sans-serif",fontSize:40,lineHeight:50}},SUITextArea:{disabled:{background:i.neutral02,borderColor:i.neutral15},enabled:{background:i.white,borderColor:i.neutral15},focusedBorderColor:"#4080ff",placeholderColor:i.neutral30,placeholderColorFocused:i.neutral15,typeStyle:j.type12Form},SUITextInput:{characterCountTypeStyle:new(c("SUITypeStyle"))({color:i.neutral30,fontFamily:"Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif",fontSize:"11px",fontWeight:"normal"}),disabled:{background:i.neutral02,borderColor:i.neutral15},enabled:{background:i.white,borderColor:i.neutral15},errorIconMargin:"3px",focusedBorderColor:"#4080ff",height:32,maxLengthHighlightColor:"rgba(250, 62, 62, 0.3)",placeholderColor:i.neutral30,placeholderColorFocused:i.neutral15,typeStyle:j.type12Form},SUIToast:{errorBackgroundColor:i.red,errorIcon:c("React").createElement(c("SUIAtlasIcon.react"),{colorDefault:i.white,name:"warning"}),informationBackgroundColor:i.neutral72,informationIcon:c("React").createElement(c("SUIAtlasIcon.react"),{colorDefault:i.white,name:"information"}),isSpinnerDark:true,messageBackgroundColor:i.neutral72,messageBorderColor:i.neutral72,successBackgroundColor:i.neutral72,successIcon:c("React").createElement(c("SUIAtlasIcon.react"),{colorDefault:i.white,name:"check"}),typeStyle:j.type12Toast,warningBackgroundColor:i.yellow,warningIcon:c("React").createElement(c("SUIAtlasIcon.react"),{colorDefault:i.white,name:"warning"})},SUIToggle:{height:20,off:{hover:{backgroundColor:i.neutral30,color:i.neutral72},normal:{backgroundColor:i.neutral15,color:i.neutral50}},on:{hover:{backgroundColor:i.neutral72,color:i.neutral02},normal:{backgroundColor:i.neutral50,color:i.neutral02}},switchColor:i.white,typeStyle:j.type11Bold},SUIToggleButtonGroup:{selected:{backgroundColor:i.neutral50,color:i.white}},SUIToken:{backgroundColor:i.blue,color:i.white,typeStyle:j.type12},SUITokenizer:{disabled:{backgroundColor:i.neutral02,borderColor:i.neutral15},enabled:{backgroundColor:i.white,borderColor:i.neutral15},typeaheadInput:{typeStyle:j.type12}},SUITokenizerItem:{disabled:{color:i.neutral30,subtitleColor:i.neutral15},highlighted:{backgroundColor:i.blueTint85,color:i.neutral80,subtitleColor:i.neutral50},normal:{color:i.neutral72,subtitleColor:i.neutral50},remove:{disabledIcon:c("React").createElement(c("SUIAtlasIcon.react"),{colorDefault:i.neutral30,name:"delete",size:14}),highlightedIcon:c("React").createElement(c("SUIAtlasIcon.react"),{colorDefault:i.neutral80,name:"delete",size:14}),normalIcon:c("React").createElement(c("SUIAtlasIcon.react"),{colorDefault:i.neutral72,name:"delete",size:14}),selectedIcon:c("React").createElement(c("SUIAtlasIcon.react"),{colorDefault:i.white,name:"delete",size:14})},selected:{backgroundColor:i.blue,color:i.white,disabledIcon:c("React").createElement(c("SUIAtlasIcon.react"),{colorDefault:i.neutral30,name:"check",size:14}),highlightedIcon:c("React").createElement(c("SUIAtlasIcon.react"),{colorDefault:i.neutral80,name:"check",size:14}),isIconShownForSingleSelection:false,normalIcon:c("React").createElement(c("SUIAtlasIcon.react"),{colorDefault:i.neutral72,name:"check",size:14}),selectedIcon:c("React").createElement(c("SUIAtlasIcon.react"),{colorDefault:i.white,name:"check",size:14}),subtitleColor:i.blueTint50}},SUITokenizerItemList:{backgroundColor:i.white,borderColor:i.neutral15,categoryHeader:{borderColor:i.neutral06,typeStyle:j.type16},typeStyle:j.type12},SUITypeahead:{input:{backgroundColor:i.white,borderColor:i.neutral15,errorBorderColor:i.red,typeStyle:j.type12Form,height:32},dropdown:{backgroundColor:i.white,borderColor:i.neutral06,boxShadow:"0px 2px 1px -1px rgba(0, 0, 0, 0.10)",itemPadding:{bottom:"8px",left:"12px",right:"12px",top:"8px"}},highlight:{backgroundColor:i.blueTint85}},SUIHorizontalLayout:{margin:8}},n=new(c("SUITheme"))({id:"atlas",components:m});f.exports=n}),null);
__d("VideoFormattingUtils",["DateConsts"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h=c("DateConsts").SEC_PER_HOUR,i=c("DateConsts").MIN_PER_HOUR,j=c("DateConsts").SEC_PER_MIN;function k(o){return("0"+o).slice(-2)}function l(o){o=Math.round(o);var p=Math.floor(o/h),q=Math.floor(o%h/i),r=o%j;return(p>0?k(p)+":":"")+(p>0?k(q):q)+":"+k(r)}function m(o,p){if(p===0)return"0%";var q=Math.round(o*100/p);return q+"%"}var n={formatPercentage:m,formatTime:l};f.exports=n}),null);
__d("ClockFormatConverter",["fbt","invariant","VideoFormattingUtils"],(function a(b,c,d,e,f,g,h,i){"use strict";__p&&__p();var j=1e3,k=60,l=/^\d\d$/,m=/^\d?\d?$/,n={TIME_SEPARATOR:h._(":"),validate:function o(p,q){__p&&__p();var r=p.split(/:|\./);if(r.length===0)return false;for(var s=0;s<r.length;s++){var t=q&&s===r.length-1||s===0?m:l;if(!t.test(r[s]))return false;if(parseInt(r[s],10)>=k)return false}return true},timestampToSeconds:function o(p){this.validate(p)||i(0);var q=p.split(this.TIME_SEPARATOR),r=void 0,s=0,t=1;while(r=q.pop()){s+=parseInt(r,10)*t;t*=k}return s},timestampToMillis:function o(p){return this.timestampToSeconds(p)*j},secondsToTimestamp:function o(p){if(p===0)return"0"+this.TIME_SEPARATOR+"00";return c("VideoFormattingUtils").formatTime(p)},millisToTimestamp:function o(p){return this.secondsToTimestamp(p/j)},normalize:function o(p){var q=this.timestampToSeconds(p);return this.secondsToTimestamp(q)},normalizedSecondsTimestamp:function o(p){var q=p.split(this.TIME_SEPARATOR).map(function(r){return r.length===1?"0"+r:r});return this.normalize(q.join(this.TIME_SEPARATOR))},normalizeMinutesTimestamp:function o(p){var q=p.split(this.TIME_SEPARATOR);if(q.length===1)q.push("00");else for(var r=1;r<q.length;r++)q[r]=("00"+q[r]).slice(-2);return this.normalize(q.join(this.TIME_SEPARATOR))}};f.exports=n}),null);
__d("PagesComposerAudiencesConstants",["keyMirror"],(function a(b,c,d,e,f,g){"use strict";var h={TABS:c("keyMirror")({TARGETING:null,GATING:null}),ExportToDefaultSpecMap:{age_max:"ageMax",age_min:"ageMin",geo_locations:"geoLocations",relationship_statuses:"relationshipStatuses",education_statuses:"educationStatuses",education_majors:"educationMajors",education_schools:"educationSchools",work_employers:"workEmployers",work_positions:"workPositions"}};f.exports=h}),null);
__d("PageContentTabAccessToken",["invariant"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();i.prototype.init=function(j,k){this.$PageContentTabAccessTokenClass1=j;this.$PageContentTabAccessTokenClass2=k};i.prototype.getAccessToken=function(){!!this.$PageContentTabAccessTokenClass1||h(0);return this.$PageContentTabAccessTokenClass1};i.prototype.getUserAccessToken=function(){!!this.$PageContentTabAccessTokenClass2||h(0);return this.$PageContentTabAccessTokenClass2};function i(){}f.exports=new i()}),null);
__d("PageContentTabTabs",[],(function a(b,c,d,e,f,g){f.exports=Object.freeze({AUDIENCE_ALERTS:"AUDIENCE_ALERTS",CHEX_PENDING_ORDERS:"CHEX_PENDING_ORDERS",CHEX_COMPLETED_ORDERS:"CHEX_COMPLETED_ORDERS",COMMERCE_PLATFORM_SETTINGS:"COMMERCE_PLATFORM_SETTINGS",COMMERCE_PRODUCTS:"COMMERCE_PRODUCTS",COMMERCE_COLLECTIONS:"COMMERCE_COLLECTIONS",COMMERCE_PENDING_ORDERS:"COMMERCE_PENDING_ORDERS",COMMERCE_PAST_ORDERS:"COMMERCE_PAST_ORDERS",COMMERCE_DISCOUNT_CODES:"COMMERCE_DISCOUNT_CODES",COMMERCE_MERCHANT_SETTINGS:"COMMERCE_MERCHANT_SETTINGS",COMMERCE_SHOP_LINK:"COMMERCE_SHOP_LINK",DONATIONS_SETTINGS:"DONATIONS_SETTINGS",DRAFTS:"DRAFTS",REWARD_PROGRAM:"REWARD_PROGRAM",EXPIRED_POSTS:"EXPIRED_POSTS",EXPIRING_POSTS:"EXPIRING_POSTS",INSTANT_ARTICLES:"INSTANT_ARTICLES",INSTANT_ARTICLES_DEVELOPMENT:"INSTANT_ARTICLES_DEVELOPMENT",INSTANT_ARTICLES_MONETIZATION:"INSTANT_ARTICLES_MONETIZATION",INSTANT_ARTICLES_SAMPLE:"INSTANT_ARTICLES_SAMPLE",INSTANT_ARTICLES_SETTINGS:"INSTANT_ARTICLES_SETTINGS",INSTANT_ARTICLES_SIGN_UP:"INSTANT_ARTICLES_SIGN_UP",INSTANT_ARTICLES_CTA_MANAGEMENT:"INSTANT_ARTICLES_CTA_MANAGEMENT",INSTANT_ARTICLES_TRAFFIC_LIFT:"INSTANT_ARTICLES_TRAFFIC_LIFT",INVOICES_ACTIVE:"INVOICES_ACTIVE",INVOICES_HISTORY:"INVOICES_HISTORY",LEAD_ADS_DRAFT_FORMS:"LEAD_ADS_DRAFT_FORMS",LEAD_ADS_FORMS:"LEAD_ADS_FORMS",LEAD_ADS_CRM_SETUP:"LEAD_ADS_CRM_SETUP",PUBLISHED_POSTS:"PUBLISHED_POSTS",SCHEDULED_POSTS:"SCHEDULED_POSTS",ADS_POSTS:"ADS_POSTS",VIDEOS:"VIDEOS",JOB_POSTS:"JOB_POSTS",NEW_MATCHES:"NEW_MATCHES",VIDEOS_COPYRIGHT:"VIDEOS_COPYRIGHT",REPORTED:"REPORTED",PLAYLISTS:"PLAYLISTS",PLAYLIST_DETAILS:"PLAYLIST_DETAILS",POSTS_CONFIG:"POSTS_CONFIG",SEASONS:"SEASONS",SEASON_DETAILS:"SEASON_DETAILS",TAKEDOWNS:"TAKEDOWNS",UNSENT_REPORTS:"UNSENT_REPORTS",ALLOWED:"ALLOWED",TRACKED:"TRACKED",BLOCKED:"BLOCKED",CLAIMED:"CLAIMED",MANUAL_REVIEW:"MANUAL_REVIEW",MATCH_RULES:"MATCH_RULES",DISPUTES:"DISPUTES",ACTIVE_FUNDRAISERS:"ACTIVE_FUNDRAISERS",DRAFT_FUNDRAISERS:"DRAFT_FUNDRAISERS",READY_FUNDRAISERS:"READY_FUNDRAISERS",ENDED_FUNDRAISERS:"ENDED_FUNDRAISERS",ADS_CANVAS:"ADS_CANVAS",REFERENCE_FILES:"REFERENCE_FILES",ALL_REFERENCE_FILES:"ALL_REFERENCE_FILES",REFERENCE_CONFLICTS:"REFERENCE_CONFLICTS",REFERENCE_POSSIBLE_CONFLICTS:"REFERENCE_POSSIBLE_CONFLICTS",REFERENCE_RESOLUTIONS:"REFERENCE_RESOLUTIONS",SOUND_RECORDINGS:"SOUND_RECORDINGS",LIVE_BROADCASTS:"LIVE_BROADCASTS",CROSSPOSTED_VIDEOS:"CROSSPOSTED_VIDEOS",PUBLISHED_PROFILE_PICTURE_FRAMES:"PUBLISHED_PROFILE_PICTURE_FRAMES",PENDING_PROFILE_PICTURE_FRAMES:"PENDING_PROFILE_PICTURE_FRAMES",TAROT_COMPOSER:"TAROT_COMPOSER",DRAFT_EDITIONS:"DRAFT_EDITIONS",PUBLISHED_EDITIONS:"PUBLISHED_EDITIONS",CURATIONS:"CURATIONS",PUBLISHED_EVENTS:"PUBLISHED_EVENTS",DRAFT_EVENTS:"DRAFT_EVENTS",SCHEDULED_EVENTS:"SCHEDULED_EVENTS",ARCHIVED_EVENTS:"ARCHIVED_EVENTS",TOURS:"TOURS",POLLS_COMPOSER:"POLLS_COMPOSER",BRAND_ASSET_LIBRARY:"BRAND_ASSET_LIBRARY",JOB_APPLICATIONS:"JOB_APPLICATIONS",SUBSCRIPTIONS:"SUBSCRIPTIONS",QR_CODE:"QR_CODE",CREDIBILITY_INDICATORS:"CREDIBILITY_INDICATORS",ATTRIBUTIONS:"ATTRIBUTIONS",BROADCASTED_MESSAGES:"BROADCASTED_MESSAGES",BRANDED_CONTENT:"BRANDED_CONTENT",BRANDED_CONTENT_CREATOR:"BRANDED_CONTENT_CREATOR",SOUNDS_COLLECTION:"SOUNDS_COLLECTION",AB_TESTS:"AB_TESTS"})}),null);
__d("PageContentTabConstants",["PageContentTabTabs","keyMirrorRecursive"],(function a(b,c,d,e,f,g){"use strict";var h={ACTIONS:c("keyMirrorRecursive")({ACTIVATE:"",ALLOW_CROSSPOSTING_OF_THIS_VIDEO:"",APPLY_BLOCK_LIST:"",AUDIENCE_ALERT:{BEGIN:"",CLOSE:"",CREATE:"",CREATION_FAILED:"",CREATION_SUCCESS:"",TURN_OFF:"",TURN_ON:"",TURNING_OFF_FAILED:"",TURNING_OFF_SUCCESS:"",VIEW:""},BACKDATE:"",CANCEL:"",CANCEL_ORDER:"",CANCEL_OR_DELETE:"",CONTACT_BUYER:"",CONVERT_LEGACY_VIDEO_TO_L3_VIDEO:"",CREATE_ADS_FROM_POSTS:"",CROSSPOSTING_WITHIN_BUSINESS:"",DEACTIVATE:"",DELETE_FUNDRAISER:"",DELETE:"",MARK_AS_EPISODE:"",MARK_AS_NON_EPISODE:"",MARK_OUT_OF_STOCK:"",MARK_IN_STOCK:"",DELETE_SEASON:"",DELETE_PLAYLIST:"",DOWNLOAD_VIDEO_SD:"",DOWNLOAD_VIDEO_HD:"",DUPLICATE:"",EDIT_COPYRIGHT:"",EDIT_EXPIRATION:"",EDIT:"",EMBEDDABLE:"",EXPIRE_NOW:"",FEED_TYPE:"",FRAMES:{ACTIVATE:"",DEACTIVATE:"",DELETE:""},HIDE:"",HIGHLIGHT_IN_VIDEO_FEED:"",INSIGHTS:"",INSTANT_ARTICLE_CTA:{ACTIVATE:"",DEACTIVATE:"",EDIT:""},LEAD_ADS_FORMS:{ACTIVATE:"",ARCHIVE:"",DELETE:"",MANAGE:"",PREVIEW:"",DOWNLOAD_LEADS:""},MAKE_FEATURED:"",MAKE_PAGE_TRAILER:"",NEW_POST_FROM_VIDEO_ASSET:"",PAGE_ELIGIBILITY_GROUPS:{LOADED:""},POSTS_CONFIG:{URL_INPUT_CHANGED:"",VALIDATE_URL_BEGIN:"",VALIDATE_URL_LOADED:"",VALIDATE_URL_ERROR:""},PRINT_INVOICE:"",PUBLISH_FUNDRAISER:"",PUBLISH_TO_NEWS_FEED:"",PUBLISH_TO_VIDEOS_TAB:"",PUBLISH:"",REFUND_ORDER:"",REJECT:"",REMOVE_FROM_PLAYLIST:"",REMOVE_FROM_SEASON:"",REPUBLISH:"",RESCHEDULE:"",SCHEDULE:"",SHIP_ORDER:"",SOCIAL_ACTIONS:"",UNHIGHLIGHT_IN_VIDEO_FEED:"",UNPUBLISH_FUNDRAISER:"",UNSCHEDULE:"",VIEW_POST:"",VIDEO_LIBRARY_TOUR_STARTED:"",VIDEO_LIBRARY_TOUR_COMPLETED:"",VIDEO_LIBRARY_TOUR_RESUMED:"",SHARE:"",PROMOTE:"",BOOST:"",REMOVE_FROM_TOUR:"",ADD_TO_TOUR:""}),COLUMNS:c("keyMirrorRecursive")({POST:"",MANUAL_REVIEW_ACTION:"",BOOST_POST:"",BRANDED_CONTENT_BRAND:"",BRANDED_CONTENT_CREATOR:"",DATE_CREATED:"",DATE_LAST_MODIFIED:"",DELIVERED:"",MARKUP_EDITOR:"",PROMOTION_STATUS:"",SCHEDULED_PUBLISH_TIME:"",PRODUCT:"",VISIBILITY:"",INVENTORY:"",IMPRESSIONS:"",INSIGHTS:"",MESSAGES:"",MESSAGE_SENDS:"",MESSAGE_SENT_DATE:"",ORDER_DATE:"",ORDER_ITEMS:"",ORDER_BUYER:"",ORDER_PRICE:"",ORDER_REFUND:"",ORDER_STATUS:"",PLAYLIST:"",PLAYLIST_NUM_VIDEOS:"",PLAYLIST_LAST_UPDATED:"",COLLECTION:"",EXPIRATION_INFO:"",PUBLISH_STATUS:"",ERRORS:"",WARNINGS:"",ID:"",REACH:"",ENGAGEMENT:"",PPTP:"",VIDEO:"",VIDEOS:"",VIDEO_ICONS:"",VIDEO_VIEWS:"",VIDEO_DATE_CREATED:"",VIDEO_EMBEDDABLE:"",VIDEO_SOCIAL_ACTIONS:"",LIVE_VIEWS:"",TOTAL_VIEWS:"",JOB_POSTS:"",EDITIONS_EDIT_BUTTON:"",EDITIONS_PREVIEW_BUTTON:"",EDITIONS_SCHEDULE_BUTTON:"",EPISODES:"",EPISODE_VIEWS:"",EPISODE_STATUS:"",FORM_DATE_CREATED:"",FORM_DOWNLOAD_CSV_URL:"",FORM_EDIT_BUTTON:"",FORM_NAME:"",FORM_LEADS_COUNT:"",FORM_EXPIRED_LEADS_COUNT:"",FORM_LOCALE:"",FORM_STATUS:"",FORM_PROMOTION_UPSELL:"",FORM_BLOCK_SHARING:"",MATCHING_VIDEO:"",MATCHING_PUBLISHER:"",REFERENCE_CONFLICTS:"",REFERENCE_CONFLICTS_DEADLINE:"",REFERENCE_POSSIBLE_CONFLICTS:"",REFERENCE_MATCH_STATE:"",PUBLISHED_DATE:"",DATE_FOUND:"",OVERLAP:"",EXPIRES_DAYS:"",REPORTED_VIDEO:"",LAST_MODIFIED_BY:"",FUNDRAISER:"",FUNDRAISER_STATUS:"",FUNDRAISER_DONORS:"",FUNDRAISER_LIKES:"",LOCATION_LANGUAGE:"",REORDERING:"",REFERENCE_VIDEO:"",ADS_CANVAS_NAME:"",ADS_CANVAS_UPDATE_TIME:"",ADS_CANVAS_IS_PUBLISHED:"",ADS_CANVAS_EDITOR:"",VIDEO_AUDIO:"",NEW_MATCHES:"",AUDIENCE_ALERTS:"",DISCOUNT_CODE:"",START_DATE:"",EXPIRATION_DATE:"",DISCOUNT_CODE_STATUS:"",FRAME_PREVIEW:"",FRAME_STATUS:"",FRAME_CATEGORY:"",FRAME_APPROVAL:"",FRAME_ACTIVATES:"",RULE:"",FILES:"",MATCHES:"",PROMOTE:"",DATE_STARTED:"",STATUS:"",ICONS:"",VIEW:"",STATUS_TOGGLE:"",TITLE:"",LAST_EDITED:"",EDIT:"",PREVIEW:"",PROMOTION:"",LEADS:"",TYPE:"",SEASON:"",SEASON_NUM_EPISODES:"",SEASON_POSTED_UPLOADED:"",SEASON_SCHEDULING:"",SEASON_DETAILS:"",SEASON_LAST_UPDATED:"",IS_EPISODE:"",EVENT_INFO:"",NAME:"",LOCATION:"",POSITION:"",RECEIVED:"",SOUND_RECORDING:"",ATTRIBUTION_TITLE:"",ATTRIBUTION_STATUS:"",ATTRIBUTION_REF_FILE_COUNT:"",ATTRIBUTION_DATE_CREATED:"",ATTRIBUTION_RUN_COUNT:"",EXPERIMENT_NAME:"",EXPERIMENT_DESCRIPTION:""}),COLUMN_GROUPS:c("keyMirrorRecursive")({BUTTONS:"",DATES:""}),TABS:c("PageContentTabTabs"),LEFT_NAV_GROUPS:c("keyMirrorRecursive")({POSTS:"",VIDEOS:"",EVENTS:"",MESSAGES:"",LEAD_ADS_FORMS:"",VIDEOS_COPYRIGHT:"",SHOP:"",FUNDRAISERS:"",INSTANT_ARTICLES:"",CROSSPOSTED_VIDEOS:"",PROFILE_PICTURE_FRAMES:"",TAROT:"",CURATED_COLLECTION:"",POLLS:"",BRAND_AND_CREDIBILITY:"",JOBS:"",SUBSCRIPTIONS:"",BRANDED_CONTENT:"",SOUNDS:""}),ACTION_TYPES:c("keyMirrorRecursive")({ADD_POSTS:"",CREATE_POST:"",CREATE_POSTS:"",EDIT_POSTS:"",INIT_PAGE:"",REMOVE_POST:"",REMOVE_POSTS:"",FILTER:"",ERROR:"",PAGING_CHANGED:"",UPDATE_FILTER_STATUS:"",UPDATE_STALE_CONTENT_NOTICE:"",QUERY_KEY_CHANGED:"",QUERY_CHANGED:"",FILTER_CHANGED:"",SORT_CHANGED:"",SET_CUSTOM_TAB_STATE:"",BRING_POST_TO_TOP:"",SET_VIDEO_LIST_ID:"",SET_VIDEO_LIST_HEADER_INFO:"",REQUEST_VIDEO_LIST_HEADER_INFO:"",DYNAMIC_TAB_ADDED:""}),PAYLOAD_SOURCES:c("keyMirrorRecursive")({SERVER:"",VIEW_ACTION:""}),PREVIEW_TABS:c("keyMirrorRecursive")({DESKTOP:"",MOBILE:""}),SORT_ORDER_ASC:"ASC",SORT_ORDER_DESC:"DESC",EDIT_HISTORY_ASYN_DIALOG:"/ajax/edits/browser/post/"};f.exports=h}),null);
__d("PageContentTabDispatcher",["Dispatcher_DEPRECATED","PageContentTabConstants"],(function a(b,c,d,e,f,g){__p&&__p();var h,i,j=c("PageContentTabConstants").ACTION_TYPES,k=c("PageContentTabConstants").PAYLOAD_SOURCES,l=c("PageContentTabConstants").TABS;h=babelHelpers.inherits(m,c("Dispatcher_DEPRECATED"));i=h&&h.prototype;m.prototype.handleServerResponse=function(n){"use strict";this.dispatch({action:n,payloadSource:k.SERVER})};m.prototype.handleViewAction=function(n){"use strict";this.dispatch({action:n,payloadSource:k.VIEW_ACTION})};m.prototype.handleInitialization=function(n,o,p,q){"use strict";if(n.externalURI)return;this.dispatch({action:{posts:{key:o,data:p},actionType:j.ADD_POSTS,tab:n,pageID:q},payloadSource:k.SERVER})};m.prototype.handlePostRemoved=function(n,o,p){"use strict";if(p)this.dispatch({payloadSource:k.VIEW_ACTION,action:{actionType:j.REMOVE_POST,postID:o,tab:p,pageID:n}});else Object.keys(l).forEach(function(p){return this.dispatch({payloadSource:k.VIEW_ACTION,action:{actionType:j.REMOVE_POST,postID:o,tab:p,pageID:n}})}.bind(this),this)};m.prototype.handlePostsRemoved=function(n,o,p){"use strict";if(p)this.dispatch({payloadSource:k.VIEW_ACTION,action:{actionType:j.REMOVE_POSTS,postIDs:o,tab:p,pageID:n}});else Object.keys(l).forEach(function(p){return this.dispatch({payloadSource:k.VIEW_ACTION,action:{actionType:j.REMOVE_POSTS,postIDs:o,tab:p,pageID:n}})}.bind(this))};m.prototype.handlePostsMoved=function(n,o,p,q){"use strict";if(p===q)return;var r=[];o.forEach(function(s){r.push(s.id)});this.dispatch({payloadSource:k.VIEW_ACTION,action:{actionType:j.REMOVE_POSTS,postIDs:r,tab:p,pageID:n}});this.dispatch({payloadSource:k.VIEW_ACTION,action:{tab:q,actionType:j.CREATE_POSTS,posts:o,pageID:n}})};m.prototype.handlePageInitialization=function(n){"use strict";this.dispatch({payloadSource:k.SERVER,action:{page:n,actionType:j.INIT_PAGE}})};m.prototype.handlePostCreated=function(n,o,p){"use strict";this.dispatch({payloadSource:k.VIEW_ACTION,action:{tab:n,actionType:j.CREATE_POST,post:o,pageID:p}})};m.prototype.handlePostsCreated=function(n,o,p){"use strict";this.dispatch({payloadSource:k.VIEW_ACTION,action:{tab:n,actionType:j.CREATE_POSTS,posts:o,pageID:p}})};m.prototype.handlePostChanged=function(n,o,p,q){"use strict";this.dispatch({payloadSource:k.SERVER,action:{actionType:j.EDIT_POSTS,isViewedUpdated:q,posts:[n],tab:o,pageID:p}})};m.prototype.handlePostsChanged=function(n,o,p,q){"use strict";this.dispatch({payloadSource:k.SERVER,action:{actionType:j.EDIT_POSTS,isViewedUpdated:q,posts:n,tab:o,pageID:p}})};m.prototype.handleStaleContentNoticeStatus=function(n,o,p){"use strict";this.dispatch({payloadSource:k.VIEW_ACTION,action:{tab:o,actionType:j.UPDATE_STALE_CONTENT_NOTICE,status:p,pageID:n}})};m.prototype.handleFilterStatus=function(n,o,p){"use strict";this.dispatch({payloadSource:k.VIEW_ACTION,action:{tab:o,actionType:j.UPDATE_FILTER_STATUS,status:p,pageID:n}})};m.prototype.handleSetCustomTabState=function(n,o,p){"use strict";this.dispatch({payloadSource:k.VIEW_ACTION,action:{tab:n,actionType:j.SET_CUSTOM_TAB_STATE,customTabState:o,pageID:p}})};m.prototype.handleError=function(n,o,p){"use strict";this.dispatch({payloadSource:k.SERVER,action:{tab:n,actionType:j.ERROR,error:o,pageID:p}})};m.prototype.handlePagingChanged=function(n,o,p,q){"use strict";this.dispatch({payloadSource:k.VIEW_ACTION,action:{tab:o,pageID:n,actionType:j.PAGING_CHANGED,currentPage:q,queryKey:p}})};m.prototype.handleQueryKeyChanged=function(n,o,p){"use strict";this.dispatch({payloadSource:k.VIEW_ACTION,action:{tab:o,actionType:j.QUERY_KEY_CHANGED,pageID:n,queryKey:p}})};m.prototype.handleQueryChanged=function(n,o,p){"use strict";this.dispatch({payloadSource:k.VIEW_ACTION,action:{tab:o,actionType:j.QUERY_CHANGED,pageID:n,query:p}})};m.prototype.handleFilterChanged=function(n,o,p){"use strict";this.dispatch({payloadSource:k.VIEW_ACTION,action:{tab:o,actionType:j.FILTER_CHANGED,pageID:n,filter:p}})};m.prototype.handleSortChanged=function(n,o,p){"use strict";this.dispatch({payloadSource:k.VIEW_ACTION,action:{tab:o,actionType:j.SORT_CHANGED,pageID:n,sort:p}})};m.prototype.handleBringPostToTop=function(n,o,p){"use strict";this.dispatch({payloadSource:k.VIEW_ACTION,action:{tab:n,actionType:j.BRING_POST_TO_TOP,post:o,pageID:p}})};m.prototype.handleSetVideoListID=function(n,o,p){"use strict";this.dispatch({payloadSource:k.VIEW_ACTION,action:{tab:o,actionType:j.SET_VIDEO_LIST_ID,pageID:n,videoListID:p}})};m.prototype.handleSetVideoListHeaderInfo=function(n,o){"use strict";this.dispatch({payloadSource:k.VIEW_ACTION,action:{tab:n,actionType:j.SET_VIDEO_LIST_HEADER_INFO,headerInfo:o}})};m.prototype.handleRequestVideoListHeaderInfo=function(n){"use strict";this.dispatch({payloadSource:k.VIEW_ACTION,action:{tab:n,actionType:j.REQUEST_VIDEO_LIST_HEADER_INFO}})};m.prototype.handleDynamicTabAdded=function(n,o){"use strict";this.dispatch({action:{actionType:j.DYNAMIC_TAB_ADDED,tabName:n,tabConfig:o}})};function m(){"use strict";h.apply(this,arguments)}f.exports=new m()}),null);
__d("PageContentTabLogger",["invariant","BanzaiLogger","PublishingToolsSource","VideoCopyrightUtils","guid"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i=c("guid")(),j=null,k=null,l=c("PublishingToolsSource").UNKNOWN,m="PageContentTabLoggerConfig",n={init:function o(p,q,r){j=p;k=q;if(r)l=r},hasPageID:function o(){return j!==null},log:function o(p,q,r,s){j||h(0);r.event=p;r.tab=q;r.session_id=i;r.page_id=j;r.locationoftab=k;r.ref=l;r.private_post_count=c("VideoCopyrightUtils").getPrivatePostCountIfExists(r,s);c("BanzaiLogger").log(m,r)}};f.exports=n}),null);
__d("AdsGenericFilterOperator",[],(function a(b,c,d,e,f,g){f.exports=Object.freeze({AFTER:"AFTER",ALL:"ALL",ANY:"ANY",BEFORE:"BEFORE",CONTAIN:"CONTAIN",EQUAL:"EQUAL",GREATER_THAN:"GREATER_THAN",IN:"IN",IN_RANGE:"IN_RANGE",LESS_THAN:"LESS_THAN",NONE:"NONE",NOT_CONTAIN:"NOT_CONTAIN",NOT_EQUAL:"NOT_EQUAL",NOT_IN:"NOT_IN",NOT_IN_RANGE:"NOT_IN_RANGE",STARTS_WITH:"STARTS_WITH"})}),null);
__d("AudioCopyrightGraphFields",[],(function a(b,c,d,e,f,g){f.exports=Object.freeze({AUDIO_ASSET:"audio_asset",CREATION_TIME:"creation_time",DISPLAYED_MATCHES_COUNT:"displayed_matches_count",ID:"id",IN_CONFLICT:"in_conflict",MATCH_RULE:"match_rule",OWNERSHIP_COUNTRIES:"ownership_countries",RIDGE_MONITORING_STATUS:"ridge_monitoring_status",UPDATE_TIME:"update_time",WHITELISTED_FB_USERS:"whitelisted_fb_users",WHITELISTED_IG_USERS:"whitelisted_ig_users"})}),null);
__d("CopyrightReferenceFileGraphFields",[],(function a(b,c,d,e,f,g){f.exports=Object.freeze({CONTENT_TYPE:"content_type",DOWNLOAD_HD_URL:"download_hd_url",DURATION_IN_SEC:"duration_in_sec",ENCODING_STATUS:"encoding_status",ID:"id",LIVE_STATUS:"live_status",PUBLISHED_TIME:"published_time",THUMBNAIL_URL:"thumbnail_url",THUMBNAIL_URL_WHILE_ENCODING:"thumbnail_url_while_encoding",TITLE:"title",METADATA:"metadata",UNIVERSAL_CONTENT_ID:"universal_content_id"})}),null);
__d("XRightsManagerInstagramUserNameToIDController",["XController"],(function a(b,c,d,e,f,g){f.exports=c("XController").create("/video/copyright/ig_user_name_to_id/",{page_id:{type:"FBID",required:true},user_names:{type:"StringSet",required:true}})}),null);
__d("IGUserDataFetcher",["regeneratorRuntime","AsyncRequest","XRightsManagerInstagramUserNameToIDController"],(function a(b,c,d,e,f,g){"use strict";f.exports={gen:function h(i,j){var k;return c("regeneratorRuntime").async(function l(m){while(1)switch(m.prev=m.next){case 0:k=c("XRightsManagerInstagramUserNameToIDController").getURIBuilder().setFBID("page_id",j).setStringSet("user_names",i).getURI();return m.abrupt("return",new(c("AsyncRequest"))(k).setMethod("GET").setURI(k).setReadOnly(true).exec());case 2:case"end":return m.stop()}},null,this)}}}),null);
__d("LiveStatusType",[],(function a(b,c,d,e,f,g){f.exports=Object.freeze({IS_LIVE_BROADCAST:0,WAS_LIVE_BROADCAST:1,NOT_A_BROADCAST:2,SCHEDULED_LIVE_BROADCAST:3})}),null);
__d("MediaCopyrightAttributionGraphFields",[],(function a(b,c,d,e,f,g){f.exports=Object.freeze({ID:"id",TITLE:"title",STATUS:"status",CREATION_TIME:"creation_time",CREATOR:"creator",COPYRIGHT_COUNT:"copyright_count",MATCH_COUNT:"match_count",LINK_TITLE:"link_title",ATTRIBUTION_TYPE:"attribution_type",ATTRIBUTION_URL:"attribution_uri",IS_ENABLED:"is_enabled",ATTRIBUTION_TARGET_ID:"attribution_target_id"})}),null);
__d("PageContentTabLoggingEvents",[],(function a(b,c,d,e,f,g){f.exports=Object.freeze({ACTION_TAKEN_MAIN_VIEW:"action_taken_main_view",ACTION_TAKEN_OVERLAY:"action_taken_overlay",ADHOC_VIDEO_MIGRATION_ERROR:"adhoc_video_migration_error",BULK_ACTION_TAKEN:"bulk_action_taken",BULK_ACTION_FAILED:"bulk_action_failed",COLUMN_SWITCHED:"column_switched",FORM_DOWNLOAD:"form_donwload",INITIAL_LOAD:"initial_load",DATA_LOADED:"data_loaded",TABLE_CONTENTS_SHOWN:"table_contents_shown",TAB_SWITCHED:"tab_switched",TAB_REFRESHED:"tab_refreshed",TABLE_SORTED:"table_sorted",SEARCH:"search",ROW_CLICKED:"row_clicked",CREATE_CLICKED:"create_clicked",SAVED_FILTER_APPLIED:"saved_filter_applied",FILTERS_APPLIED:"filters_applied",FILTERS_CLEARED:"filters_cleared",VIDEO_UPLOAD_FILE_SELECTED:"video_upload_file_selected",COPYRIGHT_SEND_REPORT_CLICKED:"copyright_send_report_clicked",API_ERROR:"api_error",DATA_ERROR:"data_error",LEADS_DOWNLOAD_DIALOG_OPENED:"leads_download_dialog_opened",LEADS_DOWNLOAD_DIALOG_BUTTON_CLICKED:"leads_download_dialog_button_clicked",REFERENCE_VIDEO_FILE_SELECTED:"reference_video_file_selected",ENABLE_COPYRIGHTS_DASHBOARD:"enable_copyrights_dashboard",ENABLE_COPYRIGHTS_DASHBOARD_FAILED:"enable_copyrights_dashboard_failed",POST_STATE_INDICATOR_HOVERED:"post_state_indicator_hovered",MATCH_RULE_CREATED:"match_rule_created",MATCH_RULE_DELETED:"match_rule_deleted",NUX_SHOWN:"nux_shown",NUX_DISMISSED:"nux_dismissed",CREATE_LIVE_BROADCAST:"create_live_broadcast",FINISHED_INITIAL_RENDER:"finished_initial_render",CONTACT_RIGHTS_MANAGER_CLICKED:"contact_rights_manager_clicked",RIGHTS_MANAGER_TUTORIAL_CLICKED:"rights_manager_tutorial_clicked",RIGHTS_MANAGER_UPDATES_CLICKED:"rights_manager_updates_clicked"})}),null);
__d("RightsManagerFbt",["fbt"],(function a(b,c,d,e,f,g,h){"use strict";f.exports={ALLOWED:h._("Allowed"),ATTRIBUTION_SECTION_TITLE:h._("Apply Attribution"),ATTRIBUTION_SECTION_TITLE_LITE:h._("Destination Page"),BLOCKED:h._("Blocked"),CLAIMED:h._("Claimed"),INSIGHTS:h._("Details"),MATCHES:h._("Matches"),MANUAL_REVIEW:h._("Manual Review"),MONITORED:h._("Monitored"),REMOVED:h._("Removed"),REPORTED:h._("Reported"),STATUS:h._("Status"),YOUR_FILE:h._("Your File")}}),null);
__d("RightsManagerVersion",[],(function a(b,c,d,e,f,g){f.exports=Object.freeze({DEFAULT:"DEFAULT",LITE:"LITE"})}),null);
__d("VideoCopyrightDisputeGraphFields",[],(function a(b,c,d,e,f,g){f.exports=Object.freeze({ID:"id",DISPUTE_TYPE:"dispute_type",VIDEO_COPYRIGHT_MATCH_ID:"video_copyright_match_id",MATCHED_VIDEO_ID:"matched_video_id",MATCHED_OWNER_ID:"matched_owner_id",REFERENCE_OWNER_ID:"reference_owner_id",TIME_CREATED:"time_created",TIME_UPDATED:"time_updated",TIME_APPEALED:"time_appealed",CREATOR_ID:"creator_id",EXPIRATION_TIME:"expiration_time",APPEAL_FORM_DATA:"appeal_form_data",DISPUTE_FORM_DATA:"dispute_form_data",STATUS:"status"})}),null);
__d("VideoCopyrightGraphFields",[],(function a(b,c,d,e,f,g){f.exports=Object.freeze({ID:"id",ATTRIBUTION:"attribution",REFERENCE_OWNER_ID:"reference_owner_id",REFERENCE_FILE:"reference_file",REFERENCE_FILE_INSIGHTS_KEY_ID:"reference_file_insights_key_id",MONITORING_TYPE:"monitoring_type",OPS_OVERRIDE_MONITORING_TYPE:"ops_override_monitoring_type",REFERENCE_FILE_DISABLED_BY_OPS:"reference_file_disabled_by_ops",REFERENCE_FILE_DISABLED:"reference_file_disabled",NEW_MATCHES_COUNT:"new_matches_count",DISPLAYED_MATCHES_COUNT:"displayed_matches_count",DISPLAYED_FB_MATCHES_COUNT:"displayed_fb_matches_count",DISPLAYED_IG_MATCHES_COUNT:"displayed_ig_matches_count",COPYRIGHT_CONTENT_ID:"copyright_content_id",RULE_IDS:"rule_ids",WHITELISTED_IDS:"whitelisted_ids",WHITELISTED_IG_USER_IDS:"whitelisted_ig_user_ids",OWNERSHIP_COUNTRIES:"ownership_countries",MONITORING_STATUS:"monitoring_status",CREATOR:"creator",IN_CONFLICT:"in_conflict",CONTENT_CATEGORY:"content_category",LIVE_MONITORING_PAUSED:"live_monitoring_paused",LIVE_MONITORING_PAUSED_TYPE:"live_monitoring_paused_type",EXCLUDED_OWNERSHIP_SEGMENTS:"excluded_ownership_segments"})}),null);
__d("VideoCopyrightMatchActionTypes",[],(function a(b,c,d,e,f,g){"use strict";var h=Object.freeze({ALLOW_MATCH:"ALLOW_MATCH",TRACK:"TRACK",ADD_TO_REPORT:"ADD_TO_REPORT",BLOCK:"BLOCK",UNBLOCK:"UNBLOCK",WRONG_MATCH:"WRONG_MATCH",UPDATE_NOTES:"UPDATE_NOTES",REMOVE_FROM_REPORT:"REMOVE_FROM_REPORT",REMOVE_FROM_ALLOWED:"REMOVE_FROM_ALLOWED",REMOVE_FROM_DASHBOARD:"REMOVE_FROM_DASHBOARD",SET_SEEN_STATUS:"SET_SEEN_STATUS",MARK_SEEN:"MARK_SEEN",MARK_UNSEEN:"MARK_UNSEEN",MONETIZE:"MONETIZE",WHITELIST_PAGE:"WHITELIST_PAGE",ACQUIRE_VIEWS:"ACQUIRE_VIEWS",RETRACT_REPORTED:"RETRACT_REPORTED",RETRACT_TAKEDOWN:"RETRACT_TAKEDOWN",REPORT_SENT:"REPORT_SENT",LIVE_REPORT_SENT:"LIVE_REPORT_SENT",FILTER_BY_REFERENCE_VIDEO:"FILTER_BY_REFERENCE_VIDEO",FILTER_BY_MATCH_OWNER:"FILTER_BY_MATCH_OWNER",TOUR_STARTED:"TOUR_STARTED",TOUR_COMPLETED:"TOUR_COMPLETED",TOUR_RESUMED:"TOUR_RESUMED",REASSOCIATION_SUCCEEDED:"REASSOCIATION_SUCCEEDED",REASSOCIATION_BLUE_BAR_SEEN:"REASSOCIATION_BLUE_BAR_SEEN",REASSOCIATION_DIALOG_OPENED_BY_USER_FROM_BLUE_BAR:"REASSOCIATION_DIALOG_OPENED_BY_USER_FROM_BLUE_BAR",REASSOCIATION_DIALOG_OPENED_BY_USER_FROM_RULES_TAB:"REASSOCIATION_DIALOG_OPENED_BY_USER_FROM_RULES_TAB",REASSOCIATION_DIALOG_SHOWN_AUTOMATICALLY:"REASSOCIATION_DIALOG_SHOWN_AUTOMATICALLY",REASSOCIATION_REQUEST_PERFORMED_FROM_RULES_TAB:"REASSOCIATION_REQUEST_PERFORMED_FROM_RULES_TAB",REASSOCIATION_REQUEST_PERFORMED_FROM_BLUE_BAR:"REASSOCIATION_REQUEST_PERFORMED_FROM_BLUE_BAR",REASSOCIATION_REQUEST_PERFORMED_FROM_FORCE_DISPLAY:"REASSOCIATION_REQUEST_PERFORMED_FROM_FORCE_DISPLAY",UPHOLD_CLAIM:"UPHOLD_CLAIM",RELEASE_CLAIM:"RELEASE_CLAIM",REQUEST_TAKEDOWN:"REQUEST_TAKEDOWN",MOVE_TO_MANUAL_REVIEW:"MANUAL_REVIEW",UPDATE_APPLIED_ACTIONS:"UPDATE_APPLIED_ACTIONS",ATTRIBUTION_CREATION_CANCELLED:"ATTRIBUTION_CREATION_CANCELLED",ATTRIBUTION_HELP_CENTER_LINK_CLICKED:"ATTRIBUTION_HELP_CENTER_LINK_CLICKED"});f.exports=h}),null);
__d("VideoCopyrightMatchAuditLogEntryGraphFields",[],(function a(b,c,d,e,f,g){f.exports=Object.freeze({TIMESTAMP:"timestamp",USER_NAME:"user_name",MATCH_STATE:"match_state",APPLIED_ACTIONS:"applied_actions"})}),null);
__d("VideoCopyrightMatchComparisonSource",[],(function a(b,c,d,e,f,g){f.exports=Object.freeze({DASHBOARD:"dashboard",PERMALINK:"permalink",REPORT:"report",OCR:"ocr"})}),null);
__d("VideoCopyrightMatchDataGraphFields",[],(function a(b,c,d,e,f,g){f.exports=Object.freeze({ID:"id",COPYRIGHT:"copyright",EXCLUDED_OWNERSHIP_SEGMENTS:"excluded_ownership_segments",VIDEO_COPYRIGHT_ID:"video_copyright_id",VIDEO_MATCH_SEGMENTS:"video_matched_segments",AUDIO_MATCH_SEGMENTS:"audio_matched_segments",TOTAL_MATCH_DURATION:"total_match_duration",REFERENCE_ASSET:"reference_asset",MONITORING_TYPE:"monitoring_type",MATCH_RULE:"match_rule",IS_MANUAL_MATCH:"is_manual_match",MATCHED_CONTENT_TYPE:"matched_content_type",OVERLAP_DURATION:"overlap_duration"})}),null);
__d("VideoCopyrightMatchGraphFields",[],(function a(b,c,d,e,f,g){f.exports=Object.freeze({ID:"id",REFERENCE_OWNER_ID:"reference_owner_id",MATCHED_OWNER_ID:"matched_owner_id",MATCH_STATUS:"match_status",ACTIVE_MATCH_DATA_ID:"active_match_data_id",MATCHED_VIDEO_ASSET:"matched_video_asset",MATCHED_VIDEO:"matched_video",EXPIRATION_DAYS:"expiration_days",LAST_MODIFIED_USER:"last_modified_user",LAST_MODIFIED_TIME:"last_modified_time",AUDIT_LOG:"audit_log",IS_VIEWED:"is_viewed",NOTES:"notes",ADDED_TO_DASHBOARD_TIME:"added_to_dashboard_time",DISPUTE:"dispute",APPLIED_ACTIONS:"applied_actions",ACTION_REQUIRING_MANUAL_REVIEW:"action_requiring_manual_review",MATCH_DATA:"match_data",REVIEW_REPORT_ID:"review_report_id",OWNERSHIP_COUNTRIES:"ownership_countries",IS_ANONYMOUS:"is_anonymous",PERMALINK:"permalink",ATTRIBUTION:"attribution"})}),null);
__d("VideoCopyrightMatchGraphFilterFields",[],(function a(b,c,d,e,f,g){f.exports=Object.freeze({MATCHED_VIDEO_TITLE_OR_DESC:"matched_video_title_or_description",MATCHED_VIDEO_DATE_PUBLISHED:"matched_video_date_published",MATCHED_VIDEO_VIEWS:"matched_video_views",OVERLAP_DURATION:"overlap_duration",MATCHED_VIDEO_DURATION:"matched_video_duration",SUMMARY:"summary",REFERENCE_VIDEO_TITLE_OR_DESC:"reference_video_title_or_description",STATIC_REFERENCE_VIDEO_ID:"static_reference_video_id",STATIC_MATCHED_OWNER_ID:"static_matched_owner_id",REVIEW_REPORT_ID:"review_report_id",PUBLISHER_TYPE:"publisher_type",MONITORING_TYPE:"monitoring_type",LIVE_STATUS:"live_status",LAST_MODIFIED_DATE:"last_modified_date",CONTAINS_AD_BREAKS:"contains_ad_breaks",ACTION_REQUIRING_MANUAL_REVIEW:"action_requiring_manual_review",MATCHED_ASSET_PLATFORM:"matched_asset_platform"})}),null);
__d("VideoCopyrightMonitoringType",["fbt"],(function a(b,c,d,e,f,g,h){var i={VIDEO_AND_AUDIO:{intValue:1,value:"VIDEO_AND_AUDIO",label:h._("Video and audio")},VIDEO_ONLY:{intValue:2,value:"VIDEO_ONLY",label:h._("Video Only")},AUDIO_ONLY:{intValue:3,value:"AUDIO_ONLY",label:h._("Audio Only")}};f.exports=i}),null);
__d("VideoCopyrightPublisherType",["ix","fbt","fbglyph"],(function a(b,c,d,e,f,g,h,i){var j={PAGE:{value:"page",label:i._("Page"),summaryLabel:i._("Pages"),glyphs:[h("122900")]},PERSON:{value:"person",label:i._("Person"),summaryLabel:i._("People"),glyphs:[h("122992")]}};f.exports=j}),null);
__d("VideoCopyrightVideoAssetGraphFields",[],(function a(b,c,d,e,f,g){f.exports=Object.freeze({COMMENT_COUNT:"comment_count",DESCRIPTION:"description",HEIGHT:"height",ID:"id",LIVE_STATUS:"live_status",IS_PRIVATE:"is_private",DURATION_IN_SEC:"duration_in_sec",FOLLOWERS_COUNT:"followers_count",LIKE_COUNT:"like_count",OWNER_NAME:"owner_name",OWNER_PICTURE_URL:"owner_picture_url",OWNER_URL:"owner_url",PERMALINK_URL:"permalink_url",PUBLISHED_TIME:"published_time",SHARE_COUNT:"share_count",STATUS:"status",THUMBNAIL_URL:"thumbnail_url",THUMBNAIL_URL_WHILE_ENCODING:"thumbnail_url_while_encoding",TITLE:"title",VIEW_COUNT:"view_count",WIDTH:"width",PRIVACY_EXPLANATION:"privacy_explanation",AD_BREAK_OFFSETS_IN_MS:"ad_break_offsets_in_ms",MONETIZING_OWNER_COUNT:"monetizing_owner_count",MATCHED_ASSET_PLATFORM:"matched_asset_platform"})}),null);
__d("VideoReferenceMatchGraphFields",[],(function a(b,c,d,e,f,g){f.exports=Object.freeze({ID:"id",REFERENCE_ASSET:"reference_asset",REFERENCE_OWNER_ID:"reference_owner_id",REFERENCE_OWNER_NAME:"reference_owner_name",REFERENCE_COPYRIGHT:"reference_copyright",MATCHED_REFERENCE_ASSET:"matched_reference_asset",MATCHED_REFERENCE_OWNER_ID:"matched_reference_owner_id",MATCHED_REFERENCE_OWNER_NAME:"matched_reference_owner_name",MATCHED_REFERENCE_COPYRIGHT:"matched_reference_copyright",MATCH_STATE:"match_state",MATCH_DATA:"match_data",MODIFICATION_HISTORY:"modification_history",CREATION_TIME:"creation_time",EXPIRATION_TIME:"expiration_time",CONFLICTING_COUNTRIES:"conflicting_countries",DISPUTE_FORM_DATA:"dispute_form_data",REJECTION_FORM_DATA:"rejection_form_data",IS_VIEWED:"is_viewed",IS_DISPUTABLE:"is_disputable",IS_POSSIBLE_CONFLICT:"is_possible_conflict"})}),null);
__d("XVideoCopyrightMatchDialogController",["XController"],(function a(b,c,d,e,f,g){f.exports=c("XController").create("/video/copyright/match/dialog/",{id:{type:"Int",required:true},source:{type:"Enum",required:true,enumType:1},__asyncDialog:{type:"Int"}})}),null);
__d("VideoCopyrightUtils",["ix","cx","fbt","invariant","regeneratorRuntime","ActorURI","AdsGenericFilter","AdsGenericFilterField","AdsGenericFilterFieldType","AdsGenericFilterOperator","AdsGenericFilterSet","AsyncDialog","AsyncRequest","AudioCopyrightGraphFields","CopyrightReferenceFileGraphFields","GraphAPIFieldUtils","IGUserDataFetcher","Image.react","LiveStatusType","MediaCopyrightAttributionGraphFields","PageContentTabConstants","PageContentTabLogger","PageContentTabLoggingEvents","React","RightsManagerFbt","RightsManagerVersion","VideoCopyrightDisputeGraphFields","VideoCopyrightGraphFields","VideoCopyrightGraphAPIVersion","VideoCopyrightMatchActionTypes","VideoCopyrightMatchAuditLogEntryGraphFields","VideoCopyrightMatchComparisonSource","VideoCopyrightMatchDataGraphFields","VideoCopyrightMatchGraphFields","VideoCopyrightMatchGraphFilterFields","VideoCopyrightMatchStatus","VideoCopyrightMonitoringType","VideoCopyrightPublisherType","VideoCopyrightRuleActionType","VideoCopyrightRuleGraphFields","VideoCopyrightSegmentSource","VideoCopyrightVideoAssetGraphFields","VideoReferenceMatchGraphFields","VideoReferenceMatchState","XVideoCopyrightMatchDialogController","fbglyph","formatDate","joinClasses","parseISODate"],(function a(b,c,d,e,f,g,h,i,j,k){"use strict";__p&&__p();var l=c("PageContentTabConstants").TABS,m=20,n=86400,o=3600,p=60,q=1e3,r={GRAPH_API_VERSION:c("VideoCopyrightGraphAPIVersion").graph_api_version,DEFAULT_MONITORING_TYPE:c("VideoCopyrightMonitoringType").VIDEO_ONLY.value,DEFAULT_LIVE_MONITORING_TYPE:c("VideoCopyrightMonitoringType").VIDEO_AND_AUDIO.value,DEFAULT_PUBLISHER_TYPE:c("VideoCopyrightPublisherType").PAGE.value,DEFAULT_RULE_ID:"DEFAULT",formatNumber:function s(t){return t>=1e6?Math.round(t/1e6)+"M":t>=1e3?Math.round(t/1e3)+"K":t.toString()},getCopyrightAttributionGraphAPIFields:function s(){return[c("MediaCopyrightAttributionGraphFields").ID,c("MediaCopyrightAttributionGraphFields").TITLE,c("MediaCopyrightAttributionGraphFields").CREATOR,c("MediaCopyrightAttributionGraphFields").COPYRIGHT_COUNT,c("MediaCopyrightAttributionGraphFields").LINK_TITLE,c("MediaCopyrightAttributionGraphFields").MATCH_COUNT,c("MediaCopyrightAttributionGraphFields").ATTRIBUTION_TYPE,c("MediaCopyrightAttributionGraphFields").ATTRIBUTION_TARGET_ID,c("MediaCopyrightAttributionGraphFields").STATUS,c("MediaCopyrightAttributionGraphFields").IS_ENABLED,c("MediaCopyrightAttributionGraphFields").ATTRIBUTION_URL,c("MediaCopyrightAttributionGraphFields").CREATION_TIME]},getGraphAPIFields:function s(t){var u=[c("VideoCopyrightMatchGraphFields").MATCH_STATUS,c("VideoCopyrightMatchGraphFields").ACTIVE_MATCH_DATA_ID,c("VideoCopyrightMatchGraphFields").MATCHED_VIDEO_ASSET,c("VideoCopyrightMatchGraphFields").EXPIRATION_DAYS,c("GraphAPIFieldUtils").getFieldWithSubfields(c("VideoCopyrightMatchGraphFields").LAST_MODIFIED_USER,["name"]),c("VideoCopyrightMatchGraphFields").LAST_MODIFIED_TIME,c("VideoCopyrightMatchGraphFields").ADDED_TO_DASHBOARD_TIME,c("VideoCopyrightMatchGraphFields").IS_VIEWED,c("VideoCopyrightMatchGraphFields").NOTES,c("VideoCopyrightMatchGraphFields").AUDIT_LOG,c("VideoCopyrightMatchGraphFields").APPLIED_ACTIONS,c("VideoCopyrightMatchGraphFields").ACTION_REQUIRING_MANUAL_REVIEW,c("VideoCopyrightMatchGraphFields").REVIEW_REPORT_ID,c("VideoCopyrightMatchGraphFields").MATCH_DATA,c("VideoCopyrightMatchGraphFields").IS_ANONYMOUS];if(t.can_see_copyright_disputes_tab)u.push(c("VideoCopyrightMatchGraphFields").DISPUTE);if(t.copyright_geo_actions_enabled)u.push(c("VideoCopyrightMatchGraphFields").OWNERSHIP_COUNTRIES);if(t.show_attributions_tab)u.push(c("GraphAPIFieldUtils").getFieldWithSubfields(c("VideoCopyrightMatchGraphFields").ATTRIBUTION,["title"]));return u},getDefaultMatchRule:function s(){var t={};t[c("VideoCopyrightRuleGraphFields").ID]=this.DEFAULT_RULE_ID;return t},getMatchGraphFields:function s(){return[c("VideoCopyrightRuleGraphFields").ID,c("VideoCopyrightRuleGraphFields").NAME,c("VideoCopyrightRuleGraphFields").CONDITION_GROUPS,c("VideoCopyrightRuleGraphFields").CREATED_DATE,c("VideoCopyrightRuleGraphFields").CREATOR,c("VideoCopyrightRuleGraphFields").COPYRIGHTS_COUNT,c("VideoCopyrightRuleGraphFields").MATCHES_COUNT,c("VideoCopyrightRuleGraphFields").IS_IN_MIGRATION,c("VideoCopyrightRuleGraphFields").IS_NEW_VERSION_RULE]},getReferenceMatchGraphFields:function s(){return[c("VideoReferenceMatchGraphFields").REFERENCE_ASSET,c("VideoReferenceMatchGraphFields").REFERENCE_OWNER_NAME,c("VideoReferenceMatchGraphFields").REFERENCE_OWNER_ID,c("VideoReferenceMatchGraphFields").REFERENCE_COPYRIGHT,c("VideoReferenceMatchGraphFields").MATCHED_REFERENCE_ASSET,c("VideoReferenceMatchGraphFields").MATCHED_REFERENCE_OWNER_ID,c("VideoReferenceMatchGraphFields").MATCHED_REFERENCE_OWNER_NAME,c("VideoReferenceMatchGraphFields").MATCHED_REFERENCE_COPYRIGHT,c("VideoReferenceMatchGraphFields").MATCH_DATA,c("VideoReferenceMatchGraphFields").CONFLICTING_COUNTRIES,c("VideoReferenceMatchGraphFields").MATCH_STATE,c("VideoReferenceMatchGraphFields").CREATION_TIME,c("VideoReferenceMatchGraphFields").EXPIRATION_TIME,c("VideoReferenceMatchGraphFields").MODIFICATION_HISTORY,c("VideoReferenceMatchGraphFields").DISPUTE_FORM_DATA,c("VideoReferenceMatchGraphFields").REJECTION_FORM_DATA,c("VideoReferenceMatchGraphFields").IS_VIEWED,c("VideoReferenceMatchGraphFields").IS_DISPUTABLE,c("VideoReferenceMatchGraphFields").IS_POSSIBLE_CONFLICT]},getReferenceFileGraphFields:function s(){return[c("VideoCopyrightGraphFields").ID,c("VideoCopyrightGraphFields").REFERENCE_OWNER_ID,c("VideoCopyrightGraphFields").MONITORING_TYPE,c("GraphAPIFieldUtils").getFieldWithSubfields(c("VideoCopyrightGraphFields").ATTRIBUTION,["title"]),c("VideoCopyrightGraphFields").OPS_OVERRIDE_MONITORING_TYPE,c("VideoCopyrightGraphFields").REFERENCE_FILE_DISABLED_BY_OPS,c("VideoCopyrightGraphFields").REFERENCE_FILE_DISABLED,c("VideoCopyrightGraphFields").DISPLAYED_MATCHES_COUNT,c("VideoCopyrightGraphFields").DISPLAYED_FB_MATCHES_COUNT,c("VideoCopyrightGraphFields").DISPLAYED_IG_MATCHES_COUNT,c("VideoCopyrightGraphFields").COPYRIGHT_CONTENT_ID,c("VideoCopyrightGraphFields").RULE_IDS,c("VideoCopyrightGraphFields").WHITELISTED_IDS,c("VideoCopyrightGraphFields").OWNERSHIP_COUNTRIES,c("VideoCopyrightGraphFields").MONITORING_STATUS,c("VideoCopyrightGraphFields").CREATOR,c("VideoCopyrightGraphFields").IN_CONFLICT,c("GraphAPIFieldUtils").getFieldWithSubfields(c("VideoCopyrightGraphFields").REFERENCE_FILE,Object.values(c("CopyrightReferenceFileGraphFields")).map(function(t){return String(t)})),c("VideoCopyrightGraphFields").REFERENCE_FILE_INSIGHTS_KEY_ID]},getSoundRecordingGraphFields:function s(){return[c("AudioCopyrightGraphFields").ID,c("AudioCopyrightGraphFields").CREATION_TIME,c("AudioCopyrightGraphFields").DISPLAYED_MATCHES_COUNT,c("GraphAPIFieldUtils").getFieldWithSubfields(c("AudioCopyrightGraphFields").AUDIO_ASSET,["title","display_artist"])]},getDeletedVideoAsset:function s(){__p&&__p();var t={};t[c("VideoCopyrightVideoAssetGraphFields").TITLE]=j._("Deleted");t[c("VideoCopyrightVideoAssetGraphFields").PUBLISHED_TIME]=0;t[c("VideoCopyrightVideoAssetGraphFields").THUMBNAIL_URL]="";t[c("VideoCopyrightVideoAssetGraphFields").DURATION_IN_SEC]=0;t[c("VideoCopyrightVideoAssetGraphFields").DESCRIPTION]="";t[c("VideoCopyrightVideoAssetGraphFields").OWNER_NAME]="";t[c("VideoCopyrightVideoAssetGraphFields").VIEW_COUNT]=0;t[c("VideoCopyrightVideoAssetGraphFields").IS_PRIVATE]=false;return t},_getTabFromMatchStatus:function s(t,u){switch(t){case c("VideoCopyrightMatchStatus").REMOVED:return l.TAKEDOWNS;case c("VideoCopyrightMatchStatus").REPORTED:return u.rights_manager_version===c("RightsManagerVersion").LITE?l.TAKEDOWNS:l.REPORTED;case c("VideoCopyrightMatchStatus").ALLOWED:return l.TRACKED;case c("VideoCopyrightMatchStatus").ADDED_MATCH:return l.UNSENT_REPORTS;case c("VideoCopyrightMatchStatus").BLOCKED:return l.BLOCKED;case c("VideoCopyrightMatchStatus").CLAIMED:return l.CLAIMED;case c("VideoCopyrightMatchStatus").MONITORED:return l.TRACKED;default:return l.MANUAL_REVIEW}},logDataError:function s(t,u,v){var w=r._getTabFromMatchStatus(t.match_status,v);c("PageContentTabLogger").log(c("PageContentTabLoggingEvents").DATA_ERROR,w,{error:JSON.stringify(u),post_id:t.id})},logAPIError:function s(t,u,v,w){var x=r._getTabFromMatchStatus(t,w);c("PageContentTabLogger").log(c("PageContentTabLoggingEvents").API_ERROR,x,{error:u+" : "+JSON.stringify(v)})},isMajorityUnseen:function s(t){var u=0;t.forEach(function(v){if(v.is_viewed)u+=1;else u-=1});return u<0},getPrivatePostCountIfExists:function s(t,u){__p&&__p();if(t.event!==c("PageContentTabLoggingEvents").ACTION_TAKEN_MAIN_VIEW&&t.event!==c("PageContentTabLoggingEvents").ACTION_TAKEN_OVERLAY)return null;if(c("VideoCopyrightMatchActionTypes")[t.action]==null)return null;if(!u||u.length===0)return null;var v=u.filter(function(w){var x=w[c("VideoCopyrightMatchGraphFields").MATCHED_VIDEO_ASSET];return x&&x[c("VideoCopyrightVideoAssetGraphFields").IS_PRIVATE]});return v.length},getMatchedOwnerFilter:function s(t){var u=new(c("AdsGenericFilterField"))(c("VideoCopyrightMatchGraphFilterFields").STATIC_MATCHED_OWNER_ID,c("AdsGenericFilterFieldType").STRING_SET),v=t[c("VideoCopyrightMatchGraphFields").MATCHED_VIDEO_ASSET],w=v[c("VideoCopyrightVideoAssetGraphFields").OWNER_NAME];if(w.length>m)w=w.substring(0,m)+"...";return new(c("AdsGenericFilterSet"))([new(c("AdsGenericFilter"))(u,c("AdsGenericFilterOperator").ALL,[v[c("VideoCopyrightVideoAssetGraphFields").ID],'"'+w+'"'])])},getActiveMatchDataFromMatch:function s(t){var u=t[c("VideoCopyrightMatchGraphFields").MATCH_DATA],v=t[c("VideoCopyrightMatchGraphFields").ACTIVE_MATCH_DATA_ID],w=u.filter(function(x){return v==x.id});if(w.length===1)return w[0];else return u[0]},getReferenceVideoFilter:function s(t){var u=this.getActiveMatchDataFromMatch(t),v=new(c("AdsGenericFilterField"))(c("VideoCopyrightMatchGraphFilterFields").STATIC_REFERENCE_VIDEO_ID,c("AdsGenericFilterFieldType").STRING_SET),w=u[c("VideoCopyrightMatchDataGraphFields").REFERENCE_ASSET],x=w[c("VideoCopyrightVideoAssetGraphFields").TITLE],y=w[c("VideoCopyrightVideoAssetGraphFields").DESCRIPTION],z=w[c("VideoCopyrightVideoAssetGraphFields").PUBLISHED_TIME],A=x&&x.length?x:y;if(!A||!A.length)A=c("formatDate")(new Date(z*q),"M j, Y");else if(A.length>m)A=A.substring(0,m)+"...";return new(c("AdsGenericFilterSet"))([new(c("AdsGenericFilter"))(v,c("AdsGenericFilterOperator").ALL,[w[c("VideoCopyrightVideoAssetGraphFields").ID],'"'+A+'"'])])},getCopyrightInUnixDateFormat:function s(t,u){var v=t,w=v[c("VideoCopyrightGraphFields").REFERENCE_FILE],x=w[c("CopyrightReferenceFileGraphFields").PUBLISHED_TIME];x=c("parseISODate")(x);w[c("CopyrightReferenceFileGraphFields").PUBLISHED_TIME]=x.getTime()/1e3;var y=w[c("CopyrightReferenceFileGraphFields").LIVE_STATUS]===c("LiveStatusType").IS_LIVE_BROADCAST,z=w[c("CopyrightReferenceFileGraphFields").ENCODING_STATUS],A=z&&z.video_status==="processing";if(u&&y&&A)w[c("CopyrightReferenceFileGraphFields").LIVE_STATUS]=c("LiveStatusType").WAS_LIVE_BROADCAST;return v},openMatchComparisonDialog:function s(t,u){var v=c("ActorURI").create(c("XVideoCopyrightMatchDialogController").getURIBuilder().setInt("id",t).setEnum("source",c("VideoCopyrightMatchComparisonSource").DASHBOARD).getURI(),u);c("AsyncDialog").send(new(c("AsyncRequest"))(v))},sortableColumnToField:function s(t,u){var v=this.getActiveMatchDataFromMatch(u);switch(t){case c("PageContentTabConstants").COLUMNS.VIDEO_VIEWS:return u[c("VideoCopyrightMatchGraphFields").MATCHED_VIDEO_ASSET][c("VideoCopyrightVideoAssetGraphFields").VIEW_COUNT];case c("PageContentTabConstants").COLUMNS.OVERLAP:return v[c("VideoCopyrightMatchDataGraphFields").TOTAL_MATCH_DURATION];case c("PageContentTabConstants").COLUMNS.EXPIRES_DAYS:return u[c("VideoCopyrightMatchGraphFields").EXPIRATION_DAYS];case c("PageContentTabConstants").COLUMNS.REFERENCE_VIDEO:return v[c("VideoCopyrightMatchDataGraphFields").REFERENCE_ASSET][c("VideoCopyrightVideoAssetGraphFields").TITLE];case c("PageContentTabConstants").COLUMNS.LAST_MODIFIED_BY:return u[c("VideoCopyrightMatchGraphFields").LAST_MODIFIED_TIME];case c("PageContentTabConstants").COLUMNS.DATE_FOUND:return u[c("VideoCopyrightMatchGraphFields").ADDED_TO_DASHBOARD_TIME]}k(0)},convertGraphAPIAssetToVideoCopyrightVideoMetadata:function s(t){if(!t)return null;var u=t[c("VideoCopyrightVideoAssetGraphFields").AD_BREAK_OFFSETS_IN_MS];return{id:t[c("VideoCopyrightVideoAssetGraphFields").ID],title:t[c("VideoCopyrightVideoAssetGraphFields").TITLE],durationInSec:t[c("VideoCopyrightVideoAssetGraphFields").DURATION_IN_SEC],width:t[c("VideoCopyrightVideoAssetGraphFields").WIDTH],height:t[c("VideoCopyrightVideoAssetGraphFields").HEIGHT],permalinkURL:t[c("VideoCopyrightVideoAssetGraphFields").PERMALINK_URL],thumbnailSrc:t[c("VideoCopyrightVideoAssetGraphFields").THUMBNAIL_URL],ownerPictureSrc:t[c("VideoCopyrightVideoAssetGraphFields").OWNER_PICTURE_URL],ownerPublicName:t[c("VideoCopyrightVideoAssetGraphFields").OWNER_NAME]||"",ownerProfileURL:t[c("VideoCopyrightVideoAssetGraphFields").OWNER_URL],publishedTime:t[c("VideoCopyrightVideoAssetGraphFields").PUBLISHED_TIME],isPrivate:t[c("VideoCopyrightVideoAssetGraphFields").IS_PRIVATE],description:t[c("VideoCopyrightVideoAssetGraphFields").DESCRIPTION],viewsCount:t[c("VideoCopyrightVideoAssetGraphFields").VIEW_COUNT],commentsCount:t[c("VideoCopyrightVideoAssetGraphFields").COMMENT_COUNT],sharesCount:t[c("VideoCopyrightVideoAssetGraphFields").SHARE_COUNT],followersCount:t[c("VideoCopyrightVideoAssetGraphFields").FOLLOWERS_COUNT],likesCount:t[c("VideoCopyrightVideoAssetGraphFields").LIKE_COUNT],liveStatus:t[c("VideoCopyrightVideoAssetGraphFields").LIVE_STATUS],privacyExplanation:t[c("VideoCopyrightVideoAssetGraphFields").PRIVACY_EXPLANATION],adBreakOffsets:u,containsAdBreaks:u&&u.length>0,monetizingOwnerCount:t[c("VideoCopyrightVideoAssetGraphFields").MONETIZING_OWNER_COUNT],platform:t[c("VideoCopyrightVideoAssetGraphFields").MATCHED_ASSET_PLATFORM]}},getDefaultReferenceFileType:function s(){return{id:"",title:"",durationInSec:0,thumbnailSrc:"",liveStatus:c("LiveStatusType").NOT_A_BROADCAST,contentType:"video",metadata:{},universalContentID:""}},convertGraphAPIAssetToReferenceFileMetadata:function s(t){if(!t)return this.getDefaultReferenceFileType();return{id:t[c("CopyrightReferenceFileGraphFields").ID],title:t[c("CopyrightReferenceFileGraphFields").TITLE],downloadHdUrl:t[c("CopyrightReferenceFileGraphFields").DOWNLOAD_HD_URL],durationInSec:t[c("CopyrightReferenceFileGraphFields").DURATION_IN_SEC],thumbnailSrc:t[c("CopyrightReferenceFileGraphFields").THUMBNAIL_URL],liveStatus:t[c("CopyrightReferenceFileGraphFields").LIVE_STATUS],contentType:t[c("CopyrightReferenceFileGraphFields").CONTENT_TYPE],metadata:t[c("CopyrightReferenceFileGraphFields").METADATA],universalContentID:t[c("CopyrightReferenceFileGraphFields").UNIVERSAL_CONTENT_ID]}},convertGraphAPIAuditLogToVideoMetadata:function s(t){var u=[];t.forEach(function(v){u.push({userName:v[c("VideoCopyrightMatchAuditLogEntryGraphFields").USER_NAME],timestamp:v[c("VideoCopyrightMatchAuditLogEntryGraphFields").TIMESTAMP],matchState:v[c("VideoCopyrightMatchAuditLogEntryGraphFields").MATCH_STATE],appliedActions:v[c("VideoCopyrightMatchAuditLogEntryGraphFields").APPLIED_ACTIONS]||[]})});return u},convertGraphAPIDisputeToMetadata:function s(t){return{disputeType:t[c("VideoCopyrightDisputeGraphFields").DISPUTE_TYPE],status:t[c("VideoCopyrightDisputeGraphFields").STATUS],expirationTime:t[c("VideoCopyrightDisputeGraphFields").EXPIRATION_TIME],timeCreated:t[c("VideoCopyrightDisputeGraphFields").TIME_CREATED],timeAppealed:t[c("VideoCopyrightDisputeGraphFields").TIME_APPEALED],timeUpdated:t[c("VideoCopyrightDisputeGraphFields").TIME_UPDATED],disputeFormData:t[c("VideoCopyrightDisputeGraphFields").DISPUTE_FORM_DATA],appealFormData:t[c("VideoCopyrightDisputeGraphFields").APPEAL_FORM_DATA]}},convertGraphAPIMatchToVideoCopyrightMatch:function s(t){var u=t[c("VideoCopyrightMatchGraphFields").MATCHED_VIDEO_ASSET],v=t[c("VideoCopyrightMatchGraphFields").LAST_MODIFIED_USER],w=t[c("VideoCopyrightMatchGraphFields").AUDIT_LOG],x=t[c("VideoCopyrightMatchGraphFields").DISPUTE];return{attribution:t[c("VideoCopyrightMatchGraphFields").ATTRIBUTION],matchID:t[c("VideoCopyrightMatchGraphFields").ID],is_viewed:t[c("VideoCopyrightMatchGraphFields").IS_VIEWED],status:t[c("VideoCopyrightMatchGraphFields").MATCH_STATUS],expirationInDays:t[c("VideoCopyrightMatchGraphFields").EXPIRATION_DAYS],matchedVideoAsset:u?this.convertGraphAPIAssetToVideoCopyrightVideoMetadata(u):null,lastModifiedUserName:v?v.name:" ",lastModifiedTime:t[c("VideoCopyrightMatchGraphFields").LAST_MODIFIED_TIME],auditLog:w?this.convertGraphAPIAuditLogToVideoMetadata(w):null,notes:t[c("VideoCopyrightMatchGraphFields").NOTES],appliedActions:t[c("VideoCopyrightMatchGraphFields").APPLIED_ACTIONS]||[],dispute:x?this.convertGraphAPIDisputeToMetadata(x):null,actionRequiringManualReview:t[c("VideoCopyrightMatchGraphFields").ACTION_REQUIRING_MANUAL_REVIEW],matchData:this.convertGraphAPIMatchDataToMetadata(t),addedToDashboardTime:t[c("VideoCopyrightMatchGraphFields").ADDED_TO_DASHBOARD_TIME],reviewReportID:t[c("VideoCopyrightMatchGraphFields").REVIEW_REPORT_ID],ownershipCountries:t[c("VideoCopyrightMatchGraphFields").OWNERSHIP_COUNTRIES],isAnonymous:t[c("VideoCopyrightMatchGraphFields").IS_ANONYMOUS],matchedAssetPlatform:u?u[c("VideoCopyrightVideoAssetGraphFields").MATCHED_ASSET_PLATFORM]:"FB"}},convertGraphAPIReferenceHistoryToMetadata:function s(t){var u=[];if(!t)return u;t.forEach(function(v){u.push({timestamp:v[c("VideoCopyrightMatchAuditLogEntryGraphFields").TIMESTAMP],matchState:v[c("VideoCopyrightMatchAuditLogEntryGraphFields").MATCH_STATE]})});return u},convertGraphAPIMatchToVideoReferenceMatch:function s(t,u){var v=u==t[c("VideoReferenceMatchGraphFields").MATCHED_REFERENCE_OWNER_ID],w=v?t[c("VideoReferenceMatchGraphFields").MATCHED_REFERENCE_COPYRIGHT]:t[c("VideoReferenceMatchGraphFields").REFERENCE_COPYRIGHT];return{id:t[c("VideoReferenceMatchGraphFields").ID],history:this.convertGraphAPIReferenceHistoryToMetadata(t[c("VideoReferenceMatchGraphFields").MODIFICATION_HISTORY]),matchState:t[c("VideoReferenceMatchGraphFields").MATCH_STATE],matchData:this.convertGraphAPIMatchDataToMetadataImpl(t[c("VideoReferenceMatchGraphFields").MATCH_DATA]),matchedAsset:t[c("VideoReferenceMatchGraphFields").MATCHED_REFERENCE_ASSET]?this.convertGraphAPIAssetToReferenceFileMetadata(t[c("VideoReferenceMatchGraphFields").MATCHED_REFERENCE_ASSET]):null,referenceAsset:t[c("VideoReferenceMatchGraphFields").REFERENCE_ASSET]?this.convertGraphAPIAssetToReferenceFileMetadata(t[c("VideoReferenceMatchGraphFields").REFERENCE_ASSET]):null,matchedReferenceOwnerID:t[c("VideoReferenceMatchGraphFields").MATCHED_REFERENCE_OWNER_ID],matchedReferenceOwnerName:t[c("VideoReferenceMatchGraphFields").MATCHED_REFERENCE_OWNER_NAME],referenceOwnerID:t[c("VideoReferenceMatchGraphFields").REFERENCE_OWNER_ID],referenceOwnerName:t[c("VideoReferenceMatchGraphFields").REFERENCE_OWNER_NAME],conflictingCountries:t[c("VideoReferenceMatchGraphFields").CONFLICTING_COUNTRIES],ownershipCountries:w?w[c("VideoCopyrightGraphFields").OWNERSHIP_COUNTRIES]:null,disputeFormData:JSON.parse(t[c("VideoReferenceMatchGraphFields").DISPUTE_FORM_DATA]),rejectionFormData:JSON.parse(t[c("VideoReferenceMatchGraphFields").REJECTION_FORM_DATA]),expirationTime:t[c("VideoReferenceMatchGraphFields").EXPIRATION_TIME],isDisputable:t[c("VideoReferenceMatchGraphFields").IS_DISPUTABLE],isPossibleConflict:t[c("VideoReferenceMatchGraphFields").IS_POSSIBLE_CONFLICT]}},convertGraphAPIMatchDataToMetadata:function s(t){var u=t[c("VideoCopyrightMatchGraphFields").MATCH_DATA],v=[];if(u&&u.length)u.forEach(function(w){var x=r.convertGraphAPIMatchDataToMetadataImpl(w);if(w[c("VideoCopyrightMatchDataGraphFields").ID].toString()===t[c("VideoCopyrightMatchGraphFields").ACTIVE_MATCH_DATA_ID])v.unshift(x);else v.push(x)});return v},convertMatchedSegmentsToCopyrightSegments:function s(t,u){var v=t[u?c("VideoCopyrightMatchDataGraphFields").VIDEO_MATCH_SEGMENTS:c("VideoCopyrightMatchDataGraphFields").AUDIO_MATCH_SEGMENTS]||[],w=v.map(function(x){return{referenceStartTimeInSec:x.reference_start_time_in_sec,matchedStartTimeInSec:x.matched_start_time_in_sec,durationInSec:x.duration_in_sec,errorType:x.error_type,mediaType:x.media_type,segmentSource:c("VideoCopyrightSegmentSource").RIDGE_MATCHES}});return w},convertExcludedSegmentsToCopyrightSegments:function s(t){var u=t.map(function(v){return{referenceStartTimeInSec:v.start_time_in_sec,matchedStartTimeInSec:v.start_time_in_sec,durationInSec:v.duration_in_sec,mediaType:v.media_type,included:!!v.included,segmentSource:c("VideoCopyrightSegmentSource").PUBLISHER_DEFINED}});return u},convertCopyrightSegmentsToExcludedSegments:function s(t){var u=[];t.forEach(function(v){if(v.segmentSource!==c("VideoCopyrightSegmentSource").PUBLISHER_DEFINED)return;var w={start_time_in_sec:v.referenceStartTimeInSec,duration_in_sec:v.durationInSec,media_type:v.mediaType,segment_source:v.segmentSource,included:!!v.included};u.push(w)});return u},convertGraphAPIMatchDataToMetadataImpl:function s(t){var u=t[c("VideoCopyrightMatchDataGraphFields").EXCLUDED_OWNERSHIP_SEGMENTS]||[];return{id:t[c("VideoCopyrightMatchDataGraphFields").ID],excludedSegments:this.convertExcludedSegmentsToCopyrightSegments(u),monitoringType:t[c("VideoCopyrightMatchDataGraphFields").MONITORING_TYPE],matchRule:t[c("VideoCopyrightMatchDataGraphFields").MATCH_RULE],matchedDurationInSec:t[c("VideoCopyrightMatchDataGraphFields").TOTAL_MATCH_DURATION],videoSegments:this.convertMatchedSegmentsToCopyrightSegments(t,true),audioSegments:this.convertMatchedSegmentsToCopyrightSegments(t,false),referenceAsset:this.convertGraphAPIAssetToReferenceFileMetadata(t[c("VideoCopyrightMatchDataGraphFields").REFERENCE_ASSET]),isManualMatch:t[c("VideoCopyrightMatchDataGraphFields").IS_MANUAL_MATCH]}},getDisputeExpirationLabel:function s(t){__p&&__p();var u=void 0,v=void 0,w=t-Date.now()/q;if(w<o){u=Math.ceil(w/p);v=u===1?"minute":"minutes"}else if(w<n){u=Math.ceil(w/o);v=u===1?"hour":"hours"}else{u=Math.ceil(w/n);v=u===1?"day":"days"}if(u<0)return null;else return j._({"*":{"day":"{time before expiration} day","days":"{time before expiration} days","hour":"{time before expiration} hour","hours":"{time before expiration} hours","minute":"{time before expiration} minute","minutes":"{time before expiration} minutes"}},[j.param("time before expiration",u,[0]),j["enum"](v,{day:"day",days:"days",hour:"hour",hours:"hours",minute:"minute",minutes:"minutes"})])},getIsReferenceMatchStateActionable:function s(t,u){return u===c("VideoReferenceMatchState").CONFLICT||u===c("VideoReferenceMatchState").DISPUTED||u===c("VideoReferenceMatchState").POSSIBLE_CONFLICT||t&&u===c("VideoReferenceMatchState").DISPUTE_REJECTED},getIsPassiveReferenceResolution:function s(t,u){if(t)return u===c("VideoReferenceMatchState").CONFLICT_EXPIRED||u===c("VideoReferenceMatchState").DISPUTE_REJECTED;else return u===c("VideoReferenceMatchState").DISPUTE_EXPIRED},getAppliedActionLabel:function s(t){__p&&__p();var u=t.map(function(y){return y.action}),v=u.indexOf(c("VideoCopyrightRuleActionType").BLOCK)!==-1;if(v)return c("RightsManagerFbt").BLOCKED;var w=u.indexOf(c("VideoCopyrightRuleActionType").MONETIZE)!==-1;if(w)return j._("Claim ad earnings");var x=u.indexOf(c("VideoCopyrightRuleActionType").TRACK)!==-1;if(x)return c("RightsManagerFbt").MONITORED;return c("RightsManagerFbt").CLAIMED},getActionRequiringManualReviewLabel:function s(t){switch(t){case c("VideoCopyrightRuleActionType").BLOCK:return j._("Block not applied");case c("VideoCopyrightRuleActionType").MONETIZE:return j._("Claim ad earnings not applied");default:return j._("Manually review")}},getReferenceMatchStateLabel:function s(t,u){__p&&__p();switch(t){case c("VideoReferenceMatchState").CONFLICT:case c("VideoReferenceMatchState").POSSIBLE_CONFLICT:return j._("Conflict detected");case c("VideoReferenceMatchState").OWNERSHIP_ASSERTED:return j._("Ownership asserted");case c("VideoReferenceMatchState").DISPUTED:return u?j._("Dispute submitted"):j._("Ownership disputed");case c("VideoReferenceMatchState").DISPUTE_ACCEPTED:return u?j._("Dispute accepted"):j._("Dispute accepted by you");case c("VideoReferenceMatchState").DISPUTE_REJECTED:return u?j._("Dispute rejected"):j._("Dispute rejected by you");case c("VideoReferenceMatchState").CONFLICT_RESOLVED:return j._("Conflict resolved");case c("VideoReferenceMatchState").CONFLICT_EXPIRED:return j._("Conflict expired");case c("VideoReferenceMatchState").DISPUTE_EXPIRED:return u?j._("Dispute accepted"):j._("Dispute expired");default:return j._("Unknown")}},logToPageContentTabLoggerWithDetails:function s(t,u,v){c("PageContentTabLogger").log(c("PageContentTabLoggingEvents").ACTION_TAKEN_MAIN_VIEW,v,{page_id:u,action:t})},renderOldVersionRuleIndicator:function s(t,u){if(u)return null;return c("React").createElement(c("Image.react"),{className:c("joinClasses")(t,"_5u-h"),"data-tooltip-content":j._("This match rule needs to be replaced with a new match rule due to recent updates. Assign reference files associated with it to a different or new match rule."),"data-hover":"tooltip","data-tooltip-position":"right",src:h("132175")})},dedupeSegments:function s(t,u){__p&&__p();var v=0,w=[],x=null;t.sort(function(y,z){var A=u?y.referenceStartTimeInSec:y.matchedStartTimeInSec,B=u?z.referenceStartTimeInSec:z.matchedStartTimeInSec;return A>B?1:-1}).forEach(function(y){__p&&__p();var z=y.durationInSec,A=u?y.referenceStartTimeInSec:y.matchedStartTimeInSec,B=A+z;if(x&&A<v){x.durationInSec+=Math.max(0,B-v);v=Math.max(v,B);return}var C=babelHelpers["extends"]({},y);x=C;w.push(C);v=Math.max(v,B)});return w},convertIGUserNameToIDs:function s(t,u){__p&&__p();var v;return c("regeneratorRuntime").async(function w(x){__p&&__p();while(1)switch(x.prev=x.next){case 0:if(!(u.length===0)){x.next=2;break}return x.abrupt("return",[]);case 2:x.next=4;return c("regeneratorRuntime").awrap(c("IGUserDataFetcher").gen(u,t));case 4:v=x.sent;return x.abrupt("return",Object.values(v.payload));case 6:case"end":return x.stop()}},null,this)}};f.exports=r}),null);
__d("PageContentTabActions",["errorCode","fbt","Arbiter","GraphAPI","PageContentTabAccessToken","PageContentTabBrandedContentUtils","PageContentTabCommonConfig","PageContentTabConfig","PageContentTabConstants","PageContentTabDispatcher","PageContentTabLoadingDialog","PageContentTabLogger","PageContentTabLoggingEvents"],(function a(b,c,d,e,f,g,h,i){"use strict";__p&&__p();var j=c("PageContentTabConstants").ACTIONS,k=c("PageContentTabConstants").TABS,l=c("PageContentTabConfig").graph_api_version||"2.2",m=10,n={backdatePost:function o(p,q,r,s,t,u){c("PageContentTabLoadingDialog").show();var v=new Date(s,t-1,u);c("GraphAPI")(l).object("post",r.story_token).post({access_token:c("PageContentTabAccessToken").getAccessToken(),is_published:true,backdated_time:v.getTime()/1e3,backdated_time_granularity:"day"}).done(function(w){c("PageContentTabDispatcher").handlePostRemoved(p,r.id);c("PageContentTabLoadingDialog").hide()},function(w){var x=w.error_user_msg?w.error_user_msg:i._("Could not backdate post.");c("PageContentTabLogger").log(c("PageContentTabLoggingEvents").API_ERROR,q,{error:JSON.stringify(w),action:j.BACKDATE,post_id:r.id});c("PageContentTabCommonConfig").showErrorDialog(i._("Error"),x)})},deletePosts:function o(p,q,r){c("PageContentTabLoadingDialog").show();var s=0;r.forEach(function(t){c("GraphAPI")(l).object("post",t.story_token).remove({access_token:c("PageContentTabAccessToken").getAccessToken()}).done(function(u){c("PageContentTabDispatcher").handlePostRemoved(p,t.id);s++;if(s===r.length)c("PageContentTabLoadingDialog").hide()},function(u){c("PageContentTabLogger").log(c("PageContentTabLoggingEvents").API_ERROR,q,{error:JSON.stringify(u),action:j.DELETE,post_id:t.id})})},this)},deletePostsbyID:function o(p,q,r){c("PageContentTabLoadingDialog").show();var s=0;r.forEach(function(t){c("GraphAPI")(l).object("post",t.id).remove({access_token:c("PageContentTabAccessToken").getAccessToken()}).done(function(u){c("PageContentTabDispatcher").handlePostRemoved(p,t.id);s++;if(s===r.length)c("PageContentTabLoadingDialog").hide()},function(u){c("PageContentTabLogger").log(c("PageContentTabLoggingEvents").API_ERROR,q,{error:JSON.stringify(u),action:j.DELETE,post_id:t.id})})},this)},publishPosts:function o(p,q,r){__p&&__p();c("PageContentTabLoadingDialog").show();var s=0;r.forEach(function(t){__p&&__p();c("GraphAPI")(l).object("post",t.story_token).post({access_token:c("PageContentTabAccessToken").getAccessToken(),is_published:true}).done(function(u){c("PageContentTabDispatcher").handlePostRemoved(p,t.id);if(q===k.BRANDED_CONTENT)c("PageContentTabBrandedContentUtils").postAccepted(p,t.creator_id,t.id);s++;if(s===r.length)c("PageContentTabLoadingDialog").hide()},function(u){var v=u.error_user_msg?u.error_user_msg:i._("Could not publish post."),w=u.error_user_title?u.error_user_title:i._("Error");c("PageContentTabLogger").log(c("PageContentTabLoggingEvents").API_ERROR,q,{error:JSON.stringify(u),action:j.PUBLISH,post_id:t.id});if(u.code===m){v=i._("You don't have the correct permissions to publish this post. Please contact the ad account's administrator.");w=i._("Unable to Publish.")}c("PageContentTabCommonConfig").showErrorDialog(w,v);c("PageContentTabLoadingDialog").hide()})})},scheduleDraftPost:function o(p,q,r,s){__p&&__p();c("PageContentTabLoadingDialog").show();c("GraphAPI")(l).object("post",r.story_token).post({access_token:c("PageContentTabAccessToken").getAccessToken(),scheduled_publish_time:Math.floor(s.getTime()/1e3)}).done(function(t){c("PageContentTabDispatcher").handlePostRemoved(p,r.id);r.scheduled_publish_time=s.toISOString();c("PageContentTabDispatcher").handlePostCreated(k.SCHEDULED_POSTS,r,p);c("PageContentTabLoadingDialog").hide()},function(t){var u=t.error_user_msg?t.error_user_msg:i._("Could not schdule post."),v=t.error_user_title?t.error_user_title:i._("Error");c("PageContentTabLogger").log(c("PageContentTabLoggingEvents").API_ERROR,q,{error:JSON.stringify(t),action:j.SCHEDULE,post_id:r.id});if(t.error_subcode===1946015)c("PageContentTabCommonConfig").showErrorDialog(v,u);c("PageContentTabLoadingDialog").hide()})},reloadTab:function o(p){c("Arbiter").inform("reloadContentTab/"+p)},changeTab:function o(p){c("Arbiter").inform("changeContentTab/"+p)},reloadLeftNavGroups:function o(p){c("Arbiter").inform("pageContentTab/leftNavUpdated",p)},changeTabAndForceReload:function o(p){c("Arbiter").inform("changeContentTabAndForceReload/"+p)},reloadVideoListHeader:function o(p){c("PageContentTabDispatcher").handleRequestVideoListHeaderInfo(p)},reschedulePost:function o(p,q,r){c("PageContentTabLoadingDialog").show();c("GraphAPI")(l).object("post",q.story_token).post({access_token:c("PageContentTabAccessToken").getAccessToken(),scheduled_publish_time:Math.floor(r.getTime()/1e3)}).done(function(s){c("PageContentTabDispatcher").handlePostChanged({scheduled_publish_time:r.toISOString(),id:q.id});c("PageContentTabLoadingDialog").hide()},function(s){c("PageContentTabLogger").log(c("PageContentTabLoggingEvents").API_ERROR,p,{error:JSON.stringify(s),action:j.RESCHEDULE,post_id:q.id})})},unschedulePosts:function o(p,q,r){c("PageContentTabLoadingDialog").show();r.forEach(function(s){c("GraphAPI")(l).object("post",s.story_token).post({access_token:c("PageContentTabAccessToken").getAccessToken(),scheduled_publish_time:0}).done(function(t){c("PageContentTabDispatcher").handlePostRemoved(p,s.id);c("PageContentTabDispatcher").handlePostCreated(k.DRAFTS,s,p);c("PageContentTabLoadingDialog").hide()},function(t){c("PageContentTabLogger").log(c("PageContentTabLoggingEvents").API_ERROR,q,{error:JSON.stringify(t),action:j.UNSCHEDULE,post_id:s.id})})})},updateSinglePost:function o(p){c("PageContentTabDispatcher").handlePostChanged(p)},deleteCollections:function o(p,q,r){c("PageContentTabLoadingDialog").show();var s=0;r.forEach(function(t){c("GraphAPI")(l).object("curated_collection",t.id).remove({access_token:c("PageContentTabAccessToken").getAccessToken()}).done(function(u){c("PageContentTabDispatcher").handlePostRemoved(p,t.id,q);s++;if(s===r.length)c("PageContentTabLoadingDialog").hide()})},this)}};f.exports=n}),null);
__d("PageContentTabConfirmationDialog.react",["fbt","LayerHideOnEscape","LayerFadeOnHide","React","XUIDialog.react","XUIDialogBody.react","XUIDialogButton.react","XUIDialogFooter.react","XUIDialogTitle.react"],(function a(b,c,d,e,f,g,h){__p&&__p();var i,j,k=c("React").PropTypes;i=babelHelpers.inherits(l,c("React").Component);j=i&&i.prototype;l.prototype.render=function(){"use strict";var m=this.props.cancelLabel||h._("Cancel");return c("React").createElement(c("XUIDialog.react"),{behaviors:{LayerHideOnEscape:c("LayerHideOnEscape"),LayerFadeOnHide:c("LayerFadeOnHide")},shown:true,width:450},c("React").createElement(c("XUIDialogTitle.react"),null,this.props.title),c("React").createElement(c("XUIDialogBody.react"),null,this.props.body),c("React").createElement(c("XUIDialogFooter.react"),null,c("React").createElement(c("XUIDialogButton.react"),{action:"cancel",label:m,use:"default"}),c("React").createElement(c("XUIDialogButton.react"),{"data-testid":"page_content_tab_confirm_button",action:"cancel",label:this.props.confirmationLabel,onClick:this.props.onConfirm,use:"confirm"})))};function l(){"use strict";i.apply(this,arguments)}l.propTypes={cancelLabel:k.string,title:k.string.isRequired,body:k.string.isRequired,confirmationLabel:k.string.isRequired,onConfirm:k.func.isRequired};f.exports=l}),null);
__d("PageContentTabTextUtils",[],(function a(b,c,d,e,f,g){"use strict";var h={getPostID:function i(j){var k=j.split("_");return k.pop()}};f.exports=h}),null);
__d("PageContentTabGroupedColumnHeader.react",["cx","React","CSS","FixedDataTableSortableHeader.react","PageContentTabConstants","XUISelector.react","XUISelectorButton.react"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i,j,k=c("XUISelector.react").Option,l=c("PageContentTabConstants").COLUMNS,m=c("React").PropTypes;i=babelHelpers.inherits(n,c("React").Component);j=i&&i.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=j.constructor).call.apply(o,[this].concat(r)),this.$PageContentTabGroupedColumnHeader3=function(t){this.props.changeSelectedColumns(t.value,this.props.initiallySelectedColumn)}.bind(this),this.$PageContentTabGroupedColumnHeader1=function(){return c("React").createElement(c("XUISelectorButton.react"),{className:"_4ubz",key:"page_content_tab_grouped_column_header_selector_button"})},this.$PageContentTabGroupedColumnHeader2=function(t,u){if(!this.props.sort.key)return;var v=u.target,w=v.parentNode,x="_4uby";if(c("CSS").hasClass(v,x)||c("CSS").hasClass(w,x)){var y=this.props.sort.key===this.props.initiallySelectedColumn,z=c("PageContentTabConstants").SORT_ORDER_ASC;if(y&&this.props.sort.order===c("PageContentTabConstants").SORT_ORDER_ASC)z=c("PageContentTabConstants").SORT_ORDER_DESC;this.props.onSortChanged({key:this.props.initiallySelectedColumn,order:z})}}.bind(this),p}n.prototype.render=function(){var o=this.props.sort.key===this.props.initiallySelectedColumn,p=[this.$PageContentTabGroupedColumnHeader1()];this.props.columns.forEach(function(q){return p.push(c("React").createElement(k,{value:q.key,key:q.key},q.label))});return c("React").createElement(c("FixedDataTableSortableHeader.react"),{className:"_4uby"+(!this.props.sort.key?" _k7t":""),sorting:o?this.props.sort.order:null,onClick:this.$PageContentTabGroupedColumnHeader2},c("React").createElement(c("XUISelector.react"),{initialValue:this.props.initiallySelectedColumn,onChange:this.$PageContentTabGroupedColumnHeader3},p))};n.propTypes={columns:m.arrayOf(m.shape({key:m.oneOf(Object.keys(l)).isRequired,label:m.string.isRequired})).isRequired,initiallySelectedColumn:m.oneOf(Object.keys(l)).isRequired,changeSelectedColumns:m.func.isRequired,onSortChanged:m.func.isRequired,sort:m.shape({key:m.oneOf(Object.keys(l)),order:m.oneOf([c("PageContentTabConstants").SORT_ORDER_ASC,c("PageContentTabConstants").SORT_ORDER_DESC])}).isRequired};f.exports=n}),null);
__d("PageContentTabLastModifiedColumn",["parseISODate"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h={getLastEditorName:function i(j){var k=this._getLastEditAction(j);return k.editor&&k.editor.name},getLastEditDate:function i(j){var k=this._getLastEditAction(j);if(k.edit_time)return c("parseISODate")(k.edit_time)},getLastEditDateString:function i(j){var k=this._getLastEditAction(j);return k?k.edit_time:null},_getLastEditAction:function i(j){var k=0,l={};(j||[]).forEach(function(m){var n=c("parseISODate")(m.edit_time);if(n.getTime()>k){l=m;k=n.getTime()}});return l}};f.exports=h}),null);
__d("PageContentTabReferenceFileInsightsNux.react",["ContextualLayerUpdateOnScroll","React","XUIAmbientNUX.react"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h,i;h=babelHelpers.inherits(j,c("React").PureComponent);i=h&&h.prototype;function j(k){i.constructor.call(this,k);this.$PageContentTabReferenceFileInsightsNux1=function(){this.setState({isVisible:false});if(this.props.onClose)this.props.onClose()}.bind(this);this.state={isVisible:this.props.showNux?this.props.showNux():false}}j.prototype.componentDidMount=function(){if(this.state.isVisible&&this.props.onSeen)this.props.onSeen()};j.prototype.render=function(){return c("React").createElement(c("XUIAmbientNUX.react"),{behaviors:{ContextualLayerUpdateOnScroll:c("ContextualLayerUpdateOnScroll")},contextRef:this.props.contextRef,onCloseButtonClick:this.$PageContentTabReferenceFileInsightsNux1,position:"left",shown:this.state.isVisible,width:"normal"},this.props.content)};f.exports=j}),null);
__d("PublishingToolsWebdriverTestDataIDs",[],(function a(b,c,d,e,f,g){f.exports=Object.freeze({ACTIONS_MENU:"actions_menu",CHECKBOX:"checkbox",VIDEO_LIBRARY_ROW:"video_library_row",CAST_HOME_CARD:"cast_home_card",CAST_HOME_CARD_SEE_ALL:"cast_home_card_see_all",CAST_PAGE_ACCEPTED_INVITE:"cast_page_accepted_invite",CAST_PAGE_APPROVE_BUTTON:"cast_page_approve_button",CAST_PAGE_CAST_MEMBERSHIP_PANE:"cast_page_cast_membership_pane",CAST_PAGE_DENY_BUTTON:"cast_page_deny_button",CAST_PAGE_INVITE_BUTTON:"cast_page_invite_button",CAST_PAGE_PENDING_INVITE:"cast_page_pending_invite",CAST_PAGE_REMOVE_BUTTON:"cast_page_remove_button",CAST_PAGE_ROLE_NAME_INPUT:"cast_page_role_name_input",CAST_PAGE_SAVE_ROLE_NAME_BUTTON:"cast_page_save_role_name_button",CAST_PAGE_TYPEAHEAD:"cast_page_typeahead",CAST_PAGE_UPDATE_ROLE_NAME_INPUT:"cast_page_update_role_name_input",FILTERS_MENU:"filters_menu",POSTS_COUNT_INDICATOR:"posts_count_indicator",PUBLISHING_STATE_INDICATOR:"publishing_state_indicator",SEARCH_OPTION:"search_option",VIDEO_LIBRARY_EDIT_BUTTON:"video_library_edit_button",VIDEO_LIBRARY_LIVE_BUTTON:"video_library_live_button",VIDEO_LIBRARY_UPLOAD_BUTTON:"video_library_upload_button",NEW_POST_EDIT_SELECTOR:"new_post_edit_selector",NEW_POST_INSIGHTS_BUTTON:"new_post_insigts_button",NEW_POST_WITH_THIS_VIDEO_DIALOG:"new_post_with_this_video_dialog",STREAM_KEY_TEXTFIELD:"stream_key_textfield",LIVE_PREVIEW_BUTTON:"live_preview_button",GO_LIVE_BUTTON:"go_live_button",GO_LIVE_PREVIEW_DIALOG:"go_live_preview_dialog",VIDEO_INSIGHTS_DIALOG:"video_insights_dialog",GO_LIVE_THROBBER:"go_live_throbber",END_LIVE_VIDEO_BUTTON:"end_live_video_button",STREAM_KEY_ON_PLAYER:"stream_key_on_player",INSIGHTS_EDIT_LIVE_VIDEO_BUTTION:"insights_edit_live_video_button",SAVE_EDIT_LIVE_VIDEO_BUTTON:"save_edit_live_video_button",INSIGHTS_POST_CELL:"insights_post_cell",DELETE_VIDEO:"delete_video",SETTINGS_CROSSPOSTING_ADD_PAGE_FIELD:"settings_crossposting_add_page_field",SETTINGS_CROSSPOSTING_REMOVE_PAGE_BUTTON:"settings_crossposting_remove_page_button",SETTINGS_CROSSPOSTING_CONFIRM_REMOVE_BUTTON:"settings_crossposting_confirm_remove_button",EDIT_DIALOG_CLOSE_BUTTON:"edit_dialog_close_button",VIDEO_UPLOAD_COMPLETE_BAR:"video_upload_complete_bar",VIDEO_UPLOAD_DIALOG_CLOSE_BUTTON:"video_upload_dialog_close_button",VIDEO_UPLOAD_DIALOG_CLOSE_CONFIRM_BUTTON:"video_upload_dialog_close_confirm_button"})}),null);
__d("VideoPublishingStateIndicator.react",["cx","React","joinClasses","Tooltip.react","PublishingToolsWebdriverTestDataIDs"],(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.$VideoPublishingStateIndicator1=function(){var l=c("joinClasses")(this.props.className,"_5yje"+(this.props.state==="expiring"?" _5yjf":"")+(this.props.state==="expired"?" _5yju":"")+(this.props.state==="published"?" _5yjz":"")+(this.props.state==="scheduled"?" _5yj_":"")+(this.props.state==="draft"?" _5yk6":"")+(this.props.state==="mixed"?" _5yk7":"")+(this.props.state==="live"?" _23d9":"")+(this.props.state==="unpublished"?" _23da":""));return l};k.prototype.render=function(){var l=this.$VideoPublishingStateIndicator1();return c("React").createElement(c("Tooltip.react"),{tooltip:this.props.toolTip,"data-testid":c("PublishingToolsWebdriverTestDataIDs").PUBLISHING_STATE_INDICATOR,position:this.props.toolTipPosition,alignH:this.props.toolTipAlignH},c("React").createElement("span",{className:l,onMouseEnter:this.props.onHover}))};function k(){i.apply(this,arguments)}k.defaultProps={toolTipAlignH:"left",toolTipPosition:"left"};f.exports=k}),null);
__d("VideoPublishingState",[],(function a(b,c,d,e,f,g){f.exports=Object.freeze({DRAFT:"draft",EXPIRED:"expired",EXPIRING:"expiring",LIVE:"live",MIXED:"mixed",PUBLISHED:"published",SCHEDULED:"scheduled",UNKNOWN:"unknown",UNPUBLISHED:"unpublished"})}),null);
__d("VideoPublishingStateIndicatorUtils",["fbt","VideoBroadcastAPIStatus","VideoPublishingState","formatDate","parseISODate"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i=1e3,j={_getTime:function k(l){if(l)if(typeof l==="string")return c("parseISODate")(l).getTime()/i;else if(typeof l==="number")return l;return 0},_getCurrentTime:function k(){return Math.floor(Date.now()/i)},_getDate:function k(l){return new Date(this._getTime(l)*i)},_getScheduledToolTip:function k(l){return this._getToolTip(c("VideoPublishingState").SCHEDULED,l.isVideoAsset&&l.postsCount>1,l.isVideoAsset?l.postsStatus?l.postsStatus.scheduled_posts_count:l.postsCount:1,l.publishTime)},_getDraftToolTip:function k(l){return this._getToolTip(c("VideoPublishingState").DRAFT,l.isVideoAsset&&l.postsCount>1,l.isVideoAsset?l.postsStatus?l.postsStatus.draft_posts_count:l.postsCount:1,l.time||l.creationTime)},_getPublishedToolTip:function k(l){return this._getToolTip(c("VideoPublishingState").PUBLISHED,l.isVideoAsset&&l.postsCount>1,l.isVideoAsset?l.postsStatus?l.postsStatus.published_posts_count:l.postsCount:1,l.publishTime)},_getExpiredToolTip:function k(l){return this._getToolTip(c("VideoPublishingState").EXPIRED,l.isVideoAsset&&l.postsCount>1,l.isVideoAsset?l.postsStatus?l.postsStatus.expired_posts_count:l.postsCount:1,l.expirationTime)},_getExpiringToolTip:function k(l){return this._getToolTip(c("VideoPublishingState").EXPIRING,l.isVideoAsset&&l.postsCount>1,l.isVideoAsset?l.postsStatus?l.postsStatus.expiring_posts_count:l.postsCount:1,l.expirationTime)},_getToolTip:function k(l,m,n,o){if(m)return h._({" post ":{"scheduled":"{total_posts_in_state} post Scheduled","expired":"{total_posts_in_state} post Expired","expiring":"{total_posts_in_state} post Expiring","draft":"{total_posts_in_state} post Saved as Draft","published":"{total_posts_in_state} post Published"}," posts ":{"scheduled":"{total_posts_in_state} posts Scheduled","expired":"{total_posts_in_state} posts Expired","expiring":"{total_posts_in_state} posts Expiring","draft":"{total_posts_in_state} posts Saved as Draft","published":"{total_posts_in_state} posts Published"}},[h.param("total_posts_in_state",n),h["enum"](n===1?" post ":" posts ",{" post ":" post "," posts ":" posts "}),h["enum"](l,{scheduled:"Scheduled",expired:"Expired",expiring:"Expiring",draft:"Saved as Draft",published:"Published"})]);else{var p=this._getDate(o);return h._({"scheduled":"Scheduled for {date} at {time}","expired":"Expired on {date} at {time}","expiring":"Expiring on {date} at {time}","draft":"Saved as Draft on {date} at {time}","published":"Published on {date} at {time}"},[h["enum"](l,{scheduled:"Scheduled for ",expired:"Expired on ",expiring:"Expiring on ",draft:"Saved as Draft on ",published:"Published on "}),h.param("date",c("formatDate")(p,"M d, Y")),h.param("time",c("formatDate")(p,"g:iA"))])}},_getMixedToolTip:function k(l){__p&&__p();var m="",n=l.postsStatus.published_posts_count;if(n)m=this._getPublishedToolTip(l);var o=l.postsStatus.draft_posts_count;if(o)m=m?m+"\n "+this._getDraftToolTip(l):this._getDraftToolTip(l);var p=l.postsStatus.scheduled_posts_count;if(p)m=m?m+"\n "+this._getScheduledToolTip(l):this._getScheduledToolTip(l);var q=l.postsStatus.expiring_posts_count;if(q)m=m?m+"\n "+this._getExpiringToolTip(l):this._getExpiringToolTip(l);var r=l.postsStatus.expired_posts_count;if(r)m=m?m+"\n "+this._getExpiredToolTip(l):this._getExpiredToolTip(l);return m},getStateToolTip:function k(l,m){switch(l){case c("VideoPublishingState").PUBLISHED:return this._getPublishedToolTip(m);case c("VideoPublishingState").SCHEDULED:return this._getScheduledToolTip(m);case c("VideoPublishingState").EXPIRING:return this._getExpiringToolTip(m);case c("VideoPublishingState").EXPIRED:return this._getExpiredToolTip(m);case c("VideoPublishingState").DRAFT:return this._getDraftToolTip(m);case c("VideoPublishingState").MIXED:return this._getMixedToolTip(m);default:return""}},getState:function k(l){__p&&__p();if(l.liveStatus)switch(l.liveStatus){case c("VideoBroadcastAPIStatus").SCHEDULED_UNPUBLISHED:case c("VideoBroadcastAPIStatus").SCHEDULED_LIVE:return c("VideoPublishingState").SCHEDULED;case c("VideoBroadcastAPIStatus").SCHEDULED_EXPIRED:return c("VideoPublishingState").EXPIRED}if(l.isVideoAsset&&l.postsStatus)return l.postsStatus.state;else{var m=this._getTime(l.expirationTime),n=this._getTime(l.publishTime);if(m)if(m<this._getCurrentTime())return c("VideoPublishingState").EXPIRED;else return c("VideoPublishingState").EXPIRING;else if(l.isDraft)return c("VideoPublishingState").DRAFT;else if(n)if(n<this._getCurrentTime())return c("VideoPublishingState").PUBLISHED;else return c("VideoPublishingState").SCHEDULED}return c("VideoPublishingState").UNKNOWN},_getVideoAssetStateToolTip:function k(l){switch(l){case c("VideoPublishingState").SCHEDULED:return h._("Scheduled");case c("VideoPublishingState").DRAFT:return h._("Draft");case c("VideoPublishingState").EXPIRED:return h._("Expired");case c("VideoPublishingState").EXPIRING:return h._("Expiring");case c("VideoPublishingState").PUBLISHED:return h._("Published");default:return""}}};f.exports=j}),null);
__d("XContentTabCuratedCollectionViewDialogController",["XController"],(function a(b,c,d,e,f,g){f.exports=c("XController").create("/curated_collection/view/dialog/",{collection_id:{type:"FBID",required:true},view_in_newsfeed:{type:"Bool",defaultValue:false},__asyncDialog:{type:"Int"}})}),null);
__d("PageContentTabCellRenderers",["cx","fbt","ix","AsyncRequest","ContentTabPageInfo","CuratedCollectionNameSitevar","FixedDataTableSortableHeader.react","Image.react","LineClamp.react","NumberFormat","PageContentTabConstants","PageContentTabGroupedColumnHeader.react","PageContentTabLastModifiedColumn","PageContentTabLoadingDialog","PageContentTabLogger","PageContentTabLoggingEvents","PageContentTabReferenceFileInsightsNux.react","React","Tooltip","Tooltip.react","VideoPublishingStateIndicator.react","VideoPublishingStateIndicatorUtils","XContentTabCuratedCollectionViewDialogController","XUIButton.react","XUIDateTimePickerUtils","emptyFunction","fbglyph","formatDate","joinClasses","parseISODate"],(function a(b,c,d,e,f,g,h,i,j){"use strict";__p&&__p();var k=c("PageContentTabConstants").TABS,l={renderGroupedColumnHeader:function m(n,o,p){return c("React").createElement(c("PageContentTabGroupedColumnHeader.react"),{columns:p.columnsInGroup,initiallySelectedColumn:o,changeSelectedColumns:p.changeSelectedColumns,onSortChanged:p.onSortChanged,sort:p.sort})},renderSortableHeader:function m(n,o,p){return l.renderHeaderWithTooltip(n,o,p,true)},renderHeaderWithClassName:function m(n,o,p,q){return l.renderHeaderWithTooltip(n,o,p,true,"",q)},renderHeaderWithTooltip:function m(n,o,p,q,r,s){__p&&__p();var t=p.sort.key===o,u=p.initialSortOrder||c("PageContentTabConstants").SORT_ORDER_ASC,v=p.sort.order||p.initialSortOrder,w=null;if(r)w=c("React").createElement(c("Tooltip.react"),{tooltip:r},c("React").createElement(c("Image.react"),{src:j("28631"),className:"_541d"}));var x=void 0,y=void 0;if(p.nux)y=c("React").createElement(c("PageContentTabReferenceFileInsightsNux.react"),{content:p.nux.content,contextRef:function z(){return x},onClose:p.nux.onClose,onSeen:p.nux.onSeen,showNux:p.nux.showNux});return q?c("React").createElement(c("FixedDataTableSortableHeader.react"),{className:c("joinClasses")(s,"_2k53"),style:{width:p.width+"px"},onClick:function z(){var A=u;if(t&&v===A)A=v===c("PageContentTabConstants").SORT_ORDER_ASC?c("PageContentTabConstants").SORT_ORDER_DESC:c("PageContentTabConstants").SORT_ORDER_ASC;p.onSortChanged({key:o,order:A})},sorting:t?v:null},c("React").createElement("span",{ref:function z(A){return x=A},className:(w!==null?"_2k55":"")+" _2k57"},n),y,w):c("React").createElement("div",{className:"_2k53",style:{width:p.width+"px"}},c("React").createElement("span",{ref:function z(A){return x=A},className:(w!==null?"_2k55":"")+" _2k57"},n),y,w)},renderHeaderWithSortingArrow:function m(n){return c("React").createElement(c("FixedDataTableSortableHeader.react"),{className:"_3i6j",onClick:c("emptyFunction"),sorting:c("PageContentTabConstants").SORT_ORDER_DESC},c("React").createElement("span",null,n))},renderPublishingStateIndicator:function m(n,o){var p=c("VideoPublishingStateIndicatorUtils").getState(n);return c("React").createElement(c("VideoPublishingStateIndicator.react"),{state:p,toolTip:c("VideoPublishingStateIndicatorUtils").getStateToolTip(p,n),onHover:function q(){c("PageContentTabLogger").log(c("PageContentTabLoggingEvents").POST_STATE_INDICATOR_HOVERED,k.VIDEOS,{page_id:o.page_id})}})},renderLastModifiedCell:function m(n){__p&&__p();var o=null,p=null;if(!n.edit_actions||!n.edit_actions.length)p=c("parseISODate")(n.modified_time);else{o=c("PageContentTabLastModifiedColumn").getLastEditorName(n.edit_actions);p=n.modified_time?c("parseISODate")(n.modified_time):c("PageContentTabLastModifiedColumn").getLastEditDate(n.edit_actions)}var q=null,r=null;if(p){r=l._renderDateLabel(p.toISOString());q=c("React").createElement("div",{className:"_477n"},c("React").createElement(c("LineClamp.react"),{lines:1},r))}return c("React").createElement("div",{"data-hover":"tooltip","data-tooltip-content":r},q,c("React").createElement("div",{className:"_1rus"},o))},renderDateCreatedCell:function m(n){return l.renderDateCreatedWithAdminDataCell(n,true)},renderDateCreatedWithAdminDataCell:function m(n,o,p){__p&&__p();var q=n.time?c("parseISODate")(n.time):null,r=null,s=null;if(q){s=l._renderDateLabel(n.time);r=c("React").createElement("div",{className:"_477n"},c("React").createElement(c("LineClamp.react"),{lines:1},s))}var t=null;if(o)if(p)t=c("React").createElement("div",{className:"_1rus"},c("React").createElement(c("LineClamp.react"),{lines:1},n.admin));else t=c("React").createElement("div",{className:"_1rus"},n.admin);return c("React").createElement("div",null,c("React").createElement(c("LineClamp.react"),{lines:2},r,t))},renderVideoAssetStateIndicator:function m(n){return c("React").createElement(c("VideoPublishingStateIndicator.react"),{state:n,toolTip:c("VideoPublishingStateIndicatorUtils")._getVideoAssetStateToolTip(n)})},renderCellWithNLinesOfText:function m(n,o,p,q){return c("React").createElement("div",{"data-hover":"tooltip","data-tooltip-content":p,className:"_1i32"},c("React").createElement(c("LineClamp.react"),{lines:o,lineHeight:q!==null?q:undefined},c("React").createElement("div",null," ",n," ")))},renderCellWithNumber:function m(n){var o=c("NumberFormat").formatInteger(n);return c("React").createElement("span",null,o)},renderVideoLibraryViews:function m(n,o){var p=this.renderCellWithNumber(n);if(o&&o>1){var q=i._({"*":"{number}"},[i.param("number",o,[0])]),r=i._({"*":"Video used in {number} posts"},[i.param("number",o,[0])]);return c("React").createElement("div",{className:"_147g"},c("React").createElement(c("LineClamp.react"),{lines:2},c("React").createElement("div",null,p),c("React").createElement(c("Image.react"),{"aria-label":r,"data-hover":"tooltip","data-tooltip-content":r,"data-tooltip-position":"left",className:"_33op",src:j("142658")}),c("React").createElement("span",{className:"_33or"},q)))}else return c("React").createElement("div",{className:"_147g"},p)},renderCollectionPostTitleAndLede:function m(n,o){return c("React").createElement("div",{className:"_1i32"},c("React").createElement(c("LineClamp.react"),{lines:1,fitHeightToShorterText:true},n),c("React").createElement("div",{className:"_38se"},c("React").createElement(c("LineClamp.react"),{lines:2,fitHeightToShorterText:true},o)))},renderCollectionViewButton:function m(n){__p&&__p();return c("React").createElement("div",{className:"_2pi8"},c("React").createElement(c("XUIButton.react"),babelHelpers["extends"]({image:c("React").createElement(c("Image.react"),{src:j("113693")}),label:"View Newsfeed",labelIsHidden:true,onClick:function o(event){var p=c("XContentTabCuratedCollectionViewDialogController").getURIBuilder().setFBID("collection_id",n).setBool("view_in_newsfeed",true).getURI();c("PageContentTabLoadingDialog").show();new(c("AsyncRequest"))(p).exec().done(function(q){c("PageContentTabLoadingDialog").hide()},function(q){c("PageContentTabLoadingDialog").hide()})}},c("Tooltip").propsFor(i._("View Newsfeed Story")))),c("React").createElement(c("XUIButton.react"),babelHelpers["extends"]({image:c("React").createElement(c("Image.react"),{src:j("113584")}),label:"View Stories",labelIsHidden:true,onClick:function o(event){var p=c("XContentTabCuratedCollectionViewDialogController").getURIBuilder().setFBID("collection_id",n).getURI();c("PageContentTabLoadingDialog").show();new(c("AsyncRequest"))(p).exec().done(function(q){c("PageContentTabLoadingDialog").hide()},function(q){c("PageContentTabLoadingDialog").hide()})}},c("Tooltip").propsFor("View "+c("CuratedCollectionNameSitevar").plural))))},renderDateCell:function m(n,o){if(!n)return c("React").createElement("div",null);var p=l._renderDateLabel(n);return c("React").createElement("div",{"data-hover":o?"":"tooltip","data-tooltip-content":p},c("React").createElement(c("LineClamp.react"),{lines:1},p))},_renderDateLabel:function m(n){var o=c("parseISODate")(n),p=c("XUIDateTimePickerUtils").offsetDate(o,o.getTimezoneOffset()/60*-1,true),q=c("XUIDateTimePickerUtils").getOffsetUIDate(p,c("ContentTabPageInfo").accountGmtOffsetSeconds/60),r=c("formatDate")(q,"M j, Y"),s=c("formatDate")(q,"g:ia");return i._("{date} at {time}",[i.param("date",r),i.param("time",s)])}};f.exports=l}),null);
__d("TitlesRequiredForMarkAsEpisodeDialog.react",["cx","fbt","React","AbstractDraggableList.react","FBOverlayBase.react","Image.react","LineClamp.react","CenteredContainer.react","PageContentTabCellRenderers","XUIDialog.react","XUIDialogHeader.react","XUIDialogHeaderTitle.react","XUIDialogBody.react","XUIDialogFooter.react","XUIDialogButton.react","XUIGrayText.react","XUINotice.react","XUINoticeGroup.react","XUIText.react","emptyFunction"],(function a(b,c,d,e,f,g,h,i){"use strict";__p&&__p();var j,k,l=600,m=300;j=babelHelpers.inherits(n,c("React").Component);k=j&&j.prototype;n.prototype.$TitlesRequiredForMarkAsEpisodeDialog1=function(o){var p=o.description?c("React").createElement(c("XUIText.react"),{size:"header4"},o.description):c("React").createElement(c("XUIGrayText.react"),{size:"header4"},i._("This video has no description."));return c("React").createElement(c("FBOverlayBase.react"),null,c("React").createElement("div",{className:"_2q4p"},c("React").createElement("div",{className:"_2q4q"},c("React").createElement(c("CenteredContainer.react"),{fullHeight:true,vertical:true},c("React").createElement(c("Image.react"),{src:o.thumbnail_while_encoding,className:"_2q4r"}))),c("React").createElement("div",{className:"_1cn2"},c("React").createElement("div",{className:"_1cn8"},c("React").createElement(c("LineClamp.react"),{lines:3,lineHeight:20},p)),c("React").createElement("div",{className:"_1cna"},c("React").createElement(c("XUIGrayText.react"),{size:"header4",display:"inline"},c("PageContentTabCellRenderers").renderDateCell(o.created_time))))))};function n(o){__p&&__p();k.constructor.call(this,o);var p=[],q={};o.posts.forEach(function(r){if(!r.is_episode){p.push(r.id);q[r.id]={id:r.id,label:this.$TitlesRequiredForMarkAsEpisodeDialog1(r),isMovable:false}}}.bind(this));if(o.posts.length===0)this.state={videoIDs:p,videosByID:q,shown:false};else this.state={videoIDs:p,videosByID:q,shown:true}}n.prototype.$TitlesRequiredForMarkAsEpisodeDialog2=function(){var o={use:"warn",text:i._({"*":{"*":{"*":"{number} videos can't be marked as episodes due to missing titles","_1":"{number} videos can't be marked as episodes due to a missing title"},"_1":{"*":"{number} videos can't be marked as episode due to missing titles","_1":"{number} videos can't be marked as episode due to a missing title"}},"_1":{"*":{"*":"1 video can't be marked as episodes due to missing titles","_1":"1 video can't be marked as episodes due to a missing title"},"_1":{"*":"1 video can't be marked as episode due to missing titles","_1":"1 video can't be marked as episode due to a missing title"}}},[i.plural(this.props.posts.length,"number"),i.plural(this.props.posts.length),i.plural(this.props.posts.length)])},p=[];if(this.props.posts.length>0)p.push(o);var q=p.map(function(r,s){return c("React").createElement(c("XUINotice.react"),{use:r.use,key:"message_"+s},r.text)});return c("React").createElement(c("XUINoticeGroup.react"),null,q)};n.prototype.render=function(){var o=i._("OK"),p=c("React").createElement("div",{className:"_2q4s"},c("React").createElement(c("XUIText.react"),{shade:"dark",weight:"bold"},i._({"*":{"*":{"*":{"*":"Add titles to the following videos to mark them as episodes.","_1":"Add titles to the following videos to mark them as an episode."},"_1":{"*":"Add titles to the following videos to mark it as episodes.","_1":"Add titles to the following videos to mark it as an episode."}},"_1":{"*":{"*":"Add titles to the following video to mark them as episodes.","_1":"Add titles to the following video to mark them as an episode."},"_1":{"*":"Add titles to the following video to mark it as episodes.","_1":"Add titles to the following video to mark it as an episode."}}},"_1":{"*":{"*":{"*":"Add a title to the following videos to mark them as episodes.","_1":"Add a title to the following videos to mark them as an episode."},"_1":{"*":"Add a title to the following videos to mark it as episodes.","_1":"Add a title to the following videos to mark it as an episode."}},"_1":{"*":{"*":"Add a title to the following video to mark them as episodes.","_1":"Add a title to the following video to mark them as an episode."},"_1":{"*":"Add a title to the following video to mark it as episodes.","_1":"Add a title to the following video to mark it as an episode."}}}},[i.plural(this.props.posts.length),i.plural(this.props.posts.length),i.plural(this.props.posts.length),i.plural(this.props.posts.length)])));return c("React").createElement(c("XUIDialog.react"),{titleID:"titles-required-dialog",width:l,height:m,shown:this.state.shown},c("React").createElement(c("XUIDialogHeader.react"),null,c("React").createElement(c("XUIDialogHeaderTitle.react"),null,this.props.title)),c("React").createElement(c("XUIDialogBody.react"),null,this.$TitlesRequiredForMarkAsEpisodeDialog2(),p,c("React").createElement("div",{className:"_2q4t"},c("React").createElement(c("AbstractDraggableList.react"),{itemsByID:this.state.videosByID,itemIDs:this.state.videoIDs,onRemove:c("emptyFunction"),onReorder:c("emptyFunction")}))),c("React").createElement(c("XUIDialogFooter.react"),null,c("React").createElement(c("XUIDialogButton.react"),{action:"cancel",label:o,use:"default"})))};f.exports=n}),null);
__d("PageContentTabCommonConfig",["fbt","DOM","LayerFadeOnHide","LayerHideOnEscape","PageContentTabActions","PageContentTabConfig","PageContentTabConfirmationDialog.react","PageContentTabConstants","PageContentTabTextUtils","PostScheduleDialog.react","React","ReactDOM","TitlesRequiredForMarkAsEpisodeDialog.react","XUIDialog.react","XUIDialogBody.react","XUIDialogFooter.react","XUIDialogOkayButton.react","XUIDialogTitle.react"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i=c("PageContentTabConstants").COLUMNS,j=c("PageContentTabConstants").TABS,k={getValueFromInsight:function l(m){if(m.values&&m.values.length===1)return m.values[0].value.toString();return"0"},maxInsightValue:function l(m,n){var o=0;m.forEach(function(p){var q=p.insights&&p.insights.data;(q||[]).forEach(function(r){if(r.name===n){var s=k.getValueFromInsight(r);o=Math.max(o,parseInt(s,10))}})});return o},maxProductInsightValue:function l(m,n){var o=0;m.forEach(function(p){var q=n.map(function(s){return p.commerce_insights[s]}),r=q.reduce(function(s,t){return s+t});o=Math.max(o,r?r:0)});return o},showErrorDialog:function l(m,n){c("ReactDOM").render(c("React").createElement(c("XUIDialog.react"),{shown:true,behaviors:{LayerFadeOnHide:c("LayerFadeOnHide"),LayerHideOnEscape:c("LayerHideOnEscape")},width:600},c("React").createElement(c("XUIDialogTitle.react"),null,c("React").createElement("span",null,m)),c("React").createElement(c("XUIDialogBody.react"),null,n),c("React").createElement(c("XUIDialogFooter.react"),null,c("React").createElement(c("XUIDialogOkayButton.react"),{use:"confirm",action:"cancel"}))),c("DOM").create("div"))},showMarkAsEpisodesDialog:function l(m,n){var o=h._({"*":"Titles Required","_1":"Title Required"},[h.plural(n.length)]);if(n.length>0)c("ReactDOM").render(c("React").createElement(c("TitlesRequiredForMarkAsEpisodeDialog.react"),{hasBeenMarkedAsEpisode:m,title:o,posts:n}),c("DOM").create("div"))},showConfirmationDialog:function l(m,n,o,p,q){c("ReactDOM").render(c("React").createElement(c("PageContentTabConfirmationDialog.react"),{cancelLabel:q,title:m,body:n,confirmationLabel:o,onConfirm:p}),c("DOM").create("div"))},showConfirmationDialogWithSocialFeedbackWarning:function l(m,n,o,p,q,r){k.showConfirmationDialog(m,o,p,k.showConfirmationDialog.bind(k,m,n,p,q,r),r)},showSchedulePostDialog:function l(m,n){var o=c("React").createElement(c("PostScheduleDialog.react"),{timezoneStr:c("PageContentTabConfig").timezone_str,onSubmit:c("PageContentTabActions").scheduleDraftPost.bind(c("PageContentTabActions"),n.page_id,j.ADS_POSTS,m[0])});o=c("ReactDOM").render(o,c("DOM").create("div"));o.show()},isSharingSocialFeedback:function l(m){return m.is_sharing_social_feedback},getSharingSocialFeedbackPostIDs:function l(m){var n="",o=true;m.forEach(function(p){if(k.isSharingSocialFeedback(p)){if(!o)n+=", ";else o=false;n+=p.id}});return n},getNumOfSharingSocialFeedbackPosts:function l(m){var n=0;m.forEach(function(o){if(k.isSharingSocialFeedback(o))n++});return n},getWarningMessageForSharingSocialFeedbackPosts:function l(m,n){var o=k.getNumOfSharingSocialFeedbackPosts(m);return m.length===1?h._("The post you've selected is sharing metrics, such as likes, reactions, comments and shares, with other posts. If you {action} the selected post, you'll lose these shared metrics, which may impact the engagement and performance metrics for any ads that are associated with the post.",[h.param("action",n)]):o>1?h._("Some of the posts you've selected are sharing metrics, such as likes, reactions, comments and shares, with other posts: ({sharingPosts}) If you {action} the selected posts, you'll lose these shared metrics, which may impact the engagement and performance metrics for any ads that are associated with these posts.",[h.param("sharingPosts",k.getSharingSocialFeedbackPostIDs(m)),h.param("action",n)]):h._("One of the posts you've selected are sharing metrics, such as likes, reactions, comments and shares, with other posts: ({sharingPosts}) If you {action} the selected post, you'll lose these shared metrics, which may impact the engagement and performance metrics for any ads that are associated with this post.",[h.param("sharingPosts",k.getSharingSocialFeedbackPostIDs(m)),h.param("action",n)])},createScheduledPostRow:function l(m,n){var o=k.createDraftPostRow(m,n);o[i.SCHEDULED_PUBLISH_TIME]={time:m.scheduled_publish_time,admin:m.admin_creator&&m.admin_creator.name};o[i.PROMOTION_STATUS]=m.promotion_info;o[i.ID]=c("PageContentTabTextUtils").getPostID(m.id);return o},createDraftPostRow:function l(m,n){return k._createUnpublishedPostRowBase(m,n)},_createUnpublishedPostRowBase:function l(m,n){var o={};o[i.POST]={id:m.id,text:m.message,img:m.thumbnail||n.picture&&n.picture.url,url:m.permalink_url,owner:n.page_id,place:m.place,og_action_summary:m.og_action_summary};o[i.DATE_CREATED]={time:m.creation_time,admin:m.admin_creator&&m.admin_creator.name};o[i.DATE_LAST_MODIFIED]={edit_actions:m.edit_actions&&m.edit_actions.data,modified_time:m.modified_time};o[i.LOCATION_LANGUAGE]=m.privacy_description;return o}};f.exports=k}),null);
__d("PageContentTabDrawerContentWrapper.react",["cx","React","joinClasses"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i,j,k=c("React").PureComponent;i=babelHelpers.inherits(l,k);j=i&&i.prototype;l.prototype.componentWillUnmount=function(){if(this.props.onClosed)this.props.onClosed()};l.prototype.render=function(){return c("React").createElement("div",{className:c("joinClasses")(this.props.className,"_a7e")},c("React").createElement("div",{className:"_a7l"},c("React").createElement("div",{className:"_a7n"},this.props.drawerView.header),c("React").createElement("div",{className:"_a7o"},this.props.drawerView.content),this.props.footer))};function l(){i.apply(this,arguments)}f.exports=l}),null);
__d("PageContentTabDrawerHeader.react",["ix","cx","fbt","Image.react","Link.react","React","XUICloseButton.react","XUIText.react","emptyFunction","fbglyph","joinClasses"],(function a(b,c,d,e,f,g,h,i,j){__p&&__p();var k,l,m=c("React").PureComponent;k=babelHelpers.inherits(n,m);l=k&&k.prototype;n.prototype.getBackButton=function(){"use strict";return c("React").createElement(c("Link.react"),{onClick:this.props.onClose,className:"_4c8u"},c("React").createElement(c("Image.react"),{className:"_4c8-",src:h("133542")}),c("React").createElement("div",{className:"_4c8_"},j._("Back")))};n.prototype.getCloseButton=function(){"use strict";return c("React").createElement("div",{className:"_4c90"},c("React").createElement(c("XUICloseButton.react"),{onClick:this.props.onClose,size:"medium"}))};n.prototype.render=function(){"use strict";return c("React").createElement("div",{className:c("joinClasses")(this.props.className,"_4c91")},this.props.showBackButton?this.getBackButton():null,this.props.showCloseButton?this.getCloseButton():null,c("React").createElement(c("XUIText.react"),{size:"header3",weight:"bold"},this.props.children))};function n(){"use strict";k.apply(this,arguments)}n.defaultProps={onClose:c("emptyFunction"),showBackButton:false,showCloseButton:false};f.exports=n}),null);
__d("PageContentTabModalBackground.react",["cx","React","ReactDOM","joinClasses"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i,j,k=c("React").Element,l=c("React").PureComponent,m=c("React").PropTypes;i=babelHelpers.inherits(n,l);j=i&&i.prototype;function n(){var o,p;for(var q=arguments.length,r=Array(q),s=0;s<q;s++)r[s]=arguments[s];return p=(o=j.constructor).call.apply(o,[this].concat(r)),this.$PageContentTabModalBackground1=function(t){if(t.target===c("ReactDOM").findDOMNode(this))this.props.onClick&&this.props.onClick()}.bind(this),p}n.prototype.render=function(){return c("React").createElement("div",{className:c("joinClasses")("_s6p"+(this.props.isTransparent?" _2jyj":""),this.props.className),onClick:this.$PageContentTabModalBackground1,role:"presentation"},this.props.children)};n.propTypes={isTransparent:m.bool,onClick:m.func};f.exports=n}),null);
__d("PageContentTabDrawer.react",["cx","Keys","PageContentTabDrawerContentWrapper.react","PageContentTabDrawerHeader.react","PageContentTabModalBackground.react","React","ReactCSSTransitionGroup","emptyFunction"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i,j,k=c("React").PureComponent;i=babelHelpers.inherits(l,k);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.$PageContentTabDrawer1=function(event){if(event.keyCode===c("Keys").ESC&&this.props.position==="open")this.props.onClose()}.bind(this),n}l.prototype.componentWillMount=function(){document.addEventListener("keydown",this.$PageContentTabDrawer1)};l.prototype.componentWillUnmount=function(){document.removeEventListener("keydown",this.$PageContentTabDrawer1)};l.prototype.render=function(){var m=this.props,n=m.onClose,o=m.drawerView,p=m.position,q=o&&o.footer?c("React").createElement("div",{className:"_a7d"},o.footer):null;return c("React").createElement("div",null,p==="open"?c("React").createElement(c("PageContentTabModalBackground.react"),{isTransparent:this.props.useTransparentBackground,onClick:this.props.hideOnBackgroundClick?n:c("emptyFunction")}):null,c("React").createElement(c("ReactCSSTransitionGroup"),{className:"_1p07",component:"div",key:"transitionGroup",transitionEnterTimeout:300,transitionLeaveTimeout:300,transitionName:"panel"},p==="open"?c("React").createElement(c("PageContentTabDrawerContentWrapper.react"),{className:this.props.className,drawerView:o,footer:q,onClosed:this.props.onClosed,position:p}):null))};l.Header=c("PageContentTabDrawerHeader.react");l.defaultProps={onClose:c("emptyFunction"),hideOnBackgroundClick:true,useTransparentBackground:false};f.exports=l}),null);
__d("PageContentTabLocations",[],(function a(b,c,d,e,f,g){f.exports=Object.freeze({PAGES_MANAGER:"PAGES_MANAGER",ADS_PE:"ADS_PE"})}),null);
__d("VideoCopyrightRuleLoggingAction",[],(function a(b,c,d,e,f,g){"use strict";var h=Object.freeze({MATCH_RULE_CREATED:"MATCH_RULE_CREATED",MATCH_RULE_DELETED:"MATCH_RULE_DELETED",MATCH_RULE_VIEWED:"MATCH_RULE_VIEWED"});f.exports=h}),null);
__d("VideosCopyrightRuleActions",["GraphAPI","VideoCopyrightUtils"],(function a(b,c,d,e,f,g){var h={createMatchRule:function i(j,k,l){return c("GraphAPI")(c("VideoCopyrightUtils").GRAPH_API_VERSION).object("page",j).edge("video_copyright_rules").post(babelHelpers["extends"]({},l,{access_token:k}))},reassociateReferences:function i(j,k,l,m,n){return c("GraphAPI")(c("VideoCopyrightUtils").GRAPH_API_VERSION).object("video_copyright_rule",l).post({migration_rule_id:k,excluded_copyright_ids:m,access_token:n})},getMatchRule:function i(j,k){return c("GraphAPI")(c("VideoCopyrightUtils").GRAPH_API_VERSION).object("video_copyright_rules",j).get({fields:c("VideoCopyrightUtils").getMatchGraphFields(),access_token:k,date_format:"U"})},deleteMatchRule:function i(j,k){return c("GraphAPI")(c("VideoCopyrightUtils").GRAPH_API_VERSION).object("video_copyright_rule",j).remove({access_token:k})}};f.exports=h}),null);
__d("PageContentTabVideosCopyrightRuleActions",["fbt","Promise","Arbiter","DateConsts","ErrorDialog","PageContentTabConstants","PageContentTabDispatcher","PageContentTabLoadingDialog","PageContentTabLocations","PageContentTabLogger","PageContentTabLoggingEvents","VideoCopyrightRuleLoggingAction","VideosCopyrightRuleActions","idx"],(function a(b,c,d,e,f,g,h){__p&&__p();var i={createMatchRule:function j(k,l,m){__p&&__p();c("PageContentTabLoadingDialog").show();if(!c("PageContentTabLogger").hasPageID())c("PageContentTabLogger").init(k,c("PageContentTabLocations").PAGES_MANAGER);var n=c("VideoCopyrightRuleLoggingAction").MATCH_RULE_CREATED;return c("VideosCopyrightRuleActions").createMatchRule(k,m,l).then(function(o){return c("VideosCopyrightRuleActions").getMatchRule(o.id,m).then(function(p){c("PageContentTabDispatcher").handlePostCreated(c("PageContentTabConstants").TABS.MATCH_RULES,p,k);this._logAction(n,p.id);c("PageContentTabLoadingDialog").hide();return p}.bind(this),function(p){this._onError(n,p)}.bind(this))}.bind(this))},reassociateReferences:function j(k,l,m,n,o){__p&&__p();c("PageContentTabLoadingDialog").show();var p=c("VideoCopyrightRuleLoggingAction").MATCH_RULE_CREATED,q={};n.map(function(s){var t;if((t=s)!=null?(t=t.rule_ids)!=null?(t=t[0])!=null?t.id:t:t:t){var u=s.rule_ids[0].id;q[u]=q[u]||[];q[u].push(s.id)}});var r=m.map(function(s){__p&&__p();if(s.id==l){c("ErrorDialog").show(h._("Error"),h._("You can not assign the same match rule."));c("PageContentTabLoadingDialog").hide();return c("Promise").reject()}return c("VideosCopyrightRuleActions").reassociateReferences(k,l,s.id,q[s.id]||[],o).then(function(t){s.is_in_migration=true;return},function(t){this._onError(p,t);return{error:t}}.bind(this))}.bind(this));c("Promise").all(r).done(function(s){__p&&__p();var t;if((t=s)!=null?(t=t[0])!=null?t.error:t:t){c("PageContentTabLoadingDialog").hide();return}if(l)c("VideosCopyrightRuleActions").getMatchRule(l,o).done(function(u){c("PageContentTabDispatcher").handlePostChanged(u,c("PageContentTabConstants").TABS.MATCH_RULES,k);c("PageContentTabDispatcher").handlePostsChanged(m,c("PageContentTabConstants").TABS.MATCH_RULES,k);this._logAction(p,l);c("PageContentTabLoadingDialog").hideWithSuccessMessage(h._("Your match rule is updating. This may take some time."),2*c("DateConsts").MS_PER_SEC);c("Arbiter").inform("rightsmanager/reassociationSucceeded"+k,{})}.bind(this),function(u){this._onError(p,u)}.bind(this));else{c("PageContentTabDispatcher").handlePostsChanged(m,c("PageContentTabConstants").TABS.MATCH_RULES,k);this._logAction(p,"");c("PageContentTabLoadingDialog").hide()}}.bind(this))},deleteMatchRule:function j(k,l,m){c("PageContentTabLoadingDialog").show();var n=c("VideoCopyrightRuleLoggingAction").MATCH_RULE_DELETED;c("VideosCopyrightRuleActions").deleteMatchRule(l,m).done(function(o){c("PageContentTabDispatcher").handlePostRemoved(k,l,c("PageContentTabConstants").TABS.MATCH_RULES);this._logAction(n,l);c("PageContentTabLoadingDialog").hide()}.bind(this),function(o){this._onError(n,o,l)}.bind(this))},_logAction:function j(k,l){c("PageContentTabLogger").log(c("PageContentTabLoggingEvents").ACTION_TAKEN_MAIN_VIEW,c("PageContentTabConstants").TABS.MATCH_RULES,{action:k,post_id:l,num_posts:1,bulk_action:false})},_showErrorForAction:function j(k){var l=void 0;switch(k){case c("VideoCopyrightRuleLoggingAction").MATCH_RULE_CREATED:l=h._("There was a problem creating your match rule. Please try again later.");break;case c("VideoCopyrightRuleLoggingAction").MATCH_RULE_VIEWED:l=h._("There was a problem displaying your match rule. Please try again later.");break;case c("VideoCopyrightRuleLoggingAction").MATCH_RULE_DELETED:l=h._("There was a problem deleting your match rule. Please try again later.");break}c("ErrorDialog").show(h._("Something Happened"),l)},_onError:function j(k,l,m){this._showErrorForAction(k);c("PageContentTabLogger").log(c("PageContentTabLoggingEvents").API_ERROR,c("PageContentTabConstants").TABS.MATCH_RULES,{error:JSON.stringify(l),action:k,post_id:m})}};f.exports=i}),null);
__d("FlexboxStyles",[],(function a(b,c,d,e,f,g){"use strict";var h={alignItems:true,flexDirection:true,justifyContent:true};f.exports=h}),null);
__d("LayoutStyles",["FlexboxStyles"],(function a(b,c,d,e,f,g){"use strict";var h=babelHelpers["extends"]({},c("FlexboxStyles"),{borderBottomWidth:true,borderLeftWidth:true,borderRightWidth:true,borderTopWidth:true,borderWidth:true,bottom:true,height:true,left:true,margin:true,marginBottom:true,marginLeft:true,marginRight:true,marginTop:true,maxHeight:true,maxWidth:true,minHeight:true,minWidth:true,opacity:true,overflow:true,padding:true,paddingBottom:true,paddingLeft:true,paddingRight:true,paddingTop:true,position:true,top:true,width:true});f.exports=h}),null);
__d("ViewStyles",["LayoutStyles"],(function a(b,c,d,e,f,g){"use strict";var h=babelHelpers["extends"]({},c("LayoutStyles"),{backgroundColor:true,borderBottomColor:true,borderBottomLeftRadius:true,borderBottomRightRadius:true,borderBottomWidth:true,borderColor:true,borderLeftColor:true,borderLeftWidth:true,borderRadius:true,borderRightColor:true,borderRightWidth:true,borderStyle:true,borderTopColor:true,borderTopLeftRadius:true,borderTopRightRadius:true,borderTopWidth:true,borderWidth:true,flex:true,opacity:true,overflow:true});f.exports=h}),null);
__d("TextStyles",["ViewStyles"],(function a(b,c,d,e,f,g){"use strict";var h=babelHelpers["extends"]({},c("ViewStyles"),{color:true,fontFamily:true,fontSize:true,fontStyle:true,fontWeight:true,letterSpacing:true,lineHeight:true,textAlign:true,textDecorationLine:true,whiteSpace:true});f.exports=h}),null);
__d("flattenStyle",["mapObject"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();function h(j){__p&&__p();if(!j)return null;if(!Array.isArray(j))return c("mapObject").untyped(j,function(p,o){return i(p,o)});var k={};for(var l=0,m=j.length;l<m;++l){var n=h(j[l]);if(n)for(var o in n)k[o]=n[o]}return k}function i(j,k){if(k==="lineHeight"&&typeof j==="number")return j+"px";return j}f.exports=h}),null);
__d("getValidatedStyle",["filterObject","flattenStyle"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h={textDecorationLine:"textDecoration"};function i(k,l){if(!k)return null;var m=c("flattenStyle")(k);return j(c("filterObject")(m,function(n,o){return!!l[o]}),h)}function j(k,l){var m=babelHelpers["extends"]({},k);Object.keys(l).forEach(function(n){if(Object.prototype.hasOwnProperty.call(m,n)){var o=l[n];m[o]=m[n];delete m[n]}});return m}f.exports=i}),null);
__d("Text",["cx","React","TextStyles","getValidatedStyle"],(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;l.prototype.getChildContext=function(){return{inline:true}};l.prototype.render=function(){var m=this.props,n=m.children,o=m.style,p=m.onPress,q=c("getValidatedStyle")(o,c("TextStyles")),r=typeof n==="string",s=this.context.inline,t="_b5a"+(!r&&!s?" _b5b":"")+(!!s?" _b5c":""),u=void 0;if(r)u=n;else u=c("React").Children.map(n,function(v){return typeof v==="string"?c("React").createElement(l,null,v):v});return c("React").createElement("div",{className:t,onClick:p,role:"presentation",style:q},u)};function l(){i.apply(this,arguments)}l.childContextTypes={inline:k.bool};l.contextTypes={inline:k.bool};f.exports=l}),null);
__d("SUIFocusUtil",["Focus","VirtualCursorStatus"],(function a(b,c,d,e,f,g){"use strict";var h={setFocus:function i(j){c("Focus").set(j)}};f.exports=h}),null);
__d("SUIPlaceholderStyle",["Set"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h=[{name:"::-webkit-input-placeholder",isImportant:false},{name:"::-moz-placeholder",isImportant:false},{name:":-ms-input-placeholder",isImportant:true},{name:"::input-placeholder",isImportant:false}],i=void 0,j=new(c("Set"))();function k(m,n,o){if(!i){i=document.createElement("style");document.head.appendChild(i)}var p=o?" !important":"";for(var q=arguments.length,r=Array(q>3?q-3:0),s=3;s<q;s++)r[s-3]=arguments[s];var t="."+m+r.join("")+" {\n    color: "+n+p+";\n  }",u=i.sheet;u.insertRule(t,u.cssRules.length)}function l(m,n,o,p){var q=n+"_"+m.id;if(j.has(q))return;j.add(q);h.forEach(function(r){try{k(q,o,r.isImportant,r.name);k(q,p,r.isImportant,":focus",r.name)}catch(s){}})}f.exports={ensureInjectForTheme:l}}),null);
__d("LayerFitHeightToScreen",["DOMVector","Event","Style","Vector","debounce"],(function a(b,c,d,e,f,g){__p&&__p();var h=12;function i(j){"use strict";this.$LayerFitHeightToScreen1=j;this.$LayerFitHeightToScreen2=null;this.$LayerFitHeightToScreen3=null}i.prototype.enable=function(){"use strict";this.$LayerFitHeightToScreen2=c("Event").listen(window,"resize",c("debounce")(this.$LayerFitHeightToScreen4.bind(this)));this.$LayerFitHeightToScreen3=this.$LayerFitHeightToScreen1.subscribe("show",this.$LayerFitHeightToScreen4.bind(this))};i.prototype.disable=function(){"use strict";if(this.$LayerFitHeightToScreen2){this.$LayerFitHeightToScreen2.remove();this.$LayerFitHeightToScreen2=null}if(this.$LayerFitHeightToScreen3){this.$LayerFitHeightToScreen3.unsubscribe();this.$LayerFitHeightToScreen3=null}};i.prototype.$LayerFitHeightToScreen4=function(){"use strict";__p&&__p();var j=this.$LayerFitHeightToScreen1.getContent();for(var k=0;k<2;k++)if(j)j=j.children[0];if(!j)return;var l=c("Vector").getElementPosition(j).y,m=c("Vector").getViewportDimensions().y,n=c("DOMVector").getScrollPosition().y,o=m-(l-n)-h;c("Style").apply(j,{maxHeight:o+"px",overflowX:"hidden",overflowY:"auto"});this.$LayerFitHeightToScreen1.inform("resize",{height:o})};f.exports=i}),null);
__d("SUIErrorComponentUtil",["cx","PositionEnum","React","Tooltip","joinClasses"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i=c("React").PropTypes,j={propTypes:{errorMessage:i.node,warningMessage:i.node,errorTooltipPosition:c("PositionEnum").propType},defaultProps:{errorTooltipPosition:"above"},getErrorLevel:function k(l){if(l.errorMessage)return"error";if(l.warningMessage)return"warning";return"none"},hasError:function k(l){return j.getErrorLevel(l)!=="none"},getErrorTooltipProps:function k(l){if(!j.hasError(l))return{};return babelHelpers["extends"]({},c("Tooltip").propsFor(l.errorMessage||l.warningMessage,l.errorTooltipPosition),{"data-tooltip-alignh":"right"})},getErrorBorderColor:function k(l,m){var n=j.getErrorLevel(l);if(n==="none")return null;var o=m.SUIError;return n==="error"?o.error.borderColor:o.warning.borderColor},getErrorIcon:function k(l,m,n){var o=j.getErrorLevel(l);if(o==="none")return null;var p=m.SUIError,q=o==="error"?p.error.icon:p.warning.icon;return c("React").cloneElement(q,{className:c("joinClasses")("_1vvf",n)})}};f.exports=j}),null);
__d("SUIPropTypes",[],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h={dropdownWidth:function i(j,k,l){var i=j.dropdownWidth;if(i!=="auto"&&i!=="sameAsSelector"&&typeof i!=="number")return new Error("Invalid prop `dropdownWidth` of type `"+typeof i+"` supplied to `"+l+'`, expected "auto", "sameAsSelector", or any number.');return undefined},width:function i(j,k,l){var i=j.width;if(i!=="auto"&&i!=="100%"&&typeof i!=="number")return new Error("Invalid prop `width` of type `"+typeof i+"` supplied to `"+l+'`, expected "auto", "100%", or any number.');return undefined}};f.exports=h}),null);
__d("SUISelectorButton.react",["cx","Locale","React","SUIButton.react","SUIComponent","SUIErrorComponentUtil","SUITheme","joinClasses","uniqueID"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i,j,k=c("React").PropTypes,l=babelHelpers["extends"]({},c("SUIButton.react").defaultProps,c("SUIErrorComponentUtil").defaultProps,{hasHoverState:false,isMenuShown:false,suppressed:false,textAlign:"left"});i=babelHelpers.inherits(m,c("SUIComponent"));j=i&&i.prototype;function m(){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.$SUISelectorButton1=c("uniqueID")(),o}m.prototype.$SUISelectorButton2=function(n){var o=n.margins;if(!o)return{};var p=o.label;if(!p)return{};else if(c("Locale").isRTL())return{marginLeft:p.right,marginRight:p.left};else return{marginLeft:p.left,marginRight:p.right}};m.prototype.$SUISelectorButton3=function(){var n=c("SUITheme").get(this).SUISelectorButton,o=this.props.uniformOverride;return o?babelHelpers["extends"]({},n,o):n};m.prototype.render=function(){__p&&__p();var n=c("SUITheme").get(this),o=c("SUIErrorComponentUtil").hasError(this.props),p=this.props,q=p.id,r=p.isMenuShown,s=p.labelledBy,t=p.style,u=p.styleWhenMenuShown,v=p.suppressLabelOverflowTooltip,w=p.suppressed,x=p.theme,y=p.uniformOverrideButton,z=p.uniformOverride,A=babelHelpers.objectWithoutProperties(p,["id","isMenuShown","labelledBy","style","styleWhenMenuShown","suppressLabelOverflowTooltip","suppressed","theme","uniformOverrideButton","uniformOverride"]);void x;if(y)A.uniformOverride=y;if(w&&!r)A.suppressed=w;var B=this.$SUISelectorButton3(),C=void 0,D=babelHelpers["extends"]({paddingLeft:B.paddingLeft?B.paddingLeft:B.padding,paddingRight:B.paddingRight?B.paddingRight:B.padding},this.props.disabled?B.disabled:{},t);if(r&&u)D=babelHelpers["extends"]({},D,u);if(o){var E;C=c("SUIErrorComponentUtil").getErrorIcon(this.props,n,"_483q");var F=c("Locale").isRTL()?"paddingLeft":"paddingRight";D=babelHelpers["extends"]({},D,(E={borderColor:c("SUIErrorComponentUtil").getErrorBorderColor(this.props,n)},E[F]=0,E))}var G=c("React").cloneElement(B.chevron,{"aria-hidden":true,className:"_483r",disabled:this.props.disabled}),H=this.$SUISelectorButton2(B),I=this.props.tooltip||v?null:{"data-hover":"tooltip","data-tooltip-display":"overflow"},J=c("React").createElement("div",{className:"_1e"},this.props.labelIsHidden?c("React").createElement("span",{className:"accessible_elem"},this.props.label):c("React").createElement("div",babelHelpers["extends"]({},I,{className:"_1f",style:H}),this.props.label),G,C),K=s&&!q?this.$SUISelectorButton1:q,L=s&&K?s+" "+K:undefined;return c("React").createElement(c("SUIButton.react"),babelHelpers["extends"]({},A,c("SUIErrorComponentUtil").getErrorTooltipProps(this.props),{"aria-haspopup":true,"aria-labelledby":L,className_DEPRECATED:c("joinClasses")(this.props.className_DEPRECATED,"_483s"+(!!o?" _483t":"")+(this.props.disabled?" _56jv":"")),id:K,isLabelFullWidth:true,label:J,labelIsHidden:false,style:D,suppressLabelOverflowTooltip:true}))};m.propTypes=babelHelpers["extends"]({},c("SUIButton.react").propTypes,c("SUIErrorComponentUtil").propTypes,{isMenuShown:k.bool.isRequired,styleWhenMenuShown:k.object,theme:k.instanceOf(c("SUITheme"))});m.defaultProps=l;f.exports=m}),null);
__d("SUIAbstractMenu.react",["cx","AccessibleLayer","AlignmentEnum","ContextualLayer.react","ContextualLayerAutoFlip","ContextualLayerUpdateOnScroll","DOMEventListener","LayerFitHeightToScreen","LayerHideOnBlur","LayerHideOnEscape","LayerTabIsolation","React","ReactDOM","RTLKeys","ScrollableArea.react","Style","SUIComponent","SUIErrorComponentUtil","SUIFocusUtil","SUIPropTypes","SUISelectorButton.react","SUITheme","WheelEventContain.react","getActiveElement","uniqueID"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i,j,k=c("React").PropTypes,l=400,m={AccessibleLayer:c("AccessibleLayer"),LayerFitHeightToScreen:c("LayerFitHeightToScreen"),LayerHideOnEscape:c("LayerHideOnEscape"),LayerTabIsolation:c("LayerTabIsolation"),ContextualLayerAutoFlip:c("ContextualLayerAutoFlip"),ContextualLayerUpdateOnScroll:c("ContextualLayerUpdateOnScroll")},n=babelHelpers["extends"]({},c("SUIErrorComponentUtil").defaultProps,{buttonTextAlign:"left",contextualLayerBehaviors:{},disabled:false,display:"block",dropdownWidth:"auto",maxHeight:250,menuHorizontalAlignment:"left",menuVerticalAlignment:"below",shouldHideOnMouseLeave:false,shouldHideOnBlur:true,suppressed:false,width:"auto"});i=babelHelpers.inherits(o,c("SUIComponent"));j=i&&i.prototype;function o(p){__p&&__p();j.constructor.call(this,p);this.$SUIAbstractMenu6=c("uniqueID")();this.hideMenu=function(){var q,r=this;if(this.state.isMenuShown)(function(){var s=r.$SUIAbstractMenu10();r.setState({isMenuShown:false},function(){if(s)this.focusInput();if(this.props.onClose)this.props.onClose()}.bind(r))})()}.bind(this);this.$SUIAbstractMenu11=function(event){switch(event.keyCode){case c("RTLKeys").SPACE:case c("RTLKeys").RETURN:event.preventDefault();this.showMenu();break}}.bind(this);this.$SUIAbstractMenu12=function(q){switch(q.keyCode){case c("RTLKeys").TAB:this.hideMenu();break}}.bind(this);this.$SUIAbstractMenu13=function(q){if(q)this.showMenu();else this.hideMenu()}.bind(this);this.$SUIAbstractMenu14=function(){if(this.$SUIAbstractMenu8)clearTimeout(this.$SUIAbstractMenu8);if(this.props.onMouseEntersMenu)this.props.onMouseEntersMenu()}.bind(this);this.$SUIAbstractMenu15=function(){if(this.props.shouldHideOnMouseLeave)this.$SUIAbstractMenu8=setTimeout(this.hideMenu,l);if(this.props.onMouseLeavesMenu)this.props.onMouseLeavesMenu()}.bind(this);this.$SUIAbstractMenu16=function(event){if(!this.state.isMenuShown)this.showMenu();else this.hideMenu();if(this.props.onButtonClick)this.props.onButtonClick(event)}.bind(this);this.$SUIAbstractMenu17=function(q){this.$SUIAbstractMenu1=q}.bind(this);this.$SUIAbstractMenu18=function(q){this.$SUIAbstractMenu2=q?c("ReactDOM").findDOMNode(q):null}.bind(this);this.$SUIAbstractMenu19=function(q){this.$SUIAbstractMenu3=q?c("ReactDOM").findDOMNode(q):null}.bind(this);this.$SUIAbstractMenu20=function(q){this.$SUIAbstractMenu5=q}.bind(this);this.$SUIAbstractMenu21=function(q){this.$SUIAbstractMenu4=q}.bind(this);this.$SUIAbstractMenu22=function(){return this.$SUIAbstractMenu2}.bind(this);this.$SUIAbstractMenu23=function(q){this.setState({maxHeight:Math.min(this.props.maxHeight,q.height-2)})}.bind(this);this.state=this.$SUIAbstractMenu9(p)}o.prototype.$SUIAbstractMenu9=function(p){return{isMenuShown:!!p.shouldOpenAutomatically,maxHeight:p.maxHeight}};o.prototype.componentWillReceiveProps=function(p){var q=this.props,r=q.shouldOpenAutomatically,s=q.maxHeight;if(r!==p.shouldOpenAutomatically||s!==p.maxHeight)this.setState(this.$SUIAbstractMenu9(p))};o.prototype.componentDidMount=function(){this.$SUIAbstractMenu7=true};o.prototype.componentWillUnmount=function(){this.$SUIAbstractMenu7=false};o.prototype.componentDidUpdate=function(){var p=this.$SUIAbstractMenu1,q=this.$SUIAbstractMenu3;if(this.state.isMenuShown&&p&&q){var r=c("Style").get(p,"width"),s=this.props.dropdownWidth;q.style.minWidth=r;q.style.width=s==="sameAsSelector"?r:typeof s==="number"?s+"px":s;if(this.$SUIAbstractMenu5&&this.$SUIAbstractMenu5.layer)this.$SUIAbstractMenu5.layer.updatePosition()}};o.prototype.focusInput=function(){if(this.$SUIAbstractMenu2)c("SUIFocusUtil").setFocus(this.$SUIAbstractMenu2)};o.prototype.showMenu=function(){if(!this.props.disabled&&!this.state.isMenuShown)this.setState({isMenuShown:true},function(){if(this.props.maxHeight&&this.$SUIAbstractMenu4){var p=this.$SUIAbstractMenu4.getArea();p&&p.resize&&p.resize()}if(this.props.onOpen)this.props.onOpen()}.bind(this))};o.prototype.$SUIAbstractMenu10=function(){var p=c("getActiveElement")(),q=this.$SUIAbstractMenu1&&c("ReactDOM").findDOMNode(this.$SUIAbstractMenu1);if(q&&q.contains(p))return true;var r=this.$SUIAbstractMenu5&&c("ReactDOM").findDOMNode(this.$SUIAbstractMenu5);if(r&&r.contains(p))return true;return false};o.prototype.render=function(){var p=this.props.labelledBy&&!this.props.id?this.$SUIAbstractMenu6:this.props.id,q=this.props.labelledBy&&p?this.props.labelledBy+" "+p:undefined,r=babelHelpers["extends"]({"aria-labelledby":q,"aria-controls":this.props.menuID,"data-testid":"SUIAbstractMenu/button",disabled:this.props.disabled,errorMessage:this.props.errorMessage,errorTooltipPosition:this.props.errorTooltipPosition,id:p,label:this.props.label,margin:this.props.margin,maxWidth:this.props.maxWidth,name:this.props.name,suppressed:this.props.suppressed,theme:this.props.theme,tooltip:this.props.tooltip,warningMessage:this.props.warningMessage,width:this.props.width},this.props.button&&this.props.button.props,{isDepressed:this.state.isMenuShown,isMenuShown:this.state.isMenuShown,onClick:this.$SUIAbstractMenu16,onKeyDown:this.$SUIAbstractMenu11,ref:this.$SUIAbstractMenu18}),s=this.props.button?c("React").cloneElement(this.props.button,r):c("React").createElement(c("SUISelectorButton.react"),babelHelpers["extends"]({},r,{borderedSides:this.props.buttonBorderedSides,"data-testid":"SUIAbstractMenu/button",roundedCorners:this.props.buttonRoundedCorners,textAlign:this.props.buttonTextAlign})),t=babelHelpers["extends"]({},this.props.style,{display:this.props.display,width:this.props.width});return c("React").createElement("div",{className:this.props.className_DEPRECATED,"data-testid":this.props["data-testid"],ref:this.$SUIAbstractMenu17,style:t},s,this.state.isMenuShown?c("React").createElement(c("ContextualLayer.react"),{alignment:this.props.menuHorizontalAlignment,behaviors:babelHelpers["extends"]({},m,this.props.shouldHideOnBlur?{LayerHideOnBlur:c("LayerHideOnBlur")}:{},this.props.contextualLayerBehaviors),contextRef:this.$SUIAbstractMenu22,onResize:this.$SUIAbstractMenu23,onToggle:this.$SUIAbstractMenu13,position:this.props.menuVerticalAlignment,ref:this.$SUIAbstractMenu20,shouldSetARIAProperties:false,shown:true},c("React").createElement(c("WheelEventContain.react"),{className:"_z4i","data-testid":this.props["data-menu-testid"],onKeyDown:this.$SUIAbstractMenu12,onMouseEnter:this.$SUIAbstractMenu14,onMouseLeave:this.$SUIAbstractMenu15,ref:this.$SUIAbstractMenu19,style:this.props.menuContainerStyle},c("React").createElement(c("ScrollableArea.react"),{fade:true,maxHeight:this.state.maxHeight,ref:this.$SUIAbstractMenu21},this.props.menu))):null)};o.propTypes=babelHelpers["extends"]({},c("SUIErrorComponentUtil").propTypes,{button:k.element,buttonBorderedSides:k.arrayOf(k.oneOf(["top","right","bottom","left"])),buttonRoundedCorners:k.arrayOf(k.oneOf(["topLeft","topRight","bottomRight","bottomLeft"])),buttonTextAlign:c("AlignmentEnum").propType.isRequired,contextualLayerBehaviors:k.object.isRequired,disabled:k.bool.isRequired,dropdownWidth:c("SUIPropTypes").dropdownWidth,margin:k.string,maxHeight:k.number.isRequired,menuHorizontalAlignment:k.oneOf(["left","right"]).isRequired,menuVerticalAlignment:k.oneOf(["above","below"]).isRequired,shouldHideOnMouseLeave:k.bool.isRequired,style:k.object,suppressed:k.bool.isRequired,theme:k.instanceOf(c("SUITheme")),width:c("SUIPropTypes").width});o.defaultProps=n;f.exports=o}),null);
__d("SUIThreeStateCheckboxInput.react",["cx","React","RTLKeys","SUIComponent","SUIErrorComponentUtil","SUIInternalMouseUpListener","SUITheme","Tooltip","getActiveElement","joinClasses","keyMirror","uniqueID","KeyStatus","VirtualCursorStatus"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i,j,k=c("React").PropTypes,l=c("KeyStatus").isKeyDown,m=c("VirtualCursorStatus").isVirtualCursorTriggered,n=c("keyMirror")({CHECKED:null,PARTIAL:null,UNCHECKED:null});i=babelHelpers.inherits(o,c("SUIComponent"));j=i&&i.prototype;function o(){__p&&__p();j.constructor.call(this);this.$SUIThreeStateCheckboxInput3=function(event){var p=c("getActiveElement")();if(p&&p.nodeName==="A")return;var q=this.props.value===n.CHECKED?n.UNCHECKED:n.CHECKED;event.preventDefault();if(!this.props.disabled)this.props.onChange(q,event)}.bind(this);this.$SUIThreeStateCheckboxInput4=function(){this.setState({isActive:false,showFocusRing:false})}.bind(this);this.$SUIThreeStateCheckboxInput5=function(){if(l()||m())this.setState({showFocusRing:true})}.bind(this);this.$SUIThreeStateCheckboxInput6=function(event){if(!this.props.disabled)switch(event.keyCode){case c("RTLKeys").RETURN:case c("RTLKeys").SPACE:this.setState({isActive:true,showFocusRing:true});break}}.bind(this);this.$SUIThreeStateCheckboxInput7=function(event){switch(event.keyCode){case c("RTLKeys").RETURN:case c("RTLKeys").SPACE:this.setState({isActive:false,showFocusRing:true});break}}.bind(this);this.$SUIThreeStateCheckboxInput8=function(){if(!this.props.disabled){c("SUIInternalMouseUpListener").set(this.$SUIThreeStateCheckboxInput2);this.setState({isActive:true,showFocusRing:false})}}.bind(this);this.$SUIThreeStateCheckboxInput2=function(){this.setState({isActive:false,showFocusRing:false})}.bind(this);this.$SUIThreeStateCheckboxInput1=c("uniqueID")();this.state={isActive:false,showFocusRing:false}}o.prototype.componentWillUnmount=function(){c("SUIInternalMouseUpListener").unset(this.$SUIThreeStateCheckboxInput2)};o.prototype.render=function(){var p=c("SUITheme").get(this),q=p.SUIThreeStateCheckboxInput,r=this.props.value===n.PARTIAL?q.partiallyCheckedIcon:q.checkedIcon,s=this.props.value!==n.UNCHECKED,t={borderColor:this.state.isActive&&q.activeCheckboxBorderColor||s&&q.checkedBorderColor||q.checkboxBorderColor,backgroundColor:this.state.isActive&&q.activeCheckboxBackgroundColor||s&&q.checkedBackgroundColor||q.checkboxBackgroundColor},u=this.props.disabled?q.disabledLabelColor:q.labelColor,v=c("React").createElement("button",{"aria-checked":this.props.value===n.PARTIAL?"mixed":this.props.value===n.CHECKED?"true":"false","aria-disabled":this.props.disabled,"aria-labelledby":this.props.label?this.$SUIThreeStateCheckboxInput1:undefined,className:"_1gco"+(!!this.props.label?" _1gcp":"")+(!this.state.showFocusRing?" _5e9w":""),"data-testid":this.props["data-testid"],onBlur:this.$SUIThreeStateCheckboxInput4,onFocus:this.$SUIThreeStateCheckboxInput5,onKeyDown:this.$SUIThreeStateCheckboxInput6,onKeyUp:this.$SUIThreeStateCheckboxInput7,role:"checkbox",style:t},c("React").cloneElement(r,{"aria-hidden":true,className:"_3w08"+(this.props.value===n.UNCHECKED?" accessible_elem":""),disabled:this.props.disabled,style:babelHelpers["extends"]({},r.props.style)})),w=this.props.display==="block",x=c("joinClasses")("_1gcq"+(this.props.disabled?" _5_yg":"")+(w?" _29cz":"")+(!w?" _29c-":""),this.props.margin),y=c("SUIErrorComponentUtil").getErrorIcon(this.props,p,"_3w09");if(!this.props.label&&!y)return c("React").cloneElement(v,babelHelpers["extends"]({className:c("joinClasses")(this.props.className,x,v.props.className),onClick:this.$SUIThreeStateCheckboxInput3,onMouseDown:this.$SUIThreeStateCheckboxInput8},c("Tooltip").propsFor(this.props.tooltip)));return c("React").createElement("label",babelHelpers["extends"]({className:c("joinClasses")(this.props.className,x,y&&"_3w0a"),onClick:this.$SUIThreeStateCheckboxInput3,onMouseDown:this.$SUIThreeStateCheckboxInput8,style:babelHelpers["extends"]({},q.typeStyle,{color:u,fontWeight:"normal"},this.props.style)},c("Tooltip").propsFor(this.props.tooltip),{"data-tooltip-alignh":"center"},c("SUIErrorComponentUtil").getErrorTooltipProps(this.props)),v,this.props.label?c("React").createElement("span",{className:"_1gcr",id:this.$SUIThreeStateCheckboxInput1},this.props.label):null,y)};o.propTypes=babelHelpers["extends"]({},c("SUIErrorComponentUtil").propTypes,{disabled:k.bool.isRequired,label:k.node,display:k.oneOf(["inline","block"]).isRequired,margin:k.string,onChange:k.func.isRequired,theme:k.instanceOf(c("SUITheme")),tooltip:k.node,value:k.string});o.defaultProps=babelHelpers["extends"]({},c("SUIErrorComponentUtil").defaultProps,{disabled:false,display:"inline",value:n.UNCHECKED});o.CHECKBOX_STATES=n;f.exports=o}),null);
__d("SUICheckboxInput.react",["React","SUIComponent","SUIThreeStateCheckboxInput.react"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h,i,j=c("React").Element,k=c("React").PropTypes,l=c("SUIThreeStateCheckboxInput.react").CHECKBOX_STATES,m=c("SUIThreeStateCheckboxInput.react").defaultProps,n=m.value,o=babelHelpers.objectWithoutProperties(m,["value"]),p=babelHelpers["extends"]({},o,{value:false});h=babelHelpers.inherits(q,c("SUIComponent"));i=h&&h.prototype;function q(){var r,s;for(var t=arguments.length,u=Array(t),v=0;v<t;v++)u[v]=arguments[v];return s=(r=i.constructor).call.apply(r,[this].concat(u)),this.$SUICheckboxInput1=function(w,event){this.props.onChange(w===l.CHECKED,event)}.bind(this),s}q.prototype.render=function(){var r=this.props,n=r.onChange,s=r.value,t=babelHelpers.objectWithoutProperties(r,["onChange","value"]);return c("React").createElement(c("SUIThreeStateCheckboxInput.react"),babelHelpers["extends"]({},t,{onChange:this.$SUICheckboxInput1,value:s?l.CHECKED:l.UNCHECKED}))};q.propTypes=babelHelpers["extends"]({},c("SUIThreeStateCheckboxInput.react").propTypes,{value:k.bool});q.defaultProps=p;f.exports=q}),null);
__d("SUITooltip.react",["cx","AlignmentEnum","ContextualLayer.react","ContextualLayerAutoFlip","ContextualLayerHideOnScroll","LayerFadeOnShow","PositionEnum","React","SUIComponent","SUILink.react","SUITheme","getElementRect","joinClasses","uniqueID"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i,j,k,l,m,n,o=c("React").Element,p=c("React").PropTypes,q=4,r={LayerFadeOnShow:c("LayerFadeOnShow"),ContextualLayerAutoFlip:c("ContextualLayerAutoFlip"),ContextualLayerHideOnScroll:c("ContextualLayerHideOnScroll")},s=100,t=["block","inline"],u=["normal","break-word"],v=null;i=babelHelpers.inherits(w,c("SUIComponent"));j=i&&i.prototype;w.prototype.render=function(){var A=this.props,B=A.label,C=A.value,D=babelHelpers.objectWithoutProperties(A,["label","value"]);return c("React").createElement("li",D,B&&c("React").createElement("strong",null,B)," ",C)};function w(){i.apply(this,arguments)}w.propTypes={value:p.node.isRequired,label:p.string};k=babelHelpers.inherits(x,c("SUIComponent"));l=k&&k.prototype;x.prototype.render=function(){return c("React").createElement("div",{className:c("joinClasses")(this.props.className,"_2pif")},this.props.description," ",c("React").createElement(c("SUILink.react"),{onClick:this.props.onClick},this.props.label))};function x(){k.apply(this,arguments)}x.propTypes={label:p.node.isRequired,onClick:p.func.isRequired,description:p.node,theme:p.instanceOf(c("SUITheme"))};var y={alignment:"left",display:"inline",offset:4,position:"above",tooltipDelay:0,tooltipWidth:"auto"};m=babelHelpers.inherits(z,c("SUIComponent"));n=m&&m.prototype;function z(){__p&&__p();var A,B;for(var C=arguments.length,D=Array(C),E=0;E<C;E++)D[E]=arguments[E];return B=(A=n.constructor).call.apply(A,[this].concat(D)),this.state={isTextHover:false,isTooltipHover:false,isTooltipVisible:false},this.$SUITooltip4=c("uniqueID")(),this.$SUITooltip6=function(){if(this.props.tooltipDelay)this.$SUITooltip5=setTimeout(this.$SUITooltip7,this.props.tooltipDelay);else this.$SUITooltip7()}.bind(this),this.$SUITooltip8=function(){this.$SUITooltip2=setTimeout(this.$SUITooltip7,s)}.bind(this),this.$SUITooltip7=function(){if(this.state.isTextHover||this.state.isTooltipHover)this.show();else this.hide()}.bind(this),this.$SUITooltip9=function(){this.setState({isTextHover:false},this.$SUITooltip8)}.bind(this),this.$SUITooltip10=function(){this.setState({isTooltipHover:false},this.$SUITooltip8)}.bind(this),this.$SUITooltip11=function(){this.setState({isTextHover:true},this.$SUITooltip6)}.bind(this),this.$SUITooltip12=function(){this.setState({isTextHover:false},this.$SUITooltip8)}.bind(this),this.$SUITooltip13=function(){this.setState({isTooltipHover:true})}.bind(this),this.$SUITooltip14=function(){this.setState({isTooltipHover:false},this.$SUITooltip8)}.bind(this),this.$SUITooltip15=function(F){this.$SUITooltip1=F}.bind(this),this.$SUITooltip16=function(){return this.$SUITooltip1}.bind(this),B}z.prototype.componentDidMount=function(){this.$SUITooltip3=true};z.prototype.componentWillUnmount=function(){this.$SUITooltip3=false;if(this.$SUITooltip5)clearTimeout(this.$SUITooltip5);if(this.$SUITooltip2)clearTimeout(this.$SUITooltip2);if(v===this)v=null};z.prototype.show=function(){if(this.state.isTooltipVisible)return;if(v&&v!==this)v.hide();v=this;if(this.$SUITooltip3)this.setState({isTooltipVisible:true})};z.prototype.hide=function(){if(!this.state.isTooltipVisible)return;v=null;if(this.$SUITooltip3)this.setState({isTooltipVisible:false})};z.prototype.$SUITooltip17=function(){__p&&__p();var A=!!this.props.tooltip&&this.state.isTooltipVisible;if(!A)return null;var B=this.props.position==="above",C=this.props.position==="below",D=this.props.position==="left",E=this.props.position==="right",F=B||C,G=c("SUITheme").get(this).SUITooltip,H=0;if(C)H=this.props.offset;else if(B)H=-1*this.props.offset;var I=0;if(E)I=this.props.offset+q;else if(D)I=-1*(this.props.offset+q);var J=babelHelpers["extends"]({},G.typeStyle,{backgroundColor:G.backgroundColor,color:G.color,width:this.props.tooltipWidth!=="auto"?this.props.tooltipWidth:null,maxWidth:this.props.maxWidth,overflowWrap:this.props.overflowWrap}),K=0,L=this.$SUITooltip1;if(!F&&L){var M=c("getElementRect")(L),N=M.bottom-M.top;K=N/2}return c("React").createElement(c("ContextualLayer.react"),{alignment:this.props.alignment,behaviors:this.props.behaviors?babelHelpers["extends"]({},r,this.props.behaviors):r,contextRef:this.$SUITooltip16,offsetX:I,offsetY:H,position:this.props.position,shown:true},c("React").createElement("div",{className:"_4_gw",id:this.$SUITooltip4,onBlur:this.$SUITooltip10,onMouseEnter:this.$SUITooltip13,onMouseLeave:this.$SUITooltip14,style:{top:K+"px"}},c("React").createElement("ul",{className:"_3b5i",style:J},this.props.tooltip),c("React").createElement("div",{"aria-hidden":true,className:"_3b61",style:{borderTopColor:G.backgroundColor}})))};z.prototype.render=function(){var A=this.props.verticalAlign?babelHelpers["extends"]({},this.props.style,{verticalAlign:this.props.verticalAlign}):this.props.style,B=this.props.display==="block"?"div":"span";return c("React").createElement(B,{"aria-describedby":this.state.isTextHover?this.$SUITooltip4:undefined,className:c("joinClasses")(this.props.className,this.props.margin,"_3b62"),onBlur:this.$SUITooltip9,onMouseEnter:this.$SUITooltip11,onMouseLeave:this.$SUITooltip12,ref:this.$SUITooltip15,style:A},this.props.children,this.$SUITooltip17())};z.Row=w;z.ActionDEPRECATED=x;z.propTypes={alignment:c("AlignmentEnum").propType.isRequired,behaviors:p.object,className:p.string,display:p.oneOf(t).isRequired,margin:p.string,maxWidth:p.number,offset:p.number.isRequired,overflowWrap:p.oneOf(u),position:c("PositionEnum").propType.isRequired,theme:p.instanceOf(c("SUITheme")),tooltip:p.node,tooltipDelay:p.number,tooltipWidth:p.oneOfType([p.oneOf(["auto"]),p.number])};z.defaultProps=y;f.exports=z}),null);
__d("SUIHelpMessage.react",["cx","PositionEnum","React","SUIComponent","SUITheme","SUITooltip.react","joinClasses"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i,j,k=c("React").Element,l=c("React").PropTypes,m={position:"above"};i=babelHelpers.inherits(n,c("SUIComponent"));j=i&&i.prototype;n.prototype.render=function(){var o=c("SUITheme").get(this).SUIHelpMessage;return c("React").createElement(c("SUITooltip.react"),{className:c("joinClasses")(this.props.className,this.props.margin,"_lx9"+(!this.props.margin?" _3-99":"")),position:this.props.position,style:this.props.style,tooltip:this.props.value},o.icon)};function n(){i.apply(this,arguments)}n.propTypes={className:l.string,margin:l.string,position:c("PositionEnum").propType,style:l.object,theme:l.instanceOf(c("SUITheme")),value:l.node.isRequired};n.defaultProps=m;f.exports=n}),null);
__d("TextSearchUtil",["TokenizeUtil"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h={isMatch:function i(j,k){if(!k)return false;return this._getNonMatchingTokens(j,k).length>1},getTokens:function i(j,k){__p&&__p();k=k.trim();var l=this._getNonMatchingTokens(j,k);j=j.replace(/\s+/g," ");k=k.replace(/\s+/g," ");var m=[];l.forEach(function(p,q){m.push(p);if(q!==l.length-1)m.push(k)});var n=[],o=0;m.forEach(function(p,q){if(!p)return;var r=q%2===1,s=p.length,t=j.substr(o,s);n.push({text:t,isHighlighted:r});o+=s});return n},_getNonMatchingTokens:function i(j,k){var l=c("TokenizeUtil").flatten(j),m=c("TokenizeUtil").flatten(k);return m?l.split(m):[l]}};f.exports=h}),null);
__d("SUIHighlightedText.react",["React","SUIComponent","SUITheme","TextSearchUtil"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h,i,j=c("React").PropTypes,k={highlight:""};h=babelHelpers.inherits(l,c("SUIComponent"));i=h&&h.prototype;l.prototype.render=function(){var m,n=this,o=this.props,p=o.highlight,q=o.text,r=babelHelpers.objectWithoutProperties(o,["highlight","text"]),s=q;if(p)(function(){var t=c("SUITheme").get(n).SUIHighlightedText,u={backgroundColor:t.backgroundColor};s=c("TextSearchUtil").getTokens(q.toString(),p.toString()).map(function(v,w){if(v.isHighlighted)return c("React").createElement("span",{key:w,style:u},v.text);return v.text})})();return c("React").createElement("span",r,s)};function l(){h.apply(this,arguments)}l.propTypes={highlight:j.string.isRequired,text:j.string.isRequired,theme:j.instanceOf(c("SUITheme"))};l.defaultProps=k;f.exports=l}),null);
__d("SUITokenizerItem.react",["cx","React","SearchableEntry","SUIComponent","SUIHelpMessage.react","SUIHighlightedText.react","SUITheme","Tooltip","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("SUIComponent"));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.$SUITokenizerItem1=function(event){if(this.props.onRemove)this.props.onRemove(this.props.entry,event)}.bind(this),this.$SUITokenizerItem2=function(event){if(this.props.isDisabled)return;this.props.onSelect(this.props.entry,event)}.bind(this),this.$SUITokenizerItem3=function(event){if(this.props.onHighlight)this.props.onHighlight(this.props.entry,event)}.bind(this),this.$SUITokenizerItem4=function(r){var s=this.props.onHeightMeasured,t=r;if(s&&t)setTimeout(function(){return s(t.clientHeight,this.props.entry)}.bind(this),0)}.bind(this),n}l.prototype.render=function(){__p&&__p();var m=c("SUITheme").get(this),n=this.props.entry,o=m.SUITokenizerItem,p=babelHelpers["extends"]({backgroundColor:undefined},o.normal),q=o.remove.normalIcon,r=o.selected.normalIcon;if(this.props.isDisabled){p=babelHelpers["extends"]({backgroundColor:undefined},o.disabled);q=o.remove.disabledIcon;r=o.selected.disabledIcon}else if(!this.props.isMultiSelectEnabled&&this.props.isSelected){p=o.selected;q=o.remove.selectedIcon;r=o.selected.selectedIcon}else if(this.props.isHighlighted){p=o.highlighted;q=o.remove.highlightedIcon;r=o.selected.highlightedIcon}var s=this.props.isMultiSelectEnabled||o.selected.isIconShownForSingleSelection,t=s&&this.props.isSelected,u=void 0;if(t)u=r;if(this.props.onRemove)u=c("React").cloneElement(q,{onMouseDown:this.$SUITokenizerItem1});var v=void 0,w=this.props.tooltip;if(w)v=c("React").createElement(c("SUIHelpMessage.react"),{className:"_3-94",value:w});return c("React").createElement("div",{className:c("joinClasses")("_1xog"+(this.props.isDisabled?" _5fdi":"")+(this.props.inCategorizedList?" _95l":""),this.props.className),"data-testid":"SUITokenizerItem/entry",onMouseDown:this.$SUITokenizerItem2,onMouseEnter:this.$SUITokenizerItem3,ref:this.$SUITokenizerItem4,style:{backgroundColor:p.backgroundColor,lineHeight:n.getSubtitle()?null:"24px"}},this.props.getLeftContentForEntry?this.props.getLeftContentForEntry(n,!!this.props.isSelected):undefined,c("React").createElement("div",{className:"_5xzw"},c("React").createElement(c("SUIHighlightedText.react"),babelHelpers["extends"]({},c("Tooltip").propsFor(n.getTitle()),{className:"_5xzx","data-tooltip-display":"overflow",highlight:this.props.queryString,style:{color:p.color},text:n.getTitle()})),n.getSubtitle()?c("React").createElement(c("SUIHighlightedText.react"),babelHelpers["extends"]({},c("Tooltip").propsFor(n.getSubtitle()),{className:"_5xzy","data-tooltip-display":"overflow",highlight:this.props.queryString,style:{color:p.subtitleColor},text:n.getSubtitle()})):null),this.props.getRightContentForEntry?this.props.getRightContentForEntry(n,!!this.props.isSelected,!!this.props.isHighlighted):undefined,v,u)};l.propTypes={entry:k.instanceOf(c("SearchableEntry")).isRequired,getLeftContentForEntry:k.func,getRightContentForEntry:k.func,inCategorizedList:k.bool,isDisabled:k.bool,isHighlighted:k.bool,isSelected:k.bool,isMultiSelectEnabled:k.bool,onHeightMeasured:k.func,onHighlight:k.func,onRemove:k.func,onSelect:k.func.isRequired,queryString:k.string,theme:k.instanceOf(c("SUITheme")),tooltip:k.any};f.exports=l}),null);
__d("SUITokenizerItemListScroller",["Map","Scroll"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h=new(c("Map"))();function i(k,l){__p&&__p();var m,n=c("Scroll").getTop(k),o=Math.max(0,l.offsetTop-k.offsetHeight/2);if(n!==o)(function(){k.style.pointerEvents="none";c("Scroll").setTop(k,o);var p=setTimeout(function(){if(h.get(k)===p){k.style.pointerEvents="all";h["delete"](k)}},100);h.set(k,p)})()}function j(k){var l=h.get(k);if(l)clearTimeout(l)}f.exports={scroll:i,unmount:j}}),null);
__d("SUITokenizerItemList.react",["cx","React","ReactDOM","SearchableEntry","SimpleList.react","SUIComponent","SUITheme","SUITokenizerItem.react","SUITokenizerItemListScroller","emptyFunction","groupArray","joinClasses"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i,j,k=c("React").PropTypes,l=240,m=function m(o){var p=o.isExpanded?o.uniform.expandedIcon:o.uniform.collapsedIcon,q=function q(){o.onClick(o.category)};return c("React").createElement("div",{className:"_5xr5"+(o.isCollapsible?" _63jd":""),onClick:q,role:"presentation",style:babelHelpers["extends"]({},o.uniform.categoryHeader.typeStyle,{borderBottomColor:o.uniform.categoryHeader.borderColor})},o.categoryHeader,o.isCollapsible&&p&&c("React").createElement("div",{className:"SUITokenizerItemList/icon"},p))};i=babelHelpers.inherits(n,c("SUIComponent"));j=i&&i.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=j.constructor).call.apply(o,[this].concat(r)),this.$SUITokenizerItemList1=false,this.state={simpleItemHeight:0,isExpandedByCategory:new Map()},this.$SUITokenizerItemList5=function(t){return this.$SUITokenizerItemList3(this.props.entries[t.rowIndex])}.bind(this),this.$SUITokenizerItemList6=function(){return this.props.entries.map(function(t){return this.$SUITokenizerItemList3(t)}.bind(this))}.bind(this),this.$SUITokenizerItemList7=function(){var t=this.props.isArrowNavigation?this.props.entries.findIndex(function(v){return v===this.props.highlightedEntry}.bind(this)):-1,u=this.$SUITokenizerItemList1?Math.min(this.state.simpleItemHeight*this.props.entries.length,l):1;return c("React").createElement(c("SimpleList.react"),{goToRowIndex:t>-1?t:null,height:u,hideScrollShadow:true,item:this.$SUITokenizerItemList5,rowCount:this.props.entries.length,rowHeight:this.state.simpleItemHeight,scrollbarOnHoverOnly:true})}.bind(this),this.$SUITokenizerItemList8=function(){__p&&__p();var t=c("SUITheme").get(this).SUITokenizerItemList,u=c("groupArray")(this.props.entries,function(x){return x.getType()}),v=Object.keys(u),w=[];if(this.props.categoriesCompare)v.sort(this.props.categoriesCompare);v.forEach(function(x,y){var z=u[x].map(function(B){return this.$SUITokenizerItemList3(B)}.bind(this)),A=x;if(this.props.categoryHeader)A=c("React").cloneElement(this.props.categoryHeader,{},x);w.push(c("React").createElement(m,{category:x,categoryHeader:A,isCollapsible:this.props.areCategoriesCollapsible,isExpanded:this.state.isExpandedByCategory.get(x),key:y,onClick:this.$SUITokenizerItemList9,uniform:t}));if(!this.props.areCategoriesCollapsible||this.props.queryString||this.state.isExpandedByCategory.get(x))w.push(c("React").createElement("div",{className:"_5xr6",key:x+"list"},z))}.bind(this));return w}.bind(this),this.$SUITokenizerItemList9=function(t){var u=new Map(this.state.isExpandedByCategory);if(!u.has(t))u.set(t,false);u.set(t,!u.get(t));this.setState({isExpandedByCategory:u})}.bind(this),this.$SUITokenizerItemList10=function(){var t=this.refs.container;if(t.scrollHeight-t.scrollTop-t.offsetHeight<5)this.props.onEndOfListReached&&this.props.onEndOfListReached()}.bind(this),this.$SUITokenizerItemList4=function(t){if(this.$SUITokenizerItemList1||t===0)return;this.$SUITokenizerItemList1=true;this.setState({simpleItemHeight:t})}.bind(this),p}n.prototype.componentDidUpdate=function(){if(this.refs.highlighted&&this.props.isArrowNavigation)c("SUITokenizerItemListScroller").scroll(c("ReactDOM").findDOMNode(this.refs.container),c("ReactDOM").findDOMNode(this.refs.highlighted))};n.prototype.componentWillUnmount=function(){c("SUITokenizerItemListScroller").unmount(c("ReactDOM").findDOMNode(this.refs.container))};n.prototype.$SUITokenizerItemList2=function(){return!this.props.hasCategories&&this.props.shouldVirtualize};n.prototype.$SUITokenizerItemList3=function(o){var p=o===this.props.highlightedEntry,q=this.props.selectedEntry?[this.props.selectedEntry]:this.props.selectedEntries||[],r=q&&q.some(function(v){return o.getUniqueID()===v.getUniqueID()}),s=this.props.isDisabledEntry?this.props.isDisabledEntry(o):false,t=!this.$SUITokenizerItemList2()||this.$SUITokenizerItemList1?undefined:this.$SUITokenizerItemList4,u=this.props.getTooltipInfo(o);return c("React").createElement(c("SUITokenizerItem.react"),{entry:o,getLeftContentForEntry:this.props.getLeftContentForEntry,getRightContentForEntry:this.props.getRightContentForEntry,inCategorizedList:this.props.hasCategories,isDisabled:s,isHighlighted:p,isMultiSelectEnabled:this.props.isMultiSelectEnabled,isSelected:r,key:o.getUniqueID(),onHeightMeasured:t,onHighlight:this.props.onHighlight,onRemove:this.props.onRemoveSearchResult,onSelect:this.props.onSelect,queryString:this.props.queryString,ref:p?"highlighted":null,tooltip:u})};n.prototype.$SUITokenizerItemList11=function(event){event.preventDefault()};n.prototype.render=function(){__p&&__p();var o=!this.props.entries.length,p=c("SUITheme").get(this),q=p.SUITokenizerItemList,r=babelHelpers["extends"]({},q.typeStyle,{backgroundColor:q.backgroundColor,borderColor:q.borderColor},this.props.style),s=c("joinClasses")("_3ts6",this.props.className);if(o){var t=this.props.emptySearchResultsContent;if(this.props.emptySearchResultsText&&!t)t=c("React").createElement("span",{className:"_2byh"},this.props.emptySearchResultsText);if(!t)return null;return c("React").createElement("div",{className:s,style:r},this.props.customHeader,t)}var u=void 0;if(this.$SUITokenizerItemList2())u=this.$SUITokenizerItemList7();else{r.maxHeight=l;if(this.props.hasCategories)u=this.$SUITokenizerItemList8();else u=this.$SUITokenizerItemList6()}return c("React").createElement("div",{className:s,"data-testid":"SUITokenizerItemList/entries",onMouseDown:this.$SUITokenizerItemList11,onScroll:this.props.onEndOfListReached&&this.$SUITokenizerItemList10,ref:"container",style:r,unselectable:"on"},this.props.customHeader,u)};n.propTypes={entries:k.array.isRequired,getTooltipInfo:k.func.isRequired,hasCategories:k.bool.isRequired,isArrowNavigation:k.bool.isRequired,areCategoriesCollapsible:k.bool,onHighlight:k.func.isRequired,onSelect:k.func.isRequired,categoriesCompare:k.func,categoryHeader:k.element,customHeader:k.element,emptySearchResultsText:k.string,getLeftContentForEntry:k.func,getRightContentForEntry:k.func,highlightedEntry:k.instanceOf(c("SearchableEntry")),isDisabledEntry:k.func,isMultiSelectEnabled:k.bool,onEndOfListReached:k.func,onRemoveSearchResult:k.func,queryString:k.string,selectedEntries:k.arrayOf(k.instanceOf(c("SearchableEntry"))),selectedEntry:k.instanceOf(c("SearchableEntry")),shouldVirtualize:k.bool.isRequired,theme:k.instanceOf(c("SUITheme"))};n.defaultProps={emptySearchResultsText:"",getTooltipInfo:c("emptyFunction").thatReturnsNull,hasCategories:false,isArrowNavigation:false,selectedEntries:[],shouldVirtualize:true};f.exports=n}),null);
__d("SUITypeaheadNavigation",[],(function a(b,c,d,e,f,g){"use strict";__p&&__p();function h(i){this.$SUITypeaheadNavigation1=i}h.prototype.moveDown=function(i,j,k){var l=j?i.indexOf(j):-1,m=i.slice(l+1).find(function(n){return!this.$SUITypeaheadNavigation1(n)}.bind(this));if(!m)m=i.slice(0,l+1).find(function(n){return!this.$SUITypeaheadNavigation1(n)}.bind(this));k(m||null)};h.prototype.moveUp=function(i,j,k){this.moveDown(i.slice().reverse(),j,k)};f.exports=h}),null);
__d("SUIInlineTypeahead.react",["cx","AbstractTypeahead.react","React","SearchableEntry","SearchSourceQueryStatus","Set","SUIComponent","SUISpinner.react","SUITheme","SUITokenizerItemList.react","SUITypeaheadNavigation","createObjectFrom","joinClasses"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i,j,k=1e3,l=c("React").PropTypes,m={allowShowingSpinner:false,areCategoriesCollapsible:false,hasCategories:false,shouldVirtualize:true},n={isFocused:false,queryString:"",isSearching:false};i=babelHelpers.inherits(o,c("SUIComponent"));j=i&&i.prototype;function o(p){__p&&__p();j.constructor.call(this,p);this.state=n;this.$SUIInlineTypeahead1=new(c("SUITypeaheadNavigation"))(this.$SUIInlineTypeahead2.bind(this));this.$SUIInlineTypeahead2=this.$SUIInlineTypeahead2.bind(this);this.$SUIInlineTypeahead3=this.$SUIInlineTypeahead3.bind(this);this.$SUIInlineTypeahead4=this.$SUIInlineTypeahead4.bind(this);this.$SUIInlineTypeahead5=this.$SUIInlineTypeahead5.bind(this);this.$SUIInlineTypeahead6=this.$SUIInlineTypeahead6.bind(this);this.$SUIInlineTypeahead7=this.$SUIInlineTypeahead7.bind(this);this.$SUIInlineTypeahead8=this.$SUIInlineTypeahead8.bind(this);this.$SUIInlineTypeahead9=this.$SUIInlineTypeahead9.bind(this);this.$SUIInlineTypeahead10=this.$SUIInlineTypeahead10.bind(this)}o.prototype.$SUIInlineTypeahead9=function(){this.setState({isSearching:true})};o.prototype.$SUIInlineTypeahead7=function(event){var p=event.target.value;this.setState({queryString:p});this.props.onQueryChange&&this.props.onQueryChange(p)};o.prototype.$SUIInlineTypeahead8=function(p,q){q.stopPropagation();if(this.props.onRemoveSearchResult)this.props.onRemoveSearchResult(p)};o.prototype.$SUIInlineTypeahead10=function(p){if(!this.$SUIInlineTypeahead2(p)){this.props.onChange(p);this.setState({queryString:""})}};o.prototype.$SUIInlineTypeahead5=function(){this.setState({isFocused:true});this.props.onFocus&&this.props.onFocus()};o.prototype.$SUIInlineTypeahead3=function(){this.setState({isFocused:false});this.props.onBlur&&this.props.onBlur()};o.prototype.$SUIInlineTypeahead4=function(p,q){if(q===c("SearchSourceQueryStatus").COMPLETE)this.setState({isSearching:false})};o.prototype.$SUIInlineTypeahead6=function(){this.setState({isSearching:false})};o.prototype.$SUIInlineTypeahead2=function(p){var q=this.props,r=q.disabledEntryIDs,s=q.getDisableStateForEntry,t=r?r.has(p.getUniqueID()):false;if(s)t=t||s(p);return t};o.prototype.focusInput=function(){this.refs.typeahead.focusInput()};o.prototype.render=function(){var p=c("SUITheme").get(this).SUIInlineTypeahead,q=p.searchIcon;return c("React").createElement("div",{className:c("joinClasses")(this.props.className,"_1vdu"),"data-testid":this.props["data-testid"],style:this.props.style},c("React").createElement(c("AbstractTypeahead.react"),{autoHighlight:true,"data-testid":"SUIInlineTypeahead/typeahead",excludedEntries:this.props.excludedEntryIDs?c("createObjectFrom")(Array.from(this.props.excludedEntryIDs)):undefined,hideViewWithEntries:false,inputClassName:"_1vdv"+(this.state.isSearching?" _35mr":""),inputRightChild:this.state.isSearching&&this.props.allowShowingSpinner?c("React").createElement(c("SUISpinner.react"),{className:"_35ms"}):null,inputStyle:p.inputTextColor?{color:p.inputTextColor}:undefined,navigation:this.$SUIInlineTypeahead1,onBlur:this.$SUIInlineTypeahead3,onChange:this.$SUIInlineTypeahead7,onEntriesFound:this.$SUIInlineTypeahead4,onFocus:this.$SUIInlineTypeahead5,onNoEntriesFound:this.$SUIInlineTypeahead6,onSearch:this.$SUIInlineTypeahead9,onSelectAttempt:this.$SUIInlineTypeahead10,placeholder:this.props.placeholder,presenter:{ViewRenderer:c("SUITokenizerItemList.react"),alwaysVisibleOnFocus:!!this.props.emptySearchResultsContent,extraRendererProps:{areCategoriesCollapsible:this.props.areCategoriesCollapsible,categoriesCompare:this.props.categoriesCompare,categoryHeader:this.props.categoryHeader,getLeftContentForEntry:this.props.getLeftContentForEntry,getRightContentForEntry:this.props.getRightContentForEntry,getTooltipInfo:this.props.getTooltipForEntry,hasCategories:this.props.hasCategories,isDisabledEntry:this.$SUIInlineTypeahead2,emptySearchResultsContent:this.props.emptySearchResultsContent,onEndOfListReached:this.props.onEndOfListReached,onRemoveSearchResult:this.props.onRemoveSearchResult?this.$SUIInlineTypeahead8:null,selectedEntries:this.props.selectedEntries,shouldVirtualize:this.props.shouldVirtualize,style:{borderTop:"1px solid "+p.dividerBorderColor},theme:c("SUITheme").get(this)},maxEntries:k,useLayer:false},queryString:this.state.queryString,ref:"typeahead",searchSource:this.props.searchSource,searchSourceOptions:this.props.searchSourceOptions,selectOnBlur:false,selectedEntry:this.props.selectedEntry||undefined,showEntriesOnFocus:true}),c("React").cloneElement(q,{className:c("joinClasses")("_1vdw",q.props.className)}))};o.propTypes={categoriesCompare:l.func,hasCategories:l.bool.isRequired,allowShowingSpinner:l.bool,areCategoriesCollapsible:l.bool,onChange:l.func.isRequired,searchSource:l.object.isRequired,disabledEntryIDs:l.instanceOf(c("Set")),emptySearchResultsContent:l.node,excludedEntryIDs:l.object,getDisableStateForEntry:l.func,getLeftContentForEntry:l.func,getRightContentForEntry:l.func,getTooltipForEntry:l.func,header:l.node,inputRightChild:l.node,onBlur:l.func,onEndOfListReached:l.func,onFocus:l.func,onRemoveSearchResult:l.func,placeholder:l.string,searchSourceOptions:l.object,selectedEntry:l.instanceOf(c("SearchableEntry")),shouldVirtualize:l.bool.isRequired,style:l.object,theme:l.instanceOf(c("SUITheme"))};o.defaultProps=m;f.exports=o}),null);
__d("SUISearchableSelector.react",["cx","fbt","AbstractSearchSource","ContextualLayer.react","ContextualLayerAutoFlip","ContextualLayerUpdateOnScroll","Keys","LayerHideOnBlur","LayerHideOnEscape","React","ReactDOM","ResponsiveBlock.react","SearchableEntry","Set","SUIComponent","SUIErrorComponentUtil","SUIInlineTypeahead.react","SUIPropTypes","SUISelectorButton.react","SUITheme","joinClasses"],(function a(b,c,d,e,f,g,h,i){"use strict";__p&&__p();var j,k,l=c("React").PropTypes,m=babelHelpers["extends"]({},c("SUIErrorComponentUtil").defaultProps,{hasCategories:false,allowShowingSpinner:false,dropdownHorizontalAlignment:"left",dropdownWidth:"sameAsSelector",height:"normal",shouldShowSubtitleInSelector:true,width:"auto",canSelectMultiple:false}),n={isOpen:false,buttonWidth:null};j=babelHelpers.inherits(o,c("SUIComponent"));k=j&&j.prototype;function o(){__p&&__p();var p,q;for(var r=arguments.length,s=Array(r),t=0;t<r;t++)s[t]=arguments[t];return q=(p=k.constructor).call.apply(p,[this].concat(s)),this.state=n,this.$SUISearchableSelector5=function(u){if(!u&&this.state.isOpen){this.close();this.focusInput()}}.bind(this),this.$SUISearchableSelector6=function(){if(!this.props.isDisabled)if(this.state.isOpen)this.close();else this.open()}.bind(this),this.$SUISearchableSelector7=function(event){switch(event.keyCode){case c("Keys").DOWN:case c("Keys").UP:case c("Keys").SPACE:this.open();break}}.bind(this),this.$SUISearchableSelector8=function(u){if(!this.props.canSelectMultiple){this.close();this.focusInput()}this.props.onChange(u)}.bind(this),this.$SUISearchableSelector9=function(){this.$SUISearchableSelector2&&this.$SUISearchableSelector2.layer.updatePosition()}.bind(this),this.$SUISearchableSelector10=function(){this.close()}.bind(this),this.$SUISearchableSelector11=function(u){this.$SUISearchableSelector1=u}.bind(this),this.$SUISearchableSelector12=function(){return this.$SUISearchableSelector1}.bind(this),this.$SUISearchableSelector13=function(u){this.$SUISearchableSelector2=u}.bind(this),q}o.prototype.componentDidMount=function(){this.$SUISearchableSelector4()};o.prototype.componentDidUpdate=function(p,q){this.$SUISearchableSelector4();if(!q.isOpen&&this.state.isOpen&&this.$SUISearchableSelector3)this.$SUISearchableSelector3.focusInput()};o.prototype.$SUISearchableSelector4=function(){if(this.$SUISearchableSelector1)this.setState({buttonWidth:c("ReactDOM").findDOMNode(this.$SUISearchableSelector1).offsetWidth})};o.prototype.open=function(){this.setState({isOpen:true});this.props.onOpened&&this.props.onOpened()};o.prototype.close=function(){this.setState({isOpen:false});this.props.onClosed&&this.props.onClosed()};o.prototype.focusInput=function(){this.$SUISearchableSelector1&&c("ReactDOM").findDOMNode(this.$SUISearchableSelector1).focus()};o.prototype.render=function(){__p&&__p();var p=babelHelpers["extends"]({},c("SUITheme").get(this).SUISearchableSelector,this.props.uniformOverride),q=void 0,r=void 0;if(this.props.dropdownWidth==="sameAsSelector"){q=this.state.buttonWidth;r=q}else if(this.props.dropdownWidth==="auto"){q=null;r=this.state.buttonWidth}else if(this.props.dropdownWidth)q=this.props.dropdownWidth;var s=this.props.placeholder,t=this.props.canSelectMultiple,u=t?null:this.props.value,v=t?this.props.values:null,w=this.props.isDisabled?p.disabledTitleTypeStyle:p.titleTypeStyle;if(this.props.customLabel)s=c("React").createElement("div",{className:"_4gt8",style:w},c("React").createElement("div",{className:"_4gt9"},this.props.customLabel));else if(u){var x=this.props.shouldShowSubtitleInSelector&&u.getSubtitle(),y=this.props.isDisabled?p.disabledSubtitleTypeStyle:p.subtitleTypeStyle,z=x?c("React").createElement("span",{style:babelHelpers["extends"]({},y,{color:p.subtitleColor})},this.props.height==="tall"?c("React").createElement("br",null):" ",u.getSubtitle()):null;s=c("React").createElement("div",{className:"_4gt8",style:w},this.props.getLeftContentForEntry?this.props.getLeftContentForEntry(u,false):undefined,c("React").createElement("div",{className:"_4gt9"},u.getTitle(),z),this.props.getRightContentForEntry?this.props.getRightContentForEntry(u,false,false):undefined)}else if(v&&v.length>0)s=c("React").createElement("div",{className:"_4gt8",style:w},c("React").createElement("div",{className:"_4gt9"},v.length>1?i._({"*":"{number} options selected","_1":"1 option selected"},[i.plural(v.length,"number")]):v[0].getTitle()));var A=this.props.emptySearchResultsContent?c("React").createElement("div",{className:"_2u3i"},this.props.emptySearchResultsContent):undefined;return c("React").createElement("div",{className:c("joinClasses")(this.props.className,this.props.margin,"_wxl"),"data-testid":this.props["data-testid"],style:babelHelpers["extends"]({width:this.props.width},this.props.style)},c("React").createElement(c("SUISelectorButton.react"),{borderedSides:this.props.buttonBorderedSides,className_DEPRECATED:c("joinClasses")(this.state.isOpen?"_3o2y":"",this.props.buttonClassName),"data-testid":"SUISearchableSelector/button",disabled:this.props.isDisabled,errorMessage:this.props.errorMessage,errorTooltipPosition:this.props.errorTooltipPosition,height:this.props.height,icon:this.props.buttonIcon,id:this.props.id,label:s,labelIsHidden:this.props.buttonLabelIsHidden,labelledBy:this.props.labelledBy,onClick:this.$SUISearchableSelector6,onKeyDown:this.$SUISearchableSelector7,ref:this.$SUISearchableSelector11,roundedCorners:this.props.buttonRoundedCorners,tooltip:this.props.tooltip,uniformOverrideButton:this.props.buttonUniformOverride,warningMessage:this.props.warningMessage,width:"100%"}),this.state.isOpen?c("React").createElement(c("ContextualLayer.react"),{alignment:this.props.dropdownHorizontalAlignment,behaviors:babelHelpers["extends"]({ContextualLayerAutoFlip:c("ContextualLayerAutoFlip"),ContextualLayerUpdateOnScroll:c("ContextualLayerUpdateOnScroll"),LayerHideOnBlur:c("LayerHideOnBlur"),LayerHideOnEscape:c("LayerHideOnEscape")},this.props.layerBehaviors),contextRef:this.$SUISearchableSelector12,offsetX:this.props.layerOffsetX,offsetY:this.props.layerOffsetY,onToggle:this.$SUISearchableSelector5,position:"below",ref:this.$SUISearchableSelector13,shown:true},c("React").createElement(c("ResponsiveBlock.react"),{className:"_4280"+(this.props.dropdownWidth!=="sameAsSelector"?" _4281":""),onResize:this.$SUISearchableSelector9,style:{backgroundColor:p.dropdownBackgroundColor,borderColor:p.dropdownBorderColor,minWidth:r||null,width:q||null}},this.props.header?c("React").createElement("div",{className:"_4283",onClick:this.$SUISearchableSelector10,role:"presentation",style:babelHelpers["extends"]({},p.headerTypeStyle,{backgroundColor:p.headerBackgroundColor,borderColor:p.dropdownBorderColor,lineHeight:"32px"})},this.props.header):null,c("React").createElement(c("SUIInlineTypeahead.react"),{allowShowingSpinner:this.props.allowShowingSpinner,areCategoriesCollapsible:this.props.areCategoriesCollapsible,categoriesCompare:this.props.categoriesCompare,categoryHeader:this.props.categoryHeader,"data-testid":"SUISearchableSelector/typeahead",disabledEntryIDs:this.props.disabledEntryIDs,emptySearchResultsContent:A,excludedEntryIDs:this.props.excludedEntryIDs,getDisableStateForEntry:this.props.getDisableStateForEntry,getLeftContentForEntry:this.props.getLeftContentForEntry,getRightContentForEntry:this.props.getRightContentForEntry,getTooltipForEntry:this.props.getTooltipForEntry,hasCategories:this.props.hasCategories,header:this.props.header,onChange:this.$SUISearchableSelector8,onEndOfListReached:this.props.onEndOfListReached,onQueryChange:this.props.onQueryChange,onRemoveSearchResult:this.props.onRemoveSearchResult,placeholder:this.props.searchPlaceholder,ref:function(B){return this.$SUISearchableSelector3=B}.bind(this),searchSource:this.props.searchSource,searchSourceOptions:this.props.searchSourceOptions,selectedEntries:this.props.values,selectedEntry:this.props.value,shouldVirtualize:this.props.dropdownWidth!=="auto"}))):null)};o.propTypes=babelHelpers["extends"]({},c("SUIErrorComponentUtil").propTypes,{categoryHeader:l.element,customLabel:l.node,hasCategories:l.bool.isRequired,allowShowingSpinner:l.bool,areCategoriesCollapsible:l.bool,height:l.string.isRequired,onChange:l.func.isRequired,searchSource:l.instanceOf(c("AbstractSearchSource")).isRequired,shouldShowSubtitleInSelector:l.bool.isRequired,"data-testid":l.string,buttonBorderedSides:l.arrayOf(l.oneOf(["top","right","bottom","left"])),buttonClassName:l.string,buttonLabelIsHidden:l.bool,buttonRoundedCorners:l.arrayOf(l.oneOf(["topLeft","topRight","bottomRight","bottomLeft"])),buttonUniformOverride:l.object,isDisabled:l.bool,disabledEntryIDs:l.instanceOf(c("Set")),dropdownWidth:c("SUIPropTypes").dropdownWidth,layerBehaviors:l.object,emptySearchResultsContent:l.node,excludedEntryIDs:l.instanceOf(c("Set")),getDisableStateForEntry:l.func,getLeftContentForEntry:l.func,getRightContentForEntry:l.func,getTooltipForEntry:l.func,header:l.node,margin:l.string,onClosed:l.func,onEndOfListReached:l.func,onOpened:l.func,placeholder:l.node,uniformOverride:l.object,searchPlaceholder:l.oneOfType([l.array,l.string,l.object]),searchSourceOptions:l.object,value:l.instanceOf(c("SearchableEntry")),width:c("SUIPropTypes").width,theme:l.instanceOf(c("SUITheme"))});o.defaultProps=m;f.exports=o}),null);
__d("SUISelectorOptionGroup.react",["cx","Focus","Map","React","RTLKeys","SUIComponent","SUITheme","emptyFunction","joinClasses","nullthrows","KeyStatus","VirtualCursorStatus"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i,j,k=c("React").PropTypes,l=c("KeyStatus").isKeyDown,m=c("VirtualCursorStatus").isVirtualCursorTriggered,n={canSelectMultiple:false,isCollapsible:true,isExpandedInitially:false,setupFocusRef:c("emptyFunction")};i=babelHelpers.inherits(o,c("SUIComponent"));j=i&&i.prototype;function o(p){__p&&__p();j.constructor.call(this,p);this.$SUISelectorOptionGroup3=function(){return c("React").Children.toArray(this.props.children).some(function(q){return q.props.selected})}.bind(this);this.$SUISelectorOptionGroup5=function(){__p&&__p();for(var q=this.$SUISelectorOptionGroup2,r=Array.isArray(q),s=0,q=r?q:q[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var t;if(r){if(s>=q.length)break;t=q[s++]}else{s=q.next();if(s.done)break;t=s.value}var u=t,v=u[1],w=v.ref,x=v.selected;if(x){c("Focus").set(w);return}}var y=c("nullthrows")(this.$SUISelectorOptionGroup2.get(0)).ref;c("Focus").set(y)}.bind(this);this.$SUISelectorOptionGroup6=function(){this.setState({isActive:false,showFocusRing:false})}.bind(this);this.$SUISelectorOptionGroup7=function(){if(l()||m())this.setState({showFocusRing:true})}.bind(this);this.$SUISelectorOptionGroup8=function(){this.setState(function(q){return{isExpanded:!q.isExpanded}},function(){if(this.state.isExpanded)this.$SUISelectorOptionGroup5()}.bind(this))}.bind(this);this.$SUISelectorOptionGroup9=function(event){this.props.onKeyDown&&this.props.onKeyDown(event);switch(event.keyCode){case c("RTLKeys").RETURN:case c("RTLKeys").SPACE:case c("RTLKeys").getRight():event.preventDefault();this.setState({isExpanded:true},this.$SUISelectorOptionGroup5);break}}.bind(this);this.$SUISelectorOptionGroup10=function(){this.setState({isActive:true})}.bind(this);this.$SUISelectorOptionGroup11=function(){this.setState({isHovering:true})}.bind(this);this.$SUISelectorOptionGroup12=function(){this.setState({isHovering:false})}.bind(this);this.$SUISelectorOptionGroup13=function(){this.setState({isActive:false})}.bind(this);this.$SUISelectorOptionGroup16=function(q,r,s){this.$SUISelectorOptionGroup2.set(q,{ref:r,selected:s});if(!this.props.isCollapsible)this.props.setupFocusRef(r,q,s)}.bind(this);this.$SUISelectorOptionGroup17=function(q){this.$SUISelectorOptionGroup1=q;this.props.setupFocusRef(q,this.props.selected)}.bind(this);this.state={isActive:false,isExpanded:!p.hasSelectedValue&&p.isExpandedInitially||this.$SUISelectorOptionGroup3(),isHovering:false,showFocusRing:false};this.$SUISelectorOptionGroup2=new(c("Map"))()}o.prototype.$SUISelectorOptionGroup4=function(){this.setState({isExpanded:false},function(){c("Focus").set(this.$SUISelectorOptionGroup1)}.bind(this))};o.prototype.$SUISelectorOptionGroup14=function(p){__p&&__p();if(!this.props.isCollapsible&&this.props.onSubItemSelect)return this.props.onSubItemSelect(p);return function(event){__p&&__p();switch(event.keyCode){case c("RTLKeys").UP:event.preventDefault();this.$SUISelectorOptionGroup15(p-1);break;case c("RTLKeys").DOWN:event.preventDefault();this.$SUISelectorOptionGroup15(p+1);break;case c("RTLKeys").ESC:case c("RTLKeys").getLeft():event.preventDefault();this.$SUISelectorOptionGroup4();break}}.bind(this)};o.prototype.$SUISelectorOptionGroup15=function(p){if(p>=this.$SUISelectorOptionGroup2.size)p=0;else if(p<0)p=this.$SUISelectorOptionGroup2.size-1;var q=c("nullthrows")(this.$SUISelectorOptionGroup2.get(p)).ref;c("Focus").set(q)};o.prototype.render=function(){__p&&__p();var p=c("React").Children.map(this.props.children,function(A,B){return A?c("React").cloneElement(A,{canSelectMultiple:this.props.canSelectMultiple,hasSelectedValue:true,onKeyDown:this.$SUISelectorOptionGroup14(B),onSelect:this.props.onSelect,setupFocusRef:function(C){this.$SUISelectorOptionGroup16(B,C,A.props.selected)}.bind(this),theme:this.props.theme}):null}.bind(this)),q=c("SUITheme").get(this).SUISelectorOptionGroup,r=this.state,s=r.isActive,t=r.isHovering,u=r.showFocusRing,v=void 0,w=void 0;if(s)w=q.activeBackgroundColor;else if(t||u)w=q.highlightedBackgroundColor;if(s)v=q.activeColor;else if(t||u)v=q.highlightedColor;else v=q.color;var x=null,y=true;if(this.props.isCollapsible){x=this.state.isExpanded?q.expandedIcon:q.collapsedIcon;y=this.state.isExpanded}var z=this.props.isCollapsible?{"aria-haspopup":true,onBlur:this.$SUISelectorOptionGroup6,onClick:this.$SUISelectorOptionGroup8,onFocus:this.$SUISelectorOptionGroup7,onKeyDown:this.$SUISelectorOptionGroup9,onMouseDown:this.$SUISelectorOptionGroup10,onMouseEnter:this.$SUISelectorOptionGroup11,onMouseLeave:this.$SUISelectorOptionGroup12,onMouseUp:this.$SUISelectorOptionGroup13,ref:this.$SUISelectorOptionGroup17,role:"menuitem"}:null;return c("React").createElement("li",{className:this.props.className,"data-testid":this.props["data-testid"]},c("React").createElement("a",babelHelpers["extends"]({},z,{className:"_3vsz"+(!this.state.showFocusRing?" _2eyk":"")+(this.props.isCollapsible?" _4ck5":""),"data-testid":"SUISelectorOption/container",href:"#",style:babelHelpers["extends"]({},q.typeStyle,{backgroundColor:w,color:v}),tabIndex:-1}),c("React").createElement("span",{className:"_4ki-"},this.props.label),x&&c("React").cloneElement(x,{"aria-hidden":true,className:c("joinClasses")("_3vsv",x.props.className)})),c("React").createElement("ul",{role:"menu"},y?p:null))};o.propTypes={canSelectMultiple:k.bool,className:k.string,isCollapsible:k.bool.isRequired,label:k.oneOfType([k.node,k.string]).isRequired,onKeyDown:k.func,onSelect:k.func,onSubItemSelect:k.func,selected:k.bool,setupFocusRef:k.func,theme:k.instanceOf(c("SUITheme"))};o.defaultProps=n;f.exports=o}),null);
__d("SUISelectorSeparator.react",["cx","React","SUIComponent","SUITheme","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("SUIComponent"));j=i&&i.prototype;l.prototype.render=function(){var m=c("SUITheme").get(this).SUISelectorSeparator;return c("React").createElement("li",{className:c("joinClasses")("_2drl",this.props.className),style:{backgroundColor:m.color,marginBottom:m.margin.bottom,marginLeft:m.margin.left,marginRight:m.margin.right,marginTop:m.margin.top}})};function l(){i.apply(this,arguments)}l.propTypes={theme:k.instanceOf(c("SUITheme"))};f.exports=l}),null);
__d("SUISelector.react",["cx","fbt","AlignmentEnum","Map","React","ReactSelectorUtils","RTLKeys","SUIAbstractMenu.react","SUIComponent","SUIErrorComponentUtil","SUIFocusUtil","SUIPropTypes","SUISelectorOptionGroup.react","SUISelectorSeparator.react","SUITheme","flatMapArray","nullthrows","uniqueID"],(function a(b,c,d,e,f,g,h,i){"use strict";__p&&__p();var j,k,l=c("React").PropTypes,m=babelHelpers["extends"]({},c("SUIErrorComponentUtil").defaultProps,{buttonTextAlign:"left",canCollapseGroups:true,canSelectMultiple:false,contextualLayerBehaviors:{},disabled:false,dropdownWidth:"auto",isSuppressed:false,maxHeight:250,menuHorizontalAlignment:"left",menuVerticalAlignment:"below",shouldHideOnMouseLeave:false,shouldHideOnBlur:true,width:"auto"});j=babelHelpers.inherits(n,c("SUIComponent"));k=j&&j.prototype;function n(p){__p&&__p();k.constructor.call(this,p);this.$SUISelector3=c("uniqueID")();this.showMenu=function(){if(this.$SUISelector2)this.$SUISelector2.showMenu()}.bind(this);this.hideMenu=function(){if(this.$SUISelector2)this.$SUISelector2.hideMenu()}.bind(this);this.$SUISelector7=function(q){if(q>=this.$SUISelector1.size)q=0;else if(q<0)q=this.$SUISelector1.size-1;c("SUIFocusUtil").setFocus(c("nullthrows")(this.$SUISelector1.get(q)).ref)}.bind(this);this.$SUISelector10=function(q,event){__p&&__p();var r=this.$SUISelector5(),s=void 0;if(this.props.canSelectMultiple){var t=r||[],u=t.indexOf(q);if(u>-1){s=t.slice(0);s.splice(u,1)}else s=t.concat(q)}else s=q;if(this.props.onChange)this.props.onChange(s,event);if(this.$SUISelector4&&!this.props.canSelectMultiple)this.hideMenu()}.bind(this);this.$SUISelector11=function(q,r,s){this.$SUISelector1.set(q,{ref:r,selected:s})}.bind(this);this.$SUISelector12=function(q){this.$SUISelector2=q}.bind(this);this.$SUISelector13=function(){__p&&__p();if(!this.props.value)c("SUIFocusUtil").setFocus(c("nullthrows")(this.$SUISelector1.get(0)).ref);else for(var q=this.$SUISelector1,r=Array.isArray(q),s=0,q=r?q:q[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var t;if(r){if(s>=q.length)break;t=q[s++]}else{s=q.next();if(s.done)break;t=s.value}var u=t,v=u[1],w=v.ref,x=v.selected;if(x){c("SUIFocusUtil").setFocus(w);break}}if(this.props.onOpen)this.props.onOpen()}.bind(this);this.$SUISelector1=new(c("Map"))()}n.prototype.componentDidMount=function(){this.$SUISelector4=true};n.prototype.componentWillUnmount=function(){this.$SUISelector4=false};n.prototype.focusInput=function(){if(this.$SUISelector2)this.$SUISelector2.focusInput()};n.prototype.$SUISelector5=function(){if(this.props.value!==undefined)return this.props.value;return this.props.canSelectMultiple?[]:undefined};n.prototype.$SUISelector6=function(p){__p&&__p();if(this.props.label)return this.props.label;if(!p.selectedItems.length){if(this.props.placeholder!==undefined)return this.props.placeholder;return i._("No options selected")}if(p.selectedItems.length===1){var q=p.selectedItems[0],r=q.props.children;if(Array.isArray(r)){if(r.every(function(s){return typeof s==="string"}))return r.join("");return c("React").createElement("span",null,r)}return r}else return i._({"*":"{number} options selected","_1":"1 option selected"},[i.plural(p.selectedItems.length,"number")])};n.prototype.$SUISelector8=function(){__p&&__p();var p=o(this,false),q=o(this,true),r=this.$SUISelector5(),s=void 0,t=void 0;if(this.props.canSelectMultiple){var u=c("ReactSelectorUtils").processMultiMenuItems(p,r);q=q.map(function(B){if(B.type===c("SUISelectorOptionGroup.react"))return c("React").cloneElement(B,{children:c("ReactSelectorUtils").processMultiMenuItems(o(B,true),r,true).items});return B});var v=c("ReactSelectorUtils").processMultiMenuItems(q,r,true);s=v.items;t=u.selectedItems}else{var w=r!==undefined?c("ReactSelectorUtils").processMenuItems(p,r,r===null):{items:p,selectedItems:[]};q=q.map(function(B){if(B.type===c("SUISelectorOptionGroup.react"))return c("React").cloneElement(B,{children:c("ReactSelectorUtils").processMenuItems(o(B,true),r,true).items});return B});var x=r!==undefined?c("ReactSelectorUtils").processMenuItems(q,r,true):{items:q,selectedItems:[]};s=x.items;t=w.selectedItem?[w.selectedItem]:[]}var y=0;s=s.map(function(B,C){__p&&__p();var D=y,E=c("React").cloneElement(B,{"data-testid":B.props["data-testid"]||"SUISelector/menuItem",onKeyDown:this.$SUISelector9(C),onSelect:this.$SUISelector10,onSubItemSelect:function(){var F=arguments.length<=0||arguments[0]===undefined?0:arguments[0];return function(G){var H=D+F;this.$SUISelector9(H)(G)}.bind(this)}.bind(this),role:this.props.canSelectMultiple?"menuitemcheckbox":"menuitemradio",setupFocusRef:function(F){var G=arguments.length<=1||arguments[1]===undefined?0:arguments[1],H=arguments.length<=2||arguments[2]===undefined?false:arguments[2],I=D+G,J=this.props.canCollapseGroups?!!B.props.selected:H;this.$SUISelector11(I,F,J)}.bind(this),canSelectMultiple:this.props.canSelectMultiple,hasSelectedValue:!!t.length,isCollapsible:this.props.canCollapseGroups,theme:this.props.theme});if(!this.props.canCollapseGroups)y+=c("React").Children.count(E.props.children);else y++;return E}.bind(this));var z=0,A=c("React").Children.map(this.props.children,function(B){if(B===null)return null;if(B.type===c("SUISelectorSeparator.react"))return c("React").cloneElement(B,{theme:this.props.theme});var C=s[z];z+=1;return C}.bind(this));return{items:A,selectedItems:t}};n.prototype.$SUISelector9=function(p){__p&&__p();return function(event){__p&&__p();switch(event.keyCode){case c("RTLKeys").UP:event.preventDefault();this.$SUISelector7(p-1);break;case c("RTLKeys").DOWN:event.preventDefault();this.$SUISelector7(p+1);break;case c("RTLKeys").ESC:event.preventDefault();this.hideMenu();break}}.bind(this)};n.prototype.render=function(){var p=c("SUITheme").get(this).SUISelector,q=this.$SUISelector8(),r={backgroundColor:p.backgroundColor,border:"solid 1px",borderColor:p.borderColor,borderRadius:"2px",boxShadow:p.boxShadow};return c("React").createElement(c("SUIAbstractMenu.react"),{button:this.props.button,buttonBorderedSides:this.props.buttonBorderedSides,buttonRoundedCorners:this.props.buttonRoundedCorners,buttonTextAlign:this.props.buttonTextAlign,className_DEPRECATED:this.props.className_DEPRECATED,contextualLayerBehaviors:this.props.contextualLayerBehaviors,"data-menu-testid":this.props["data-menu-testid"],"data-testid":this.props["data-testid"],disabled:this.props.disabled,display:"inline-block",dropdownWidth:this.props.dropdownWidth,errorMessage:this.props.errorMessage,errorTooltipPosition:this.props.errorTooltipPosition,id:this.props.id,label:this.$SUISelector6(q),labelledBy:this.props.labelledBy,margin:this.props.margin,maxHeight:this.props.maxHeight,maxWidth:this.props.maxWidth,menu:c("React").createElement("ul",{className:"_7yu","data-testid":"SUISelector/menu",id:this.$SUISelector3,role:"menu"},q.items),menuContainerStyle:r,menuHorizontalAlignment:this.props.menuHorizontalAlignment,menuID:this.$SUISelector3,menuVerticalAlignment:this.props.menuVerticalAlignment,name:this.props.name,onButtonClick:this.props.onSelectorButtonClick,onMouseEntersMenu:this.props.onMouseEntersMenu,onMouseLeavesMenu:this.props.onMouseLeavesMenu,onOpen:this.$SUISelector13,ref:this.$SUISelector12,shouldHideOnBlur:this.props.shouldHideOnBlur,shouldHideOnMouseLeave:this.props.shouldHideOnMouseLeave,shouldOpenAutomatically:this.props.shouldOpenAutomatically,style:this.props.style,suppressed:this.props.isSuppressed,theme:this.props.theme,tooltip:this.props.tooltip,warningMessage:this.props.warningMessage,width:this.props.width})};n.propTypes=babelHelpers["extends"]({},c("SUIErrorComponentUtil").propTypes,{button:l.element,buttonBorderedSides:l.arrayOf(l.oneOf(["top","right","bottom","left"])),buttonRoundedCorners:l.arrayOf(l.oneOf(["topLeft","topRight","bottomRight","bottomLeft"])),buttonTextAlign:c("AlignmentEnum").propType.isRequired,canCollapseGroups:l.bool.isRequired,canSelectMultiple:l.bool.isRequired,contextualLayerBehaviors:l.object.isRequired,disabled:l.bool.isRequired,dropdownWidth:c("SUIPropTypes").dropdownWidth,isSuppressed:l.bool.isRequired,margin:l.string,maxHeight:l.number.isRequired,menuHorizontalAlignment:l.oneOf(["left","right"]).isRequired,menuVerticalAlignment:l.oneOf(["above","below"]).isRequired,onChange:l.func.isRequired,shouldHideOnMouseLeave:l.bool.isRequired,style:l.object,placeholder:l.node,theme:l.instanceOf(c("SUITheme")),width:c("SUIPropTypes").width,value:l.any});n.defaultProps=m;function o(p,q){return c("flatMapArray")(c("React").Children.toArray(p.props.children),function(r){if(r.type===c("SUISelectorSeparator.react"))return[];else if(r.type===c("SUISelectorOptionGroup.react")){if(q)return[r];return[r].concat(o(r,q))}else return[r]})}f.exports=n}),null);
__d("SUISelectorOption.react",["cx","React","RTLKeys","SUIComponent","SUIHelpMessage.react","SUITheme","joinClasses","KeyStatus","Locale","VirtualCursorStatus"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i,j,k=c("React").Element,l=c("React").PropTypes,m=c("KeyStatus").isKeyDown,n=c("Locale").isRTL,o=c("VirtualCursorStatus").isVirtualCursorTriggered,p={canSelectMultiple:false,disabled:false,hasSelectedValue:false,role:"menuitem",selected:false,tooltipPosition:"above"};i=babelHelpers.inherits(q,c("SUIComponent"));j=i&&i.prototype;function q(){__p&&__p();j.constructor.call(this);this.$SUISelectorOption2=function(event){this.$SUISelectorOption1(event)}.bind(this);this.$SUISelectorOption3=function(){this.setState({isActive:false,showFocusRing:false})}.bind(this);this.$SUISelectorOption4=function(){if(m()||o())this.setState({showFocusRing:true})}.bind(this);this.$SUISelectorOption5=function(event){this.props.onKeyDown&&this.props.onKeyDown(event);switch(event.keyCode){case c("RTLKeys").RETURN:case c("RTLKeys").SPACE:this.$SUISelectorOption1(event);break}}.bind(this);this.$SUISelectorOption6=function(){if(this.props.disabled)return;this.setState({isActive:true})}.bind(this);this.$SUISelectorOption7=function(){if(this.props.disabled)return;this.setState({isHovering:true})}.bind(this);this.$SUISelectorOption8=function(){if(this.props.disabled)return;this.setState({isHovering:false})}.bind(this);this.state={isActive:false,isHovering:false,showFocusRing:false}}q.prototype.$SUISelectorOption1=function(event){event.preventDefault();if(!this.props.disabled&&this.props.onSelect)this.props.onSelect(this.props.value,event)};q.prototype.render=function(){var r=c("SUITheme").get(this).SUISelectorOption,s=babelHelpers["extends"]({},r,this.props.uniformOverride),t=(this.props.hasSelectedValue||this.props.canSelectMultiple)&&!(this.props.selected&&s.selectedIcon)?s.padding:s.paddingWhenNoValue,u=this.props.selected?r.selectedTypeStyle:r.typeStyle,v={backgroundColor:this.props.disabled&&s.disabledBackgroundColor||this.props.selected&&s.selectedBackgroundColor||this.state.isActive&&s.activeBackgroundColor||(this.state.isHovering||this.state.showFocusRing)&&s.highlightedBackgroundColor},w=babelHelpers["extends"]({},u,{color:this.props.disabled&&s.disabledColor||this.props.selected&&s.selectedColor||this.state.isActive&&s.activeColor||(this.state.isHovering||this.state.showFocusRing)&&s.highlightedColor||s.color,paddingBottom:t.bottom,paddingLeft:n()?t.right:t.left,paddingRight:n()?t.left:t.right,paddingTop:t.top}),x=babelHelpers["extends"]({},r.typeStyle,{color:this.props.selected&&s.descriptionSelectedColor||s.descriptionColor}),y=this.props.icon;if(y){var z=s.iconMargin,A=z===undefined?{left:"0",right:"2px"}:z;y=c("React").cloneElement(y,{className:c("joinClasses")(y.props.className,"_2kn3"),style:{marginLeft:n()?A.right:A.left,marginRight:n()?A.left:A.right}})}var B=void 0;if(this.props.tooltip)B=c("React").createElement(c("SUIHelpMessage.react"),{className:"_2kn7",position:this.props.tooltipPosition,value:this.props.tooltip});return c("React").createElement("li",{className:c("joinClasses")(this.props.disabled?"_2kn8":"",this.props.className_DEPRECATED),"data-testid":this.props["data-testid"],onMouseEnter:this.$SUISelectorOption7,onMouseLeave:this.$SUISelectorOption8,style:v},c("React").createElement("div",{"aria-checked":this.props.selected,"aria-disabled":this.props.disabled,className:"_2wpb"+(!this.state.showFocusRing?" _3v8w":""),"data-testid":"SUISelectorOption/container",onBlur:this.$SUISelectorOption3,onClick:this.$SUISelectorOption2,onFocus:this.$SUISelectorOption4,onKeyDown:this.$SUISelectorOption5,onMouseDown:this.$SUISelectorOption6,ref:this.props.setupFocusRef,role:this.props.role,style:w,tabIndex:-1},this.props.selected&&s.selectedIcon?c("React").cloneElement(s.selectedIcon,{"aria-hidden":this.props.selected,hover:this.state.isHovering,style:babelHelpers["extends"]({},s.selectedIcon.props.style,{marginLeft:(n()?s.selectedIconMarginRight:s.selectedIconMarginLeft)||0,marginRight:(n()?s.selectedIconMarginLeft:s.selectedIconMarginRight)||0,flexShrink:0})}):null,y,c("React").createElement("div",{className:"_3leq"},this.props.children,this.props.description?c("React").createElement("div",{className:"_2kna",style:x},this.props.description):null),B))};q.propTypes={value:function r(s){if(s.value===undefined)return new Error('Required property "value" was not specified in SUISelectorOption.');return null},canSelectMultiple:l.bool,disabled:l.bool.isRequired,icon:l.element,onKeyDown:l.func,role:l.string.isRequired,selected:l.bool,theme:l.instanceOf(c("SUITheme")),tooltip:l.node,uniformOverride:l.object};q.defaultProps=p;f.exports=q}),null);
__d("SUITextInput.react",["cx","fbt","AbstractTextField.react","AlignmentEnum","React","ResponsiveBlock.react","SUIBorderUtils","SUICloseButton.react","SUIComponent","SUIErrorComponentUtil","SUIPlaceholderStyle","SUITheme","emptyFunction","getStyleProperty","joinClasses","nullthrows","requestAnimationFrame","KeyStatus","VirtualCursorStatus"],(function a(b,c,d,e,f,g,aa,h){"use strict";__p&&__p();var i,j,k=c("React").PropTypes,l=c("KeyStatus").isKeyDown,m=c("VirtualCursorStatus").isVirtualCursorTriggered,n="_4b7k";function o(w){return n+"_"+w.id}var p=c("AbstractTextField.react").propTypes,q=p.useLabel,r=babelHelpers.objectWithoutProperties(p,["useLabel"]);void q;function s(w){var x=w.maxLength,y=w.value,z=w.value,A="";if(y&&typeof x==="number"){z=y.substr(0,x);A=y.substr(x)}return c("React").createElement("div",{"aria-hidden":"true"},c("React").createElement("div",{className:"_oyx",ref:w.setupRef,style:w.style},c("React").createElement("span",{className:"_82u"},z),c("React").createElement("span",{className:"_82w",style:{background:w.highlightColor}},A)),c("React").createElement(c("ResponsiveBlock.react"),{className:"_oyy",onResize:w.onResize}))}var t=babelHelpers["extends"]({},c("AbstractTextField.react").defaultProps,c("SUIErrorComponentUtil").defaultProps,{borderedSides:c("SUIBorderUtils").ALL_SIDES,display:"block",isAutoSized:false,isMaxLengthHidden:false,onChange:c("emptyFunction"),roundedCorners:c("SUIBorderUtils").ALL_CORNERS,textAlign:"left"});i=babelHelpers.inherits(u,c("SUIComponent"));j=i&&i.prototype;function u(){__p&&__p();var w,x;for(var y=arguments.length,z=Array(y),A=0;A<y;A++)z[A]=arguments[A];return x=(w=j.constructor).call.apply(w,[this].concat(z)),this.$SUITextInput3=function(B){this.$SUITextInput2=B}.bind(this),this.$SUITextInput4=function(B){this.$SUITextInput1=B}.bind(this),this.$SUITextInput6=function(event){var B=event.target.value;this.props.onChange(B)}.bind(this),this.$SUITextInput7=function(event){this.setState({isFocused:false,showFocusRing:false})}.bind(this),this.$SUITextInput8=function(event){this.setState({isFocused:true,showFocusRing:l()||m()})}.bind(this),this.$SUITextInput9=function(event){this.setState({showFocusRing:false})}.bind(this),this.$SUITextInput10=function(){var B=this.$SUITextInput1,C=this.$SUITextInput2;if(this.props.isAutoSized&&B&&C){C.style.width=c("getStyleProperty")(B,"width");B.style.height=C.offsetHeight+"px"}}.bind(this),x}u.prototype.$SUITextInput5=function(){var w=c("SUITheme").get(this).SUITextInput;if(this.props.disabled)return w.disabled;return w.enabled};u.prototype.$SUITextInput11=function(){if(this.props.isAutoSized&&this.$SUITextInput1&&this.$SUITextInput2)c("requestAnimationFrame")(this.$SUITextInput10)};u.prototype.componentWillMount=function(){var w=c("SUITheme").get(this);c("SUIPlaceholderStyle").ensureInjectForTheme(w,n,w.SUITextInput.placeholderColor,w.SUITextInput.placeholderColorFocused);this.state={isFocused:false,showFocusRing:false}};u.prototype.componentDidUpdate=function(){this.$SUITextInput11()};u.prototype.focusInput=function(){this.$SUITextInput1&&this.$SUITextInput1.focus()};u.prototype.blurInput=function(){this.$SUITextInput1&&this.$SUITextInput1.blur()};u.prototype.selectInput=function(){this.$SUITextInput1&&this.$SUITextInput1.select()};u.prototype.render=function(){var w=this.props,x=w.borderedSides,y=w.className,z=w.disabled,A=w.errorMessage,B=w.errorTooltipPosition,C=w.leftIcon,D=w.margin,E=w.maxLength,F=w.onChange,G=w.onRemove,H=w.rightIcon,I=w.roundedCorners,J=w.style,K=w.textAlign,L=w.warningMessage,M=w.width,N=babelHelpers.objectWithoutProperties(w,["borderedSides","className","disabled","errorMessage","errorTooltipPosition","leftIcon","margin","maxLength","onChange","onRemove","rightIcon","roundedCorners","style","textAlign","warningMessage","width"]);void A;void B;void L;void F;var O=c("SUITheme").get(this),P=O.SUITextInput,Q=this.$SUITextInput5(),R=!z&&this.state.isFocused&&!this.state.showFocusRing?P.focusedBorderColor:null,S=c("SUIErrorComponentUtil").hasError(this.props),T=R||c("SUIErrorComponentUtil").getErrorBorderColor(this.props,O)||Q.borderColor,U=c("SUIErrorComponentUtil").getErrorIcon(this.props,O,"_32mf"),V=(P.height-parseInt(P.typeStyle.lineHeight,10))/2,W=c("SUIBorderUtils").getBorderRadiusStyles(I),X=c("SUIBorderUtils").getBorderWidthStyles(x),Y=this.props.isAutoSized?"textarea":"input",Z=(this.props.value!==null&&this.props.value!==undefined?this.props.value:this.props.defaultValue||"")+String.fromCharCode(65279),$=typeof E==="number";return c("React").createElement("label",babelHelpers["extends"]({"aria-disabled":z,className:c("joinClasses")("_4b7j"+(!!C?" _4b7l":"")+(!!H?" _4b7n":"")+(S?" _32me":"")+(!!this.props.onRemove?" _1eev":"")+(!this.state.showFocusRing?" _53rs":"")+(z?" _b1c":"")+(this.props.display==="block"?" _642b":"")+(this.props.display==="inline"?" _642c":""),y,D),onBlur:this.$SUITextInput7,onClick:this.props.onClick,onFocus:this.$SUITextInput8,onMouseDown:this.$SUITextInput9,role:z?"textbox":undefined,style:babelHelpers["extends"]({},Q,{width:M},J,{borderColor:T,height:this.props.isAutoSized?undefined:P.height+"px"},W,X),tabIndex:z?0:-1},c("SUIErrorComponentUtil").getErrorTooltipProps(this.props)),C?v(C,"_4b7o"):null,this.props.isAutoSized?c("React").createElement(s,{highlightColor:P.maxLengthHighlightColor,maxLength:E,onResize:this.$SUITextInput10,setupRef:this.$SUITextInput3,style:babelHelpers["extends"]({},P.typeStyle,{color:"transparent",minHeight:P.height+"px",paddingBottom:V,paddingTop:V}),value:Z}):null,c("React").createElement(c("AbstractTextField.react"),babelHelpers["extends"]({},N,{disabled:z,maxLength:$&&!this.props.isAutoSized?E:undefined,onChange:this.$SUITextInput6,style:babelHelpers["extends"]({},P.typeStyle,{color:Q.color,height:P.height-2+"px",paddingBottom:V,paddingTop:V,textAlign:K}),useLabel:false}),c("React").createElement(Y,{className:c("joinClasses")(n,o(c("SUITheme").get(this)),!this.state.showFocusRing?"_53rs":""),ref:this.$SUITextInput4,tabIndex:this.props.tabIndex})),$&&!this.props.isMaxLengthHidden?c("React").createElement("div",{"aria-label":h._("Remaining allowed characters"),className:"_834",style:babelHelpers["extends"]({},P.characterCountTypeStyle)},c("nullthrows")(E)-(Z?Z.length-1:0)):null,H?v(H,"_4b7r"):null,U&&c("React").cloneElement(U,{style:{margin:P.errorIconMargin}}),G?c("React").createElement("div",{className:"_399u",style:{borderColor:T}},c("React").createElement(c("SUICloseButton.react"),{className_DEPRECATED:"_1eew",onClick:G})):null)};u.propTypes=babelHelpers["extends"]({},r,c("SUIErrorComponentUtil").propTypes,{borderedSides:c("SUIBorderUtils").BorderedSidesPropType.isRequired,display:k.oneOf(["block","inline"]).isRequired,isAutoSized:k.bool.isRequired,isMaxLengthHidden:k.bool,leftIcon:k.element,margin:k.string,onChange:k.func.isRequired,onClick:k.func,onRemove:k.func,rightIcon:k.element,roundedCorners:c("SUIBorderUtils").RoundedCornersPropType.isRequired,textAlign:c("AlignmentEnum").propType,theme:k.instanceOf(c("SUITheme")),width:k.oneOfType([k.string,k.number])});u.defaultProps=t;function v(w,x){return c("React").cloneElement(w,{className:c("joinClasses")(w.props.className,x)})}f.exports=u}),null);
__d("SUICard.react",["cx","React","SUIComponent","SUITheme","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("SUIComponent"));j=i&&i.prototype;l.prototype.render=function(){var m=c("SUITheme").get(this).SUICard;return c("React").createElement("div",{className:c("joinClasses")("_5h92",this.props.cardClassName,this.props.margin),"data-testid":this.props["data-testid"],style:babelHelpers["extends"]({},this.props.style,{backgroundColor:m.backgroundColor,borderWidth:m.borderWidth,borderRadius:m.borderRadius,borderColor:m.borderColor,boxShadow:m.boxShadow,width:this.props.width})},this.props.children)};function l(){i.apply(this,arguments)}l.propTypes={"data-testid":k.string,margin:k.string,theme:k.instanceOf(c("SUITheme")),width:k.oneOfType([k.string,k.number])};f.exports=l}),null);
__d("SUIErrorTableCell.react",["FlexLayout.react","React","SUIComponent","SUIErrorComponentUtil","SUITheme"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h,i,j=c("React").PropTypes,k=c("SUIErrorComponentUtil").defaultProps;h=babelHelpers.inherits(l,c("SUIComponent"));i=h&&h.prototype;l.prototype.render=function(){var m=this.props,n=m.className,o=m.content,p=m.errorMessage,q=m.warningMessage;if(!p&&!q)return o;var r=c("SUIErrorComponentUtil").getErrorIcon(this.props,c("SUITheme").get(this));return c("React").createElement(c("FlexLayout.react"),{align:"center",justify:"start"},c("React").createElement("div",c("SUIErrorComponentUtil").getErrorTooltipProps(this.props),c("React").createElement(c("FlexLayout.react"),{align:"center",className:n},r)),o)};function l(){h.apply(this,arguments)}l.propTypes=babelHelpers["extends"]({},c("SUIErrorComponentUtil").propTypes,{className:j.string,content:j.element.isRequired,cellHeight:j.number.isRequired,theme:j.instanceOf(c("SUITheme"))});l.defaultProps=k;f.exports=l}),null);
__d("SUIAbstractTableCell.react",["cx","React","SUIComponent","SUIErrorComponentUtil","SUIErrorTableCell.react","SUITheme"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i,j,k=c("React").PropTypes,l=48,m=babelHelpers["extends"]({},c("SUIErrorComponentUtil").defaultProps,{height:l});i=babelHelpers.inherits(n,c("SUIComponent"));j=i&&i.prototype;n.prototype.$SUIAbstractTableCell1=function(){return c("SUITheme").get(this).SUITableCell};n.prototype.$SUIAbstractTableCell2=function(o){var p=this.$SUIAbstractTableCell1().colors;if(this.props.errorMessage)return p.errorBackground;if(this.props.warningMessage)return p.warningBackground;if(this.props.isModified)return p.modifiedBackground;return undefined};n.prototype.render=function(){var o=this.$SUIAbstractTableCell1(),p=this.props,q=p.className,r=p.errorMessage,s=p.errorTooltipPosition,t=p.height,u=p.theme,v=p.warningMessage,w=c("React").createElement("div",{className:q,style:babelHelpers["extends"]({},o.textStyles.primaryText,{height:this.props.height+"px",lineHeight:this.props.height+"px"})},this.props.content),x=this.$SUIAbstractTableCell2(o),y={backgroundColor:x,borderRightColor:o.colors.border,borderBottomColor:o.colors.border,height:this.props.height+"px"},z=c("SUIErrorComponentUtil").hasError(this.props);if(!z)return c("React").createElement("div",{className:"_2nxw"+(this.props.hasBorders?" _2nxx":""),style:y},w);return c("React").createElement("div",{className:"_2nxw"+(this.props.hasBorders?" _2nxx":""),style:y},c("React").createElement(c("SUIErrorTableCell.react"),{cellHeight:t,content:w,errorMessage:r,errorTooltipPosition:s,theme:u,warningMessage:v}))};function n(){i.apply(this,arguments)}n.propTypes=babelHelpers["extends"]({},c("SUIErrorComponentUtil").propTypes,{className:k.string,content:k.node.isRequired,hasBorders:k.bool.isRequired,isModified:k.bool.isRequired,height:k.number.isRequired,theme:k.instanceOf(c("SUITheme"))});n.defaultProps=m;f.exports=n}),null);
__d("SUITableCellTypes",["React","SUIErrorComponentUtil","SUITheme"],(function a(b,c,d,e,f,g){"use strict";var h=babelHelpers["extends"]({},c("SUIErrorComponentUtil").defaultProps,{isModified:false,hasBorders:false});f.exports={DEFAULT_TABLE_CELL_PROPS:h}}),null);
__d("SUISubtitleTableCell.react",["cx","FbtResultBase","FlexLayout.react","React","SUIAbstractTableCell.react","SUIComponent","SUIErrorComponentUtil","SUITableCellTypes","SUITheme"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i,j,k=c("React").PropTypes,l=c("SUITableCellTypes").DEFAULT_TABLE_CELL_PROPS;i=babelHelpers.inherits(m,c("SUIComponent"));j=i&&i.prototype;m.prototype.render=function(){var n=this.props,o=n.errorMessage,p=n.hasBorders,q=n.isModified,r=n.height,s=n.warningMessage;return c("React").createElement(c("SUIAbstractTableCell.react"),{className:"_u8g",content:this.$SUISubtitleTableCell1(),errorMessage:o,hasBorders:p,height:r,isModified:q,warningMessage:s})};m.prototype.$SUISubtitleTableCell2=function(n){return typeof n==="string"||n instanceof c("FbtResultBase")||typeof n==="number"};m.prototype.$SUISubtitleTableCell1=function(){var n=this.props,o=n.align,p=n.subtitle,q=n.title,r=n.titleIsSummary,s=c("SUITheme").get(this).SUITableCell,t=o==="right",u=this.$SUISubtitleTableCell2(q)?{"data-hover":"tooltip","data-tooltip-content":q,"data-tooltip-display":"overflow","data-tooltip-position":"above"}:null,v=this.$SUISubtitleTableCell2(p)?{"data-hover":"tooltip","data-tooltip-content":p,"data-tooltip-display":"overflow","data-tooltip-position":"above"}:null,w=r?700:s.textStyles.primaryText.fontWeight,x=babelHelpers["extends"]({},s.textStyles.primaryText,{fontWeight:w});return c("React").createElement(c("FlexLayout.react"),{align:t?"end":"start",className:"_u8h",direction:"vertical",justify:"center"},c("React").createElement("div",babelHelpers["extends"]({className:"ellipsis _u8i"+(t?" _u8j":""),style:x},u),q),c("React").createElement("div",babelHelpers["extends"]({className:"ellipsis _u8k"+(t?" _u8j":""),style:babelHelpers["extends"]({},s.textStyles.secondaryText)},v),p))};function m(){i.apply(this,arguments)}m.defaultProps=l;m.propTypes=babelHelpers["extends"]({},c("SUIErrorComponentUtil").propTypes,{align:k.oneOf(["left","right"]),hasBorders:k.bool.isRequired,isModified:k.bool,height:k.number,subtitle:k.node.isRequired,title:k.node.isRequired,titleIsSummary:k.bool,theme:k.instanceOf(c("SUITheme"))});f.exports=m}),null);
__d("SUITableTypes",["React"],(function a(b,c,d,e,f,g){"use strict";var h=c("React").PropTypes,i=h.shape({id:h.string.isRequired,allowOverflow:h.bool,className:h.string,columnType:h.string,getTitle:h.func,label:h.node,orderBy:h.string,widthWeight:h.number}),j=h.oneOf(["none","checkbox","row","rowWithCheckbox"]).isRequired,k=Object.freeze({ASCENDING:"ASCENDING",DESCENDING:"DESCENDING"}),l=Object.freeze({TEXT:"TEXT",SUBTITLED:"SUBTITLED",GENERIC:"GENERIC"});f.exports={COLUMN_SHAPE:i,ORDER_DIRECTION:k,SELECTION_PROP_TYPE:j,COLUMN_TYPES:l}}),null);
__d("SUITextTableCell.react",["cx","React","SUIAbstractTableCell.react","SUIComponent","SUIErrorComponentUtil","SUITableCellTypes","SUITheme"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i,j,k=c("React").PropTypes,l=c("SUITableCellTypes").DEFAULT_TABLE_CELL_PROPS;i=babelHelpers.inherits(m,c("SUIComponent"));j=i&&i.prototype;m.prototype.render=function(){var n=this.props,o=n.align,p=n.content,q=p===undefined?"__":p,r=n.errorMessage,s=n.errorTooltipPosition,t=n.hasBorders,u=n.isModified,v=n.height,w=n.warningMessage,x=o&&o==="right",y={"data-hover":"tooltip","data-tooltip-content":q,"data-tooltip-display":"overflow","data-tooltip-position":"above"},z=c("React").createElement("div",babelHelpers["extends"]({className:"ellipsis"},y),q);return c("React").createElement(c("SUIAbstractTableCell.react"),{className:"_62m1"+(x?" _24ro":""),content:z,errorMessage:r,errorTooltipPosition:s,hasBorders:!!t,height:v,isModified:!!u,warningMessage:w})};function m(){i.apply(this,arguments)}m.defaultProps=l;m.propTypes=babelHelpers["extends"]({},c("SUIErrorComponentUtil").propTypes,{align:k.oneOf(["left","right"]),content:k.node,hasBorders:k.bool.isRequired,isModified:k.bool.isRequired,height:k.number,theme:k.instanceOf(c("SUITheme"))});f.exports=m}),null);
__d("SUIColumnTypeToSUICell",["SUISubtitleTableCell.react","SUITableTypes","SUITextTableCell.react"],(function a(b,c,d,e,f,g){"use strict";var h,i=c("SUITableTypes").COLUMN_TYPES,j=(h={},h[i.TEXT]=c("SUITextTableCell.react"),h[i.SUBTITLED]=c("SUISubtitleTableCell.react"),h[i.GENERIC]=null,h);f.exports=j}),null);
__d("SUITableHeaderCell.react",["cx","Icon.atlas","Link.atlas","React","SUIComponent","SUITableTypes","Tooltip","joinClasses"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i,j,k=c("React").PropTypes,l=c("SUITableTypes").ORDER_DIRECTION;i=babelHelpers.inherits(m,c("SUIComponent"));j=i&&i.prototype;m.prototype.render=function(){var n=this.props.uniform,o=this.props.label,p=typeof o==="string"?o:"",q=c("joinClasses")("_5xdl",this.props.className);if(this.props.isDisabled)return c("React").createElement("div",babelHelpers["extends"]({},c("Tooltip").propsFor(p),{className:q,"data-tooltip-delay":true,"data-tooltip-display":"overflow",style:babelHelpers["extends"]({},n.textStyles.heading,{color:n.colors.heading,fontWeight:"bold",lineHeight:"39px"})}),this.props.children);var r=this.props.orderDirection===l.ASCENDING,s="_5xdm"+(this.props.isSelected?" _5xdp":"");return c("React").createElement(c("Link.atlas"),{className:c("joinClasses")(q,s),color:"dark",onClick:this.props.onSort,size:"s",weight:"bold"},c("React").createElement("div",babelHelpers["extends"]({},c("Tooltip").propsFor(p),{className:"_5xdq","data-tooltip-delay":true,"data-tooltip-display":"overflow"}),this.props.children),c("React").createElement(c("Icon.atlas"),{className:"_5xdt",name:r?"chevronUp":"chevronDown"}))};function m(){i.apply(this,arguments)}m.propTypes={isDisabled:k.bool.isRequired,isSelected:k.bool.isRequired,onSort:k.func.isRequired,orderDirection:k.oneOf([l.ASCENDING,l.DESCENDING]).isRequired,uniform:k.object.isRequired,label:k.node};f.exports=m}),null);
__d("SUITableHeaderRow.react",["cx","fbt","invariant","immutable","React","SUICheckboxInput.react","SUIComponent","SUITableHeaderCell.react","SUITableTypes","emptyFunction","joinClasses","nullthrows"],(function a(b,c,d,e,f,g,h,i,j){"use strict";__p&&__p();var k,l,m=c("React").PropTypes,n=c("SUITableTypes").COLUMN_SHAPE,o=c("SUITableTypes").ORDER_DIRECTION,p=c("SUITableTypes").SELECTION_PROP_TYPE;k=babelHelpers.inherits(q,c("SUIComponent"));l=k&&k.prototype;function q(){__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=l.constructor).call.apply(r,[this].concat(u)),this.$SUITableHeaderRow1=function(w,x){!!this.props.onSortClick||j(0);this.props.onSortClick(w,x)}.bind(this),this.$SUITableHeaderRow2=function(){var w=this.props.items;!!w||j(0);if(this.$SUITableHeaderRow3())this.props.onUnselectItems(w);else this.props.onSelectItems(w)}.bind(this),s}q.prototype.$SUITableHeaderRow3=function(){var r=this.props.items;if(!r||!r.size)return false;return r.every(function(s){return!!this.props.isSelectedByItemID[s.id]}.bind(this))};q.prototype.render=function(){__p&&__p();var r=this.props.uniform,s=this.props.columns.map(function(u){return u.widthWeight||0}).reduce(function(u,v){return u+v},0),t=this.props.columns.map(function(u,v){__p&&__p();var w=u.id,x=u.label,y=(u.widthWeight||0)/s*100,z=r.colors.cellBorder,A=v===0&&(this.props.selectionType==="checkbox"||this.props.selectionType==="rowWithCheckbox"),B={background:r.colors.headingBackground,borderBottom:this.props.isVisible?"1px solid "+r.colors.headingRule:null,borderRightColor:z,borderTopColor:z,paddingLeft:v!==0?r.cellPadding:null,paddingRight:v!==this.props.columns.length-1?r.cellPadding:null,textAlign:u.contentAlign,width:y+"%"};if(!this.props.isVisible)return c("React").createElement("th",{className:c("joinClasses")(u.className,(A?"_5wrk":"")+" _5wrg"+(this.props.hasInnerBorders?" _1siw":"")+" _5wrf"+(this.props.hasTopBorder?" _1six":"")),key:w,style:B});var C=null;if(A){var D=!this.props.items||this.props.items.size!==this.props.totalItemCount,E=D&&this.props.totalItemCount?i._("There are too many items in this list. Try using filters to narrow your list down. Then you can select all the items in that list."):null;C=c("React").createElement("label",{className:(this.props.hasInnerBorders?"_2-ak":"")+" _4o06"},c("React").createElement(c("SUICheckboxInput.react"),{disabled:D,onChange:this.$SUITableHeaderRow2,tooltip:E?E:undefined,value:this.$SUITableHeaderRow3()}))}var F=!!this.props.onSortClick&&!!u.orderBy,G=F&&!!u.isSelected,H=u.orderDirection||o.ASCENDING,I=F?this.$SUITableHeaderRow1.bind(this,c("nullthrows")(u.orderBy),H):c("emptyFunction");return c("React").createElement("th",{className:c("joinClasses")(u.className,(A?"_5wrk":"")+(this.props.hasInnerBorders?" _1siw":"")+" _5wrf"+(this.props.hasTopBorder?" _1six":"")),key:w,style:B},C,c("React").createElement(c("SUITableHeaderCell.react"),{className:"_5wrl",isDisabled:!F,isSelected:G,label:x,onSort:I,orderDirection:H,uniform:this.props.uniform},x))}.bind(this));return c("React").createElement("thead",null,c("React").createElement("tr",{className:"_5wrn"},t))};q.propTypes={columns:m.arrayOf(n).isRequired,hasInnerBorders:m.bool.isRequired,hasTopBorder:m.bool.isRequired,isSelectedByItemID:m.object.isRequired,isVisible:m.bool.isRequired,items:m.instanceOf(c("immutable").Iterable).isRequired,onSelectItems:m.func.isRequired,onUnselectItems:m.func.isRequired,selectionType:p,uniform:m.object.isRequired,onSortClick:m.func,totalItemCount:m.number};f.exports=q}),null);
__d("SUITableCell.react",["cx","invariant","Icon.atlas","Layout.react","React","SUICheckboxInput.react","SUIComponent","SUITableTypes","SUITooltip.react","Tooltip","joinClasses"],(function a(b,c,d,e,f,g,h,i){"use strict";__p&&__p();var j,k,l=c("Layout.react").Column,m=c("Layout.react").FillColumn,n=c("React").PropTypes,o=c("SUITableTypes").COLUMN_SHAPE;j=babelHelpers.inherits(p,c("SUIComponent"));k=j&&j.prototype;function p(){var q,r;for(var s=arguments.length,t=Array(s),u=0;u<s;u++)t[u]=arguments[u];return r=(q=k.constructor).call.apply(q,[this].concat(t)),this.$SUITableCell1=function(v,event){this.props.onToggleSelection(event)}.bind(this),r}p.prototype.render=function(){__p&&__p();var q=this.props.uniform;!this.props.column.columnType||this.props.column.columnType==="GENERIC"||i(0);var r=this.props.column.renderItem(this.props.item,this.props.isSelected,this.props.isHovering),s=null;if(!this.props.hasError&&!this.props.hasWarning)if(this.props.column.getTitle)s=this.props.column.getTitle(this.props.item);else if(typeof r==="string")s=r;r=c("React").createElement("div",babelHelpers["extends"]({},c("Tooltip").propsFor(s),{className:"_4o01"+(!!this.props.column.allowOverflow?" _4o02":""),"data-tooltip-display":"overflow",style:babelHelpers["extends"]({},q.textStyles.cell,{color:q.colors.cell,lineHeight:null})}),r);if(this.props.hasError||this.props.hasWarning)r=c("React").createElement(c("Layout.react"),null,c("React").createElement(l,{className:"_4o03",style:{height:this.props.rowHeight+"px",lineHeight:this.props.rowHeight+"px"}},c("React").createElement(c("Icon.atlas"),{name:"warning",style:{color:this.props.hasError?q.colors.error:q.colors.warning}})),c("React").createElement(m,null,r));if(this.props.hasCheckbox)r=c("React").createElement("div",{style:{borderRightColor:q.colors.cellBorder}},c("React").createElement("label",{className:(this.props.hasBorders?"_2-ak":"")+" _4o06"},c("React").createElement(c("SUICheckboxInput.react"),{onChange:this.$SUITableCell1,value:this.props.isSelected})),r);var t=c("joinClasses")(this.props.className,this.props.column.className,(this.props.hasCheckbox?"_4o08":"")+(!!this.props.column.allowOverflow?" _4o02":"")+(this.props.hasBorders?" _2-al":"")+(this.props.hasBottomBorder?" _4kfz":"")+" _4o07"),u=null;if(this.props.hasError)u=q.colors.cellErrorBackground;else if(this.props.hasWarning)u=q.colors.cellWarningBackground;else if(this.props.isModified)u=q.colors.cellModifiedBackground;else if(this.props.isHovering&&this.props.isSelected)u=q.colors.cellSelectedHoverBackground;else if(this.props.isHovering)u=q.colors.cellHoverBackground;else if(this.props.isSelected)u=q.colors.cellSelectedBackground;var v={background:u,borderLeftColor:this.props.barColor,borderRightColor:q.colors.cellBorder,borderBottomColor:q.colors.cellBorder,height:this.props.rowHeight+"px",lineHeight:this.props.rowHeight+"px",paddingLeft:this.props.paddingLeft?this.props.paddingLeft:null,paddingRight:this.props.paddingRight?this.props.paddingRight:null,textAlign:this.props.column.contentAlign};return c("React").createElement("td",{className:t,style:v},this.props.tooltip?c("React").createElement(c("SUITooltip.react"),{tooltip:this.props.tooltip},r):r)};p.propTypes={column:o.isRequired,hasBorders:n.bool.isRequired,hasCheckbox:n.bool.isRequired,hasError:n.bool.isRequired,hasWarning:n.bool.isRequired,isHovering:n.bool.isRequired,isModified:n.bool.isRequired,isSelected:n.bool.isRequired,item:n.object.isRequired,onToggleSelection:n.func.isRequired,rowHeight:n.number.isRequired,uniform:n.object.isRequired,barColor:n.string,paddingLeft:n.number,paddingRight:n.number,tooltip:n.node};f.exports=p}),null);
__d("SUITableRow.react",["cx","React","SUIColumnTypeToSUICell","SUIComponent","SUISubtitleTableCell.react","SUITableCell.react","SUITableTypes","SUITextTableCell.react"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i,j,k=c("SUITableTypes").COLUMN_TYPES,l=c("React").PropTypes,m=c("SUITableTypes").COLUMN_SHAPE,n=c("SUITableTypes").SELECTION_PROP_TYPE;i=babelHelpers.inherits(o,c("SUIComponent"));j=i&&i.prototype;function o(s,t){__p&&__p();j.constructor.call(this,s,t);this.$SUITableRow1=function(){var u=this.props.onRowMouseEnter;if(u!==undefined)u(this.props.item);this.setState({isHovering:true})}.bind(this);this.$SUITableRow2=function(){var u=this.props.onRowMouseLeave;if(u!==undefined)u(this.props.item);this.setState({isHovering:false})}.bind(this);this.$SUITableRow3=function(event){this.$SUITableRow4(event);event.preventDefault()}.bind(this);this.$SUITableRow4=function(event){if(this.props.onToggleSelection)this.props.onToggleSelection(this.props.index,event)}.bind(this);this.$SUITableRow5=function(){var u=this.props.uniform.colors;if(this.state.isHovering&&this.props.isSelected)return u.cellSelectedHoverBackground;else if(this.state.isHovering)return u.cellHoverBackground;else if(this.props.isSelected)return u.cellSelectedBackground;return null}.bind(this);this.state={isHovering:false}}o.prototype.render=function(){var s=this.props.isSelectable&&!this.props.isDisabled;return c("React").createElement("tr",{className:"_37hy"+(s?" _37hz":"")+(this.props.isDisabled?" _37h-":"")+(this.props.isHighlighted?" _37h_":"")+(this.props.hasError?" _37i0":"")+(this.props.hasWarning?" _37i1":""),"data-testid":this.props["data-testid"],onClick:s?this.$SUITableRow3:null,onMouseEnter:this.$SUITableRow1,onMouseLeave:this.$SUITableRow2,style:{background:this.$SUITableRow5()}},this.props.columns.map(function(t,u){return c("React").createElement(p,babelHelpers["extends"]({},this.props,{columnIndex:u,isHovering:this.state.isHovering,key:t.id,onToggleSelection:this.$SUITableRow4}))}.bind(this)))};o.propTypes={columns:l.arrayOf(m).isRequired,hasErrorByColumnIDByItemID:l.object.isRequired,hasError:l.bool.isRequired,hasInnerBorders:l.bool.isRequired,hasBottomBorder:l.bool.isRequired,hasWarning:l.bool.isRequired,index:l.number.isRequired,isDisabled:l.bool.isRequired,isHighlighted:l.bool.isRequired,isSelectable:l.bool.isRequired,isSelected:l.bool.isRequired,isModifiedByColumnIDByItemID:l.object.isRequired,rowHeight:l.number.isRequired,selectionType:n,uniform:l.object.isRequired,tooltipByColumnIDByItemID:l.object.isRequired,hasWarningByColumnIDByItemID:l.object.isRequired,onToggleSelection:l.func};function p(s){var t=s.item,u=s.columnIndex,v=s.columns,w=s.hasErrorByColumnIDByItemID,x=s.hasWarningByColumnIDByItemID,y=s.isModifiedByColumnIDByItemID,z=t.id,A=v[u],B=w[z]&&w[z][A.id],C=x[z]&&x[z][A.id],D=y[z]&&y[z][A.id],E=A.columnType&&c("SUIColumnTypeToSUICell")[A.columnType];return E?c("React").createElement(q,babelHelpers["extends"]({},s,{cellHasError:B,cellHasWarning:C,isModified:D,key:A.id})):c("React").createElement(r,babelHelpers["extends"]({},s,{cellHasError:B,cellHasWarning:C,isModified:D,key:A.id}))}function q(s){var t=s.item,u=s.columnIndex,v=s.columns,w=s.tooltipByColumnIDByItemID,x=s.isHovering,y=s.isModified,z=s.isSelected,A=s.rowHeight,B=s.cellHasError,C=s.cellHasWarning,D=s.key,E=v[u],F=E.columnType&&c("SUIColumnTypeToSUICell")[E.columnType];if(!F)return null;var G=t.id,H=w[G]&&w[G][E.id],I=B&&H?H:null,J=C&&H?H:null;switch(E.columnType){case k.TEXT:var K=E.renderItem(t,z,x),L=K||"";return c("React").createElement("td",null,c("React").createElement(c("SUITextTableCell.react"),{align:E.align,content:L,errorMessage:I,height:A,isModified:!!y,key:D,warningMessage:J}));case k.SUBTITLED:var M=E.renderTitle(t,z,x),N=E.renderSubtitle(t,z,x);return c("React").createElement("td",null,c("React").createElement(c("SUISubtitleTableCell.react"),{align:E.align,errorMessage:I,height:A,isModified:!!y,key:D,subtitle:N||"",title:M||"",warningMessage:J}))}}function r(s){var t=s.uniform,u=s.item,v=s.columnIndex,w=s.columns,x=s.tooltipByColumnIDByItemID,y=s.hasInnerBorders,z=s.hasBottomBorder,A=s.isHovering,B=s.isModified,C=s.isSelected,D=s.onToggleSelection,E=s.rowHeight,F=s.cellHasError,G=s.cellHasWarning,H=s.selectionType,I=H==="checkbox"||H==="rowWithCheckbox",J=u.id,K=I&&v===0,L=w[v],M=v!==0?t.cellPadding:undefined,N=v!==w.length-1?t.cellPadding:undefined,O=x[J]&&x[J][L.id],P=null;if(v===0)if(s.hasError)P=t.colors.error;else if(s.hasWarning)P=t.colors.warning;else if(s.isHighlighted)P=t.colors.highlight;return c("React").createElement(c("SUITableCell.react"),{barColor:P,column:L,hasBorders:y,hasBottomBorder:z,hasCheckbox:K,hasError:!!F,hasWarning:!!G,isHovering:A,isModified:!!B,isSelected:C,item:u,key:L.id,onToggleSelection:D,paddingLeft:M,paddingRight:N,rowHeight:E,tooltip:O,uniform:t})}f.exports=o}),null);
__d("StickyHeader.react",["EventEmitter","EventListener","React","ReactDOM","ReactComponentWithPureRenderMixin","ResponsiveBlock.react","Style","getElementRect","joinClasses"],(function a(b,c,d,e,f,g){__p&&__p();var h=c("React").PropTypes,i=1;function j(m){var n="data-sticky-header-parent-id";if(!m.hasAttribute(n))m.setAttribute(n,i++);return m.getAttribute(n)}var k=c("React").createClass({displayName:"StickyHeader",_resizeSubscription:null,_scrollSubscriptions:[],_mediaQuerySubscription:null,_cumulativeHeightSubscription:null,_emitter:null,propTypes:{contentClassName:h.string,header:h.node,headerClassName:h.string,headerClassNameWhenSticky:h.string,minimumViewportHeight:h.string,headerTopOffset:h.number},mixins:[c("ReactComponentWithPureRenderMixin")],getDefaultProps:function m(){return{minimumViewportHeight:""}},childContextTypes:{subscribeToStickyHeaderCumulativeHeightChanged:h.func.isRequired},contextTypes:{subscribeToStickyHeaderCumulativeHeightChanged:h.func},getInitialState:function m(){return{bottom:0,cumulativeHeightByScrollParentID:{},headerHeight:0,height:0,isBelowMinimumViewportHeight:false,isWindowScrollParent:true,left:0,scrollParentID:"",top:0,width:0}},componentWillMount:function m(){this._emitter=new(c("EventEmitter"))();this._scrollSubscriptions=[]},getChildContext:function m(){return{subscribeToStickyHeaderCumulativeHeightChanged:function(n){n(this._getChildCumulativeHeightByScrollParentID(this.state.headerHeight));return this._emitter.addListener("change",n)}.bind(this)}},componentDidMount:function m(){__p&&__p();this._measureRect();var n=c("Style").getScrollParent(c("ReactDOM").findDOMNode(this)),o=n.getAttribute?j(n):"window";this.setState({scrollParentID:o});this._resizeSubscription=c("EventListener").listen(window,"resize",this._measureRect);var p=this._scrollSubscriptions;while(true){p.push(c("EventListener").listen(n,"scroll",this._measureRect));if(n===window)break;n=c("Style").getScrollParent(n.parentNode)}if(this.props.minimumViewportHeight)this._subscribeToMediaQuery(this.props.minimumViewportHeight);if(this.context.subscribeToStickyHeaderCumulativeHeightChanged)this._cumulativeHeightSubscription=this.context.subscribeToStickyHeaderCumulativeHeightChanged(this._cumulativeHeightChanged)},componentWillReceiveProps:function m(n){if(this.props.minimumViewportHeight!==n.minimumViewportHeight)this._subscribeToMediaQuery(n.minimumViewportHeight)},componentWillUnmount:function m(){__p&&__p();if(this._resizeSubscription){this._resizeSubscription.remove();this._resizeSubscription=null}if(this._mediaQuerySubscription){this._mediaQuerySubscription.remove();this._mediaQuerySubscription=null}if(this._cumulativeHeightSubscription){this._cumulativeHeightSubscription.remove();this._cumulativeHeightSubscription=null}if(this._scrollSubscriptions){this._scrollSubscriptions.forEach(function(n){return n.remove()});this._scrollSubscriptions=[]}},_subscribeToMediaQuery:function m(n){__p&&__p();if(this._mediaQuerySubscription){this._mediaQuerySubscription.remove();this._mediaQuerySubscription=null}if(!n)return;var o=window.matchMedia("(max-height: "+n+")");o.addListener(this._handleMediaQueryEvent);this._mediaQuerySubscription={remove:function(){o.removeListener(this._handleMediaQueryEvent)}.bind(this)};this._handleMediaQueryEvent(o)},_handleMediaQueryEvent:function m(n){if(!this.isMounted())return;this.setState({isBelowMinimumViewportHeight:n.matches})},_getParentTop:function m(){var n=c("ReactDOM").findDOMNode(this),o=c("Style").getScrollParent(n);return o&&o!==window?c("getElementRect")(o).top:0},_getRectMeasurements:function m(){if(!this.isMounted())return{};var n=c("ReactDOM").findDOMNode(this),o=n.getBoundingClientRect();return{bottom:o.bottom,top:o.top,width:o.width,left:o.left}},_measureRect:function m(){if(!this.isMounted())return;this.setState(this._getRectMeasurements())},_measureHeader:function m(n,o){if(!this.isMounted())return;this.setState(babelHelpers["extends"]({},this._getRectMeasurements(),{headerHeight:o}));this._emitter.emit("change",this._getChildCumulativeHeightByScrollParentID(o))},_getChildCumulativeHeightByScrollParentID:function m(n){var o=babelHelpers["extends"]({},this.state.cumulativeHeightByScrollParentID);if(this.state.scrollParentID)o[this.state.scrollParentID]=(o[this.state.scrollParentID]||0)+n;return o},_cumulativeHeightChanged:function m(n){this.setState(babelHelpers["extends"]({},this._getRectMeasurements(),{cumulativeHeightByScrollParentID:n}));this._emitter.emit("change",this._getChildCumulativeHeightByScrollParentID(this.state.headerHeight))},render:function m(){var n=this.props,o=n.children,p=n.header,q=babelHelpers.objectWithoutProperties(n,["children","header"]),r=this._getParentTop();r+=this.state.cumulativeHeightByScrollParentID[this.state.scrollParentID]||0;if(this.props.headerTopOffset)r+=this.props.headerTopOffset;var s=this.state.top<r&&this.state.bottom>r&&!this.state.isBelowMinimumViewportHeight,t=Math.min(r,this.state.bottom-this.state.headerHeight);return c("React").createElement("div",babelHelpers["extends"]({},q,{style:l.root}),c("React").createElement("div",{style:{height:this.state.headerHeight}}),c("React").createElement(c("ResponsiveBlock.react"),{className:c("joinClasses")(this.props.headerClassName,s&&this.props.headerClassNameWhenSticky),onResize:this._measureHeader,style:{position:s?"fixed":"absolute",left:s?this.state.left:0,top:s?t:0,width:this.state.width,zIndex:1}},p),c("React").createElement(c("ResponsiveBlock.react"),{className:this.props.contentClassName,onResize:this._measureRect,style:l.content},o))}}),l={root:{position:"relative",zIndex:0},content:{zIndex:0}};f.exports=k}),null);
__d("SUITable.react",["cx","invariant","DOMEventListener","ExecutionEnvironment","immutable","React","ReactDOM","Set","StickyHeader.react","Style","SUIComponent","SUITableHeaderRow.react","SUITableRow.react","SUITableTypes","SUITheme","getElementRect","joinClasses","onViewportChanged","throttle"],(function a(b,c,d,e,f,g,h,i){"use strict";__p&&__p();var j,k,l=c("React").PropTypes,m=c("SUITableTypes").COLUMN_SHAPE,n=c("SUITableTypes").SELECTION_PROP_TYPE,o=20,p=40,q=1e3,r=5,s={borders:[],hasErrorByColumnIDByItemID:{},hasErrorByItemID:{},hasWarningByColumnIDByItemID:{},hasWarningByItemID:{},isDisabledByItemID:{},isHeaderSticky:true,isHighlightedByItemID:{},isModifiedByColumnIDByItemID:{},isSelectedByItemID:{},preloadSize:q,renderMode:"headerAndBody",rowHeight:48,selectionType:"none",tooltipByColumnIDByItemID:{}};j=babelHelpers.inherits(t,c("SUIComponent"));k=j&&j.prototype;function t(w,x){__p&&__p();k.constructor.call(this,w,x);this.$SUITable1=null;this.$SUITable2=null;this.$SUITable3=null;this.$SUITable4=null;this.state={visibleEnd:0,visibleStart:0};this.$SUITable5=c("throttle")(this.$SUITable5,500,this);this.$SUITable6=this.$SUITable6.bind(this);this.$SUITable7=this.$SUITable7.bind(this);this.$SUITable8=this.$SUITable8.bind(this);this.$SUITable9=this.$SUITable9.bind(this);this.$SUITable10=this.$SUITable10.bind(this)}t.prototype.componentWillReceiveProps=function(w){var x=c("immutable").Iterable(w.items);if(x&&w.totalItemCount&&x.size<w.totalItemCount&&x.size<this.props.preloadSize)this.$SUITable5(this.props.preloadSize);if(this.$SUITable4)this.$SUITable4.scheduleCheck()};t.prototype.componentDidMount=function(){__p&&__p();this.$SUITable1=null;this.$SUITable2=null;if(c("ExecutionEnvironment").canUseDOM){this.$SUITable4=c("onViewportChanged")(this.$SUITable10);var w=[],x=c("Style").getScrollParent(c("ReactDOM").findDOMNode(this.refs.table));do{w.push(c("DOMEventListener").add(x,"scroll",this.$SUITable6));if(x!==window)x=c("Style").getScrollParent(x.parentNode)}while(x!==window);this.$SUITable3=w}};t.prototype.componentWillUnmount=function(){__p&&__p();this.$SUITable2=null;this.$SUITable1=null;if(this.$SUITable4){this.$SUITable4.remove();this.$SUITable4=null}if(this.$SUITable3){this.$SUITable3.forEach(function(w){w.remove()});this.$SUITable3=[]}};t.prototype.$SUITable11=function(){return this.props.rowHeight+(this.props.borders.includes("row")||this.props.borders.includes("rowExceptLast")?1:0)};t.prototype.$SUITable5=function(w){this.props.onRequestMoreItems&&this.props.onRequestMoreItems(w)};t.prototype.$SUITable6=function(){var w=this.$SUITable2;if(w)this.$SUITable12(w)};t.prototype.$SUITable10=function(w){this.$SUITable2=w;this.$SUITable12(w)};t.prototype.$SUITable12=function(w){__p&&__p();var x=c("immutable").Iterable(this.props.items||[]),y=this.$SUITable11(),z=x.size,A=this.props.totalItemCount||0,B=A,C=0;if(this.props.disableVirtualization_NOT_FOR_PRODUCTION){this.setState({visibleStart:C,visibleEnd:B,lastRequestedLimit:0});return}var D=c("getElementRect")(c("ReactDOM").findDOMNode(this.refs.table)),E=D&&D.top||0,F=E+A*y;if(E<w.top){var G=Math.floor(-(E-w.top)/y);C=Math.min(A,Math.max(0,G))}if(F>w.bottom){var H=A-Math.floor((F-w.bottom)/y);B=Math.min(A,Math.max(H,0))}C=Math.max(0,C-r);B=Math.min(A,B+r);var I=B>z-o,J=void 0;if(z<A&&I){var K=B+(B-C);J=Math.min(K,A);J=Math.ceil(J/p)*p;var L=this.state.lastRequestedLimit,M=J&&J>z&&(!L||J>L);if(M)this.$SUITable5(J)}var N={visibleStart:C,visibleEnd:B,lastRequestedLimit:0};if(J)N.lastRequestedLimit=J;this.setState(N)};t.prototype.$SUITable7=function(w){var x=this.props.onSelectItems;if(!x)return;var y=this.props.items;!!y||i(0);var z=new(c("Set"))(w.toArray().map(function(B){return B.id})),A=y.filter(function(B){return z.has(B.id)&&!this.props.isSelectedByItemID[B.id]}.bind(this));x(A)};t.prototype.$SUITable9=function(w){var x=this.props.onUnselectItems;if(!x)return;var y=this.props.items;!!y||i(0);var z=new(c("Set"))(w.toArray().map(function(B){return B.id})),A=y.filter(function(B){return z.has(B.id)&&!!this.props.isSelectedByItemID[B.id]}.bind(this));x(A)};t.prototype.$SUITable8=function(w,event){var x=c("immutable").Iterable(this.props.items||[]),y=w;if(event.nativeEvent.shiftKey&&this.$SUITable1!==null&&this.$SUITable1!==undefined&&this.$SUITable1<x.size)y=this.$SUITable1;this.$SUITable1=w;var z=Math.min(w,y),A=Math.max(w,y),B=x.slice(z,A+1),C=x.get(w);if(this.props.isSelectedByItemID[C.id])this.$SUITable9(B);else this.$SUITable7(B)};t.prototype.$SUITable13=function(){this.props.columns.length>0||i(0);if(this.props.selectionType!=="none"){this.props.onSelectItems||i(0);this.props.onUnselectItems||i(0)}var w=c("immutable").Iterable(this.props.items||[]);w.size===this.props.totalItemCount||this.props.onRequestMoreItems||i(0)};t.prototype.render=function(){__p&&__p();var w,x=this;this.$SUITable13();var y=c("SUITheme").get(this).SUITable,z=c("immutable").Iterable(this.props.items||[]),A=this.$SUITable11(),B=c("React").createElement(c("SUITableHeaderRow.react"),{columns:this.props.columns,hasInnerBorders:this.props.borders.includes("inner"),hasTopBorder:this.props.borders.includes("top"),isSelectedByItemID:this.props.isSelectedByItemID,isVisible:true,items:z,onSelectItems:this.$SUITable7,onSortClick:this.props.onSortClick,onUnselectItems:this.$SUITable9,renderMode:this.props.renderMode,selectionType:this.props.selectionType,totalItemCount:this.props.totalItemCount,uniform:y}),C=this.props.errorContent;if(!C&&this.props.totalItemCount===0)C=this.props.noItemsMessage;if(C)C=c("React").createElement("div",{className:"_5jje","data-testid":"SUITable/message",style:babelHelpers["extends"]({},y.textStyles.table,{color:y.colors.noItemsMessage})},C);var D=void 0,E=void 0,F=void 0;if(!C)(function(){__p&&__p();if(x.state.visibleStart>0){var L=A*x.state.visibleStart;D=c("React").createElement("tr",{style:{height:L+"px"}})}var M=x.props.totalItemCount||0;if(x.state.visibleEnd<M){var N=M-x.state.visibleEnd,O=A*N;E=c("React").createElement("tr",{style:{height:O+"px"}})}var P=z.toArray(),Q=P.length;F=P.map(function(R,S){if(S<this.state.visibleStart||S>=this.state.visibleEnd)return null;var T=!!this.props.isDisabledByItemID[R.id],U=!!this.props.isHighlightedByItemID[R.id],V=!!this.props.hasErrorByItemID[R.id],W=!V&&!!this.props.hasWarningByItemID[R.id],X=this.props.selectionType==="row"||this.props.selectionType==="rowWithCheckbox";return c("React").createElement(c("SUITableRow.react"),{columns:this.props.columns,"data-testid":"SUITable/row",hasBottomBorder:this.props.borders.includes("row")||this.props.borders.includes("rowExceptLast")&&S<Q-1,hasError:V,hasErrorByColumnIDByItemID:this.props.hasErrorByColumnIDByItemID,hasInnerBorders:this.props.borders.includes("inner"),hasWarning:W,hasWarningByColumnIDByItemID:this.props.hasWarningByColumnIDByItemID,index:S,isDisabled:T,isHighlighted:U,isModifiedByColumnIDByItemID:this.props.isModifiedByColumnIDByItemID,isSelectable:X,isSelected:!!this.props.isSelectedByItemID[R.id],item:R,key:R.id,onRowMouseEnter:this.props.onRowMouseEnter,onRowMouseLeave:this.props.onRowMouseLeave,onToggleSelection:this.$SUITable8,rowHeight:this.props.rowHeight,selectionType:this.props.selectionType,tooltipByColumnIDByItemID:this.props.tooltipByColumnIDByItemID,uniform:y})}.bind(x)).filter(function(R){return!!R})})();var G=c("React").createElement("tbody",{className:this.props.className},D,F,E),H=this.props.isHeaderSticky&&this.props.renderMode==="headerAndBody",I=H||this.props.renderMode==="bodyOnly"?c("React").cloneElement(B,{isVisible:false}):B,J=c("React").createElement("table",{className:"_5jjd",ref:"table",style:{backgroundImage:v(c("SUITheme").get(this),y,A),backgroundPosition:!this.props.isHeaderSticky&&this.props.renderMode==="headerAndBody"?"0 40px":undefined,color:y.colors.text}},I,this.props.renderMode!=="headerOnly"&&G),K=H?c("React").createElement(c("StickyHeader.react"),{header:c("React").createElement("table",{className:"_5jjd"},B),headerClassNameWhenSticky:"_20h2",minimumViewportHeight:y.minimumViewportHeightForStickyHeader},J):J;return c("React").createElement("div",{className:c("joinClasses")(this.props.className,this.props.margin),style:this.props.style},K,this.props.renderMode!=="headerOnly"&&C)};t.defaultProps=s;t.propTypes={borders:l.arrayOf(l.oneOf(["inner","top","row","rowExceptLast"]).isRequired).isRequired,columns:l.arrayOf(m).isRequired,hasErrorByColumnIDByItemID:l.object.isRequired,hasErrorByItemID:l.object.isRequired,hasWarningByColumnIDByItemID:l.object.isRequired,hasWarningByItemID:l.object.isRequired,isDisabledByItemID:l.object.isRequired,isHeaderSticky:l.bool.isRequired,isHighlightedByItemID:l.object.isRequired,isModifiedByColumnIDByItemID:l.object.isRequired,isSelectedByItemID:l.object.isRequired,margin:l.string,noItemsMessage:l.node.isRequired,preloadSize:l.number.isRequired,renderMode:l.oneOf(["headerAndBody","headerOnly","bodyOnly"]).isRequired,rowHeight:l.number.isRequired,selectionType:n,tooltipByColumnIDByItemID:l.object.isRequired,errorContent:l.node,items:l.oneOfType([l.array,l.instanceOf(c("immutable").Iterable)]),onRequestMoreItems:l.func,onSelectItems:l.func,onSortClick:l.func,onUnselectItems:l.func,onRowMouseEnter:l.func,onRowMouseLeave:l.func,theme:l.instanceOf(c("SUITheme")),totalItemCount:l.number};var u={};function v(w,x,y){__p&&__p();if(!c("ExecutionEnvironment").canUseDOM)return"";var z=w.id+"_"+y.toString();if(u[z])return u[z];var A=document.createElement("canvas");A.height=y*2;A.width=A.height;var B=A.getContext("2d");if(!B)return"";B.fillStyle=x.colors.rowStripe;B.fillRect(0,0,A.width,y+1);B.fillStyle=x.colors.rowBackground;B.fillRect(0,y,A.width,y);u[z]="url("+A.toDataURL()+")";return u[z]}f.exports=t}),null);
__d("swfobject",["AsyncRequest","Bootloader","CSS","htmlSpecialChars"],(function a(b,c,d,e,f,g){__p&&__p();if(typeof h=="undefined")var h={};if(typeof h.util=="undefined")h.util={};if(typeof h.SWFObjectUtil=="undefined")h.SWFObjectUtil={};h.SWFObject=function(j,k,l,m,n,o,p,q,r,s){__p&&__p();if(!document.getElementById)return;this.DETECT_KEY=s?s:"detectflash";this.skipDetect=h.util.getRequestParameter(this.DETECT_KEY);this.params={};this.variables={};this.attributes=[];this.fallback_html="";this.fallback_js_fcn=function(){};if(j)this.setAttribute("swf",j);if(k)this.setAttribute("id",k);if(l)this.setAttribute("width",l);if(m)this.setAttribute("height",m);this.installedVer=h.SWFObjectUtil.getPlayerVersion();if(n){if(!(n instanceof Array))n=[n];var t;n.forEach(function(w){t=new h.PlayerVersion(w.toString().split("."));if(t.major==this.installedVer.major){this.setAttribute("version",t);return}else if(!this.getAttribute("version")||t.major<this.getAttribute("version").major)this.setAttribute("version",t)}.bind(this))}if(!window.opera&&document.all&&this.installedVer.major>7)if(!h.unloadSet){h.SWFObjectUtil.prepUnload=function(){var w=function w(){},x=function x(){};window.attachEvent("onunload",h.SWFObjectUtil.cleanupSWFs)};window.attachEvent("onbeforeunload",h.SWFObjectUtil.prepUnload);h.unloadSet=true}if(o)this.addParam("bgcolor",o);var u=p?p:"high";this.addParam("quality",u);this.setAttribute("useExpressInstall",false);this.setAttribute("doExpressInstall",false);var v=q?q:window.location;this.setAttribute("xiRedirectUrl",v);this.setAttribute("redirectUrl","");if(r)this.setAttribute("redirectUrl",r)};h.SWFObject.ieWorkaroundApplied=false;h.SWFObject.ensureIEWorkaroundAttached=function(){if(!h.SWFObject.ieWorkaroundApplied&&document.attachEvent){h.SWFObject.ieWorkaroundApplied=true;document.attachEvent("onpropertychange",h.SWFObject.onDocumentPropertyChange)}};h.SWFObject.onDocumentPropertyChange=function(event){if(event.propertyName=="title"){var j=document.title;if(j!=null&&j.indexOf("#!")!=-1){j=j.substring(0,j.indexOf("#!"));document.title=j}}};Object.assign(h.SWFObject.prototype,{useExpressInstall:function j(k){this.xiSWFPath=!k?"/swf/expressinstall.swf":k;this.setAttribute("useExpressInstall",true)},setAttribute:function j(k,l){this.attributes[k]=l},getAttribute:function j(k){return this.attributes[k]||""},addParam:function j(k,l){this.params[k]=l},getParams:function j(){return this.params},addVariable:function j(k,l){this.variables[k]=l},getVariable:function j(k){return this.variables[k]||""},getVariables:function j(){return this.variables},getVariablePairs:function j(){var k=[],l,m=this.getVariables();for(l in m)k[k.length]=l+"="+m[l];return k.join("&")},getSWFHTML:function j(){__p&&__p();var k,l,m;if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","PlugIn");this.setAttribute("swf",this.xiSWFPath)}l={type:"application/x-shockwave-flash",src:this.getAttribute("swf"),width:this.getAttribute("width"),height:this.getAttribute("height"),style:this.getAttribute("style")||"display: block;",id:this.getAttribute("id"),name:this.getAttribute("id")};var n=this.getParams();for(var o in n)l[o]=n[o];m=this.getVariablePairs();if(m)l.flashvars=m;k=i("embed",l,null)}else{if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","ActiveX");this.setAttribute("swf",this.xiSWFPath)}l={id:this.getAttribute("id"),classid:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",width:this.getAttribute("width"),height:this.getAttribute("height"),style:this.getAttribute("style")||"display: block;"};var p=i("param",{name:"movie",value:this.getAttribute("swf")},null),n=this.getParams();for(var o in n)p+=i("param",{name:o,value:n[o]},null);m=this.getVariablePairs();if(m)p+=i("param",{name:"flashvars",value:m},null);k=i("object",l,p)}return k},write:function j(k){__p&&__p();if(this.getAttribute("useExpressInstall")){var l=new h.PlayerVersion([6,0,65]);if(this.installedVer.versionIsValid(l)&&!this.installedVer.versionIsValid(this.getAttribute("version"))){this.setAttribute("doExpressInstall",true);this.addVariable("MMredirectURL",escape(this.getAttribute("xiRedirectUrl")));document.title=document.title.slice(0,47)+" - Flash Player Installation";this.addVariable("MMdoctitle",document.title)}}var m=typeof k=="string"?document.getElementById(k):k;if(!m)return false;c("CSS").addClass(m,"swfObject");m.setAttribute("data-swfid",this.getAttribute("id"));if(this.skipDetect||this.getAttribute("doExpressInstall")||this.installedVer.versionIsValid(this.getAttribute("version"))){h.SWFObject.ensureIEWorkaroundAttached();m.innerHTML=this.getSWFHTML();return true}else{if(this.getAttribute("redirectUrl")!="")document.location.replace(this.getAttribute("redirectUrl"));var n=this.getAttribute("version").major+"."+this.getAttribute("version").minor+"."+this.getAttribute("version").release+"."+this.getAttribute("version").build,o=this.installedVer.major+"."+this.installedVer.minor+"."+this.installedVer.release+"."+this.installedVer.build;this.fallback_js_fcn(o,n);m.innerHTML=this.fallback_html}return false}});h.SWFObjectUtil.getPlayerVersion=function(){__p&&__p();var j=new h.PlayerVersion([0,0,0,0]),k;if(navigator.plugins&&navigator.mimeTypes.length)for(var l=0;l<navigator.plugins.length;l++)try{var m=navigator.plugins[l];if(m.name=="Shockwave Flash"){k=new h.PlayerVersion(m.description.replace(/([a-zA-Z]|\s)+/,"").replace(/(\s+(r|d)|\s+b[0-9]+)/,".").split("."));if(typeof j=="undefined"||k.major>j.major||k.major==j.major&&(k.minor>j.minor||k.minor==j.minor&&(k.release>j.release||k.release==j.release&&k.build>j.build)))j=k}}catch(n){}else if(navigator.userAgent&&navigator.userAgent.indexOf("Windows CE")>=0){var o=1,p=3;while(o)try{p++;o=new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+p);j=new h.PlayerVersion([p,0,0])}catch(q){o=null}}else{try{var o=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7")}catch(r){try{var o=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");j=new h.PlayerVersion([6,0,21]);o.AllowScriptAccess="always"}catch(s){if(j.major==6)return j}try{o=new ActiveXObject("ShockwaveFlash.ShockwaveFlash")}catch(t){}}if(o!=null)j=new h.PlayerVersion(o.GetVariable("$version").split(" ")[1].split(","))}return j};h.PlayerVersion=function(j){this.major=j[0]!=null?parseInt(j[0],10):0;this.minor=j[1]!=null?parseInt(j[1],10):0;this.release=j[2]!=null?parseInt(j[2],10):0;this.build=j[3]!=null?parseInt(j[3],10):0};h.PlayerVersion.prototype.versionIsValid=function(j){__p&&__p();if(this.major<j.major)return false;if(this.major>j.major)return true;if(this.minor<j.minor)return false;if(this.minor>j.minor)return true;if(this.release<j.release)return false;if(this.release>j.release)return true;if(this.build<j.build)return false;return true};h.util={getRequestParameter:function j(k){__p&&__p();var l=document.location.search||document.location.hash;if(k==null)return l;if(l){var m=l.substring(1).split("&");for(var n=0;n<m.length;n++)if(m[n].substring(0,m[n].indexOf("="))==k)return m[n].substring(m[n].indexOf("=")+1)}return""}};h.SWFObjectUtil.cleanupSWFs=function(){var j=document.getElementsByTagName("OBJECT");for(var k=j.length-1;k>=0;k--){j[k].style.display="none";for(var l in j[k])if(typeof j[k][l]=="function")j[k][l]=function(){}}};if(!document.getElementById&&document.all)document.getElementById=function(j){return document.all[j]};h.spawn_flash_update_dialog=function(){new(c("AsyncRequest"))().setURI("/ajax/flash_update_dialog.php").setMethod("GET").setReadOnly(true).send()};h.showFlashErrorDialog=function(j,k){c("Bootloader").loadModules(["ErrorDialog"],function(l){l.show(j,k)},"swfobject")};function i(j,k,l){__p&&__p();var m=/^[A-Za-z0-9\-]+$/;if(!j.match(m))throw new Error("Invalid tag "+j);var n="<"+j;for(var o in k){if(!o.match(m))throw new Error("Invalid attr "+o);n+=" "+o+'="'+c("htmlSpecialChars")(k[o])+'"'}if(l===null)return n+"/>";else return n+">"+l+"</"+j+">"}f.exports=b.deconcept||h}),null);
__d("TimeFormatUtil",["DateConsts","formatDate"],(function a(b,c,d,e,f,g){__p&&__p();h.prototype.formatTime=function(i){"use strict";return c("formatDate")(new Date(i),"i:s.X",{skipPatternLocalization:true,utc:true})};h.prototype.formatTimeForSRT=function(i){"use strict";return c("formatDate")(new Date(i),"H:i:s,X",{skipPatternLocalization:true,utc:true})};h.prototype.getMMSS=function(i){"use strict";return c("formatDate")(new Date(i),"i:s",{skipPatternLocalization:true,utc:true})};h.prototype.parseToTimeInMs=function(i){"use strict";if(/^\d*:\d*\.\d*$/.test(i)){var j=i.split("."),k=j[0].split(":"),l=parseInt(j[1],10)+(parseInt(k[0],10)*c("DateConsts").SEC_PER_MIN+parseInt(k[1],10))*c("DateConsts").MS_PER_SEC;return l?l:0}return 0};function h(){"use strict"}f.exports=new h()}),null);
__d("VideoCaptionUtil",["fbt","GraphAPI","GraphAPIPolling","SimpleXUIDialog","TimeFormatUtil"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i="2.5",j=18e4,k=3e3;l.prototype.download=function(m,n,o){var p=this.saveToString(m);return this.downloadCaptionFile(p,o,n)};l.prototype.downloadCaptionFile=function(m,n,o){try{var p=new Blob([m],{type:"text/plain"}),q=window.URL.createObjectURL(p),r=document.createElement("a");r.href=q;r.setAttribute("download",n+"."+o+".srt");r.click();return true}catch(s){c("SimpleXUIDialog").show(h._("Something went wrong. We're working getting this fixed as soon as we can. You may be able to try again."),h._("Download Error"))}return false};l.prototype.saveToString=function(m){var n=1,o="";m.forEach(function(p){var q=p.node,r=q.text.trim();if(r){var s=q.start_time_in_ms+q.duration_in_ms;o=o+n+"\n"+c("TimeFormatUtil").formatTimeForSRT(q.start_time_in_ms)+" --> "+c("TimeFormatUtil").formatTimeForSRT(s)+"\n"+r+"\n\n";n++}});return o};l.prototype.saveToFile=function(m,n){if(!m)return null;var o=this.saveToString(m);if(!o)return null;n=n||"en_US";return new File([o],"captions_auto_file."+n+".srt",{type:"text/plain",lastModified:new Date()})};l.prototype.$VideoCaptionUtil1=function(m,n,o){__p&&__p();var p={},q=c("GraphAPIPolling").poll(function(){return c("GraphAPI")(i).object("video",m.toString()).edge("auto_generated_captions").get({fields:["id","locale","last_published_time","last_save_time","review_expire_time","status"],access_token:n})},function(r){if(!r.data||r.data.length===0){var s=o&&r.data.length===0;return s}p=r;return true},j,k);return q(p).then(function(){return p})};l.prototype.fetchAutoCaption=function(m,n){return this.$VideoCaptionUtil1(m,n,false)};l.prototype.fetchAutoCaptionFast=function(m,n){return this.$VideoCaptionUtil1(m,n,true)};function l(){}f.exports=new l()}),null);
__d("VideoContainerType",[],(function a(b,c,d,e,f,g){f.exports=Object.freeze({LEGACY:0,CONTAINED_POST_ATTACHMENT:1,SAY_THANKS_DEPRECATED:2,LOOK_NOW_DEPRECATED:3,BROADCAST:4,ALBUM_MULTIMEDIA_POST:5,UNLISTED:6,NO_STORY:7,GOODWILL_ANNIVERSARY_DEPRECATED:8,PROFILE_VIDEO:9,DIRECT_INBOX:10,DIRECT_INBOX_REACTION:11,STORYLINE:12,GROUP_POST:14,ATLAS_VIDEO:15,LIVE_PHOTO:16,TEMP_MULTIMEDIA_POST:17,GOODWILL_ANNIVERSARY_PROMOTION_DEPRECATED:18,GOODWILL_VIDEO_SHARE:19,GOODWILL_VIDEO_PROMOTION:20,COPYRIGHT_REFERENCE_VIDEO:21,CANVAS:22,MOMENTS_VIDEO:23,APP_REVIEW_SCREENCAST:25,VIDEO_COMMENT:26,COPYRIGHT_REFERENCE_BROADCAST:27,OFFERS_VIDEO:28,JOB_APPLICATION_VIDEO:29,STORYLINE_WITH_EXTERNAL_MUSIC:30,JOB_OPENING_VIDEO:31,PAGE_SLIDESHOW_VIDEO:32,INSTANT_ARTICLE:33,PRODUCT_VIDEO:34,DIRECTED_POST_ATTACHMENT:35,PROFILE_INTRO_CARD:36,ISSUE_MODULE:37,GOODWILL_VIDEO_TOKEN_REQUIRED:38,INSTANT_APPLICATION_PREVIEW:39,REPLACE_VIDEO:40,FACECAST_DVR:41,PIXELCLOUD:42,SLIDESHOW_SHAKR:43,INSPIRATION_VIDEO:44,TAROT_DIGEST:45,SLIDESHOW_ANIMOTO:46,AUDIO_BROADCAST:47,LEARN:48,CULTURAL_MOMENT_DEPRECATED:49,YOUR_DAY:50,PAGES_COVER_VIDEO:51,GOODWILL_VIDEO_CONTAINED_SHARE:54,DCO_AD_ASSET_FEED:55,CONTAINED_POST_BROADCAST:56,QUICK_PROMOTION:57,DYNAMIC_ITEM_DISPLAY_BUNDLE:58,EVENT_TOUR:59,EVENT_COVER_VIDEO:60,AD_DERIVATIVE:61,CONTAINED_POST_AUDIO_BROADCAST:62,LIVE_CREATIVE_KIT_VIDEO:63,ALOHA_SUPERFRAME:64,INSTAGRAM_VIDEO_COPY:65,AD_BREAK_PREVIEW:66,ALOHA_CALL_VIDEO:67,STORY_MEMORY_VIDEO:68,BRAND_EQUITY_POLL_VIDEO:69,PROFILE_COVER_VIDEO:70,DYNAMIC_ITEM_VIDEO:71,PAGE_REVIEW_SCREENCAST:72,HEURISTIC_PREVIEW:73,GAME_CLIP:74,WOODHENGE:75})}),null);
__d("VideoCopyrightPostGraphFields",[],(function a(b,c,d,e,f,g){f.exports=Object.freeze({ID:"id",ATTRIBUTION_ID:"attribution_id",COPYRIGHT_CONTENT_ID:"copyright_content_id",IS_REFERENCE_VIDEO:"is_reference_video",MONITORING_TYPE:"monitoring_type",RULE_ID:"rule_id",WHITELISTED_IDS:"whitelisted_ids",WHITELISTED_IG_USER_IDS:"whitelisted_ig_user_ids",OWNERSHIP_COUNTRIES:"ownership_countries",EXCLUDED_OWNERSHIP_COUNTRIES:"excluded_ownership_countries",EXCLUDED_OWNERSHIP_SEGMENTS:"excluded_ownership_segments",APPEND_EXCLUDED_OWNERSHIP_SEGMENTS:"append_excluded_ownership_segments",IS_REFERENCE_DISABLED:"is_reference_disabled",OPS_OVERRIDE_MONITORING_TYPE:"ops_override_monitoring_type",IS_REFERENCE_DISABLED_BY_OPS:"is_reference_disabled_by_ops",CONTENT_CATEGORY:"content_category",PAUSE_LIVE_MONITORING:"pause_live_monitoring",PAUSE_LIVE_MONITORING_TYPE:"pause_live_monitoring_type"})}),null);
__d("VideoCopyrightAPI",["fbt","regeneratorRuntime","Promise","GraphAPI","SimpleXUIDialog","VideoContainerType","VideoCopyrightPostGraphFields","VideoCopyrightUITypedLogger","VideoCopyrightUtils"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i="NO_RULE_SELECTED",j={toAPI:function k(l,m){__p&&__p();var n,o;return c("regeneratorRuntime").async(function p(q){__p&&__p();while(1)switch(q.prev=q.next){case 0:n={};if(m.copyrightRuleID!=undefined)n[c("VideoCopyrightPostGraphFields").RULE_ID]=m.copyrightRuleID;if("copyrightAttributionID"in m)n[c("VideoCopyrightPostGraphFields").ATTRIBUTION_ID]=m.copyrightAttributionID||0;if(m.copyrightMonitoringType!=undefined)n[c("VideoCopyrightPostGraphFields").MONITORING_TYPE]=m.copyrightMonitoringType;if(m.copyrightOwnershipCountries!=undefined)if(m.areCopyrightCountriesIncluded)n[c("VideoCopyrightPostGraphFields").OWNERSHIP_COUNTRIES]=m.copyrightOwnershipCountries;else n[c("VideoCopyrightPostGraphFields").EXCLUDED_OWNERSHIP_COUNTRIES]=m.copyrightOwnershipCountries;if(m.isReferenceFileDisabled!=undefined)n[c("VideoCopyrightPostGraphFields").IS_REFERENCE_DISABLED]=!!m.isReferenceFileDisabled;if(m.copyrightWhitelistedFBUsers!=undefined)n[c("VideoCopyrightPostGraphFields").WHITELISTED_IDS]=(m.copyrightWhitelistedFBUsers||[]).map(function(r){return r.id});if(!Array.isArray(m.copyrightWhitelistedIGUserNames)){q.next=12;break}q.next=10;return c("regeneratorRuntime").awrap(c("VideoCopyrightUtils").convertIGUserNameToIDs(l,m.copyrightWhitelistedIGUserNames));case 10:o=q.sent;if(Array.isArray(o))n[c("VideoCopyrightPostGraphFields").WHITELISTED_IG_USER_IDS]=o.filter(function(r){return r!=null});case 12:if(m.video_container||m.isReferenceVideo)n[c("VideoCopyrightPostGraphFields").IS_REFERENCE_VIDEO]=m.video_container===c("VideoContainerType").COPYRIGHT_REFERENCE_VIDEO||m.isReferenceVideo===true;if(m.copyrightExcludedSegments!=undefined){n[c("VideoCopyrightPostGraphFields").EXCLUDED_OWNERSHIP_SEGMENTS]=m.copyrightExcludedSegments;n[c("VideoCopyrightPostGraphFields").APPEND_EXCLUDED_OWNERSHIP_SEGMENTS]=m.shouldAppendExcludedSegments||false}if(m.selectedCategory!=undefined)n[c("VideoCopyrightPostGraphFields").CONTENT_CATEGORY]=m.selectedCategory;return q.abrupt("return",n);case 16:case"end":return q.stop()}},null,this)},copyrightVideo:function k(l,m,n,o,p,q){__p&&__p();var r,s,t;return c("regeneratorRuntime").async(function u(v){__p&&__p();while(1)switch(v.prev=v.next){case 0:r=o.copyrightRuleID;if(!(r===i)){v.next=5;break}s=this._getErrorMessageForNoRuleSelected();this._showErrorDialog(s);return v.abrupt("return",c("Promise").reject(new Error()));case 5:v.next=7;return c("regeneratorRuntime").awrap(this.toAPI(m,o));case 7:t=v.sent;t[c("VideoCopyrightPostGraphFields").COPYRIGHT_CONTENT_ID]=n;return v.abrupt("return",c("GraphAPI")(c("VideoCopyrightUtils").GRAPH_API_VERSION).object("page",m).edge("video_copyrights").post(babelHelpers["extends"]({},t,{access_token:l})).then(function(w){if(q)q(w);this._logEvent("copyright_created",p,m,n,null,t)}.bind(this),function(w){this._logEvent("api_error",p,m,n,null,t,w);this._showErrorDialog(w);throw w}.bind(this)));case 10:case"end":return v.stop()}},null,this)},uncopyrightVideo:function k(l,m,n,o,p,q,r){__p&&__p();var s;return c("regeneratorRuntime").async(function t(u){__p&&__p();while(1)switch(u.prev=u.next){case 0:u.next=2;return c("regeneratorRuntime").awrap(this.toAPI(m,p));case 2:s=u.sent;return u.abrupt("return",c("GraphAPI")(c("VideoCopyrightUtils").GRAPH_API_VERSION).object("video_copyright",o).remove({access_token:l}).then(function(v){if(r)r(v);this._logEvent("copyright_deleted",q,m,n,o,s)}.bind(this),function(v){this._logEvent("api_error",q,m,n,o,s,v);throw v}.bind(this)));case 4:case"end":return u.stop()}},null,this)},editVideoCopyright:function k(l,m,n,o,p,q){__p&&__p();var r;return c("regeneratorRuntime").async(function s(t){__p&&__p();while(1)switch(t.prev=t.next){case 0:t.next=2;return c("regeneratorRuntime").awrap(this.toAPI(m,p));case 2:r=t.sent;return t.abrupt("return",c("GraphAPI")(c("VideoCopyrightUtils").GRAPH_API_VERSION).object("video_copyright",o).post(babelHelpers["extends"]({},r,{access_token:l})).then(function(u){return this._logEvent("copyright_edited",q,m,n,o,r)}.bind(this),function(u){this._logEvent("api_error",q,m,n,o,r,u);this._showErrorDialog(u);throw u}.bind(this)));case 4:case"end":return t.stop()}},null,this)},reassignVideoCopyrightMatchRule:function k(l,m,n,o,p){return c("GraphAPI")(c("VideoCopyrightUtils").GRAPH_API_VERSION).object("video_copyright",n).post({rule_id:o,access_token:l}).then(function(q){new(c("VideoCopyrightUITypedLogger"))().setEvent("reassign_match_rule").setSource(p).setCopyrightID(n).setRightsHolderID(m).setRuleID(o).log()},function(q){new(c("VideoCopyrightUITypedLogger"))().setEvent("api_error").setSource(p).setCopyrightID(n).setRightsHolderID(m).setMessage("Tried to assign to rule ID "+o).setExceptionMessage(q).log();this._showErrorDialog(q);throw q}.bind(this))},updateAttribution:function k(l,m,n,o,p){return c("GraphAPI")(c("VideoCopyrightUtils").GRAPH_API_VERSION).object("video_copyright",n).post({attribution_id:o==null?0:o,access_token:l})},_logEvent:function k(event,l,m,n,o,p,q){new(c("VideoCopyrightUITypedLogger"))().setEvent(event).setSource(l).setCopyrightContentID(n).setCopyrightID(o).setRightsHolderID(m).setMonitoringType(p[c("VideoCopyrightPostGraphFields").MONITORING_TYPE]).setIsReference(p[c("VideoCopyrightPostGraphFields").IS_REFERENCE_VIDEO]).setOwnershipCountries((p[c("VideoCopyrightPostGraphFields").OWNERSHIP_COUNTRIES]||[]).join(",")).setWhitelistedIds((p[c("VideoCopyrightPostGraphFields").WHITELISTED_IDS]||[]).join(",")).setAttributionID(p[c("VideoCopyrightPostGraphFields").ATTRIBUTION_ID]).setRuleID(p[c("VideoCopyrightPostGraphFields").RULE_ID]).setExceptionMessage(q).log()},_showErrorDialog:function k(l){c("SimpleXUIDialog").show(l.error_user_msg||h._("Your video can't be monitored for matching uploads right now. Please try again later."),l.error_user_title||h._("Can't monitor video"))},_getErrorMessageForNoRuleSelected:function k(){return{error_user_msg:h._("Match rule is required.")}}};f.exports=j}),null);
__d("PageSettingsRef",[],(function a(b,c,d,e,f,g){f.exports=Object.freeze({AYMT:"aymt",CTA:"cta",NOTIF:"notif",NOTIF_SETTINGS:"notifs",QP:"qp",TEST:"test",NAVBAR:"navbar",PAGES_MANAGER:"pages_manager",PAGE_ACTIONS:"page_actions",ADD_ACTION:"add_action",PAGE_EDIT:"page_edit",GLOBAL_PAGE_EDIT:"gpe",MANAGE_TABS_TIMELINE:"mtt",SHOP_SETTING_BANNER:"shop_setting_banner",SHOP_SETTINGS:"shop_settings",COMMERCE:"commerce",PRODUCT_COMPOSER:"product_composer",INSTANT_ARTICLES_ACTIVATION:"iaa",INSTANT_ARTICLES_SIGN_UP:"iasu",INSTANT_ARTICLES_CREATE:"iac",BOOSTED_POST_SETTINGS:"bps",BOOSTED_POST_TARGETING_ERRORS:"bpte",ADS_NOTICE:"ads_notice",INSTAGRAM_ADS:"instagram_ads",WHATSAPP:"whatsapp",NAME_REVIEW:"name_review",NAME_CHANGE_REQUEST:"ncr",VIDEO_CROSSPOSTING:"vcp",VIDEO_COPYRIGHT:"vcr",VIDEO_COMPOSER:"video_composer",SUPPORT_INBOX:"support_inbox",TPS:"tps",EVENT_TIP:"event_tip",TIMELINE:"timeline",LITE:"lite",PROMO:"promo",SERVICE:"service",REACTION:"reaction",ALARM_CLOCK:"ac",ASSISTANT:"assistant",LOST_PAGE_WARNING:"lpw",LOCATIONS:"locations",FAN_LIST:"fan_list",ADD_TO_FAVORITE:"atf",PLACE_TIPS:"place_tips",COMPOSER:"composer",SUPPORT:"support",DONATIONS:"donations",FRIEND_INVITER:"invites",PEOPLE_AND_OTHER_PAGES:"paop",UFI:"ufi",INCOMPLETE_PAGE_LIST:"ipl",CONTENT_VISIBILITY:"pcv",ADDRESS_PREVIEW:"apv",PRIMARY_PAGE_REACTIVATION:"ppr",BEACON:"beacon",MN_DEVELOPER:"messenger_developer",SHOWS_ACTION_BAR:"shows_action_bar",ADS_PERSONAL_SETTINGS:"ads_personal_settings",VERIFICATION_QP:"verification_qp",LIVE_CREATIVE_KIT_UPSELL:"live_creative_kit_upsell",PAGE_HIPRI_TIPS_CARD:"tips_card",MEDIA_CREATOR_HUB:"media_creator_hub",BC_MULTIPOST_REVIEW:"bc_multipost_review"})}),null);
__d("VideoCopyrightClaimAdEarningsText",["fbt","PageSettingsRef","XPagesManagerSettingsController"],(function a(b,c,d,e,f,g,h){"use strict";var i={getRightsManagerSettingsURI:function j(k){return c("XPagesManagerSettingsController").getURIBuilder().setString("page_token",k).setString("tab","video_copyright_management").setString("ref",c("PageSettingsRef").VIDEO_COPYRIGHT).getURI()},getTitle:function j(){return h._("Claim Ad Earnings")},getMessage:function j(){return h._("Pages and profiles can now earn money through ad breaks placed in their videos. If you find content posted by others that belongs to you, you may be able to claim a share of the ad earnings. Learn more.")}};f.exports=i}),null);
__d("VideoCopyrightGeoSearchSource",["AbstractSearchSource","CopyrightCountryNames","SearchableEntry","filterObject","forEachObject"],(function a(b,c,d,e,f,g){__p&&__p();var h,i;h=babelHelpers.inherits(j,c("AbstractSearchSource"));i=h&&h.prototype;j.prototype.searchImpl=function(k,l){__p&&__p();var m,n=arguments.length<=2||arguments[2]===undefined?{}:arguments[2];"use strict";var o=[];if(k)(function(){var p=k.toLowerCase(),q=c("filterObject")(c("CopyrightCountryNames"),function(s){return s.toString().toLowerCase().includes(p)}),r=0;c("forEachObject")(q,function(s,t){o.push(new(c("SearchableEntry"))({order:r++,title:s,uniqueID:t}))})})();l(o,k)};function j(){"use strict";h.apply(this,arguments)}f.exports=j}),null);
__d("VideoCopyrightMatchContentType",["ix","fbt","fbglyph"],(function a(b,c,d,e,f,g,h,i){var j={VIDEO_AND_AUDIO:{value:"VIDEO_AND_AUDIO",label:i._("Video and Audio"),glyphs:[h("122523"),h("123754")]},VIDEO_ONLY:{value:"VIDEO_ONLY",label:i._("Video Only"),glyphs:[h("122523")]},AUDIO_ONLY:{value:"AUDIO_ONLY",label:i._("Audio Only"),glyphs:[h("123754")]}};f.exports=j}),null);
__d("VideoCopyrightMatchPrivacyType",["fbt"],(function a(b,c,d,e,f,g,h){var i={PUBLIC_ONLY:{value:"PUBLIC_ONLY",label:h._("Public videos only")},PRIVATE_ONLY:{value:"PRIVATE_ONLY",label:h._("Private videos only")},PUBLIC_OR_PRIVATE:{value:"PUBLIC_OR_PRIVATE",label:h._("Both public and private videos")}};f.exports=i}),null);
__d("PolicyRuleAction",[],(function a(b,c,d,e,f,g){__p&&__p();var h=0;function i(j,k){"use strict";this.$PolicyRuleAction1=j;this.$PolicyRuleAction2=k||[];this.$PolicyRuleAction3=++h}i.prototype.getActionType=function(){"use strict";return this.$PolicyRuleAction1};i.prototype.getID=function(){"use strict";return this.$PolicyRuleAction3};i.prototype.getConditions=function(){"use strict";return this.$PolicyRuleAction2};i.prototype.pushCondition=function(j){"use strict";this.$PolicyRuleAction2.push(j)};i.prototype.pushConditionByIndex=function(j,k){"use strict";this.$PolicyRuleAction2.splice(k,0,j)};i.prototype.removeCondition=function(j){"use strict";var k=this.$PolicyRuleAction2.indexOf(j);this.$PolicyRuleAction2.splice(k,1)};i.prototype.setActionType=function(j){"use strict";this.$PolicyRuleAction1=j};i.prototype.areConditionsValid=function(){"use strict";return this.$PolicyRuleAction2.every(function(j){return j.isValid&&j.isValid()})};f.exports=i}),null);
__d("PolicyRuleCondition",["fbt"],(function a(b,c,d,e,f,g,h){__p&&__p();function i(j,k,l){"use strict";this.$PolicyRuleCondition1=j;this.$PolicyRuleCondition2=k;this.$PolicyRuleCondition3=l;this.$PolicyRuleCondition4=null}i.prototype.getConditionType=function(){"use strict";return this.$PolicyRuleCondition1};i.prototype.setConditionType=function(j){"use strict";this.$PolicyRuleCondition1=j};i.prototype.getOption=function(){"use strict";return this.$PolicyRuleCondition2};i.prototype.setOption=function(j){"use strict";this.$PolicyRuleCondition2=j};i.prototype.getValue=function(){"use strict";return this.$PolicyRuleCondition3};i.prototype.setValue=function(j){"use strict";this.$PolicyRuleCondition3=j};i.prototype.isValid=function(){"use strict";return this.getError()==null};i.prototype.setCustomError=function(j){"use strict";this.$PolicyRuleCondition4=j};i.prototype.getError=function(j){"use strict";if(this.$PolicyRuleCondition4)return this.$PolicyRuleCondition4;j=j?j:this.$PolicyRuleCondition3;if(!j||j.length===0)return h._("Provide a value for this condition.")};f.exports=i}),null);
__d("VideoCopyrightMatchPrivacyTypeName",[],(function a(b,c,d,e,f,g){f.exports=Object.freeze({PUBLIC_ONLY:"PUBLIC_ONLY",PRIVATE_ONLY:"PRIVATE_ONLY",PUBLIC_OR_PRIVATE:"PUBLIC_OR_PRIVATE"})}),null);
__d("VideoCopyrightRuleConditionOption",["fbt"],(function a(b,c,d,e,f,g,h){"use strict";var i={GREATER_THAN:{key:"GREATER_THAN",untranslated:"Greater than",text:h._("Greater than"),symbol:">"},LESS_THAN:{key:"LESS_THAN",untranslated:"Less than",text:h._("Less than"),symbol:"<"},IN_SET:{key:"IN_SET",untranslated:"Is",text:h._("Is"),alias:"INCLUDE"},NOT_IN_SET:{key:"NOT_IN_SET",untranslated:"Is not",text:h._("Is not"),alias:"NOT_INCLUDE"},IS:{key:"IS",untranslated:"Is",text:h._("Is")},INCLUDE:{key:"INCLUDE",untranslated:"Include countries",text:h._("Include countries"),alias:"IN_SET"},NOT_INCLUDE:{key:"NOT_INCLUDE",untranslated:"Not include countries",text:h._("Exclude countries"),alias:"NOT_IN_SET"},WORLDWIDE:{key:"WORLDWIDE",untranslated:"Worldwide",text:h._("Worldwide")}};f.exports=i}),null);
__d("VideoCopyrightRuleCondition",["ClockFormatConverter","PolicyRuleCondition","VideoCopyrightRuleConditionOption","VideoCopyrightRuleConditionType","VideoCopyrightRuleGraphFields","VideoCopyrightRuleOperatorType","VideoCopyrightMatchPrivacyTypeName","VideoCopyrightMatchContentType","VideoCopyrightPublisherType"],(function a(b,c,d,e,f,g){__p&&__p();var h,i;h=babelHelpers.inherits(j,c("PolicyRuleCondition"));i=h&&h.prototype;function j(k,l,m){"use strict";i.constructor.call(this,k,l,m)}j.prototype.toAPI=function(){"use strict";var k={},l=this.getValue();k[c("VideoCopyrightRuleGraphFields").TYPE]=this.getConditionType();k[c("VideoCopyrightRuleGraphFields").OPERATOR]=c("VideoCopyrightRuleOperatorType")[this.getOption()];if(this.getConditionType()===c("VideoCopyrightRuleConditionType").OVERLAP_DURATION)l=c("ClockFormatConverter").timestampToMillis(l);k[c("VideoCopyrightRuleGraphFields").VALUE]=l;return k};j.prototype.toAPIforNewMatchRule=function(){"use strict";__p&&__p();var k={},l=this.getValue();k[c("VideoCopyrightRuleGraphFields").TYPE]=this.getConditionType();if(this.getConditionType()===c("VideoCopyrightRuleConditionType").GEO)k[c("VideoCopyrightRuleGraphFields").OPERATOR]=c("VideoCopyrightRuleConditionOption")[this.getOption()].alias;else k[c("VideoCopyrightRuleGraphFields").OPERATOR]=c("VideoCopyrightRuleOperatorType")[this.getOption()];if(this.getConditionType()===c("VideoCopyrightRuleConditionType").OVERLAP_DURATION)l=c("ClockFormatConverter").timestampToMillis(l);if(this.getConditionType()===c("VideoCopyrightRuleConditionType").PRIVACY&&Array.isArray(l))if(l.length>1)l=c("VideoCopyrightMatchPrivacyTypeName").PUBLIC_OR_PRIVATE;else l=l[0];if(this.getConditionType()===c("VideoCopyrightRuleConditionType").PUBLISHER_TYPE&&Array.isArray(l))l=l[0];k[c("VideoCopyrightRuleGraphFields").VALUE]=l;return k};j.fromAPI=function(k){"use strict";var l=k[c("VideoCopyrightRuleGraphFields").TYPE],m=k[c("VideoCopyrightRuleGraphFields").OPERATOR],n=k[c("VideoCopyrightRuleGraphFields").VALUE];switch(l){case c("VideoCopyrightRuleConditionType").OVERLAP_DURATION:n=c("ClockFormatConverter").millisToTimestamp(parseInt(n,10)).toString();break;case c("VideoCopyrightRuleConditionType").MONITORING_TYPE:n=Array.isArray(n)?n:n.split(",");break}return new this(l,m,n)};j.fromAPIforNewMatchRule=function(k,l){"use strict";__p&&__p();var m=k[c("VideoCopyrightRuleGraphFields").TYPE],n=k[c("VideoCopyrightRuleGraphFields").OPERATOR],o=k[c("VideoCopyrightRuleGraphFields").VALUE];switch(m){case c("VideoCopyrightRuleConditionType").OVERLAP_DURATION:o=c("ClockFormatConverter").millisToTimestamp(parseInt(o,10)).toString();break;case c("VideoCopyrightRuleConditionType").MATCH_OVERLAP_PERCENTAGE:case c("VideoCopyrightRuleConditionType").REFERENCE_OVERLAP_PERCENTAGE:o=o.toString();break;case c("VideoCopyrightRuleConditionType").GEO:if(c("VideoCopyrightRuleConditionOption")[k[c("VideoCopyrightRuleGraphFields").OPERATOR]].alias)n=c("VideoCopyrightRuleConditionOption")[k[c("VideoCopyrightRuleGraphFields").OPERATOR]].alias;break;case c("VideoCopyrightRuleConditionType").PUBLISHER_TYPE:o=Array.isArray(o)?o:[o];if(o.length===Object.keys(c("VideoCopyrightPublisherType")).length&&!l)return null;break;case c("VideoCopyrightRuleConditionType").MONITORING_TYPE:o=Array.isArray(o)?o:[o];if(o.length===Object.keys(c("VideoCopyrightMatchContentType")).length&&!l)return null;break;case c("VideoCopyrightRuleConditionType").PRIVACY:var p=[c("VideoCopyrightMatchPrivacyTypeName").PUBLIC_ONLY,c("VideoCopyrightMatchPrivacyTypeName").PRIVATE_ONLY];if(o===c("VideoCopyrightMatchPrivacyTypeName").PUBLIC_OR_PRIVATE){if(!l)return null;o=p}else{o=Array.isArray(o)?o:[o];if(o.length===p.length&&!l)return null}break}return new this(m,n,o)};f.exports=j}),null);
__d("PolicyRuleTokenizedTypeahead.react",["React","SearchableEntry","XUITokenizer.react"],(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;function k(){__p&&__p();var l,m;"use strict";for(var n=arguments.length,o=Array(n),p=0;p<n;p++)o[p]=arguments[p];return m=(l=i.constructor).call.apply(l,[this].concat(o)),this.state={entries:[],queryString:"",searchSource:this.props.searchSource},this.$PolicyRuleTokenizedTypeahead2=function(q){var r=this.props.value;r.push(q.getUniqueID().toString());this.props.onEntriesUpdated(r)}.bind(this),this.$PolicyRuleTokenizedTypeahead3=function(q){var r=this.props.value;r.splice(r.indexOf(q.getUniqueID().toString()),1);this.props.onEntriesUpdated(r)}.bind(this),this.$PolicyRuleTokenizedTypeahead4=function(event){this.setState({queryString:event.target.value})}.bind(this),m}k.prototype.componentDidMount=function(){"use strict";this.$PolicyRuleTokenizedTypeahead1(this.props)};k.prototype.componentWillReceiveProps=function(l){"use strict";this.$PolicyRuleTokenizedTypeahead1(l)};k.prototype.$PolicyRuleTokenizedTypeahead1=function(l){"use strict";var m=[],n=0;l.value.forEach(function(o){if(l.searchSourceLabels[o]){var p=new(c("SearchableEntry"))({order:n,title:l.searchSourceLabels?l.searchSourceLabels[o]:o,uniqueID:o});m.push(p);n++}});this.setState({entries:m,searchSource:l.searchSource})};k.prototype.render=function(){"use strict";return c("React").createElement(c("XUITokenizer.react"),{className:this.props.className,disabled:this.props.disabled,entries:this.state.entries,onAddEntryAttempt:this.$PolicyRuleTokenizedTypeahead2,onQueryStringChange:this.$PolicyRuleTokenizedTypeahead4,onRemoveEntryAttempt:this.$PolicyRuleTokenizedTypeahead3,placeholder:this.props.placeholder,searchSource:this.state.searchSource,viewStyle:"textonly",xuiError:this.props.error})};k.propTypes={className:j.string,disabled:j.bool,name:j.string.isRequired,error:j.string,placeholder:j.string,searchSource:j.object,searchSourceLabels:j.object,onEntriesUpdated:j.func.isRequired,value:j.arrayOf(j.string).isRequired};f.exports=k}),null);
__d("VideoCopyrightPrivacyType",["ix","fbt","VideoCopyrightMatchPrivacyTypeName","fbglyph"],(function a(b,c,d,e,f,g,h,i){var j,k=(j={},j[c("VideoCopyrightMatchPrivacyTypeName").PUBLIC_ONLY]={value:"PUBLIC_ONLY",label:i._("Public"),summaryLabel:i._("Public"),glyphs:[h("123038")]},j[c("VideoCopyrightMatchPrivacyTypeName").PRIVATE_ONLY]={value:"PRIVATE_ONLY",label:i._("Non-public (ex: friends or groups)"),summaryLabel:i._("Private"),glyphs:[h("122976")]},j);f.exports=k}),null);
__d("VideoCopyrightRuleConditionButtonSelector.react",["cx","Image.react","React","Tooltip","VideoCopyrightRuleCondition","XUIButton.react","XUIButtonGroup.react"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();function i(j){__p&&__p();var k=function k(n,j){var o=j.condition.getValue().indexOf(n),p=j.condition.getValue();if(o===-1)p.push(n);else{if(p.length<=1)return p;p.splice(o,1)}return p},l=Object.keys(j.VideoCopyrightSelectorOptionType),m=l.map(function(n){var o=j.VideoCopyrightSelectorOptionType[n];return c("React").createElement(c("XUIButton.react"),babelHelpers["extends"]({className:"_f66",onClick:function p(){j.onValueUpdated(k(o.value,j))},disabled:j.isDisabled,key:o.value,depressed:j.condition.getValue().includes(o.value),value:o.value,label:o.glyphs.map(function(p,q){return c("React").createElement(c("Image.react"),{className:"_3bc-",key:o.value+q,src:p})})},c("Tooltip").propsFor(o.label)))});return c("React").createElement(c("XUIButtonGroup.react"),{className:"_f67"+(j.isDisabled?" _f68":"")},m)}f.exports=i}),null);
__d("VideoCopyrightRuleOverlapAddDeletButton.react",["ix","cx","VideoCopyrightRuleCondition","Image.react","React","fbglyph"],(function a(b,c,d,e,f,g,h,i){"use strict";var j=function j(k){return c("React").createElement("span",null,k.shouldShowDeleteButton?c("React").createElement(c("Image.react"),{className:"_12w_",onClick:function l(){return k.onConditionDelete(k.condition)},src:h("124318")}):null,k.shouldShowAddButton?c("React").createElement(c("Image.react"),{className:"_12w_",onClick:k.onConditionAdded,src:h("125014")}):null)};f.exports=j}),null);
__d("VideoCopyrightRuleOverlapPercentageInput.react",["cx","React","VideoCopyrightRuleCondition","XUITextInput.react"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();function i(j){return c("React").createElement(c("XUITextInput.react"),{className:"_431y",max:"100",disabled:j.isDisabled,onBlur:function k(){var l=j.condition.getValue();if(!l||l.length===0||isNaN(l)){j.onValueUpdated("");return}if(Number(l)>100)j.onValueUpdated("100")},onChange:function k(l){return j.onValueUpdated(l.target.value)},placeholder:"0",value:j.condition.getValue(),xuiError:j.showError?j.condition.getError():null})}f.exports=i}),null);
__d("VideoCopyrightOverlapType",["fbt"],(function a(b,c,d,e,f,g,h){var i={OVERLAP_DURATION:{value:"OVERLAP_DURATION",label:h._("mins")},REFERENCE_OVERLAP_PERCENTAGE:{value:"REFERENCE_OVERLAP_PERCENTAGE",label:h._("\u0025 of reference file")},MATCH_OVERLAP_PERCENTAGE:{value:"MATCH_OVERLAP_PERCENTAGE",label:h._("\u0025 of matching video")}};f.exports=i}),null);
__d("VideoCopyrightRuleOverlapTypeSelector.react",["cx","React","SUIBusinessTheme","SUISelector.react","SUISelectorOption.react","VideoCopyrightOverlapType","VideoCopyrightRuleCondition"],(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("span",{className:"_ivl"},c("React").createElement(c("SUISelector.react"),{value:this.props.condition.getConditionType(),theme:c("SUIBusinessTheme"),disabled:this.props.isDisabled,onChange:function(l){return this.props.onOverlapTypeUpdated(l)}.bind(this)},Object.keys(c("VideoCopyrightOverlapType")).map(function(l){return c("React").createElement(c("SUISelectorOption.react"),{value:l,key:l},c("VideoCopyrightOverlapType")[l].label)})))};function k(){"use strict";i.apply(this,arguments)}f.exports=k}),null);
__d("VideoCopyrightRuleConditionRowConfig",["cx","fbt","ClockFormatConverter","CopyrightCountryNames","PolicyRuleTokenizedTypeahead.react","React","VideoCopyrightGeoSearchSource","VideoCopyrightMatchContentType","VideoCopyrightPrivacyType","VideoCopyrightPublisherType","VideoCopyrightRuleActionType","VideoCopyrightRuleCondition","VideoCopyrightRuleConditionButtonSelector.react","VideoCopyrightRuleConditionOption","VideoCopyrightRuleConditionType","VideoCopyrightRuleOverlapAddDeletButton.react","VideoCopyrightRuleOverlapPercentageInput.react","VideoCopyrightRuleOverlapTypeSelector.react","XUITextInput.react"],(function a(b,c,d,e,f,g,h,i){"use strict";__p&&__p();var j=new(c("VideoCopyrightGeoSearchSource"))(),k={GEO:{label:i._("Apply this action"),options:[c("VideoCopyrightRuleConditionOption").WORLDWIDE,c("VideoCopyrightRuleConditionOption").INCLUDE,c("VideoCopyrightRuleConditionOption").NOT_INCLUDE],createCondition:function l(){return new(c("VideoCopyrightRuleCondition"))(c("VideoCopyrightRuleConditionType").GEO,c("VideoCopyrightRuleConditionOption").WORLDWIDE.key,[])},createDefaultCondition:function l(){return new(c("VideoCopyrightRuleCondition"))(c("VideoCopyrightRuleConditionType").GEO,c("VideoCopyrightRuleConditionOption").WORLDWIDE.key,[])},renderValueInput:function l(m,n,o,p){if(m.getOption()==c("VideoCopyrightRuleConditionOption").WORLDWIDE.key)return null;return c("React").createElement(c("PolicyRuleTokenizedTypeahead.react"),{className:"_drg _4peh _345w",disabled:o,error:p?m.getError():null,name:"typeahead",onEntriesUpdated:n,placeholder:i._("Choose countries"),searchSource:j,searchSourceLabels:c("CopyrightCountryNames"),value:m.getValue()||[]})},getSummary:function l(m,n){if(m===c("VideoCopyrightRuleConditionOption").INCLUDE.key)return i._({"*":"Include {number} countries","_1":"Include 1 country"},[i.plural(n.length,"number")]);else if(m===c("VideoCopyrightRuleConditionOption").NOT_INCLUDE.key)return i._({"*":"Exclude {number} countries","_1":"Exclude 1 country"},[i.plural(n.length,"number")]);return null}},OVERLAP_DURATION:{label:i._("Overlap"),options:[c("VideoCopyrightRuleConditionOption").GREATER_THAN,c("VideoCopyrightRuleConditionOption").LESS_THAN],createCondition:function l(){var m=arguments.length<=0||arguments[0]===undefined?"":arguments[0];return new(c("VideoCopyrightRuleCondition"))(c("VideoCopyrightRuleConditionType").OVERLAP_DURATION,c("VideoCopyrightRuleConditionOption").GREATER_THAN.key,m)},createConditionForTemplate:function l(m){__p&&__p();var n="";switch(m){case c("VideoCopyrightRuleActionType").MONETIZE:n="5:00";break;case c("VideoCopyrightRuleActionType").BLOCK:n="5:00";break;case c("VideoCopyrightRuleActionType").TRACK:n="3:00";break;case c("VideoCopyrightRuleActionType").MANUAL_REVIEW:n="1:00";break}return new(c("VideoCopyrightRuleCondition"))(c("VideoCopyrightRuleConditionType").OVERLAP_DURATION,c("VideoCopyrightRuleConditionOption").GREATER_THAN.key,n)},renderValueInput:function l(m,n,o,p){__p&&__p();if(!m.getValue())m.setValue("");return c("React").createElement("span",{className:"_431x"},c("React").createElement(c("XUITextInput.react"),{className:"_431y",disabled:o,onBlur:function q(){var r=m.getValue();if(!r||r.length===0)return;var s=c("ClockFormatConverter").normalizeMinutesTimestamp(r);if(s==="0")n("");else if(s!==r)n(s)},onChange:function q(r){var s=r.target.value;if(c("ClockFormatConverter").validate(s,true))n(s)},placeholder:i._("00 {Time separator} 00",[i.param("Time separator",c("ClockFormatConverter").TIME_SEPARATOR)]),value:m.getValue(),xuiError:p?m.getError():null}))},renderConditionTypeSelector:function l(m,n,o){return c("React").createElement(c("VideoCopyrightRuleOverlapTypeSelector.react"),{condition:m,onOverlapTypeUpdated:n,isDisabled:o})},nextConditionToAdd:c("VideoCopyrightRuleConditionType").REFERENCE_OVERLAP_PERCENTAGE,renderConditionAddDeleteButton:function l(m,n,o,p,q,r){return r?null:c("React").createElement(c("VideoCopyrightRuleOverlapAddDeletButton.react"),{condition:m,onConditionDelete:n,onConditionAdded:q,shouldShowAddButton:o,shouldShowDeleteButton:p})},getSummary:function l(m,n){if(!n)return null;return i._("Overlap {math symbol e.g. > or \u003C} {Condition value will be a time string e.g. 1:00} minute(s)",[i.param("math symbol e.g. > or <",c("VideoCopyrightRuleConditionOption")[m].symbol),i.param("Condition value will be a time string e.g. 1:00",n)])}},REFERENCE_OVERLAP_PERCENTAGE:{label:i._("Overlap"),options:[c("VideoCopyrightRuleConditionOption").GREATER_THAN,c("VideoCopyrightRuleConditionOption").LESS_THAN],createCondition:function l(){return new(c("VideoCopyrightRuleCondition"))(c("VideoCopyrightRuleConditionType").REFERENCE_OVERLAP_PERCENTAGE,c("VideoCopyrightRuleConditionOption").GREATER_THAN.key,"")},renderValueInput:function l(m,n,o,p){return c("React").createElement("span",{className:"_431x"},c("React").createElement(c("VideoCopyrightRuleOverlapPercentageInput.react"),{condition:m,onValueUpdated:n,isDisabled:o,showError:p}))},renderConditionTypeSelector:function l(m,n,o){return c("React").createElement(c("VideoCopyrightRuleOverlapTypeSelector.react"),{condition:m,onOverlapTypeUpdated:n,isDisabled:o})},renderConditionAddDeleteButton:function l(m,n,o,p,q,r){return r?null:c("React").createElement(c("VideoCopyrightRuleOverlapAddDeletButton.react"),{condition:m,onConditionDelete:n,onConditionAdded:q,shouldShowAddButton:o,shouldShowDeleteButton:p})},nextConditionToAdd:c("VideoCopyrightRuleConditionType").MATCH_OVERLAP_PERCENTAGE,getSummary:function l(m,n){if(!n)return null;return i._("Overlap {math symbol e.g. > or \u003C} {Condition value will be a percentage e.g. 0-100} \u0025 of reference file",[i.param("math symbol e.g. > or <",c("VideoCopyrightRuleConditionOption")[m].symbol),i.param("Condition value will be a percentage e.g. 0-100",n)])}},MATCH_OVERLAP_PERCENTAGE:{label:i._("Overlap"),options:[c("VideoCopyrightRuleConditionOption").GREATER_THAN,c("VideoCopyrightRuleConditionOption").LESS_THAN],createCondition:function l(){return new(c("VideoCopyrightRuleCondition"))(c("VideoCopyrightRuleConditionType").MATCH_OVERLAP_PERCENTAGE,c("VideoCopyrightRuleConditionOption").GREATER_THAN.key,"")},renderValueInput:function l(m,n,o,p){return c("React").createElement("span",{className:"_431x"},c("React").createElement(c("VideoCopyrightRuleOverlapPercentageInput.react"),{condition:m,onValueUpdated:n,isDisabled:o,showError:p}))},renderConditionTypeSelector:function l(m,n,o){return c("React").createElement(c("VideoCopyrightRuleOverlapTypeSelector.react"),{condition:m,onOverlapTypeUpdated:n,isDisabled:o})},renderConditionAddDeleteButton:function l(m,n,o,p,q,r){return r?null:c("React").createElement(c("VideoCopyrightRuleOverlapAddDeletButton.react"),{condition:m,onConditionDelete:n,onConditionAdded:q,shouldShowAddButton:o,shouldShowDeleteButton:p})},nextConditionToAdd:c("VideoCopyrightRuleConditionType").OVERLAP_DURATION,getSummary:function l(m,n){if(!n)return null;return i._("Overlap {math symbol} {Condition value will be a percentage e.g. 0-100} \u0025 of matching file",[i.param("math symbol",c("VideoCopyrightRuleConditionOption")[m].symbol),i.param("Condition value will be a percentage e.g. 0-100",n)])}},MONITORING_TYPE:{label:i._("Content type"),createCondition:function l(){return new(c("VideoCopyrightRuleCondition"))(c("VideoCopyrightRuleConditionType").MONITORING_TYPE,c("VideoCopyrightRuleConditionOption").IS.key,[c("VideoCopyrightMatchContentType").VIDEO_AND_AUDIO.value,c("VideoCopyrightMatchContentType").VIDEO_ONLY.value])},createDefaultCondition:function l(){return new(c("VideoCopyrightRuleCondition"))(c("VideoCopyrightRuleConditionType").MONITORING_TYPE,c("VideoCopyrightRuleConditionOption").IS.key,[c("VideoCopyrightMatchContentType").VIDEO_AND_AUDIO.value,c("VideoCopyrightMatchContentType").VIDEO_ONLY.value,c("VideoCopyrightMatchContentType").AUDIO_ONLY.value])},renderValueInput:function l(m,n,o,p){return c("React").createElement("div",null,c("React").createElement(c("VideoCopyrightRuleConditionButtonSelector.react"),{VideoCopyrightSelectorOptionType:c("VideoCopyrightMatchContentType"),onValueUpdated:n,condition:m,isDisabled:o}))},getSummary:function l(m,n){return n.map(function(o){return c("VideoCopyrightMatchContentType")[o].label}).join(", ")},getDetailedDescription:function l(m,n){__p&&__p();if(!Array.isArray(n))return null;var o=n.indexOf(c("VideoCopyrightMatchContentType").VIDEO_ONLY.value)!=-1,p=n.indexOf(c("VideoCopyrightMatchContentType").AUDIO_ONLY.value)!=-1,q=n.indexOf(c("VideoCopyrightMatchContentType").VIDEO_AND_AUDIO.value)!=-1;if(o&&!p&&!q)return i._("Matches will only contain video segments matching your reference file, not any audio segments.");if(!o&&p&&!q)return i._("Matches will only contain audio segments matching your reference file, not any video segments.");if(!o&&!p&&q)return i._("Matches must contain both video and audio segments matching your reference file.");if(o&&p&&!q)return i._("Matches will contain either video or audio segments matching your reference file, but not both.");if(o&&!p&&q)return i._("Matches must contain video segments matching your reference file.");if(!o&&p&&q)return i._("Matches must contain audio segments matching your reference file.");if(o&&p&&q)return i._("Matches will contain any matching video or audio.");return null}},PUBLISHER_TYPE:{label:i._("Publisher type"),createCondition:function l(){return new(c("VideoCopyrightRuleCondition"))(c("VideoCopyrightRuleConditionType").PUBLISHER_TYPE,c("VideoCopyrightRuleConditionOption").IS.key,[c("VideoCopyrightPublisherType").PAGE.value])},createDefaultCondition:function l(){return new(c("VideoCopyrightRuleCondition"))(c("VideoCopyrightRuleConditionType").PUBLISHER_TYPE,c("VideoCopyrightRuleConditionOption").IS.key,[c("VideoCopyrightPublisherType").PAGE.value,c("VideoCopyrightPublisherType").PERSON.value])},renderValueInput:function l(m,n,o,p){return c("React").createElement(c("VideoCopyrightRuleConditionButtonSelector.react"),{VideoCopyrightSelectorOptionType:c("VideoCopyrightPublisherType"),onValueUpdated:n,condition:m,isDisabled:o})},getSummary:function l(m,n){return n.map(function(o){return c("VideoCopyrightPublisherType")[o.toUpperCase()].summaryLabel}).join(", ")}},PRIVACY:{label:i._("Video privacy"),createCondition:function l(){return new(c("VideoCopyrightRuleCondition"))(c("VideoCopyrightRuleConditionType").PRIVACY,c("VideoCopyrightRuleConditionOption").IS.key,[c("VideoCopyrightPrivacyType").PUBLIC_ONLY.value])},createDefaultCondition:function l(){return new(c("VideoCopyrightRuleCondition"))(c("VideoCopyrightRuleConditionType").PRIVACY,c("VideoCopyrightRuleConditionOption").IS.key,[c("VideoCopyrightPrivacyType").PUBLIC_ONLY.value,c("VideoCopyrightPrivacyType").PRIVATE_ONLY.value])},renderValueInput:function l(m,n,o,p){return c("React").createElement(c("VideoCopyrightRuleConditionButtonSelector.react"),{VideoCopyrightSelectorOptionType:c("VideoCopyrightPrivacyType"),onValueUpdated:n,condition:m,isDisabled:o})},getSummary:function l(m,n){return n.map(function(o){return c("VideoCopyrightPrivacyType")[o].summaryLabel}).join(", ")}}};f.exports=k}),null);
__d("VideoCopyrightRuleAction",["PolicyRuleAction","VideoCopyrightMatchPrivacyType","VideoCopyrightRuleCondition","VideoCopyrightRuleConditionOption","VideoCopyrightRuleConditionRowConfig","VideoCopyrightRuleConditionType","VideoCopyrightRuleGraphFields"],(function a(b,c,d,e,f,g){__p&&__p();var h,i;h=babelHelpers.inherits(j,c("PolicyRuleAction"));i=h&&h.prototype;function j(k,l,m){"use strict";if(m&&(!l||!l.length))l=[new(c("VideoCopyrightRuleCondition"))(c("VideoCopyrightRuleConditionType").PRIVACY,c("VideoCopyrightRuleConditionOption").IS.key,c("VideoCopyrightMatchPrivacyType").PUBLIC_ONLY.value)];i.constructor.call(this,k,l)}j.prototype.getConditionWithType=function(k){"use strict";return this.getConditions().find(function(l){return l.getConditionType()===k})};j.prototype.hasConditionType=function(k){"use strict";return!!this.getConditions().find(function(l){return l.getConditionType()===k})};j.prototype.toAPI=function(){"use strict";var k={};k[c("VideoCopyrightRuleGraphFields").ACTION]=this.getActionType();var l=this.getConditions().map(function(m){return m.toAPI()});k[c("VideoCopyrightRuleGraphFields").CONDITIONS]=l;return k};j.prototype.toAPIforNewMatchRule=function(){"use strict";__p&&__p();var k={};k[c("VideoCopyrightRuleGraphFields").ACTION]=this.getActionType();var l=this.getConditions().filter(function(m){return m.getValue()&&m.getValue().length>0}).filter(function(m){if(m.getConditionType()===c("VideoCopyrightRuleConditionType").PUBLISHER_TYPE)return m.getValue().length!==2;return true}).map(function(m){return m.toAPIforNewMatchRule()});k[c("VideoCopyrightRuleGraphFields").CONDITIONS]=l;return k};j.fromAPI=function(k){"use strict";var l=k[c("VideoCopyrightRuleGraphFields").ACTION],m=(k[c("VideoCopyrightRuleGraphFields").CONDITIONS]||[]).map(function(o){return c("VideoCopyrightRuleCondition").fromAPI(o)}),n=new this(l,m);return n};j.fromAPIforNewMatchRule=function(k,l){"use strict";__p&&__p();var m=k[c("VideoCopyrightRuleGraphFields").ACTION],n=[];(k[c("VideoCopyrightRuleGraphFields").CONDITIONS]||[]).forEach(function(p){var q=c("VideoCopyrightRuleCondition").fromAPIforNewMatchRule(p,l);if(q)n.push(q)});var o=new this(m,n);if(!o.hasConditionType(c("VideoCopyrightRuleConditionType").GEO))o.pushConditionByIndex(c("VideoCopyrightRuleConditionRowConfig").GEO.createDefaultCondition(),0);if(!o.hasConditionType(c("VideoCopyrightRuleConditionType").PRIVACY)&&l)o.pushConditionByIndex(c("VideoCopyrightRuleConditionRowConfig").PRIVACY.createDefaultCondition(),o.getConditions().length);if(!o.hasConditionType(c("VideoCopyrightRuleConditionType").PUBLISHER_TYPE)&&l)o.pushConditionByIndex(c("VideoCopyrightRuleConditionRowConfig").PUBLISHER_TYPE.createDefaultCondition(),o.getConditions().length-1);if(!o.hasConditionType(c("VideoCopyrightRuleConditionType").MONITORING_TYPE)&&l)o.pushConditionByIndex(c("VideoCopyrightRuleConditionRowConfig").MONITORING_TYPE.createDefaultCondition(),o.getConditions().length-2);return o};j.fromAction=function(k){"use strict";return new this(k.$VideoCopyrightRuleAction1,k.getConditions())};f.exports=j}),null);
__d("VideoCopyrightRule",["VideoCopyrightRuleAction","VideoCopyrightRuleGraphFields"],(function a(b,c,d,e,f,g){__p&&__p();function h(i,j,k,l){"use strict";this.$VideoCopyrightRule3=i||[];this.$VideoCopyrightRule2=j;this.$VideoCopyrightRule1=k;this.$VideoCopyrightRule4=l!=null?l:false}h.prototype.getActions=function(){"use strict";return this.$VideoCopyrightRule3};h.prototype.isEmpty=function(){"use strict";return this.$VideoCopyrightRule3.length===0};h.prototype.pushAction=function(i){"use strict";this.$VideoCopyrightRule3.push(i)};h.prototype.removeAction=function(i){"use strict";var j=this.$VideoCopyrightRule3.indexOf(i);this.$VideoCopyrightRule3.splice(j,1)};h.prototype.moveActionByIndex=function(i,j){"use strict";this.$VideoCopyrightRule3.splice(j,0,this.$VideoCopyrightRule3.splice(i,1)[0])};h.prototype.replaceActionType=function(i,j){"use strict";var k=this.$VideoCopyrightRule3.find(function(l){return l.getActionType()===i});if(k==null)return;k.setActionType(j)};h.prototype.removeActionByActionType=function(i){"use strict";var j=this.$VideoCopyrightRule3.find(function(k){return k.getActionType()===i});if(j)this.removeAction(j)};h.prototype.hasName=function(){"use strict";return this.$VideoCopyrightRule2!=null&&this.$VideoCopyrightRule2.toString().trim().length>0};h.prototype.getName=function(){"use strict";return this.$VideoCopyrightRule2||""};h.prototype.setName=function(i){"use strict";this.$VideoCopyrightRule2=i};h.prototype.getID=function(){"use strict";return this.$VideoCopyrightRule1};h.prototype.isDisabled=function(){"use strict";return this.$VideoCopyrightRule4};h.prototype.toAPI=function(){"use strict";var i={};i[c("VideoCopyrightRuleGraphFields").NAME]=this.$VideoCopyrightRule2;var j=this.$VideoCopyrightRule3.map(function(k){return k.toAPI()});i[c("VideoCopyrightRuleGraphFields").CONDITION_GROUPS]=j;return i};h.prototype.toAPIforNewMatchRule=function(){"use strict";var i={};i[c("VideoCopyrightRuleGraphFields").NAME]=this.$VideoCopyrightRule2;var j=this.$VideoCopyrightRule3.map(function(k){return k.toAPIforNewMatchRule()});i[c("VideoCopyrightRuleGraphFields").CONDITION_GROUPS]=j;return i};h.fromAPI=function(i){"use strict";var j=i[c("VideoCopyrightRuleGraphFields").NAME],k=i[c("VideoCopyrightRuleGraphFields").CONDITION_GROUPS]?i[c("VideoCopyrightRuleGraphFields").CONDITION_GROUPS].map(function(l){return c("VideoCopyrightRuleAction").fromAPI(l)}):[];return new this(k,j,i.id,i.disabled)};h.fromAPIforNewMatchRule=function(i){var j=arguments.length<=1||arguments[1]===undefined?true:arguments[1];"use strict";var k=i[c("VideoCopyrightRuleGraphFields").NAME],l=i[c("VideoCopyrightRuleGraphFields").CONDITION_GROUPS]?i[c("VideoCopyrightRuleGraphFields").CONDITION_GROUPS].map(function(m){return c("VideoCopyrightRuleAction").fromAPIforNewMatchRule(m,j)}):[];return new this(l,k,i.id,i.disabled)};f.exports=h}),null);
__d("VideoCopyrightRuleActionConfig",["fbt","VideoCopyrightRuleActionType"],(function a(b,c,d,e,f,g,h){"use strict";function i(j){var k=[{key:c("VideoCopyrightRuleActionType").ALLOW,label:h._("Allow match"),tooltip:null},{key:c("VideoCopyrightRuleActionType").TRACK,label:h._("Monitor match"),tooltip:null},{key:c("VideoCopyrightRuleActionType").BLOCK,label:h._("Block match"),tooltip:h._("Not all matches are eligible for automatic blocking")},{key:c("VideoCopyrightRuleActionType").TAKEDOWN,label:h._("Take Down"),tooltip:null},{key:c("VideoCopyrightRuleActionType").MONETIZE,label:h._("Claim ad earnings"),tooltip:h._("Not all matches are eligible for automatic claiming of ad earnings. Ex: if there are no ad breaks. In that case, the next action-condition will be checked."),extraData:h._("If you're unable to claim ad earnings, the next action you select will be applied to the video.")},{key:c("VideoCopyrightRuleActionType").ACQUIRE_VIEWS_AND_MONETIZE,label:h._("Acquire Views & Monetize"),tooltip:h._("Not all matches are eligible for automatic views acquisition & monetization")},{key:c("VideoCopyrightRuleActionType").MANUAL_REVIEW,label:h._("Manually review match"),tooltip:null}];return k}f.exports=i}),null);
__d("VideoCopyrightRuleMetadataSummary.react",["cx","invariant","React","ReactComponentWithPureRenderMixin","VideoCopyrightRuleActionConfig","VideoCopyrightRuleConditionRowConfig","emptyFunction"],(function a(b,c,d,e,f,g,h,i){__p&&__p();var j,k;j=babelHelpers.inherits(l,c("React").Component);k=j&&j.prototype;function l(m){"use strict";k.constructor.call(this,m);this.state={actionConfig:c("VideoCopyrightRuleActionConfig")({}),conditionConfig:c("VideoCopyrightRuleConditionRowConfig")}}l.prototype.shouldComponentUpdate=function(m,n){"use strict";return c("ReactComponentWithPureRenderMixin").shouldComponentUpdate.call(this,m,n)};l.prototype.$VideoCopyrightRuleMetadataSummary1=function(m,n){"use strict";var o=this.state.conditionConfig[m.getConditionType()],p=o&&o.getSummary?o.getSummary:c("emptyFunction");if(p(m.getOption(),m.getValue())===null)return;return c("React").createElement("li",{className:"_idg",key:n},p(m.getOption(),m.getValue()))};l.prototype.$VideoCopyrightRuleMetadataSummary2=function(m,n){"use strict";var o=this.$VideoCopyrightRuleMetadataSummary3(m.getActionType());return c("React").createElement("span",{key:n},c("React").createElement("p",null,o.label),c("React").createElement("ul",{className:"_idh"},m.getConditions().map(function(p,q){return this.$VideoCopyrightRuleMetadataSummary1(p,q)}.bind(this))))};l.prototype.$VideoCopyrightRuleMetadataSummary3=function(m){"use strict";var n=this.state.actionConfig.filter(function(n){return n.key===m});n&&n.length==1||i(0);return n[0]};l.prototype.render=function(){"use strict";if(!this.props.rule)return null;var m=this.props.rule||{};return c("React").createElement("span",{className:this.props.className},m.getActions().map(function(n,o){return this.$VideoCopyrightRuleMetadataSummary2(n,o+1)}.bind(this)))};f.exports=l}),null);
__d("VideoCopyrightMatchRuleSelector.react",["cx","fbt","invariant","AdsSelectorWithTooltips.react","Arbiter","GraphAPI","LoadingIndicator.react","PageContentTabAccessToken","React","RightsManagerRulesRequestSource","VideoCopyrightRule","VideoCopyrightRuleMetadataSummary.react","VideoCopyrightUtils","XUIText.react","keyMirror"],(function a(b,c,d,e,f,g,h,i,j){__p&&__p();var k,l,m=c("AdsSelectorWithTooltips.react").Option,n=c("keyMirror")({DEFAULT:null,CREATE:null,NO_RULE_SELECTED:null}),o={id:n.CREATE,name:i._("Create new Match Rule..."),condition_groups:[]},p={id:n.NO_RULE_SELECTED,name:i._("Choose match rule..."),condition_groups:[],disabled:true},q=100;k=babelHelpers.inherits(r,c("React").Component);l=k&&k.prototype;function r(s){"use strict";l.constructor.call(this,s);this.state={rules:[],isLoading:true}}r.prototype.componentWillMount=function(){"use strict";this.$VideoCopyrightMatchRuleSelector3();this.$VideoCopyrightMatchRuleSelector2=true;this.$VideoCopyrightMatchRuleSelector1=c("Arbiter").subscribe("VideoCopyrightRule/closeDialog",this.$VideoCopyrightMatchRuleSelector4.bind(this))};r.prototype.componentWillUnmount=function(){"use strict";this.$VideoCopyrightMatchRuleSelector2=false;if(this.$VideoCopyrightMatchRuleSelector1){this.$VideoCopyrightMatchRuleSelector1.unsubscribe();this.$VideoCopyrightMatchRuleSelector1=null}};r.prototype.$VideoCopyrightMatchRuleSelector5=function(s){"use strict";var t=this.props.rulesToHideFromDisplay;t!=undefined||j(0);return s.filter(function(u){var v=u.getID(),w=t.findIndex(function(x){return x.id===v});return w===-1})};r.prototype.$VideoCopyrightMatchRuleSelector3=function(s){"use strict";__p&&__p();var t=this.props.accessToken?this.props.accessToken:c("PageContentTabAccessToken").getAccessToken();c("GraphAPI")(c("VideoCopyrightUtils").GRAPH_API_VERSION).object("page",this.props.pageID).edge("video_copyright_rules").get({access_token:t,summary:["version"],source:c("RightsManagerRulesRequestSource").RULES_SELECTOR,selected_rule_id:this.props.selectedRule,limit:q}).done(function(u){__p&&__p();if(!this.$VideoCopyrightMatchRuleSelector2)return;var v=u.data,w=!Array.isArray(v)||!v.length?[p]:v,x=w.map(function(y){return c("VideoCopyrightRule").fromAPIforNewMatchRule(y)});this.setState({isLoading:false,rules:x},function(){if(s)this.$VideoCopyrightMatchRuleSelector6(s);else if(this.props.selectedRule)this.$VideoCopyrightMatchRuleSelector6(this.props.selectedRule);else if(x.length>0)this.$VideoCopyrightMatchRuleSelector6(x[0].getID())}.bind(this));this.props.onMatchRuleLoaded&&this.props.onMatchRuleLoaded()}.bind(this))};r.prototype.$VideoCopyrightMatchRuleSelector4=function(s,t){"use strict";if(t)this.setState({isLoading:true},function(){return this.$VideoCopyrightMatchRuleSelector3(t)}.bind(this))};r.prototype.$VideoCopyrightMatchRuleSelector6=function(s){"use strict";__p&&__p();var t=void 0;if(s===n.CREATE){this.props.onCreateNewRule&&this.props.onCreateNewRule();return}else if(s===n.DEFAULT)t=null;else t=s;if(t!==this.props.selectedRule){this.props.onChange(t);this.$VideoCopyrightMatchRuleSelector7(this.state.rules.find(function(u){return u.getID()===t}))}};r.prototype.$VideoCopyrightMatchRuleSelector7=function(s){var t,u=this;"use strict";if(this.props.onRuleActionsChange)(function(){var v=new Set();if(s)s.getActions().map(function(w){return v.add(w.getActionType())});u.props.onRuleActionsChange(v)})()};r.prototype.$VideoCopyrightMatchRuleSelector8=function(event){"use strict";this.$VideoCopyrightMatchRuleSelector6(event.value)};r.prototype.$VideoCopyrightMatchRuleSelector9=function(s){"use strict";__p&&__p();if(this.props.rulesToHideFromDisplay&&this.props.rulesToHideFromDisplay.some(function(t){return t.id===s}))return null;if(s&&!this.state.rules.some(function(t){return t.getID()===s})){this.$VideoCopyrightMatchRuleSelector6(null);return null}return s};r.prototype.$VideoCopyrightMatchRuleSelector10=function(s){"use strict";if(s&&s.getActions()&&s.getActions().length)return c("React").createElement(c("VideoCopyrightRuleMetadataSummary.react"),{className:"_2jzx",rule:s});return null};r.prototype.$VideoCopyrightMatchRuleSelector11=function(s){"use strict";if(!s||s===n.NO_RULE_SELECTED)return i._("Match rule is required");return null};r.prototype.$VideoCopyrightMatchRuleSelector12=function(s){"use strict";if(!s||s===n.NO_RULE_SELECTED)return c("React").createElement(c("XUIText.react"),{className:"_okf",weight:"bold"},"!");return null};r.prototype.render=function(){"use strict";__p&&__p();if(this.state.isLoading)return c("React").createElement(c("LoadingIndicator.react"),{size:"small",color:"white"});var s=this.state.rules;if(this.props.rulesToHideFromDisplay!=null&&this.props.rulesToHideFromDisplay.length)s=this.$VideoCopyrightMatchRuleSelector5(s);s=this.props.onCreateNewRule?s.concat([c("VideoCopyrightRule").fromAPIforNewMatchRule(o)]):s;var t=s.map(function(v){return c("React").createElement(m,{tooltip:this.$VideoCopyrightMatchRuleSelector10(v),key:v.getID(),value:v.getID(),disabled:v.isDisabled()},v.getName())}.bind(this)),u=this.$VideoCopyrightMatchRuleSelector9(this.props.selectedRule);if(!u){u=s&&s.length?s[0].getID():n.DEFAULT;this.$VideoCopyrightMatchRuleSelector6(u)}return c("React").createElement("div",{className:this.props.className},c("React").createElement(c("AdsSelectorWithTooltips.react"),{disabled:this.props.disabled,onChange:this.$VideoCopyrightMatchRuleSelector8.bind(this),value:u,defaultValue:s[0].getID(),maxheight:400,xuiError:this.$VideoCopyrightMatchRuleSelector11(u),xuiErrorPosition:"below"},t),this.$VideoCopyrightMatchRuleSelector12(u))};f.exports=r}),null);
__d("MatchRuleDeleteConfirmationDialog.react",["cx","fbt","React","VideoCopyrightUtils","XUIDialog.react","XUIDialogBody.react","XUIDialogButton.react","XUIDialogFooter.react","XUIDialogTitle.react","XUIText.react"],(function a(b,c,d,e,f,g,h,i){__p&&__p();var j,k;j=babelHelpers.inherits(l,c("React").Component);k=j&&j.prototype;l.prototype.$MatchRuleDeleteConfirmationDialog1=function(){"use strict";return c("React").createElement("div",null,c("React").createElement(c("XUIText.react"),{className:"_3-95",size:"header4",display:"block"},i._("This match rule will be permanently deleted.")),c("React").createElement(c("XUIText.react"),{className:"_3-8x",size:"header4",display:"block"},i._({"reference file":{"this reference file":"This rule is now used by {Number of reference files} reference file. If you delete the rule, all new matches for this reference file will appear in your New Matches list in Rights Manager.","these reference files":"This rule is now used by {Number of reference files} reference file. If you delete the rule, all new matches for these reference files will appear in your New Matches list in Rights Manager."},"reference files":{"this reference file":"This rule is now used by {Number of reference files} reference files. If you delete the rule, all new matches for this reference file will appear in your New Matches list in Rights Manager.","these reference files":"This rule is now used by {Number of reference files} reference files. If you delete the rule, all new matches for these reference files will appear in your New Matches list in Rights Manager."}},[i.param("Number of reference files",c("VideoCopyrightUtils").formatNumber(this.props.postCount)),i["enum"](this.props.postCount===1?"reference file":"reference files",{"reference file":"reference file","reference files":"reference files"}),i["enum"](this.props.postCount===1?"this reference file":"these reference files",{"this reference file":"this reference file","these reference files":"these reference files"})])))};l.prototype.render=function(){"use strict";return c("React").createElement(c("XUIDialog.react"),{width:450,shown:true,fixedTopPosition:100},c("React").createElement(c("XUIDialogTitle.react"),null,i._("Delete match rule?")),c("React").createElement(c("XUIDialogBody.react"),null,this.$MatchRuleDeleteConfirmationDialog1()),c("React").createElement(c("XUIDialogFooter.react"),null,c("React").createElement(c("XUIDialogButton.react"),{label:i._("Cancel"),action:"cancel",size:"large",use:"default",onClick:this.props.onCancel}),c("React").createElement(c("XUIDialogButton.react"),{label:i._("Delete"),action:"cancel",size:"large",use:"confirm",onClick:this.props.onDelete})))};function l(){"use strict";j.apply(this,arguments)}f.exports=l}),null);
__d("VideoCopyrightRuleActionItemConfig",["ix","cx","fbt","React","SUIBusinessTheme","SUITooltip.react","VideoCopyrightClaimAdEarningsText","VideoCopyrightRuleActionType","fbglyph"],(function a(b,c,d,e,f,g,h,i,j){"use strict";var k=[{key:c("VideoCopyrightRuleActionType").MONETIZE,title:j._("Claim Ad Earnings (Facebook Only)"),className:"_4bd5",titleOnDisable:c("React").createElement(c("SUITooltip.react"),{theme:c("SUIBusinessTheme"),position:"right",tooltip:j._("To claim ad earnings, you'll first need to specify how you or your organization would like to be paid by going to Settings > Rights Manager.")},j._("Claim Ad Earnings (Facebook Only)")),description:j._("Receive a share of the money earned from a matching video's ad breaks on Facebook"),descriptionForManualClaim:j._("Receive a share of the money earned by this video's ad breaks"),filterDescription:j._("Set up filters describing the type of matching videos you want to claim ad earnings from."),descriptionOnDisable:function l(m){return j._("Receive a share of the money earned from a matching video's ad breaks on Facebook {=Set up Claiming}",[j.param("=Set up Claiming",c("React").createElement("a",{href:c("VideoCopyrightClaimAdEarningsText").getRightsManagerSettingsURI(m),target:"_blank"},j._("Set up Claiming")))])},glyphClassName:"_4utm",glyph:h("134490"),summaryGlyph:h("124876"),warning:j._("If there are no ad breaks in the matching video,the next action in this match rule will be checked.")},{key:c("VideoCopyrightRuleActionType").BLOCK,title:j._("Block"),className:"_4bd6",description:j._("Prevent matching videos from being discoverable or viewed on Facebook"),descriptionForManualClaim:j._("Prevent this video from being discoverable or viewed on Facebook"),filterDescription:j._("Set up filters describing the type of matching videos you want to block."),glyphClassName:"_4uto",glyph:h("134473"),summaryGlyph:h("124859"),warning:j._("Blocked videos will not generate Reference File Insights.")},{key:c("VideoCopyrightRuleActionType").TRACK,title:j._("Monitor"),className:"_4bd7",description:j._("Move matching videos to Monitor tab to keep an eye on how they're performing over a long period of time"),descriptionForManualClaim:j._("Keep an eye on how this video performs over a long period of time"),filterDescription:j._("Set up filters describing the type of matching videos you want to monitor."),glyphClassName:"_4utp",glyph:h("134084"),summaryGlyph:h("124470")},{key:c("VideoCopyrightRuleActionType").MANUAL_REVIEW,title:j._("Manually Review"),className:"_4bd8",description:j._("You'll have 30 days to decide what action to take before the matching video expires from Rights Manager"),descriptionForManualClaim:j._("Save this video to take action on it later in rights manager"),filterDescription:j._("Set up filters describing the type of matching videos you want to manually review."),glyphClassName:"_4utq",glyph:h("134637"),summaryGlyph:h("125023")}];f.exports=k}),null);
__d("VideoCopyrightRuleActionEditButton.react",["ix","cssVar","cx","fbt","React","SUIBusinessTheme","SUIGlyphIcon.react","SUISelector.react","SUISelectorButton.react","SUISelectorOption.react","SUISelectorOptionGroup.react","SUITooltip.react","VideoCopyrightClaimAdEarningsText","VideoCopyrightRuleAction","VideoCopyrightRuleActionType","VideoCopyrightRuleActionItemConfig","fbglyph","keyMirror"],(function a(b,c,d,e,f,g,h,i,j,k){"use strict";__p&&__p();var l,m,n=c("keyMirror")({MOVE_UP:null,MOVE_DOWN:null,DELETE:null});l=babelHelpers.inherits(o,c("React").Component);m=l&&l.prototype;function o(){__p&&__p();var p,q;for(var r=arguments.length,s=Array(r),t=0;t<r;t++)s[t]=arguments[t];return q=(p=m.constructor).call.apply(p,[this].concat(s)),this.$VideoCopyrightRuleActionEditButton1=function(u){if(u===n.DELETE)this.props.onActionDeleted(this.props.action);else if(Object.keys(c("VideoCopyrightRuleActionType")).includes(u))this.props.onActionTypeUpdated(u);else if(u===n.MOVE_UP)this.props.onActionMoved(this.props.action,-1);else if(u===n.MOVE_DOWN)this.props.onActionMoved(this.props.action,1)}.bind(this),q}o.prototype.render=function(){var p=this.props.isViewing?h("126554"):h("123350");return c("React").createElement("div",{className:"_61gk"},c("React").createElement(c("SUISelector.react"),{maxHeight:262,menuHorizontalAlignment:"right",canCollapseGroups:false,onChange:this.$VideoCopyrightRuleActionEditButton1,disabled:this.props.isViewing,button:c("React").createElement(c("SUISelectorButton.react"),{disabled:this.props.isViewing,height:"normal",icon:c("React").createElement(c("SUIGlyphIcon.react"),{srcDefault:p}),styleWhenMenuShown:{background:"#EEEEEE"},width:64}),value:this.props.action.getActionType(),theme:c("SUIBusinessTheme")},c("React").createElement(c("SUISelectorOptionGroup.react"),{isExpandedInitially:true,label:k._("Edit Action")},c("VideoCopyrightRuleActionItemConfig").map(function(q){return c("React").createElement(c("SUISelectorOption.react"),{value:q.key,key:q.key,disabled:q.key===c("VideoCopyrightRuleActionType").MONETIZE&&!this.props.isMonetizationOnboarded},q.key===c("VideoCopyrightRuleActionType").MONETIZE&&!this.props.isMonetizationOnboarded?c("React").createElement(c("SUITooltip.react"),{theme:c("SUIBusinessTheme"),position:"left",tooltip:k._("To claim ad earnings, you'll first need to specify how you or your organization would like to be paid by going to Settings > Rights Manager. {=Go to Settings}",[k.param("=Go to Settings",c("React").createElement("a",{href:c("VideoCopyrightClaimAdEarningsText").getRightsManagerSettingsURI(this.props.pageID),target:"_blank"},k._("Go to Settings")))])},q.title):q.title)}.bind(this)),c("React").createElement("hr",{className:"_61gl"}),c("React").createElement(c("SUISelectorOption.react"),{value:n.MOVE_UP,disabled:this.props.actionIndex===0},k._("Move Up")),c("React").createElement(c("SUISelectorOption.react"),{value:n.MOVE_DOWN,disabled:this.props.actionIndex===this.props.actionCount-1},k._("Move Down")),c("React").createElement("hr",{className:"_61gl"}),c("React").createElement(c("SUISelectorOption.react"),{value:n.DELETE},k._("Delete")))))};f.exports=o}),null);
__d("VideoCopyrightRuleCondition.react",["ix","cx","Image.react","React","Tooltip.react","SUIBusinessTheme","SUISelector.react","SUISelectorOption.react","fbglyph"],(function a(b,c,d,e,f,g,h,i){__p&&__p();var j,k;j=babelHelpers.inherits(l,c("React").Component);k=j&&j.prototype;function l(m){"use strict";k.constructor.call(this,m);this.state=this.getStateFromCondition(this.props.condition)}l.prototype.componentWillReceiveProps=function(m){"use strict";if(this.state.condition!=m.condition)this.setState(this.getStateFromCondition(m.condition))};l.prototype.getStateFromCondition=function(m){"use strict";var n=m.getConditionType(),o=this.props.conditionConfig[n],p=o.customValidation?o.customValidation:function(){};return{condition:m,config:o,customValidation:p}};l.prototype.$VideoCopyrightRuleCondition1=function(){"use strict";if(!this.state.config.options)return null;var m=this.state.config.options.map(function(n){return c("React").createElement(c("SUISelectorOption.react"),{key:n.key,value:n.key},n.text)});return c("React").createElement(c("SUISelector.react"),{theme:c("SUIBusinessTheme"),onChange:function(n){return this.$VideoCopyrightRuleCondition2(n)}.bind(this),value:this.state.condition.getOption(),disabled:this.props.isViewing},m)};l.prototype.$VideoCopyrightRuleCondition3=function(m){"use strict";this.state.customValidation(m);this.setState({condition:m});this.props.onConditionUpdated(m)};l.prototype.$VideoCopyrightRuleCondition2=function(m){"use strict";var n=this.state.condition;n.setOption(m);n.setValue(null);this.$VideoCopyrightRuleCondition3(n)};l.prototype.$VideoCopyrightRuleCondition4=function(m){"use strict";var n=this.state.condition,o=this.props.conditionConfig[m];n.setConditionType(m);n.setValue("");this.$VideoCopyrightRuleCondition3(n);this.setState({config:o})};l.prototype.$VideoCopyrightRuleCondition5=function(m){"use strict";var n=this.state.condition;this.state.condition.setValue(m);this.$VideoCopyrightRuleCondition3(n)};l.prototype.$VideoCopyrightRuleCondition6=function(){"use strict";return this.state.config.renderValueInput(this.state.condition,this.$VideoCopyrightRuleCondition5.bind(this),this.props.isViewing,this.props.shouldValidate)};l.prototype.$VideoCopyrightRuleCondition7=function(){"use strict";var m=this.state.config.renderConditionTypeSelector;if(!m)return null;return m(this.state.condition,this.$VideoCopyrightRuleCondition4.bind(this),this.props.isViewing)};l.prototype.$VideoCopyrightRuleCondition8=function(){"use strict";var m=this.state.config.renderConditionAddDeleteButton;if(!m)return null;return m(this.state.condition,this.props.onConditionRemoved,this.props.shouldShowAddButton,this.props.shouldShowDeleteButton,this.props.onAddCondition,this.props.isViewing)};l.prototype.$VideoCopyrightRuleCondition9=function(){"use strict";var m=this.state.config.getDetailedDescription;if(!m)return null;var n=m(this.state.condition.getOption(),this.state.condition.getValue());if(!n)return null;return c("React").createElement("div",{className:"_6176"},n)};l.prototype.render=function(){"use strict";return c("React").createElement("div",{className:"_3-8x"},c("React").createElement("table",null,c("React").createElement("tbody",null,c("React").createElement("tr",null,c("React").createElement("td",{className:"_31sp"},this.state.config.label,this.state.config.tooltip?c("React").createElement(c("Tooltip.react"),{tooltip:this.state.config.tooltip,className:"_2t-y"},c("React").createElement(c("Image.react"),{className:"_3-99",src:h("126340")})):null),c("React").createElement("td",{className:"_6177"},this.$VideoCopyrightRuleCondition1(),this.$VideoCopyrightRuleCondition6(),this.$VideoCopyrightRuleCondition7(),this.$VideoCopyrightRuleCondition8(),this.$VideoCopyrightRuleCondition9())))))};f.exports=l}),null);
__d("VideoCopyrightRuleOverlapConditionType",["VideoCopyrightRuleConditionType"],(function a(b,c,d,e,f,g){var h=[c("VideoCopyrightRuleConditionType").OVERLAP_DURATION,c("VideoCopyrightRuleConditionType").MATCH_OVERLAP_PERCENTAGE,c("VideoCopyrightRuleConditionType").REFERENCE_OVERLAP_PERCENTAGE];f.exports=h}),null);
__d("VideoCopyrightRuleActionCard.react",["ix","cx","fbt","Image.react","PolicyRuleCondition","React","VideoCopyrightRuleAction","VideoCopyrightRuleActionEditButton.react","VideoCopyrightRuleCondition.react","VideoCopyrightRuleConditionRowConfig","VideoCopyrightRuleConditionType","VideoCopyrightRuleOverlapConditionType","XUICard.react","fbglyph"],(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(n){l.constructor.call(this,n);this.state={action:this.props.action}}m.prototype.$VideoCopyrightRuleActionCard1=function(n){this.props.onActionUpdated()};m.prototype.$VideoCopyrightRuleActionCard2=function(n){var o=this.state.action;o.removeCondition(n);this.setState({action:o});this.props.onActionUpdated()};m.prototype.$VideoCopyrightRuleActionCard3=function(n){var o=this.state.action;o.setActionType(n);this.setState({action:o});this.props.onActionUpdated()};m.prototype.componentWillReceiveProps=function(n){if(this.state.action!=n.action)this.setState({action:n.action})};m.prototype.$VideoCopyrightRuleActionCard4=function(n){var o=this.state.action.getConditions().filter(function(p){return c("VideoCopyrightRuleOverlapConditionType").includes(p.getConditionType())}).slice(-1)[0];return o===n};m.prototype.$VideoCopyrightRuleActionCard5=function(){return this.state.action.getConditions().filter(function(n){return c("VideoCopyrightRuleOverlapConditionType").includes(n.getConditionType())}).length>1};m.prototype.$VideoCopyrightRuleActionCard6=function(n){var o=this.state.action.getConditions().indexOf(n),p=c("VideoCopyrightRuleConditionRowConfig")[n.getConditionType()].nextConditionToAdd,q=c("VideoCopyrightRuleConditionRowConfig")[p].createCondition(),r=this.state.action;r.pushConditionByIndex(q,o+1);this.setState({action:r});this.props.onActionUpdated()};m.prototype.render=function(){var n=this.state.action.getConditionWithType(c("VideoCopyrightRuleConditionType").GEO);return c("React").createElement(c("XUICard.react"),{className:"_2ph_ _3-8y"},c("React").createElement("div",{className:"_y5k"},c("React").createElement(c("Image.react"),{src:this.props.actionConfig.glyph}),c("React").createElement("div",{className:"_y5m"},this.props.actionConfig.title),c("React").createElement(c("VideoCopyrightRuleActionEditButton.react"),{action:this.props.action,actionIndex:this.props.actionIndex,actionCount:this.props.actionCount,onActionDeleted:this.props.onActionDeleted,onActionTypeUpdated:this.$VideoCopyrightRuleActionCard3.bind(this),onActionMoved:this.props.onActionMoved,isViewing:this.props.isViewing,isMonetizationOnboarded:this.props.isMonetizationOnboarded,pageID:this.props.pageID})),c("React").createElement("div",{className:"_y5n"},this.props.actionConfig.description),n?c("React").createElement(c("VideoCopyrightRuleCondition.react"),{condition:n,shouldShowAddButton:this.$VideoCopyrightRuleActionCard4(n),shouldShowDeleteButton:this.$VideoCopyrightRuleActionCard5(),onAddCondition:function(){return this.$VideoCopyrightRuleActionCard6(n)}.bind(this),conditionConfig:c("VideoCopyrightRuleConditionRowConfig"),isViewing:this.props.isViewing,shouldValidate:false,onConditionRemoved:this.$VideoCopyrightRuleActionCard2.bind(this),key:c("VideoCopyrightRuleConditionType").GEO,onConditionUpdated:this.$VideoCopyrightRuleActionCard1.bind(this)}):null,c("React").createElement("div",{className:"_y5o"},j._("Select filters")),c("React").createElement("div",{className:"_y5n"},this.props.actionConfig.filterDescription),this.state.action.getConditions().filter(function(o){return o.getConditionType()!==c("VideoCopyrightRuleConditionType").GEO}).map(function(o,p){return c("React").createElement(c("VideoCopyrightRuleCondition.react"),{condition:o,shouldShowAddButton:this.$VideoCopyrightRuleActionCard4(o),shouldShowDeleteButton:this.$VideoCopyrightRuleActionCard5(),onAddCondition:function(){return this.$VideoCopyrightRuleActionCard6(o)}.bind(this),conditionConfig:c("VideoCopyrightRuleConditionRowConfig"),isViewing:this.props.isViewing,shouldValidate:false,onConditionRemoved:this.$VideoCopyrightRuleActionCard2.bind(this),key:p,onConditionUpdated:this.$VideoCopyrightRuleActionCard1.bind(this)})}.bind(this)),this.props.actionConfig.warning?c("React").createElement("div",{className:"_3-8z"},c("React").createElement(c("Image.react"),{src:h("124165")}),c("React").createElement("div",{className:"_y5p"},this.props.actionConfig.warning)):null)};f.exports=m}),null);
__d("VideoCopyrightRuleAddActionButton.react",["ix","cx","fbt","React","SUIBusinessTheme","SUIButton.react","SUIGlyphIcon.react","fbglyph"],(function a(b,c,d,e,f,g,h,i,j){"use strict";function k(l){return c("React").createElement("div",{className:"_1ck-"},c("React").createElement(c("SUIButton.react"),{onClick:function m(){return l.onClickAddActionButton()},icon:c("React").createElement(c("SUIGlyphIcon.react"),{srcDefault:h("123418")}),height:"tall",theme:c("SUIBusinessTheme"),label:j._("Add an Action")}))}f.exports=k}),null);
__d("VideoCopyrightRuleActionItem.react",["cx","React","VideoCopyrightRuleActionType"],(function a(b,c,d,e,f,g,h){"use strict";var i=function i(j){return c("React").createElement("div",{className:j.className},c("React").createElement("div",{className:j.isSelected?"_4utl":"",onClick:j.disabled?null:j.onClick,role:"presentation"},c("React").createElement("div",{className:(!j.disabled?"_4utk":"")+(j.disabled?" _1qv7":"")},c("React").createElement("div",null,c("React").createElement("div",{className:j.glyphClassName}),c("React").createElement("div",{className:"_4utz"},j.title)),c("React").createElement("div",{className:"_4ut-"},j.description))))};f.exports=i}),null);
__d("VideoCopyrightRuleAddActionCard.react",["cx","fbt","Link.react","React","VideoCopyrightLearnMoreLinks","VideoCopyrightRuleActionType","VideoCopyrightRuleActionItem.react","VideoCopyrightRuleActionItemConfig","XUIButton.react","XUICard.react"],(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;l.prototype.render=function(){return c("React").createElement("div",null,c("React").createElement(c("XUICard.react"),{className:"_20_d"},c("React").createElement("div",{className:"_20_e"},c("React").createElement("div",{className:"_2698"},i._("Add an Action")),c("React").createElement("div",{className:"_2699"},i._("Select the action you want to take on videos that match content in your reference files. {Link saying learn more}",[i.param("Link saying learn more",c("React").createElement(c("Link.react"),{href:c("VideoCopyrightLearnMoreLinks").learn_more_add_action,target:"_blank"},i._("Learn more")))])),c("React").createElement("div",{className:"_269a"},c("VideoCopyrightRuleActionItemConfig").map(function(m){var n=!this.props.isMonetizationOnboarded&&m.key===c("VideoCopyrightRuleActionType").MONETIZE;return c("React").createElement(c("VideoCopyrightRuleActionItem.react"),{className:m.className,isSelected:this.props.selectedAction===m.key,onClick:function(){return this.props.onSelectAction(m.key)}.bind(this),glyphClassName:m.glyphClassName,title:n?m.titleOnDisable:m.title,description:n&&m.descriptionOnDisable?m.descriptionOnDisable(this.props.pageID):m.description,key:m.key,actionType:m.key,disabled:n,pageID:this.props.pageID})}.bind(this))),c("React").createElement("div",{className:"_269b"},c("React").createElement(c("XUIButton.react"),{className:"_2kuz",size:"medium",label:i._("Cancel"),use:"default",disabled:this.props.isRuleEmpty,onClick:this.props.onCloseAddActionCard}),c("React").createElement(c("XUIButton.react"),{className:"_2kuz",size:"medium",label:i._("Next"),use:"confirm",disabled:!this.props.selectedAction,onClick:function(){this.props.selectedAction?this.props.onAddAction(this.props.selectedAction):null}.bind(this)})))))};function l(){j.apply(this,arguments)}f.exports=l}),null);
__d("VideoCopyrightRuleActionColumn.react",["cx","fbt","LeftRight.react","React","ReactCSSTransitionGroup","VideoCopyrightRule","VideoCopyrightRuleAction","VideoCopyrightRuleAddActionButton.react","VideoCopyrightRuleActionType","VideoCopyrightRuleActionItemConfig","VideoCopyrightRuleActionCard.react","VideoCopyrightRuleAddActionCard.react","XUIButton.react","XUICard.react"],(function a(b,c,d,e,f,g,h,i){__p&&__p();var j,k;j=babelHelpers.inherits(l,c("React").Component);k=j&&j.prototype;function l(m){"use strict";k.constructor.call(this,m);this.state={selectedAction:null}}l.prototype.$VideoCopyrightRuleActionColumn1=function(m){"use strict";if(m!==null)this.refs[m].scrollIntoView({block:"end",behavior:"smooth"})};l.prototype.componentWillReceiveProps=function(m){"use strict";if(m.actionIndexToFocus!==this.props.actionIndexToFocus)this.$VideoCopyrightRuleActionColumn1(m.actionIndexToFocus)};l.prototype.render=function(){"use strict";return c("React").createElement("div",{className:this.props.className},this.props.isViewing?c("React").createElement(c("LeftRight.react"),null,c("React").createElement("div",{className:"_3yxt"},c("React").createElement("div",{className:"_331e"},i._("Read only. Create a new version of this match rule to make changes.")),c("React").createElement(c("XUIButton.react"),{className:"_331f",onClick:this.props.onCreateNewVersion,label:i._("New Version...")}))):null,c("React").createElement(c("XUICard.react"),{className:"_2ph_",background:"highlight"},c("React").createElement("div",{className:"_4q0_"},c("React").createElement("div",{className:"_4q10"},i._("Find videos that match your reference files")),i._("This match rule will find any videos on Facebook that match content in your reference files. You can associate reference files to this match rule when you add a new reference file or by going to the Reference File tab."))),c("React").createElement(c("ReactCSSTransitionGroup"),{className:"_620b",component:"div",key:"actionCards",transitionLeaveTimeout:300,transitionEnterTimeout:400,transitionName:"actionCards"},this.props.rule.getActions().map(function(m,n){return c("React").createElement("div",{ref:m.getID(),key:m.getID()},c("React").createElement(c("VideoCopyrightRuleActionCard.react"),{actionConfig:c("VideoCopyrightRuleActionItemConfig").find(function(o){return o.key===m.getActionType()}),actionIndex:n,actionCount:this.props.rule.getActions().length,action:m,onActionUpdated:this.props.onActionUpdated,onActionDeleted:this.props.onActionDeleted,onActionMoved:this.props.onActionMoved,isViewing:this.props.isViewing,isMonetizationOnboarded:this.props.isMonetizationOnboarded,pageID:this.props.pageID}))}.bind(this))),c("React").createElement(c("ReactCSSTransitionGroup"),{className:"_26ui",component:"div",key:"addActionCard",transitionEnter:false,transitionLeave:this.state.selectedAction!==null,transitionLeaveTimeout:400,transitionName:"addActionCard"},this.props.showAddActionCard&&!this.props.isViewing?c("React").createElement(c("VideoCopyrightRuleAddActionCard.react"),{key:"addActionCardContainer",onAddAction:this.props.onAddAction,isMonetizationOnboarded:this.props.isMonetizationOnboarded,pageID:this.props.pageID,onCloseAddActionCard:function(){return this.setState({selectedAction:null},this.props.onCloseAddActionCard)}.bind(this),isRuleEmpty:this.props.rule.isEmpty(),selectedAction:this.state.selectedAction,onSelectAction:function(m){return this.setState({selectedAction:m})}.bind(this)}):null),!this.props.showAddActionCard&&!this.props.isViewing?c("React").createElement(c("VideoCopyrightRuleAddActionButton.react"),{onClickAddActionButton:this.props.onClickAddActionButton}):null,c("React").createElement(c("XUICard.react"),{className:"_2ph_ _3-8y",background:"highlight"},c("React").createElement("div",{className:"_4q0_"},c("React").createElement("div",{className:"_4q10"},i._("Make sure to set up every action you want to take with matching videos")),i._("Any matching videos that don't fall under one of your selected actions in your match rule won't appear in Rights Manager."))))};f.exports=l}),null);
__d("VideoCopyrightRuleActionSummary.react",["cx","Image.react","React","VideoCopyrightRuleAction","VideoCopyrightRuleConditionRowConfig","VideoCopyrightRuleActionItemConfig","idx"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i=function i(j){var k,l,m=c("VideoCopyrightRuleActionItemConfig").find(function(n){return n.key===j.action.getActionType()});return c("React").createElement("div",{role:"presentation",className:"_1sip",onClick:function n(){return j.onActionToFocusUpdated(j.index)}},c("React").createElement("div",null,c("React").createElement(c("Image.react"),{src:(k=m)!=null?k.summaryGlyph:k}),c("React").createElement("div",{className:"_1sir"},(l=m)!=null?l.title:l),c("React").createElement("ul",null,j.action.getConditions().filter(function(n){return Object.prototype.hasOwnProperty.call(c("VideoCopyrightRuleConditionRowConfig")[n.getConditionType()],"getSummary")}).filter(function(n){return n.getValue()!==null&&n.getValue().length>0}).map(function(n,o){return c("React").createElement("li",{key:o,className:"_1siv"},c("VideoCopyrightRuleConditionRowConfig")[n.getConditionType()].getSummary(n.getOption(),n.getValue()))}))))};f.exports=i}),null);
__d("VideoCopyrightRuleCancelConfirmationDialog.react",["fbt","React","XUIDialog.react","XUIDialogTitle.react","XUIDialogBody.react","XUIDialogFooter.react","XUIDialogButton.react"],(function a(b,c,d,e,f,g,h){"use strict";function i(j){return c("React").createElement(c("XUIDialog.react"),{shown:j.showCancelConfirmationDialog,width:400},c("React").createElement(c("XUIDialogTitle.react"),{showCloseButton:false},h._("Are you sure you want to cancel?")),c("React").createElement(c("XUIDialogBody.react"),null,h._("The match rule you were creating will be removed.")),c("React").createElement(c("XUIDialogFooter.react"),null,c("React").createElement(c("XUIDialogButton.react"),{label:h._("Keep Editing"),use:"default",onClick:j.onBackToEdit}),c("React").createElement(c("XUIDialogButton.react"),{label:h._("Discard"),use:"confirm",onClick:j.onCloseDrawer})))}f.exports=i}),null);
__d("VideoCopyrightRuleDialogMainPanelFooterButtons.react",["cx","fbt","React","VideoCopyrightRule","XUIButton.react"],(function a(b,c,d,e,f,g,h,i){"use strict";function j(k){return k.isViewing?c("React").createElement("span",null,c("React").createElement(c("XUIButton.react"),{className:"_60os",size:"large",label:i._("Delete"),onClick:k.onDeleteButtonClick,disabled:k.copyrightsCount!==0}),c("React").createElement(c("XUIButton.react"),{className:"_60ot",size:"large",use:"confirm",label:i._("OK"),onClick:k.onClose})):c("React").createElement("span",null,c("React").createElement(c("XUIButton.react"),{className:"_60os",size:"large",label:i._("Cancel"),onClick:k.onClose}),c("React").createElement(c("XUIButton.react"),{className:"_60ot",size:"large",label:i._("Save"),use:"confirm",disabled:k.rule.isEmpty(),onClick:k.onSave}))}f.exports=j}),null);
__d("VideoCopyrightRuleDialogMainPanelFooter.react",["cx","fbt","React","VideoCopyrightRule","VideoCopyrightRuleDialogMainPanelFooterButtons.react","SUIBusinessTheme","SUITextInput.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;function l(){k.constructor.call(this)}l.prototype.render=function(){return c("React").createElement("div",{className:"_60oo"},c("React").createElement("div",{className:"_60op"},i._("Match Rule Name")),c("React").createElement("div",{className:"_60or"},c("React").createElement(c("SUITextInput.react"),{placeholder:i._("Type a name here"),disabled:this.props.isViewing,onChange:this.props.onRuleNameChange,value:this.props.rule.getName(),theme:c("SUIBusinessTheme"),errorMessage:this.props.showErrorMessage?i._("Enter a name for the new match rule."):null})),c("React").createElement(c("VideoCopyrightRuleDialogMainPanelFooterButtons.react"),{onSave:this.props.onSave,onClose:this.props.onClose,onDeleteButtonClick:this.props.onDeleteButtonClick,rule:this.props.rule,isViewing:this.props.isViewing,copyrightsCount:this.props.copyrightsCount}))};f.exports=l}),null);
__d("VideoCopyrightRuleSummaryColumn.react",["ix","cx","fbt","BUIDraggableList.react","Image.react","ImageBlock.react","React","SUIBusinessTheme","SUIButton.react","VideoCopyrightRule","VideoCopyrightRuleActionSummary.react","VideoCopyrightRuleActionType","XUIText.react","asset","emptyFunction","fbglyph"],(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(n){l.constructor.call(this,n);var o=this.$VideoCopyrightRuleSummaryColumn1(n.rule);this.state={showDraggableList:false,itemsByID:o}}m.prototype.componentWillReceiveProps=function(n){var o=this.$VideoCopyrightRuleSummaryColumn1(n.rule);this.setState({itemsByID:o})};m.prototype.$VideoCopyrightRuleSummaryColumn1=function(n){var o={};n.getActions().forEach(function(p,q){return o[q.toString()]={id:q.toString(),label:c("React").createElement("div",{className:"_1wau"},c("React").createElement(c("VideoCopyrightRuleActionSummary.react"),{action:p,key:q,index:q,onActionToFocusUpdated:this.props.onActionToFocusUpdated}),c("React").createElement(c("Image.react"),{className:"_1wav",src:h("113453")})),isMovable:true,isRemovable:false}}.bind(this));return o};m.prototype.$VideoCopyrightRuleSummaryColumn2=function(n,o){var p=n,q=0;if(o)q=o>n?o-1:o;else q=this.props.rule.getActions().length-1;this.props.rule.moveActionByIndex(p,q);this.props.onActionUpdated()};m.prototype.render=function(){return c("React").createElement("div",{className:this.props.className},c("React").createElement("div",{className:"_60vi"},j._("PLATFORMS")),c("React").createElement("div",{className:"_60vj"},j._({"*":"Actions will be applied to matches on the following platforms","_1":"Actions will be applied to matches on the following platform"},[j.plural(this.props.isInstagramMonitoringEnabled?2:1)])),c("React").createElement("div",{className:"_60vj"},c("React").createElement(c("ImageBlock.react"),{className:"_3-99",contentClassName:"_2pic",spacing:"medium"},c("React").createElement(c("Image.react"),{className:"_lu9",src:h("390904")}),c("React").createElement(c("XUIText.react"),{className:"_60vj"},j._("Facebook"))),this.props.isInstagramMonitoringEnabled?c("React").createElement(c("ImageBlock.react"),{className:"_3-99",contentClassName:"_2pic",spacing:"medium"},c("React").createElement(c("Image.react"),{className:"_lu9",src:h("358267")}),c("React").createElement(c("XUIText.react"),{className:"_60vj"},j._("Instagram"))):null),c("React").createElement("div",{className:"_60vi _3-8x"},j._("ACTIONS")),c("React").createElement("div",{className:"_60vj"},j._("Actions will be applied in the order listed")),!this.props.rule.isEmpty()&&this.state.showDraggableList?c("React").createElement("div",{className:"_1wb6"},c("React").createElement(c("BUIDraggableList.react"),{itemIDs:Object.keys(this.state.itemsByID),itemsByID:this.state.itemsByID,onRemove:c("emptyFunction"),onReorder:function(n,o){this.$VideoCopyrightRuleSummaryColumn2(n,o)}.bind(this)})):this.props.rule.getActions().map(function(n,o){return c("React").createElement(c("VideoCopyrightRuleActionSummary.react"),{action:n,key:o,index:n.getID(),onActionToFocusUpdated:this.props.onActionToFocusUpdated})}.bind(this)),c("React").createElement("div",{className:"_60vj"},j._("Any remaining matches will be ignored")),this.props.rule.getActions().find(function(n){return n.getActionType()===c("VideoCopyrightRuleActionType").BLOCK})?c("React").createElement("div",{className:"_38f6"},c("React").createElement(c("Image.react"),{className:"_38f7",src:h("134351")}),c("React").createElement("div",{className:"_38f8"},j._("Blocked videos will not generate Reference File Insights"))):null,!this.props.rule.isEmpty()&&!this.props.isViewing?c("React").createElement("div",{className:"_1wb7"},this.state.showDraggableList?c("React").createElement("div",{className:"_3-96"},j._("Drag to change order")):null,c("React").createElement(c("SUIButton.react"),{onClick:function(){return this.setState({showDraggableList:!this.state.showDraggableList})}.bind(this),theme:c("SUIBusinessTheme"),label:this.state.showDraggableList?j._("Done"):j._("Change Order")})):null)};f.exports=m}),null);
__d("VideoCopyrightRuleMainPanelContent.react",["cx","React","SUIBusinessTheme","SUISpinner.react","VideoCopyrightRule","VideoCopyrightRuleAction","VideoCopyrightRuleActionColumn.react","VideoCopyrightRuleActionType","VideoCopyrightRuleSummaryColumn.react"],(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("div",null,this.props.showSpinner?c("React").createElement("div",{className:"_3_bv"},c("React").createElement(c("SUISpinner.react"),{theme:c("SUIBusinessTheme")})):c("React").createElement(c("VideoCopyrightRuleActionColumn.react"),{className:"_2qyy",rule:this.props.rule,actionIndexToFocus:this.props.actionIndexToFocus,onAddAction:this.props.onAddAction,onActionUpdated:this.props.onActionUpdated,showAddActionCard:this.props.showAddActionCard,onClickAddActionButton:this.props.onClickAddActionButton,onActionDeleted:this.props.onActionDeleted,onActionMoved:this.props.onActionMoved,onCloseAddActionCard:this.props.onCloseAddActionCard,isViewing:this.props.isViewing,isMonetizationOnboarded:this.props.isMonetizationOnboarded,pageID:this.props.pageID,onCreateNewVersion:this.props.onCreateNewVersion}),c("React").createElement(c("VideoCopyrightRuleSummaryColumn.react"),{className:"_2qyz",rule:this.props.rule,onActionToFocusUpdated:this.props.onActionToFocusUpdated,onActionUpdated:this.props.onActionUpdated,isInstagramMonitoringEnabled:this.props.isInstagramMonitoringEnabled,isViewing:this.props.isViewing}))};function k(){"use strict";i.apply(this,arguments)}f.exports=k}),null);
__d("VideoCopyrightRuleMainPanelHeader.react",["cx","fbt","PageContentTabDrawer.react","React"],(function a(b,c,d,e,f,g,h,i){"use strict";function j(k){return c("React").createElement(c("PageContentTabDrawer.react").Header,{showBackButton:false,showCloseButton:false,className:"_26-k",onClose:k.onClose},k.isViewing?i._("Match Rule: {Match rule name}",[i.param("Match rule name",k.ruleName)]):i._("Create Match Rule"))}f.exports=j}),null);
__d("XVideoCopyrightMatchRuleDataController",["XController"],(function a(b,c,d,e,f,g){f.exports=c("XController").create("/video/copyright/match_rule_dialog/",{page_id:{type:"FBID",required:true},rule_id:{type:"FBID"}})}),null);
__d("VideoCopyrightRuleMainPanel.react",["cx","fbt","ActorURI","Arbiter","AsyncRequest","DOM","MatchRuleDeleteConfirmationDialog.react","PageContentTabDrawer.react","PageContentTabVideosCopyrightRuleActions","React","ReactDOM","VideoCopyrightRule","VideoCopyrightRuleAction","VideoCopyrightRuleActionType","VideoCopyrightRuleCancelConfirmationDialog.react","VideoCopyrightRuleConditionRowConfig","VideoCopyrightRuleDialogMainPanelFooter.react","VideoCopyrightRuleMainPanelContent.react","VideoCopyrightRuleMainPanelHeader.react","VideoCopyrightRuleOverlapConditionType","XVideoCopyrightMatchRuleDataController"],(function a(b,c,d,e,f,g,h,i){__p&&__p();var j,k;j=babelHelpers.inherits(l,c("React").Component);k=j&&j.prototype;function l(m){"use strict";__p&&__p();k.constructor.call(this,m);this.$VideoCopyrightRuleMainPanel2=function(){this.setState({nestedDrawerPosition:"hidden",showCancelConfirmationDialog:false})}.bind(this);this.$VideoCopyrightRuleMainPanel3=function(){if(this.props.isViewing)this.$VideoCopyrightRuleMainPanel2();else this.setState({showCancelConfirmationDialog:true})}.bind(this);this.$VideoCopyrightRuleMainPanel4=function(){this.setState({showCancelConfirmationDialog:false})}.bind(this);this.state={rule:m.rule||new(c("VideoCopyrightRule"))(),showAddActionCard:!m.ruleID&&!m.rule,nestedDrawerPosition:"hidden",actionIndexToFocus:null,showSpinner:!!m.ruleID||this.props.accessToken===null||this.props.isMonetizationOnboarded===null,copyrightsCount:0,accessToken:m.accessToken||"",isInstagramMonitoringEnabled:false,isMonetizationOnboarded:m.isMonetizationOnboarded||false,isViewing:m.isViewing,showNameErrorMessage:false,showCancelConfirmationDialog:false}}l.prototype.componentWillMount=function(){"use strict";__p&&__p();if(this.props.ruleID||this.props.accessToken===null||this.props.isMonetizationOnboarded===null){var m=c("XVideoCopyrightMatchRuleDataController").getURIBuilder().setFBID("page_id",this.props.pageID).setFBID("rule_id",this.props.ruleID).getURI();m=c("ActorURI").create(m,this.props.pageID);new(c("AsyncRequest"))(m).setHandler(function(n){if(n){if(this.props.ruleID)this.setState({rule:c("VideoCopyrightRule").fromAPIforNewMatchRule(n.payload.rule),copyrightsCount:n.payload.rule.copyrights_count,showSpinner:false});this.setState({accessToken:n.payload.access_token,isMonetizationOnboarded:!!n.payload.is_monetization_onboarded,isInstagramMonitoringEnabled:n.payload.is_instagram_monitoring_enabled,showSpinner:false})}}.bind(this)).send()}};l.prototype.componentDidMount=function(){"use strict";this.setState({nestedDrawerPosition:"open"})};l.prototype.$VideoCopyrightRuleMainPanel1=function(){"use strict";var m=this.state.rule;m.getActions().map(function(o){if(!o.getConditions().find(function(p){return c("VideoCopyrightRuleOverlapConditionType").includes(p.getConditionType())}))o.pushConditionByIndex(c("VideoCopyrightRuleConditionRowConfig").OVERLAP_DURATION.createCondition(),1)});var n=i._("Copy");m.setName(m.getName().toString()+" "+n.toString());this.setState({rule:m,isViewing:false})};l.prototype.onDeleteRule=function(){"use strict";if(this.props.ruleID){c("PageContentTabVideosCopyrightRuleActions").deleteMatchRule(this.props.pageID,this.props.ruleID,this.state.accessToken);this.$VideoCopyrightRuleMainPanel2()}};l.prototype.$VideoCopyrightRuleMainPanel5=function(){"use strict";c("ReactDOM").render(c("React").createElement(c("MatchRuleDeleteConfirmationDialog.react"),{onDelete:this.onDeleteRule.bind(this),onCancel:function m(){},postCount:this.state.copyrightsCount}),c("DOM").create("div"))};l.prototype.$VideoCopyrightRuleMainPanel6=function(m){"use strict";var n=this.state.rule;n.pushAction(new(c("VideoCopyrightRuleAction"))(m,[c("VideoCopyrightRuleConditionRowConfig").GEO.createCondition(),c("VideoCopyrightRuleConditionRowConfig").OVERLAP_DURATION.createCondition(),c("VideoCopyrightRuleConditionRowConfig").MONITORING_TYPE.createCondition(),c("VideoCopyrightRuleConditionRowConfig").PUBLISHER_TYPE.createCondition(),c("VideoCopyrightRuleConditionRowConfig").PRIVACY.createCondition()]));this.setState({rule:n,showAddActionCard:false})};l.prototype.$VideoCopyrightRuleMainPanel7=function(){"use strict";this.setState({showAddActionCard:true})};l.prototype.$VideoCopyrightRuleMainPanel8=function(m){"use strict";var n=this.state.rule;n.setName(m);this.setState({rule:n,showNameErrorMessage:false})};l.prototype.$VideoCopyrightRuleMainPanel9=function(){"use strict";this.setState({rule:this.state.rule})};l.prototype.$VideoCopyrightRuleMainPanel10=function(m){"use strict";this.setState({actionIndexToFocus:m})};l.prototype.$VideoCopyrightRuleMainPanel11=function(m){"use strict";this.state.rule.removeAction(m);this.$VideoCopyrightRuleMainPanel9();if(this.state.rule.isEmpty())this.setState({showAddActionCard:true})};l.prototype.$VideoCopyrightRuleMainPanel12=function(m,n){"use strict";var o=this.state.rule.getActions().indexOf(m),p=o+n;this.state.rule.moveActionByIndex(o,p);this.$VideoCopyrightRuleMainPanel9()};l.prototype.$VideoCopyrightRuleMainPanel13=function(){"use strict";__p&&__p();if(!this.state.rule.hasName()){this.setState({showNameErrorMessage:true});return}c("PageContentTabVideosCopyrightRuleActions").createMatchRule(this.props.pageID,this.state.rule.toAPIforNewMatchRule(),this.state.accessToken).done(function(m){c("Arbiter").inform("VideoCopyrightRule/closeDialog",m.id);this.setState({nestedDrawerPosition:"hidden"});if(this.props.onCloseDialog)this.props.onCloseDialog();if(this.props.onMatchRuleCreated)this.props.onMatchRuleCreated(m)}.bind(this))};l.prototype.$VideoCopyrightRuleMainPanel14=function(){"use strict";this.setState({showAddActionCard:false})};l.prototype.render=function(){"use strict";return c("React").createElement("div",null,c("React").createElement(c("PageContentTabDrawer.react"),{className:"_26-i",onClose:this.$VideoCopyrightRuleMainPanel2.bind(this),onClosed:this.props.onCloseDialog,hideOnBackgroundClick:this.state.isViewing,useTransparentBackground:false,position:this.state.nestedDrawerPosition,drawerView:{header:c("React").createElement(c("VideoCopyrightRuleMainPanelHeader.react"),{onClose:this.$VideoCopyrightRuleMainPanel2,ruleName:this.state.rule.getName(),isViewing:this.props.isViewing}),content:c("React").createElement(c("VideoCopyrightRuleMainPanelContent.react"),{rule:this.state.rule,actionIndexToFocus:this.state.actionIndexToFocus,onAddAction:this.$VideoCopyrightRuleMainPanel6.bind(this),onActionUpdated:this.$VideoCopyrightRuleMainPanel9.bind(this),showAddActionCard:this.state.showAddActionCard,onClickAddActionButton:this.$VideoCopyrightRuleMainPanel7.bind(this),onActionDeleted:this.$VideoCopyrightRuleMainPanel11.bind(this),onActionMoved:this.$VideoCopyrightRuleMainPanel12.bind(this),onActionToFocusUpdated:this.$VideoCopyrightRuleMainPanel10.bind(this),onCloseAddActionCard:this.$VideoCopyrightRuleMainPanel14.bind(this),isViewing:this.state.isViewing,showSpinner:this.state.showSpinner,isInstagramMonitoringEnabled:this.state.isInstagramMonitoringEnabled,isMonetizationOnboarded:this.state.isMonetizationOnboarded,pageID:this.props.pageID,onCreateNewVersion:this.$VideoCopyrightRuleMainPanel1.bind(this)}),footer:c("React").createElement(c("VideoCopyrightRuleDialogMainPanelFooter.react"),{onSave:this.$VideoCopyrightRuleMainPanel13.bind(this),onClose:this.$VideoCopyrightRuleMainPanel3,onRuleNameChange:this.$VideoCopyrightRuleMainPanel8.bind(this),rule:this.state.rule,isViewing:this.state.isViewing,onDeleteButtonClick:this.$VideoCopyrightRuleMainPanel5.bind(this),copyrightsCount:this.state.copyrightsCount,showErrorMessage:this.state.showNameErrorMessage})}}),c("React").createElement(c("VideoCopyrightRuleCancelConfirmationDialog.react"),{showCancelConfirmationDialog:this.state.showCancelConfirmationDialog,onCloseDrawer:this.$VideoCopyrightRuleMainPanel2,onBackToEdit:this.$VideoCopyrightRuleMainPanel4}))};f.exports=l}),null);
__d("VideoCopyrightRuleTemplateBlankSelectDialogContent.react",["cx","fbt","React","XUIButton.react","XUIDialog.react","XUIDialogTitle.react"],(function a(b,c,d,e,f,g,h,i){"use strict";var j=function j(k){return c("React").createElement(c("XUIDialog.react"),{width:502,shown:!k.showMainPanel},c("React").createElement(c("XUIDialogTitle.react"),null,i._("Create Match Rule")),c("React").createElement("div",{className:"_4ynh"},i._("Select one to get started")),c("React").createElement("div",{className:"_4yni"},c("React").createElement("div",{className:"_4ynj"+(k.isTemplateSelected?" _4ynk":""),onClick:k.handleClickTemplate,role:"presentation"},c("React").createElement("div",{className:"_4ynl"},c("React").createElement("div",{className:"_2lxv"})),c("React").createElement("div",{className:"_4ynm"},i._("Template")),c("React").createElement("div",{className:"_4ynn"},i._("Get started with a sample match rule that you can edit."))),c("React").createElement("div",{className:"_4yno"+(!k.isTemplateSelected?" _4ynk":""),onClick:k.handleClickBlank,role:"presentation"},c("React").createElement("div",{className:"_4ynl"},c("React").createElement("div",{className:"_2lxy"})),c("React").createElement("div",{className:"_4ynm"},i._("Blank")),c("React").createElement("div",{className:"_4ynn"},i._("Set up a match rule without any pre-filled actions.")))),c("React").createElement("div",{className:"_4ynp"},i._("Match rules detect videos containing content you own the rights to and allow you to take actions on them automatically.")),c("React").createElement("div",{className:"_3eyy"},c("React").createElement("div",{className:"_3eyz"},c("React").createElement(c("XUIButton.react"),{size:"large",label:i._("Cancel"),className:"_4ynq",onClick:k.onClickCancelButton}),c("React").createElement(c("XUIButton.react"),{size:"large",label:i._("Next"),use:"confirm",className:"_4ynq",onClick:k.onClickNextButton}))))};f.exports=j}),null);
__d("VideoCopyrightRuleTemplateBlankSelectDialog",["React","ReactDOM","VideoCopyrightRule","VideoCopyrightRuleAction","VideoCopyrightRuleActionType","VideoCopyrightRuleConditionRowConfig","VideoCopyrightRuleMainPanel.react","VideoCopyrightRuleTemplateBlankSelectDialogContent.react","XUIDialog.react"],(function a(b,c,d,e,f,g){__p&&__p();var h,i;h=babelHelpers.inherits(j,c("React").Component);i=h&&h.prototype;function j(l){"use strict";i.constructor.call(this,l);this.state={isTemplateSelected:true,showMainPanel:false,rule:null};this.$VideoCopyrightRuleTemplateBlankSelectDialogComponent1=this.$VideoCopyrightRuleTemplateBlankSelectDialogComponent1.bind(this);this.$VideoCopyrightRuleTemplateBlankSelectDialogComponent2=this.$VideoCopyrightRuleTemplateBlankSelectDialogComponent2.bind(this);this.$VideoCopyrightRuleTemplateBlankSelectDialogComponent4=this.$VideoCopyrightRuleTemplateBlankSelectDialogComponent4.bind(this);this.$VideoCopyrightRuleTemplateBlankSelectDialogComponent5=this.$VideoCopyrightRuleTemplateBlankSelectDialogComponent5.bind(this)}j.prototype.$VideoCopyrightRuleTemplateBlankSelectDialogComponent1=function(){"use strict";this.setState({isTemplateSelected:true})};j.prototype.$VideoCopyrightRuleTemplateBlankSelectDialogComponent2=function(){"use strict";this.setState({isTemplateSelected:false})};j.prototype.$VideoCopyrightRuleTemplateBlankSelectDialogComponent5=function(){"use strict";k.hide()};j.prototype.$VideoCopyrightRuleTemplateBlankSelectDialogComponent6=function(l){"use strict";return new(c("VideoCopyrightRuleAction"))(l,[c("VideoCopyrightRuleConditionRowConfig").GEO.createCondition(),c("VideoCopyrightRuleConditionRowConfig").OVERLAP_DURATION.createConditionForTemplate(l),c("VideoCopyrightRuleConditionRowConfig").MONITORING_TYPE.createCondition(),c("VideoCopyrightRuleConditionRowConfig").PUBLISHER_TYPE.createCondition(),c("VideoCopyrightRuleConditionRowConfig").PRIVACY.createCondition()])};j.prototype.$VideoCopyrightRuleTemplateBlankSelectDialogComponent4=function(){"use strict";var l=null;if(this.state.isTemplateSelected){var m=[this.$VideoCopyrightRuleTemplateBlankSelectDialogComponent6(c("VideoCopyrightRuleActionType").BLOCK),this.$VideoCopyrightRuleTemplateBlankSelectDialogComponent6(c("VideoCopyrightRuleActionType").TRACK),this.$VideoCopyrightRuleTemplateBlankSelectDialogComponent6(c("VideoCopyrightRuleActionType").MANUAL_REVIEW)];if(this.props.isMonetizationOnboarded)m=[this.$VideoCopyrightRuleTemplateBlankSelectDialogComponent6(c("VideoCopyrightRuleActionType").MONETIZE)].concat(m);l=new(c("VideoCopyrightRule"))(m)}this.setState({showMainPanel:true,rule:l})};j.prototype.render=function(){"use strict";return c("React").createElement("div",null,c("React").createElement(c("VideoCopyrightRuleTemplateBlankSelectDialogContent.react"),{isTemplateSelected:this.state.isTemplateSelected,handleClickTemplate:this.$VideoCopyrightRuleTemplateBlankSelectDialogComponent1,handleClickBlank:this.$VideoCopyrightRuleTemplateBlankSelectDialogComponent2,onClickCancelButton:this.$VideoCopyrightRuleTemplateBlankSelectDialogComponent5,onClickNextButton:this.$VideoCopyrightRuleTemplateBlankSelectDialogComponent4,showMainPanel:this.state.showMainPanel}),this.state.showMainPanel?c("React").createElement(c("XUIDialog.react"),{width:0,shown:true,titleID:"main panel"},c("React").createElement(c("VideoCopyrightRuleMainPanel.react"),{pageID:this.props.pageID,rule:this.state.rule,accessToken:this.props.accessToken,isViewing:false,onCloseDialog:this.$VideoCopyrightRuleTemplateBlankSelectDialogComponent5,isMonetizationOnboarded:this.props.isMonetizationOnboarded})):null)};var k={show:function l(m,n){var o=arguments.length<=2||arguments[2]===undefined?null:arguments[2];this._container=document.createElement("div");c("ReactDOM").render(c("React").createElement(j,{pageID:m,accessToken:n,isMonetizationOnboarded:o}),this._container)},hide:function l(){if(!this._container)return;this.destroy()},destroy:function l(){c("ReactDOM").unmountComponentAtNode(this._container);this._container=null}};f.exports=k}),null);
__d("VideoQualityClass",[],(function a(b,c,d,e,f,g){f.exports=Object.freeze({UHD:"uhd",HD:"hd",SD:"sd"})}),null);
__d("Pleasantville.react",["React","ReactDOM","VideoPlayerHTML5Api","VideoPlayerHTML5Shaka","VideoPlayerReactConfig","VideoQualityClass"],(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=this.props,l=k.offsetType,m=k.offsetValue,n=null,o=null;if(l=="horizontal")o=m;else if(l=="vertical")n=m;return c("React").createElement("video",{ref:"video",muted:this.props.startMuted,className:this.props.className,"data-video-width":this.props.width||"","data-video-height":this.props.height||"",style:{top:n,left:o}})};j.prototype.getVideoPlayerInitArgs=function(){var k={VideoPlayerHTML5Shaka:c("VideoPlayerHTML5Shaka"),disableNativeControls:true,subtitlesActive:this.props.showSubtitles,minQuality:this.props.forceHD?c("VideoQualityClass").HD:c("VideoPlayerReactConfig").defaultQuality,unloadShouldCancelPendingRequest:true};return{apiConfig:k,apiModule:c("VideoPlayerHTML5Api"),videoElement:c("ReactDOM").findDOMNode(this.refs.video)}};function j(){h.apply(this,arguments)}f.exports=j}),null);
__d("VideoAutoplayGatingResult",[],(function a(b,c,d,e,f,g){f.exports=Object.freeze({UGC_DEFAULT_ALLOWED:"ugc_default_allowed",PAGE_SPONSORED_ALLOWED:"page_sponsored_allowed",PAGE_SPONSORED_DEBUG_FORCE_ALLOWED:"page_sponsored_debug_force_allowed",FEED_RANKING_UGC_ALLOWED:"feed_ranking_ugc_allowed",ALL_PAGE_ORGANIC_ALLOWED:"all_page_organic_allowed",FEED_RANKING_ORGANIC_ALLOWED:"feed_ranking_organic_allowed",RELATED_WHITELISTED_ORGANIC_ALLOWED:"related_whitelisted_organic_allowed",HQ_PAGE_ORGANIC_ALLOWED:"hq_page_organic_allowed",PREMIUM_DEFAULT_ALLOWED:"premium_default_allowed",DEMO_SPONSORED_ALLOWED:"demo_sponsored_allowed",PLAYABLE_AD_ALLOWED:"playable_ad_allowed",EVENT_COVER_ALLOWED:"event_cover_allowed",GIF_ALLOWED:"gif_allowed",NO_GATING:"no_gating",UNKNOWN:"unknown",FEED_RANKING_UNKNOWN:"feed_ranking_unknown",LONG_TERM_HOLDOUT:"long_term_holdout",DEFAULT_OFF:"default_off",GATEKEEPER:"gatekeeper",UGC_HOLDOUT:"ugc_holdout",IS_SPONSORED:"is_sponsored",IS_SPONSORED_UGC:"is_sponsored_ugc",IS_BOOSTED:"is_boosted",NO_OWNER:"no_owner",PAGE_NOT_WHITELISTED:"page_not_whitelisted",PAGE_NOT_BRAND_SAFE:"page_not_brand_safe",NO_USER_PAGE_RELATIONSHIP:"no_user_page_relationship",USER_SETTINGS:"user_settings",VIDEO_BLACKLISTED:"video_blacklisted",UGC_VIDEO_DISABLED_BY_QE:"ugc_video_disabled_by_qe",PAGE_WHITELIST_DISABLED_BY_QE:"page_whitelist_disabled_by_qe",RANKING_PREDICTION_DISABLED:"ranking_prediction_disabled",RANKING_DATA_MISSING:"ranking_data_missing",HIGH_XOUT_RATIO:"high_xout_ratio",VIDEO_UNORIGINALITY:"video_unoriginality",DISABLED_BY_GAP_RULE:"disabled_by_gap_rule",AUTOPLAY_ADS_COUNT_CAP_REACHED:"autoplay_ads_count_cap_reached",AUTOPLAY_ADS_COUNT_CAP_REACHED_BACKEND:"autoplay_ads_count_cap_reached_backend",MOO_PREMIUM_AUTOPLAY_ADS_COUNT_CAP_REACHED:"moo_premium_autoplay_ads_count_cap_reached",MOO_PREMIUM_AUTOPLAY_ADS_COUNT_CAP_REACHED_BACKEND:"moo_premium_autoplay_ads_count_cap_reached_backend",AUTOPLAY_DISABLED_FOR_CLICK_BIDDING_ADS:"autoplay_disabled_for_click_bidding_ads",AUTOPLAY_DISABLED_FOR_ALL_ADS:"autoplay_disabled_for_all_ads",NOT_WHITELISTED_ACCOUNT:"not_whitelisted_account",NOT_MANAGED_ACCOUNT:"not_managed_account",UNSUPPORTED_CURRENCY:"unsupported_currency",DISABLED_BY_DYNAMIC_CAP:"disabled_by_dynamic_cap",DISABLED_BY_CREATIVE_TYPE:"disabled_by_creative_type",MOBILE_DATA_CONSUMPTION_LIMIT:"mobile_data_consumption_limit",PAGE_VIDEO_NOT_WIFI:"page_video_not_wifi",DISABLED_BY_AD_QUALITY_TABLE:"disabled_by_ad_quality_table",POOR_CONNECTION_QUALITY:"poor_connection_quality",AUTOPLAY_ADS_DISABLED_BY_BLACKLISTED_PAGE:"autoplay_ads_disabled_by_blacklisted_page",BACK_TO_BACK_VIDEOS:"back_to_back_videos",VIDEO_BROADCAST_AUTOPLAY_DISABLED:"video_broadcast_autoplay_disabled",VIDEO_TOO_LONG:"video_too_long",LOW_VIDEO_VIEW_PREDICTION:"low_video_view_prediction",SPHERICAL_CELL:"spherical_cell",STORY_OF_FRIENDSHIP:"story_of_friendship",GOODWILL_VIDEO_PROMOTION_BLOCKBUSTER:"goodwill_video_promotion_blockbuster",GOODWILL_VIDEO_SHARE_BLOCKBUSTER:"goodwill_video_share_blockbuster",AUTOPLAY_DISABLED_IN_BOUNCER:"autoplay_disabled_in_bouncer",DISABLED_FOR_PRE_ROLL:"disabled_for_pre_roll",VOICE_POST_AUTOPLAY_DISABLED:"voice_post_autoplay_disabled",TEST_DISABLE_AUTOPLAY_ENTER_SOCIAL_PLAYER:"test_disable_autoplay_enter_social_player",USER_GATING_PASSED:"user_gating_passed",USER_PAGE_GATING_PASSED:"user_page_gating_passed",TEST_WHITELISTED:"test_whitelisted",TEST_BLACKLISTED:"test_blacklisted",TEST_NON_AD_FOR_ADS_ONLY_AUTOPLAY:"test_non_ad_for_ads_only_autoplay",WHITELISTED_XOUT_VIDEO:"whitelisted_xout_video",DISABLED_BY_POSITION_BUDGET:"disabled_by_position_budget",DISABLED_FOR_DATA_SENSITIVITY_TEST:"disabled_by_data_sensitivity_test",CHANNELS_NO_BUDGET:"channels_no_budget",DISABLE_FOR_DIODE_EXPLORE:"disable_for_diode_explore",DISABLE_FOR_DIODE_FRIEND:"disable_for_diode_friend"})}),null);
__d("VideoPlayerFlashApi",["AbstractVideoPlayerApi","Arbiter","DOMQuery","Flash","SubscriptionsHandler","VideoPlayerApiEvents","VideoPlayerLoggerErrors","VideoPlayerLoggerEvent","TimeRanges","destroyOnUnload"],(function a(b,c,d,e,f,g){__p&&__p();var h,i;function j(m){if(m.hasAttribute("data-flash"))return m.getAttribute("id");return c("DOMQuery").find(m,"div[data-flash]").getAttribute("id")}function k(m){var n=c("DOMQuery").scry(m,"embed");if(!n.length)n=c("DOMQuery").scry(m,"object");return n[0]}h=babelHelpers.inherits(l,c("AbstractVideoPlayerApi"));i=h&&h.prototype;function l(m){"use strict";__p&&__p();i.constructor.call(this);this.$VideoPlayerFlashApi1=k(m);this.$VideoPlayerFlashApi2=j(m);this.$VideoPlayerFlashApi3=null;this.$VideoPlayerFlashApi4=false;this.$VideoPlayerFlashApi5=new(c("SubscriptionsHandler"))();this.$VideoPlayerFlashApi5.addSubscriptions(c("Arbiter").subscribe(c("VideoPlayerApiEvents").map(function(n){return"flash/"+n}),this.$VideoPlayerFlashApi6.bind(this)));c("destroyOnUnload")(function(){return this.$VideoPlayerFlashApi5.release()}.bind(this))}l.onImplementationReady=function(m,n){"use strict";__p&&__p();var o=k(m);if(o&&o.playVideo)return n(m);var p=j(m),q=c("Arbiter").subscribe("flash/ready",function(r,s){if(s.divID===p){c("Arbiter").unsubscribeCurrentSubscription();c("Arbiter").releaseCurrentPersistentEvent();n(m)}});c("destroyOnUnload")(function(){return q.unsubscribe()})};l.isImplementationUnavailable=function(){"use strict";return!c("Flash").isAvailable()};l.prototype.$VideoPlayerFlashApi6=function(m,n){"use strict";__p&&__p();if(n.divID!==this.$VideoPlayerFlashApi2)return;var o=m.substr("flash/".length);switch(o){case"beginPlayback":this.$VideoPlayerFlashApi7=false;this.$VideoPlayerFlashApi8=n.position;this.$VideoPlayerFlashApi9=n.position;this.$VideoPlayerFlashApi4=true;break;case"updateStatus":this.$VideoPlayerFlashApi9=n.position;break;case"finishPlayback":this.$VideoPlayerFlashApi9=this.getPlaybackDuration();case"pausePlayback":this.$VideoPlayerFlashApi4=false}this.emit(o,n)};l.prototype.preload=function(){"use strict"};l.prototype.isPreloading=function(){"use strict";return false};l.prototype.abortLoading=function(){"use strict"};l.prototype.destroy=function(m){"use strict";this.$VideoPlayerFlashApi5.release()};l.prototype.isPaused=function(){"use strict";return undefined};l.prototype.pause=function(m){"use strict";__p&&__p();if(m==="unloaded"&&typeof this.$VideoPlayerFlashApi1.pauseVideo!=="function"){if(this.$VideoPlayerFlashApi4)this.emit("logEvent",{logData:{event:c("VideoPlayerLoggerEvent").PAUSED,reason:"unloaded",video_last_start_time_position:this.$VideoPlayerFlashApi8,video_time_position:this.$VideoPlayerFlashApi9}});this.$VideoPlayerFlashApi4=false;return}if(this.$VideoPlayerFlashApi7){this.$VideoPlayerFlashApi7=false;this.emit("logEvent",{logData:{event:c("VideoPlayerLoggerEvent").CANCELLED_REQUESTED_PLAYING,reason:m}})}this.$VideoPlayerFlashApi4=false;for(var n=arguments.length,o=Array(n>1?n-1:0),p=1;p<n;p++)o[p-1]=arguments[p];this.$VideoPlayerFlashApi10("pauseVideo",[m].concat(o))};l.prototype.play=function(){"use strict";this.$VideoPlayerFlashApi7=true;for(var m=arguments.length,n=Array(m),o=0;o<m;o++)n[o]=arguments[o];this.$VideoPlayerFlashApi10("playVideo",n,true)};l.prototype.replaceVideoDataFromURL=function(){"use strict";for(var m=arguments.length,n=Array(m),o=0;o<m;o++)n[o]=arguments[o];this.$VideoPlayerFlashApi10("replaceVideoDataFromURL",n)};l.prototype.replaceVideoData=function(){"use strict";for(var m=arguments.length,n=Array(m),o=0;o<m;o++)n[o]=arguments[o];this.$VideoPlayerFlashApi10("replaceVideoData",n)};l.prototype.getEstimatedBandwidth=function(){"use strict";return null};l.prototype.getCurrentlyPlayingStreamInfoID=function(){"use strict";return null};l.prototype.getLocalEstimator=function(){"use strict";return null};l.prototype.seek=function(){"use strict";for(var m=arguments.length,n=Array(m),o=0;o<m;o++)n[o]=arguments[o];this.$VideoPlayerFlashApi10("seekVideo",n)};l.prototype.switchVideo=function(){"use strict";for(var m=arguments.length,n=Array(m),o=0;o<m;o++)n[o]=arguments[o];this.$VideoPlayerFlashApi10("switchVideo",n)};l.prototype.switchToStreamType=function(){"use strict";for(var m=arguments.length,n=Array(m),o=0;o<m;o++)n[o]=arguments[o];this.$VideoPlayerFlashApi10("switchToStreamType",n)};l.prototype.unmute=function(){"use strict";for(var m=arguments.length,n=Array(m),o=0;o<m;o++)n[o]=arguments[o];this.$VideoPlayerFlashApi10("unmuteVideo",n)};l.prototype.mute=function(){"use strict";for(var m=arguments.length,n=Array(m),o=0;o<m;o++)n[o]=arguments[o];this.$VideoPlayerFlashApi10("muteVideo",n)};l.prototype.isMuted=function(){"use strict";for(var m=arguments.length,n=Array(m),o=0;o<m;o++)n[o]=arguments[o];return this.$VideoPlayerFlashApi10("isVideoMuted",n)};l.prototype.getPlaybackDuration=function(){"use strict";for(var m=arguments.length,n=Array(m),o=0;o<m;o++)n[o]=arguments[o];return this.$VideoPlayerFlashApi10("getVideoDuration",n)};l.prototype.getVolume=function(){"use strict";for(var m=arguments.length,n=Array(m),o=0;o<m;o++)n[o]=arguments[o];return this.$VideoPlayerFlashApi10("getVideoVolume",n)};l.prototype.setDimensions=function(m,n){"use strict";this.$VideoPlayerFlashApi10("setDimensions",[m,n])};l.prototype.getDimensionsForDevice=function(){"use strict";return null};l.prototype.setRotation=function(){"use strict";for(var m=arguments.length,n=Array(m),o=0;o<m;o++)n[o]=arguments[o];this.$VideoPlayerFlashApi10("setRotation",n)};l.prototype.getVideoInfo=function(){"use strict";if(!this.$VideoPlayerFlashApi11("getVideoInfo"))return null;for(var m=arguments.length,n=Array(m),o=0;o<m;o++)n[o]=arguments[o];var p=this.$VideoPlayerFlashApi10("getVideoInfo",n,false);if(p)return JSON.parse(p);else return null};l.prototype.setVolume=function(){"use strict";for(var m=arguments.length,n=Array(m),o=0;o<m;o++)n[o]=arguments[o];this.$VideoPlayerFlashApi10("setVolume",n)};l.prototype.toggleSubtitles=function(){"use strict";for(var m=arguments.length,n=Array(m),o=0;o<m;o++)n[o]=arguments[o];this.$VideoPlayerFlashApi10("toggleSubtitles",n)};l.prototype.hasSubtitles=function(){"use strict";if(!this.$VideoPlayerFlashApi11("hasSubtitles"))return false;for(var m=arguments.length,n=Array(m),o=0;o<m;o++)n[o]=arguments[o];return this.$VideoPlayerFlashApi10("hasSubtitles",n)};l.prototype.areSubtitlesActive=function(){"use strict";if(!this.$VideoPlayerFlashApi11("areSubtitlesActive"))return false;for(var m=arguments.length,n=Array(m),o=0;o<m;o++)n[o]=arguments[o];return this.$VideoPlayerFlashApi10("areSubtitlesActive",n)};l.prototype.areHLSActive=function(){"use strict";if(!this.$VideoPlayerFlashApi11("areHLSActive"))return false;for(var m=arguments.length,n=Array(m),o=0;o<m;o++)n[o]=arguments[o];return this.$VideoPlayerFlashApi10("areHLSActive",n)};l.prototype.isRTMP=function(){"use strict";if(!this.$VideoPlayerFlashApi11("isRTMP"))return false;for(var m=arguments.length,n=Array(m),o=0;o<m;o++)n[o]=arguments[o];return this.$VideoPlayerFlashApi10("isRTMP",n)};l.prototype.setPreferredVideoQuality=function(m){"use strict";if(m!=this.getSelectedVideoQuality()){this.$VideoPlayerFlashApi3=m;for(var n=arguments.length,o=Array(n>1?n-1:0),p=1;p<n;p++)o[p-1]=arguments[p];this.$VideoPlayerFlashApi10("toggleVideoHD",o)}};l.prototype.unsetPreferredVideoQuality=function(){"use strict"};l.prototype.getPreferredVideoQuality=function(){"use strict";return this.$VideoPlayerFlashApi3};l.prototype.getSelectedVideoQuality=function(){"use strict";if(!this.$VideoPlayerFlashApi11("isVideoHD"))return"SD";for(var m=arguments.length,n=Array(m),o=0;o<m;o++)n[o]=arguments[o];return this.$VideoPlayerFlashApi10("isVideoHD",n)?"HD":"SD"};l.prototype.getAvailableVideoQualities=function(){"use strict";if(!this.$VideoPlayerFlashApi11("hasVideoHD"))return["SD"];for(var m=arguments.length,n=Array(m),o=0;o<m;o++)n[o]=arguments[o];return this.$VideoPlayerFlashApi10("hasVideoHD",n)?["SD","HD"]:["SD"]};l.prototype.getIsAbrEnabled=function(){"use strict";return false};l.prototype.canAutoSelectVideoQuality=function(){"use strict";return false};l.prototype.setPreloadDisabled=function(m){"use strict";return};l.prototype.restoreStreamBufferSize=function(){"use strict";return};l.prototype.getCurrentTimePosition=function(){"use strict";return this.$VideoPlayerFlashApi9};l.prototype.getBufferEndPosition=function(){"use strict";return null};l.prototype.logHeartbeat=function(){"use strict";return};l.prototype.$VideoPlayerFlashApi11=function(m){"use strict";return typeof this.$VideoPlayerFlashApi1[m]==="function"};l.prototype.$VideoPlayerFlashApi10=function(m,n,o){"use strict";__p&&__p();try{if(this.$VideoPlayerFlashApi11(m))return this.$VideoPlayerFlashApi1[m].apply(this.$VideoPlayerFlashApi1,n);else throw new Error(m+" is not a valid method on the flash object")}catch(p){if(this.$VideoPlayerFlashApi12)return;this.$VideoPlayerFlashApi12=true;this.emit("error",{error:c("VideoPlayerLoggerErrors").ERROR_CALLING_FLASH,message:p.message,isPlayback:o});this.$VideoPlayerFlashApi12=false}};l.prototype.getDroppedFrames=function(){"use strict";return 0};l.prototype.getTotalFrames=function(){"use strict";return 0};l.prototype.getVideoNodeSource=function(){"use strict";return""};l.prototype.getSeekableRanges=function(){"use strict";return new(c("TimeRanges"))({startTime:0,endTime:this.getPlaybackDuration()})};l.prototype.getVideoProjection=function(){"use strict";return null};l.getPlayerVersion=function(){"use strict";return"silvercity"};l.getStreamTypeFromConfig=function(m){"use strict";return m.initial_stream_type||"progressive"};l.getIsPlayingLiveFromConfig=function(m){"use strict";return!!m.is_live_streaming};l.getIsFacecastAudioFromConfig=function(m){"use strict";return!!m.is_facecast_audio};l.getIsSpherical=function(m){"use strict";return!!m.is_spherical};f.exports=l}),null);
__d("VideoRenderingUtils",["VideoPlayerExperiments","VideoPlayerVersions"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h={getPlayerVersion:function i(){return c("VideoPlayerVersions").PLEASANTVILLE},isEmbeddedControlRedesign:function i(){var j=h.getPlayerVersion();return j===c("VideoPlayerVersions").PLEASANTVILLE},shouldFallbackToFlash:function i(j){var k=j.getPlayerVersionOverwrite();return k!==c("VideoPlayerVersions").PLEASANTVILLE},getFlashFalloverVideoDataList:function i(j){__p&&__p();var k=[j].concat(j.getFalloverData()),l={};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;l[q.getStreamType()]=q.getRawData()}var r={};for(var s=0;s<k.length;s++)r[s+1]=k[s].getRawData();return{videoDataPreference:r,videoDataByStreamType:l}}};f.exports=h}),null);
__d("Silvercity.react",["flash-js","CurrentUser","PixelRatio","React","ReactDOM","URI","UserAgentData","VideoAutoplayGatingResult","VideoPlayerExperiments","VideoPlayerFlashApi","VideoPlayerSilvercityConfigs","VideoRenderingUtils","swfobject","uuid"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h,i;c("flash-js");var j={autoHD:false,defaultHD:false,disableNativeControls:true,inlinePlayer:false,preload:false,startMuted:false,hideControlsWhenFinished:false,showCaptionsDefault:true,autoplayReason:c("VideoAutoplayGatingResult").UNKNOWN};h=babelHelpers.inherits(k,c("React").Component);i=h&&h.prototype;function k(l){i.constructor.call(this,l);this.swfID="swf_id_"+c("uuid")()}k.prototype.componentDidMount=function(){this.$Silvercity1()};k.prototype.componentWillReceiveProps=function(l){if(this.$Silvercity2(l))this.swfID="swf_id_"+c("uuid")()};k.prototype.componentDidUpdate=function(l){if(this.$Silvercity2(l))this.$Silvercity1()};k.prototype.$Silvercity2=function(l){return l.videoData.getVideoID()!==this.props.videoData.getVideoID()};k.prototype.$Silvercity3=function(){return{allowFullScreen:true,allowscriptaccess:"always",salign:"tl",scale:"noscale",wmode:"opaque"}};k.prototype.$Silvercity4=function(){var l=c("VideoRenderingUtils").getFlashFalloverVideoDataList(this.props.videoData),m=l.videoDataByStreamType,n=l.videoDataPreference;return{auto_hd:this.props.autoHD,autoplay_reason:this.props.autoplayReason,default_hd:this.props.defaultHD,disable_native_controls:this.props.disableNativeControls,inline_player:this.props.inlinePlayer,pixel_ratio:c("PixelRatio").get(),preload:this.props.preload,start_muted:this.props.startMuted,rtmp_stage_video:true,rtmp_buffer:c("VideoPlayerExperiments").enableRtmpBuffer,rtmp_buffer_time:c("VideoPlayerExperiments").rtmpBufferTime,rtmp_buffer_time_max:c("VideoPlayerExperiments").rtmpBufferTimeMax,video_data:m,video_data_preference:n,show_captions_default:this.props.showCaptionsDefault,persistent_volume:true,hide_controls_when_finished:this.props.hideControlsWhenFinished,rtmp_start_playing_non_zero_stream_time:true,rtmp_improve_playback_config:c("VideoPlayerExperiments").rtmpImprovePlayback,rtmp_start_time_fix:c("VideoPlayerExperiments").rtmpStartTimeFix,buffer_length:.1}};k.prototype.$Silvercity1=function(){__p&&__p();var l=new(c("swfobject").SWFObject)(c("VideoPlayerSilvercityConfigs").silvercitySwfUrl,this.swfID,this.props.width,this.props.height,["10.3.181.34","11.0.0"],"#000000"),m=this.$Silvercity3();for(var n=Object.keys(m),o=Array.isArray(n),p=0,n=o?n:n[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var q;if(o){if(p>=n.length)break;q=n[p++]}else{p=n.next();if(p.done)break;q=p.value}var r=q;l.addParam(r,m[r])}var s=c("UserAgentData").browserName+"+"+c("UserAgentData").browserFullVersion,t=new(c("URI"))().setSubdomain("pixel").toString(),u={params:encodeURIComponent(JSON.stringify(this.$Silvercity4())),width:this.props.width,height:this.props.height,user:c("CurrentUser").getID(),log:c("CurrentUser").isEmployee()?"yes":"no",showErrors:"yes",div_id:this.swfID,swf_id:this.swfID,browser:s,tracking_domain:encodeURIComponent(t),post_form_id:""};for(var v=Object.keys(u),w=Array.isArray(v),x=0,v=w?v:v[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var y;if(w){if(x>=v.length)break;y=v[x++]}else{x=v.next();if(x.done)break;y=x.value}var z=y;l.addVariable(z,u[z])}window[this.swfID]=l;l.write(this.swfID)};k.prototype.render=function(){return c("React").createElement("div",{ref:"video","data-flash":1,id:this.swfID,className:this.props.className,"data-video-width":this.props.width,"data-video-height":this.props.height})};k.prototype.getVideoPlayerInitArgs=function(){return{apiConfig:{is_live_streaming:this.props.videoData.isLiveStream(),initial_stream_type:this.props.videoData.getStreamType(),is_facecast_audio:this.props.videoData.isFacecastAudio(),is_spherical:this.props.videoData.isSpherical()},apiModule:c("VideoPlayerFlashApi"),videoElement:c("ReactDOM").findDOMNode(this.refs.video)}};k.defaultProps=j;f.exports=k}),null);
__d("VideoComponent",["CurrentUser","ErrorBoundary.react","React","RelayClassic_DEPRECATED","SubscriptionsHandler","react-relay/classic/query/fromGraphQL"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();function h(j){return j.displayName||j.name||"Component"}function i(j,k){__p&&__p();var l,m,n=k||{},o=n.observedVpcEvents||[],p=n.suppressMount||function(){return false},q=h(j);return m=l=function(){__p&&__p();var r,s;r=babelHelpers.inherits(t,c("React").Component);s=r&&r.prototype;function t(u){"use strict";__p&&__p();s.constructor.call(this,u);this.$VideoComponentContainer7=function(){if(this.$VideoComponentContainer2&&this.$VideoComponentContainer2.length&&this.refs.component){var v={time:Date.now(),queuedEvents:this.$VideoComponentContainer2};this.setState({vpcEventInfo:v});this.$VideoComponentContainer2=[]}}.bind(this);this.state={video:null,user:null,vpcEventInfo:{time:0,queuedEvents:[]}};this.$VideoComponentContainer2=[]}t.prototype.render=function(){"use strict";if(this.$VideoComponentContainer3())return null;return c("React").createElement(c("ErrorBoundary.react"),{onHandleError:function u(v,w){}},c("React").createElement(j,babelHelpers["extends"]({ref:"component"},this.props,{vpcEventInfo:this.state.vpcEventInfo,video:this.state.video,user:this.state.user})))};t.prototype.enable=function(u){"use strict";__p&&__p();if(this.$VideoComponentContainer3())return;this.vpc=u;this.$VideoComponentContainer1=new(c("SubscriptionsHandler"))();this.$VideoComponentContainer4(u);var v=this.refs.component;if(!v)return;if(!v.enable)throw new TypeError(q+" must implement enable(VideoPlayerController)");v.enable(u);this.$VideoComponentContainer5(u.getVideoID(),n.relayVideoConfig)};t.prototype.disable=function(){"use strict";__p&&__p();if(this.$VideoComponentContainer3())return;var u=this.refs.component;if(!u)return;if(!u.disable)throw new TypeError(q+" must implement disable()");u.disable();this.$VideoComponentContainer1.release()};t.prototype.$VideoComponentContainer3=function(){"use strict";return p(this.props.videoData)};t.prototype.$VideoComponentContainer5=function(u,v){__p&&__p();var w,x=this;"use strict";if(!u||!v)return;var y=v.fragments.video,z=v.fragments.user;if(!y)throw new Error(q+" must include a 'video' fragment");var A=c("react-relay/classic/query/fromGraphQL").Query(function(B,C){return{calls:[{kind:"Call",metadata:{type:"ID!"},name:"id",value:c("RelayClassic_DEPRECATED").QL.__var(B)}],children:[{fieldName:"id",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"ID"},{fieldName:"__typename",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"String"},{children:[].concat.apply([],[{fieldName:"id",kind:"Field",metadata:{isRequisite:true},type:"ID"},c("RelayClassic_DEPRECATED").QL.__frag(C)]),id:c("RelayClassic_DEPRECATED").QL.__id(),kind:"Fragment",metadata:{},name:"Video",type:"Video"}],fieldName:"node",kind:"Query",metadata:{isAbstract:true,identifyingArgName:"id",identifyingArgType:"ID!"},name:"VideoComponent",type:"Node"}}(u,y));c("RelayClassic_DEPRECATED").Store.primeCache({graphQLQuery:A},function(B){if(B.done){var C=c("RelayClassic_DEPRECATED").Store.readQuery(A)[0];if(this.vpc&&C&&this.refs.component&&C.id==this.vpc.getVideoID())this.setState({video:C})}}.bind(this));if(z)(function(){var B=c("react-relay/classic/query/fromGraphQL").Query(function(C,D){return{calls:[{kind:"Call",metadata:{type:"ID!"},name:"id",value:c("RelayClassic_DEPRECATED").QL.__var(C)}],children:[{fieldName:"id",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"ID"},{children:[].concat.apply([],[{fieldName:"id",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"ID"},c("RelayClassic_DEPRECATED").QL.__frag(D)]),id:c("RelayClassic_DEPRECATED").QL.__id(),kind:"Fragment",metadata:{},name:"User",type:"User"}],fieldName:"user",kind:"Query",metadata:{identifyingArgName:"id",identifyingArgType:"ID!"},name:"VideoComponent",type:"User"}}(c("CurrentUser").getID(),z));c("RelayClassic_DEPRECATED").Store.primeCache({userQuery:B},function(C){if(C.done){var D=c("RelayClassic_DEPRECATED").Store.readQuery(B)[0];if(D&&this.refs.component)this.setState({user:D})}}.bind(x))})()};t.prototype.$VideoComponentContainer4=function(u){__p&&__p();var v,w=this;"use strict";var x=function x(event){var C=u.addListener(event,function(){return this.$VideoComponentContainer6(event)}.bind(w));w.$VideoComponentContainer1.addSubscriptions(C)};for(var y=o,z=Array.isArray(y),A=0,y=z?y:y[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var B;if(z){if(A>=y.length)break;B=y[A++]}else{A=y.next();if(A.done)break;B=A.value}var event=B;x(event)}};t.prototype.$VideoComponentContainer6=function(event){"use strict";if(!this.$VideoComponentContainer2.length)setTimeout(this.$VideoComponentContainer7,0);this.$VideoComponentContainer2.push(event)};return t}(),l.displayName="VideoComponent("+q+")",m}f.exports={createContainer:i}}),null);
__d("VideoComponentClickPlayPause.react",["React","VideoComponent","VideoWithClickPlayPause"],(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.enable=function(k){new(c("VideoWithClickPlayPause"))(k)};j.prototype.disable=function(){};j.prototype.shouldComponentUpdate=function(){return false};j.prototype.render=function(){return null};function j(){h.apply(this,arguments)}f.exports=c("VideoComponent").createContainer(j)}),null);
__d("VideoComponentSphericalVideoHeadingIndicator.react",["cx","Bootloader","React","VideoComponent"],(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(l){j.constructor.call(this,l);this.state={enabled:false}}k.prototype.enable=function(l){if(!this.props.videoData.isSpherical())return;this.setState({enabled:true},function(){c("Bootloader").loadModules(["VideoSphericalHeadingIndicator"],function(m){var n=this.props.videoData.getSphericalConfig();new m(l,this.refs.root,n.initialHeading,n.initialPitch,n.fieldOfView)}.bind(this),"VideoComponentSphericalVideoHeadingIndicator.react")}.bind(this))};k.prototype.disable=function(){this.setState({enabled:false})};k.prototype.render=function(){if(!this.state.enabled)return null;return c("React").createElement("div",{className:"_3lfe",ref:"root"})};f.exports=c("VideoComponent").createContainer(k)}),null);
__d("VideoComponentSphericalVideoOverlay.react",["cx","Bootloader","React","VideoComponent"],(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(l){j.constructor.call(this,l);this.state={enabled:false}}k.prototype.enable=function(l){if(!this.props.videoData.isSpherical())return;this.setState({enabled:true},function(){c("Bootloader").loadModules(["VideoSphericalOverlay"],function(m){if(this.$VideoComponentSphericalVideoOverlay1&&this.$VideoComponentSphericalVideoOverlay2&&this.$VideoComponentSphericalVideoOverlay3)new m(l,this.$VideoComponentSphericalVideoOverlay1,this.$VideoComponentSphericalVideoOverlay2,false,this.$VideoComponentSphericalVideoOverlay3)}.bind(this),"VideoComponentSphericalVideoOverlay.react")}.bind(this))};k.prototype.disable=function(){this.setState({enabled:false})};k.prototype.render=function(){if(!this.state.enabled)return null;return c("React").createElement("div",{className:"_1-s8"},c("React").createElement("div",{className:"_1zvy",ref:function(l){this.$VideoComponentSphericalVideoOverlay1=l}.bind(this)}),c("React").createElement("div",{className:"_2660",ref:function(l){this.$VideoComponentSphericalVideoOverlay2=l}.bind(this)}),c("React").createElement("div",{className:"_236i",ref:function(l){this.$VideoComponentSphericalVideoOverlay3=l}.bind(this)}))};f.exports=c("VideoComponent").createContainer(k)}),null);
__d("VideoComponentWithSphericalRecenterControl.react",["Bootloader","React","VideoComponent"],(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;function j(k){i.constructor.call(this,k)}j.prototype.enable=function(k){if(!this.props.videoData.isSpherical())return;c("Bootloader").loadModules(["SphericalVideoRecenterControl"],function(l){var m=this.props.videoData.getSphericalConfig();this.$VideoComponentWithSphericalRecenterControl1=new l(k,m.initialHeading,m.initialPitch)}.bind(this),"VideoComponentWithSphericalRecenterControl.react")};j.prototype.disable=function(){this.$VideoComponentWithSphericalRecenterControl1&&this.$VideoComponentWithSphericalRecenterControl1.destroy()};j.prototype.render=function(){return null};f.exports=c("VideoComponent").createContainer(j)}),null);
__d("VideoComponentWithSphericalVideoPlayer.react",["Bootloader","React","VideoComponent"],(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;function j(k){i.constructor.call(this,k)}j.prototype.enable=function(k){if(!this.props.videoData.isSpherical())return;c("Bootloader").loadModules(["SphericalVideoPlayer"],function(l){var m=this.props.videoData.getSphericalConfig();this.$VideoComponentWithSphericalVideoPlayer1=new l(m,{eagerPreload:true,useContainerDimensions:true});this.$VideoComponentWithSphericalVideoPlayer1.enable(k)}.bind(this),"VideoComponentWithSphericalVideoPlayer.react")};j.prototype.disable=function(){this.$VideoComponentWithSphericalVideoPlayer1&&this.$VideoComponentWithSphericalVideoPlayer1.disable()};j.prototype.render=function(){return null};f.exports=c("VideoComponent").createContainer(j)}),null);
__d("VideoResizeMode",[],(function a(b,c,d,e,f,g){"use strict";f.exports={FIT:"FIT",COVER_HEIGHT:"COVER_HEIGHT"}}),null);
__d("VideoPlayer.react",["cx","FBOverlayBase.react","FBOverlayContainer.react","FBOverlayElement.react","Map","Pleasantville.react","React","ReactDOM","Silvercity.react","VideoAutoplayGatingResult","VideoComponentClickPlayPause.react","VideoComponentSphericalVideoHeadingIndicator.react","VideoComponentSphericalVideoOverlay.react","VideoComponentWithSphericalRecenterControl.react","VideoComponentWithSphericalVideoPlayer.react","VideoPlayerController","VideoPlayerLoggerEvent","VideoPlayerLoggerSource","VideoPlayerReason","VideoRenderingUtils","VideoResizeMode","joinClasses"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i,j,k={subOrigin:c("VideoPlayerLoggerSource").MISC,showCaptionsDefault:false,onUpdateMetadata:function m(){},onVideoClick:function m(){},autoplay:false,autoplayReason:c("VideoAutoplayGatingResult").UNKNOWN,autoplaySetting:"autoplay_setting_www",forceHD:false,startMuted:false,isUnmountScheduled:false,videoResizeMode:c("VideoResizeMode").FIT,allowCrossPageTransition:false,disableClickPlayPause:false};i=babelHelpers.inherits(l,c("React").Component);j=i&&i.prototype;function l(m){__p&&__p();j.constructor.call(this,m);this.$VideoPlayer4=function(){if(!this.vpcCleanedup){this.vpc.pause(c("VideoPlayerReason").UNLOADED);this.vpc.destroy({disableStillFrame:true});this.vpcCleanedup=true}}.bind(this);this.$VideoPlayer7=function(n,o){var p=babelHelpers["extends"]({},this.props,{videoID:this.props.videoData.getVideoID(),ref:this.$VideoPlayer8.bind(this,o.toString())});return c("React").createElement(c("FBOverlayElement.react"),{key:o},c("React").cloneElement(n,p))}.bind(this);this.componentRefs=new(c("Map"))();this.state={isFullscreen:false}}l.prototype.componentDidMount=function(){this.vpc=this.$VideoPlayer1(this.refs.video.getVideoPlayerInitArgs(),this.props.videoData)};l.prototype.componentDidUpdate=function(m){if(this.$VideoPlayer2(m)){this.$VideoPlayer3(this.vpc);this.vpc=this.$VideoPlayer1(this.refs.video.getVideoPlayerInitArgs(),this.props.videoData)}if(m.isUnmountScheduled!==this.props.isUnmountScheduled&&this.props.isUnmountScheduled)this.vpc.runOnceOnApiEventLogged(c("VideoPlayerLoggerEvent").STARTED_PLAYING,function(){setTimeout(this.$VideoPlayer4,0);return}.bind(this))};l.prototype.componentWillUnmount=function(){this.$VideoPlayer3(this.vpc)};l.prototype.$VideoPlayer5=function(){var m=[c("React").createElement(c("VideoComponentWithSphericalVideoPlayer.react"),null),c("React").createElement(c("VideoComponentWithSphericalRecenterControl.react"),null),c("React").createElement(c("VideoComponentSphericalVideoHeadingIndicator.react"),null),c("React").createElement(c("VideoComponentSphericalVideoOverlay.react"),null)];if(!this.props.disableClickPlayPause)m.push(c("React").createElement(c("VideoComponentClickPlayPause.react"),null));return m};l.prototype.$VideoPlayer3=function(m){__p&&__p();if(m){for(var n=this.componentRefs.values(),o=Array.isArray(n),p=0,n=o?n:n[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var q;if(o){if(p>=n.length)break;q=n[p++]}else{p=n.next();if(p.done)break;q=p.value}var r=q;r.disable()}m.runOnApiReady(this.$VideoPlayer4)}};l.prototype.$VideoPlayer2=function(m){var n=m.videoData.getVideoID()!==this.props.videoData.getVideoID(),o=m.videoData.getPlayableSrcSD()!==this.props.videoData.getPlayableSrcSD();return n||o};l.prototype.$VideoPlayer1=function(m,n){__p&&__p();var o=m.apiConfig,p=m.apiModule,q=m.videoElement;this.vpcCleanedup=false;o.videoData=[n.getRawData()];o.startTimestamp=this.props.startTimestamp;var r=new(c("VideoPlayerController"))({source:this.props.subOrigin,playerOrigin:this.props.playerOrigin||null,reaction_video_channel_type:this.props.reactionVideoChannelType,reaction_video_channel_subtype:this.props.reactionVideoChannelSubtype,autoplay_reason:this.props.autoplayReason,autoplay_setting:this.props.autoplaySetting,apiModule:p,apiConfig:o,should_autoplay:!this.props.isUnmountScheduled&&this.props.autoplay,player_version:this.props.videoData.getPlayerVersionOverwrite(),video_ids:[n.getVideoID()],allowCrossPageTransition:this.props.allowCrossPageTransition,isReactPlayer:true,video_url:n.getVideoURL(),isBroadcast:n.isBroadcast()},{root_element:c("ReactDOM").findDOMNode(this.refs.root),container_element:c("ReactDOM").findDOMNode(this.refs.container),video_element:c("ReactDOM").findDOMNode(q)});for(var s=this.componentRefs.values(),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 w=v;w.enable(r)}r.addListener("clickVideo",this.props.onVideoClick);r.addListener("toggleFullscreen",function(){return this.setState({isFullscreen:!!r.isFullscreen()})}.bind(this));r.addListener("updateMetadata",function(){return this.props.onUpdateMetadata(r)}.bind(this));if(this.props.onVpcUpdate!==null&&this.props.onVpcUpdate!==undefined)this.props.onVpcUpdate(r);return r};l.prototype.$VideoPlayer6=function(m){__p&&__p();var n="_ox1";if(this.props.videoResizeMode==c("VideoResizeMode").COVER_HEIGHT)n="_ox1 _41l4";else if(this.props.offsetType=="horizontal")n="_ox1 _blh";else if(this.props.offsetType=="vertical")n="_ox1 _bli";if(m!==null&&m!==undefined)return c("joinClasses")(n,m);else return n};l.prototype.render=function(){__p&&__p();var m=this.props,n=m.width,o=m.height,p=m.videoData,q=m.startMuted,r=m.offsetValue,s=m.className,t=babelHelpers.objectWithoutProperties(m,["width","height","videoData","startMuted","offsetValue","className"]),u=c("VideoRenderingUtils").shouldFallbackToFlash(p),v=this.$VideoPlayer6(s),w=n!==undefined||o!==undefined;if(w){if(o)n=n||o*p.getAspectRatio();if(n)o=o||n/p.getAspectRatio()}var x=u?c("React").createElement(c("Silvercity.react"),babelHelpers["extends"]({ref:"video",videoData:p,width:n||0,height:o||0,showSubtitles:this.props.showCaptionsDefault,className:v,startMuted:q,defaultHD:this.props.forceHD},t)):c("React").createElement(c("Pleasantville.react"),babelHelpers["extends"]({ref:"video",videoData:p,width:n,height:o,showSubtitles:this.props.showCaptionsDefault,className:v,startMuted:q,offsetValue:this.state.isFullscreen?0:r},t)),y=!w?{width:"100%",height:"100%"}:{},z=w?{width:(n||0)+"px",height:(o||0)+"px"}:{width:"100%",height:"100%"};return c("React").createElement("div",{ref:"root",className:"_1c_u",style:y},c("React").createElement(c("FBOverlayContainer.react"),{ref:"container",className:"_53j5",style:z},c("React").createElement(c("FBOverlayBase.react"),null,x),c("React").Children.toArray(this.$VideoPlayer5().concat(this.props.children)).filter(function(A){return A!=null}).map(this.$VideoPlayer7)))};l.prototype.$VideoPlayer8=function(m,n){if(!n)this.componentRefs["delete"](m);else this.componentRefs.set(m,n)};l.defaultProps=k;f.exports=l}),null);
__d("VideoDataContainer.react",["cx","invariant","regeneratorRuntime","React","VideoDashPrefetchCache","VideoData","VideoPlayer.react","VideoPlayerMetaData","VideoPushParametersHelper"],(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(){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.$VideoDataContainer1=false,this.state={videoData:null,isLoading:true,errorData:null},n}l.renderSpinner=function(m,n){return c("React").createElement("div",{className:"_53j5",style:{height:n,width:m}},c("React").createElement("i",{className:"_5l7x"}))};l.prototype.componentDidMount=function(){this.$VideoDataContainer2(this.props.videoID);this.$VideoDataContainer1=true};l.prototype.componentWillReceiveProps=function(m){if(m.videoID!==this.props.videoID)this.$VideoDataContainer2(m.videoID)};l.prototype.componentWillUnmount=function(){this.$VideoDataContainer1=false};l.prototype.componentDidUpdate=function(m,n){if(n.videoData!==this.state.videoData){var o=this.props.onVideoLoaded||function(){};o()}};l.prototype.$VideoDataContainer2=function m(n){__p&&__p();var o;return c("regeneratorRuntime").async(function p(q){__p&&__p();while(1)switch(q.prev=q.next){case 0:this.setState({isLoading:true,errorData:null});q.prev=1;q.next=4;return c("regeneratorRuntime").awrap(c("VideoPlayerMetaData").genVideoData(n));case 4:o=q.sent;if(!this.props.isUnmountScheduled){q.next=7;break}return q.abrupt("return");case 7:if(!this.props.renderAfterMpdFetch){q.next=10;break}q.next=10;return c("regeneratorRuntime").awrap(this.$VideoDataContainer3(o));case 10:this.$VideoDataContainer1&&this.setState({videoData:o,isLoading:false});q.next=16;break;case 13:q.prev=13;q.t0=q["catch"](1);this.$VideoDataContainer1&&this.setState({errorData:q.t0});case 16:case"end":return q.stop()}},null,this,[[1,13]])};l.prototype.$VideoDataContainer3=function m(n){__p&&__p();var o,p,q;return c("regeneratorRuntime").async(function r(s){__p&&__p();while(1)switch(s.prev=s.next){case 0:o=n.getLiveManifestUrl();o||i(0);p=new(c("VideoPushParametersHelper"))(o).setStreamEndOffset(c("VideoPushParametersHelper").getDefaultLiveStreamEndOffset());q=c("VideoDashPrefetchCache").getInstance();s.next=6;return c("regeneratorRuntime").awrap(q.genPrefetchMpdNow(p.getURL()));case 6:return s.abrupt("return",s.sent);case 7:case"end":return s.stop()}},null,this)};l.prototype.render=function(){__p&&__p();var m=this.state,n=m.isLoading,o=m.videoData,p=m.errorData;if(p)return this.props.renderError?this.props.renderError(p):null;var q=this.props.renderLoading;if(n&&q)return q();if(!o||o===l.VIDEO_DATA_PLACEHOLDER)return null;var r=this.props.children;r!=null&&r.type===c("VideoPlayer.react")||i(0);return c("React").cloneElement(r,{videoData:o})};l.VIDEO_DATA_PLACEHOLDER=new(c("VideoData"))();f.exports=l}),null);
__d("VideoComponentWithLoopingPlayback.react",["React","RelayClassic_DEPRECATED","VideoComponent","VideoPlayerReason","VideoWithLoopingPlayback"],(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;function j(k){i.constructor.call(this,k)}j.prototype.componentWillReceiveProps=function(k){if(k.video&&k.video!==this.props.video){var l=k.video.isLooping,m=this.props.infiniteLooping?Number.POSITIVE_INFINITY:k.video.loopCount;if(l||k.forceLooping||k.infiniteLooping)new(c("VideoWithLoopingPlayback"))(this.vpc,m)}};j.prototype.enable=function(k){this.vpc=k};j.prototype.disable=function(){};j.prototype.render=function(){return null};f.exports=c("VideoComponent").createContainer(j,{relayVideoConfig:{fragments:{video:function k(){return function(){return{children:[{alias:"isLooping",fieldName:"is_looping",kind:"Field",metadata:{},type:"Boolean"},{alias:"loopCount",fieldName:"loop_count",kind:"Field",metadata:{},type:"Int"},{fieldName:"id",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"ID"}],id:c("RelayClassic_DEPRECATED").QL.__id(),kind:"Fragment",metadata:{},name:"VideoComponentWithLoopingPlayback_react_VideoRelayQL",type:"Video"}}()}}}})}),null);
__d("XVideoCaptionGenerateAsyncController",["XController"],(function a(b,c,d,e,f,g){f.exports=c("XController").create("/video/captioneditor/generate/",{video_id:{type:"Int",required:true},locale_override:{type:"String"},regenerate:{type:"Bool",defaultValue:false},locale:{type:"String"},is_new_editor:{type:"Bool",defaultValue:false}})}),null);