text: if (self.CavalryLogger) { CavalryLogger.start_js(["w9uhA"]); }
  
  __d("VideoCopyrightMatchStatus",[],(function(a,b,c,d,e,f){e.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){e.exports={ALLOW:"ALLOW",MANUAL_REVIEW:"MANUAL_REVIEW",TRACK:"TRACK",BLOCK:"BLOCK",TAKEDOWN:"TAKEDOWN",MONETIZE:"MONETIZE",MUTE:"MUTE",ACQUIRE_VIEWS_AND_MONETIZE:"ACQUIRE_VIEWS_AND_MONETIZE"}}),null);
  __d("VideoCopyrightRuleGraphFields",[],(function(a,b,c,d,e,f){e.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("VideoCopyrightSegmentSource",[],(function(a,b,c,d,e,f){e.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",LABEL_MUTED:"LABEL_MUTED",PUBLISHER_MUTED:"PUBLISHER_MUTED",MUSIC_RESTRICTION_MUTED_STILL_VIDEO:"MUSIC_RESTRICTION_MUTED_STILL_VIDEO",MUSIC_RESTRICTION_MUTED_MULTI_TRACK:"MUSIC_RESTRICTION_MUTED_MULTI_TRACK"}}),null);
  __d("VideoReferenceMatchState",[],(function(a,b,c,d,e,f){e.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("AdsVideoUploadConsts",[],(function(a,b,c,d,e,f){"use strict";a="video_upload_0";e.exports={DEFAULT_UPLOADER_KEY:a}}),null);
  __d("AdsVideoUploadEvents",["keyMirror"],(function(a,b,c,d,e,f){a=b("keyMirror")({UPLOAD_SUCCESS:null,UPLOAD_ERROR:null,UPLOAD_PROGRESS:null,ENCODING_SUCCESS:null,ENCODING_ERROR:null});e.exports=a}),null);
  __d("AdsVideoUploadStoreState",["AdsError","AdsVideoUploadConsts","AdsVideoUploadStatus","immutable"],(function(a,b,c,d,e,f){"use strict";var g;c=b("immutable").Record({__internalUploader:null,encodingTime:null,errorMessage:null,newlyUploadedVideoErrors:null,progress:0,recentUploadedVideoID_DO_NOT_USE:null,status:b("AdsVideoUploadStatus").NONE,title:"",uploaderKey:b("AdsVideoUploadConsts").DEFAULT_UPLOADER_KEY,uploadTime:null,videoBackgroundUploadInfo:null,videoUploadPACInfo:null,videoUploadDLOInfo:null});g=babelHelpers.inherits(a,c);g&&g.prototype;function a(){g.apply(this,arguments)}e.exports=a}),null);
  __d("memoizeWithArgsCapped",["MemoizationInstrumentation","nullthrows"],(function(a,b,c,d,e,f){__p&&__p();var g=1e3;function a(a,c,d,e){__p&&__p();var f=d||g,h,i=!1,j=e||a.name||"unknown";return function(){__p&&__p();var d=b("MemoizationInstrumentation").onFunctionCall("memoizeWithArgsCapped",j);if(i){var e=a.apply(undefined,arguments);d&&d(!1);return e}h||(h=new Map());if(h.size>f){i=!0;h=null;var g=a.apply(undefined,arguments);d&&d(!1);return g}var k=c.apply(undefined,arguments),l=!0;h.has(k)||(l=!1,h.set(k,a.apply(undefined,arguments)));var m=b("nullthrows")(h.get(k));d&&d(l);return m}}e.exports=a}),null);
  __d("AdsVideoUploadUtil",["invariant","AdsGraphAPI","AdsVideoUploadConsts","AdsVideoUploadStatus","AdsVideoUploadStoreState","immutable","URI","ads-lib-connect_DEPRECATED","memoizeWithArgsCapped"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();var h=b("ads-lib-connect_DEPRECATED").FB;c=20;function a(a,b,c){return String(a)+String(b)+String(c)}d={generateUploaderKey:function(a){return"video_upload_"+a},getVideoTitle:function(a){a=a.name;var b=a.lastIndexOf("\\");b===-1&&(b=a.lastIndexOf("/"));return b===-1?a:a.substring(b+1)},getPostEndpoint:function(a,c,d){var e="/v"+b("AdsGraphAPI").getVersion();e=new(b("URI"))(h.url(e+"/act_"+c+"/advideos",d?{title:d}:null,a));e.getSubdomain()==="graph"||g(0);e.setSubdomain("graph-video");return e.toString()},atLeastOneVideoUploading:function(a){return!!a&&a.some(function(a){return a.status===b("AdsVideoUploadStatus").UPLOADING||a.status===b("AdsVideoUploadStatus").ENCODING})},getDLOVideoUploadingForLanguage:function(a,b){return a.find(function(a){return a.videoUploadDLOInfo&&a.videoUploadDLOInfo.language===b})},getFirstErrorMessage:function(a){a=a&&a.find(function(a){return!!a.errorMessage});return a&&a.errorMessage},normalizeProgress:function(a){return a>=0&&a<=1?Math.round(a*100):a},wrapLegacyUploadInfoAsImmMap:b("memoizeWithArgsCapped")(function(a,c,d){var e;return b("immutable").Map((e={},e[b("AdsVideoUploadConsts").DEFAULT_UPLOADER_KEY]=new(b("AdsVideoUploadStoreState"))({title:a||"",progress:c||0,status:d||b("AdsVideoUploadStatus").NONE}),e))},a,c)};e.exports=d}),null);
  __d("FBConfirmDialog.react",["fbt","React","XUIDialog.react","XUIDialogBody.react","XUIDialogButton.react","XUIDialogFooter.react","XUIDialogTitle.react"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();var h;c=b("React").PropTypes;d=babelHelpers.inherits(a,b("React").Component);h=d&&d.prototype;function a(){var a,c;for(var d=arguments.length,e=new Array(d),f=0;f<d;f++)e[f]=arguments[f];return c=(a=h.constructor).call.apply(a,[this].concat(e)),this.$1=function(){return!this.props.shown?null:b("React").createElement("div",null,this.props.content)}.bind(this),this.$2=function(){return b("React").createElement(b("XUIDialogButton.react"),{onClick:this.props.onCancel,label:this.props.cancelButtonText?this.props.cancelButtonText:g._("Cancel")})}.bind(this),this.$3=function(){return b("React").createElement(b("XUIDialogButton.react"),{action:"confirm",use:"confirm",onClick:this.props.onConfirm,label:this.props.confirmButtonText?this.props.confirmButtonText:g._("Confirm"),disabled:this.props.disableConfirmButton})}.bind(this),c}a.prototype.render=function(){return b("React").createElement(b("XUIDialog.react"),babelHelpers["extends"]({},this.props,{modal:!0}),b("React").createElement(b("XUIDialogTitle.react"),null,this.props.title),b("React").createElement(b("XUIDialogBody.react"),null,this.$1()),b("React").createElement(b("XUIDialogFooter.react"),null,this.$2(),this.$3()))};a.propTypes=babelHelpers["extends"]({},b("XUIDialog.react").propTypes,{title:c.node.isRequired,content:c.node.isRequired,onCancel:c.func.isRequired,onConfirm:c.func.isRequired,cancelButtonText:c.node,confirmButtonText:c.node,disableConfirmButton:c.bool});a.defaultProps={width:400,disableConfirmButton:!1};e.exports=a}),null);
  __d("FBOverlayBase.react",["React"],(function(a,b,c,d,e,f){__p&&__p();var g;g=babelHelpers.inherits(a,b("React").Component);g&&g.prototype;a.prototype.render=function(){"use strict";return b("React").Children.only(this.props.children)};function a(){"use strict";g.apply(this,arguments)}e.exports=a}),null);
  __d("FBOverlayElement.react",["cx","React","joinClasses"],(function(a,b,c,d,e,f,g){__p&&__p();var h;c=b("React").PropTypes;var i={horizontal:{left:"_32rg",right:"_32rh",fit:"_32rg _32rh",center:"_1cy5"},vertical:{top:"_32ri",bottom:"_32rj",fit:"_32ri _32rj",middle:"_1cy6"}};h=babelHelpers.inherits(a,b("React").PureComponent);h&&h.prototype;a.prototype.render=function(){"use strict";var a=b("React").Children.only(this.props.children),c=b("joinClasses")(a.props.className,"_32rk",i.horizontal[this.props.horizontal],i.vertical[this.props.vertical]);return b("React").cloneElement(a,{className:c})};function a(){"use strict";h.apply(this,arguments)}a.propTypes={horizontal:c.oneOf(["left","right","fit","center"]),vertical:c.oneOf(["top","bottom","fit","middle"])};a.defaultProps={horizontal:"fit",vertical:"fit"};e.exports=a}),null);
  __d("FBOverlayContainer.react",["cx","invariant","FBOverlayBase.react","FBOverlayElement.react","React","joinClasses"],(function(a,b,c,d,e,f,g,h){__p&&__p();var i;i=babelHelpers.inherits(a,b("React").Component);i&&i.prototype;a.prototype.render=function(){"use strict";return b("React").createElement("div",babelHelpers["extends"]({},this.props,{className:b("joinClasses")(this.props.className,"_23n-")}),this.props.children)};function a(){"use strict";i.apply(this,arguments)}a.propTypes={children:function(a,c){__p&&__p();a=a[c];var d=0;b("React").Children.forEach(a,function(a){if(a===null||a===undefined)return;switch(a.type){case b("FBOverlayBase.react"):d++;break;case b("FBOverlayElement.react"):break;default:h(0)}});d===1||h(0)}};e.exports=a}),null);
  __d("ClickableArea.react",["Focus","React","ReactDOM"],(function(a,b,c,d,e,f){__p&&__p();var g;g=babelHelpers.inherits(a,b("React").Component);g&&g.prototype;a.prototype.componentDidMount=function(){"use strict";if(this.props.buttonRef){var a=this.props.buttonRef();b("Focus").relocate(b("ReactDOM").findDOMNode(a),b("ReactDOM").findDOMNode(this))}};a.prototype.render=function(){"use strict";var a=this.props,c=a.children,d=a.onClick;a=babelHelpers.objectWithoutProperties(a,["children","onClick"]);return b("React").cloneElement(b("React").Children.only(c),babelHelpers["extends"]({},a,{onClick:d}))};function a(){"use strict";g.apply(this,arguments)}e.exports=a}),null);
  __d("SUICloseButtonUniform.fds",["ix","React","SUIGlyphIcon.react","asset"],(function(a,b,c,d,e,f,g){"use strict";a={dark:{large:function(a){return b("React").createElement(b("SUIGlyphIcon.react"),babelHelpers["extends"]({},a,{srcDefault:g("499680"),srcDisabled:g("490191"),srcHover:g("499681")}))},small:function(a){return b("React").createElement(b("SUIGlyphIcon.react"),babelHelpers["extends"]({},a,{srcDefault:g("499672"),srcDisabled:g("490190"),srcHover:g("499673")}))}},light:{large:function(a){return b("React").createElement(b("SUIGlyphIcon.react"),babelHelpers["extends"]({},a,{srcDefault:g("489948"),srcDisabled:g("499675"),srcHover:g("499674")}))},small:function(a){return b("React").createElement(b("SUIGlyphIcon.react"),babelHelpers["extends"]({},a,{srcDefault:g("489947"),srcDisabled:g("499667"),srcHover:g("499666")}))}},iconSize:{large:16,small:12}};e.exports=a}),null);
  __d("FDSCloseButton.react",["fbt","React","SUICloseButton.react","SUICloseButtonUniform.fds","makeFDSStandardComponent","makeSUIFDSTheme"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();var h,i=b("makeSUIFDSTheme")("FDSCloseButton",{SUICloseButton:b("SUICloseButtonUniform.fds")});h=babelHelpers.inherits(a,b("React").PureComponent);h&&h.prototype;a.prototype.render=function(){var a=this.props;return b("React").createElement(b("SUICloseButton.react"),{"data-hover":a.tooltipContent?"tooltip":null,"data-testid":a["data-testid"],"data-tooltip-content":a.tooltipContent,"data-tooltip-position":a.tooltipPosition,disabled:a.isDisabled,id:a.id,label:a.label,layerCancel:a.layerCancel,margin:a.margin,onClick:a.onClick,onFocus:a.onFocus,onMouseDown:a.onMouseDown,onMouseUp:a.onMouseUp,shade:a.shade,size:a.size,theme:i})};function a(){h.apply(this,arguments)}a.defaultProps={isDisabled:!1,label:g._("Close"),shade:"dark",size:"small"};e.exports=b("makeFDSStandardComponent")("FDSCloseButton",a)}),null);
  __d("FDSCheckboxInput.react",["React","SUICheckboxInput.react","SUIThreeStateCheckboxInputUniform.fds","makeFDSStandardComponent","makeSUIFDSTheme"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g,h=b("makeSUIFDSTheme")("FDSCheckboxInput",{SUIThreeStateCheckboxInput:b("SUIThreeStateCheckboxInputUniform.fds")});g=babelHelpers.inherits(a,b("React").PureComponent);g&&g.prototype;a.prototype.render=function(){var a=this.props;return b("React").createElement(b("SUICheckboxInput.react"),{"data-testid":a["data-testid"],disabled:a.isDisabled,display:a.display,id:a.id,label:a.label,margin:a.margin,onChange:a.onChange,style:a.style,theme:h,tooltip:a.tooltip,value:a.value})};function a(){g.apply(this,arguments)}a.defaultProps={display:"inline",isDisabled:!1,value:!1};e.exports=b("makeFDSStandardComponent")("FDSCheckboxInput",a)}),null);
  __d("SUIErrorUniform.fds",["ix","cssVar","Image.react","React","asset"],(function(a,b,c,d,e,f,g,h){"use strict";a={error:{borderColor:"#FA383E",icon:b("React").createElement(b("Image.react"),{src:g("480267")})},warning:{borderColor:"#FFBA00",icon:b("React").createElement(b("Image.react"),{src:g("480789")})}};e.exports=a}),null);
  __d("PopoverMenuOverlappingBorder",["cx","CSS","DOM","Style","shield"],(function(a,b,c,d,e,f,g){__p&&__p();function a(a){"use strict";this._popoverMenu=a,this._popover=a.getPopover(),this._triggerElem=a.getTriggerElem()}a.prototype.enable=function(){"use strict";this._setMenuSubscription=this._popoverMenu.subscribe("setMenu",b("shield")(this._onSetMenu,this))};a.prototype.disable=function(){"use strict";this._popoverMenu.unsubscribe(this._setMenuSubscription),this._setMenuSubscription=null,this._removeBorderSubscriptions(),this._removeShortBorder()};a.prototype._onSetMenu=function(){"use strict";this._removeBorderSubscriptions();this._menu=this._popoverMenu.getMenu();this._renderShortBorder(this._menu.getRoot());this._showSubscription=this._popover.subscribe("show",b("shield")(this._updateBorder,this));var a=this._updateBorder.bind(this);this._menuSubscription=this._menu.subscribe(["change","resize"],function(){setTimeout(a,0)});this._updateBorder()};a.prototype._updateBorder=function(){"use strict";var a=this._menu.getRoot(),c=this._triggerElem.offsetWidth;a=Math.max(a.offsetWidth-c,0);b("Style").set(this._shortBorder,"width",a+"px")};a.prototype._renderShortBorder=function(a){"use strict";this._shortBorder=b("DOM").create("div",{className:"_54hx"}),b("DOM").appendContent(a,this._shortBorder),b("CSS").addClass(a,"_54hy")};a.prototype._removeShortBorder=function(){"use strict";this._shortBorder&&(b("DOM").remove(this._shortBorder),this._shortBorder=null,b("CSS").removeClass(this._popoverMenu.getMenu().getRoot(),"_54hy"))};a.prototype._removeBorderSubscriptions=function(){"use strict";this._showSubscription&&(this._popover.unsubscribe(this._showSubscription),this._showSubscription=null),this._menuSubscription&&(this._menu.unsubscribe(this._menuSubscription),this._menuSubscription=null)};Object.assign(a.prototype,{_shortBorder:null,_setMenuSubscription:null,_showSubscription:null,_menuSubscription:null});e.exports=a}),null);
  __d("AbstractSelector.react",["cx","invariant","ContextualLayerAutoFlip","InlineBlock.react","PopoverMenu.react","PopoverMenuContextMinWidth","PopoverMenuOverlappingBorder","React","ReactSelectorUtils","intlList","joinClasses"],(function(a,b,c,d,e,f,g,h){__p&&__p();c=b("React").PropTypes;function a(a,b,c){if(a[b]==null)return;c=Array.isArray(a[b]);if(a.multiple){if(!c)return new Error("You are trying to set a single value for `"+b+"` but the menu has `multiple` set to true, so it should be an array of values.")}else if(c)return new Error("You are trying to set an array of values for `"+b+"` but the menu has `multiple` set to false, so it should be a single value.")}d=b("React").createClass({displayName:"AbstractSelector",propTypes:{config:c.object.isRequired,alignh:c.oneOf(["left","center","right"]),name:c.string,overlappingborder:c.bool,onChange:c.func,disabled:c.bool,maxheight:c.number,multiple:c.bool,defaultLabel:c.string,defaultValue:a,value:a,initialValue:a,onReturnWithoutFocusedItem:c.func,onHide:c.func,onShow:c.func},getInitialState:function(){return{value:this.props.value!=null?this.props.value:this.props.defaultValue!=null?this.props.defaultValue:this.props.initialValue}},setMenuValue:function(a){this.refs&&this.refs.popover||h(0),this._internalChange=!0,this.refs.popover.getMenu().setValue(a),this._internalChange=!1},onChange:function(a,b){if(this._internalChange)return;if(this.props.value==null){this.props.multiple?a=b.map(function(a){return a.value}):a=b.value;this.setState({value:a})}else this.setMenuValue(this.props.value);this.props.onChange&&this.props.onChange(b)},UNSAFE_componentWillReceiveProps:function(a){a.value!=null?this.setState({value:a.value}):this.props.multiple!==a.multiple&&this.setState({value:a.multiple?[this.state.value]:this.state.value[0]})},render:function(){__p&&__p();var a=this.props.config,c=this.props.multiple?b("ReactSelectorUtils").processMultiMenuItems(this.props.children,this.state.value):b("ReactSelectorUtils").processMenuItems(this.props.children,this.state.value),d=b("React").cloneElement(a.menu,{children:c.items,className:b("joinClasses")("_575t",a.menu.props.className),maxheight:this.props.maxheight,onChange:this.onChange}),e="",f=null;if(!this.props.multiple){var g=c.selectedItem;e=g.props.label||g.props.children;g.props.icon&&(f=b("React").cloneElement(g.props.icon,{}))}else{g=c.selectedItems;!g.length?e=this.props.defaultLabel:e=b("intlList")(g.map(function(a){return a.props.children}),b("intlList").CONJUNCTIONS.NONE)}c={label:e,disabled:this.props.disabled};f&&(c.image=f);g=b("React").cloneElement(a.button,c);e=[b("ContextualLayerAutoFlip")];a.layerBehaviors&&(e=e.concat(a.layerBehaviors));f=[b("PopoverMenuContextMinWidth")];this.props.overlappingborder&&f.push(b("PopoverMenuOverlappingBorder"));c=null;if(this.props.multiple){var h=this.props.name+"[]",i;this.state.value&&(i=this.state.value.map(function(a){return b("React").createElement("input",{key:a,type:"hidden",name:h,value:a})}));c=b("React").createElement("div",null,i)}else c=b("React").createElement("input",{type:"hidden",name:this.props.name,value:this.state.value});return b("React").createElement(b("InlineBlock.react"),babelHelpers["extends"]({},this.props,{alignv:"middle",name:null}),b("React").createElement(b("PopoverMenu.react"),{alignh:this.props.alignh,behaviors:f,disabled:this.props.disabled,layerBehaviors:e,menu:d,position:this.props.position,onReturnWithoutFocusedItem:this.props.onReturnWithoutFocusedItem,onHide:this.props.onHide,onShow:this.props.onShow,ref:"popover"},g),c)},showMenu:function(){this.isMounted()||h(0),this.refs.popover.showPopover()},showAndFocusMenu:function(){this.isMounted()||h(0),this.refs.popover.showPopover(!0)},hideMenu:function(){this.isMounted()||h(0),this.refs.popover.hidePopover()}});e.exports=d}),null);
  __d("XUICheckboxInput.react",["cx","AbstractCheckboxInput.react","React","joinClasses"],(function(a,b,c,d,e,f,g){__p&&__p();var h;h=babelHelpers.inherits(a,b("React").Component);h&&h.prototype;a.prototype.render=function(){"use strict";return b("React").createElement(b("AbstractCheckboxInput.react"),babelHelpers["extends"]({},this.props,{ref:function(a){return this.$1=a}.bind(this),className:b("joinClasses")(this.props.className,"_55sg")}),undefined)};a.prototype.focusInput=function(){"use strict";this.$1&&this.$1.focusInput()};a.prototype.blurInput=function(){"use strict";this.$1&&this.$1.blurInput()};function a(){"use strict";h.apply(this,arguments)}e.exports=a}),null);
  __d("XUINoticeGroup.react",["cx","React","joinClasses"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();var h;h=babelHelpers.inherits(a,b("React").Component);h&&h.prototype;a.prototype.render=function(){var a=b("React").Children.map(this.props.children,function(a){return b("React").cloneElement(a,{className:b("joinClasses")(a.props.className,"_585m")})});return b("React").createElement("div",babelHelpers["extends"]({},this.props,{className:b("joinClasses")(this.props.className,"_585l")}),a)};function a(){h.apply(this,arguments)}e.exports=a}),null);
  __d("XUIMenuSeparator.react",["MenuSeparator.react"],(function(a,b,c,d,e,f){a=b("MenuSeparator.react");e.exports=a}),null);
  __d("XUISelectorButton.react",["invariant","React","XUIPopoverButton.react"],(function(a,b,c,d,e,f,g){__p&&__p();var h;h=babelHelpers.inherits(a,b("React").Component);h&&h.prototype;a.prototype.render=function(){"use strict";this.props.theme&&g(0);return b("React").createElement(b("XUIPopoverButton.react"),babelHelpers["extends"]({},this.props,{theme:"dark"}))};function a(){"use strict";h.apply(this,arguments)}e.exports=a}),null);
  __d("XUISelector.react",["invariant","AbstractSelector.react","ContextualLayerPositionClassOnContext","React","ReactXUIMenu","XUISelectorButton.react"],(function(a,b,c,d,e,f,g){__p&&__p();var h=b("ReactXUIMenu").SelectableMenu;a=b("ReactXUIMenu").SelectableItem;c=b("React").PropTypes;d=b("React").createClass({displayName:"ReactXUISelector",propTypes:{customButton:c.element,layerBehaviors:c.array,maxheight:c.number,multiple:c.bool,position:c.oneOf(["above","below","left","right"]),disabled:c.bool,haschevron:c.bool,maxwidth:c.number,size:c.oneOf(["small","medium","large","xlarge","xxlarge"]),suppressed:c.bool,use:c.oneOf(["default","special","confirm"])},statics:{getButtonSize:function(a){return a.size||"medium"}},getDefaultProps:function(){return{haschevron:!0,layerBehaviors:[],multiple:!1}},render:function(){var a,c=[];b("React").Children.forEach(this.props.children,function(a){a&&c.push(a)});this.props.customButton?a=this.props.customButton:c[0]&&c[0].type===b("XUISelectorButton.react")?(a=c[0],c=c.slice(1)):a=b("React").createElement(b("XUISelectorButton.react"),{ref:"button",haschevron:this.props.haschevron,disabled:this.props.disabled,use:this.props.use,size:this.props.size,suppressed:this.props.suppressed,maxwidth:this.props.maxwidth});a={button:a,menu:b("React").createElement(h,{maxheight:this.props.maxheight,multiple:this.props.multiple}),layerBehaviors:this.props.layerBehaviors.concat([b("ContextualLayerPositionClassOnContext")])};return b("React").createElement(b("AbstractSelector.react"),babelHelpers["extends"]({},this.props,{ref:"abstractSelector",config:a}),c)},showMenu:function(){this.isMounted()||g(0),this.refs.abstractSelector.showMenu()},showAndFocusMenu:function(){this.isMounted()||g(0),this.refs.abstractSelector.showAndFocusMenu()},hideMenu:function(){this.isMounted()||g(0),this.refs.abstractSelector.hideMenu()}});d.Option=a;e.exports=d}),null);
  __d("PageComposerAccessToken",[],(function(a,b,c,d,e,f){"use strict";a={_accessToken:undefined,_appID:undefined,init:function(a,b){this._appID=a,this._accessToken=b},getAppID:function(){return this._appID},getAccessToken:function(){return this._accessToken}};e.exports=a}),null);
  __d("PageContentTabConstants",["PageContentTabConfig","PageContentTabTabs","gkx","keyMirrorRecursive"],(function(a,b,c,d,e,f){"use strict";a={ACTIONS:b("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:"",CREATE_EXPERIMENT:"",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:b("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:"",DISPUTE_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:"",EXPERIMENT_DURATION:"",EXPERIMENT_AUTHOR:"",ISRC:"",MONETIZATION_STATUS:"",AD_AFFINITY:"",EARNINGS:"",AUDIO_RELEASE_ALBUM_NAME:"",AUDIO_RELEASE_ARTIST_NAME:"",AUDIO_RELEASE_DATE_CREATED:"",AUDIO_RELEASE_LABEL_NAME:"",AUDIO_RELEASE_ICPN:"",AUDIO_ASSET_TRACK_NUMBER:"",AUDIO_ASSET_TRACK_NAME:"",AUDIO_ASSET_ARTIST_NAME:"",AUDIO_ASSET_START_DATE:"",AUDIO_ASSET_ISRC:"",AUDIO_LIBRARY_POLICY_TERRITORY:"",AUDIO_LIBRARY_POLICY_START_DATE:"",AUDIO_LIBRARY_POLICY_END_DATE:"",NEWS_STORYLINE:"",NEWS_STORYLINE_POST_COUNT:"",NEWS_STORYLINE_DELETE_BUTTON:""}),COLUMN_GROUPS:b("keyMirrorRecursive")({BUTTONS:"",DATES:""}),TABS:b("PageContentTabTabs"),LEFT_NAV_GROUPS:b("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:"",QR_CODE:"",SUBSCRIPTIONS:"",BRANDED_CONTENT:"",SOUNDS:"",GAMESHOW:"",MONETIZED_VIDEOS:"",REGISTRATIONS:""}),ACTION_TYPES:b("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:b("keyMirrorRecursive")({SERVER:"",VIEW_ACTION:""}),PREVIEW_TABS:b("keyMirrorRecursive")({DESKTOP:"",MOBILE:""}),SORT_ORDER_ASC:"ASC",SORT_ORDER_DESC:"DESC",EDIT_HISTORY_ASYN_DIALOG:"/ajax/edits/browser/post/",LIMIT:b("gkx")("AT6rpaTBqtFVcThGm7I2u0As1A0jSok8Fi6FLuPo81T3blAzRshcZ_nz5A-tHuhJji3Tcjf2Y4o25wycCR_tU7lt")?b("PageContentTabConfig").posts_per_page:10};e.exports=a}),null);
  __d("PageContentTabSuccessDialog.react",["cx","ix","Image.react","React","XUIDialog.react","XUIDialogBody.react"],(function(a,b,c,d,e,f,g,h){__p&&__p();var i;c=b("React").PropTypes;i=babelHelpers.inherits(a,b("React").Component);i&&i.prototype;a.prototype.render=function(){"use strict";return b("React").createElement(b("XUIDialog.react"),{width:344,shown:!0,layerHideOnBlur:!1,layerFadeOnShow:!0},b("React").createElement(b("XUIDialogBody.react"),{className:"_--l"},b("React").createElement(b("Image.react"),{src:h("101769"),className:"_--n"}),b("React").createElement("div",{className:"_--o"},this.props.successLabel)))};function a(){"use strict";i.apply(this,arguments)}a.propTypes={successLabel:c.node};e.exports=a}),null);
  __d("ShowWaitTimeAreasMode",["URI"],(function(a,b,c,d,e,f){"use strict";var g=!!new(b("URI"))(window.location.href).getQueryData().showwaitareas;a={disable:function(){g=!1},enable:function(){g=!0},isEnabled:function(){return g}};e.exports=a}),null);
  __d("WaitTimeArea.react",["cx","PerfHelperUtils","React","ShowWaitTimeAreasMode"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();var h;c=b("React").PropTypes;var i=b("PerfHelperUtils").BorderedComponent;function j(a){var c=a.name;a=a.children;return b("React").createElement(i,{color:"green",tooltip:c,className:"_68qf"},a)}h=babelHelpers.inherits(a,b("React").Component);h&&h.prototype;a.prototype.getChildContext=function(){return{waitTimeAreaName:this.props.name,waitTimeAreaOwner:this.props.owner}};a.prototype.render=function(){return!b("ShowWaitTimeAreasMode").isEnabled()?this.props.children:b("React").createElement(j,this.props,this.props.children||null)};function a(){h.apply(this,arguments)}a.childContextTypes={waitTimeAreaName:c.string.isRequired,waitTimeAreaOwner:c.string.isRequired};e.exports=a}),null);
  __d("PageContentTabLoadingDialog",["cx","PageContentTabSuccessDialog.react","PageContentTabSuccessDialogTimer","React","ReactDOM","WaitTimeArea.react","XUIDialog.react","XUIDialogBody.react","XUISpinner.react"],(function(a,b,c,d,e,f,g){__p&&__p();var h,i=b("PageContentTabSuccessDialogTimer").TIME_IN_MS;h=babelHelpers.inherits(j,b("React").Component);h&&h.prototype;j.prototype.render=function(){"use strict";return b("React").createElement(b("WaitTimeArea.react"),{name:"PageContentTabLoadingDialog",owner:"pages_publishing"},b("React").createElement(b("XUIDialog.react"),{width:300,shown:!0,layerHideOnBlur:!1},b("React").createElement(b("XUIDialogBody.react"),{className:"_5xp9"},b("React").createElement(b("XUISpinner.react"),{background:"light",className:"_5xpe",size:"large"}))))};function j(){"use strict";h.apply(this,arguments)}a={show:function(){this._container||(this._container=document.createElement("div")),b("ReactDOM").render(b("React").createElement(j,null),this._container)},hide:function(){if(!this._container)return;this.destroy()},hideWithSuccessMessage:function(a,c){if(!this._container)return;b("ReactDOM").render(b("React").createElement(b("PageContentTabSuccessDialog.react"),{successLabel:a}),this._container);setTimeout(this.destroy.bind(this),c?c:i)},destroy:function(){b("ReactDOM").unmountComponentAtNode(this._container),this._container=null}};e.exports=a}),null);
  __d("PageContentTabLogger",["invariant","BanzaiLogger","PublishingToolsSource","VideoCopyrightUtils","guid"],(function(a,b,c,d,e,f,g){"use strict";var h=b("guid")(),i=null,j=null,k=b("PublishingToolsSource").UNKNOWN,l="PageContentTabLoggerConfig";a={init:function(a,b,c){i=a,j=b,c&&(k=c)},hasPageID:function(){return i!==null},log:function(a,c,d,e){i||g(0),d.event=a,d.tab=c,d.session_id=h,d.page_id=i,d.locationoftab=j,d.ref=k,d.private_post_count=b("VideoCopyrightUtils").getPrivatePostCountIfExists(d,e),b("BanzaiLogger").log(l,d)}};e.exports=a}),null);
  __d("AudioCopyrightGraphFields",[],(function(a,b,c,d,e,f){e.exports=Object.freeze({AUDIO_ASSET:"audio_asset",CREATION_TIME:"creation_time",DISPLAYED_MATCHES_COUNT:"displayed_matches_count",ID:"id",IN_CONFLICT:"in_conflict",ISRC:"isrc",MATCH_RULE:"match_rule",OWNERSHIP_COUNTRIES:"ownership_countries",REFERENCE_FILE_STATUS:"reference_file_status",RIDGE_MONITORING_STATUS:"ridge_monitoring_status",UPDATE_RECORDS:"update_records",UPDATE_TIME:"update_time",WHITELISTED_FB_USERS:"whitelisted_fb_users",WHITELISTED_IG_USERS:"whitelisted_ig_users"})}),null);
  __d("AudioReleaseGraphFields",[],(function(a,b,c,d,e,f){e.exports=Object.freeze({ID:"id",ALBUM_TITLE:"album_title",CREATED_TIME:"created_time",DISPLAYED_ARTIST:"displayed_artist",EAN:"ean",UPC:"upc",GRID:"grid",ISRC:"isrc",LABEL_NAME:"label_name",PROPRIETARY_ID:"proprietary_id",AUDIO_ASSETS:"audio_assets",GENRE:"genre",PARENTAL_WARNING_TYPE:"parental_warning_type",AUDIO_RELEASE_IMAGE_URI:"audio_release_image_uri",ORIGINAL_RELEASE_DATE:"original_release_date"})}),null);
  __d("CopyrightReferenceFileGraphFields",[],(function(a,b,c,d,e,f){e.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){e.exports=b("XController").create("/video/copyright/ig_user_name_to_id/",{page_id:{type:"FBID",required:!0},user_names:{type:"StringSet",required:!0}})}),null);
  __d("IGUserDataFetcher",["regeneratorRuntime","AsyncRequest","XRightsManagerInstagramUserNameToIDController"],(function(a,b,c,d,e,f){"use strict";e.exports={gen:function(a,c){var d;return b("regeneratorRuntime").async(function(e){while(1)switch(e.prev=e.next){case 0:d=b("XRightsManagerInstagramUserNameToIDController").getURIBuilder().setFBID("page_id",c).setStringSet("user_names",a).getURI();return e.abrupt("return",new(b("AsyncRequest"))(d).setMethod("GET").setURI(d).setReadOnly(!0).exec());case 2:case"end":return e.stop()}},null,this)}}}),null);
  __d("LiveStatusType",[],(function(a,b,c,d,e,f){e.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){e.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",ATTRIBUTION_TARGET_NAME:"attribution_target_name",MEDIA_COPYRIGHT_IDS_TO_ADD:"media_copyright_ids_to_add",MEDIA_COPYRIGHT_IDS_TO_REMOVE:"media_copyright_ids_to_remove",MEDIA_COPYRIGHT_BULK_SELECTION_TYPE:"media_copyright_bulk_selection_type"})}),null);
  __d("MusicVideoCopyrightGraphFields",[],(function(a,b,c,d,e,f){e.exports=Object.freeze({CREATION_TIME:"creation_time",DISPLAYED_MATCHES_COUNT:"displayed_matches_count",ID:"id",IN_CONFLICT:"in_conflict",ISRC:"isrc",MATCH_RULE:"match_rule",OWNERSHIP_COUNTRIES:"ownership_countries",REFERENCE_FILE_STATUS:"reference_file_status",RIDGE_MONITORING_STATUS:"ridge_monitoring_status",UPDATE_TIME:"update_time",VIDEO_ASSET:"video_asset",WHITELISTED_FB_USERS:"whitelisted_fb_users",WHITELISTED_IG_USERS:"whitelisted_ig_users"})}),null);
  __d("MutedSegmentsFromOtherPublisherGraphFields",[],(function(a,b,c,d,e,f){e.exports=Object.freeze({PUBLISHER_NAME:"publisher_name",START_TIME_IN_SEC:"start_time_in_sec",DURATION_IN_SEC:"duration_in_sec",SEGMENT_SOURCE:"segment_source"})}),null);
  __d("PageContentTabLoggingEvents",[],(function(a,b,c,d,e,f){e.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("RightsManagerVersion",[],(function(a,b,c,d,e,f){e.exports=Object.freeze({DEFAULT:"DEFAULT",LITE:"LITE"})}),null);
  __d("PageContentTabRightsManagerStore",["Arbiter","EventEmitter","PageContentTabConstants","RightsManagerVersion"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g;c=babelHelpers.inherits(a,b("EventEmitter"));g=c&&c.prototype;function a(){g.constructor.call(this),this.$PageContentTabRightsManagerStore1="",this.$PageContentTabRightsManagerStore2=b("RightsManagerVersion").DEFAULT,this.$PageContentTabRightsManagerStore3=!1,this.$PageContentTabRightsManagerStore4=!1,this.$PageContentTabRightsManagerStore5=0,this.$PageContentTabRightsManagerStore6=0}a.prototype.init=function(a,b,c,d,e,f){this.$PageContentTabRightsManagerStore1=a,this.$PageContentTabRightsManagerStore2=b,this.$PageContentTabRightsManagerStore3=c,this.$PageContentTabRightsManagerStore4=d,this.$PageContentTabRightsManagerStore5=e,this.$PageContentTabRightsManagerStore6=f};a.prototype.getIsRMLite=function(){return this.$PageContentTabRightsManagerStore2===b("RightsManagerVersion").LITE};a.prototype.setRMVersion=function(a){this.$PageContentTabRightsManagerStore2=a};a.prototype.getHasUploadedReferenceFiles=function(){return this.$PageContentTabRightsManagerStore3};a.prototype.getHasSetUpMatchSettings=function(){return this.$PageContentTabRightsManagerStore4};a.prototype.getUserAccessToken=function(){return this.$PageContentTabRightsManagerStore1};a.prototype.getNumVideosImported=function(){return this.$PageContentTabRightsManagerStore5};a.prototype.getTotalVideosToImport=function(){return this.$PageContentTabRightsManagerStore6};a.prototype.setHasUploadedReferenceFiles=function(){this.$PageContentTabRightsManagerStore3||(this.$PageContentTabRightsManagerStore3=!0,this.emit("change"))};a.prototype.setHasSetUpMatchSettings=function(){this.$PageContentTabRightsManagerStore4||(this.$PageContentTabRightsManagerStore4=!0,this.emit("change"),b("Arbiter").inform("reloadContentTabInBackground/"+b("PageContentTabConstants").TABS.ALL_REFERENCE_FILES))};a.prototype.setTotalVideosToImport=function(a){this.$PageContentTabRightsManagerStore6=a,this.emit("change")};a.prototype.setImportFinished=function(){this.$PageContentTabRightsManagerStore5=0,this.$PageContentTabRightsManagerStore6=0,this.emit("change")};e.exports=new a()}),null);
  __d("RightsManagerFbt",["fbt","gkx"],(function(a,b,c,d,e,f,g){"use strict";e.exports={ALLOWED:g._("Allowed"),ATTRIBUTION_SECTION_TITLE:b("gkx")("AT6NSRy599xwjYpmR4TqXpVJlv1GHAqbbuJ99L-T-Syyqt1BoAlc-r__zbm8-q3uUBWGbkG6IQ2ffLY8I6B35gZ2")?g._("Select Ownership Link"):g._("Apply Attribution"),ATTRIBUTION_SECTION_TITLE_LITE:g._("Destination Page"),BLOCKED:g._("Blocked"),CLAIMED:g._("Claimed"),INSIGHTS:g._("Details"),MATCHES:g._("Matches"),MANUAL_REVIEW:g._("Manual Review"),MONITORED:g._("Monitored"),OWNERSHIP_LINK:g._("Ownership Link"),PROTECTED_VIDEO:g._("Protected Videos"),PROTECTED_VIDEOS:g._("Protected Videos"),REMOVED:g._("Removed"),REPORTED:g._("Reported"),STATUS:g._("Status"),YOUR_FILE:g._("Your File")}}),null);
  __d("VideoCopyrightDisputeGraphFields",[],(function(a,b,c,d,e,f){e.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("VideoCopyrightGeoGateReason",[],(function(a,b,c,d,e,f){e.exports=Object.freeze({UNAUTHORIZED_COMMERCIAL_USE:"unauthorized_commercial_use",RESTRICTED_CONTENT:"restricted_content",OBJECTIONABLE_CONTENT:"objectionable_content",ARTIST_OBJECTION:"artist_objection",PRERELEASE_CONTENT:"prerelease_content",PRODUCT_PARAMETERS:"product_parameters",PREMIUM_MUSIC_VIDEO:"premium_music_video"})}),null);
  __d("VideoCopyrightGraphFields",[],(function(a,b,c,d,e,f){e.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){"use strict";a=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_CREATION_FINISHED:"ATTRIBUTION_CREATION_FINISHED",ATTRIBUTION_HELP_CENTER_LINK_CLICKED:"ATTRIBUTION_HELP_CENTER_LINK_CLICKED",CONFIRM_CLAIM:"CONFIRM_CLAIM",CANCEL_CLAIM:"CANCEL_CLAIM",CONFIRM_BLOCK:"CONFIRM_BLOCK"});e.exports=a}),null);
  __d("VideoCopyrightMatchAuditLogEntryGraphFields",[],(function(a,b,c,d,e,f){e.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){e.exports=Object.freeze({DASHBOARD:"dashboard",PERMALINK:"permalink",REPORT:"report",OCR:"ocr",MEDIA_MANAGER:"media_manager"})}),null);
  __d("VideoCopyrightMatchDataGraphFields",[],(function(a,b,c,d,e,f){e.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){e.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",DISPUTE_EXPIRATION_DAYS:"dispute_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",MUTED_SEGMENTS_FROM_OTHER_PUBLISHERS:"muted_segments_from_other_publishers",IS_TRUSTED_PARTNER_MATCH:"is_trusted_partner_match",TRUSTED_PARTNER_INFO:"trusted_partner_info",CREATED_DATE:"created_date",IS_BUSINESS_PAGE_MATCH:"is_business_page_match",PUBLISHER_CAN_RESTORE:"publisher_can_restore"})}),null);
  __d("VideoCopyrightMatchGraphFilterFields",[],(function(a,b,c,d,e,f){e.exports=Object.freeze({MATCHED_VIDEO_ID:"matched_video_id",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",DISPUTE_REASON:"dispute_reason",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){a={VIDEO_AND_AUDIO:{intValue:1,value:"VIDEO_AND_AUDIO",label:g._("Video and audio")},VIDEO_ONLY:{intValue:2,value:"VIDEO_ONLY",label:g._("Video Only")},AUDIO_ONLY:{intValue:3,value:"AUDIO_ONLY",label:g._("Audio Only")}};e.exports=a}),null);
  __d("VideoCopyrightPublisherType",["fbt"],(function(a,b,c,d,e,f,g){a={PAGE:{value:"page",label:g._("Pages"),summaryLabel:g._("Pages")},PERSON:{value:"person",label:g._("Profiles"),summaryLabel:g._("Profiles")}};e.exports=a}),null);
  __d("VideoCopyrightTrustedPartnerInfoGraphFields",[],(function(a,b,c,d,e,f){e.exports=Object.freeze({CAN_CONFIRM_BLOCK:"can_confirm_block",CONFIRM_BLOCK_TIME:"confirm_block_time",IS_TRUSTED_PARTNER_MATCH:"is_trusted_partner_match"})}),null);
  __d("VideoCopyrightVideoAssetGraphFields",[],(function(a,b,c,d,e,f){e.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:"platform"})}),null);
  __d("VideoReferenceMatchGraphFields",[],(function(a,b,c,d,e,f){e.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){e.exports=b("XController").create("/video/copyright/match/dialog/",{id:{type:"Int",required:!0},source:{type:"Enum",required:!0,enumType:1},__asyncDialog:{type:"Int"}})}),null);
  __d("VideoCopyrightUtils",["ix","cx","fbt","invariant","regeneratorRuntime","ActorURI","AdsGenericFilter","AdsGenericFilterField","AdsGenericFilterFieldType","AdsGenericFilterOperator","AdsGenericFilterSet","AsyncDialog","AsyncRequest","AudioCopyrightGraphFields","AudioReleaseGraphFields","CopyrightReferenceFileGraphFields","GraphAPIFieldUtils","IGUserDataFetcher","Image.react","LiveStatusType","MediaCopyrightAttributionGraphFields","MusicVideoCopyrightGraphFields","MutedSegmentsFromOtherPublisherGraphFields","PageContentTabConstants","PageContentTabLogger","PageContentTabLoggingEvents","PageContentTabRightsManagerStore","React","RightsManagerFbt","TooltipData","VideoCopyrightDisputeGraphFields","VideoCopyrightGeoGateReason","VideoCopyrightGraphAPIVersion","VideoCopyrightGraphFields","VideoCopyrightMatchActionTypes","VideoCopyrightMatchAuditLogEntryGraphFields","VideoCopyrightMatchComparisonSource","VideoCopyrightMatchDataGraphFields","VideoCopyrightMatchGraphFields","VideoCopyrightMatchGraphFilterFields","VideoCopyrightMatchStatus","VideoCopyrightMonitoringType","VideoCopyrightPublisherType","VideoCopyrightRuleActionType","VideoCopyrightRuleGraphFields","VideoCopyrightSegmentSource","VideoCopyrightTrustedPartnerInfoGraphFields","VideoCopyrightVideoAssetGraphFields","VideoReferenceMatchGraphFields","VideoReferenceMatchState","XVideoCopyrightMatchDialogController","asset","fbglyph","formatDate","joinClasses","parseISODate"],(function(a,b,c,d,e,f,g,h,i,j){"use strict";__p&&__p();var k=b("PageContentTabConstants").TABS,l=20,m=86400,n=3600,o=60,p=1e3,q={GRAPH_API_VERSION:b("VideoCopyrightGraphAPIVersion").graph_api_version,DEFAULT_MONITORING_TYPE:b("VideoCopyrightMonitoringType").VIDEO_ONLY.value,DEFAULT_LIVE_MONITORING_TYPE:b("VideoCopyrightMonitoringType").VIDEO_AND_AUDIO.value,DEFAULT_PUBLISHER_TYPE:b("VideoCopyrightPublisherType").PAGE.value,DEFAULT_RULE_ID:"DEFAULT",formatNumber:function(a){return a>=1e6?Math.round(a/1e6)+"M":a>=1e3?Math.round(a/1e3)+"K":a.toString()},getAudioReleaseGraphAPIFields:function(){return[b("AudioReleaseGraphFields").ID,b("AudioReleaseGraphFields").ALBUM_TITLE,b("AudioReleaseGraphFields").CREATED_TIME,b("AudioReleaseGraphFields").DISPLAYED_ARTIST,b("AudioReleaseGraphFields").EAN,b("AudioReleaseGraphFields").UPC,b("AudioReleaseGraphFields").GRID,b("AudioReleaseGraphFields").ISRC,b("AudioReleaseGraphFields").LABEL_NAME,b("AudioReleaseGraphFields").PROPRIETARY_ID,b("AudioReleaseGraphFields").PARENTAL_WARNING_TYPE,b("AudioReleaseGraphFields").GENRE,b("AudioReleaseGraphFields").AUDIO_RELEASE_IMAGE_URI,b("AudioReleaseGraphFields").ORIGINAL_RELEASE_DATE]},getCopyrightAttributionGraphAPIFields:function(){return[b("MediaCopyrightAttributionGraphFields").ID,b("MediaCopyrightAttributionGraphFields").TITLE,b("MediaCopyrightAttributionGraphFields").CREATOR,b("MediaCopyrightAttributionGraphFields").COPYRIGHT_COUNT,b("MediaCopyrightAttributionGraphFields").LINK_TITLE,b("MediaCopyrightAttributionGraphFields").MATCH_COUNT,b("MediaCopyrightAttributionGraphFields").ATTRIBUTION_TYPE,b("MediaCopyrightAttributionGraphFields").ATTRIBUTION_TARGET_ID,b("MediaCopyrightAttributionGraphFields").STATUS,b("MediaCopyrightAttributionGraphFields").IS_ENABLED,b("MediaCopyrightAttributionGraphFields").ATTRIBUTION_URL,b("MediaCopyrightAttributionGraphFields").CREATION_TIME,b("MediaCopyrightAttributionGraphFields").ATTRIBUTION_TARGET_NAME]},getGraphAPIFields:function(a){var c=[b("VideoCopyrightMatchGraphFields").MATCH_STATUS,b("VideoCopyrightMatchGraphFields").ACTIVE_MATCH_DATA_ID,b("VideoCopyrightMatchGraphFields").MATCHED_VIDEO_ASSET,b("VideoCopyrightMatchGraphFields").EXPIRATION_DAYS,b("GraphAPIFieldUtils").getFieldWithSubfields(b("VideoCopyrightMatchGraphFields").LAST_MODIFIED_USER,["name"]),b("VideoCopyrightMatchGraphFields").LAST_MODIFIED_TIME,b("VideoCopyrightMatchGraphFields").ADDED_TO_DASHBOARD_TIME,b("VideoCopyrightMatchGraphFields").IS_VIEWED,b("VideoCopyrightMatchGraphFields").NOTES,b("VideoCopyrightMatchGraphFields").AUDIT_LOG,b("VideoCopyrightMatchGraphFields").APPLIED_ACTIONS,b("VideoCopyrightMatchGraphFields").ACTION_REQUIRING_MANUAL_REVIEW,b("VideoCopyrightMatchGraphFields").REVIEW_REPORT_ID,b("VideoCopyrightMatchGraphFields").MATCH_DATA,b("VideoCopyrightMatchGraphFields").IS_ANONYMOUS,b("VideoCopyrightMatchGraphFields").MUTED_SEGMENTS_FROM_OTHER_PUBLISHERS,b("VideoCopyrightMatchGraphFields").DISPUTE,b("VideoCopyrightMatchGraphFields").PUBLISHER_CAN_RESTORE];a.copyright_geo_actions_enabled&&c.push(b("VideoCopyrightMatchGraphFields").OWNERSHIP_COUNTRIES);a.show_attributions_tab&&c.push(b("GraphAPIFieldUtils").getFieldWithSubfields(b("VideoCopyrightMatchGraphFields").ATTRIBUTION,["title"]));a.can_see_trusted_partner_match&&c.push(b("GraphAPIFieldUtils").getFieldWithSubfields(b("VideoCopyrightMatchGraphFields").TRUSTED_PARTNER_INFO,Object.values(b("VideoCopyrightTrustedPartnerInfoGraphFields")).map(function(a){return String(a)})));a.can_see_is_business_page_match&&c.push(b("VideoCopyrightMatchGraphFields").IS_BUSINESS_PAGE_MATCH);return c},getDefaultMatchRule:function(){var a={};a[b("VideoCopyrightRuleGraphFields").ID]=this.DEFAULT_RULE_ID;return a},getMatchGraphFields:function(){return[b("VideoCopyrightRuleGraphFields").ID,b("VideoCopyrightRuleGraphFields").NAME,b("VideoCopyrightRuleGraphFields").CONDITION_GROUPS,b("VideoCopyrightRuleGraphFields").CREATED_DATE,b("VideoCopyrightRuleGraphFields").CREATOR,b("VideoCopyrightRuleGraphFields").COPYRIGHTS_COUNT,b("VideoCopyrightRuleGraphFields").MATCHES_COUNT,b("VideoCopyrightRuleGraphFields").IS_IN_MIGRATION,b("VideoCopyrightRuleGraphFields").IS_NEW_VERSION_RULE]},getReferenceMatchGraphFields:function(){return[b("VideoReferenceMatchGraphFields").REFERENCE_ASSET,b("VideoReferenceMatchGraphFields").REFERENCE_OWNER_NAME,b("VideoReferenceMatchGraphFields").REFERENCE_OWNER_ID,b("VideoReferenceMatchGraphFields").REFERENCE_COPYRIGHT,b("VideoReferenceMatchGraphFields").MATCHED_REFERENCE_ASSET,b("VideoReferenceMatchGraphFields").MATCHED_REFERENCE_OWNER_ID,b("VideoReferenceMatchGraphFields").MATCHED_REFERENCE_OWNER_NAME,b("VideoReferenceMatchGraphFields").MATCHED_REFERENCE_COPYRIGHT,b("VideoReferenceMatchGraphFields").MATCH_DATA,b("VideoReferenceMatchGraphFields").CONFLICTING_COUNTRIES,b("VideoReferenceMatchGraphFields").MATCH_STATE,b("VideoReferenceMatchGraphFields").CREATION_TIME,b("VideoReferenceMatchGraphFields").EXPIRATION_TIME,b("VideoReferenceMatchGraphFields").MODIFICATION_HISTORY,b("VideoReferenceMatchGraphFields").DISPUTE_FORM_DATA,b("VideoReferenceMatchGraphFields").REJECTION_FORM_DATA,b("VideoReferenceMatchGraphFields").IS_VIEWED,b("VideoReferenceMatchGraphFields").IS_DISPUTABLE,b("VideoReferenceMatchGraphFields").IS_POSSIBLE_CONFLICT]},getReferenceFileGraphFields:function(){return[b("VideoCopyrightGraphFields").ID,b("VideoCopyrightGraphFields").REFERENCE_OWNER_ID,b("VideoCopyrightGraphFields").MONITORING_TYPE,b("GraphAPIFieldUtils").getFieldWithSubfields(b("VideoCopyrightGraphFields").ATTRIBUTION,["title","attribution_target_id"]),b("VideoCopyrightGraphFields").OPS_OVERRIDE_MONITORING_TYPE,b("VideoCopyrightGraphFields").REFERENCE_FILE_DISABLED_BY_OPS,b("VideoCopyrightGraphFields").REFERENCE_FILE_DISABLED,b("VideoCopyrightGraphFields").DISPLAYED_MATCHES_COUNT,b("VideoCopyrightGraphFields").DISPLAYED_FB_MATCHES_COUNT,b("VideoCopyrightGraphFields").DISPLAYED_IG_MATCHES_COUNT,b("VideoCopyrightGraphFields").COPYRIGHT_CONTENT_ID,b("VideoCopyrightGraphFields").RULE_IDS,b("VideoCopyrightGraphFields").WHITELISTED_IDS,b("VideoCopyrightGraphFields").OWNERSHIP_COUNTRIES,b("VideoCopyrightGraphFields").MONITORING_STATUS,b("VideoCopyrightGraphFields").CREATOR,b("VideoCopyrightGraphFields").IN_CONFLICT,b("GraphAPIFieldUtils").getFieldWithSubfields(b("VideoCopyrightGraphFields").REFERENCE_FILE,Object.values(b("CopyrightReferenceFileGraphFields")).map(function(a){return String(a)})),b("VideoCopyrightGraphFields").REFERENCE_FILE_INSIGHTS_KEY_ID]},getSoundRecordingGraphFields:function(){return[b("AudioCopyrightGraphFields").ID,b("AudioCopyrightGraphFields").ISRC,b("AudioCopyrightGraphFields").CREATION_TIME,b("AudioCopyrightGraphFields").DISPLAYED_MATCHES_COUNT,b("AudioCopyrightGraphFields").REFERENCE_FILE_STATUS,b("AudioCopyrightGraphFields").RIDGE_MONITORING_STATUS,b("GraphAPIFieldUtils").getFieldWithSubfields(b("AudioCopyrightGraphFields").AUDIO_ASSET,["title","display_artist"])]},getMusicVideoGraphFields:function(){return[b("MusicVideoCopyrightGraphFields").ID,b("MusicVideoCopyrightGraphFields").ISRC,b("MusicVideoCopyrightGraphFields").CREATION_TIME,b("MusicVideoCopyrightGraphFields").DISPLAYED_MATCHES_COUNT,b("MusicVideoCopyrightGraphFields").REFERENCE_FILE_STATUS,b("MusicVideoCopyrightGraphFields").RIDGE_MONITORING_STATUS,b("GraphAPIFieldUtils").getFieldWithSubfields(b("MusicVideoCopyrightGraphFields").VIDEO_ASSET,[b("CopyrightReferenceFileGraphFields").TITLE,b("CopyrightReferenceFileGraphFields").THUMBNAIL_URL,b("CopyrightReferenceFileGraphFields").DURATION_IN_SEC])]},getDeletedVideoAsset:function(){__p&&__p();var a={};a[b("VideoCopyrightVideoAssetGraphFields").TITLE]=i._("Deleted");a[b("VideoCopyrightVideoAssetGraphFields").PUBLISHED_TIME]=0;a[b("VideoCopyrightVideoAssetGraphFields").THUMBNAIL_URL]="";a[b("VideoCopyrightVideoAssetGraphFields").DURATION_IN_SEC]=0;a[b("VideoCopyrightVideoAssetGraphFields").DESCRIPTION]="";a[b("VideoCopyrightVideoAssetGraphFields").OWNER_NAME]="";a[b("VideoCopyrightVideoAssetGraphFields").VIEW_COUNT]=0;a[b("VideoCopyrightVideoAssetGraphFields").IS_PRIVATE]=!1;return a},_getTabFromMatchStatus:function(a,c){switch(a){case b("VideoCopyrightMatchStatus").REMOVED:return k.TAKEDOWNS;case b("VideoCopyrightMatchStatus").REPORTED:return b("PageContentTabRightsManagerStore").getIsRMLite()?k.TAKEDOWNS:k.REPORTED;case b("VideoCopyrightMatchStatus").ALLOWED:return k.TRACKED;case b("VideoCopyrightMatchStatus").ADDED_MATCH:return k.UNSENT_REPORTS;case b("VideoCopyrightMatchStatus").BLOCKED:return k.BLOCKED;case b("VideoCopyrightMatchStatus").CLAIMED:return k.CLAIMED;case b("VideoCopyrightMatchStatus").MONITORED:return k.TRACKED;default:return k.MANUAL_REVIEW}},logDataError:function(a,c,d){d=q._getTabFromMatchStatus(a.match_status,d);b("PageContentTabLogger").log(b("PageContentTabLoggingEvents").DATA_ERROR,d,{error:JSON.stringify(c),post_id:a.id})},logAPIError:function(a,c,d,e){a=q._getTabFromMatchStatus(a,e);b("PageContentTabLogger").log(b("PageContentTabLoggingEvents").API_ERROR,a,{error:c+" : "+JSON.stringify(d)})},isMajorityUnseen:function(a){var b=0;a.forEach(function(a){a.is_viewed?b+=1:b-=1});return b<0},getPrivatePostCountIfExists:function(a,c){__p&&__p();if(a.event!==b("PageContentTabLoggingEvents").ACTION_TAKEN_MAIN_VIEW&&a.event!==b("PageContentTabLoggingEvents").ACTION_TAKEN_OVERLAY)return null;if(b("VideoCopyrightMatchActionTypes")[a.action]==null)return null;if(!c||c.length===0)return null;a=c.filter(function(a){a=a[b("VideoCopyrightMatchGraphFields").MATCHED_VIDEO_ASSET];return a&&a[b("VideoCopyrightVideoAssetGraphFields").IS_PRIVATE]});return a.length},getMatchedOwnerFilter:function(a){var c=new(b("AdsGenericFilterField"))(b("VideoCopyrightMatchGraphFilterFields").STATIC_MATCHED_OWNER_ID,b("AdsGenericFilterFieldType").STRING_SET);a=a[b("VideoCopyrightMatchGraphFields").MATCHED_VIDEO_ASSET];var d=a[b("VideoCopyrightVideoAssetGraphFields").OWNER_NAME];d.length>l&&(d=d.substring(0,l)+"...");return new(b("AdsGenericFilterSet"))([new(b("AdsGenericFilter"))(c,b("AdsGenericFilterOperator").ALL,[a[b("VideoCopyrightVideoAssetGraphFields").ID],'"'+d+'"'])])},getActiveMatchDataFromMatch:function(a){var c=a[b("VideoCopyrightMatchGraphFields").MATCH_DATA],d=a[b("VideoCopyrightMatchGraphFields").ACTIVE_MATCH_DATA_ID];a=c.filter(function(a){return d==a.id});if(a.length===1)return a[0];else return c[0]},getReferenceVideoFilter:function(a){a=this.getActiveMatchDataFromMatch(a);var c=new(b("AdsGenericFilterField"))(b("VideoCopyrightMatchGraphFilterFields").STATIC_REFERENCE_VIDEO_ID,b("AdsGenericFilterFieldType").STRING_SET);a=a[b("VideoCopyrightMatchDataGraphFields").REFERENCE_ASSET];var d=a[b("VideoCopyrightVideoAssetGraphFields").TITLE],e=a[b("VideoCopyrightVideoAssetGraphFields").DESCRIPTION],f=a[b("VideoCopyrightVideoAssetGraphFields").PUBLISHED_TIME];d=d&&d.length?d:e;!d||!d.length?d=b("formatDate")(new Date(f*p),"M j, Y"):d.length>l&&(d=d.substring(0,l)+"...");return new(b("AdsGenericFilterSet"))([new(b("AdsGenericFilter"))(c,b("AdsGenericFilterOperator").ALL,[a[b("VideoCopyrightVideoAssetGraphFields").ID],'"'+d+'"'])])},getCopyrightInUnixDateFormat:function(a,c){a=a;var d=a[b("VideoCopyrightGraphFields").REFERENCE_FILE],e=d[b("CopyrightReferenceFileGraphFields").PUBLISHED_TIME];e=b("parseISODate")(e);d[b("CopyrightReferenceFileGraphFields").PUBLISHED_TIME]=e.getTime()/1e3;e=d[b("CopyrightReferenceFileGraphFields").LIVE_STATUS]===b("LiveStatusType").IS_LIVE_BROADCAST;var f=d[b("CopyrightReferenceFileGraphFields").ENCODING_STATUS];f=f&&f.video_status==="processing";c&&e&&f&&(d[b("CopyrightReferenceFileGraphFields").LIVE_STATUS]=b("LiveStatusType").WAS_LIVE_BROADCAST);return a},openMatchComparisonDialog:function(a,c){a=b("ActorURI").create(b("XVideoCopyrightMatchDialogController").getURIBuilder().setInt("id",a).setEnum("source",b("VideoCopyrightMatchComparisonSource").DASHBOARD).getURI(),c);b("AsyncDialog").send(new(b("AsyncRequest"))(a))},sortableColumnToField:function(a,c){var d=this.getActiveMatchDataFromMatch(c);switch(a){case b("PageContentTabConstants").COLUMNS.VIDEO_VIEWS:return c[b("VideoCopyrightMatchGraphFields").MATCHED_VIDEO_ASSET][b("VideoCopyrightVideoAssetGraphFields").VIEW_COUNT];case b("PageContentTabConstants").COLUMNS.OVERLAP:return d[b("VideoCopyrightMatchDataGraphFields").TOTAL_MATCH_DURATION];case b("PageContentTabConstants").COLUMNS.EXPIRES_DAYS:case b("PageContentTabConstants").COLUMNS.DISPUTE_EXPIRES_DAYS:return c[b("VideoCopyrightMatchGraphFields").EXPIRATION_DAYS];case b("PageContentTabConstants").COLUMNS.REFERENCE_VIDEO:return d[b("VideoCopyrightMatchDataGraphFields").REFERENCE_ASSET][b("VideoCopyrightVideoAssetGraphFields").TITLE];case b("PageContentTabConstants").COLUMNS.LAST_MODIFIED_BY:return c[b("VideoCopyrightMatchGraphFields").LAST_MODIFIED_TIME];case b("PageContentTabConstants").COLUMNS.DATE_FOUND:return c[b("VideoCopyrightMatchGraphFields").ADDED_TO_DASHBOARD_TIME]}j(0)},convertGraphAPIAssetToVideoCopyrightVideoMetadata:function(a){if(!a)return null;var c=a[b("VideoCopyrightVideoAssetGraphFields").AD_BREAK_OFFSETS_IN_MS];return{id:a[b("VideoCopyrightVideoAssetGraphFields").ID],title:a[b("VideoCopyrightVideoAssetGraphFields").TITLE],durationInSec:a[b("VideoCopyrightVideoAssetGraphFields").DURATION_IN_SEC],width:a[b("VideoCopyrightVideoAssetGraphFields").WIDTH],height:a[b("VideoCopyrightVideoAssetGraphFields").HEIGHT],permalinkURL:a[b("VideoCopyrightVideoAssetGraphFields").PERMALINK_URL],thumbnailSrc:a[b("VideoCopyrightVideoAssetGraphFields").THUMBNAIL_URL],ownerPictureSrc:a[b("VideoCopyrightVideoAssetGraphFields").OWNER_PICTURE_URL],ownerPublicName:a[b("VideoCopyrightVideoAssetGraphFields").OWNER_NAME]||"",ownerProfileURL:a[b("VideoCopyrightVideoAssetGraphFields").OWNER_URL],publishedTime:a[b("VideoCopyrightVideoAssetGraphFields").PUBLISHED_TIME],isPrivate:a[b("VideoCopyrightVideoAssetGraphFields").IS_PRIVATE],description:a[b("VideoCopyrightVideoAssetGraphFields").DESCRIPTION],viewsCount:a[b("VideoCopyrightVideoAssetGraphFields").VIEW_COUNT],commentsCount:a[b("VideoCopyrightVideoAssetGraphFields").COMMENT_COUNT],sharesCount:a[b("VideoCopyrightVideoAssetGraphFields").SHARE_COUNT],followersCount:a[b("VideoCopyrightVideoAssetGraphFields").FOLLOWERS_COUNT],likesCount:a[b("VideoCopyrightVideoAssetGraphFields").LIKE_COUNT],liveStatus:a[b("VideoCopyrightVideoAssetGraphFields").LIVE_STATUS],privacyExplanation:a[b("VideoCopyrightVideoAssetGraphFields").PRIVACY_EXPLANATION],adBreakOffsets:c,containsAdBreaks:c&&c.length>0,monetizingOwnerCount:a[b("VideoCopyrightVideoAssetGraphFields").MONETIZING_OWNER_COUNT],platform:a[b("VideoCopyrightVideoAssetGraphFields").MATCHED_ASSET_PLATFORM]}},getDefaultReferenceFileType:function(){return{id:"",title:"",durationInSec:0,thumbnailSrc:"",liveStatus:b("LiveStatusType").NOT_A_BROADCAST,contentType:"video",metadata:{},universalContentID:""}},convertGraphAPIAssetToReferenceFileMetadata:function(a){return!a?this.getDefaultReferenceFileType():{id:a[b("CopyrightReferenceFileGraphFields").ID],title:a[b("CopyrightReferenceFileGraphFields").TITLE],downloadHdUrl:a[b("CopyrightReferenceFileGraphFields").DOWNLOAD_HD_URL],durationInSec:a[b("CopyrightReferenceFileGraphFields").DURATION_IN_SEC],thumbnailSrc:a[b("CopyrightReferenceFileGraphFields").THUMBNAIL_URL],liveStatus:a[b("CopyrightReferenceFileGraphFields").LIVE_STATUS],contentType:a[b("CopyrightReferenceFileGraphFields").CONTENT_TYPE],metadata:a[b("CopyrightReferenceFileGraphFields").METADATA],universalContentID:a[b("CopyrightReferenceFileGraphFields").UNIVERSAL_CONTENT_ID]}},convertGraphAPIAuditLogToVideoMetadata:function(a){var c=[];a.forEach(function(a){c.push({userName:a[b("VideoCopyrightMatchAuditLogEntryGraphFields").USER_NAME],timestamp:a[b("VideoCopyrightMatchAuditLogEntryGraphFields").TIMESTAMP],matchState:a[b("VideoCopyrightMatchAuditLogEntryGraphFields").MATCH_STATE],appliedActions:a[b("VideoCopyrightMatchAuditLogEntryGraphFields").APPLIED_ACTIONS]||[]})});return c},convertGraphAPIDisputeToMetadata:function(a){return{id:a[b("VideoCopyrightDisputeGraphFields").ID],disputeType:a[b("VideoCopyrightDisputeGraphFields").DISPUTE_TYPE],status:a[b("VideoCopyrightDisputeGraphFields").STATUS],expirationTime:a[b("VideoCopyrightDisputeGraphFields").EXPIRATION_TIME],timeCreated:a[b("VideoCopyrightDisputeGraphFields").TIME_CREATED],timeAppealed:a[b("VideoCopyrightDisputeGraphFields").TIME_APPEALED],timeUpdated:a[b("VideoCopyrightDisputeGraphFields").TIME_UPDATED],disputeFormData:a[b("VideoCopyrightDisputeGraphFields").DISPUTE_FORM_DATA],appealFormData:a[b("VideoCopyrightDisputeGraphFields").APPEAL_FORM_DATA]}},convertGraphAPIMatchToVideoCopyrightMatch:function(a){var c=a[b("VideoCopyrightMatchGraphFields").MATCHED_VIDEO_ASSET],d=a[b("VideoCopyrightMatchGraphFields").LAST_MODIFIED_USER],e=a[b("VideoCopyrightMatchGraphFields").AUDIT_LOG],f=a[b("VideoCopyrightMatchGraphFields").DISPUTE],g=a[b("VideoCopyrightMatchGraphFields").MUTED_SEGMENTS_FROM_OTHER_PUBLISHERS];return{attribution:a[b("VideoCopyrightMatchGraphFields").ATTRIBUTION],matchID:a[b("VideoCopyrightMatchGraphFields").ID],is_viewed:a[b("VideoCopyrightMatchGraphFields").IS_VIEWED],status:a[b("VideoCopyrightMatchGraphFields").MATCH_STATUS],expirationInDays:a[b("VideoCopyrightMatchGraphFields").EXPIRATION_DAYS],matchedVideoAsset:c?this.convertGraphAPIAssetToVideoCopyrightVideoMetadata(c):null,lastModifiedUserName:d?d.name:" ",lastModifiedTime:a[b("VideoCopyrightMatchGraphFields").LAST_MODIFIED_TIME],auditLog:e?this.convertGraphAPIAuditLogToVideoMetadata(e):null,notes:a[b("VideoCopyrightMatchGraphFields").NOTES],appliedActions:a[b("VideoCopyrightMatchGraphFields").APPLIED_ACTIONS]||[],dispute:f?this.convertGraphAPIDisputeToMetadata(f):null,actionRequiringManualReview:a[b("VideoCopyrightMatchGraphFields").ACTION_REQUIRING_MANUAL_REVIEW],matchData:this.convertGraphAPIMatchDataToMetadata(a),addedToDashboardTime:a[b("VideoCopyrightMatchGraphFields").ADDED_TO_DASHBOARD_TIME],reviewReportID:a[b("VideoCopyrightMatchGraphFields").REVIEW_REPORT_ID],ownershipCountries:a[b("VideoCopyrightMatchGraphFields").OWNERSHIP_COUNTRIES],isAnonymous:a[b("VideoCopyrightMatchGraphFields").IS_ANONYMOUS],matchedAssetPlatform:c?c[b("VideoCopyrightVideoAssetGraphFields").MATCHED_ASSET_PLATFORM]:"FB",mutedSegmentsFromOtherPublishers:this.convertGraphAPIMutedSegmentsFromOtherPublishers(g),trustedPartnerInfo:a[b("VideoCopyrightMatchGraphFields").TRUSTED_PARTNER_INFO],isBusinessPageMatch:a[b("VideoCopyrightMatchGraphFields").IS_BUSINESS_PAGE_MATCH],publisherCanRestore:a[b("VideoCopyrightMatchGraphFields").PUBLISHER_CAN_RESTORE]}},convertGraphAPIMutedSegmentsFromOtherPublishers:function(a){var c=[];if(!a)return c;a.forEach(function(a){var d=a[b("MutedSegmentsFromOtherPublisherGraphFields").PUBLISHER_NAME],e=a[b("MutedSegmentsFromOtherPublisherGraphFields").START_TIME_IN_SEC],f=a[b("MutedSegmentsFromOtherPublisherGraphFields").DURATION_IN_SEC];a=a[b("MutedSegmentsFromOtherPublisherGraphFields").SEGMENT_SOURCE];c.push({publisherName:d,startTimeInSec:e,durationInSec:f,segmentSource:a})});return c},convertGraphAPIReferenceHistoryToMetadata:function(a){var c=[];if(!a)return c;a.forEach(function(a){c.push({timestamp:a[b("VideoCopyrightMatchAuditLogEntryGraphFields").TIMESTAMP],matchState:a[b("VideoCopyrightMatchAuditLogEntryGraphFields").MATCH_STATE]})});return c},convertGraphAPIMatchToVideoReferenceMatch:function(a,c){c=c==a[b("VideoReferenceMatchGraphFields").MATCHED_REFERENCE_OWNER_ID];c=c?a[b("VideoReferenceMatchGraphFields").MATCHED_REFERENCE_COPYRIGHT]:a[b("VideoReferenceMatchGraphFields").REFERENCE_COPYRIGHT];return{id:a[b("VideoReferenceMatchGraphFields").ID],history:this.convertGraphAPIReferenceHistoryToMetadata(a[b("VideoReferenceMatchGraphFields").MODIFICATION_HISTORY]),matchState:a[b("VideoReferenceMatchGraphFields").MATCH_STATE],matchData:this.convertGraphAPIMatchDataToMetadataImpl(a[b("VideoReferenceMatchGraphFields").MATCH_DATA]),matchedAsset:a[b("VideoReferenceMatchGraphFields").MATCHED_REFERENCE_ASSET]?this.convertGraphAPIAssetToReferenceFileMetadata(a[b("VideoReferenceMatchGraphFields").MATCHED_REFERENCE_ASSET]):null,referenceAsset:a[b("VideoReferenceMatchGraphFields").REFERENCE_ASSET]?this.convertGraphAPIAssetToReferenceFileMetadata(a[b("VideoReferenceMatchGraphFields").REFERENCE_ASSET]):null,matchedReferenceOwnerID:a[b("VideoReferenceMatchGraphFields").MATCHED_REFERENCE_OWNER_ID],matchedReferenceOwnerName:a[b("VideoReferenceMatchGraphFields").MATCHED_REFERENCE_OWNER_NAME],referenceOwnerID:a[b("VideoReferenceMatchGraphFields").REFERENCE_OWNER_ID],referenceOwnerName:a[b("VideoReferenceMatchGraphFields").REFERENCE_OWNER_NAME],conflictingCountries:a[b("VideoReferenceMatchGraphFields").CONFLICTING_COUNTRIES],ownershipCountries:c?c[b("VideoCopyrightGraphFields").OWNERSHIP_COUNTRIES]:null,disputeFormData:JSON.parse(a[b("VideoReferenceMatchGraphFields").DISPUTE_FORM_DATA]),rejectionFormData:JSON.parse(a[b("VideoReferenceMatchGraphFields").REJECTION_FORM_DATA]),expirationTime:a[b("VideoReferenceMatchGraphFields").EXPIRATION_TIME],isDisputable:a[b("VideoReferenceMatchGraphFields").IS_DISPUTABLE],isPossibleConflict:a[b("VideoReferenceMatchGraphFields").IS_POSSIBLE_CONFLICT],matchedReferenceCopyrightID:(c=a)!=null?(c=c[b("VideoReferenceMatchGraphFields").MATCHED_REFERENCE_COPYRIGHT])!=null?c.id:c:c,referenceCopyrightID:(c=a)!=null?(c=c[b("VideoReferenceMatchGraphFields").MATCHED_REFERENCE_COPYRIGHT])!=null?c.id:c:c}},convertGraphAPIMatchDataToMetadata:function(a){var c=a[b("VideoCopyrightMatchGraphFields").MATCH_DATA],d=[];c&&c.length&&c.forEach(function(c){var e=q.convertGraphAPIMatchDataToMetadataImpl(c);c[b("VideoCopyrightMatchDataGraphFields").ID].toString()===a[b("VideoCopyrightMatchGraphFields").ACTIVE_MATCH_DATA_ID]?d.unshift(e):d.push(e)});return d},convertMatchedSegmentsToCopyrightSegments:function(a,c){a=a[c?b("VideoCopyrightMatchDataGraphFields").VIDEO_MATCH_SEGMENTS:b("VideoCopyrightMatchDataGraphFields").AUDIO_MATCH_SEGMENTS]||[];c=a.map(function(a){return{referenceStartTimeInSec:a.reference_start_time_in_sec,matchedStartTimeInSec:a.matched_start_time_in_sec,durationInSec:a.duration_in_sec,errorType:a.error_type,mediaType:a.media_type,segmentSource:a.segment_source||b("VideoCopyrightSegmentSource").RIDGE_MATCHES}});return c},convertExcludedSegmentsToCopyrightSegments:function(a){a=a.map(function(a){return{referenceStartTimeInSec:a.start_time_in_sec,matchedStartTimeInSec:a.start_time_in_sec,durationInSec:a.duration_in_sec,mediaType:a.media_type,included:!!a.included,segmentSource:b("VideoCopyrightSegmentSource").PUBLISHER_DEFINED}});return a},convertCopyrightSegmentsToExcludedSegments:function(a){var c=[];a.forEach(function(a){if(a.segmentSource!==b("VideoCopyrightSegmentSource").PUBLISHER_DEFINED)return;a={start_time_in_sec:a.referenceStartTimeInSec,duration_in_sec:a.durationInSec,media_type:a.mediaType,segment_source:a.segmentSource,included:!!a.included};c.push(a)});return c},convertGraphAPIMatchDataToMetadataImpl:function(a){var c=a[b("VideoCopyrightMatchDataGraphFields").EXCLUDED_OWNERSHIP_SEGMENTS]||[];return{id:a[b("VideoCopyrightMatchDataGraphFields").ID],excludedSegments:this.convertExcludedSegmentsToCopyrightSegments(c),monitoringType:a[b("VideoCopyrightMatchDataGraphFields").MONITORING_TYPE],matchRule:a[b("VideoCopyrightMatchDataGraphFields").MATCH_RULE],matchedDurationInSec:a[b("VideoCopyrightMatchDataGraphFields").TOTAL_MATCH_DURATION],videoSegments:this.convertMatchedSegmentsToCopyrightSegments(a,!0),audioSegments:this.convertMatchedSegmentsToCopyrightSegments(a,!1),referenceAsset:this.convertGraphAPIAssetToReferenceFileMetadata(a[b("VideoCopyrightMatchDataGraphFields").REFERENCE_ASSET]),isManualMatch:a[b("VideoCopyrightMatchDataGraphFields").IS_MANUAL_MATCH]}},getDisputeExpirationLabel:function(a){var b,c;a=a-Date.now()/p;a<n?(b=Math.ceil(a/o),c=b===1?"minute":"minutes"):a<m?(b=Math.ceil(a/n),c=b===1?"hour":"hours"):(b=Math.ceil(a/m),c=b===1?"day":"days");if(b<0)return null;else return i._({"*":{"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"}},[i._param("time before expiration",b,[0]),i._enum(c,{day:"day",days:"days",hour:"hour",hours:"hours",minute:"minute",minutes:"minutes"})])},getIsReferenceMatchStateActionable:function(a,c){return c===b("VideoReferenceMatchState").CONFLICT||c===b("VideoReferenceMatchState").DISPUTED||c===b("VideoReferenceMatchState").POSSIBLE_CONFLICT||a&&c===b("VideoReferenceMatchState").DISPUTE_REJECTED},getIsPassiveReferenceResolution:function(a,c){if(a)return c===b("VideoReferenceMatchState").CONFLICT_EXPIRED||c===b("VideoReferenceMatchState").DISPUTE_REJECTED;else return c===b("VideoReferenceMatchState").DISPUTE_EXPIRED},getAppliedActionLabel:function(a){__p&&__p();a=a.map(function(a){return a.action});var c=a.indexOf(b("VideoCopyrightRuleActionType").BLOCK)!==-1;if(c)return b("RightsManagerFbt").BLOCKED;c=a.indexOf(b("VideoCopyrightRuleActionType").MONETIZE)!==-1;if(c)return i._("Claim ad earnings");c=a.indexOf(b("VideoCopyrightRuleActionType").TRACK)!==-1;return c?b("RightsManagerFbt").MONITORED:b("RightsManagerFbt").CLAIMED},getActionRequiringManualReviewLabel:function(a){switch(a){case b("VideoCopyrightRuleActionType").BLOCK:return i._("Block not applied");case b("VideoCopyrightRuleActionType").MONETIZE:return i._("Claim ad earnings not applied");default:return i._("Manually review")}},getReferenceMatchStateLabel:function(a,c){__p&&__p();switch(a){case b("VideoReferenceMatchState").CONFLICT:case b("VideoReferenceMatchState").POSSIBLE_CONFLICT:return i._("Conflict detected");case b("VideoReferenceMatchState").OWNERSHIP_ASSERTED:return i._("Ownership asserted");case b("VideoReferenceMatchState").DISPUTED:return c?i._("Dispute submitted"):i._("Ownership disputed");case b("VideoReferenceMatchState").DISPUTE_ACCEPTED:return c?i._("Dispute accepted"):i._("Dispute accepted by you");case b("VideoReferenceMatchState").DISPUTE_REJECTED:return c?i._("Dispute rejected"):i._("Dispute rejected by you");case b("VideoReferenceMatchState").CONFLICT_RESOLVED:return i._("Conflict resolved");case b("VideoReferenceMatchState").CONFLICT_EXPIRED:return i._("Conflict expired");case b("VideoReferenceMatchState").DISPUTE_EXPIRED:return c?i._("Dispute accepted"):i._("Dispute expired");default:return i._("Unknown")}},logToPageContentTabLoggerWithDetails:function(a,c,d){b("PageContentTabLogger").log(b("PageContentTabLoggingEvents").ACTION_TAKEN_MAIN_VIEW,d,{page_id:c,action:a})},renderOldVersionRuleIndicator:function(a,c){return c?null:b("React").createElement(b("Image.react"),{className:b("joinClasses")(a,"_5u-h"),"data-tooltip-content":i._("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:g("132175")})},dedupeSegments:function(a,b){__p&&__p();var c=0,d=[],e=null;a.sort(function(a,c){a=b?a.referenceStartTimeInSec:a.matchedStartTimeInSec;c=b?c.referenceStartTimeInSec:c.matchedStartTimeInSec;return a>c?1:-1}).forEach(function(a){__p&&__p();var f=a.durationInSec,g=b?a.referenceStartTimeInSec:a.matchedStartTimeInSec;f=g+f;if(e&&g<c){e.durationInSec+=Math.max(0,f-c);c=Math.max(c,f);return}g=babelHelpers["extends"]({},a);e=g;d.push(g);c=Math.max(c,f)});return d},convertIGUserNameToIDs:function(a,c){__p&&__p();var d;return b("regeneratorRuntime").async(function(e){__p&&__p();while(1)switch(e.prev=e.next){case 0:if(!(c.length===0)){e.next=2;break}return e.abrupt("return",[]);case 2:e.next=4;return b("regeneratorRuntime").awrap(b("IGUserDataFetcher").gen(c,a));case 4:d=e.sent;return e.abrupt("return",Object.values(d.payload));case 6:case"end":return e.stop()}},null,this)},getMatchedOwnerBadge:function(a,c){if(a)return b("React").createElement(b("Image.react"),babelHelpers["extends"]({className:"_4gyc",src:g("540419")},b("TooltipData").propsFor(i._("Trusted partner"),"above")));return c?b("React").createElement(b("Image.react"),babelHelpers["extends"]({className:"_4gyc",src:g("499172")},b("TooltipData").propsFor(i._("This is a business"),"above"))):null},getGeoActionReasonName:function(a){switch(a){case b("VideoCopyrightGeoGateReason").UNAUTHORIZED_COMMERCIAL_USE:return i._("Unauthorized Commercial Use");case b("VideoCopyrightGeoGateReason").RESTRICTED_CONTENT:return i._("Restricted Content");case b("VideoCopyrightGeoGateReason").OBJECTIONABLE_CONTENT:return i._("Objectionable Content");case b("VideoCopyrightGeoGateReason").ARTIST_OBJECTION:return i._("Artist Objection");case b("VideoCopyrightGeoGateReason").PRERELEASE_CONTENT:return i._("Pre-release Content");case b("VideoCopyrightGeoGateReason").PRODUCT_PARAMETERS:return i._("Product Parameters");case b("VideoCopyrightGeoGateReason").PREMIUM_MUSIC_VIDEO:return i._("Premium Music Video");default:return null}},getGeoActionReasonTootip:function(a){switch(a){case b("VideoCopyrightGeoGateReason").UNAUTHORIZED_COMMERCIAL_USE:return i._("Includes recordings that are not licensed for business use");case b("VideoCopyrightGeoGateReason").RESTRICTED_CONTENT:return i._("Includes recordings from restricted artists or restricted writers");case b("VideoCopyrightGeoGateReason").OBJECTIONABLE_CONTENT:return i._("Includes violence, pornography or other objectionable content");case b("VideoCopyrightGeoGateReason").ARTIST_OBJECTION:return i._("Includes content that the artist has a formal objection to");case b("VideoCopyrightGeoGateReason").PRERELEASE_CONTENT:return i._("Includes recordings that have not been officially released");case b("VideoCopyrightGeoGateReason").PRODUCT_PARAMETERS:return i._("A type of video that isn't included in your license (still image video, DJ mix, streaming service or other restricted format)");case b("VideoCopyrightGeoGateReason").PREMIUM_MUSIC_VIDEO:return null;default:return null}},getGeoActionReasonList:function(){return[b("VideoCopyrightGeoGateReason").UNAUTHORIZED_COMMERCIAL_USE,b("VideoCopyrightGeoGateReason").RESTRICTED_CONTENT,b("VideoCopyrightGeoGateReason").OBJECTIONABLE_CONTENT,b("VideoCopyrightGeoGateReason").ARTIST_OBJECTION,b("VideoCopyrightGeoGateReason").PRERELEASE_CONTENT,b("VideoCopyrightGeoGateReason").PRODUCT_PARAMETERS,b("VideoCopyrightGeoGateReason").PREMIUM_MUSIC_VIDEO]}};e.exports=q}),null);
  __d("SUILayerHeader.react",["cx","FlexLayout.react","React","SUICloseButton.react","SUIComponent","SUIErrorComponentUtil","SUIText.react","SUITheme","autoFlipStyleProps"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();var h,i=12,j=12;c=babelHelpers["extends"]({},b("SUIErrorComponentUtil").defaultProps,{hasCloseButton:!0});h=babelHelpers.inherits(a,b("SUIComponent"));h&&h.prototype;a.prototype.render=function(){var a=b("SUITheme").get(this),c=a.SUILayerHeader,d=this.props.button||this.props.link||null,e=c.horizontalPadding+j+(this.props.hasCloseButton?b("SUICloseButton.react").getHeightForSize(a,"large"):0),f=this.props.subtitle?b("React").createElement("div",{className:"_2pic"},b("React").createElement(b("SUIText.react"),{color:"secondary",size:"body2",theme:a},this.props.subtitle)):null,g=b("SUIErrorComponentUtil").getErrorIcon(this.props,a,"_34di");a=b("SUIErrorComponentUtil").getErrorBorderColor(this.props,a);return b("React").createElement("div",{className:"_3lxv","data-hover":"tooltip","data-tooltip-display":"overflow",style:b("autoFlipStyleProps")({backgroundColor:c.backgroundColor,borderBottom:"1px solid "+c.bottomBorderColor,padding:i,paddingLeft:c.horizontalPadding,paddingRight:e})},b("React").createElement(b("FlexLayout.react"),{align:"center",justify:"all"},b("React").createElement("div",{className:"_3lxw"},b("React").createElement(b("FlexLayout.react"),{align:"center"},b("React").createElement("div",{className:"ellipsis",style:babelHelpers["extends"]({},c.typeStyle,{color:a})},this.props.title),g&&b("React").cloneElement(g,babelHelpers["extends"]({},b("SUIErrorComponentUtil").getErrorTooltipProps(this.props),{style:b("autoFlipStyleProps")({marginLeft:c.errorIconMarginLeft})}))),b("React").createElement("div",null,f)),d))};function a(){h.apply(this,arguments)}a.defaultProps=c;e.exports=a}),null);
  __d("SUIModalHeader.react",["SUILayerHeader.react"],(function(a,b,c,d,e,f){"use strict";e.exports=b("SUILayerHeader.react")}),null);
  __d("DialogExpansion",["Animation","DialogPosition","LoadingDialogDimensions","Style"],(function(a,b,c,d,e,f){__p&&__p();var g=400,h=100;function a(a){"use strict";this._dialog=a,this._fixedTopMargin=a.getFixedTopPosition(),this._ignoreFixedTopInShortViewport=a.shouldIgnoreFixedTopInShortViewport()}a.prototype.enable=function(){"use strict";this._subscription=this._dialog.subscribe("aftershow",this._onAfterShow.bind(this))};a.prototype.disable=function(){"use strict";this._subscription!=null&&(this._subscription.unsubscribe(),this._subscription=null)};a.prototype.setTargetWidth=function(a){"use strict";this._targetWidth=a};a.prototype._onAfterShow=function(){"use strict";__p&&__p();this._outer=this._dialog.getContentRoot();this._inner=this._dialog.getInnerContent();if(isNaN(parseInt(b("Style").get(this._inner,"height"),10)))return;var a=this._getWidth(),c=this._getHeight(),d=b("DialogPosition").calculateTopMargin(a,c);b("Style").apply(this._inner,{opacity:"0",width:this._dialog.getWidth()+"px"});b("Style").apply(this._outer,{width:a+"px",height:c+"px",marginTop:d+"px",overflow:"hidden"});setTimeout(function(){var a=parseInt(this._dialog.getWidth(),10);this._targetWidth&&(a=this._targetWidth);var c=parseInt(b("Style").get(this._inner,"height"),10),d=b("DialogPosition").calculateTopMargin(a,c,this._fixedTopMargin,this._ignoreFixedTopInShortViewport);this._growThenFade(a,c,d)}.bind(this),100)};a.prototype._growThenFade=function(a,c,d){"use strict";new(b("Animation"))(this._outer).to("width",a).to("height",c).to("marginTop",d).duration(g).ease(b("Animation").ease.both).ondone(this._fadeIn.bind(this)).go()};a.prototype._fadeIn=function(){"use strict";b("Style").set(this._outer,"overflow",""),b("Style").set(this._outer,"height",""),new(b("Animation"))(this._inner).from("opacity",0).to("opacity",1).ondone(function(){b("Style").set(this._inner,"opacity","1"),b("Style").set(this._inner,"width",""),this._dialog.inform("afterexpand")}.bind(this)).duration(h).go()};a.prototype._getWidth=function(){"use strict";return b("LoadingDialogDimensions").WIDTH};a.prototype._getHeight=function(){"use strict";return b("LoadingDialogDimensions").HEIGHT};e.exports=a}),null);
  __d("AdsVideoUploadAsyncRequest",["fbt","AsyncResponse","emptyFunction","forEachObject"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();function a(){this.$1={},this.$2={},this.$3=null,this.$4=b("emptyFunction"),this.$5=b("emptyFunction"),this.$6=b("emptyFunction"),this.$7=b("emptyFunction")}a.prototype.setURI=function(a){this.$8=a;return this};a.prototype.setData=function(a){this.$1=a;return this};a.prototype.setRawData=function(a){this.$3=a;return this};a.prototype.setRequestHeader=function(a,b){this.$2[a]=b;return this};a.prototype.setHandler=function(a){this.$4=a;return this};a.prototype.setErrorHandler=function(a){this.$9=a;return this};a.prototype.setTransportErrorHandler=function(a){this.$6=a;return this};a.prototype.setUploadProgressHandler=function(a){this.$7=a;return this};a.prototype.setAllowCrossOrigin=function(a){return this};a.prototype.send=function(){this.$10=new XMLHttpRequest();this.$11();this.$10.open("POST",this.$8,!0);var a=this.$10;b("forEachObject")(this.$2,function(b,c){a.setRequestHeader(c,b)});this.$10.send(this.$12())};a.prototype.abort=function(){this.$13(),this.$10.abort()};a.prototype.$11=function(){this.$10.addEventListener("load",function(event){return this.$14(event)}.bind(this)),this.$10.addEventListener("error",function(event){return this.$15(event)}.bind(this)),this.$10.upload.addEventListener("progress",function(event){return this.$16(event)}.bind(this))};a.prototype.$14=function(event){var a=JSON.parse(this.$10.responseText),c=new(b("AsyncResponse"))(null,a);if(this.$17(this.$10.status))this.$4(c);else{var d=1,e=g._("An unknown error occurred"),f=null,h=!1,i;(i=a.error)?(d=i.error_subcode||i.code,e=i.error_user_title||i.message,f=i.error_user_msg,f&&(f+=" (#"+d+") "),h=i.is_transient):a.error_code!=null&&(d=a.error_code,e=a.error_msg);f||(f=e);Object.assign(c,{error:d,errorSummary:e,errorDescription:f,transientError:h});this.$9(c)}};a.prototype.$15=function(event){__p&&__p();var a=JSON.parse(this.$10.responseText);a=new(b("AsyncResponse"))(null,a);if(navigator.onLine){var c=g._("Something went wrong. We're working on getting this fixed as soon as we can. You may be able to try again.");Object.assign(a,{error:1004,errorSummary:c,errorDescription:c,transientError:!0})}else{a.setError(1006);var d=g._("The browser went offline");Object.assign(a,{error:1006,errorSummary:d,errorDescription:d,transientError:!0});a.setErrorDescription(c);a.setErrorSummary(c)}this.$6(a)};a.prototype.$16=function(event){this.$7(event)};a.prototype.$13=function(){this.$10.removeEventListener("load",this.__successHandler),this.$10.removeEventListener("error",this.__errorHandler),this.$10.upload.removeEventListener("progress",this.__uploadProgressHandler)};a.prototype.$17=function(a){return a>=200&&a<=299};a.prototype.$12=function(){var a=this.$3===null?new FormData():this.$3;b("forEachObject")(this.$1,function(b,c){a.append(c,b)});return a};e.exports=a}),null);
  __d("AdsVideoUploadRequest",["AdsVideoUploadAsyncRequest","VideoUploadRequest"],(function(a,b,c,d,e,f){"use strict";var g;g=babelHelpers.inherits(a,b("VideoUploadRequest"));g&&g.prototype;a.prototype.__getAsyncRequest=function(){return new(b("AdsVideoUploadAsyncRequest"))()};function a(){g.apply(this,arguments)}e.exports=a}),null);
  __d("AdsVideoUploadRequestContext",["VideoUploadRequestContext"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g,h;g=babelHelpers.inherits(a,b("VideoUploadRequestContext"));h=g&&g.prototype;a.prototype.setChunkSessionID=function(a){this.$AdsVideoUploadRequestContext1=a;return this};a.prototype.getChunkSessionID=function(){return this.$AdsVideoUploadRequestContext1};a.prototype.reset=function(){h.reset.call(this),this.$AdsVideoUploadRequestContext1=null};function a(){g.apply(this,arguments)}e.exports=a}),null);
  __d("AdsVideoUploadPostRequestManager",["AdsVideoUploadRequest","AdsVideoUploadUtil","VideoUploadPostRequestManager"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g;g=babelHelpers.inherits(a,b("VideoUploadPostRequestManager"));g&&g.prototype;a.prototype.__getVideoUploadRequest=function(a){return new(b("AdsVideoUploadRequest"))(a)};a.prototype.__createRequestData=function(a){return{waterfall_id:a.getWaterfallID(),upload_session_id:a.getChunkSessionID(),upload_phase:"finish",title:b("AdsVideoUploadUtil").getVideoTitle(a.getFile().getFile())}};function a(){g.apply(this,arguments)}e.exports=a}),null);
  __d("AdsVideoUploadReceiveRequestManager",["AdsVideoUploadRequest","VideoUploadReceiveRequestManager"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g,h;g=babelHelpers.inherits(a,b("VideoUploadReceiveRequestManager"));h=g&&g.prototype;a.prototype.__getVideoUploadRequest=function(a){return new(b("AdsVideoUploadRequest"))(a)};a.prototype.__createRequestData=function(a){if(a.getUseParallelChunks())return{start_offset:a.getStartOffset(),end_offset:a.getEndOffset(),waterfall_id:a.getWaterfallID(),upload_session_id:a.getChunkSessionID(),upload_phase:"transfer",partition_start_offset:a.getPartitionStartOffset(),partition_end_offset:a.getPartitionEndOffset(),upload_speed:a.getLastKnownUploadSpeed().toString()};else return{start_offset:a.getStartOffset(),waterfall_id:a.getWaterfallID(),upload_session_id:a.getChunkSessionID(),upload_phase:"transfer"}};a.prototype.__handleSuccessResponse=function(a){var b=a.getPayload();b.start_offset=parseInt(b.start_offset,10);b.end_offset=parseInt(b.end_offset,10);h.__handleSuccessResponse.call(this,a)};a.prototype.__handleServerFailureResponse=function(a){if(h.__hasInvalidStartOffsetAndHasRetries.call(this,a.getError())){var b=a.getPayload();b.start_offset=b.error.error_data.start_offset;b.end_offset=b.error.error_data.end_offset}h.__handleServerFailureResponse.call(this,a)};function a(){g.apply(this,arguments)}e.exports=a}),null);
  __d("AdsVideoUploadStartRequestManager",["AdsVideoUploadRequest","VideoCreatorProductType","VideoUploadStartRequestManager"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g;g=babelHelpers.inherits(a,b("VideoUploadStartRequestManager"));g&&g.prototype;a.prototype.__getVideoUploadRequest=function(a){return new(b("AdsVideoUploadRequest"))(a)};a.prototype.__getDataToSend=function(a){var c=Object.keys(b("VideoCreatorProductType")),d=c[0];c.forEach(function(c){b("VideoCreatorProductType")[c]===a.getCreatorProduct()&&(d=c)});if(a.getUseParallelChunks())return{file_size:a.getFile().getSize(),waterfall_id:a.getWaterfallID(),upload_phase:"start",partition_start_offset:a.getPartitionStartOffset(),partition_end_offset:a.getPartitionEndOffset(),creator_product:d};else return{file_size:a.getFile().getSize(),waterfall_id:a.getWaterfallID(),upload_phase:"start",creator_product:d}};a.prototype.__getSuccessInformData=function(a){return{session_id:a.upload_session_id,video_id:a.video_id,start_offset:parseInt(a.start_offset,10),end_offset:parseInt(a.end_offset,10)}};function a(){g.apply(this,arguments)}e.exports=a}),null);
  __d("ApiVideoStatus",[],(function(a,b,c,d,e,f){e.exports=Object.freeze({READY:"ready",PROCESSING:"processing",ERROR:"error",EXPIRED:"expired"})}),null);
  __d("AdsVideoEncodingAsyncNotifier",["AdsVideoFetcher","ApiVideoStatus","emptyFunction","promiseDone"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g=1e3;function a(a){this.$1=0,this.$2=0,this.$4=a,this.$3=0,this.$5=b("emptyFunction"),this.$6=b("emptyFunction"),this.$7=b("emptyFunction")}a.prototype.start=function(){this.$1=Date.now(),this.$8()};a.prototype.getEncodingElapsedTime=function(){return this.$2};a.prototype.setOnStatusUpdateListener=function(a){this.$6=a};a.prototype.setOnFailedListener=function(a){this.$5=a};a.prototype.setOnSuccessListener=function(a){this.$7=a};a.prototype.$8=function(){var a=this.$3+g;a=Math.max(0,a-Date.now());setTimeout(function(){return this.$9()}.bind(this),a)};a.prototype.$9=function(){this.$3=Date.now(),b("promiseDone")(b("AdsVideoFetcher").genVideoStatus(this.$4),function(a){return this.$10(a)}.bind(this))};a.prototype.$10=function(a){a=a.video_status||a;a===b("ApiVideoStatus").PROCESSING?(this.$6(),this.$8()):a===b("ApiVideoStatus").ERROR?this.$5():a===b("ApiVideoStatus").READY&&b("promiseDone")(b("AdsVideoFetcher").genSingleVideo(this.$4),function(a){this.$2=Date.now()-this.$1,this.$7(a)}.bind(this),function(){this.$5()}.bind(this))};e.exports=a}),null);
  __d("AdsVideoUploadSession",["AdsVideoEncodingAsyncNotifier","AdsVideoUploadEvents","AdsVideoUploadPostRequestManager","AdsVideoUploadReceiveRequestManager","AdsVideoUploadRequestContext","AdsVideoUploadStartRequestManager","VideoUploadLogger","VideoUploadSession"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g,h;g=babelHelpers.inherits(a,b("VideoUploadSession"));h=g&&g.prototype;a.prototype.start=function(a){this.$AdsVideoUploadSession1=!1,h.start.call(this,a)};a.prototype.cancel=function(){this.$AdsVideoUploadSession1=!0,h.cancel.call(this)};a.prototype.abandon=function(){this.$AdsVideoUploadSession1=!0,h.abandon.call(this)};a.prototype.getEncodingTime=function(){return this.$AdsVideoUploadSession2.getEncodingElapsedTime()};a.prototype.__handlePostRequestFinished=function(event,a){h.__handlePostRequestFinished.call(this,event,a),this.$AdsVideoUploadSession3=!1,this.$AdsVideoUploadSession4=!1,this.$AdsVideoUploadSession2=new(b("AdsVideoEncodingAsyncNotifier"))(this.getVideoID()),this.$AdsVideoUploadSession2.setOnStatusUpdateListener(function(){return this.$AdsVideoUploadSession5()}.bind(this)),this.$AdsVideoUploadSession2.setOnFailedListener(function(){return this.$AdsVideoUploadSession6()}.bind(this)),this.$AdsVideoUploadSession2.setOnSuccessListener(function(a){return this.$AdsVideoUploadSession7(a)}.bind(this)),this.$AdsVideoUploadSession2.start()};a.prototype.__createReceiveRequestContext=function(a,c,d){d=new(b("AdsVideoUploadRequestContext"))();this.__setupReceiveRequestContext(d,a,c);return d};a.prototype.__setupReceiveRequestContext=function(a,b,c,d){h.__setupReceiveRequestContext.call(this,a,b,c),this.$AdsVideoUploadSession8=b.session_id,a.setChunkSessionID(this.$AdsVideoUploadSession8)};a.prototype.__createPostRequestContext=function(a){var c=new(b("AdsVideoUploadRequestContext"))();this.__setupPostRequestContext(c,a);return c};a.prototype.__setupPostRequestContext=function(a,b){h.__setupPostRequestContext.call(this,a,b),a.setChunkSessionID(this.$AdsVideoUploadSession8)};a.prototype.$AdsVideoUploadSession7=function(a){if(this.$AdsVideoUploadSession1){this.__logEvent(b("VideoUploadLogger").EVENT_ENCODING_FAIL_OBSERVED);return}this.$AdsVideoUploadSession3||(this.$AdsVideoUploadSession3=!0,this.__logEvent(b("VideoUploadLogger").EVENT_ENCODING_SUCCESS_OBSERVED,{elapsed_time:Math.round(this.getEncodingTime())}),this.inform(b("AdsVideoUploadEvents").ENCODING_SUCCESS,a))};a.prototype.$AdsVideoUploadSession5=function(){if(this.$AdsVideoUploadSession1){this.__logEvent(b("VideoUploadLogger").EVENT_ENCODING_FAIL_OBSERVED);return}this.$AdsVideoUploadSession4||(this.__logEvent(b("VideoUploadLogger").EVENT_ENCODING_START_OBSERVED),this.$AdsVideoUploadSession4=!0)};a.prototype.$AdsVideoUploadSession6=function(){this.__logEvent(b("VideoUploadLogger").EVENT_ENCODING_FAIL_OBSERVED),this.inform(b("AdsVideoUploadEvents").ENCODING_ERROR)};a.prototype.__getVideoUploadStartRequestManager=function(a){return new(b("AdsVideoUploadStartRequestManager"))(a,0,0,0,!1,0,0,0)};a.prototype.__getVideoUploadReceiveRequestManager=function(a,c){return new(b("AdsVideoUploadReceiveRequestManager"))(a,c.max_transport_retries,null,c.max_server_retries,!1,0,0,c.transport_retry_interval_base,c.server_retry_interval_base,!1,c.access_token,c.resumability_enabled,null,null,0,!1,!1)};a.prototype.__getVideoUploadPostRequestManager=function(a){return new(b("AdsVideoUploadPostRequestManager"))(a,0,0,0,0)};function a(){g.apply(this,arguments)}e.exports=a}),null);
  __d("XCommerceErrorParam",[],(function(a,b,c,d,e,f){e.exports=Object.freeze({ERRORS:"errors",GENERAL_ERROR:"general",FIELD_ERRORS:"fields",ERROR_CODE:"code",ERROR_MSG:"message",ERROR_TITLE:"title"})}),null);
  __d("XCommerceResponse",["XCommerceErrorParam","isEmpty"],(function(a,b,c,d,e,f){__p&&__p();function a(a){"use strict";this.$1=a,!this.$1?this.$1={}:!this.$1[b("XCommerceErrorParam").ERRORS]?(this.$1[b("XCommerceErrorParam").ERRORS]={},this.$1[b("XCommerceErrorParam").ERRORS][b("XCommerceErrorParam").GENERAL_ERROR]={},this.$1[b("XCommerceErrorParam").ERRORS][b("XCommerceErrorParam").FIELD_ERRORS]={}):this.$1[b("XCommerceErrorParam").ERRORS][b("XCommerceErrorParam").FIELD_ERRORS]||(this.$1[b("XCommerceErrorParam").ERRORS][b("XCommerceErrorParam").FIELD_ERRORS]={})}a.prototype.hasErrors=function(){"use strict";var a=this.getErrors();return!this.$2(a)};a.prototype.hasGeneralError=function(){"use strict";var a=this.getGeneralError();return!this.$2(a)};a.prototype.hasFieldErrors=function(){"use strict";var a=this.getFieldErrors();return!this.$2(a)};a.prototype.getErrors=function(){"use strict";return!this.getPayload()?null:this.getPayload()[b("XCommerceErrorParam").ERRORS]};a.prototype.getGeneralError=function(){"use strict";var a=this.getErrors();return a?a[b("XCommerceErrorParam").GENERAL_ERROR]:null};a.prototype.getFieldErrors=function(){"use strict";var a=this.getErrors();return a?a[b("XCommerceErrorParam").FIELD_ERRORS]:null};a.prototype.getFieldErrorCodes=function(){"use strict";__p&&__p();var a=this.getFieldErrors();if(!a)return{};var c={};for(var d in a){if(!Object.prototype.hasOwnProperty.call(a,d))continue;c[d]=a[d][b("XCommerceErrorParam").ERROR_CODE]}return c};a.prototype.getGeneralErrorMessage=function(){"use strict";var a=this.getGeneralError();return a?a[b("XCommerceErrorParam").ERROR_MSG]:null};a.prototype.getGeneralErrorCode=function(){"use strict";var a=this.getGeneralError();return a?a[b("XCommerceErrorParam").ERROR_CODE]:null};a.prototype.getPayload=function(){"use strict";return this.$1};a.prototype.getAllErrorCodes=function(){"use strict";__p&&__p();var a=[];this.getGeneralError()&&a.push(this.getGeneralErrorCode());var b=this.getFieldErrorCodes();if(b)for(var c in b){if(!Object.prototype.hasOwnProperty.call(b,c))continue;a.push(b[c])}return a};a.prototype.$3=function(a){"use strict";return{code:parseInt(a.code,10),message:a.description,title:a.summary}};a.prototype.setGeneralError=function(a){"use strict";a=this.$3(a);this.$2(a)||(this.$1[b("XCommerceErrorParam").ERRORS][b("XCommerceErrorParam").GENERAL_ERROR]=a)};a.prototype.addFieldError=function(a,c){"use strict";c=this.$3(c);a&&!this.$2(c)&&(this.$1[b("XCommerceErrorParam").ERRORS][b("XCommerceErrorParam").FIELD_ERRORS][a]=c)};a.prototype.$2=function(a){"use strict";if(!a)return!0;for(var c in a)if(Object.prototype.hasOwnProperty.call(a,c)&&!b("isEmpty")(a[c]))return!1;return!0};e.exports=a}),null);
  __d("flipObject",[],(function(a,b,c,d,e,f){"use strict";function a(a){return Object.entries(a).reduce(function(b,c){var d=c[0];c=c[1];Object.prototype.hasOwnProperty.call(a,d)&&typeof c!=="object"&&typeof c!=="function"&&c!=null&&(b[String(c)]=d);return b},{})}e.exports=a}),null);
  __d("CctaTestIDs",[],(function(a,b,c,d,e,f){e.exports=Object.freeze({CCTA_VIEWER_UNIT_TESTID:"ccta_viewer_unit_testid",CCTA_TYPE_SELECTOR_TESTID:"ccta_type_selector_testid",CCTA_TYPE_SELECTOR_OPTION_TESTID_PREFIX:"ccta_type_selector_option_testid_",CCTA_CANCEL_BUTTON_TESTID:"ccta_cancel_button_testid",CCTA_SAVE_BUTTON_TESTID:"ccta_save_button_testid",CCTA_WEB_URI_TESTID:"ccta_web_uri_testid",CCTA_EDIT_MENU_TESTID:"ccta_edit_menu_testid",CCTA_SWITCH_TO_APP_BUTTON_TESTID:"ccta_switch_to_app_button_testid",CCTA_ANDROID_APPS_DROPDOWN_TESTID:"ccta_android_apps_dropdown_testid",CCTA_ANDROID_APPS_DROPDOWN_WEBSITE_OPTION_TESTID:"ccta_android_apps_dropdown_website_option_testid",CCTA_ANDROID_APPS_DROPDOWN_APP_OPTION_TESTID:"ccta_android_apps_dropdown_app_option_testid"})}),null);
  __d("CommerceUSAStates",[],(function(a,b,c,d,e,f){e.exports=Object.freeze({STATE_AL:"Alabama",STATE_AK:"Alaska",STATE_AZ:"Arizona",STATE_AR:"Arkansas",STATE_CA:"California",STATE_CO:"Colorado",STATE_CT:"Connecticut",STATE_DE:"Delaware",STATE_DC:"District of Columbia",STATE_FL:"Florida",STATE_GA:"Georgia",STATE_HI:"Hawaii",STATE_ID:"Idaho",STATE_IL:"Illinois",STATE_IN:"Indiana",STATE_IA:"Iowa",STATE_KS:"Kansas",STATE_KY:"Kentucky",STATE_LA:"Louisiana",STATE_ME:"Maine",STATE_MD:"Maryland",STATE_MA:"Massachusetts",STATE_MI:"Michigan",STATE_MN:"Minnesota",STATE_MS:"Mississippi",STATE_MO:"Missouri",STATE_MT:"Montana",STATE_NE:"Nebraska",STATE_NV:"Nevada",STATE_NH:"New Hampshire",STATE_NJ:"New Jersey",STATE_NM:"New Mexico",STATE_NY:"New York",STATE_NC:"North Carolina",STATE_ND:"North Dakota",STATE_OH:"Ohio",STATE_OK:"Oklahoma",STATE_OR:"Oregon",STATE_PA:"Pennsylvania",STATE_RI:"Rhode Island",STATE_SC:"South Carolina",STATE_SD:"South Dakota",STATE_TN:"Tennessee",STATE_TX:"Texas",STATE_UT:"Utah",STATE_VT:"Vermont",STATE_VA:"Virginia",STATE_WA:"Washington",STATE_WV:"West Virginia",STATE_WI:"Wisconsin",STATE_WY:"Wyoming"})}),null);
  __d("PageCallToActionType",[],(function(a,b,c,d,e,f){e.exports=Object.freeze({BOOK_APPOINTMENT:"BOOK_APPOINTMENT",BOOK_NOW:"BOOK_NOW",BUY_TICKETS:"BUY_TICKETS",CALL_NOW:"CALL_NOW",CHARITY_DONATE:"CHARITY_DONATE",CONTACT_US:"CONTACT_US",DONATE_NOW:"DONATE_NOW",EMAIL:"EMAIL",GET_DIRECTIONS:"GET_DIRECTIONS",GET_OFFER:"GET_OFFER",GET_OFFER_VIEW:"GET_OFFER_VIEW",LEARN_MORE:"LEARN_MORE",READ_ARTICLES:"READ_ARTICLES",REQUEST_APPOINTMENT:"REQUEST_APPOINTMENT",LISTEN:"LISTEN",MAKE_RESERVATION:"MAKE_RESERVATION",MESSAGE:"MESSAGE",OPEN_APP:"OPEN_APP",ORDER_NOW:"ORDER_NOW",PLAY_MUSIC:"PLAY_MUSIC",PLAY_NOW:"PLAY_NOW",REQUEST_QUOTE:"REQUEST_QUOTE",SHOP_NOW:"SHOP_NOW",SIGN_UP:"SIGN_UP",VIDEO_CALL:"VIDEO_CALL",VISIT_GROUP:"VISIT_GROUP",WATCH_NOW:"WATCH_NOW",GET_EVENT_TICKETS:"GET_EVENT_TICKETS"})}),null);
  __d("VideoUploadTargetType",[],(function(a,b,c,d,e,f){e.exports=Object.freeze({EVENT:"event",SELF:"self",GROUP:"group",PAGE:"page",FRIEND:"friend",PAYMENT_ACCOUNT:"payment_account",ADMARKET_ACCOUNT:"admarket_account",ATLAS_CREATIVE_SET:"atlas_creative_set",APP_SUBMISSION:"app_submission",APPLICATION:"application",INSTANT_APPLICATION:"instant_application",QUICK_PROMOTION:"quick_promotion",FUNDRAISER:"fundraiser",MARKETPLACE:"marketplace",PRODUCT_CATALOG:"product_catalog",JOB_APPLICATION:"job_application",PIXELCLOUD:"pixelcloud",LEARN:"learn",MESSAGING_PAGE_SUBMISSION:"messaging_page_submission",CRISIS:"CRISIS",SHARED_ALBUM:"shared_album",PHOTO_ALBUM:"photo_album",OBJ_STATIC_PHOTO_SET:"obj_static_photo_set"})}),null);
  __d("PageCallToActionIcon",["ix","PageCallToActionType","fbglyph"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();var h={SMALL:"16",MEDIUM:"20"};a={get:function(a,c){__p&&__p();c===void 0&&(c=h.SMALL);switch(a){case b("PageCallToActionType").BOOK_APPOINTMENT:return c===h.MEDIUM?g("142071"):g("122846");case b("PageCallToActionType").BOOK_NOW:return c===h.MEDIUM?g("141741"):g("122516");case b("PageCallToActionType").BUY_TICKETS:return c===h.MEDIUM?g("142887"):g("123662");case b("PageCallToActionType").CALL_NOW:return c===h.MEDIUM?g("142589"):g("123364");case b("PageCallToActionType").CONTACT_US:return c===h.MEDIUM?g("142068"):g("122843");case b("PageCallToActionType").DONATE_NOW:return c===h.MEDIUM?g("142329"):g("123104");case b("PageCallToActionType").EMAIL:return c===h.MEDIUM?g("142068"):g("122843");case b("PageCallToActionType").GET_DIRECTIONS:return c===h.MEDIUM?g("142032"):g("122807");case b("PageCallToActionType").GET_OFFER:return c===h.MEDIUM?g("142537"):g("123312");case b("PageCallToActionType").GET_EVENT_TICKETS:return c===h.MEDIUM?g("142887"):g("123662");case b("PageCallToActionType").LEARN_MORE:return c===h.MEDIUM?g("142362"):g("123137");case b("PageCallToActionType").LISTEN:return c===h.MEDIUM?g("142506"):g("123281");case b("PageCallToActionType").MAKE_RESERVATION:return c===h.MEDIUM?g("141741"):g("122516");case b("PageCallToActionType").MESSAGE:return c===h.MEDIUM?g("142472"):g("123247");case b("PageCallToActionType").OPEN_APP:return c===h.MEDIUM?g("141517"):g("122292");case b("PageCallToActionType").ORDER_NOW:return c===h.MEDIUM?g("142172"):g("122947");case b("PageCallToActionType").PLAY_MUSIC:return c===h.MEDIUM?g("142506"):g("123281");case b("PageCallToActionType").PLAY_NOW:return c===h.MEDIUM?g("142246"):g("123021");case b("PageCallToActionType").REQUEST_QUOTE:return c===h.MEDIUM?g("142670"):g("123445");case b("PageCallToActionType").REQUEST_APPOINTMENT:return c===h.MEDIUM?g("141741"):g("122516");case b("PageCallToActionType").SHOP_NOW:return c===h.MEDIUM?g("142794"):g("123569");case b("PageCallToActionType").SIGN_UP:return c===h.MEDIUM?g("142575"):g("123350");case b("PageCallToActionType").WATCH_NOW:return c===h.MEDIUM?g("142967"):g("123742")}return null}};e.exports=a}),null);
  __d("RelayViewerHandler",["relay-runtime/handlers/viewer/RelayViewerHandler"],(function(a,b,c,d,e,f){"use strict";e.exports=b("relay-runtime/handlers/viewer/RelayViewerHandler")}),null);
  __d("XPagesManagerInsightsController",["XController"],(function(a,b,c,d,e,f){e.exports=b("XController").create("/{page_token}/insights/",{page_token:{type:"String",required:!0},business_id:{type:"Int"},event_id:{type:"FBID"},section:{type:"String"},referrer:{type:"String"},campaign_group_id:{type:"Int"},acontext:{type:"String"},coupon_offer:{type:"Int"},coupon_product:{type:"String"},initial_tab:{type:"String"},bc_auto_shown_tagged_post_id:{type:"FBID"}})}),null);
  __d("XPagesManagerSettingsController",["XController"],(function(a,b,c,d,e,f){e.exports=b("XController").create("/{page_token}/settings/",{page_token:{type:"String",required:!0},business_id:{type:"Int"},edited:{type:"String"},section:{type:"String"},tab:{type:"String"},change_admin_action:{type:"String"},change_admin_uid:{type:"Int"},tbid:{type:"Int"},fid:{type:"Int"},item_id:{type:"Int"},ref:{type:"String"},q:{type:"String"},promote_plugin_tab:{type:"Enum",enumType:1},active_section:{type:"String"},on_load_actions:{type:"StringVector"},partner_id:{type:"Int"},enable:{type:"Enum",enumType:1},creator_request_id:{type:"Int"},show_cc_dialog:{type:"Bool",defaultValue:!1}})}),null);
  __d("XSavedForLaterDashboardController",["XController"],(function(a,b,c,d,e,f){e.exports=b("XController").create("/saved/",{collection_token:{type:"String"},tag_filter:{type:"String"},cref:{type:"Int"},suggestion_dialog:{type:"Int"},cursor:{type:"String"},notif_id:{type:"Int"},dashboard_section:{type:"Enum",enumType:1},cref_name:{type:"String"},a_type:{type:"String"},search_token:{type:"String"},list_id:{type:"Int"},tab:{type:"Enum",enumType:1},unlisted_only:{type:"Bool",defaultValue:!1},seen_state_filter:{type:"Enum",enumType:0}})}),null);