;/*FB_PKG_DELIM*/ __d("ARIA",["DOM","emptyFunction","ge","getOrCreateDOMID","joinClasses"],(function(t,n,r,o,a,i,l){var e,s,u=function(){e=r("ge")("ariaAssertiveAlert"),e||(e=r("DOM").create("div",{id:"ariaAssertiveAlert",className:r("joinClasses")("accessible_elem","accessible_elem_offset"),"aria-live":"assertive"}),r("DOM").appendContent(document.body,e)),s=r("ge")("ariaPoliteAlert"),s||(s=e.cloneNode(!1),s.setAttribute("id","ariaPoliteAlert"),s.setAttribute("aria-live","polite"),r("DOM").appendContent(document.body,s)),u=r("emptyFunction")};function c(t,n){u();var o=n?e:s;r("DOM").setContent(o,t)}function d(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o1?t-1:0),o=1;o5&&(a=o.slice(0,-1)+(", "+a)),a}function h(e,t){var n,r=(e==null||(n=e.style)==null?void 0:n.animation)||"",o=r.split(","),a=o.findIndex(function(e){return e.indexOf(t)>-1});return a!==-1&&o.splice(a,1),o.join(",")}var y={show:function(r,o){o===void 0&&(o={});var t=o.duration!=null?o.duration/1e3:.3;f(r,e),f(r,u),n("cr:6108").removeClass(r,o.invisible?"invisible_elem":"hidden_elem"),n("requestAnimationFrameAcrossTransitions")(function(){r.style.animation=g(r,t,m)});var a=n("cr:5662").listen(r,"animationend",function(){o.callback&&o.callback(),r.style.animation=h(r,m)}),i={cancel:function(){r.style.animation=h(r,m),a.remove(),i.cancel=function(){}}};return n("cr:6669").set(r,u,i),i},hide:function(r,o){o===void 0&&(o={});var t=function(){n("cr:6108").addClass(r,o.invisible?"invisible_elem":"hidden_elem"),o.callback&&o.callback(),r.style.animation=h(r,d)};if(o.simple)return t(),_;var a=o.duration!=null?o.duration/1e3:.3;f(r,u),f(r,e),n("requestAnimationFrameAcrossTransitions")(function(){r.style.animation=g(r,a,d)});var i=n("cr:5662").listen(r,"animationend",t),l={cancel:function(){r.style.animation=h(r,d),i.remove(),l.cancel=function(){}}};return n("cr:6669").set(r,e,l),l}},C={show:function(r,o){o===void 0&&(o={});var t=o.duration!=null?o.duration:300;f(r,e),f(r,u),n("cr:6108").removeClass(r,o.invisible?"invisible_elem":"hidden_elem"),n("Style").set(r,"opacity","1");var a=o.peekStateFade?"0.6":"0",i=r.animate([{opacity:a},{opacity:"1.0"}],{duration:t});return o.callback&&(i.onfinish=o.callback),n("cr:6669").set(r,u,i),i},hide:function(r,o){o===void 0&&(o={});var t=o.duration!=null?o.duration:300;if(f(r,u),o.simple===!0)return n("cr:6108").addClass(r,o.invisible?"invisible_elem":"hidden_elem"),_;f(r,e),n("Style").set(r,"opacity","0");var a=o.peekStateFade?"0.4":"0",i=r.animate([{opacity:"1.0"},{opacity:a}],{duration:t});return i.onfinish=function(){n("cr:6108").addClass(r,o.invisible?"invisible_elem":"hidden_elem"),o.callback&&o.callback()},n("cr:6669").set(r,e,i),i}};a.exports=p?C:y}),null); __d("CenteredContainer.react",["cx","joinClasses","react"],(function(t,n,r,o,a,i,l,s){var e=["fullHeight","horizontal","vertical"],u,c=u||(u=o("react")),d=(function(t){function n(){return t.apply(this,arguments)||this}babelHelpers.inheritsLoose(n,t);var o=n.prototype;return o.render=function(){var t=this.props,n=t.fullHeight,o=t.horizontal,a=t.vertical,i=babelHelpers.objectWithoutPropertiesLoose(t,e),l=(a?"_3bwv":"")+(o?" _3bww":""),s=c.Children.map(this.props.children,function(e){return c.jsx("div",{className:"_3bwx",children:e})}),u=r("joinClasses")(this.props.className,n?"_5bpf":"");return c.jsx("div",babelHelpers.extends({},i,{className:u,children:c.jsx("div",{className:l,children:c.jsx("div",{className:"_3bwy",children:s})})}))},n})(c.Component);d.defaultProps={fullHeight:!1,vertical:!1,horizontal:!0},l.default=d}),98); __d("ClickableArea.react",["Focus","ReactDOM_DEPRECATED","react"],(function(t,n,r,o,a,i,l){var e=["children","onClick"],s,u=s||(s=o("react")),c=(function(t){function n(){return t.apply(this,arguments)||this}babelHelpers.inheritsLoose(n,t);var r=n.prototype;return r.componentDidMount=function(){if(this.props.buttonRef){var e=this.props.buttonRef();o("Focus").relocate(o("ReactDOM_DEPRECATED").findDOMNode_DEPRECATED(e),o("ReactDOM_DEPRECATED").findDOMNode_DEPRECATED(this))}},r.render=function(){var t=this.props,n=t.children,r=t.onClick,o=babelHelpers.objectWithoutPropertiesLoose(t,e);return u.cloneElement(u.Children.only(n),babelHelpers.extends({},o,{onClick:r}))},n})(u.Component);l.default=c}),98); __d("CometAltpayJsSdkIframeAllowedDomainsJSModuleWrapper",["CometAltpayJsSdkIframeAllowedDomains"],(function(t,n,r,o,a,i,l){"use strict";l.default=r("CometAltpayJsSdkIframeAllowedDomains")}),98); __d("CometHeroInteractionContext",["hero-tracing-placeholder"],(function(t,n,r,o,a,i,l){"use strict";l.default=o("hero-tracing-placeholder").HeroInteractionContext}),98); __d("CometRouterRouteTracePolicyContext",["react"],(function(t,n,r,o,a,i,l){"use strict";var e,s=e||(e=o("react")),u=s.createContext();l.default=u}),98); __d("CometTextTypography",["UserAgent"],(function(t,n,r,o,a,i,l){"use strict";var e={apple:{MozOsxFontSmoothing:"xlh3980",WebkitFontSmoothing:"xvmahel",fontFamily:"x1n0sxbx",$$css:!0},default:{fontFamily:"x10flsy6",$$css:!0},segoe:{fontFamily:"x1xmvt09",$$css:!0}},s={body1:{fontFamily:e.default,fontSize:20,fontWeight:"normal",lineHeight:24,offsets:[4,5]},body2:{fontFamily:e.default,fontSize:17,fontWeight:"normal",lineHeight:20,offsets:[3,5]},body3:{fontFamily:e.default,fontSize:15,fontWeight:"normal",lineHeight:20,offsets:[4,5]},body4:{fontFamily:e.default,fontSize:13,fontWeight:"normal",lineHeight:16,offsets:[3,4]},bodyLink1:{fontFamily:e.default,fontSize:20,fontWeight:"semibold",lineHeight:24,offsets:[4,5]},bodyLink2:{fontFamily:e.default,fontSize:17,fontWeight:"semibold",lineHeight:20,offsets:[3,5]},bodyLink3:{fontFamily:e.default,fontSize:15,fontWeight:"semibold",lineHeight:20,offsets:[4,5]},bodyLink4:{fontFamily:e.default,fontSize:13,fontWeight:"semibold",lineHeight:16,offsets:[3,4]},button1:{fontFamily:e.default,fontSize:17,fontWeight:"semibold",lineHeight:20,offsets:[3,5]},button2:{fontFamily:e.default,fontSize:15,fontWeight:"semibold",lineHeight:20,offsets:[4,5]},entityHeaderHeadline1:{fontFamily:e.default,fontSize:32,fontWeight:"bold",lineHeight:38,offsets:[7,8]},entityHeaderHeadline2:{fontFamily:e.default,fontSize:28,fontWeight:"bold",lineHeight:32,offsets:[5,7]},entityHeaderMeta1:{defaultColor:"secondary",fontFamily:e.default,fontSize:15,fontWeight:"bold",lineHeight:20,offsets:[4,5]},entityHeaderMeta2:{defaultColor:"secondary",fontFamily:e.default,fontSize:15,fontWeight:"bold",lineHeight:20,offsets:[4,5]},headline3:{fontFamily:e.default,fontSize:17,fontWeight:"medium",lineHeight:20,offsets:[3,5]},headline4:{fontFamily:e.default,fontSize:15,fontWeight:"medium",lineHeight:20,offsets:[4,5]},headlineDeemphasized3:{fontFamily:e.default,fontSize:17,fontWeight:"normal",lineHeight:20,offsets:[3,5]},headlineDeemphasized4:{fontFamily:e.default,fontSize:15,fontWeight:"normal",lineHeight:20,offsets:[4,5]},headlineEmphasized1:{fontFamily:e.default,fontSize:24,fontWeight:"bold",lineHeight:28,offsets:[5,6]},headlineEmphasized2:{fontFamily:e.default,fontSize:20,fontWeight:"bold",lineHeight:24,offsets:[4,5]},headlineEmphasized3:{fontFamily:e.default,fontSize:17,fontWeight:"semibold",lineHeight:20,offsets:[3,4]},headlineEmphasized4:{fontFamily:e.default,fontSize:15,fontWeight:"semibold",lineHeight:20,offsets:[4,5]},meta1:{defaultColor:"secondary",fontFamily:e.default,fontSize:13,fontWeight:"semibold",lineHeight:16,offsets:[3,4]},meta2:{defaultColor:"secondary",fontFamily:e.default,fontSize:13,fontWeight:"semibold",lineHeight:16,offsets:[3,4]},meta3:{defaultColor:"secondary",fontFamily:e.default,fontSize:13,fontWeight:"normal",lineHeight:16,offsets:[3,4]},meta4:{defaultColor:"secondary",fontFamily:e.default,fontSize:12,fontWeight:"normal",lineHeight:16,offsets:[3,4]}},u=[["body1",[5,5]],["body2",[4,4]],["body3",[4,4]],["body4",[4,3]],["bodyLink1",[5,5]],["bodyLink2",[4,4]],["bodyLink3",[4,4]],["bodyLink4",[4,3]],["button1",[4,4]],["button2",[4,4]],["entityHeaderHeadline1",[8,7]],["entityHeaderHeadline2",[6,6]],["entityHeaderMeta1",[4,4]],["entityHeaderMeta2",[4,4]],["headline3",[4,4]],["headline4",[4,4]],["headlineDeemphasized3",[4,4]],["headlineDeemphasized4",[4,4]],["headlineEmphasized1",[6,5]],["headlineEmphasized2",[5,5]],["headlineEmphasized3",[4,4]],["headlineEmphasized4",[4,4]],["meta1",[4,3]],["meta2",[4,3]],["meta3",[4,3]],["meta4",[3,3]]],c=[["body1",[5,5]],["body2",[4,4]],["body3",[5,4]],["body4",[4,3]],["bodyLink1",[6,4]],["bodyLink2",[4,3]],["bodyLink3",[5,4]],["bodyLink4",[4,3]],["button1",[4,3]],["button2",[5,4]],["entityHeaderHeadline1",[8,7]],["entityHeaderHeadline2",[7,5]],["entityHeaderMeta1",[5,4]],["entityHeaderMeta2",[5,4]],["headline3",[5,3]],["headline4",[5,4]],["headlineDeemphasized3",[5,3]],["headlineDeemphasized4",[5,4]],["headlineEmphasized1",[6,5]],["headlineEmphasized2",[6,4]],["headlineEmphasized3",[4,3]],["headlineEmphasized4",[5,4]],["meta1",[4,3]],["meta2",[4,3]],["meta3",[4,3]],["meta4",[4,3]]],d=[["body1",[6,4,1]],["body2",[5,3,1]],["body3",[5,4]],["body4",[4,3,1]],["bodyLink1",[6,4,1]],["bodyLink2",[5,3,1]],["bodyLink3",[5,4]],["bodyLink4",[4,3,1]],["button1",[5,3,1]],["button2",[5,4]],["entityHeaderHeadline1",[10,6,2]],["entityHeaderHeadline2",[8,5,3]],["entityHeaderMeta1",[5,4,1]],["entityHeaderMeta2",[5,4,1]],["headline3",[5,3,1]],["headline4",[5,4]],["headlineDeemphasized3",[5,3,1]],["headlineDeemphasized4",[5,4]],["headlineEmphasized1",[7,4,2]],["headlineEmphasized2",[6,4,2]],["headlineEmphasized3",[5,3,1]],["headlineEmphasized4",[5,4]],["meta1",[4,3,1]],["meta2",[4,3,1]],["meta3",[4,3,1]],["meta4",[4,3]]];function m(){return r("UserAgent").isPlatform("Windows >= 6")?{fontFamily:e.segoe,offsets:d}:r("UserAgent").isPlatform("Mac OS X >= 10.11")&&!r("UserAgent").isBrowser("Firefox < 55")||r("UserAgent").isPlatform("iOS >= 9")?{fontFamily:e.apple,offsets:r("UserAgent").isEngine("Gecko")?c:u}:null}function p(){var e=babelHelpers.extends({},s),t=m();if(t!=null){var n=t.fontFamily,r=t.offsets,o=new Map(r);o.forEach(function(t,r){e[r]=babelHelpers.extends({},e[r],{fontFamily:n,offsets:t})})}return e}var _=p();l.default=_}),98); __d("ContextualLayerAlignmentEnum",["keyMirror","objectValues","prop-types"],(function(t,n,r,o,a,i,l){"use strict";var e=r("keyMirror")({left:null,center:null,right:null}),s=r("objectValues")(e),u=r("prop-types").oneOf(s),c=babelHelpers.extends({},e,{values:s,propType:u});l.default=c}),98); __d("ContextualLayerPositionEnum",["keyMirror","objectValues","prop-types"],(function(t,n,r,o,a,i,l){"use strict";var e=r("keyMirror")({above:null,below:null,left:null,right:null}),s=r("objectValues")(e),u=r("prop-types").oneOf(s),c=babelHelpers.extends({},e,{values:s,propType:u});l.default=c}),98); __d("ContextualLayerOrientation",["ContextualLayerAlignmentEnum","ContextualLayerPositionEnum","emptyFunction","err","gkx"],(function(t,n,r,o,a,i,l){"use strict";var e={above:"below",below:"above",left:"right",right:"left"},s=r("gkx")("17507"),u=(function(){function t(){this.$1={$2:"left",$3:0,$4:0,$5:0,$6:"above",$7:s,$8:!0},this.$9=this.$1.$2,this.$10=this.$1.$3,this.$11=this.$1.$4,this.$12=this.$1.$5,this.$13=this.$1.$6,this.$14=this.$1.$7,this.$15=this.$1.$8}var n=t.prototype;return n.setPosition=function(t){return this.$13=c(t),this},n.setAlignment=function(t){return this.$9=d(t),this},n.getOppositePosition=function(){return e[this.getPosition()]},n.invalidate=function(){return this.$15=!1,this},n.getPosition=function(){return this.$13||"above"},n.getAlignment=function(){return this.$9||"left"},n.getOffsetX=function(){var e=this.$11||0;return this.isVertical()?this.$1.$2!==this.$9&&(e*=-1):this.$1.$6!==this.$13&&(e*=-1),e},n.getOffsetY=function(){var e=this.$12||0;return this.isVertical()&&this.$1.$6!==this.$13&&(e*=-1),e},n.getClassName=function(){var e=this.getAlignment(),t=this.getPosition();return t==="below"?e==="left"?"uiContextualLayerBelowLeft":e==="right"?"uiContextualLayerBelowRight":"uiContextualLayerBelowCenter":t==="above"?e==="left"?"uiContextualLayerAboveLeft":e==="right"?"uiContextualLayerAboveRight":"uiContextualLayerAboveCenter":t==="left"?"uiContextualLayerLeft":"uiContextualLayerRight"},n.isValid=function(){return this.$15},n.isVertical=function(){return this.getPosition()==="above"||this.getPosition()==="below"},n.reset=function(){return this.$9=this.$1.$2,this.$10=this.$1.$3,this.$11=this.$1.$4,this.$12=this.$1.$5,this.$13=this.$1.$6,this.$14=this.$1.$7,this.$15=this.$1.$8,this},n.setDefaultPosition=function(t){var e=this.$1.$6;return this.$1.$6=c(t),e!==t},n.setDefaultAlignment=function(t){var e=this.$1.$2;return this.$1.$2=d(t),e!==t},n.setDefaultOffsetX=function(t){var e=this.$1.$4;return this.$1.$4=t,e!==t},n.setArrowOffset=function(t){var e=this.$1.$3;return this.$1.$3=t,e!==t},n.getArrowOffset=function(){return this.$1.$3||0},n.setDefaultOffsetY=function(t){var e=this.$1.$5;return this.$1.$5=t,e!==t},n.setPreferMoreContentShownRect=function(t){var e=this.$1.$7;return this.$1.$7=t,e!==t},n.getPreferMoreContentShownRect=function(){return this.$1.$7},t})(),c=r("emptyFunction").thatReturnsArgument,d=r("emptyFunction").thatReturnsArgument;l.default=u}),98); __d("getUnboundedScrollPosition",["Scroll"],(function(t,n,r,o,a,i){"use strict";function e(e){if(e===window){var t,r;return{x:(t=window.pageXOffset)!=null?t:n("Scroll").getLeft(document.documentElement),y:(r=window.pageYOffset)!=null?r:n("Scroll").getTop(document.documentElement)}}return{x:n("Scroll").getLeft(e),y:n("Scroll").getTop(e)}}a.exports=e}),null); __d("DOMVector",["BasicVector","getDocumentScrollElement","getElementPosition","getUnboundedScrollPosition","getViewportDimensions"],(function(t,n,r,o,a,i,l){var e=(function(e){function t(t,n,r){var o;return o=e.call(this,t,n)||this,o.domain=r||"pure",o}babelHelpers.inheritsLoose(t,e);var n=t.prototype;return n.derive=function(n,r,o){return new t(n,r,o||this.domain)},n.add=function(r,o){return r instanceof t&&r.getDomain()!=="pure"&&(r=r.convertTo(this.domain)),e.prototype.add.call(this,r,o)},n.convertTo=function(n){if(n!="pure"&&n!="viewport"&&n!="document")return this.derive(0,0);if(n==this.domain)return this.derive(this.x,this.y,this.domain);if(n=="pure")return this.derive(this.x,this.y);if(this.domain=="pure")return this.derive(0,0);var e=t.getScrollPosition("document"),r=this.x,o=this.y;return this.domain=="document"?(r-=e.x,o-=e.y):(r+=e.x,o+=e.y),this.derive(r,o,n)},n.getDomain=function(){return this.domain},t.from=function(n,r,o){return new t(n,r,o)},t.getScrollPosition=function(t){t=t||"document";var e=r("getUnboundedScrollPosition")(window);return this.from(e.x,e.y,"document").convertTo(t)},t.getElementPosition=function(t,n){n=n||"document";var e=r("getElementPosition")(t);return this.from(e.x,e.y,"viewport").convertTo(n)},t.getElementDimensions=function(t){return this.from(t.offsetWidth||0,t.offsetHeight||0)},t.getViewportDimensions=function(){var e=r("getViewportDimensions")();return this.from(e.width,e.height,"viewport")},t.getLayoutViewportDimensions=function(){var e=r("getViewportDimensions").layout();return this.from(e.width,e.height,"viewport")},t.getViewportWithoutScrollbarDimensions=function(){var e=r("getViewportDimensions").withoutScrollbars();return this.from(e.width,e.height,"viewport")},t.getDocumentDimensions=function(t){var e=r("getDocumentScrollElement")(t);return this.from(e.scrollWidth,e.scrollHeight,"document")},t})(r("BasicVector"));l.default=e}),98); __d("Vector",["DOMEvent","DOMVector","Scroll","getDocumentScrollElement"],(function(t,n,r,o,a,i,l){var e=(function(e){function t(t,n,r){return e.call(this,parseFloat(t),parseFloat(n),r)||this}babelHelpers.inheritsLoose(t,e);var n=t.prototype;return n.derive=function(n,r,o){return new t(n,r,o||this.domain)},n.setElementPosition=function(t){var e=this.convertTo("document");return t.style.left=parseInt(e.x,10)+"px",t.style.top=parseInt(e.y,10)+"px",this},n.setElementDimensions=function(t){return this.setElementWidth(t).setElementHeight(t)},n.setElementWidth=function(t){return t.style.width=parseInt(this.x,10)+"px",this},n.setElementHeight=function(t){return t.style.height=parseInt(this.y,10)+"px",this},n.scrollElementBy=function(t){if(t==document.body)window.scrollBy(this.x,this.y);else{var e;(e=o("Scroll")).setLeft(t,e.getLeft(t)+this.x),e.setTop(t,e.getTop(t)+this.y)}return this},t.from=function(n,r,o){return new t(n,r,o)},t.getEventPosition=function(t,n){n===void 0&&(n="document");var e=new(r("DOMEvent"))(t).event,a=r("getDocumentScrollElement")(),i=e.clientX+o("Scroll").getLeft(a),l=e.clientY+o("Scroll").getTop(a),s=this.from(i,l,"document");return s.convertTo(n)},t.getTouchEventPosition=function(t,n){n===void 0&&(n="document");var e=t.touches[0],r=this.from(e.pageX,e.pageY,"document");return r.convertTo(n)},t.deserialize=function(t){var e=t.split(",");return this.from(e[0],e[1])},t})(r("DOMVector"));l.default=e}),98); __d("Rect",["invariant","$","Vector","react","vulture"],(function(t,n,r,o,a,i,l,s){var e,u=e||(e=o("react")),c=(function(){function e(t,n,o,a,i){return arguments.length===1?t instanceof e?t:t instanceof r("Vector")?new e(t.y,t.x,t.y,t.x,t.domain):(typeof t=="string"&&(t=r("$")(t)),e.getElementBounds(t)):(typeof t=="number"&&typeof n=="number"&&typeof o=="number"&&typeof a=="number"&&(!i||typeof i=="string")||s(0,1087),Object.assign(this,{t:t,r:n,b:o,l:a,domain:i||"pure"}),this)}var t=e.prototype;return t.w=function(){return this.r-this.l},t.h=function(){return this.b-this.t},t.getWidth=function(){return this.w()},t.getHeight=function(){return this.h()},t.toString=function(){return"(("+this.l+", "+this.t+"), ("+this.r+", "+this.b+"))"},t.contains=function(n){n=new e(n).convertTo(this.domain);var t=this;return t.l<=n.l&&t.r>=n.r&&t.t<=n.t&&t.b>=n.b},t.intersection=function(n){r("vulture")("-okNV-VjjAXl100qGSihEqDI6Ps=");var t=n.convertTo(this.domain),o=Math.min(this.b,t.getBottom()),a=Math.max(this.l,t.getLeft()),i=Math.min(this.r,t.getRight()),l=Math.max(this.t,t.getTop());return o>l&&i>a?new e(l,i,o,a):null},t.isEqualTo=function(t){return this.t===t.t&&this.r===t.r&&this.b===t.b&&this.l===t.l&&this.domain===t.domain},t.add=function(n,o){if(arguments.length===1)return n instanceof e&&n.domain!="pure"&&(n=n.convertTo(this.domain)),n instanceof r("Vector")?this.add(n.x,n.y):this;var t=parseFloat(n),a=parseFloat(o);return new e(this.t+a,this.r+t,this.b+a,this.l+t,this.domain)},t.sub=function(t,n){return arguments.length===1&&t instanceof r("Vector")?this.add(t.mul(-1)):typeof t=="number"&&typeof n=="number"?this.add(-t,-n):this},t.rotateAroundOrigin=function(n){var t=this.getCenter().rotate(n*Math.PI/2),r=0,o=0;n%2?(r=this.h(),o=this.w()):(r=this.w(),o=this.h());var a=t.y-o/2,i=t.x-r/2,l=a+o,s=i+r;return new e(a,s,l,i,this.domain)},t.boundWithin=function(t){var e=0,n=0;return this.lt.r&&(e=t.r-this.r),this.tt.b&&(n=t.b-this.b),this.add(e,n)},t.getCenter=function(){return new(r("Vector"))(this.l+this.w()/2,this.t+this.h()/2,this.domain)},t.getTop=function(){return this.t},t.getRight=function(){return this.r},t.getBottom=function(){return this.b},t.getLeft=function(){return this.l},t.getArea=function(){return(this.b-this.t)*(this.r-this.l)},t.getPositionVector=function(){return new(r("Vector"))(this.l,this.t,this.domain)},t.getDimensionVector=function(){return new(r("Vector"))(this.w(),this.h(),"pure")},t.convertTo=function(n){if(this.domain==n)return this;if(n=="pure")return new e(this.t,this.r,this.b,this.l,"pure");if(this.domain=="pure")return new e(0,0,0,0);var t=new(r("Vector"))(this.l,this.t,this.domain).convertTo(n);return new e(t.y,t.x+this.w(),t.y+this.h(),t.x,n)},e.deserialize=function(n){var t=n.split(":");return new e(parseFloat(t[1]),parseFloat(t[2]),parseFloat(t[3]),parseFloat(t[0]))},e.newFromVectors=function(n,r){return new e(n.y,n.x+r.x,n.y+r.y,n.x,n.domain)},e.getElementBounds=function(n){return e.newFromVectors(r("Vector").getElementPosition(n),r("Vector").getElementDimensions(n))},e.getViewportBounds=function(){return e.newFromVectors(r("Vector").getScrollPosition(),r("Vector").getViewportDimensions())},e.getViewportWithoutScrollbarsBounds=function(){return e.newFromVectors(r("Vector").getScrollPosition(),r("Vector").getViewportWithoutScrollbarDimensions())},e.minimumBoundingBox=function(n){for(var t=new e(1/0,-1/0,-1/0,1/0),r,o=0;o=0;c--){var d=u[c];if(i===!0||r("Style").get(d,"position")!="static"){var m=parseInt(r("Style").get(d,"z-index"),10);if(!isNaN(m))return m}}return 0}l.default=e}),98); __d("getOwnObjectValues",[],(function(t,n,r,o,a,i){function e(e){return Object.keys(e).map(function(t){return e[t]})}i.default=e}),66); __d("ContextualLayer",["ARIA","Arbiter","Bootloader","CSS","CometVisualCompletionAttributes","ContextualLayerOrientation","ContextualThing","DOM","DataStore","Event","Layer","Locale","Parent","Rect","SVGChecker","Scroll","Style","Vector","containsNode","cr:971473","debounce","getOffsetParent","getOrCreateDOMID","getOverlayZIndex","getOwnObjectValues","gkx","isElementNode","removeFromArray","throttle"],(function(t,n,r,o,a,i){function e(e){return e.getPosition()==="left"||e.isVertical()&&e.getAlignment()==="right"}var l=(function(t){"use strict";function r(){return t.apply(this,arguments)||this}babelHelpers.inheritsLoose(r,t);var o=r.prototype;return o._configure=function(n,r){n.dialogRole!=="dialog"&&(this._dialogRole=n.dialogRole),n.shouldSetARIAProperties===!1&&(this._shouldSetARIAProperties=n.shouldSetARIAProperties),n.label&&(this._label=n.label),n.labelledBy&&(this._labelledBy=n.labelledBy),t.prototype._configure.call(this,n,r),n.context?this.setContext(n.context):n.contextID?this._setContextID(n.contextID):n.contextSelector&&(this._setContextSelector(n.contextSelector),this._setARIAProperties()),this.setPosition(n.position),this.setAlignment(n.alignment),this.setOffsetX(n.offsetX),this.setOffsetY(n.offsetY),this.setArrowDimensions(n.arrowDimensions),this._content=r},o._getDefaultBehaviors=function(){var e=r.getDefaultBehaviorsAsObject();return t.prototype._getDefaultBehaviors.call(this).concat(n("getOwnObjectValues")(e))},o._buildWrapper=function(t,r){return this._contentWrapper=n("DOM").create("div",{className:"uiContextualLayer"},r),this._dialogRole&&this._contentWrapper.setAttribute("role",this._dialogRole),this._labelledBy?this._contentWrapper.setAttribute("aria-labelledby",this._labelledBy):this._label&&this._contentWrapper.setAttribute("aria-label",this._label),this._dialogRole==="alert"&&this._contentWrapper.setAttribute("aria-atomic","true"),n("DOM").create("div",babelHelpers.extends({className:"uiContextualLayerPositioner","data-testid":t["data-testid"]},t.excludeFromHeroVC?n("CometVisualCompletionAttributes").IGNORE:{}),this._contentWrapper)},o.getInsertParent=function(){var e=this._insertParent;if(!e){var r=this.getContext();r&&(e=n("Parent").byClass(r,"uiContextualLayerParent"))}return e||t.prototype.getInsertParent.call(this)},o.setContent=function(t){return this._content=t,n("DOM").setContent(this._contentWrapper,this._content),this._shown&&this._updatePosition(),this},o.setContext=function(t){return this.setContextWithBounds(t,null)},o.setContextWithBounds=function(t,r){if(this._contextNode===t&&r&&this._contextBounds&&r.isEqualTo(this._contextBounds))return this;this._contextNode=t;var e=r&&this._contextBounds&&r.t===this._contextBounds.t&&r.r===this._contextBounds.r&&r.b===this._contextBounds.b&&r.l===this._contextBounds.l;return e?this:(this._contextBounds=r||null,this._contextSelector="#"+n("getOrCreateDOMID")(t),this._contextScrollParent=null,this._shown&&(n("ContextualThing").register(this.getRoot(),this._contextNode),this._updatePosition()),this._setParentSubscription(),this._setARIAProperties(),this)},o.shouldSetARIAProperties=function(t){return this._shouldSetARIAProperties=t,this},o._setARIAProperties=function(){var e=this;return this._shouldSetARIAProperties?(this._dialogRole==="dialog"?n("ARIA").setPopup(this.getCausalElement(),this.getRoot()):this._dialogRole==="region"&&n("Bootloader").loadModules(["ContextualLayerInlineTabOrder"],function(t){e.hasBehavior(t)||e.enableBehavior(t)},"ContextualLayer"),this):this},o._setContextID=function(t){this._contextSelector="#"+t,this._contextNode=null},o._setContextSelector=function(t){this._contextSelector=t,this._contextNode=null},o.getCausalElement=function(){return t.prototype.getCausalElement.call(this)||this.getContext()},o._setParentSubscription=function(){for(var e=this.getContext(),t=null;e!=null&&(t=n("DataStore").get(e,"layer"),!(t&&typeof t=="object"));)e=e.parentNode;t!==this._parentLayer&&(this._parentLayer&&this._parentSubscription&&(this._parentLayer.unsubscribe(this._parentSubscription),this._parentSubscription=null),t&&(this._parentSubscription=t.subscribe("hide",this.hide.bind(this))),this._parentLayer=t)},o.setPosition=function(t){return this.getOrientation().setDefaultPosition(t)&&this._shown&&this._updatePosition(),this},o.setAlignment=function(t){return this.getOrientation().setDefaultAlignment(t)&&this._shown&&this._updatePosition(),this},o.setOffsetX=function(t){return this.getOrientation().setDefaultOffsetX(t)&&this._shown&&this._updatePosition(),this},o.setArrowDimensions=function(t){return t&&this.getOrientation().setArrowOffset(t.offset)&&this._shown&&this._updatePosition(),this},o.setOffsetY=function(t){return this.getOrientation().setDefaultOffsetY(t)&&this._shown&&this._updatePosition(),this},o.getPosition=function(){return this.getOrientation().getPosition()},o.getOrientation=function(){return this._orientation||(this._orientation=new(n("ContextualLayerOrientation"))),this._orientation},o.getContentRoot=function(){return this._contentWrapper},o.getContent=function(){return this._content},o.getContext=function(){var e;return!this._contextNode&&this._contextSelector&&(this._contextNode=n("DOM").find(document,this._contextSelector)),(e=this._contextNode)!=null?e:null},o.getContextBounds=function(t){if(this._contextBounds)return this._contextBounds.convertTo(t);var e=this.getContext();return n("Rect").newFromVectors(n("Vector").getElementPosition(e,t),n("Vector").getElementDimensions(e))},o.getContextScrollParent=function(){return this._contextScrollParent?n("isElementNode")(this._contextScrollParent)&&!n("containsNode")(document.documentElement,this._contextScrollParent)&&(this._contextScrollParent=n("Style").getScrollParent(this.getContext())):this._contextScrollParent=n("Style").getScrollParent(this.getContext()),this._contextScrollParent},o.setInsertParent=function(n){return this._insertScrollParent=null,t.prototype.setInsertParent.call(this,n)},o.getInsertScrollParent=function(){return this._insertScrollParent||(this._insertScrollParent=n("Style").getScrollParent(this.getInsertParent())),this._insertScrollParent},o.show=function(){var e=this;if(this._shown)return this;if(t.prototype.show.call(this),n("Arbiter").inform("contextualLayer/toggle",{show:!0,contentRoot:this.getRoot()}),this._shown){if(!this.getContext())return this;n("ContextualThing").register(this.getRoot(),this.getContext()),s.push(this),this._resizeListener=this._resizeListener||n("Event").listen(window,"resize",n("throttle")(function(){e._shown&&e.updatePosition()}))}return this},o.finishHide=function(){return n("removeFromArray")(s,this),this._resizeListener&&this._resizeListener.remove(),this._resizeListener=null,this._insertScrollParent=null,n("Arbiter").inform("contextualLayer/toggle",{show:!1,contentRoot:this.getRoot()}),t.prototype.finishHide.call(this)},o.isFixed=function(){return n("Style").isFixed(this.getContext())&&!n("Style").isFixed(this.getInsertParent())},o.updatePosition=function(){var t=this.getContext();if(!t)return!1;var r=this.isFixed();if(!r&&!(t.offsetParent||n("SVGChecker").isSVG(t)&&n("SVGChecker").isDisplayed(t)))return!1;var o=this.getRoot();if(o==null||this._contentWrapper==null)return!1;var a=n("Vector").getLayoutViewportDimensions().x;n("Style").set(o,"width",a+"px"),n("gkx")("25981")&&(n("Style").set(o,"left",""),n("Style").set(o,"right",""),n("Style").set(o,"top",""));var i=this.getOrientation();if(this.inform("adjust",i.reset()),!i.isValid())return!1;this._updateWrapperPosition(i),this._updateWrapperClass(i),n("CSS").conditionClass(o,"uiContextualLayerPositionerFixed",r);var l,s,u=r?"viewport":"document",c=r?document.documentElement:n("getOffsetParent")(o);if(r)l=new(n("Vector"))(0,0),s=a;else if(c===document.documentElement)l=new(n("Vector"))(0,0),s=document.documentElement.clientWidth;else if(o.offsetParent)l=n("Vector").getElementPosition(c,u),s=c.offsetWidth,c!==document.body&&(l=l.sub(new(n("Vector"))(n("Scroll").getLeft(c),n("Scroll").getTop(c))));else return!1;var d=this.getContextBounds(u),m=d.l-l.x,p=d.t-l.y,_=d.h(),f=d.w(),g=n("Locale").isRTL();i.getPosition()==="below"&&(p+=_),(i.getPosition()==="right"||i.isVertical()&&i.getAlignment()==="right")!=g&&(m+=f),!i.isVertical()&&i.getAlignment()==="center"&&(p+=d.h()/2-this.getContentRoot().offsetHeight/2);var h=i.getOffsetX();i.isVertical()&&i.getAlignment()==="center"&&(h+=(f-this.getContentRoot().offsetWidth)/2),g&&(h*=-1);var y="left",C=Math.floor(m+h);e(i)!==g&&(y="right",C=s-C),n("Style").set(o,y,C+"px"),n("Style").set(o,y==="left"?"right":"left","");var b=this.getInsertScrollParent(),v,S=0;b!==window?(v=b.clientWidth,S=n("Vector").getElementPosition(b).x):v=document.documentElement.clientWidth;var R=n("Vector").getElementPosition(o).x-S,L=0,E=window.devicePixelRatio!==Math.round(window.devicePixelRatio);L=E?1:0,n("gkx")("25983")&&(L=1),y==="left"&&v-R>0?n("Style").set(o,"width",v-R-L+"px"):y==="right"&&R+o.offsetWidth>0?n("Style").set(o,"width",R+o.offsetWidth-L+"px"):n("Style").set(o,"width",""),n("Style").set(o,"top",p+i.getOffsetY()+"px");var k=n("getOverlayZIndex")(t,this.getInsertParent());return n("Style").set(o,"z-index",k>200?k:""),this.inform("reposition",i),!0},o._updatePosition=function(){var e=this;if(this._debouncedUpdatePosition){this._debouncedUpdatePosition();return}return this._debouncedUpdatePosition=n("debounce")(function(){e._shown&&e.updatePosition(),delete e._debouncedUpdatePosition}),this.updatePosition()},o._updateWrapperPosition=function(r){var t=r.getPosition()==="above";n("Style").set(this._contentWrapper,"bottom",t?"0":null);var o=n("Locale").isRTL()?"left":"right",a=e(r);n("Style").set(this._contentWrapper,o,a?"0":null)},o._updateWrapperClass=function(t){var e=t.getClassName();e!==this._orientationClass&&(this._orientationClass&&n("CSS").removeClass(this._contentWrapper,this._orientationClass),this._orientationClass=e,n("CSS").addClass(this._contentWrapper,e))},o.simulateOrientation=function(t,r){var e=t.getClassName();if(e===this._orientationClass)return r();this._orientationClass&&n("CSS").removeClass(this._contentWrapper,this._orientationClass),n("CSS").addClass(this._contentWrapper,e);var o=r();return n("CSS").removeClass(this._contentWrapper,e),this._orientationClass&&n("CSS").addClass(this._contentWrapper,this._orientationClass),o},o.destroy=function(){return t.prototype.destroy.call(this),this._contentWrapper=null,this._content=null,this},o.getArrowDimensions=function(){return this._config.arrowDimensions||{offset:0,length:0}},r.getDefaultBehaviorsAsObject=function(){return n("cr:971473")==null?{}:{LayerHideOnTransition:n("cr:971473")}},r})(n("Layer")),s=[];n("Arbiter").subscribe("reflow",function(){s.forEach(function(e){e.updatePosition()===!1&&e.hide()})}),Object.assign(l.prototype,{_contentWrapper:null,_content:null,_contextNode:null,_contextBounds:null,_contextSelector:null,_dialogRole:"dialog",_label:null,_labelledBy:[],_parentLayer:null,_parentSubscription:null,_orientation:null,_orientationClass:null,_shouldSetARIAProperties:!0}),a.exports=l}),null); __d("ContextualLayerHideOnScroll",["Event","setTimeout"],(function(t,n,r,o,a,i,l){var e=(function(){function e(e){this._layer=e}var t=e.prototype;return t.enable=function(){var e=this;this._subscriptions=[this._layer.subscribe("contextchange",function(){return e._handleContextChange()}),this._layer.subscribe("show",function(){return e.attach()}),this._layer.subscribe("hide",function(){return e.detach()})]},t.disable=function(){for(;this._subscriptions.length;)this._subscriptions.pop().unsubscribe();this.detach()},t.attach=function(){var e=this;if(!this._listener){var t=this._layer.getContextScrollParent();t!==window&&r("setTimeout")(function(){e._listener=r("Event").listen(t,"scroll",function(){e._layer.hide()})})}},t.detach=function(){this._listener&&this._listener.remove(),this._listener=null},t._handleContextChange=function(){this.detach(),this._layer.isShown()&&this.attach()},e})();Object.assign(e.prototype,{_subscriptions:[]}),l.default=e}),98); __d("ViewportBounds",["Arbiter","ArbiterMixin","BlueBar","ExecutionEnvironment","PageEvents","Vector","emptyFunction","removeFromArray"],(function(t,n,r,o,a,i){var e,l={top:[],right:[],bottom:[],left:[]};function s(e){return function(){return l[e].reduce(function(e,t){return Math.max(e,t.getSize())},0)}}function u(e,t){return function(n){return new c(e,n,t)}}var c=(function(){"use strict";function e(e,t,r){r===void 0&&(r=!1),this.getSide=n("emptyFunction").thatReturns(e),this.getSize=function(){return typeof t=="function"?t():t},this.isPersistent=n("emptyFunction").thatReturns(r),l[e].push(this),d.inform("change")}var t=e.prototype;return t.remove=function(){n("removeFromArray")(l[this.getSide()],this),d.inform("change")},e})();n("Arbiter").subscribe(n("PageEvents").AJAXPIPE_ONUNLOAD,function(){["top","right","bottom","left"].forEach(function(e){for(var t=l[e],n=t.length-1;n>=0;n--){var r=t[n];r.isPersistent()||r.remove()}})});var d=babelHelpers.extends({},n("ArbiterMixin"),{getTop:s("top"),getRight:s("right"),getBottom:s("bottom"),getLeft:s("left"),getElementPosition:function(t){var e=n("Vector").getElementPosition(t);return e.y-=d.getTop(),e},addTop:u("top"),addRight:u("right"),addBottom:u("bottom"),addLeft:u("left"),addPersistentTop:u("top",!0),addPersistentRight:u("right",!0),addPersistentBottom:u("bottom",!0),addPersistentLeft:u("left",!0)});d.addPersistentTop(function(){if((e||(e=n("ExecutionEnvironment"))).canUseDOM&&n("BlueBar").hasFixedBlueBar()){var t=n("BlueBar").getMaybeFixedRoot();return t?t.offsetHeight:0}return 0}),a.exports=d}),null); __d("isAsyncScrollQuery",["UserAgent"],(function(t,n,r,o,a,i,l){var e=null;function s(){return e===null&&(e=r("UserAgent").isPlatform("Mac OS X >= 10.8")&&r("UserAgent").isBrowser("Safari >= 6.0")),e}l.default=s}),98); __d("DOMScroll",["Arbiter","DOM","DOMQuery","Vector","ViewportBounds","emptyFunction","ge","isAsyncScrollQuery","nullthrows","requireDeferred"],(function(t,n,r,o,a,i){var e=n("requireDeferred")("Animation").__setRef("DOMScroll"),l={SCROLL:"dom-scroll",_scrolling:!1,_scrollingFinishedTimeout:null,getScrollState:function(){var e=n("Vector").getViewportDimensions(),t=n("Vector").getDocumentDimensions(),r=t.x>e.x,o=t.y>e.y;return r+=0,o+=0,new(n("Vector"))(r,o)},_scrollbarSize:null,_initScrollbarSize:function(){var e=n("DOM").create("p");e.style.width="100%",e.style.height="200px";var t=n("DOM").create("div");t.style.position="absolute",t.style.top="0px",t.style.left="0px",t.style.visibility="hidden",t.style.width="200px",t.style.height="150px",t.style.overflow="hidden",t.appendChild(e),n("nullthrows")(document.body).appendChild(t);var r=e.offsetWidth;t.style.overflow="scroll";var o=e.offsetWidth;r==o&&(o=t.clientWidth),n("nullthrows")(document.body).removeChild(t),l._scrollbarSize=r-o},getScrollbarSize:function(){return l._scrollbarSize===null&&l._initScrollbarSize(),n("nullthrows")(l._scrollbarSize)},scrollTo:function(r,o,a,i,s,u){var t,c=0;o==null||o===!0?c=750:typeof o=="number"?c=o:parseInt(o,10)&&(c=parseInt(o,10)),n("isAsyncScrollQuery")()&&(c=0);var d;if(r instanceof n("Vector"))d=r;else{var m=n("Vector").getScrollPosition().x,p=n("Vector").getElementPosition(n("ge")(r)).y;d=new(n("Vector"))(m,p,"document"),i||(d.y-=n("ViewportBounds").getTop()/(a?2:1))}if(a?d.y-=n("Vector").getViewportDimensions().y/2:i&&(d.y-=n("Vector").getViewportDimensions().y,d.y+=i),s&&(d.y-=s),d=d.convertTo("document"),c)if("scrollBehavior"in n("nullthrows")(document.documentElement).style&&c===750&&!u)try{window.scrollTo({left:d.x,top:d.y,behavior:"smooth"})}catch(e){window.scrollTo(d.x,d.y)}else{var _=e.getModuleIfRequired();if(_!=null){l._setScrollingForDuration(c);var f=new _(n("nullthrows")(document.body)).to("scrollTop",d.y).to("scrollLeft",d.x).ease(_.ease.end).duration(c).ondone(u).go();t=function(){f.stop()}}else window.scrollTo(d.x,d.y),u&&u()}else window.scrollTo(d.x,d.y),u&&u();return n("Arbiter").inform(l.SCROLL),t||n("emptyFunction")},scrollToID:function(t){l.scrollTo(t)},ensureVisible:function(t,r,o,a,i){var e=n("Vector").getScrollPosition().x,s=l._getBounds(t,r,o),u=s[0],c=s[1],d=s[2],m=s[3];dc?d-(m-c)=o&&s<=a},_getBounds:function(t,r,o){o==null&&(o=10),t=n("ge")(t),r&&(t=n("DOMQuery").find(t,r));var e=n("Vector").getScrollPosition().y,a=e+n("Vector").getViewportDimensions().y,i=n("Vector").getElementPosition(t).y,l=i+n("Vector").getElementDimensions(t).y;return i-=n("ViewportBounds").getTop(),i-=o,l+=o,[e,a,i,l]},scrollToTop:function(t){var e=n("Vector").getScrollPosition();l.scrollTo(new(n("Vector"))(e.x,0,"document"),t!==!1)},currentlyScrolling:function(){return l._scrolling},_setScrollingForDuration:function(t){l._scrolling=!0,l._scrollingFinishedTimeout&&(clearTimeout(l._scrollingFinishedTimeout),l._scrollingFinishedTimeout=null),l._scrollingFinishedTimeout=setTimeout(function(){l._scrolling=!1,l._scrollingFinishedTimeout=null},t)}};a.exports=l}),null); __d("Dispatcher_DEPRECATED",["invariant","FBLogger","monitorCodeUse"],(function(t,n,r,o,a,i,l,s){"use strict";var e="ID_",u=(function(){function t(){this.$1=new Map,this.$2=!1,this.$3=new Map,this.$4=new Map,this.$5=1}var n=t.prototype;return n.register=function(t,n){return n=this.__genID(n),this.$1.set(n,t),n},n.unregister=function(t){this.$1.get(t)||s(0,1331,t),this.$1.delete(t)},n.waitFor=function(t){this.$2||s(0,1332);for(var e=0;e1?n-1:0),a=1;a0&&this.$BasicContainer$p_1.setStores(c),this.setState(function(e){return l(t,e,o,a,t.$BasicContainer$p_4)})}},o.componentDidMount=function(){var t=this;if(e.prototype.componentDidMount&&e.prototype.componentDidMount.call(this),this.$BasicContainer$p_4.isRevoked===!0){var n=this.$BasicContainer$p_3;this.$BasicContainer$p_4=function(){return n==null?void 0:n()},this.$BasicContainer$p_4.isRevoked=!1,this.$BasicContainer$p_4.revoke=function(){t.$BasicContainer$p_4.isRevoked=!0,n=null}}this.$BasicContainer$p_2||(this.$BasicContainer$p_5(this.props,this.context),this.$BasicContainer$p_3(),this.$BasicContainer$p_2=!0)},o.componentWillUnmount=function(){e.prototype.componentWillUnmount&&e.prototype.componentWillUnmount.call(this),this.$BasicContainer$p_1.reset(),this.$BasicContainer$p_2=!1,this.$BasicContainer$p_4.revoke()},o.$BasicContainer$p_5=function(t,n){var e=this,r=s(t,n);r.length>0&&(this.$BasicContainer$p_1.setStores(r),this.$BasicContainer$p_1.addListener(function(){e.setState(function(t,r){return l(e,t,r,n)})}))},t})(e),a=n.pure&&!(e.prototype instanceof c)?p(a):a,o("FluxContainerNameUtils").nameContainer(a,n.name||e.displayName||e.name),a}function p(e){var t=(function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o0){var o=!1,a=r("concatArrays")(n.map(function(e){var t=e&&e.getActionTypes?e.getActionTypes():null;return t==null&&(o=!0),t}).filter(Boolean));o?t=null:t=(e||(e=r("distinctArray")))(t.concat(a))}}this.$1=t}return this.$1},n.getDispatcher=function(){return this.__dispatcher},n.getDispatchToken=function(){return this.$2},n.getDependencyDispatchTokens=function(){return this.$5||(this.$5=this.getDependencyStores().map(function(e){return e&&e.getDispatchToken&&e.getDispatchToken()})),this.$5},n.getDependencyStores=function(){return this.$4||(this.$4=(e||(e=r("distinctArray")))(this.__getDependencyStores())),this.$4},n.addStoreDependency=function(t){var e=this.__dispatcher.registerDependency;e&&e(this.getDispatchToken(),t.getDispatchToken())},n.hasChanged=function(){return this.__dispatcher.isDispatching()||s(0,1147,this.__className),this.__changed},n.__setAsUnchanged=function(){this.__changed=!1},n.__emitChange=function(){this.__dispatcher.isDispatching()||s(0,1148,this.__className),!this.__changed&&(o("FluxStoreInstrumentation").onEmitChange(this.__moduleID!=null?this.__moduleID:"unknown"),this.__changed=!0)},n.__invokeOnDispatch=function(t){this.__changed=!1;var e=r("FluxStoreOnDispatchInstrumentation").hasCallback()?(u||(u=r("performanceAbsoluteNow")))():null;if(this.__onDispatch(t),e!=null){var n;r("FluxStoreOnDispatchInstrumentation").call((n=this.__moduleID)!=null?n:"unknown",(u||(u=r("performanceAbsoluteNow")))()-e)}this.__inform()},n.__inform=function(t){this.$3=this.__changed||this.$3;var e=this.__dispatcher.shouldAllowInforms==null||this.__dispatcher.shouldAllowInforms();e&&this.$3&&(this.$3=!1,this.__emitter.emit(t||this.__changeEvent))},n.__onDispatch=function(t){s(0,1149,this.__className)},n.__getActionTypes=function(){return null},n.__getDependencyStores=function(){return[]},n.__getIDForDispatcher=function(){return this.__className},t})(),m=d,p=d;l.default=p}),98); __d("TypedFluxStore",["FluxStore"],(function(t,n,r,o,a,i,l){"use strict";l.default=r("FluxStore")}),98); __d("abstractMethod",["invariant"],(function(t,n,r,o,a,i,l,s){"use strict";function e(e,t){s(0,1537,e,t)}l.default=e}),98); __d("FluxReduceStore",["invariant","AdsCanvasElementUpdateDataActionFlux","AdsMessengerPACreationStateQuestionItemsActionFlux","AdsUEditorAdgroupSetSAOffOptinStatusActionFlux","TypedFluxStore","abstractMethod","cr:10110","cr:10217","cr:27641","cr:3817","gkx","react"],(function(t,n,r,o,a,i,l,s){"use strict";var e,u=(e||(e=o("react"))).startTransition,c=(function(e){function t(t){var n;return n=e.call(this,t)||this,n.$FluxReduceStore$p_1=n.getInitialState(),n}babelHelpers.inheritsLoose(t,e);var a=t.prototype;return a.getState=function(){return this.$FluxReduceStore$p_1},a.getInitialState=function(){return r("abstractMethod")("FluxReduceStore","getInitialState")},a.reduce=function(t,n){return r("abstractMethod")("FluxReduceStore","reduce")},a.areEqual=function(t,n){return t===n},a.__invokeOnDispatch=function(t,a){a===void 0&&(a=!0);var e=t==null?void 0:t.type,i=r("gkx")("15320"),l=r("gkx")("15714"),s=r("gkx")("19775"),u=i||l||s;if(u&&n("cr:10110")&&e!==o("AdsCanvasElementUpdateDataActionFlux").actionType&&e!==r("AdsMessengerPACreationStateQuestionItemsActionFlux").actionType&&e!==r("AdsUEditorAdgroupSetSAOffOptinStatusActionFlux").actionType){var c=n("cr:10110").getOrNull();if(c!=null&&c.getRoutes().some(function(e){return s&&n("cr:27641")!=null&&e instanceof n("cr:27641")||l&&n("cr:3817")!=null&&e instanceof n("cr:3817")||i&&n("cr:10217")!=null&&e instanceof n("cr:10217")})){this.__invokeOnDispatchWithTransition(t,a);return}}this.__invokeOnDispatchWithoutTransition(t,a)},a.__invokeOnDispatchWithTransition=function(t,n){var e=this;n===void 0&&(n=!0),u(function(){e.__invokeOnDispatchWithoutTransition(t,n)})},a.__invokeOnDispatchWithoutTransition=function(t,n){n===void 0&&(n=!0),this.__changed=!1;var e=this.$FluxReduceStore$p_1,r=this.reduce(e,t);r!==void 0||s(0,2189,this.constructor.name),this.areEqual(e,r)||(this.$FluxReduceStore$p_1=r,this.__emitChange()),n&&this.__inform()},a.__setState=function(t){this.$FluxReduceStore$p_1=t},t})(r("TypedFluxStore"));c.__moduleID=i.id,l.default=c}),98); __d("XReferer",["Base64","Cookie","URI","cr:8958","setTimeoutAcrossTransitions"],(function(t,n,r,o,a,i,l){var e;function s(t,n,o){if(!o){r("Cookie").set("x-referer","");return}t!=null&&(t=c(t)),n!=null&&(n=c(n));var a=window.location.pathname+window.location.search,i=(e||(e=r("URI"))).getRequestURI(),l=i.getSubdomain();n!=null&&u(n,a,l),t!=null&&r("setTimeoutAcrossTransitions")(function(){t!=null&&u(t,a,l)},0)}function u(e,t,o){var a={r:e,h:t,s:o},i=r("Base64").encode(n("cr:8958").stringify(a));r("Cookie").set("x-referer",i)}function c(e){var t=1024;return e&&e.length>t&&(e=e.substring(0,t)+"..."),e}l.update=s,l._setCookie=u,l.truncatePath=c}),98); __d("goOrReplace",["Env","URI","isFacebookURI"],(function(t,n,r,o,a,i,l){var e,s;function u(t,n,o){var a=new(e||(e=r("URI")))(n);(s||(s=r("Env"))).isCQuick&&r("isFacebookURI")(a)&&a.addQueryData({cquick:(s||(s=r("Env"))).iframeKey,cquick_token:s.iframeToken,ctarget:s.iframeTarget});var i=a.toString();o?t.replace(i):t.href==i?t.reload():t.href=i}l.default=u}),98); __d("HistoryManager",["Env","Event","SprinkleConfig","URI","UserAgent_DEPRECATED","XReferer","emptyFunction","goOrReplace","isInIframe","setIntervalAcrossTransitions"],(function(t,n,r,o,a,i){var e,l,s={history:null,current:0,fragment:null,isInitialized:function(){return!!s._initialized},init:function(){if(!(!(e||(e=n("Env"))).ALLOW_TRANSITION_IN_IFRAME&&n("isInIframe")())){if(s._initialized)return s;var t=new(l||(l=n("URI")))(window.location.href),r=t.getFragment()||"";if(r.charAt(0)==="!"&&(r=r.substr(1),t.setFragment(r)),Object.assign(s,{_initialized:!0,fragment:r,orig_fragment:r,history:[t],callbacks:[],lastChanged:Date.now(),canonical:new l("#"),user:0,enabled:!0,debug:n("emptyFunction")}),window.history&&window.history.pushState){this.lastURI=document.URL;var o=new(l||(l=n("URI")))(this.lastURI),a=o.getQueryData();a.__md__=void 0,a.__xts__=void 0,a.fb_dtsg_ag=void 0,a[n("SprinkleConfig").param_name]=void 0,this.lastURI=o.setQueryData(a).toString();try{window.history.state?window.history.replaceState(window.history.state,null,this.lastURI):window.history.replaceState(this.lastURI,null,this.lastURI)}catch(e){if(e.number!==-2147467259)throw e}return n("Event").listen(window,"popstate",function(e){var t=e&&e.state&&typeof e.state=="string";t&&s.lastURI!=e.state&&(s.lastURI=document.URL,s.lastChanged=Date.now(),s.notify(new(l||(l=n("URI")))(e.state).getUnqualifiedURI().toString()))}),(n("UserAgent_DEPRECATED").webkit()<534||n("UserAgent_DEPRECATED").chrome()<=13)&&(n("setIntervalAcrossTransitions")(s.checkURI,42),s._updateRefererURI(this.lastURI)),s}return s._updateRefererURI(l.getRequestURI(!1)),n("UserAgent_DEPRECATED").webkit()<500||n("UserAgent_DEPRECATED").firefox()<2?(s.enabled=!1,s):("onhashchange"in window?n("Event").listen(window,"hashchange",function(){window.setTimeout(s.checkURI.bind(s),0)}):n("setIntervalAcrossTransitions")(s.checkURI,42),s)}},registerURIHandler:function(t){return s.callbacks.push(t),s},setCanonicalLocation:function(t){return s.canonical=new(l||(l=n("URI")))(t),s},notify:function(t){t==s.orig_fragment&&(t=s.canonical.getFragment());for(var e=0;e=0&&s.history[o].getFragment().replace(/%23/g,"#")!=r;--o);++s.user,o>=0?s.go(o-s.current):s.go("#"+r),--s.user}}},_updateRefererURI:function(t){t instanceof(l||(l=n("URI")))&&(t=t.toString()),n("XReferer").update(t,null,!0)},go:function(t,r,o){if(window.history&&window.history.pushState){var e=new(l||(l=n("URI")))(t).removeQueryData(["ref","messaging_source","ajaxpipe_fetch_stream","fb_dtsg_ag",n("SprinkleConfig").param_name]).toString();return s.lastChanged=Date.now(),this.lastURI=e,o?window.history.replaceState(t,null,e):window.history.pushState(t,null,e),n("UserAgent_DEPRECATED").webkit()<534&&s._updateRefererURI(t),!1}if(s.debug("go: "+t),r===void 0&&(r=!0),!s.enabled&&!r)return!1;if(typeof t=="number"){if(!t)return!1;var a=t+s.current,i=Math.max(0,Math.min(s.history.length-1,a));return s.current=i,a=s.history[i].getFragment()||s.orig_fragment,a=new(l||(l=n("URI")))(a).removeQueryData("ref").getUnqualifiedURI().toString(),s.fragment=a,s.lastChanged=Date.now(),s.user||n("goOrReplace")(window.location,window.location.href.split("#")[0]+"#!"+a,o),r&&s.notify(a),s._updateRefererURI(a),!1}t=new(l||(l=n("URI")))(t),t.getDomain()==new(l||(l=n("URI")))(window.location.href).getDomain()&&(t=new(l||(l=n("URI")))("#"+t.getUnqualifiedURI()));var u=s.history[s.current].getFragment(),c=t.getFragment();if(c==u||u==s.orig_fragment&&c==s.canonical.getFragment())return r&&s.notify(c),s._updateRefererURI(c),!1;o&&s.current--;var d=s.history.length-s.current-1;return s.history.splice(s.current+1,d),s.history.push(new l(t)),s.go(1,r,o)},getCurrentFragment:function(){var e=(l||(l=n("URI"))).getRequestURI(!1).getFragment();return e==s.orig_fragment?s.canonical.getFragment():e}};a.exports=s}),null); __d("LeftRight.react",["cx","invariant","joinClasses","react"],(function(t,n,r,o,a,i,l,s,u){"use strict";var e=["root"],c,d=c||(c=o("react")),m=(function(t){function n(){return t.apply(this,arguments)||this}babelHelpers.inheritsLoose(n,t);var o=n.prototype;return o.getChildrenArr=function(){var e=[];return d.Children.forEach(this.props.children,function(t){return e.push(t)}),e},o.render=function(){var t=this.getChildrenArr();t.length===1||t.length===2||u(0,5615);var o=this.props.direction||n.DIRECTION.both,a=o===n.DIRECTION.both,i=a||o===n.DIRECTION.left?"_ohe":"",l=a||o===n.DIRECTION.right?"_ohf":"",s=d.jsx("div",{className:i,children:t[0]},"left"),c=t.length<2?null:d.jsx("div",{className:l,children:t[1]},"right"),m=o===n.DIRECTION.right&&c?[c,s]:[s,c],p=this.props,_=p.root,f=babelHelpers.objectWithoutPropertiesLoose(p,e);return d.jsx("div",babelHelpers.extends({},f,{ref:_,className:r("joinClasses")(this.props.className,"clearfix"),children:m}))},n})(d.Component);m.DIRECTION={left:"left",right:"right",both:"both"},l.default=m}),98); __d("ImageBlock.react",["cx","invariant","DangerouslyAccessReactElementInternals_DO_NOT_USE_IN_NEW_CODE","LeftRight.react","joinClasses","react"],(function(t,n,r,o,a,i,l,s,u){var e=["imageClassName","contentClassName","spacing"],c,d=c||(c=o("react"));function m(e){var t=e.children;return t&&(t.length===2||t.length===3)||u(0,97),t[0]!==null||u(0,98),t}function p(e){return"img _8o"+(e==="small"?" _8r":"")+(e==="medium"?" _8s":"")+(e==="large"?" _8t":"")}var _=(function(t){function n(){return t.apply(this,arguments)||this}babelHelpers.inheritsLoose(n,t);var o=n.prototype;return o.render=function(){var t=m(this.props),n=t[0],o=t[1],a=t[2],i=this.props,l=i.imageClassName,s=i.contentClassName,u=i.spacing,c=babelHelpers.objectWithoutPropertiesLoose(i,e),_=r("DangerouslyAccessReactElementInternals_DO_NOT_USE_IN_NEW_CODE")(n).props,f=_.className,g=_.alt,h=_.tabIndex,y=_.title,C={className:r("joinClasses")(f,p(u),l)};r("DangerouslyAccessReactElementInternals_DO_NOT_USE_IN_NEW_CODE")(n).type==="img"?g===void 0&&(C.alt=""):(r("DangerouslyAccessReactElementInternals_DO_NOT_USE_IN_NEW_CODE")(n).type==="a"||r("DangerouslyAccessReactElementInternals_DO_NOT_USE_IN_NEW_CODE")(n).type==="link")&&h===void 0&&y===void 0&&r("DangerouslyAccessReactElementInternals_DO_NOT_USE_IN_NEW_CODE")(n).props["aria-label"]===void 0&&(C.tabIndex="-1",C["aria-hidden"]="true"),n=d.cloneElement(n,C);var b=!0;this.props.flexibleContent!=null&&(b=this.props.flexibleContent);var v=r("joinClasses")(s,(b?"_42ef":"")+(u==="small"?" _8u":"")),S;return a?S=d.jsxs(r("LeftRight.react"),{className:v,direction:r("LeftRight.react").DIRECTION.right,children:[o,a]}):S=d.jsx("div",{className:v,children:o}),d.jsxs(r("LeftRight.react"),babelHelpers.extends({},c,{direction:r("LeftRight.react").DIRECTION.left,children:[n,S]}))},n})(d.Component);_.defaultProps={spacing:"small"},l.default=_}),98); __d("ImmutableRecordWithV4Types",["immutable"],(function(t,n,r,o,a,i,l){"use strict";l.Record=r("immutable").Record}),98); __d("InlineBlock.react",["cx","joinClasses","react"],(function(t,n,r,o,a,i,l){var e=["alignv","fullWidth","height","rootRef"],s,u=s||(s=n("react")),c={baseline:null,bottom:"_6d",middle:"_6b",top:"_6e"},d=(function(t){"use strict";function r(){return t.apply(this,arguments)||this}babelHelpers.inheritsLoose(r,t);var o=r.prototype;return o.render=function(){var t=this.props,r=t.alignv,o=t.fullWidth,a=t.height,i=t.rootRef,l=babelHelpers.objectWithoutPropertiesLoose(t,e),s=c[r],d="_6a"+(o?" _5u5j":""),m=n("joinClasses")(d,s);if(a!=null){var p=u.jsx("div",{className:n("joinClasses")("_6a",s),style:{height:a+"px"}});return u.jsxs("div",babelHelpers.extends({},l,{ref:i,className:n("joinClasses")(this.props.className,d),height:null,children:[p,u.jsx("div",{className:m,children:this.props.children})]}))}else return u.jsx("div",babelHelpers.extends({},l,{ref:i,className:n("joinClasses")(this.props.className,m),children:this.props.children}))},r})(u.Component);d.defaultProps={alignv:"baseline",fullWidth:!1},a.exports=d}),null); __d("LayerHideSources",[],(function(t,n,r,o,a,i){var e=Object.freeze({BLUR:"blur",ESCAPE:"escape",LAYER_CANCEL_BUTTON:"layerCancelButton",LAYER_HIDE_BUTTON:"layerHideButton",TRANSITION:"transition"}),l=e;i.default=l}),66); __d("LayerHideOnEscape",["CSS","Event","Keys","LayerHideSources"],(function(t,n,r,o,a,i,l){var e=(function(){function e(e){this._layer=e}var t=e.prototype;return t.enable=function(){var e=this;this._subscription=this._layer.subscribe("key",function(t,n){return e.handle(t,n)})},t.disable=function(){this._subscription!=null&&this._subscription.unsubscribe(),this._subscription=null},t.handle=function(t,n){if(r("Event").getKeyCode(n)===r("Keys").ESC&&!o("CSS").hasClass(this._layer.getRoot(),"hidden_elem"))return this._layer.hide(r("LayerHideSources").ESCAPE),!1},e})();Object.assign(e.prototype,{_subscription:null}),l.default=e}),98); __d("LinkController",["DataStore","Event","Parent","removeFromArray","trackReferrer"],(function(t,n,r,o,a,i,l){var e,s="@@LinkController",u=[],c=[];function d(e){return u.push(e),{remove:function(){return r("removeFromArray")(u,e)}}}function m(e){return c.push(e),{remove:function(){return r("removeFromArray")(c,e)}}}function p(e){var t=e.getTarget(),n=o("Parent").byTag(t,"a");if(n instanceof HTMLAnchorElement){var a=f(n);if(!(a==null||a.trim()===""||h(t)||o("DataStore").get(n,s)||a.endsWith("#"))){var i=r("Event").listen(n,"click",function(e){r("trackReferrer")(n,a),!n.rel&&(!n.target||n.target==="_self")&&!g(e)&&_(n,e)});o("DataStore").set(n,s,i)}}}function _(e,t){u.concat(c).every(function(n){return n(e,t)===!1?(t.prevent(),!1):!0})}function f(e){if(e&&!e.rel){var t=e.getAttribute("href");if(t!=null){var n=t.match(/^(\w+):/);if(!n||n[1].match(/^http/i))return t}}return null}function g(e){return e.getModifiers().any||e.which!=null&&e.which!==1}function h(e){return e.nodeName==="INPUT"&&e.type==="file"}(e=r("Event")).listen(document.documentElement,"mousedown",p,e.Priority.URGENT),e.listen(document.documentElement,"keydown",p,e.Priority.URGENT),l.registerHandler=d,l.registerFallbackHandler=m}),98); __d("PageTransitionPriorities",[],(function(t,n,r,o,a,i){var e=5,l=e+1,s=l+1;i.DEFAULT=e,i.LEFT_NAV=l,i.SOCIAL_SEARCH_DIALOG=s}),66); __d("computeRelativeURI",["URI","isEmpty","isFacebookURI"],(function(t,n,r,o,a,i,l){var e,s;function u(e,t){if(!t)return e;if(t.charAt(0)=="/")return t;var n=e.split("/").slice(0,-1);return n[0],t.split("/").forEach(function(e){e==="."||(e===".."?n.length>1&&(n=n.slice(0,-1)):n.push(e))}),n.join("/")}function c(t,n){var o=new(e||(e=r("URI"))),a=new e(t),i=new e(n);if(i.getDomain()&&!r("isFacebookURI")(i))return n;var l=a,c=["Protocol","Domain","Port","Path","QueryData","Fragment"];return c.forEach(function(e){var t=e==="Path"&&l===a;t&&o.setPath(u(a.getPath(),i.getPath())),(s||(s=r("isEmpty")))(i["get"+e]())||(l=i),t||o["set"+e](l["get"+e]())}),o}l.default=c}),98); __d("getReferrerURI",["ErrorGuard","URI","isFacebookURI"],(function(t,n,r,o,a,i,l){"use strict";var e,s;function u(){if(t.PageTransitions&&t.PageTransitions.isInitialized())return t.PageTransitions.getReferrerURI();var n=(e||(e=r("ErrorGuard"))).applyWithGuard(function(e){return(s||(s=r("URI"))).tryParseURI(e)},null,[document.referrer]);return n&&r("isFacebookURI")(n)?n:null}l.default=u}),98); __d("PageTransitionsRegistrar",["invariant","DOMQuery","Form","LinkController","PageTransitionPriorities","Parent","URI","computeRelativeURI","getReferrerURI","goURI","requireDeferred","setTimeout","setTimeoutAcrossTransitions"],(function(t,n,r,o,a,i,l,s){var e,u=r("requireDeferred")("PageTransitions").__setRef("PageTransitionsRegistrar");r("setTimeout")(function(){u.onReady(function(e){e&&e._init&&e._init()})},0);var c=[],d=[],m={DELAY_HISTORY:"delay_history_PTR",registerHandler:function(t,n){t!=null||s(0,5202),n=n||o("PageTransitionPriorities").DEFAULT,c[n]||(c[n]=[]),c[n].push(t)},removeHandler:function(t,n){n=n||o("PageTransitionPriorities").DEFAULT;var e=-1;c[n]&&(e=c[n].indexOf(t)),e>-1&&c[n].splice(e,1)},registerCompletionCallback:function(t){d.push(t)},getMostRecentURI:y,getReferrerURI:r("getReferrerURI"),_getTransitionHandlers:function(){return c},_getCompletionCallbacks:function(){return d},_resetCompletionCallbacks:function(){d=[]},__onClick:f,__onSubmit:h},p=null;function _(e){p=e,r("setTimeoutAcrossTransitions")(function(){p=null},0)}function f(e){var t;if(p&&((t=p.getAttribute("href"))==null?void 0:t[0])!=="#"){if(!e.isDefaultPrevented()){g(p);var n=p.getAttribute("href");n&&r("goURI")(n)}e.kill()}}function g(e){var t=e.getAttribute("href")||"",n=r("computeRelativeURI")(y().getQualifiedURI().toString(),t).toString();t!=n&&e.setAttribute("href",n)}function h(t,n){var a=n,i=t.getTarget();if(!(o("Form").getAttribute(i,"rel")||o("Form").getAttribute(i,"target"))){var l=new(e||(e=r("URI")))(o("Form").getAttribute(i,"action")),s=r("computeRelativeURI")(y().toString(),l.toString());if(i.setAttribute("action",s.toString()),(o("Form").getAttribute(i,"method")||"GET").toUpperCase()==="GET"){var u=o("Form").serialize(i);a&&(o("DOMQuery").isNodeOfType(a,"input")&&a.type==="submit"||(a=o("Parent").byTag(a,"button")))&&a.name&&(u[a.name]=a.value),typeof s=="string"&&(s=new(e||(e=r("URI")))(s)),r("goURI")(s.addQueryData(u)),t.kill()}}}o("LinkController").registerFallbackHandler(_);function y(){if(t.PageTransitions&&t.PageTransitions.isInitialized())return t.PageTransitions.getMostRecentURI();var n=(e||(e=r("URI"))).getRequestURI(!1),o=n.getUnqualifiedURI(),a=new e(o).setFragment(""),i=o.getFragment();return i.charAt(0)==="!"&&a.toString()===i.substr(1)&&(o=a),o}var C=m;l.default=C}),98); __d("LayerHideOnTransition",["LayerHideSources","PageTransitionsRegistrar"],(function(t,n,r,o,a,i,l){var e=(function(){function e(e){var t=this;this._handler=function(e){t._enabled&&t.isTransitionRelevant(e)&&t._layer.hide(r("LayerHideSources").TRANSITION),t._subscribe()},this._layer=e}var t=e.prototype;return t.enable=function(){this._enabled=!0,this._subscribed||setTimeout(this._subscribe.bind(this),0)},t.disable=function(){this._enabled=!1,r("PageTransitionsRegistrar").removeHandler(this._handler)},t.isTransitionRelevant=function(t){return!0},t._subscribe=function(){r("PageTransitionsRegistrar").registerHandler(this._handler),this._subscribed=!0},e})();Object.assign(e.prototype,{_enabled:!1,_subscribed:!1}),l.default=e}),98); __d("LineClamp.react",["cx","DOMContainer.react","Locale","getElementText","getVendorPrefixedName","joinClasses","react"],(function(t,n,r,o,a,i,l,s){"use strict";var e,u=e||(e=o("react")),c=r("getVendorPrefixedName")("lineClamp"),d=(function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;ot.offsetHeight;else{if(!this.innerElement)return e;e=this.innerElement.offsetHeight>t.offsetHeight}return e},n.componentDidMount=function(){this.$3()},n.componentDidUpdate=function(){this.$3()},n.render=function(){var e=this.$5(),t=r("joinClasses")(this.props.className,"_4ik4"+(e?" _4ik5":"")+(this.props.width?" _8hwj":"")),n=this.props.hasXHPChildren?u.jsx(r("DOMContainer.react"),{children:this.props.children}):this.props.children,o={};this.props.lineHeight&&(o={lineHeight:this.props.lineHeight+"px"},this.props.fitHeightToShorterText?o=babelHelpers.extends({},o,{maxHeight:this.props.lineHeight*this.props.lines}):o=babelHelpers.extends({},o,{height:this.props.lineHeight*this.props.lines})),this.props.width&&(o=babelHelpers.extends({},o,{width:this.props.width+"px"})),e?o[c]=this.props.lines:(t=r("joinClasses")(t,"clearfix"),this.props.customEllipsisDisableGradient?n=[u.jsx("div",{className:"_1osu"},"spacer"),this.$1(),u.jsx("div",{className:"_1osv",ref:this.$2,children:this.props.children},"inner")]:n=[u.jsx("div",{className:"_4ik6",ref:this.$2,children:n},"inner"),this.$1()]);var a={};return this.props.enableTooltipOnOverflow&&(a["data-hover"]="tooltip",this.state.enableTooltip&&(a["data-tooltip-content"]=e?r("getElementText")(this.rootElement):r("getElementText")(this.innerElement),this.props.tooltipDelay!=null&&(a["data-tooltip-delay"]=this.props.tooltipDelay))),u.jsx("div",babelHelpers.extends({},a,{className:t,ref:this.$4,style:o,children:n}))},t})(u.Component);l.default=d}),98); __d("LiveVideoPlayerDispatcher",["ExplicitRegistrationReactDispatcher"],(function(t,n,r,o,a,i,l){"use strict";var e=(function(e){function t(t){var n;return n=e.call(this,t)||this,n.dispatch=n.dispatch.bind(n),n}return babelHelpers.inheritsLoose(t,e),t})(r("ExplicitRegistrationReactDispatcher")),s=new e({strict:!0});l.default=s}),98); __d("LiveVideoPlayerActions",["LiveVideoPlayerDispatcher"],(function(t,n,r,o,a,i,l){function e(e,t){var n={type:"SET_IS_REWOUND",isRewound:t,vpc:e};r("LiveVideoPlayerDispatcher").dispatch(n)}function s(e){var t={type:"DISMISS_REWIND_COMMENT_OVERLAY",playerID:e};r("LiveVideoPlayerDispatcher").dispatch(t)}l.setIsRewound=e,l.dismissRewindCommentOverlay=s}),98); __d("LiveVideoRewindTypedLogger",["Banzai","GeneratedLoggerUtils"],(function(t,n,r,o,a,i){"use strict";var e=(function(){function e(){this.$1={}}var t=e.prototype;return t.log=function(t){n("GeneratedLoggerUtils").log("logger:LiveVideoRewindLoggerConfig",this.$1,n("Banzai").BASIC,t)},t.logVital=function(t){n("GeneratedLoggerUtils").log("logger:LiveVideoRewindLoggerConfig",this.$1,n("Banzai").VITAL,t)},t.logImmediately=function(t){n("GeneratedLoggerUtils").log("logger:LiveVideoRewindLoggerConfig",this.$1,{signal:!0},t)},t.clear=function(){return this.$1={},this},t.getData=function(){return babelHelpers.extends({},this.$1)},t.updateData=function(t){return this.$1=babelHelpers.extends({},this.$1,t),this},t.setActionSequenceNumber=function(t){return this.$1.action_sequence_number=t,this},t.setDeviceid=function(t){return this.$1.deviceid=t,this},t.setEvent=function(t){return this.$1.event=t,this},t.setPositionAfter=function(t){return this.$1.position_after=t,this},t.setPositionBefore=function(t){return this.$1.position_before=t,this},t.setSessionID=function(t){return this.$1.session_id=t,this},t.setVideoDuration=function(t){return this.$1.video_duration=t,this},t.setVideoID=function(t){return this.$1.video_id=t,this},e})(),l={action_sequence_number:!0,deviceid:!0,event:!0,position_after:!0,position_before:!0,session_id:!0,video_duration:!0,video_id:!0};i.default=e}),66); __d("LiveRewindUtils",["LiveVideoPlayerActions","LiveVideoRewindTypedLogger","uuidv4"],(function(t,n,r,o,a,i){"use strict";var e=5,l=new Map,s=250;function u(t){for(var n=0,r=0;re?n-e:0}function c(e,t){var n=e;if(t.length()<1)return 0;if(e<=0)return t.start(0);for(var r=0;rn.end(r)&&(e=n.end(r));var o=e+t,a=n.end(n.length()-1),i=n.start(0);if(o<=i)return i;if(o>=a)return a;if(o>=n.start(r)&&o<=n.end(r))return o;if(on.start(r)){if(r>=n.length()-1)return a;var c=n.end(r)-e,d=t-c,p=n.start(r+1);return m(p,d,n,r+1)}return 0}function p(t,n){n==null&&(n=e);var r=t.end(t.length()-1);return m(r,-1*n,t)}function _(e,t){if(t.length()<1)return 0;for(var n=0;n0,isScrolledToBottom:o.isScrolledToBottom()}},function(e){var t=e.isScrolledToBottom,r=e.needsGripper,a=e.top;n("CSS").conditionShow(o._gripper,r),n("CSS").conditionClass(o._elem,"contentBefore",a),n("CSS").conditionClass(o._elem,"contentAfter",!t)})},o._respondMouseMove=function(){if(!(!o._mouseOver||o._isFocussed)){var e=o._options.fade!==!1,t=o._mousePos,r=n("Vector").getElementPosition(o._track).x,a=n("Vector").getElementDimensions(o._track).x,i=Math.abs(r+a/2-t.x),l=n("BrowserSupport").hasPointerEvents()&&i<=10;l&&!o._trackIsHovered?(o._trackIsHovered=!0,n("CSS").addClass(o._elem,"uiScrollableAreaTrackOver"),o.throttledAdjustGripper()):!l&&o._trackIsHovered&&(o._trackIsHovered=!1,n("CSS").removeClass(o._elem,"uiScrollableAreaTrackOver")),e&&(i<25?o.showScrollbar({hideAfterDelay:!1}):!o._options.no_fade_on_hover&&!o._isFocussed&&o.hideScrollbar({hideAfterDelay:!0,shouldFade:!0}))}},!e)return babelHelpers.assertThisInitialized(o);if(r=r||{},o._elem=e,o._wrap=n("firstx")(n("DOM").scry(e,"div.uiScrollableAreaWrap")),o._body=n("firstx")(n("DOM").scry(o._wrap,"div.uiScrollableAreaBody")),o._content=n("firstx")(n("DOM").scry(o._body,"div.uiScrollableAreaContent")),o._track=n("firstx")(n("DOM").scry(e,"div.uiScrollableAreaTrack")),o._trackIsHovered=!1,o._isFocussed=!1,o._gripper=n("firstx")(n("DOM").scry(o._track,"div.uiScrollableAreaGripper")),o._options=r,o._throttledComputeHeights=n("throttle").withBlocking(o._computeHeights,250,o),o.throttledAdjustGripper=n("throttle").withBlocking(o.adjustGripper,250,o),o.throttledAdjustGripper=n("TimeSlice").guard(o.throttledAdjustGripper,"ScrollableArea throttledAdjustGripper",{propagationType:n("TimeSlice").PropagationType.ORPHAN}),o._throttledShowGripperAndShadows=n("throttle").withBlocking(o._showGripperAndShadows,250,o),o._throttledRespondMouseMove=n("throttle")(o._respondMouseMove,250,o),n("setTimeoutAcrossTransitions")(o.adjustGripper.bind(o),0),o._listeners=new(n("SubscriptionsHandler")),o._listeners.addSubscriptions(n("Event").listen(o._wrap,"scroll",o._handleScroll.bind(o)),n("Event").listen(e,"mousemove",o._handleMouseMove.bind(o)),n("Event").listen(o._track,"click",o._handleClickOnTrack.bind(o))),n("BrowserSupport").hasPointerEvents()&&o._listeners.addSubscriptions(n("Event").listen(e,"mousedown",o._handleClickOnTrack.bind(o))),r.fade!==!1){var a;(a=o._listeners).addSubscriptions.apply(a,[n("Event").listen(e,"mouseenter",o._handleMouseEnter.bind(o)),n("Event").listen(e,"mouseleave",o._handleMouseLeave.bind(o))].concat(o._attachFocusListeners(o._wrap)))}else n("BrowserSupport").hasPointerEvents()&&o._listeners.addSubscriptions(n("Event").listen(e,"mouseleave",function(){o._isFocussed||(o._trackIsHovered=!1,n("CSS").removeClass(e,"uiScrollableAreaTrackOver"))}));return(n("UserAgent").isEngine("WebKit")||n("UserAgent").isEngine("Blink"))&&o._listeners.addSubscriptions(n("Event").listen(e,"mousedown",function(){var t=n("Event").listen(window,"mouseup",function(){n("Scroll").getLeft(e)&&n("Scroll").setLeft(e,0),t.remove()})})),o._drag=o.initDrag(),n("DataStore").set(o._elem,"ScrollableArea",o),r.persistent||(o._destroy=n("createCancelableFunction")(o._destroy.bind(o)),r.runtime_site_is_comet||n("Run").onLeave(o._destroy)),r.shadow!==!1&&n("CSS").addClass(o._elem,"uiScrollableAreaWithShadow"),o}babelHelpers.inheritsLoose(r,t);var o=r.prototype;return o.getContentHeight=function(){return this._contentHeight},o.getElement=function(){return this._elem},o.initDrag=function(){var e=this,t=n("BrowserSupport").hasPointerEvents(),r=new(n("SimpleDrag"))(t?this._elem:this._gripper);return r.subscribe("start",function(o,a){if(!(a.which&&a.which===1||a.button&&a.button===1))return!1;var i=n("Vector").getEventPosition(a,"viewport");if(t){var l=e._gripper.getBoundingClientRect();if(i.xl.right||i.yl.bottom)return!1}a.stopPropagation(),e.inform("grip_start");var s=i.y,u=e._gripper.offsetTop;n("CSS").addClass(e._elem,"uiScrollableAreaDragging");var c=r.subscribe("update",function(t,r){var o=n("Vector").getEventPosition(r,"viewport").y-s;e._throttledComputeHeights();var a=e._contentHeight-e._containerHeight,i=u+o,l=e._trackHeight-e._gripperHeight;i=Math.max(Math.min(i,l),0);var c=i/l*a;n("Scroll").setTop(e._wrap,c)}),d=r.subscribe("end",function(){r.unsubscribe(c),r.unsubscribe(d),n("CSS").removeClass(e._elem,"uiScrollableAreaDragging"),e.inform("grip_end")})}),r},o._attachFocusListeners=function(t){var e=this,r={cleanupOnLeave:!this._options.runtime_site_is_comet},o;return[n("FocusEvent").listen(t,function(t){o&&(o.reject(),o=null),t?(o=new(n("Deferred")),n("promiseDone")(o.getPromise(),function(){e._isFocussed=!0,e._trackIsHovered=!0,n("queryThenMutateDOM")(null,function(){n("CSS").addClass(e._elem,"uiScrollableAreaTrackOver")}),e.showScrollbar({hideAfterDelay:!1}),o=null},function(){o=null})):(e._isFocussed=!1,e._mouseOver?e._respondMouseMove():(n("queryThenMutateDOM")(null,function(){n("CSS").removeClass(e._elem,"uiScrollableAreaTrackOver")}),e.hideScrollbar({hideAfterDelay:!1,shouldFade:!1})))},r),n("Event").listen(document.documentElement,"keyup",function(e){o&&o.resolve()})]},o._needsGripper=function(){return this._throttledComputeHeights(),this._gripperHeightr.left&&(e.yr.bottom&&this.setScrollTop(this.getScrollTop()+this._elem.clientHeight),t.kill())},o._handleMouseMove=function(t){var e=this._options.fade!==!1;(n("BrowserSupport").hasPointerEvents()||e)&&(this._mousePos=n("Vector").getEventPosition(t),this._throttledRespondMouseMove())},o._handleScroll=function(t){this._needsGripper()&&this._slideGripper(),this.throttledAdjustGripper(),this._options.fade!==!1&&!this._isFocussed&&this.showScrollbar({hideAfterDelay:!0}),this.inform("scroll")},o._handleMouseLeave=function(t){this._mouseOver=!1,this._mousePos=n("Vector").getEventPosition(t),this._isFocussed||this.hideScrollbar({hideAfterDelay:!0,shouldFade:!0})},o._handleMouseEnter=function(t){this._mouseOver=!0,this._mousePos=n("Vector").getEventPosition(t),this._isFocussed||this.showScrollbar({hideAfterDelay:!0})},o.hideScrollbar=function(t){var e=this,r=t.hideAfterDelay,o=t.shouldFade;if(this._hideTimeout||!this._scrollbarVisible)return this;var a=function(){e._scrollbarVisible=!1,n("CSSFade").hide(e._track,{simple:!o,invisible:n("CSS").hasClass(e._track,"invisible_elem")})};return r?this._hideTimeout=n("setTimeoutAcrossTransitions")(function(){e._hideTimeout=null,a()},750):a(),this},o.pageDown=function(t,n){this._scrollPage(1,t,n)},o.pageUp=function(t,n){this._scrollPage(-1,t,n)},o._scrollPage=function(t,n,r){var e=t*this._containerHeight,o=this.getScrollHeight()-this._containerHeight,a=Math.max(0,Math.min(o,this.getScrollTop()+e));this.setScrollTop(a,n,r)},o.resize=function(){this._body.style.width&&(this._body.style.width="");var e=n("DOMScroll").getScrollbarSize();return e>0&&n("Style").set(this._body,"margin-right",-e+"px"),this},o.showScrollbar=function(t){var e=this,r=t.hideAfterDelay;return this._hideTimeout&&(n("clearTimeout")(this._hideTimeout),this._hideTimeout=null),this._scrollbarVisible?this:(this._scrollbarVisible=!0,n("queryThenMutateDOM")(null,function(){n("CSSFade").show(e._track,{duration:0,invisible:n("CSS").hasClass(e._track,"invisible_elem")}),e.throttledAdjustGripper(),r&&e.hideScrollbar({hideAfterDelay:!0,shouldFade:!e._options.no_fade_on_hover})}),this)},o.distanceToBottom=function(){this._computeHeights();var e=Math.round(n("Scroll").getTop(this._wrap));return this._contentHeight-(e+this._containerHeight)},o.isScrolledToBottom=function(){return this.distanceToBottom()<=0},o.isScrolledToTop=function(){return n("Scroll").getTop(this._wrap)===0},o.scrollToBottom=function(t,n){this.setScrollTop(this._wrap.scrollHeight,t,n)},o.scrollToTop=function(t,n){this.setScrollTop(0,t,n)},o.scrollIntoView=function(t,r,o){var e=this._wrap.clientHeight,a=t.offsetHeight,i=n("Scroll").getTop(this._wrap),l=i+e,s=this.getScrollOffsetForElement(t),u=s+a;return sl?this.setScrollTop(i+(u-l),r,{callback:o}):(o&&o(),n("emptyFunction"))},o.getScrollOffsetForElement=function(t){for(var e=0;t!=null&&t!==this._wrap;)e+=t.offsetTop,t=t.offsetParent;return e},o.scrollElemToTop=function(t,n,r){this.setScrollTop(t.offsetTop,n,{callback:r})},o.poke=function(){var e,t=(e=n("Scroll")).getTop(this._wrap);return e.setTop(this._wrap,e.getTop(this._wrap)+1),e.setTop(this._wrap,e.getTop(this._wrap)-1),e.setTop(this._wrap,t),this._isFocussed?this:this.showScrollbar({hideAfterDelay:!1})},o.getClientHeight=function(){return this._wrap.clientHeight},o.getScrollTop=function(){return n("Scroll").getTop(this._wrap)},o.getScrollHeight=function(){return this._wrap.scrollHeight},o.setScrollTop=function(n,r,o){o===void 0&&(o={});var t;if(r!==!1){var a=e.getModuleIfRequired();a!=null?t=this._animatedSetScrollTop(a,n,o):this._simpleSetScrollTop(n,o)}else this._simpleSetScrollTop(n,o);return function(){t&&t.stop(),t=null}},o._simpleSetScrollTop=function(t,r){n("Scroll").setTop(this._wrap,t),r.callback&&r.callback()},o._animatedSetScrollTop=function(t,n,r){this._scrollTopAnimation&&this._scrollTopAnimation.stop();var e=r.duration||250,o=r.ease||t.ease.end;return this._scrollTopAnimation=new t(this._wrap).to("scrollTop",n).ease(o).duration(e).ondone(r.callback).go(),this._scrollTopAnimation},r.renderDOM=function(){var e,t=(e=n("DOM")).create("div",{className:"uiScrollableAreaContent"}),r=e.create("div",{className:"uiScrollableAreaBody"},t),o=e.create("div",{className:"uiScrollableAreaWrap scrollable"},r),a=e.create("div",{className:"uiScrollableArea native"},o);return{root:a,wrap:o,body:r,content:t}},r.fromNative=function(t,o){if(!(!n("CSS").hasClass(t,"uiScrollableArea")||!n("CSS").hasClass(t,"native"))){o=o||{},n("CSS").removeClass(t,"native");var e=n("DOM").create("div",{className:"uiScrollableAreaTrack"},n("DOM").create("div",{className:"uiScrollableAreaGripper"}));o.fade!==!1?(n("CSS").addClass(t,"fade"),n("CSS").addClass(e,"hidden_elem")):n("CSS").addClass(t,"nofade"),o.tabIndex!=null?(n("DOM").setAttributes(e,{tabIndex:o.tabIndex}),n("DOM").prependContent(t,e)):n("DOM").appendContent(t,e);var a=new r(t,o);return a.resize(),a}},r.getInstance=function(t){return n("getScrollableAreaContainingNode")(t)},r.poke=function(t){var e=r.getInstance(t);e&&e.poke()},r})(n("mixin")(n("ArbiterMixin")));a.exports=s}),null); __d("Menu",["cx","BehaviorsMixin","CSS","DOM","DataStore","Event","Keys","Parent","PopoverMenuInterface","ScrollableArea","Style","SubscriptionsHandler","UserAgent","debounce"],(function(t,n,r,o,a,i,l,s){var e=500,u=(function(t){function n(o,a){var i;return i=t.call(this)||this,i._items=[],i._keysSoFar="",i._items=o.map(function(e){return n.buildItemFromData(e)}),i._config=a||{},i._theme=a.theme||{},i._subscriptions=new(r("SubscriptionsHandler")),i._clearKeysSoFarAfterDelay=r("debounce")(function(){i._keysSoFar=""},e),i}babelHelpers.inheritsLoose(n,t),n.buildItemFromData=function(t){return t.ctor?new t.ctor(t):new t.type(t.props)};var a=n.prototype;return a.addItem=function(t){this._addItem(t)},a.addItemBefore=function(t,n){this._addItem(t,n,!1)},a.addItemAfter=function(t,n){this._addItem(t,n,!0)},a._addItem=function(t,n,r){var e=this._items.indexOf(t);if(e>=0){var o=r?-1:1;if(this._items[e+o]==n)return;this._items.splice(e,1)}if(n){if(e=this._items.indexOf(n),e<0)throw new Error("reference item must already be in the menu");r&&e++,this._items.splice(e,0,t)}else this._items.push(t);this._root&&this._insertItem(t,n,r)},a.removeItem=function(t){var e=this._items.indexOf(t);e<0||(this._items.splice(e,1),this._root&&r("DOM").remove(t.getRoot()))},a.forEachItem=function(t){this._items.forEach(t)},a.getFocusedItem=function(){return this._focused},a.getItemAt=function(t){return this._items[t]||null},a.getRoot=function(){return this._root||this._render(),this._root},a.onShow=function(){this._config.maxheight&&(this._scrollableArea?this._scrollableArea.resize():this._scrollableArea=r("ScrollableArea").fromNative(this._scrollableElems.root,{fade:!0})),this.inform("show")},a.onHide=function(){this.blur(),this.inform("hide")},a.focusAnItem=function(t){return this._attemptFocus(t||0,1)},a.blur=function(){if(this._focused){var e=this._focused;this._focused.blur(),this._focused=null,this.inform("blur",{item:e})}},a.handleKeydown=function(t,n){if(!this._items.length)return!1;var e=this._items.indexOf(this._focused);switch(t){case r("Keys").UP:case r("Keys").DOWN:var o=t===r("Keys").UP,a=o?-1:1,i=o?this._items.length-1:0;return e===-1?this._attemptFocus(i,a):this._attemptFocus(e+a,a);case r("Keys").HOME:return this._attemptFocus(0,1);case r("Keys").END:return this._attemptFocus(this._items.length-1,-1);case r("Keys").SPACE:return this._items.indexOf(this._focused)!==-1?(this._handleItemClick(this._focused,n),!0):!1;case r("Keys").RIGHT:case r("Keys").LEFT:case r("Keys").INSERT:case r("Keys").DELETE:return!1;default:var l=this._findItemToFocus(t,e);return!!(l&&this._focusItem(l))}},a._findItemToFocus=function(t,n){var e=String.fromCharCode(t).toLowerCase();this._keysSoFar||(this._searchIndex=n,this._itemToFocus=this._focused||this._items[0]),this._keysSoFar+=e,this._clearKeysSoFarAfterDelay();var r=this._findMatchInRange(this._searchIndex+1,this._items.length);return r||(r=this._findMatchInRange(0,this._searchIndex)),this._itemToFocus=r||this._itemToFocus,this._itemToFocus},a._findMatchInRange=function(t,n){for(var e=t;e=e)&&!this._focused)return!1;var r=(e+t%e)%e,o=this.getItemAt(r);return o===this._focused||this._focusItem(o)?!0:this._attemptFocus(r+n,n)},a._focusItem=function(t,n){return t&&t.focus(n)!==!1?(this._focused!==t&&(this.blur(),this._focused=t,this.inform("focus",{item:t,from_mouse_over:n})),!0):!1},a._getItemInstance=function(t){var e=o("Parent").byClass(t,"__MenuItem");return e?o("DataStore").get(e,"MenuItem"):null},a.destroy=function(){this._items.forEach(function(e){var t=e.getRoot(!0);t&&(o("DataStore").remove(t,"MenuItem"),e.destroy())}),this._subscriptions.release(),this.destroyBehaviors()},n})(r("PopoverMenuInterface"));Object.assign(u.prototype,r("BehaviorsMixin"),{_focused:null,_root:null}),l.default=u}),98); __d("MenuItemInterface",["emptyFunction","react"],(function(t,n,r,o,a,i){var e,l=e||(e=n("react")),s=(function(e){"use strict";function t(){return e.apply(this,arguments)||this}babelHelpers.inheritsLoose(t,e);var n=t.prototype;return n.getRoot=function(t){return!this._root&&!t&&(this._root=this.render()),this._root},t})(l.Component);Object.assign(s.prototype,{_root:null,render:n("emptyFunction"),getAccessKey:n("emptyFunction"),getLabel:n("emptyFunction"),hasAction:n("emptyFunction").thatReturnsFalse,focus:n("emptyFunction").thatReturnsFalse,blur:n("emptyFunction").thatReturnsFalse,onShow:n("emptyFunction").thatReturnsFalse,handleClick:n("emptyFunction").thatReturnsFalse,shouldCloseOnClick:n("emptyFunction").thatReturnsTrue,destroy:n("emptyFunction")}),a.exports=s}),null); __d("MenuItemBase",["cx","DOM","HTML","MenuItemInterface"],(function(t,n,r,o,a,i,l,s){var e=(function(e){function t(t){var n;return n=e.call(this)||this,n._ARIARole="menuitem",n._data=babelHelpers.extends({},t),n}babelHelpers.inheritsLoose(t,e);var n=t.prototype;return n.render=function(){var e="_54ni";this._data.className&&(e+=" "+this._data.className);var t={className:e,role:"presentation","data-testid":void 0};return Object.assign(t,this.__getAttributesFromData()),delete t["data-testid"],r("DOM").create("li",t,this._renderItemContent())},n._renderItemContent=function(){return r("HTML")(this._data.markup).getNodes()},n.__getAttributesFromData=function(){var e={};for(var t in this._data)(t.indexOf("data-")===0||t.indexOf("aria-")===0)&&(e[t]=this._data[t]);return e},t})(r("MenuItemInterface"));l.default=e}),98); __d("MenuItem",["cx","CSS","DOM","MenuItemBase","ReactDOM","emptyFunction","joinClasses","react","setTimeout","vulture"],(function(t,n,r,o,a,i,l){var e,s=e||(e=n("react")),u=["href","rel","ajaxify","target","accesskey"];function c(e,t){var r={};u.forEach(function(e){t[e]&&(r[e]=t[e])}),n("DOM").setAttributes(e,r)}function d(e){n("vulture")("L3dzAeLx4qVbAk1CGh1ezQj0L50="),u.forEach(function(t){n("vulture")("4Y-rjCJtVHvzE06fQVkcrLf-SMA="),e.removeAttribute(t)})}var m=(function(e){"use strict";function t(t){var n;return n=e.call(this,t)||this,n._disabled=!!n._data.disabled,n._onclickHandler=n._data.onclick||n._data.onClick,n}babelHelpers.inheritsLoose(t,e);var r=t.prototype;return r.getValue=function(){return this._data.value},r.getLabel=function(){return this._data.label},r.getLink=function(){return n("vulture")("EsrM6PZUvQbnGj2bFd940AUdzbo="),this._data.href},r.getAccessKey=function(){n("vulture")("vWgxrmHNH5VQk9XuWLXHyQEia0o=");var e=this.getLabel();return e&&e.charAt(0)},r.focus=function(t){if(this.isDisabled()||!this._root.offsetParent||!this.hasAction()||this.isHoverDisabled())return!1;n("CSS").addClass(this._root,"_54ne"),n("CSS").addClass(this._root,"selected"),t||this._anchor.focus()},r.blur=function(){n("CSS").removeClass(this._root,"_54ne"),n("CSS").removeClass(this._root,"selected")},r.handleClick=function(t){return this.isDisabled()?!1:typeof this._onclickHandler=="function"?this._onclickHandler(t):!0},r.setOnClickHandler=function(t){this._onclickHandler=t},r._renderItemContent=function(){var e=this;if(this._anchor=n("DOM").create(this._data.renderas==="label"?"label":"a",{className:"_54nc"+(this._data.icon?" _54nu":"")}),this._data.children){var t=null;this._data.icon&&(t=s.cloneElement(this._data.icon,{className:n("joinClasses")(this._data.icon.props.className,"mrs")}));var r=s.jsx(s.Suspense,{fallback:null,children:s.jsxs("span",{children:[t,s.jsx("span",{className:"_54nh",children:this._data.children})]})});this._reactRoot=n("ReactDOM").createRoot(this._anchor),n("ReactDOM").flushSync(function(){e._reactRoot.render(r)}),this._data.label=this._anchor.innerText||this._anchor.textContent}else{var o=n("DOM").create("span",null,n("DOM").create("span",{className:"_54nh"},this._data.markup||this._data.label));this._data.icon&&n("DOM").prependContent(o,this._data.icon),n("DOM").setContent(this._anchor,o)}this._data.href||(this._data.href="#"),this.isDisabled()||c(this._anchor,this._data),n("DOM").setAttributes(this._anchor,this.__getAttributesFromData()),this._anchor.setAttribute("role",this._ARIARole);var a=this._data.title;return a&&this._anchor.setAttribute("title",a),this._anchor},r.isDisabled=function(){return this._disabled},r.isHoverDisabled=function(){return this._data.hoverdisabled},r.enable=function(){n("vulture")("Iub_VECdDHNOtjbr25HMBTEMhys="),this._root&&(c(this._anchor,this._data),n("CSS").removeClass(this._root,"_5arm")),this._disabled=!1},r.disable=function(){n("vulture")("i-Jr_4wyb_VEzmBrpUix7dZhkjE="),this._root&&(d(this._anchor),n("CSS").addClass(this._root,"_5arm")),this._disabled=!0},r.render=function(){var t=e.prototype.render.call(this);return this._disabled&&n("CSS").addClass(t,"_5arm"),t},r.destroy=function(){if(this._reactRoot!=null){var e=this._reactRoot;this._reactRoot=null,n("setTimeout")(function(){e.unmount()},0)}},t})(n("MenuItemBase"));Object.assign(m.prototype,{hasAction:n("emptyFunction").thatReturnsTrue}),a.exports=m}),null); __d("MenuItemNoAction",["MenuItem"],(function(t,n,r,o,a,i,l){var e=(function(e){function t(){return e.apply(this,arguments)||this}babelHelpers.inheritsLoose(t,e);var n=t.prototype;return n.hasAction=function(){return!1},t})(r("MenuItem"));l.default=e}),98); __d("MenuSelectableItem",["cx","CSS","DOM","MenuItem"],(function(t,n,r,o,a,i,l,s){var e=(function(e){function t(t){var n;return n=e.call(this,t)||this,n._selected=!1,n._ARIARole="menuitemcheckbox",n._selected=!!n._data.selected,n}babelHelpers.inheritsLoose(t,e);var n=t.prototype;return n.getIcon=function(){return this._data.icon},n.setIcon=function(t){r("DOM").replace(this._data.icon,t),this._data.icon=t},n.isSelected=function(){return this._selected},n.select=function(){if(this.isDisabled())return!1;o("CSS").addClass(this._root,"_54nd"),this._anchor.setAttribute("aria-checked","true"),this._selected=!0},n.deselect=function(){o("CSS").removeClass(this._root,"_54nd"),this._anchor.setAttribute("aria-checked","false"),this._selected=!1},n.render=function(){var t=e.prototype.render.call(this);return this._data.selected&&(o("CSS").addClass(t,"_54nd"),this._anchor.setAttribute("aria-checked","true")),t},t})(r("MenuItem"));l.default=e}),98); __d("MenuTheme",["cx"],(function(t,n,r,o,a,i,l,s){var e="_569t";l.className=e}),98); __d("NetworkConnectivityEffectiveType",["$InternalEnum"],(function(t,n,r,o,a,i){var e=n("$InternalEnum")({TYPE_SLOW_2G:"slow-2g",TYPE_2G:"2g",TYPE_3G:"3g",TYPE_4G:"4g",UNAVAILABLE:"unavailable"}),l=e;i.default=l}),66); __d("Network",["$InternalEnum","NetworkConnectivityEffectiveType","mixInEventEmitter"],(function(t,n,r,o,a,i,l){var e=!0,s=t.navigator&&t.navigator.connection,u={0:"unknown",1:"ethernet",2:"wifi",3:"2g",4:"3g"},c=n("$InternalEnum")({Bluetooth:"bluetooth",Cellular:"cellular",Ethernet:"ethernet",None:"none",Wifi:"wifi",Wimax:"wimax",Other:"other",Unavailable:"unavailable",Unknown:"unknown"});function d(){return e}function m(t){t!=e&&(e=t,C.emit(t?"online":"offline"))}function p(){if(!d())return 0;var e=s==null?void 0:s.downlinkMax;if(typeof e=="number"&&Number.isFinite(e))return e;var t=s==null?void 0:s.downlink;return typeof t=="number"&&Number.isFinite(t)?t:null}function _(){if(!d())return 0;var e=s==null?void 0:s.rtt;return typeof e=="number"&&Number.isFinite(e)?e:null}function f(){return s!=null}function g(){var e=s?String(s.type):"0";return u[e]||e}function h(){var e,t=s==null?void 0:s.type;return(e=typeof t=="string"?c.cast(t):null)!=null?e:c.Unavailable}function y(){var e,t=s==null?void 0:s.effectiveType;return(e=typeof t=="string"?r("NetworkConnectivityEffectiveType").cast(t):null)!=null?e:"unavailable"}var C={NetworkConnectivityType:c,NetworkConnectivityEffectiveType:r("NetworkConnectivityEffectiveType"),getBandwidth:p,getEffectiveType:y,getType:h,getType_DEPRECATED_DO_NOT_USE:g,isOnline:d,setOnline:m,getRTT:_,containsNetworkInformation:f};r("mixInEventEmitter")(C,{online:!0,offline:!0}),t.addEventListener?(t.addEventListener("online",m.bind(null,!0)),t.addEventListener("offline",m.bind(null,!1))):t.attachEvent&&(t.attachEvent("online",m.bind(null,!0)),t.attachEvent("offline",m.bind(null,!1)));var b=C;l.default=b}),98); __d("OnUseEffectMount.react",["react","react-compiler-runtime"],(function(t,n,r,o,a,i,l){"use strict";var e,s=(e||(e=o("react"))).useEffect;function u(e){var t=o("react-compiler-runtime").c(2),n=e.callback,r;t[0]!==n?(r=[n],t[0]=n,t[1]=r):r=t[1],s(n,r)}l.default=u}),98); __d("OnUseEffectUnmount.react",["react","react-compiler-runtime"],(function(t,n,r,o,a,i,l){"use strict";var e,s=(e||(e=o("react"))).useEffect;function u(e){var t=o("react-compiler-runtime").c(3),n=e.callback,r,a;t[0]!==n?(r=function(){return n},a=[n],t[0]=n,t[1]=r,t[2]=a):(r=t[1],a=t[2]),s(r,a)}l.default=u}),98); __d("PageTransitions",["cr:917439"],(function(t,n,r,o,a,i,l){l.default=n("cr:917439")}),98); __d("PageTransitionsConfig.experimental",["cr:19572"],(function(t,n,r,o,a,i,l){"use strict";l.default=n("cr:19572")}),98); __d("unionSets",[],(function(t,n,r,o,a,i){"use strict";function e(){for(var e=new Set,t=arguments.length,n=new Array(t),r=0;r/g,"\\x3e").replace(/&/g,"\\x26")}i.default=e}),66); __d("PageTransitionsBlue",["fbt","invariant","Arbiter","BlueCompatBroker","BlueCompatRouter","Bootloader","DOMQuery","DOMScroll","Env","ErrorGuard","Event","FbtResultBase","HistoryManager","LayerHideOnEscape","PageHooks","PageTransitionsConfig.experimental","PageTransitionsPersistentParams","PageTransitionsRegistrar","ScriptPath","URI","Vector","areEqual","clickRefAction","escapeJSQuotes","ge","gkx","goOrReplace","isFacebookURI","isInIframe","react","setTimeout","uriIsRelativePath"],(function(t,n,r,o,a,i,l,s,u){var e,c,d,m,p,_=p||(p=o("react")),f=["cquick","ctarget","cquick_token","mh_","killabyte","tfc_","tfi_"],g={};function h(e,t){e&&(g[e.getUnqualifiedURI().toString()]=t)}function y(e){return g[e.getUnqualifiedURI().toString()]}function C(e){delete g[e.getUnqualifiedURI().toString()]}function b(){var e=o("PageTransitionsPersistentParams").get(),t={};return window.location.search.slice(1).split("&").forEach(function(n){var r=n.split("="),o=r[0],a=r[1],i=a===void 0?null:a;(f.some(function(e){return o.startsWith(e)})||e.has(o))&&(t[o]=i)}),t}var v=null,S=!1,R=new(e||(e=r("URI")))(""),L=null,E=new e,k=null,I=!1,T=!1,D=!1,x={isInitialized:function(){return S},init:function(t){n("BlueCompatRouter"),x._init(),t!=null&&o("PageTransitionsPersistentParams").add(t)},_init:function(){if(r("isInIframe")())return!1;if(S)return!0;var t=r("PageTransitionsRegistrar").getMostRecentURI();v=t,R=t,L=null,E=t;var n=(c||(c=r("ErrorGuard"))).applyWithGuard(function(t){return(e||(e=r("URI"))).tryParseURI(t)},null,[document.referrer]);k=document.referrer&&n&&r("isFacebookURI")(n)?n:null,S=!0;var o,a=(e||(e=r("URI"))).getRequestURI(!1);return a.getFragment().startsWith("/")?o=a.getFragment():o=t.toString(),r("HistoryManager").init().setCanonicalLocation("#"+o).registerURIHandler(x._historyManagerHandler),r("Event").listen(window,"scroll",function(){I||h(v,r("Vector").getScrollPosition())}),!0},registerHandler:r("PageTransitionsRegistrar").registerHandler,removeHandler:r("PageTransitionsRegistrar").removeHandler,getCurrentURI:function(n){return n===void 0&&(n=!1),x._init(),!v&&!n?new(e||(e=r("URI")))(R):new(e||(e=r("URI")))(v)},isTransitioning:function(){return x._init(),!v},getNextURI:function(){return x._init(),E},getNextReferrerURI:function(){return x._init(),L},getReferrerURI:function(){return x._init(),k},getMostRecentURI:function(){return x._init(),new(e||(e=r("URI")))(R)},go:function(n,o){if(o===void 0&&(o=!1),r("BlueCompatRouter").goFragment(n)){var t=new(e||(e=r("URI")))(n);if(x.restoreScrollPosition(t)){v=R=t;return}}r("BlueCompatRouter").go(n,o)||x.goBase(n,o)},goBase:function(n,o){o===void 0&&(o=!1),x._init();var t=b(),a=new(e||(e=r("URI")))(n).removeQueryData("quickling").addQueryData(t).getQualifiedURI();C(a),!o&&r("clickRefAction")("uri",{href:a.toString()},null,"INDIRECT"),x._loadPage(a,o,function(e){e?r("HistoryManager").go(a.toString(),!1,o):r("goOrReplace")(window.location,a,o)})},_historyManagerHandler:function(n){return n.charAt(0)!="/"?!1:(r("clickRefAction")("h",{href:n}),o("ScriptPath").getClickPointInfo()||o("ScriptPath").setClickPointInfo({click:"back"}),x._loadPage(new(e||(e=r("URI")))(n),!0,function(e){e||r("goOrReplace")(window.location,n,!0)}),!0)},_loadPage:function(n,a,i){if(new(e||(e=r("URI")))(n).getFragment()&&(d||(d=r("areEqual")))(new(e||(e=r("URI")))(n).setFragment("").getQualifiedURI(),new(e||(e=r("URI")))(v).setFragment("").getQualifiedURI())&&(r("Arbiter").inform("pre_page_fragment_transition",{from:new(e||(e=r("URI")))(v).getFragment(),to:new e(n).getFragment()}),x.restoreScrollPosition(n))){v=R=n,r("Arbiter").inform("page_fragment_transition",{fragment:new(e||(e=r("URI")))(n).getFragment()}),i==null||i(!0);return}var t;v&&(t=y(v));var l=function(){t&&v&&h(v,t),L=x.getMostRecentURI(),v=null,E=n,t&&o("DOMScroll").scrollTo(t,!1),I=!0;var e=x._handleTransition(n,a);i&&(e===r("PageTransitionsRegistrar").DELAY_HISTORY?r("setTimeout")(function(){return i(e)},0):i(e))},s=E;E=n;var u=r("PageHooks").runHooks("onbeforeleavehooks");E=s,u?x._warnBeforeLeaving(u,l):l()},_handleTransition:function(n,o){if(window.onbeforeleavehooks=void 0,T||!n.isSameOrigin()&&!r("uriIsRelativePath")(n))return!1;var e=r("PageTransitionsConfig.experimental").reloadOnBootloadError&&x._hasBootloadErrors();if(e)return!1;var a,i=t.AsyncRequest;i&&(a=i.getLastID()),r("Arbiter").inform("pre_page_transition",{from:x.getMostRecentURI(),to:n});for(var l=r("PageTransitionsRegistrar")._getTransitionHandlers(),s=l.length-1;s>=0;--s){var u=l[s];if(u)for(var c=u.length-1;c>=0;--c){var d=u[c](n,o);if(d===!0||d===r("PageTransitionsRegistrar").DELAY_HISTORY){var m={sender:x,uri:n,id:a};try{r("Arbiter").inform("page_transition",m)}catch(e){}return d}else u.splice(c,1)}}return!1},disableTransitions:function(){T=!0},disableScrollAnimation:function(){D=!0},_hasBootloadErrors:function(){return r("Bootloader").getErrorCount()>0},unifyURI:function(){x._init(),v=R=E,k=L},transitionComplete:function(t){t===void 0&&(t=!1),x._init(),I=!1,x._executeCompletionCallbacks(),x.unifyURI(),t||v&&x.restoreScrollPosition(v);try{document.activeElement&&document.activeElement.nodeName==="A"&&document.activeElement.blur()}catch(e){}},_executeCompletionCallbacks:function(){var e=r("PageTransitionsRegistrar")._getCompletionCallbacks();e.length>0&&(r("PageTransitionsRegistrar")._resetCompletionCallbacks(),e.forEach(function(e){return e()}))},registerCompletionCallback:r("PageTransitionsRegistrar").registerCompletionCallback,rewriteCurrentURI:function(t,n){x._init();var e=r("PageTransitionsRegistrar")._getTransitionHandlers(),o=e.length||1,a=!1;r("PageTransitionsRegistrar").registerHandler(function(){if(t&&t.toString()==x.getMostRecentURI().getUnqualifiedURI().toString())return x.transitionComplete(),!0;a=!0},o),x.go(n,!0),e.length===o+1&&e[o].length===(a?0:1)||u(0,1302),e.length=o},_warnBeforeLeaving:function(t,n){r("Bootloader").loadModules(["DialogX","XUIDialogTitle.react","XUIDialogBody.react","XUIDialogButton.react","XUIDialogFooter.react","XUIGrayText.react"],function(e,o,a,i,l,u){var c=typeof t=="string"||t instanceof String||t instanceof r("FbtResultBase")?{body:t,highlightStay:!1,leaveButtonText:s._(/*BTDS*/"Leave this Page"),showCloseButton:!1,stayButtonText:s._(/*BTDS*/"Stay on This Page"),title:s._(/*BTDS*/"Leave page?")}:t,d=_.jsx(o,{showCloseButton:c.showCloseButton,children:c.title}),m=c.highlightStay?[_.jsx(i,{action:"confirm",label:c.leaveButtonText},"confirm"),_.jsx(i,{action:"cancel",use:"confirm",label:c.stayButtonText,className:"autofocus"},"cancel")]:[_.jsx(i,{action:"cancel",label:c.stayButtonText},"cancel"),_.jsx(i,{action:"confirm",use:"confirm",label:c.leaveButtonText,className:"autofocus"},"confirm")],p=new e({width:450,addedBehaviors:[r("LayerHideOnEscape")]},_.jsxs("div",{children:[d,_.jsx(a,{children:_.jsx(u,{shade:"medium",size:"medium",children:c.body})}),_.jsx(l,{children:m})]}));p.subscribe("confirm",function(){p.hide(),n()}),p.show()},"PageTransitionsBlue")},restoreScrollPosition:function(n){var t=y(n);if(t)return o("DOMScroll").scrollTo(t,!1),!0;function a(e){if(!e)return null;var t="a[name='"+r("escapeJSQuotes")(e)+"']";return o("DOMQuery").scry(document.body,t)[0]||r("ge")(e)}var i=a(new(e||(e=r("URI")))(n).getFragment());if(i){var l=!D;return o("DOMScroll").scrollTo(i,l),!0}return!1}};!r("gkx")("21034")&&(m||(m=r("Env"))).isCQuick&&(o("BlueCompatBroker").init(),o("BlueCompatBroker").register("transitionpage",function(n){var a=new(e||(e=r("URI")))(o("BlueCompatBroker").getMessageEventString(n,"uri")),i=new e(window.location.href);if(a.removeQueryData("ctarget"),i.removeQueryData("ctarget"),i.toString()!==a.toString()){var l=t.AsyncRequest;l&&l.ignoreUpdate(),x.goBase(a,!1)}}));var $=x;t.PageTransitions=x,l.default=$}),226); __d("PageTransitionsConfigJSModuleWrapper",["PageTransitionsConfig"],(function(t,n,r,o,a,i,l){"use strict";l.default=r("PageTransitionsConfig")}),98); __d("TabbableElements",["Style"],(function(t,n,r,o,a,i,l){function e(e){if(e.tabIndex<0)return!1;if(e.tabIndex>0||e.tabIndex===0&&e.getAttribute("tabIndex")!==null)return!0;var t=e;switch(e.tagName){case"A":var n=t;return!!n.href&&n.rel!="ignore";case"INPUT":var r=t;return r.type!="hidden"&&r.type!="file"&&!r.disabled;case"BUTTON":case"SELECT":case"TEXTAREA":var o=t;return!o.disabled}return!1}function s(e){for(var t=e;t&&t!==document&&r("Style").get(t,"visibility")!="hidden"&&r("Style").get(t,"display")!="none";)t=t.parentNode;return t===document}function u(e){return Array.from(e.getElementsByTagName("*")).filter(m)}function c(e){return Array.from(e.getElementsByTagName("*")).find(m)}function d(e){for(var t=Array.from(e.getElementsByTagName("*")),n=t.length-1;n>=0;n--)if(m(t[n]))return t[n];return null}function m(t){return e(t)&&s(t)}function p(e){return s(e)}l.find=u,l.findFirst=c,l.findLast=d,l.isTabbable=m,l.isVisible=p}),98); __d("Toggler",["csx","invariant","$","Arbiter","ArbiterMixin","CSS","ContextualThing","DOM","DataStore","Event","Focus","Keys","Parent","TabbableElements","TimeSlice","createArrayFromMixed","emptyFunction","ge","getContextualParent","getObjectValues","mixin","queryThenMutateDOM","setImmediate"],(function(t,n,r,o,a,i,l,s,u){var e=[],c,d=!1;function m(){d||(d=!0,r("setImmediate")(function(){d=!1}))}var p=function(){p=r("emptyFunction"),r("Event").listen(document.documentElement,"click",function(t){if(!d){var n=t.getTarget();e.forEach(function(e){e.clickedTarget=n,e.active&&!e.sticky&&!o("ContextualThing").containsIncludingLayers(e.getActive(),n)&&!e.inTargetFlyout(n)&&e.inActiveDialog()&&!e.isIgnoredByModalLayer(n)&&e.hide()})}},r("Event").Priority.URGENT)},_=(function(n){function a(){var t;return t=n.call(this)||this,t.active=null,t.togglers={},t.setSticky(!1),e.push(t),t.subscribe(["show","hide"],a.inform.bind(a)),p()||babelHelpers.assertThisInitialized(t)}babelHelpers.inheritsLoose(a,n);var i=a.prototype;return i.focusFirstTabbableDescendant=function(t,n){n.$Toggler2&&n.$Toggler2.cancel();var e=null;n.$Toggler2=r("queryThenMutateDOM")(function(){var n=t.querySelector(".uiToggleFlyout");n&&(e=o("TabbableElements").findFirst(n)||n)},function(){delete n.$Toggler2,e&&(e.tabIndex==null&&(e.tabIndex=-1),o("Focus").setWithoutOutline(e))})},i.show=function(t){var e=f(this,t),n=e.active;if(t!==n){n&&e.hide(),e.active=t,o("CSS").addClass(t,"openToggler");var a=r("DOM").scry(t,'a[rel="toggle"]');a.length>0&&a[0].getAttribute("data-target")&&o("CSS").removeClass(r("$")(a[0].getAttribute("data-target")),"toggleTargetClosed"),this.focusFirstTabbableDescendant(t,e),a.length>0&&(r("DOM").appendContent(t,e.getToggler("next")),r("DOM").prependContent(t,e.getToggler("prev"))),r("Event").listen(t,"keydown",function(n){if(r("Event").getKeyCode(n)===r("Keys").ESC&&e.isShown()){var o=r("DOM").scry(t,'a[rel="toggle"]')[0];o&&o.focus(),e.hide(),n.kill()}}),t.getAttribute("data-toggle-wc")&&(e.__continuation=r("TimeSlice").getGuardedContinuation("Toggler.show inform")),e.inform("show",e,"state")}},i.hide=function(t){var e=f(this,t);e.$Toggler2&&e.$Toggler2.cancel();var n=e.active;if(n&&(!t||t===n)){o("CSS").removeClass(n,"openToggler");var a=r("DOM").scry(n,'a[rel="toggle"]');a.length>0&&a[0].getAttribute("data-target")&&o("CSS").addClass(r("$")(a[0].getAttribute("data-target")),"toggleTargetClosed"),r("getObjectValues")(e.togglers).forEach(r("DOM").remove),n.getAttribute("data-toggle-wc")&&(e.__continuation=r("TimeSlice").getGuardedContinuation("Toggler.hide inform")),e.inform("hide",e,"state"),e.active=null}},i.toggle=function(t){var e=f(this,t);e.active===t?e.hide():e.show(t),m()},i.getActive=function(){return f(this).active},i.isShown=function(){return f(this).active&&o("CSS").hasClass(f(this).active,"openToggler")},a.isNodeShown=function(t){return o("CSS").hasClass(t,"openToggler")},i.inTargetFlyout=function(t){var e=g(this.getActive());return!!(e&&o("ContextualThing").containsIncludingLayers(e,t))},i.inActiveDialog=function(){var e=t.Dialog&&t.Dialog.getCurrent();return!e||r("DOM").contains(e.getRoot(),this.getActive())},i.isIgnoredByModalLayer=function(t){var e=!!o("Parent").bySelector(t,"._3qw"),n=!!o("Parent").bySelector(this.getActive(),"._3qw");return e&&!n},i.getToggler=function(t){var e=f(this);return e.togglers[t]||(e.togglers[t]=r("DOM").create("button",{className:"hideToggler",onfocus:function(){var t=r("DOM").scry(e.active,'a[rel="toggle"]')[0];t&&t.focus(),e.hide()},style:{right:t==="next"?"0":""}}),e.togglers[t].setAttribute("type","button")),this.togglers[t]},i.setSticky=function(t){var e=f(this);return t=t!==!1,t!==e.sticky&&(e.sticky=t,t?e.$Toggler1&&e.$Toggler1.unsubscribe():e.$Toggler1=r("Arbiter").subscribe("pre_page_transition",e.hide.bind(e,null))),e},i.setPrePageTransitionCallback=function(t){var e=f(this);e.$Toggler1&&e.$Toggler1.unsubscribe(),e.$Toggler1=r("Arbiter").subscribe("pre_page_transition",t)},a.bootstrap=function(t){var e=t.parentNode;e!=null||u(0,3354);var n=a.getInstance(e);n!=null||u(0,3355),n.toggle(e)},a.createInstance=function(t){var e=new a().setSticky(!0);return o("DataStore").set(t,"toggler",e),e},a.destroyInstance=function(t){var e=o("DataStore").get(t,"toggler");e&&e.$Toggler2&&e.$Toggler2.cancel(),o("DataStore").remove(t,"toggler")},a.getInstance=function(t){for(var e=t;e;){var n=o("DataStore").get(e,"toggler");if(n)return n;if(e instanceof Element){if(o("CSS").hasClass(e,"uiToggleContext"))return a.createInstance(e);if(o("CSS").hasClass(e,"uiToggleFlyout"))return a.createInstance(e).setSticky(!1)}e=r("getContextualParent")(e)}return c=c||new a},a.listen=function(t,n,o){return a.subscribe(r("createArrayFromMixed")(t),function(e,t){if(t.getActive()===n){if(t.__continuation){var r=t.__continuation;return delete t.__continuation,r(function(){return o(e,t)})}return o(e,t)}})},a.addListener=function(t){var e=t.element,n=t.events,r=t.handler;return a.listen(n,e,function(){return r.callback()})},a})(r("mixin")(r("ArbiterMixin")));Object.assign(_,_.prototype,r("ArbiterMixin")),Object.assign(_,{subscribe:(function(t){return function(n,o){return n=r("createArrayFromMixed")(n),n.includes("show")&&e.forEach(function(e){e.getActive()&&setTimeout(o.bind(null,"show",e),0)}),t(n,o)}})(_.subscribe.bind(_))});function f(e,t){return e instanceof _?e:_.getInstance(t)}function g(e){var t=r("DOM").scry(e,'a[rel="toggle"]');return t.length>0&&t[0].getAttribute("data-target")?r("ge")(t[0].getAttribute("data-target")):null}l.default=_}),98); __d("curry",["bind"],(function(t,n,r,o,a,i,l){var e=r("bind")(null,r("bind"),null),s=e;l.default=s}),98); __d("ParameterizedPopover",["invariant","ArbiterMixin","CSS","DataStore","Event","Focus","KeyStatus","Keys","LayerHideOnEscape","SubscriptionsHandler","Toggler","curry","mixin"],(function(t,n,r,o,a,i,l){n("Toggler").subscribe(["show","hide"],function(e,t){var r=t.getActive();r!=null||l(0,4839);var o=n("DataStore").get(r,"Popover");o&&(e==="show"?o.showLayer():o.hideLayer())});var e=(function(e){"use strict";function t(t,n,r,o){var a;return a=e.call(this)||this,typeof t=="string"&&typeof n=="string"?window.setTimeout(function(){var e=document.getElementById(t),i=document.getElementById(n);a.construct(e,i,r,o)}):a.construct(t,n,r,o),a}babelHelpers.inheritsLoose(t,e);var r=t.prototype;return r.construct=function(t,r,o,a){this._root=t,this._triggerElem=r,this._behaviors=o,this._config=a||{},this._disabled=!!this._config.disabled,this._listeners=new(n("SubscriptionsHandler")),this._disabled||((r.nodeName!=="A"||r.rel==null||r.rel.indexOf("toggle")<0)&&this._setupClickListener(),this._setupKeyListener(),this._setupFocusListener(),this._setupBlurListener()),r.setAttribute("role","button"),n("DataStore").set(t,"Popover",this),n("Toggler").getActive()===t&&this.showLayer()},r.ensureInit=function(){this._layer||this._init()},r.showLayer=function(){this._disabled||(this.ensureInit(),this._layer.show(),n("Toggler").show(this._root),n("CSS").addClass(this._root,"selected"),this.inform("show"))},r.getContentRoot=function(){return this._root},r.getLayer=function(){return this.ensureInit(),this._layer},r.hideLayer=function(){this.ensureInit(),this._layer.hide()},r.isShown=function(){return this._layer&&this._layer.isShown()},r.setLayerContent=function(t){this.ensureInit(),this._layer.setContent&&this._layer.setContent(t)},r._init=function(){var e=this._config.layer;e.enableBehaviors([n("LayerHideOnEscape")]),n("Toggler").createInstance(e.getRoot()).setSticky(!1),e.subscribe("hide",this._onLayerHide.bind(this)),this._behaviors&&e.enableBehaviors(this._behaviors),this._layer=e,this.inform("init",null,"persistent")},r._onLayerHide=function(){n("Toggler").hide(this._root),n("CSS").removeClass(this._root,"selected"),this.inform("hide"),n("KeyStatus").getKeyDownCode()===n("Keys").ESC&&n("Focus").set(this._triggerElem)},r.enable=function(){this._disabled&&(this._listeners.engage(),this._setupClickListener(),this._setupKeyListener(),this._setupFocusListener(),this._setupBlurListener(),this._disabled=!1)},r.disable=function(){this._disabled||(this.isShown()&&this.hideLayer(),this._listeners.release(),this._triggerElem.getAttribute("rel")==="toggle"&&this._triggerElem.removeAttribute("rel"),this._disabled=!0)},r._setupClickListener=function(){this._listeners.addSubscriptions(n("Event").listen(this._triggerElem,"click",n("curry")(n("Toggler").bootstrap,this._triggerElem)))},r._setupKeyListener=function(){this._listeners.addSubscriptions(n("Event").listen(this._triggerElem,"keydown",this._handleKeyEvent.bind(this)))},r._setupFocusListener=function(){this._listeners.addSubscriptions(n("Event").listen(this._triggerElem,"focus",this._handleFocusEvent.bind(this)))},r._setupBlurListener=function(){this._listeners.addSubscriptions(n("Event").listen(this._triggerElem,"blur",this._handleBlurEvent.bind(this)))},r._handleKeyEvent=function(t){if(!t.getModifiers().any){var e=n("Event").getKeyCode(t);switch(e){case n("Keys").DOWN:case n("Keys").UP:if(this._config.disableArrowKeyActivation)return;this.isShown()||n("Toggler").bootstrap(this._triggerElem);break;case n("Keys").RETURN:if(!this._config.enableActivationOnEnter)return;this.isShown()||n("Toggler").bootstrap(this._triggerElem);break;case n("Keys").SPACE:n("Toggler").bootstrap(this._triggerElem);break;default:return}t.prevent()}},r._handleFocusEvent=function(t){n("CSS").addClass(this._root,"focused")},r._handleBlurEvent=function(t){n("CSS").removeClass(this._root,"focused")},r.destroy=function(){this.disable(),n("DataStore").remove(this._root,"Popover")},t})(n("mixin")(n("ArbiterMixin")));Object.assign(e.prototype,{_layer:null}),a.exports=e}),null); __d("PerfHelperUtils",["cx","DeferredComponent.react","JSResource","joinClasses","promiseDone","react"],(function(t,n,r,o,a,i,l,s){"use strict";var e,u=e||(e=o("react"));function c(e){var t=e.children,n=e.className,o=e.color,a=e.tooltip;return u.jsx("div",babelHelpers.extends({},{0:{className:"x1rg5ohu xh8yej3"},2:{className:"x1rg5ohu xh8yej3 x1mcmo0z"},1:{className:"x1rg5ohu xh8yej3 xenqo9p"},3:{className:"x1rg5ohu xh8yej3 xenqo9p"}}[(o==="red")<<1|(o==="green")<<0],{children:u.jsx(r("DeferredComponent.react"),{"data-tooltip":a,deferredPlaceholder:u.jsx("div",{}),deferredComponent:function(t){r("promiseDone")(r("JSResource")("Tooltip.react").__setRef("PerfHelperUtils").load(),t)},className:r("joinClasses")("_5_my",n),tooltip:a,children:t})}))}c.displayName=c.name+" [from "+i.id+"]";function d(e){var t=e.children,n=e.moduleId,r=e.timeLimitSecs,o=e.timeSpentSecs;return u.jsx(c,{color:"red",tooltip:"This bootloaded component has a red border\n because "+n+"\n took over "+r+" seconds ("+o+"s) to load",children:t})}d.displayName=d.name+" [from "+i.id+"]",l.BorderedComponent=c,l.SlowBootloadBorder=d}),98); __d("Popover",["ContextualLayer","ContextualLayerHideOnScroll","DOM","ParameterizedPopover"],(function(t,n,r,o,a,i,l){var e=(function(e){function t(){return e.apply(this,arguments)||this}babelHelpers.inheritsLoose(t,e);var n=t.prototype;return n._init=function(){var t=new(r("ContextualLayer"))({context:this._triggerElem,position:"below",arrowDimensions:{offset:12,length:16},"data-testid":this._config["data-testid"]},r("DOM").create("div"));this._config.shouldDisableHideOnScroll||t.enableBehaviors([r("ContextualLayerHideOnScroll")]),this._config.layer=t,this._config.alignh&&t.setAlignment(this._config.alignh),this._config.layer_content&&t.setContent(this._config.layer_content),this._config.position&&t.setPosition(this._config.position),this._config.arrowDimensions&&t.setArrowDimensions(this._config.arrowDimensions),e.prototype._init.call(this)},n.destroy=function(){e.prototype.destroy.call(this),this._layer&&this._layer.destroy()},t})(r("ParameterizedPopover"));l.default=e}),98); __d("PopoverMenu",["ARIA","ArbiterMixin","BehaviorsMixin","Event","Focus","KeyStatus","Keys","SubscriptionsHandler","VirtualCursorStatus","mixin","setTimeout"],(function(t,n,r,o,a,i,l){var e=(function(e){function t(t,n,a,i){var l;return l=e.call(this)||this,l._popover=t,l._triggerElem=n,l._getInitialMenu=typeof a!="function"?function(){return a}:a,l._subscriptions=new(r("SubscriptionsHandler")),l._subscriptions.addSubscriptions(t.subscribe("init",function(){return l._onLayerInit()}),t.subscribe("show",function(){return l._onPopoverShow()}),t.subscribe("hide",function(){return l._onPopoverHide()}),r("Event").listen(l._triggerElem,"keydown",function(e){return l._handleKeyEventOnTrigger(e)}),o("VirtualCursorStatus").add(l._triggerElem,function(){return l._checkInitialFocus()})),i&&l.enableBehaviors(i),l}babelHelpers.inheritsLoose(t,e);var n=t.prototype;return n.getContentRoot=function(){return this._popover.getContentRoot()},n.setMenu=function(t){var e=this;this._menu&&this._menu!==t&&this._menu.destroy(),this._menu=t;var n=t.getRoot();this._popover.setLayerContent(n),t.subscribe("done",function(t){return e._onMenuDone(t)}),this._popoverShown&&this._menu.onShow(),o("ARIA").controls(this._triggerElem,n),this.inform("setMenu",null,"persistent")},n.setInitialFocus=function(t,n){n&&t.focusAnItem()},n.getPopover=function(){return this._popover},n.getTriggerElem=function(){return this._triggerElem},n.getInitialMenu=function(){return this._getInitialMenu()},n.getMenu=function(){return this._menu},n._onLayerInit=function(){var e=this;this._menu||this.setMenu(this._getInitialMenu()),this._popover.getLayer().subscribe("key",function(t,n){return e._handleKeyEvent(t,n)})},n._onPopoverShow=function(){this._menu&&this._menu.onShow(),this._checkInitialFocus(),this._popoverShown=!0},n._checkInitialFocus=function(){var e=o("KeyStatus").isKeyDown()||o("VirtualCursorStatus").isVirtualCursorTriggered();this._menu&&this.setInitialFocus(this._menu,e)},n._onPopoverHide=function(){this._menu&&this._menu.onHide(),this._popoverShown=!1},n._handleKeyEvent=function(t,n){if(n.target!==this._triggerElem){var e=r("Event").getKeyCode(n);if(e===r("Keys").TAB){this._popover.hideLayer(),o("Focus").set(this._triggerElem);return}if(!n.getModifiers().any){switch(e){case r("Keys").RETURN:this.getMenu().getFocusedItem()||this.inform("returnWithoutFocusedItem");return;default:if(e===r("Keys").SPACE&&n.target.type==="file")return;this._menu.handleKeydown(e,n)===!1&&(this._menu.blur(),this._menu.handleKeydown(e,n));break}n.prevent()}}},n._handleKeyEventOnTrigger=function(t){if(!this._isTypeaheadActivationDisabled){var e=r("Event").getKeyCode(t),n=String.fromCharCode(e).toLowerCase();/^\w$/.test(n)&&(this._popover.showLayer(),this._menu.blur(),this._menu.handleKeydown(e,t)===!1&&(this._popover.hideLayer(),o("Focus").set(this._triggerElem)))}},n.disableTypeaheadActivation=function(){this._isTypeaheadActivationDisabled=!0},n.enableTypeaheadActivation=function(){this._isTypeaheadActivationDisabled=!1},n._onMenuDone=function(t){var e=this;r("setTimeout")(function(){e._popover.hideLayer(),o("Focus").set(e._triggerElem)},0)},n.enable=function(){this._popover.enable()},n.disable=function(){this._popover.disable()},n.destroy=function(){this._subscriptions.release(),this._popover.destroy(),this._getInitialMenu().destroy(),this._menu&&this._menu.destroy()},t})(r("mixin")(r("ArbiterMixin"),r("BehaviorsMixin")));Object.assign(e.prototype,{_popoverShown:!1}),l.default=e}),98); __d("PopoverMenu.react",["cx","CSS","DangerouslyAccessReactElementInternals_DO_NOT_USE_IN_NEW_CODE","InlineBlock.react","Popover","PopoverMenu","SubscriptionsHandler","areEqual","clearImmediate","joinClasses","react","setImmediate"],(function(t,n,r,o,a,i,l,s){var e,u,c=u||(u=o("react")),d=(function(t){function n(){for(var e,n=arguments.length,r=new Array(n),o=0;oo?(c=u,p||(f=u),l>=(_||e)&&(d=!0,m=u),n("Arbiter").inform("useractivity/activity",{event:r,idleness:l,last_inform:c})):lr("VideoPlayerExperiments").reloadingPixelBoundary+e&&this.$6(t)}else t.getDistanceToViewport()<0&&!t.isVisible()&&this.$5(t)},t.addVideoUnit=function(t){this.$1.has(t)||(this.$1.add(t),this.$2.set(t,{y:t.getDistanceToViewport(),timestamp:new Date().valueOf(),v:0,abortedLoading:!1}))},t.removeVideoUnit=function(t){this.$1.delete(t),this.$2.delete(t)},t.calculateFutureScrollPosition=function(t){var e=t.y1-t.y0,n=t.t1-t.t0,r=e/n,o=r-t.v0,a=o/n,i=t.t,l=a*i*i/2+i*r+t.y1;return{v1:r,a:a,S:l}},t.preloadClosestVideoUnits=function(t){var e=this;this.$7(t).forEach(function(t){return e.$6(t)})},t.$7=function(t){return Array.from(this.$1).filter(function(e){return e.getDistanceToViewport()>=0}).sort(function(e,t){return e.getDistanceToViewport()-t.getDistanceToViewport()}).slice(0,t)},t.$6=function(t){var e=this.$2.get(t);e||s(0,3497);var n;e&&(n=e.abortedLoading,e.abortedLoading=!1),n&&t.preload()},t.$5=function(t){var e=this.$2.get(t);e||s(0,3497);var n;e&&(n=e.abortedLoading,e.abortedLoading=!0),!n&&typeof t.abortLoading=="function"&&t.abortLoading()},t.$4=function(t){var e=r("getViewportDimensions")().height,n=1600,o=e/2,a=o+n,i=-o,l=i-n,u=this.$2.get(t);if(u||s(0,3497),!!u){var c=t.getDistanceToViewport(),d=u.y;u.y=c;var m=new Date().valueOf(),p=u.timestamp;u.timestamp=m;var _=u.v;if(l<=c&&a>=c){u.abortedLoading&&this.$6(t);return}var f=500,g=this.calculateFutureScrollPosition({y0:d,y1:c,t0:p,t1:m,v0:_,t:f});u.v=g.v1;var h=g.S;u.abortedLoading?(cl||c>a&&hr;);return n=n.slice(0,o),n.length<=e}}function s(e,t,n){var o=null;return function(){for(var a=arguments.length,i=new Array(a),l=0;l-1){this.$10.splice(e,1);var n=t.getVideoPlayerController();n&&n.unregisterOption("VideoAutoplayControllerBase/VideoScrollTracker","getLastScrollDirection")}},n.getPlayingVideoUnit=function(){return this.$3},n.setPlayingVideoUnit=function(t){this.$3=t,this.$3&&this.setupPlayingVideoUnitSubscriptions()},n.getLastScrollDirection=function(){return this.$11?this.$11.getLastScrollDirection():null},n.playVideo=function(t,n){if(r("VideoPlayerExperiments").disableAutoplayForInactiveTab&&r("Visibility").isHidden()){if(r("VideoPlayerExperiments").removeHiddenVideoTracking){this.setPlayingVideoUnit(null);return}this.$2=t;return}if(this.setPlayingVideoUnit(t),this.$3){var e=this.$6;e?this.$7=e.call(this,n):this.$3.playWithoutUnmute(n)}},n.setupPlayingVideoUnitSubscriptions=function(){throw new Error("Should be overridden")},n.addSubscriberVideoUnit=function(){if(!this.getVideoUnits().length){var e;this.$5.addSubscriptions(r("Event").listen(window,"resize",this.updateAutoplay.bind(this)),r("Event").listen(window,"blur",this.$12.bind(this)),r("Event").listen(window,"focus",this.$13.bind(this)),(e=r("Visibility")).addListener(e.HIDDEN,this.$12.bind(this)),e.addListener(e.VISIBLE,this.$13.bind(this)),r("Arbiter").subscribe(o("DesktopHscrollUnitEventConstants").HSCROLL_ITEM_SHOWN_EVENT,this.updateAutoplay.bind(this))),this.$14()||this.$15()}},n.$12=function(){r("VideoPlayerExperiments").removeHiddenVideoTracking?this.$16("page_visibility_initiated"):this.$2||(this.$2=this.getPlayingVideoUnit(),this.$16("page_visibility_initiated"))},n.$13=function(){r("VideoPlayerExperiments").removeHiddenVideoTracking?this.updateAutoplay():this.$2&&(this.playVideo(this.$2,"page_visibility_initiated"),this.$2=null)},n.$15=function(){var e=this,t=function(){e.$11&&e.$11.onScroll(),e.updateAutoplay()};this.$4&&this.$4.remove(),this.$8=r("throttle")(t,this.$1),this.$9=r("debounce")(function(){return e.updateAutoplay()},this.$1);var n=function(){return t()};this.$4=r("Event").listen(window,"scroll",n)},n.$14=function(){return!!this.$4},n.getClosestVideoUnits=function(t){return this.$10.filter(function(e){return e.getDistanceToViewport()>=0}).sort(function(e,t){return e.getDistanceToViewport()-t.getDistanceToViewport()}).slice(0,t)},n.getVisibleUnits=function(){var e=[];return this.$10.forEach(function(t){var n=t.getVideoPlayerController();t.isVisible()?(e.push(t),t.wasVisible||(t.wasVisible=!0,t.logDisplayed(),n&&n.emit("becomeVisible"))):t.wasVisible&&(n&&n.emit("becomeInvisible"),t.wasVisible=!1)}),e},n.$17=function(t){var e=o("VideoPlayerShakaGlobalConfig").getBool("oz_www_allow_abort_loading_from_autoplay_controller",!1),n=r("ShakaConstants").strings.defer_which_video_to_abort_loading_decisioning_logic,a=t.getVideoPlayerController();if(!e&&a&&a.isPlayerVersion("oz"))return!1;var i=a?a.isLiveVideo():null;return i!==null&&(n==="vod"&&i||n==="live"&&!i)?!1:r("VideoAutoplayControllerAbortLoadingHelper").shouldAbortLoadingVideoUnit(t)},n.pausePlayingVideo=function(t,n){var e=this.$3;if(e){var o=function(){if(!e.isState("playing")){if(r("VideoPlayerExperiments").abortLoadingReUpStillVisibleVideos&&e.isVisible()){r("setTimeout")(o,r("ShakaConstants").numbers.abort_loading_delay);return}typeof e.abortLoading=="function"&&e.abortLoading()}};if(e.isVisible()){var a=e.getVideoPlayerController();if(a&&a.isPlayRequestPending())return}this.$7()||e.pause(t),r("VideoPlayerExperiments").decoupleAbortLoadingFromPause||this.$17(e)&&!n&&r("setTimeout")(o,r("ShakaConstants").numbers.abort_loading_delay),this.$3=null}},n.$16=function(t){this.pausePlayingVideo(t,!0)},n.updateAutoplay=function(){throw new Error("Should be overridden")},t})();l.default=u}),98); __d("XVideoAutoplayNuxAsyncController",["XController"],(function(t,n,r,o,a,i){a.exports=n("XController").create("/video/autoplay/nux/",{})}),null); __d("VideoAutoplayControllerX",["csx","AsyncRequest","DOM","DocumentFocusForMutedVideoAutoplayRule","Event","Network","Run","ShakaConstants","SubscriptionsHandler","ThisControllerNoLongerExists","VideoAutoplayControllerAbortLoadingHelper","VideoAutoplayControllerBase","VideoPlayerExperiments","XVideoAutoplayNuxAsyncController","clearTimeout","destroyOnUnload","getViewportDimensions","performanceNow","setTimeout"],(function(t,n,r,o,a,i,l,s){"use strict";var e,u=null,c=!1;function d(e){return e?!0:!r("VideoPlayerExperiments").delayAutoplayUntilAfterLoad||c}var m=(function(t){function n(){var e;e=t.call(this,r("VideoPlayerExperiments").videoPollingFrequency)||this,e.$VideoAutoplayControllerX$p_4=!1,e.$VideoAutoplayControllerX$p_5=!1,e.$VideoAutoplayControllerX$p_6=0,e.$VideoAutoplayControllerX$p_17=new(r("VideoAutoplayControllerAbortLoadingHelper")),e.$VideoAutoplayControllerX$p_10=new(r("SubscriptionsHandler")),e.$VideoAutoplayControllerX$p_18=new(r("SubscriptionsHandler")),e.$VideoAutoplayControllerX$p_12=!0,e.$VideoAutoplayControllerX$p_9=!0,e.$VideoAutoplayControllerX$p_13=!0,e.$VideoAutoplayControllerX$p_2=null,e.$VideoAutoplayControllerX$p_1=null,e.$VideoAutoplayControllerX$p_14=!1,e.$VideoAutoplayControllerX$p_3=null,e.$VideoAutoplayControllerX$p_7=!1,e.$VideoAutoplayControllerX$p_16=!1,e.$VideoAutoplayControllerX$p_15=!1;var n=r("XVideoAutoplayNuxAsyncController").getURIBuilder().getURI();return new(r("AsyncRequest"))(n).setMethod("GET").setReadOnly(!0).send(),r("destroyOnUnload")(function(){e.$VideoAutoplayControllerX$p_19(),r("VideoPlayerExperiments").disableAutoplayOnHomePgUpPgDownEnd&&(e.$VideoAutoplayControllerX$p_11&&r("clearTimeout")(e.$VideoAutoplayControllerX$p_11),e.$VideoAutoplayControllerX$p_8.remove()),e===u&&(u=null)}),o("Run").onAfterLoad(function(){c=!0,r("VideoPlayerExperiments").delayAutoplayUntilAfterLoad&&u&&u.updateAutoplay(),document.hasFocus()||r("Event").fire(window,"blur"),r("VideoPlayerExperiments").disableAutoplayOnHomePgUpPgDownEnd&&e.$VideoAutoplayControllerX$p_20()}),e.$VideoAutoplayControllerX$p_21(Date.now()),e}babelHelpers.inheritsLoose(n,t),n.$VideoAutoplayControllerX$p_22=function(t){return r("VideoPlayerExperiments").fixVPCCallBeforeLoaded?!(t.isState("fallback")||t.isState("loading")):!0};var a=n.prototype;return a.$VideoAutoplayControllerX$p_20=function(){var e=this,t=33,n=34,o=35,a=36;this.$VideoAutoplayControllerX$p_11=null;var i=function(){e.$VideoAutoplayControllerX$p_23(e.$VideoAutoplayControllerX$p_9),r("clearTimeout")(e.$VideoAutoplayControllerX$p_11),e.$VideoAutoplayControllerX$p_11=null};this.$VideoAutoplayControllerX$p_8=r("Event").listen(document.body,"keydown",function(l){var s=-1;switch(l.keyCode){case t:case n:s=r("VideoPlayerExperiments").pressPgUpPgDownAutoplayShutoffInterval;break;case o:case a:s=r("VideoPlayerExperiments").pressHomeEndAutoplayShutoffInterval;break;default:break}s>-1&&(e.$VideoAutoplayControllerX$p_11?(r("clearTimeout")(e.$VideoAutoplayControllerX$p_11),e.$VideoAutoplayControllerX$p_11=r("setTimeout")(i,s)):e.$VideoAutoplayControllerX$p_12&&(e.$VideoAutoplayControllerX$p_23(!1),e.$VideoAutoplayControllerX$p_11=r("setTimeout")(i,s)))})},a.$VideoAutoplayControllerX$p_23=function(t){this.$VideoAutoplayControllerX$p_12=t,this.updateAutoplay()},n.registerVideoUnit=function(t){u==null&&(u=new n),u.addSubscriberVideoUnit(),u.registerDefaultAutoplayRules(t),u.addVideoUnit(t);var e=new(r("SubscriptionsHandler"));return e.addSubscriptions.apply(e,u.$VideoAutoplayControllerX$p_24(t)),u.$VideoAutoplayControllerX$p_25(),t.isVisible()&&d(t.shouldImmediatelyAutoplayOnRegister())&&u.updateAutoplay(),u.shouldRestoreAllSubsequentStreamBufferSizes()&&u.restoreStreamBufferSize(),function(){u&&u.removeVideoUnit(t),e.release(),u&&t===u.getPlayingVideoUnit()&&(u.$VideoAutoplayControllerX$p_18.release(),u.setPlayingVideoUnit(null))}},n.setShouldAutoplay=function(t){u==null&&(u=new n),u.$VideoAutoplayControllerX$p_12=t,u.$VideoAutoplayControllerX$p_13=t,u.$VideoAutoplayControllerX$p_9=t,u.updateAutoplay()},a.$VideoAutoplayControllerX$p_19=function(){this.$VideoAutoplayControllerX$p_10.release(),this.$VideoAutoplayControllerX$p_18.release()},n.setAutoplayNux=function(t,n){var e=u;if(e){e.$VideoAutoplayControllerX$p_2=t,e.$VideoAutoplayControllerX$p_1=n,e.$VideoAutoplayControllerX$p_14=!0;var o=r("DOM").find(n.getContentRoot(),"._5cqr");r("Event").listen(o,"click",function(){e.$VideoAutoplayControllerX$p_26()});var a=r("DOM").scry(n.getContentRoot(),"._36gl")[0];a&&r("Event").listen(a,"click",function(){e.$VideoAutoplayControllerX$p_26()})}},a.$VideoAutoplayControllerX$p_26=function(){this.$VideoAutoplayControllerX$p_1&&this.$VideoAutoplayControllerX$p_1.hide(),this.$VideoAutoplayControllerX$p_14=!1;var e=o("ThisControllerNoLongerExists").__DEADBUILDER__("flhg1h0jl").getURI();new(r("AsyncRequest"))(e).setAllowCrossPageTransition().send()},a.registerDefaultAutoplayRules=function(t){r("VideoPlayerExperiments").useBringYourOwnAutoplayRule&&r("VideoPlayerExperiments").pauseMutedIfNoDocumentFocus&&t.registerAutoplayRule(new(r("DocumentFocusForMutedVideoAutoplayRule"))(t))},a.setupPlayingVideoUnitSubscriptions=function(){var e=this,t=this.getPlayingVideoUnit();t&&t.addListener&&(this.$VideoAutoplayControllerX$p_10.release(),this.$VideoAutoplayControllerX$p_10.engage(),t.isLooping()||this.$VideoAutoplayControllerX$p_10.addSubscriptions(t.addListener("finishPlayback",function(){e.setPlayingVideoUnit(null)})),this.$VideoAutoplayControllerX$p_10.addSubscriptions(t.addListener("turnOffAutoplay",function(){e.setPlayingVideoUnit(null)}),t.addListener("pausePlayback",function(){e.$VideoAutoplayControllerX$p_25()}),t.addListener("finishPlayback",function(){e.$VideoAutoplayControllerX$p_25()}),r("Network").addListener("online",function(){e.$VideoAutoplayControllerX$p_25()}),r("Network").addListener("offline",function(){e.$VideoAutoplayControllerX$p_25()})))},a.$VideoAutoplayControllerX$p_25=function(){var e=this;if(r("VideoPlayerExperiments").webVideosBlockAutoplayWhenOffline)if(r("Network").isOnline())this.$VideoAutoplayControllerX$p_12=this.$VideoAutoplayControllerX$p_13;else{this.$VideoAutoplayControllerX$p_13=this.$VideoAutoplayControllerX$p_12,this.$VideoAutoplayControllerX$p_12=!1;return}for(var t=this.getVideoUnits(),o=0;o1){var a=r("getViewportDimensions")().height/2;t.forEach(function(t){if(t.isAutoplayable()&&!(r("VideoPlayerExperiments").useBringYourOwnAutoplayRule&&!e.$VideoAutoplayControllerX$p_28(t))){var n=t.getDOMPosition(),i=n.y+n.height/2,l=Math.abs(i-a);t.playPriority=l,(!o||!o.playPriority||t.playPriority=o){if(this.$VideoAutoplayControllerX$p_6=t,this.$VideoAutoplayControllerX$p_5){for(var s=this.getVisibleUnits(),u=0;u=0&&(e=o+1)}else for(var a=r("getViewportDimensions")().height/2,i=0;i0){e=i;break}}if(e!==-1)for(var c=0;c0;return this.$3||e},t.$14=function(t,n,r){var e={};e.event=t,e.request_status=n,e.perf_time_ms=Date.now()-r},t.fetchFirstStory=function(t,n,o){var e=this;if(n===null&&this.$5.length!==0){var a=this.$5.indexOf(this.$7);n=this.$6[a]}var i=r("XVideoChannelViewStoryAsyncController").getURIBuilder().setEnum("caller",this.$4).setStringVector("video_ids",[this.$7]).setString("root_video_id",this.$7).setBool("is_first_story",!0).setBool("use_video_placeholder",t).setBool("setup_interactions",o).setString("channel_id",this.$8).setString("ad_impression_token",this.$11);n&&i.setStringVector("feed_tracking_data",[JSON.stringify(n)]);var l=Date.now(),s=new(r("AsyncRequest"))(i.getURI()).setAllowCrossPageTransition(!0).setHandler(function(){e.$14("fetch_first_story","succeeded",l),e.$15()}).setErrorHandler(function(){e.$14("fetch_first_story","failed",l),e.$15()}).setAbortHandler(function(){e.$14("fetch_first_story","aborted",l),e.$15()});this.$1=s,this.$10=Date.now(),s.send()},t.getPreloadedData=function(){return{stories:this.$12,thumbnails:this.$13}},t.$16=function(t,n){var e=this;if(this.$8){var a=o("ThisControllerNoLongerExists").__DEADBUILDER__("jp6s5648o").setString("id",this.$8).setEnum("caller",this.$4).setString("original_video_id",this.$7).setInt("story_count",t);this.$2&&a.setString("cursor",this.$2.toString());var i=Date.now(),l=a.getURI(),s=new(r("AsyncRequest"))(l).setAllowCrossPageTransition(!0).setHandler(function(t){e.$14("fetch_stories_from_entquery","succeeded",i),e.$2=t.getPayload().cursor,e.$3=t.getPayload().hasNextPage,e.$15(),e.$17(t,function(t,r){return e.$12=[].concat(e.$12,t),e.$13=[].concat(e.$13,r),n(t,r)})}).setErrorHandler(function(){e.$14("fetch_stories_from_entquery","failed",i),e.$15()}).setAbortHandler(function(){e.$14("fetch_stories_from_entquery","aborted",i),e.$15()});this.$1=s,s.send()}},t.$18=function(t,n,o){var e=this,a=this.$9.end,i=this.$5.length-a,l=a+Math.min(i,t);if(i>0){var s=this.$5.slice(a,l),u=this.$6.slice(a,l).map(function(e){return JSON.stringify(e)}),c=r("XVideoChannelViewStoryAsyncController").getURIBuilder().setEnum("caller",this.$4).setString("channel_id",this.$8).setString("root_video_id",this.$7).setStringVector("video_ids",s).setStringVector("feed_tracking_data",u),d=Date.now();this.$1=new(r("AsyncRequest"))(c.getURI()).setAllowCrossPageTransition(!0).setErrorHandler(function(){e.$14("fetch_stories_forward","failed",d),e.$15()}).setAbortHandler(function(){e.$14("fetch_stories_forward","aborted",d),e.$15()}).setHandler(function(t){e.$14("fetch_stories_forward","succeeded",d),e.$9.end=l,e.$15(),e.$17(t,function(t,r){return e.$12=[].concat(e.$12,t),e.$13=[].concat(e.$13,r),n(t,r)})}),this.$1.send(),o&&o(i)}else this.$3&&(this.$16(t,n),o&&o(t))},t.$19=function(t,n,o){var e=this,a=this.$9.start;if(a>0){var i=Math.max(a-t,0),l=this.$5.slice(i,a),s=this.$6.slice(i,a).map(function(e){return JSON.stringify(e)}),u=r("XVideoChannelViewStoryAsyncController").getURIBuilder().setEnum("caller",this.$4).setString("channel_id",this.$8).setString("root_video_id",this.$7).setStringVector("video_ids",l).setStringVector("feed_tracking_data",s),c=Date.now();this.$1=new(r("AsyncRequest"))(u.getURI()).setAllowCrossPageTransition(!0).setErrorHandler(function(){e.$14("fetch_stories_backward","failed",c),e.$15()}).setAbortHandler(function(){e.$14("fetch_stories_backward","aborted",c),e.$15()}).setHandler(function(t){e.$14("fetch_stories_backward","succeeded",c),e.$9.start=i,e.$15(),e.$17(t,n)}),this.$1.send(),o&&o(a-i)}},t.fetchStories=function(t,n,r){var e=3;this.$1||(t?this.$18(e,n,r):this.$19(e,n,r))},t.$17=function(t,n){var e=t.getPayload(),o=r("HTML").replaceJSONWrapper(e.stories).getNodes(),a=e.thumbnails.map(function(e){return r("HTML").replaceJSONWrapper(e).getRootNode()});n(o,a)},t.$15=function(){this.$1=null},e})();l.default=e}),98); __d("VideoClipButton.react",["cx","fbt","ix","AbstractButton.react","Arbiter","Image.react","TooltipData","XUISpinner.react","XUIText.react","react"],(function(t,n,r,o,a,i,l,s,u,c){"use strict";var e,d=e||(e=o("react")),m=u._(/*BTDS*/"Generating clip..."),p=(function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o2)return null;if(n.length===2){if(n[1].length===0)return null;for(var r=n[1];r.length<3;)r+="0";var a=Number(r);if(isNaN(a)||a<0||a>=o("DateConsts").MS_PER_SEC)return null;t+=a/o("DateConsts").MS_PER_SEC}var i=n[0].split(":");if(i.length>3)return null;for(var l=0;l=60)return null;t+=s*Math.pow(60,i.length-l-1)}return t}function u(e){var t;e=Math.round(e*(t=o("DateConsts")).MS_PER_SEC)/t.MS_PER_SEC;var n=Math.floor(e/t.SEC_PER_HOUR),r=e-n*t.SEC_PER_HOUR,a=Math.floor(r/t.SEC_PER_MIN),i=Math.floor(r-a*t.SEC_PER_MIN),l=Math.round(r*t.MS_PER_SEC),s=("0"+n).slice(-2),u=("0"+a).slice(-2),c=("0"+i).slice(-2),d=("00"+l).slice(-3),m="";return n>0&&(m+=s+":"),m+=u+":"+c+"."+d}function c(e,t){var n=Math.ceil(e)*o("DateConsts").MS_PER_SEC;if(n=a)return[];var i=r("VideoInstreamAdsConstants.experimental").AD_INSERTION_START_TIME_OFFSET_MS/o("DateConsts").MS_PER_SEC,l=t-r("VideoInstreamAdsConstants.experimental").AD_INSERTION_END_TIME_OFFSET_MS/o("DateConsts").MS_PER_SEC,s=r("VideoInstreamAdsConstants.experimental").AD_INSERTION_INTERVAL_MS/o("DateConsts").MS_PER_SEC;if(e.length===0||!n)return[{start:i,end:l}];var u=[];return e.forEach(function(t,n){if(n===0){var r=t.timeOffset-s;r>=i&&u.push({start:i,end:r})}if(n-1>=0){var o=e[n-1].timeOffset+s,a=t.timeOffset-s;o<=a&&u.push({start:o,end:a})}if(n===e.length-1){var c=t.timeOffset+s;c<=l&&u.push({start:c,end:l})}}),u}function m(e,t,n,r){if(e==null)return!1;for(var o=d(n,t,r),a=0;a=o[a].start&&e<=o[a].end)return!0;return!1}function p(e,t,n,a){var i=e[t];if(i.timeOffset*o("DateConsts").MS_PER_SEC=i.timeOffset)&&(i.timeOffset-e[l].timeOffset)*o("DateConsts").MS_PER_SEC1:!1},n.$12=function(){var e=r("getElementPosition")(o("ReactDOM_DEPRECATED").findDOMNode_DEPRECATED(this.refs.bar));return this.$7=e,e},n.$14=function(){var e=r("getElementPosition")(o("ReactDOM_DEPRECATED").findDOMNode_DEPRECATED(this.refs.timecode));return this.$8=e,e},n.$15=function(){var e=r("getElementPosition")(o("ReactDOM_DEPRECATED").findDOMNode_DEPRECATED(this.refs.previewThumbnailContainer));return this.$9=e,e},n.onDragNubUpdate=function(t){var e=this.$12();this.$13(t,e),this.setState({scrubRatio:d(t,e)})},n.onDragNubRelease=function(t){var e=this.$12();this.$13(t,e);var n=this.props.playbackDuration,r=d(t,e),a=this.state.awaitingUpdate;if(n){var i=r*n;this.props.onScrubEnd&&(this.props.onScrubEnd(i),a=!0);var l=this.props.videoClipInfo;l&&l.start_time_in_ms!==null&&i<=l.start_time_in_ms/o("DateConsts").MS_PER_SEC&&this.setState({shouldIgnoreClipStartTS:!0})}else this.props.onScrubEnd&&this.props.onScrubEnd(0);this.setState({nubEngaged:!1,awaitingUpdate:a,scrubRatio:r})},n.renderNub=function(){var e=c.jsx("div",{ref:r("stringRefShim")(this,"nub"),className:"_2yua _4sxb"+(this.props.showVideoSliderWarningTooltip?" _83lq":""),onMouseEnter:this.onMouseEnterScrubberNub,onMouseLeave:this.onMouseLeaveScrubberNub});return this.props.showVideoSliderWarningTooltip?c.jsx(r("Tooltip.react"),{className:"_83lm _4sxb",tooltip:"Rewinding, pausing or skipping ahead in the video will be seen by all viewers.",children:e}):e},n.getPlayedRatio=function(t,n){if(this.state.nubEngaged||this.state.awaitingUpdate)return this.state.scrubRatio;if(!t||!n)return 0;var e=n/t;return this.getRangeLimitedRatio(e)},n.getBufferedRatio=function(){var e=this.props.playbackDuration,t=this.props.bufferedPosition;if(!e||!t)return 0;var n=t/e;return this.getRangeLimitedRatio(n)},n.getRangeLimitedRatio=function(t){return isNaN(t)||t<0||t>1?0:t},n.getNumberOfSprites=function(){return this.$6?this.$6.size:0},n.getAdBreakIndicators=function(){if(!this.props.playbackDuration||!this.props.adBreaks)return null;for(var e=[],t=0;ti)){var l={left:a/i*100+"%"},s=[];this.props.adBreaksDisableReasons&&(s=this.props.adBreaksDisableReasons[t]);var u="[FB Only] The in-stream ad is disabled for "+s.join(", ")+".";e.push(c.jsx("div",{style:l,className:(s.length===0?"_1p4l":"")+(s.length>0?" _1p4m":"")+(n.getIsAdBreakAutoInserted()&&s.length===0?" _1p4n":"")+(n.getIsAdBreakAutoInserted()&&s.length>0?" _1p4o":""),children:s.length>0?c.jsx(r("Tooltip.react"),{tooltip:u,children:"X"}):null},"ad_break_indicator_"+t))}}}return c.jsx("div",{children:e})},n.getInsertedAdBreaks=function(){var e=this;if(!this.props.playbackDuration||!this.props.insertedAdBreaks)return null;var t=[];return this.props.insertedAdBreaks.map(function(n,r){var o=n.timeOffset,a=e.props.playbackDuration,i={left:"calc("+o/a*100+"% - 2px)"};t.push(c.jsx("div",{style:i,className:(e.props.isAdBreakInsertionWithoutGapRule?"":"_1p4q")+(e.props.isAdBreakInsertionWithoutGapRule?" _1p4r":"")+(e.props.isAdBreakDisabled?" _1p4s":""),children:e.props.isAdBreakInsertionWithoutGapRule?null:r+1},"inserted_ad_break"+r))}),c.jsx("div",{children:t})},n.getEligibleAdBreaksTimeSegments=function(){var e=this;if(!this.props.playbackDuration||!this.props.insertedAdBreaks||this.props.isAdBreakInsertionWithoutGapRule&&this.props.insertedAdBreaks&&this.props.insertedAdBreaks.length>=r("VideoInstreamAdsConstants.experimental").AD_INSERTION_MAXIMUM_NUMBER_OF_AD_BREAKS)return null;var t=0;this.state.awaitingUpdate?t=this.$10:t=this.props.playbackPosition;var n=this.props.playbackDuration,a=o("VideoInstreamUtils").getEligibleTimeSegments(this.props.insertedAdBreaks,n,!this.props.isAdBreakInsertionWithoutGapRule);this.state.nubEngaged?this.$10=this.state.timecodeTimestamp:this.$10=t;var i=[];return a.forEach(function(t,r){var o=(t.end-t.start)/n*100,a=e.$10>=t.start&&e.$10<=t.end,l={left:"calc("+t.start/n*100+"% - 2px)",width:o+"%"};i.push(c.jsx("span",{className:"_1p4t"+(a?" _1p4u":""),style:l},"time_segment"+r))}),c.jsx("div",{className:"_1p50",children:i})},n.getInsertedStarsCues=function(){var e=this.props.selectedStarsCueTimestamp;if(!this.props.playbackDuration||e==null)return null;var t=this.props.playbackDuration,n={left:"calc("+e/t*100+"% - 10px)"},o={left:"calc("+e/t*100+"% - 3px)"};return c.jsxs("div",{children:[c.jsx(r("Image.react"),{src:u("1198335"),style:n,className:"_9evr"}),c.jsx("div",{style:o,className:"_9evs"})]})},n.getEligibleStarsCueTimeSegments=function(){var e=this,t=10;if(!this.props.playbackDuration||this.props.showEligibleStarsCueTimeSegments!==!0)return null;var n=0;this.state.awaitingUpdate?n=this.$10:n=this.props.playbackPosition;var r=this.props.playbackDuration,o=[{start:t,end:r}];this.state.nubEngaged?this.$10=this.state.timecodeTimestamp:this.$10=n;var a=[];return o.forEach(function(t,n){var o=(t.end-t.start)/r*100,i=e.$10>=t.start&&e.$10<=t.end,l={left:"calc("+t.start/r*100+"% - 2px)",width:o+"%"};a.push(c.jsx("span",{className:"_9evt"+(i?" _1p4u":""),style:l},"time_segment"+n))}),c.jsx("div",{className:"_9evu",children:a})},n.getPollTimeSegments=function(){var e,t=this;if(!this.props.playbackDuration)return null;var n=0;if(!this.props.showPollCard)return null;this.state.awaitingUpdate?n=this.$10:n=this.props.playbackPosition;var o=this.props.playbackDuration,a=(e=this.props.pollTimestamps)!=null?e:[];this.state.nubEngaged?this.$10=this.state.timecodeTimestamp:this.$10=n;var i=[];return a.forEach(function(e,n){var a={left:"calc("+e/o*100+"%)"},l=t.$10>=e;i.push(c.jsx(r("ClickableArea.react"),{onClick:function(o){o.stopPropagation(),o.persist(),t.props.onScrubEnd(e),r("Arbiter").inform("PollIconClicked")},children:c.jsx("span",{className:"_80r-",style:a,children:c.jsx(r("Image.react"),{className:"_80rd",src:u(l?"936893":"936896")})},"poll_segment"+n)},n)),i.push(c.jsx("span",{className:"_80re",style:a},"time_segment"+n))}),c.jsx("div",{className:"_80rf",children:i})},n.onMouseEnter=function(t){this.props.alwaysShowThumbnail||(this.$12(),this.setState({mouseOver:!0}))},n.onMouseLeave=function(t){this.props.alwaysShowThumbnail||(o("ReactDOM_DEPRECATED").findDOMNode_DEPRECATED(this.refs.bar).blur(),this.setState({mouseOver:!1}),this.state.nubEngaged||this.setState({scrubberPreviewSpriteIndex:0,scrubberPreviewBackgroundPosition:{x:0,y:0}}),this.$9=null,this.$8=null)},n.onMouseEnterOnThumbnailOrTimecode=function(t){if(!(this.state.nubEngaged||this.props.alwaysShowThumbnail)){var e;this.props.hasScrubberPreview?e=this.refs.previewThumbnailContainer:e=this.refs.timecode;var n=o("ReactDOM_DEPRECATED").findDOMNode_DEPRECATED(e);n.style.visibility="hidden"}},n.onMouseLeaveOnThumbnailOrTimecode=function(t){if(!(this.state.nubEngaged||this.props.alwaysShowThumbnail)){var e;this.props.hasScrubberPreview?e=this.refs.previewThumbnailContainer:e=this.refs.timecode;var n=o("ReactDOM_DEPRECATED").findDOMNode_DEPRECATED(e);n.style.visibility="visible"}},n.onKeyDown=function(t){var e=this.props.playbackDuration,n=this.props.playbackPosition;if(!(!e||!n)){var o=n;if(t.keyCode===r("Keys").RIGHT){if(t.preventDefault(),t.stopPropagation(),this.props.isLiveVideo&&this.props.onLiveRewindSeekForward){this.props.onLiveRewindSeekForward();return}o+=5,o>=e&&(o=e-.01)}else if(t.keyCode===r("Keys").LEFT){if(t.preventDefault(),t.stopPropagation(),this.props.isLiveVideo&&this.props.onLiveRewindSeekBack){this.props.onLiveRewindSeekBack();return}o-=5,o<0&&(o=0)}else if(t.keyCode===r("Keys").HOME){if(t.preventDefault(),t.stopPropagation(),this.props.isLiveVideo&&this.props.onLiveRewindToBeginning){this.props.onLiveRewindToBeginning();return}o=0}else if(t.keyCode===r("Keys").END){if(t.preventDefault(),t.stopPropagation(),this.props.isLiveVideo&&this.props.onLiveRewindToLive){this.props.onLiveRewindToLive();return}o=e-.01}else return;this.props.onScrubEnd&&this.props.onScrubEnd(o)}},n.render=function(){var e=r("joinClasses")(this.props.className,"_2yu5"+(this.state.nubEngaged?" _2yu6":"")),t=(this.props.hasScrubberPreview?"_3iit":"")+(this.props.hasScrubberPreview?"":" _3iiu"),n={width:this.getPlayedRatio(this.props.playbackDuration,this.props.playbackPosition)*100+"%"},a={width:this.getBufferedRatio()*100+"%"},i=this.props.videoClipInfo,l="0%";if(i){var s=this.getRangeLimitedRatio(i.start_time_in_ms/o("DateConsts").MS_PER_SEC/this.props.playbackDuration);l=s*100+"%",this.state.shouldIgnoreClipStartTS||(n={width:this.getRangeLimitedRatio(this.getPlayedRatio(this.props.playbackDuration,this.props.playbackPosition)-s)*100+"%",marginLeft:l},a={width:this.getRangeLimitedRatio(this.getBufferedRatio()-s)*100+"%",marginLeft:l})}var u={left:this.state.timecodeRatio*100+"%",display:this.state.hoverNub?"none":"block"},d={},m={},p=null,_=null,f=null;if((this.state.mouseOver||this.state.nubEngaged||this.props.alwaysShowThumbnail)&&(f=c.jsx(r("VideoPlaybackTimer.react"),{className:t,isInScrubberPreview:!0,onMouseEnter:this.onMouseEnterOnThumbnailOrTimecode.bind(this),onMouseLeave:this.onMouseLeaveOnThumbnailOrTimecode.bind(this),playbackPosTimestamp:0,ref:r("stringRefShim")(this,"timecode"),remainingTimestamp:this.state.timecodeTimestamp,style:u}),this.props.hasScrubberPreview&&this.state.previewThumbnailInformation)){var g=this.state.previewThumbnailInformation.previewScrubberWidth,h=this.state.previewThumbnailInformation.previewScrubberHeight,y=100,C=100;this.getNumberOfSprites()!==this.state.scrubberPreviewSpriteIndex?(y*=this.state.previewThumbnailInformation.imagesPerRow,C*=this.state.previewThumbnailInformation.imagesPerColumn):this.state.lastSpriteDimension.numRow&&(y*=this.state.lastSpriteDimension.numRow,C*=this.state.lastSpriteDimension.numColumn);var b=this.state.previewThumbnailInformation.stereoMode;b==="left-right"?(g/=2,y*=2):b==="top-bottom"&&(h/=2,C*=2);var v=1;if(this.props.isFullscreen?v=1.5:this.props.isInTahoe&&(v=1.2),this.state.previewThumbnailInformation.useScrubberVideo&&this.state.previewThumbnailInformation.scrubberVideoURI!==null)d={width:g*v+"px",height:h*v+"px"},_=c.jsx("video",{muted:"true",preload:"auto",ref:r("stringRefShim")(this,"previewThumbnailVideo"),src:this.state.previewThumbnailInformation.scrubberVideoURI,style:d});else if(this.$6){var S="";if(this.state.scrubberPreviewSpriteIndex){var R=this.$6.get(this.state.scrubberPreviewSpriteIndex);R!=null&&R!==""&&(S="url("+R+")")}var L;y>100?L=y+"% "+C+"%":S="",d={width:g*v+"px",height:h*v+"px",backgroundImage:S,backgroundPosition:"-"+this.state.scrubberPreviewBackgroundPosition.x*v+"px -"+this.state.scrubberPreviewBackgroundPosition.y*v+"px",backgroundSize:L},_=c.jsx("div",{className:"_3iiw",ref:r("stringRefShim")(this,"previewThumbnail"),style:d})}m={left:this.state.previewRatio*100+"%",display:this.props.alwaysShowThumbnail?"block":void 0},p=c.jsxs("div",{onMouseEnter:this.onMouseEnterOnThumbnailOrTimecode.bind(this),onMouseLeave:this.onMouseLeaveOnThumbnailOrTimecode.bind(this),className:"_3iiv",ref:r("stringRefShim")(this,"previewThumbnailContainer"),style:m,children:[_,f]})}var E=null;this.props.pointsOfInterest.length>0&&(E=c.jsx(r("VideoScrubberPointOfInterestBar.react"),{tabIndex:this.props.tabIndex,playbackDuration:this.props.playbackDuration,onPointOfInterestSelect:this.props.onPointOfInterestSelect,currentPointOfInterest:this.props.currentPointOfInterest,pointsOfInterest:this.props.pointsOfInterest,showPointOfInterestTimestamps:this.props.showPointOfInterestTimestamps}));var k=null,I=this.getAdBreakIndicators(),T=this.props.playbackDuration>500?10:1,D=Math.round(this.getPlayedRatio(this.props.playbackDuration,this.props.playbackPosition)*100*T)/T,x="Current position is "+D+"%",$=this.props.isFullscreen||this.props.isInTahoe,P=c.jsx("div",{className:e,onKeyDown:this.onKeyDown.bind(this),onMouseDown:this.onDragNubBeginClick.bind(this),onMouseEnter:this.onMouseEnter.bind(this),onMouseLeave:this.onMouseLeave.bind(this),onTouchStart:this.onDragNubBeginTouch.bind(this),children:c.jsxs("div",{tabIndex:this.props.tabIndex,role:"slider","aria-orientation":"horizontal","aria-valuemin":"0","aria-valuemax":this.props.playbackDuration,"aria-valuenow":this.props.playbackPosition,"aria-valuetext":x,className:"_2yu7",ref:r("stringRefShim")(this,"bar"),children:[c.jsx("div",{className:"_2yu8",style:a}),c.jsx("div",{style:n,className:(this.props.isLiveVideo?"":"_2yu9")+(this.props.isLiveVideo&&!this.props.isLiveRewound?" _1p51":"")+(this.props.isLiveRewound?" _1p52":""),children:this.renderNub()}),i?c.jsx("div",{className:"_355j",style:{width:l},children:c.jsx(r("ProfileTile.react"),{id:i.sharer_id,size:$?32:24,imageProps:{className:"_355k"},tileProps:{className:"_355n",style:{marginTop:$?-16:-10}}})}):null,this.props.hasScrubberPreview?p:f,I,this.getInsertedAdBreaks(),this.getInsertedStarsCues(),this.getEligibleAdBreaksTimeSegments(),this.getEligibleStarsCueTimeSegments(),this.getPollTimeSegments()]})});return c.jsxs("div",{children:[k,P,E]})},t})(c.Component);p.defaultProps={alwaysShowThumbnail:!1,annotatedMomentsOfInterest:{},hasScrubberPreview:!1,isAdBreakInsertionWithoutGapRule:!1,isFullscreen:!1,isInTahoe:!1,isLiveRewound:!1,isLiveVideo:!1,isPlaying:!1,pointsOfInterest:[],onAnnotatedMomentOfInterestSelect:r("emptyFunction"),onPointOfInterestSelect:r("emptyFunction"),onScrubBegin:r("emptyFunction"),onScrubEnd:r("emptyFunction"),showEligibleStarsCueTimeSegments:!1,showPointOfInterestTimestamps:!1,showPollCard:!1,showVideoSliderWarningTooltip:!1,selectedStarsCueTimestamp:null},l.default=p}),98); __d("VideoVolumeSlider.react",["cx","EventListener","ReactDOM_DEPRECATED","getElementPosition","react","shallowCompare","stringRefShim"],(function(t,n,r,o,a,i,l,s){var e,u=e||(e=o("react")),c=(function(e){function t(t){var n;return n=e.call(this,t)||this,n.state={awaitingUpdate:!1,engaged:!1,volume:t.volume},n}babelHelpers.inheritsLoose(t,e);var n=t.prototype;return n.shouldComponentUpdate=function(t,n){return r("shallowCompare")(this,t,n)},n.UNSAFE_componentWillReceiveProps=function(t){this.setState({awaitingUpdate:!1})},n.componentDidUpdate=function(t,n){if(!this.state.engaged&&n.engaged)this.$2&&this.$2.remove(),this.$1&&this.$1.remove(),this.$3&&this.$3.remove(),this.$4&&this.$4.remove();else if(this.state.engaged&&!n.engaged){var e;this.$1=(e=r("EventListener")).listen(document,"mousemove",this.onMouseMove.bind(this)),this.$2=e.listen(document,"mouseup",this.onMouseUpImpl.bind(this)),this.$3=e.listen(document,"touchmove",this.onTouchMove.bind(this)),this.$4=e.listen(document,"touchend",this.onMouseUpImpl.bind(this))}},n.onMouseDownImpl=function(t,n,r){this.props.onVolumeChangeBegin&&this.props.onVolumeChangeBegin(this.state.volume),this.props.isHorizontal?this.setState({engaged:!0,volume:this.getClampedClickPositionVolume(n)}):this.setState({engaged:!0,volume:this.getClampedClickPositionVolume(r)}),t.preventDefault(),t.stopPropagation()},n.onMouseDown=function(t){t.button===0&&this.onMouseDownImpl(t,t.clientX,t.clientY)},n.onTouchDown=function(t){this.onMouseDownImpl(t,t.touches[0].clientX,t.touches[0].clientY)},n.getClampedClickPositionVolume=function(t){var e=r("getElementPosition")(o("ReactDOM_DEPRECATED").findDOMNode_DEPRECATED(this.refs.slider)),n=r("getElementPosition")(o("ReactDOM_DEPRECATED").findDOMNode_DEPRECATED(this.refs.nub)).height;if(this.props.isHorizontal){var a=t+n/2-e.x;return Math.max(0,Math.min(1,a/e.width))}else{var i=e.y-t+e.height+n/2;return Math.max(0,Math.min(1,i/e.height))}},n.onMouseUpImpl=function(t){this.props.onVolumeChangeEnd&&this.props.onVolumeChangeEnd(this.state.volume),this.setState({engaged:!1,awaitingUpdate:!0}),t.preventDefault(),t.stopPropagation()},n.onMouseMoveImpl=function(t,n,r){this.props.isHorizontal?this.setState({volume:this.getClampedClickPositionVolume(n)}):this.setState({volume:this.getClampedClickPositionVolume(r)}),this.props.onVolumeChange&&this.props.onVolumeChange(this.state.volume),t.preventDefault(),t.stopPropagation()},n.onMouseMove=function(t){this.onMouseMoveImpl(t,t.clientX,t.clientY)},n.onTouchMove=function(t){this.onMouseMoveImpl(t,t.touches[0].clientX,t.touches[0].clientY)},n.getVolume=function(){return this.state.engaged||this.state.awaitingUpdate?this.state.volume:this.props.volume},n.render=function(){var e=this.props.isHorizontal||!1,t=e?{width:Math.round(this.getVolume()*100)+"%"}:{height:Math.round(this.getVolume()*100)+"%"},n="_3pao"+(e?" _4sx9":"")+(this.state.engaged?" _2yu6":"");return u.jsxs("div",{className:n,onMouseDown:this.onMouseDown.bind(this),onTouchStart:this.onTouchDown.bind(this),children:[u.jsx("div",{className:"_4sxa",children:u.jsx("div",{className:"_3paq",ref:r("stringRefShim")(this,"slider"),children:u.jsx("div",{className:"_3par",style:t,children:u.jsx("div",{className:"_3pas _4sxb",ref:r("stringRefShim")(this,"nub")})})})}),u.jsx("div",{className:"_3pat"})]})},t})(u.Component);c.defaultProps={volume:0,onVolumeChange:function(t){},onVolumeChangeBegin:function(t){},onVolumeChangeEnd:function(t){}},l.default=c}),98); __d("VideoVolumeControl.react",["cx","fbt","invariant","ix","AbstractButton.react","Image.react","Keys","ReactDOM_DEPRECATED","TooltipData","VideoPlayerVolumeSettings","VideoVolumeSlider.react","react","shallowCompare","stringRefShim"],(function(t,n,r,o,a,i,l,s,u,c,d){var e,m=e||(e=o("react")),p=(function(e){function t(t){var n;return n=e.call(this,t)||this,n.state={nubEngaged:!1,focused:!1,lastVolumeBeforeMute:1},n}babelHelpers.inheritsLoose(t,e);var n=t.prototype;return n.shouldComponentUpdate=function(t,n){return r("shallowCompare")(this,t,n)},n.onButtonClick=function(){if(this.checkLastVolumeBeforeMuteInvariant(),this.props.volume===0)return this.onSliderVolumeChange(this.state.lastVolumeBeforeMute);this.props.onToggleMuted&&this.props.onToggleMuted()},n.onButtonFocus=function(){this.setState({focused:!0})},n.onButtonBlur=function(){this.setState({focused:!1})},n.onKeyDown=function(t){var e=this.props.volume;if(t.keyCode===r("Keys").UP)t.preventDefault(),t.stopPropagation(),e+=.05,e>1&&(e=1);else if(t.keyCode===r("Keys").DOWN)t.preventDefault(),t.stopPropagation(),e-=.05,e<0&&(e=0);else return;this.onSliderVolumeChangeEnd(e)},n.onMouseOut=function(t){o("ReactDOM_DEPRECATED").findDOMNode_DEPRECATED(this.refs.button).blur()},n.getVolume=function(){return this.props.isMuted?0:this.props.volume},n.onSliderVolumeChangeBegin=function(){var e=this.props.volume;e>0&&(this.setState({nubEngaged:!0,lastVolumeBeforeMute:e}),r("VideoPlayerVolumeSettings").saveLastVolumeBeforeMute(e))},n.onSliderVolumeChangeEnd=function(t){t>0?(this.setState({lastVolumeBeforeMute:t}),r("VideoPlayerVolumeSettings").saveLastVolumeBeforeMute(t),this.onSliderVolumeChange(t)):(this.props.onVolumeChange(this.state.lastVolumeBeforeMute),this.props.isMuted||this.props.onToggleMuted&&this.props.onToggleMuted()),this.setState({nubEngaged:!1})},n.onSliderVolumeChange=function(t){(t>0&&this.props.isMuted||t===0&&!this.props.isMuted)&&this.props.onToggleMuted&&this.props.onToggleMuted(),this.props.onVolumeChange&&this.props.onVolumeChange(t)},n.checkLastVolumeBeforeMuteInvariant=function(){this.state.lastVolumeBeforeMute>0&&this.state.lastVolumeBeforeMute<=1||c(0,2385)},n.render=function(){var e=Math.round(this.getVolume()*100),t=null,n="";if(this.props.isAudioBlocked)n=u._(/*BTDS*/"Audio unavailable"),t=m.jsx("div",{children:m.jsx(r("Image.react"),{className:"_rwt",src:this.props.useDarkTheme?d("797748"):d("660433")})});else if(e==0)t=m.jsx(r("Image.react"),{className:"_rwt",src:this.props.useDarkTheme?d("462991"):d("462993")});else{var a=null;e<=33?a=this.props.useDarkTheme?d("462983"):d("462984"):e<=66?a=this.props.useDarkTheme?d("462987"):d("462988"):a=this.props.useDarkTheme?d("462971"):d("443962"),t=m.jsx("div",{className:"_1age",children:m.jsx("div",{className:"_1agf",children:m.jsx(r("Image.react"),{className:"_rwt",src:a})})})}var i="_2swo"+(this.state.nubEngaged?" _2yu6":"")+(this.state.focused?" _2iw8":""),l="_zbd _1agg",s=this.getVolume()?u._(/*BTDS*/"Mute"):u._(/*BTDS*/"Unmute"),c=this.props.isAudioBlocked?null:m.jsx(r("VideoVolumeSlider.react"),{onVolumeChangeBegin:this.onSliderVolumeChangeBegin.bind(this),onVolumeChangeEnd:this.onSliderVolumeChangeEnd.bind(this),onVolumeChange:this.onSliderVolumeChange.bind(this),isHorizontal:this.props.isHorizontal||!1,volume:this.getVolume()}),p=m.jsx(r("AbstractButton.react"),babelHelpers.extends({},o("TooltipData").propsFor(n,"above"),{className:l,"data-testid":void 0,image:t,label:s,labelIsHidden:!0,onBlur:this.onButtonBlur.bind(this),onClick:this.onButtonClick.bind(this),onFocus:this.onButtonFocus.bind(this),onKeyDown:this.onKeyDown.bind(this),onMouseOut:this.onMouseOut.bind(this),ref:r("stringRefShim")(this,"button"),tabIndex:this.props.tabIndex,type:"button"}));return this.props.isHorizontal?m.jsxs("div",{className:i,children:[p,c]}):m.jsxs("div",{className:i,children:[c,p]})},t})(m.Component);p.defaultProps={isAudioBlocked:!1,useDarkTheme:!1},l.default=p}),226); __d("lazyLoadComponent",["BootloaderResource","cr:2448","react","react-compiler-runtime"],(function(t,n,r,o,a,i,l){var e=["ref"],s,u=s||(s=o("react")),c=new Map;function d(e,t){c.set(e,t)}function m(e){return c.get(e)}function p(t){var r=m(t);if(r)return r;function a(r){var a=o("react-compiler-runtime").c(7),i,l;a[0]!==r?(l=r.ref,i=babelHelpers.objectWithoutPropertiesLoose(r,e),a[0]=r,a[1]=i,a[2]=l):(i=a[1],l=a[2]);var s=l===void 0?void 0:l,c;a[3]===Symbol.for("react.memo_cache_sentinel")?(c=o("BootloaderResource").read(t),a[3]=c):c=a[3];var d=c;n("cr:2448")(t);var m;return a[4]!==i||a[5]!==s?(m=u.jsx(d,babelHelpers.extends({},i,{ref:s})),a[4]=i,a[5]=s,a[6]=m):m=a[6],m}return a.displayName="lazyLoadComponent("+t.getModuleId()+")",d(t,a),a}l.default=p}),98); __d("VideoControls.react",["cx","fbt","ix","AbstractButton.react","BootloadedComponent.react","FluxContainer","Image.react","JSResource","LiveVideoRewindTypedLogger","TooltipData","VideoClipButton.react","VideoFBIconControl.react","VideoFullscreenControl.react","VideoPlaybackControl.react","VideoPlaybackRateControl.react","VideoPlaybackTimer.react","VideoPlayerExperiments","VideoPollCardDispatcher","VideoPollCardStore","VideoScrubber.react","VideoVolumeControl.react","emptyFunction","immutable","joinClasses","lazyLoadComponent","react","shallowCompare","stringRefShim"],(function(t,n,r,o,a,i,l,s,u,c){var e,d=e||(e=o("react")),m=r("lazyLoadComponent")(r("JSResource")("VideoActionsControl.react").__setRef("VideoControls.react")),p=36,_=(function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o0))this.props.drawer&&this.props.drawer.setHeight(55);else{var a=this.props.isInWatchAndScroll?55:p;this.props.drawer&&this.props.drawer.setHeight(a)}},n.isHidden=function(){return this.props.hidden},n.isTransparent=function(){return this.props.transparent},n.render=function(){var e=r("VideoPlayerExperiments").inlineSoundVisible,t="_1c7d"+(this.isHidden()?" _1c7e":"")+(this.isTransparent()&&!e?" _2oy-":""),n="_2w_u"+(this.props.showSidePaneToggle?" _vr5":"")+(this.props.useDarkTheme?" _vr6":""),a="_1c7f _1c7g"+(this.isTransparent()&&e?" _2oy-":""),i="_1c7f _2pvx"+(this.isTransparent()&&e?" _2oy-":""),l="_1c7f _1c7h"+(this.isTransparent()&&e?" _2oy-":""),s="_1c7f _w7o"+(this.isTransparent()&&(!this.props.isInline||this.props.isFullscreen||!this.props.isPlaying)?" _2oy-":""),p="_2w_w",_=!1;this.props.isLive&&this.props.isInTahoe&&(_=!0);var f="_1otk _3t1r _4ubd"+(_?" _w7y":""),g="_3t1r _4ubd _3t1s"+(this.props.isCommentAttachment?"":" hidden_elem"),h=null;if(!(this.props.isLive||this.props.isFBWasLive)&&!this.props.hideRemainingTime&&!this.props.isInWatchAndScroll){var y=this.props.playbackPosition-this.props.playbackDuration;h=d.jsx(r("VideoPlaybackTimer.react"),{className:"_5qsr"+(this.props.displayMilliseconds?" _w7-":""),isEmbedded:this.props.isEmbedded,playbackPosTimestamp:this.props.playbackPosition,playbackDurationTimestamp:this.props.playbackDuration,remainingTimestamp:y,displayElapsedTime:this.props.displayElapsedTime,displayMilliseconds:this.props.displayMilliseconds,displayBothTimes:!1})}var C=null,b=null,v=null,S=null,R=null,L=this.props,E=L.showInlineCopyLinkOption,k=L.showInlineVideoReportOption,I=k||E;if(!this.props.hideSettings&&!this.props.isInWatchAndScroll&&!this.props.isEmbedded&&I&&(S=d.jsx(d.Suspense,{fallback:d.jsx("span",{}),children:d.jsx(m,{disabled:this.props.isCasting,onActionsClicked:this.props.onActionsClick,permalinkURL:this.props.permalinkURL,showCopyLink:E,showReportVideo:k,tabIndex:0})})),(!this.props.isLive||this.props.hasHD)&&!this.props.hideSettings&&!this.props.isInWatchAndScroll&&r("VideoPlayerExperiments").redesign){var T,D;v=d.jsx(r("BootloadedComponent.react"),{bootloadLoader:r("JSResource")("VideoSettingsControl.react").__setRef("VideoControls.react"),bootloadPlaceholder:d.jsx("span",{}),disabled:this.props.isCasting,hasHD:this.props.hasHD,hasCaptions:this.props.hasCaptions,isHD:this.props.isHD,isInline:this.props.isInline,isLive:this.props.isLive,isSphericalVideo:this.props.isSphericalVideo,areCaptionsActive:this.props.areCaptionsActive,areCaptionsAutogenerated:this.props.areCaptionsAutogenerated,onSettingsClick:this.props.onSettingsClick,onToggleHD:this.props.onToggleHD,onToggleCaptions:this.props.onToggleCaptions,tabIndex:"0",availableQualities:this.props.availableQualities,selectedQuality:(T=this.props.selectedQuality)!=null?T:null,preferredQuality:(D=this.props.preferredQuality)!=null?D:null,canAutoSelectVideoQuality:this.props.canAutoSelectVideoQuality,onSelectQuality:this.props.onSelectQuality,showQualitySelector:this.props.showQualitySelector,qualitySelectorMinStreams:this.props.qualitySelectorMinStreams,streamingFormat:this.props.streamingFormat,videoID:this.props.videoID})}this.props.isLive&&r("VideoPlayerExperiments").hlsButton&&(R=d.jsx(r("BootloadedComponent.react"),{bootloadPlaceholder:d.jsx("span",{}),bootloadLoader:r("JSResource")("VideoToHLSControl.react").__setRef("VideoControls.react"),areHLSActive:this.props.areHLSActive,onToggleHLS:this.props.onToggleHLS,tabIndex:"0"}));var x=this.props.gamesVideoCreatorClipping&&(this.props.isInTahoe||this.props.isInline||this.props.gamesVideoClipButtonEnabled)&&this.props.gamesDefaultClipLengthInSec!=null&&this.props.gamesDefaultClipLengthInSec>0?d.jsx(r("VideoClipButton.react"),{onClipVideo:this.props.onClipVideo,defaultLengthInSec:this.props.gamesDefaultClipLengthInSec}):null,$=null;if(this.props.allowFullscreen)if(this.props.doesFullscreenEnterTahoe&&(this.props.isInline||this.props.isInWatchAndScroll)){var P=d.jsx(r("Image.react"),{className:"x1qx5ct2 xxymvpz xw4jnvo",src:c("407577")}),N=u._(/*BTDS*/"Click to enlarge");$=d.jsx(r("AbstractButton.react"),babelHelpers.extends({},o("TooltipData").propsFor(N,"above"),{className:"_zbd _400z _1vek",image:P,label:N,labelIsHidden:!0,onClick:this.props.onEnterTahoe,tabIndex:"0"}))}else{var M=this.props.isFullscreen?u._(/*BTDS*/"Click to exit fullscreen"):u._(/*BTDS*/"Click to enter fullscreen");$=d.jsx(r("VideoFullscreenControl.react"),babelHelpers.extends({},o("TooltipData").propsFor(M,"above"),{disabled:this.props.isCasting&&!this.props.isFullscreen,isFullscreen:this.props.isFullscreen,onToggleFullscreen:this.props.onToggleFullscreen,tabIndex:"0"}))}var w=null;this.props.hasWatchAndScroll&&!this.props.isFullscreen&&!this.props.isInWatchAndScroll&&(w=d.jsx(r("BootloadedComponent.react"),{bootloadPlaceholder:d.jsx("span",{}),bootloadLoader:r("JSResource")("VideoWatchAndScrollControl.react").__setRef("VideoControls.react"),disabled:this.props.isCasting,onEnterWatchAndScroll:this.props.onEnterWatchAndScroll,isSlidingWNSEligible:this.props.isSlidingWNSEligible,onWNSNUXClose:this.props.onWNSNUXClose,showWNSNUX:this.props.showWNSNUX}));var A=null;this.props.allowCasting&&this.props.hasFoundReceiver&&(A=d.jsx(r("BootloadedComponent.react"),{bootloadPlaceholder:d.jsx("span",{}),bootloadLoader:r("JSResource")("VideoCastingControl.react").__setRef("VideoControls.react"),hasFoundReceiver:this.props.hasFoundReceiver,isCasting:this.props.isCasting,isCastingSupported:this.props.isCastingSupported,onStartCast:this.props.onStartCast,onStopCast:this.props.onStopCast}));var F=null;if(this.props.isEmbeddedPlayerRedesignEnabled)F=this.props.permalinkURL&&this.props.showPermalinkButton?d.jsx(r("VideoFBIconControl.react"),{permalinkURL:this.props.permalinkURL,playbackPosTimestamp:this.props.playbackPosition}):null;else{var O=null,B=this.props.isWatchIconEligible?c("909284"):c("804741");if(this.props.permalinkURL&&this.props.showPermalinkButton){O=d.jsx(r("Image.react"),{className:"x1qx5ct2 xxymvpz xw4jnvo",src:B});var W=u._(/*BTDS*/"Open in a new tab");F=d.jsx(r("AbstractButton.react"),babelHelpers.extends({},o("TooltipData").propsFor(W,"above"),{className:"_zbd",href:this.props.permalinkURL,image:O,label:W,labelIsHidden:!0,ref:r("stringRefShim")(this,"button"),tabIndex:"0",target:"_blank",type:"button"}))}}var q=null,U=null,V=null,H=null,G=null;if((this.props.isLive||this.props.isFBWasLive)&&this.props.showPlayButtonForLive&&!this.props.isLiveRewindEnabled)U=d.jsx(r("VideoPlaybackControl.react"),{finishedPlaying:this.props.finishedPlaying,isPlaying:this.props.isPlaying,onPause:this.props.onPause,onPlay:this.props.onPlay,useDarkTheme:this.props.useDarkTheme,tabIndex:"0"});else if(!(this.props.isLive||this.props.isFBWasLive)&&!this.props.hidePlaybackControl){if(U=d.jsx(r("VideoPlaybackControl.react"),{finishedPlaying:this.props.finishedPlaying,isPlaying:this.props.isPlaying,onPause:this.props.onPause,onPlay:this.props.onPlay,useDarkTheme:this.props.useDarkTheme,tabIndex:"0"}),this.props.showPlaybackRateControl&&this.props.onSetVideoPlaybackRate){var z=u._(/*BTDS*/"Playback rate");V=d.jsx(r("VideoPlaybackRateControl.react"),babelHelpers.extends({},o("TooltipData").propsFor(z,"above"),{isEmbedded:this.props.isEmbedded,tabIndex:0,onSelectPlaybackRate:this.props.onSetVideoPlaybackRate}))}if(!this.props.hidePlaybackScrubber){var j,K,Q,X,Y=!this.props.finishedPlaying&&(this.props.vpcID!==void 0?this.state.pollCardsActiveForVPC[(j=this.props.vpcID)!=null?j:""]!==null?((K=this.state.pollCardsActiveForVPC[(Q=this.props.vpcID)!=null?Q:""])!=null?K:r("immutable").List()).size===0:!0:!1);q=d.jsx(r("VideoScrubber.react"),{adBreaks:this.props.adBreaks,adBreaksDisableReasons:this.props.adBreaksDisableReasons,annotatedMomentsOfInterest:this.props.annotatedMomentsOfInterest,bufferedPosition:this.props.bufferedPosition,controlsHidden:this.props.hidden,hasScrubberPreview:this.props.hasScrubberPreview,interestLevels:this.props.interestLevels,drawer:this.props.drawer,insertedAdBreaks:this.props.insertedAdBreaks,isAdBreakDisabled:this.props.isAdBreakDisabled,isAdBreakInsertionWithoutGapRule:this.props.isAdBreakInsertionWithoutGapRule,isFullscreen:this.props.isFullscreen,isPlaying:this.props.isPlaying,onScrubBegin:this.props.onScrubBegin,onScrubEnd:this.props.onScrubEnd,playbackDuration:this.props.playbackDuration,playbackPosition:this.props.playbackPosition,pollTimestamps:this.props.pollTimestamps,showPollCard:Y,onAnnotatedMomentOfInterestSelect:this.props.onAnnotatedMomentOfInterestSelect,previewThumbnailInformation:this.props.previewThumbnailInformation,scrubberPreviewSprites:this.props.scrubberPreviewSprites,showEligibleStarsCueTimeSegments:this.props.showEligibleStarsCueTimeSegments,selectedStarsCueTimestamp:this.props.selectedStarsCueTimestamp,onPointOfInterestSelect:this.props.onPointOfInterestSelect,currentPointOfInterest:this.props.currentPointOfInterest,pointsOfInterest:this.props.pointsOfInterest,showPointOfInterestTimestamps:this.props.showPointOfInterestTimestamps,showVideoSliderWarningTooltip:(X=this.props.showVideoSliderWarningTooltip)!=null?X:!1,tabIndex:0,isInTahoe:this.props.isInTahoe,videoClipInfo:this.props.videoClipInfo})}}var J=null;this.props.hideGradient||(J=d.jsx("div",{className:"_w80"+(this.isTransparent()?" _2oy-":"")+(this.props.useLargerGradient?" _8y-6":"")}));var Z=d.jsx(r("VideoVolumeControl.react"),{isAudioBlocked:this.props.isAudioBlocked,isMuted:this.props.isMuted,onToggleMuted:this.props.onToggleMuted,onVolumeChange:this.props.onVolumeChange,volume:this.props.volume,tabIndex:"0",useDarkTheme:this.props.useDarkTheme}),ee,te,ne,re,oe,ae,ie,le,se=this.props,ue=se.onLiveRewindSeekBack,ce=se.onLiveRewindSeekForward,de=se.onLiveRewindToBeginning,me=se.onLiveRewindToLive;if(this.props.isLiveRewindEnabled&&!this.props.isEmbedded){if(this.props.liveRelativePlaybackPosition!=null){var pe=this.props.liveRelativePlaybackPosition>this.props.playbackDuration?this.props.playbackDuration:this.props.liveRelativePlaybackPosition;if(ie=this.props.isInWatchAndScroll?null:d.jsx(r("VideoPlaybackTimer.react"),{className:"_3ek9 _5qsr"+(this.props.displayMilliseconds?" _w7-":""),displayElapsedTime:!0,displayMilliseconds:this.props.displayMilliseconds,isEmbedded:this.props.isEmbedded,isLiveVideo:!0,playbackPosTimestamp:pe,playbackDurationTimestamp:this.props.isFBWasLive?this.props.playbackDuration:void 0,displayBothTimes:this.props.isFBWasLive,remainingTimestamp:-1*(this.props.playbackDuration-pe)}),ae=d.jsx(r("VideoScrubber.react"),{adBreaks:this.props.adBreaks,adBreaksDisableReasons:this.props.adBreaksDisableReasons,bufferedPosition:this.props.bufferedPosition,className:"_3ek9",controlsHidden:this.props.hidden,currentPointOfInterest:this.props.currentPointOfInterest,drawer:this.props.drawer,hasScrubberPreview:this.props.hasScrubberPreview,interestLevels:this.props.interestLevels,insertedAdBreaks:this.props.insertedAdBreaks,isAdBreakDisabled:this.props.isAdBreakDisabled,isAdBreakInsertionWithoutGapRule:this.props.isAdBreakInsertionWithoutGapRule,isFullscreen:this.props.isFullscreen,isInTahoe:this.props.isInTahoe,isLiveRewound:this.props.isLiveRewound,isLiveVideo:!0,isPlaying:this.props.isPlaying,playbackDuration:this.props.playbackDuration,playbackPosition:this.props.isLiveRewound?pe:this.props.playbackDuration,pointsOfInterest:this.props.pointsOfInterest,previewThumbnailInformation:this.props.previewThumbnailInformation,scrubberPreviewSprites:this.props.scrubberPreviewSprites,showEligibleStarsCueTimeSegments:this.props.showEligibleStarsCueTimeSegments,selectedStarsCueTimestamp:this.props.selectedStarsCueTimestamp,showPointOfInterestTimestamps:this.props.showPointOfInterestTimestamps,tabIndex:0,onLiveRewindToBeginning:this.props.onLiveRewindToBeginning,onLiveRewindSeekBack:this.props.onLiveRewindSeekBack,onLiveRewindSeekForward:this.props.onLiveRewindSeekForward,onLiveRewindToLive:this.props.onLiveRewindToLive,onPointOfInterestSelect:this.props.onPointOfInterestSelect,onScrubBegin:this.props.onScrubBegin,onScrubEnd:this.props.onScrubEnd}),this.props.showPlaybackRateControl&&this.props.onSetVideoPlaybackRate&&this.props.isLiveRewound){var _e=u._(/*BTDS*/"Playback rate");V=d.jsx(r("VideoPlaybackRateControl.react"),babelHelpers.extends({},o("TooltipData").propsFor(_e,"above"),{isEmbedded:this.props.isEmbedded,tabIndex:0,onSelectPlaybackRate:this.props.onSetVideoPlaybackRate}))}new(r("LiveVideoRewindTypedLogger"))().setEvent("render_rewind_controls").setVideoID(this.props.videoID).log()}ee=de&&!this.props.isInWatchAndScroll&&!this.props.isInline?d.jsx(r("BootloadedComponent.react"),{bootloadLoader:r("JSResource")("VideoLiveRewindControl.react").__setRef("VideoControls.react"),bootloadPlaceholder:d.jsx("span",{}),asset:c("465766"),tooltip:u._(/*BTDS*/"Go to beginning"),onButtonClick:de}):null,le=this.props.isFBWasLive&&me&&!this.props.isInWatchAndScroll&&!this.props.isInline?d.jsx(r("BootloadedComponent.react"),{bootloadLoader:r("JSResource")("VideoLiveRewindControl.react").__setRef("VideoControls.react"),bootloadPlaceholder:d.jsx("span",{}),asset:c("465765"),tooltip:u._(/*BTDS*/"Go to end"),onButtonClick:me}):null,te=ue&&!this.props.isInWatchAndScroll?d.jsx(r("BootloadedComponent.react"),{bootloadLoader:r("JSResource")("VideoLiveRewindControl.react").__setRef("VideoControls.react"),bootloadPlaceholder:d.jsx("span",{}),asset:c("465767"),tooltip:u._(/*BTDS*/"Skip back"),onButtonClick:ue}):null;var fe=this.props.isLiveRewound?u._(/*BTDS*/"Skip ahead"):void 0;ne=ce&&!this.props.isInWatchAndScroll&&!this.props.isInline?d.jsx(r("BootloadedComponent.react"),{bootloadLoader:r("JSResource")("VideoLiveRewindControl.react").__setRef("VideoControls.react"),bootloadPlaceholder:d.jsx("span",{}),asset:c("465768"),disabled:!this.props.isLiveRewound,tooltip:fe,onButtonClick:ce}):null;var ge=this.props.isLiveRewound?c("467224"):c("467223"),he=this.props.isLiveRewound?u._(/*BTDS*/"Live view"):void 0;re=me?d.jsx(r("BootloadedComponent.react"),{bootloadLoader:r("JSResource")("VideoLiveRewindControl.react").__setRef("VideoControls.react"),bootloadPlaceholder:d.jsx("span",{}),asset:ge,tooltip:he,onButtonClick:me}):null,oe=this.props.isInWatchAndScroll?null:d.jsx(r("VideoPlaybackControl.react"),{finishedPlaying:this.props.finishedPlaying,isLiveVideo:!0,isPlaying:this.props.isPlaying,onPause:this.props.onPause,onPlay:this.props.onPlay,useDarkTheme:this.props.useDarkTheme,tabIndex:"0"})}var ye=null,Ce=this.props.showControlsOnFullScreenOnly===!0?this.props.isFullscreen:!0;if(this.props.useTwoRows){var be=d.jsx(r("VideoVolumeControl.react"),{isAudioBlocked:this.props.isAudioBlocked,isMuted:this.props.isMuted,onToggleMuted:this.props.onToggleMuted,onVolumeChange:this.props.onVolumeChange,volume:this.props.volume,isHorizontal:!0,tabIndex:"0"});ye=d.jsxs("div",{className:g,children:[d.jsx("div",{className:p,children:d.jsxs("div",{className:t,children:[d.jsx("div",{className:a}),d.jsx("div",{className:i,children:q}),d.jsx("div",{className:l,children:h})]})}),d.jsx("div",{className:p,children:d.jsxs("div",{className:t,children:[d.jsxs("div",{className:a,children:[U,V,be]}),d.jsx("div",{className:i}),d.jsxs("div",{className:l,children:[b,R,C,v,w,A,$,F,x,S]})]})})]})}var ve=null;if(r("VideoPlayerExperiments").embeddedPlayerEnhancements&&this.props.isEmbedded){var Se=r("joinClasses")(t,r("VideoPlayerExperiments").embeddedPlayerEnhancements?"_w83":""),Re=r("joinClasses")(t,"_w86");ve=d.jsx("div",{className:Se,children:d.jsxs("div",{className:p,children:[d.jsxs("div",{className:Re,children:[Ce&&d.jsxs("div",{className:a,children:[U,V]}),d.jsx("div",{className:i,children:q}),d.jsx("div",{className:l,children:h})]}),d.jsxs("div",{className:t,children:[Ce&&d.jsxs(d.Fragment,{children:[d.jsx("div",{className:a}),d.jsx("div",{className:i})]}),d.jsxs("div",{className:l,children:[Ce&&d.jsxs(d.Fragment,{children:[e||Z,b,R,C,v,w,A]}),$,Ce&&d.jsxs(d.Fragment,{children:[F,x,S]})]}),d.jsx("div",{className:s,children:!e||Z})]})]})})}else ve=!this.props.useTwoRows||!this.props.isCommentAttachment?d.jsx("div",{className:f,"data-testid":void 0,children:d.jsx("div",{className:p,children:d.jsxs("div",{className:t,children:[d.jsxs("div",{className:a,children:[Ce&&d.jsxs(d.Fragment,{children:[G,U,V,H,ee,te,oe,ne]}),this.props.isFBWasLive?le:re,ie]}),d.jsxs("div",{className:i,children:[q,ae]}),d.jsxs("div",{className:l,children:[h,Ce&&d.jsxs(d.Fragment,{children:[e||Z,b,R,C,v,w,A]}),$,Ce&&d.jsxs(d.Fragment,{children:[F,x,S]})]}),d.jsx("div",{className:s,children:this.props.allowAudioButton===!1?d.jsx("div",{}):!e||Z})]})})}):null;return d.jsxs("div",{className:n,children:[J,ve,ye]})},t})(d.Component);_.defaultProps={allowCasting:!1,allowAudioButton:!0,bufferedPosition:0,displayElapsedTime:!1,showControlsOnFullScreenOnly:!1,displayMilliseconds:!1,gamesVideoClipButtonEnabled:!1,gamesVideoCreatorClipping:!1,gamesDefaultClipLengthInSec:void 0,hasFoundReceiver:!1,hidden:!1,hideGradient:!1,hidePlaybackControl:!1,hidePlaybackScrubber:!1,hideRemainingTime:!1,hideSettings:!1,isAudioBlocked:!1,isCasting:!1,isCastingSupported:!1,isCommentAttachment:!1,isFBWasLive:!1,isInTahoe:!1,isLiveRewound:!1,isMuted:!1,isPlaying:!1,isSphericalVideo:!1,isWatchIconEligible:!1,onSidePaneToggle:r("emptyFunction"),onStartCast:r("emptyFunction"),onStopCast:r("emptyFunction"),playbackDuration:0,playbackPosition:0,showInlineCopyLinkOption:!1,showInlineVideoReportOption:!1,showPermalinkButton:!1,showPlaybackRateControl:!1,showPlayButtonForLive:!1,showSidePaneToggle:!1,showVideoSliderWarningTooltip:!1,showWNSNUX:!1,transparent:!1,useDarkTheme:!1,useLargerGradient:!1,useTwoRows:!1,volume:0};var f=r("FluxContainer").create(_);l.default=f}),226); __d("VideoWatchAndScrollDrawer.react",["csx","cx","fbt","AsyncRequest","DOM","DOMContainer.react","FBLoadShimmer.react","ThisControllerNoLongerExists","react","vulture"],(function(t,n,r,o,a,i,l,s,u,c){var e,d=e||(e=o("react")),m=(function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o0&&((r===f.NE||r===f.NW)&&(t.height-=a),t.top=o);var i=t.left,l=n.getLeft(),s=l-i;s>0&&((r===f.NW||r===f.SW)&&(t.width-=s),t.left=l);var u=t.top+t.height,c=n.getTop()+n.h(),d=u-c;d>0&&(t.height=c-t.top);var m=t.left+t.width,p=n.getLeft()+n.w(),_=m-p;_>0&&(t.width=p-t.left)},n.$16=function(t,n,r){t.widthp&&((r===f.NW||r===f.SW)&&(t.left+=t.width-p),t.width=p),t.height>p&&((r===f.NE||r===f.NW)&&(t.top+=t.height-p),t.height=p)},n.$18=function(t,n,r){var e=t.width/t.height,o=n.width/n.height;if(e>o){var a=t.height*o,i=t.height;athis.state.channelVideoElements.length)return null;var e=this.state.channelVideoElements[t];return e?c.jsx("div",{className:"_2yq3"+(n==="left"?" _2yq4":"")+(n==="center"?" _2yq5":"")+(n==="right"?" _2yq6":""),children:c.jsx(r("DOMContainer.react"),{children:e})},e.id):null},n.$26=function(){return r("shouldWNSRenderToRHC")()?[]:[c.jsx("div",{className:"_52ua",onMouseDown:this.$10.bind(this,f.NW)},f.NW),c.jsx("div",{className:"_52uc",onMouseDown:this.$10.bind(this,f.NE)},f.NE),c.jsx("div",{className:"_52ui",onMouseDown:this.$10.bind(this,f.SE)},f.SE),c.jsx("div",{className:"_52uj",onMouseDown:this.$10.bind(this,f.SW)},f.SW)]},n.getWidth=function(){return this.state.width},n.onLoadUpNext=function(t,n){this.props.onLoadUpNext(t,n),this.setState({hasDrawer:!0})},n.canPlayAnotherVideo=function(){var e=this.state.channelVideoElements;return this.state.videoIndexe.state.videoIndex+1||nwindow.scrollY||n==="beginPlayback"&&r&&r.reason==="autoplay_initiated")&&this.$69(t)}},t.$74=function(t){this.$37||t!==this.$16||this.$14&&this.$14.setState({endScreenShown:!0,playbackFinished:!0,timeUntilNext:this.$50?S:0})},t.$75=function(t){var e=this;return t.addListener("finishPlayback",function(){return e.$74(t)})},t.$69=function(t){var e=t.getVideoNode();e.offsetParent&&(this.$19=t,this.$25=r("throttle")(this.$76.bind(this),100),window.addEventListener("resize",this.$25),this.$77(e),r("VideoPlayerExperiments").enableClickOnlyWatchAndScroll||this.$78())},t.$76=function(){this.$19&&(this.$77(this.$18||this.$19.getVideoNode()),this.$26&&this.$26())},t.$79=function(t){var e=this.$73(t),n=t.scrollWidth,r=t.scrollHeight,o=y,a=h;nu?c-u+_:_,p=Math.max(p,_));var f=m*i/a;return r("VideoPlayerExperiments").rhcWNSEnabled&&(f=Math.min(f,L())),{hasEnoughSpace:!!e||c>=s,height:f,left:p,top:d,width:m}},e.hasEnoughSpaceToEnter=function(t){if(!R||!t||!t.getVideoNode())return!1;var e=t.getVideoNode(),n=1,r=parseFloat(e.getAttribute("data-original-aspect-ratio")),o=e.parentElement;(!r||n===0)&&o&&(r=o.scrollWidth,n=o.scrollHeight);var a=y;return ra},t.$77=function(t){this.$22=this.$73(t),this.$27=t.scrollWidth,this.$28=t.scrollHeight;var e=Math.max(this.$27,this.$28);if(e.8:e-nthis.$21||window.scrollY0?this.$88(this.$36):t),this.$49?this.$49.add(t.getVideoID()):this.$49=new Set([t.getVideoID()]),this.$14&&this.$35.length>this.$36&&this.$88(this.$36+1).preload(),this.$15=this.$16.getRootNode();var d=!this.$1&&!((e=this.$52)!=null&&e.disableAlwaysStartMuted)||!this.$16.isMuted(),m=!this.$1||this.$16.isState("playing"),p=this.$1&&this.$16.isState("finished");if(!this.$1||c){if((!a||u)&&(u&&(this.$46=this.$59(this.$15)),this.$53(this.$15)),this.$9){if(this.$8=this.$9,this.$8.videoRootNode){this.$18=this.$89(this.$8.dimensions,this.$17.getVideoNode()),r("DOM").appendContent(this.$8.videoRootNode,this.$18);var _=r("DOM").scry(this.$8.videoRootNode,"._344x"),f=_[0];f&&r("DOM").remove(f)}}else this.$8={videoRootNode:this.$15.parentNode,dimensions:o("DOMDimensions").getElementDimensions(this.$15),source:this.$16.getSource()},this.$18=this.$89(this.$8.dimensions,this.$16.getVideoNode()),r("DOM").insertAfter(this.$15,this.$18);var g=null;this.$9&&(g=this.$9.videoRootNode),!g&&this.$15&&(g=this.$15.parentNode),g&&(this.$13=r("EventListener").listen(g,"click",function(){l.$57(),t.play("user_initiated"),r("setTimeoutAcrossTransitions")(function(){l.$68(t,"beginPlayback",{reason:"user_initiated"})},b)})),this.$16.pause("user_initiated"),this.$16.isPlayerVersion("silvercity")&&this.$16.detachRootNode();var h=this.$7?this.$7.width:this.$6,y=this.$7?this.$7.height:this.$5;this.$16.removeOffsetStylings(),this.$16.setDimensions(h,y),this.$4=!0,c&&this.$90(),this.$14=this.$91(),!this.$1&&r("shouldWNSRenderToRHC")()&&r("Arbiter").inform("VideoWatchAndScrollController/init"),p&&this.$74(this.$16)}else this.$16.pause("user_initiated"),this.$65();if(m&&this.$16.play(n),d&&(this.$16.unmute(),this.$16.getVolume()===0)){var C=r("VideoPlayerVolumeSettings").getLastVolumeBeforeMute()||1;this.$16.setVolume(C),this.$16.emit("unmuteVideo")}this.$16.updateSource("watch_scroll");var v=this.$33;(!this.$1||c)&&v&&(v.abandonRequest(),this.$9||v.reset(t.getVideoID(),t.getVideoChannelID()),this.$92(),this.$61(t),this.$62(t)),this.$1=!0,r("shouldWNSRenderToRHC")()&&r("Arbiter").inform("VideoWatchAndScrollController/start")},t.$61=function(n){n.hasOption("WatchAndScroll","isActive")||n.registerOption("WatchAndScroll","isActive",e.isActive)},t.$62=function(t){var e=this;this.$31.addSubscriptions(this.$75(t),t.addListener("VideoChannelController/enterChannel",function(){e.$31.release()}),t.addListener("WatchAndScroll/close",function(){e.$57()}))},t.$93=function(){this.$14&&(this.$14.setState({endScreenShown:!1}),this.$16&&this.$16.play("user_initiated"))},t.$92=function(){var e=this;this.$47&&this.$33.fetchStories(!0,function(t,n){var o=e.$14;if(!(!t||!t.length||!o)){var a=o.getChannelVideoElements().concat(t);o.setState({channelVideoElements:a},function(){r("setTimeoutAcrossTransitions")(function(){e.$88(e.$36+1).preload()})}),e.$38=e.$38.concat(n)}})},t.$88=function(t){var e=this.$14?this.$14.getChannelVideoElements():[],n=[this.$17].concat(this.$35),r=null;return n.forEach(function(n){e[t].contains(n.getRootNode())&&(r=n)}),r||c(0,3965),r},t.$94=function(){if(R&&R.$50)for(var e=0;eh&&(o.height=h,o.width=o.height*n),this.$16.removeOffsetStylings(),this.$16.setDimensions(o.width,o.height),this.$53(t),this.$14&&this.$14.setState({playbackFinished:!1,videoIndex:this.$36,width:o.width,height:o.height},function(){r("shouldWNSRenderToRHC")()&&r("Arbiter").inform("VideoWatchAndScrollController/resize")}),this.$46=o,this.$16.play("autoplay_initiated"),e&&this.$16.mute(),this.$35.length<=this.$36?this.$92():this.$88(this.$36+1).preload()},t.$95=function(){var e=_;return this.$12&&(e+=this.$12.scrollHeight),Math.max(e,g)},t.$53=function(t){if(this.$46){this.$7={height:this.$46.height,left:this.$46.left,top:this.$46.top,width:this.$46.width};return}if(t){var e=t.scrollWidth,n=t.scrollHeight,r=this.$79(t),o=r*n/e;this.$7.height=o,this.$7.width=r}else this.$7={height:this.$5,left:_,top:this.$95(),width:this.$6}},t.$89=function(t,n){var e=r("DOM").create("canvas",{className:"_57n6"});if(e.height=t.height,e.width=t.width,e.getContext&&e.getContext("2d")){if(n.scrollHeight===0){var o=r("DOM").scry(n.parentNode,"._3t5i"),a=o[0];if(a){var i=e.getContext("2d");i.drawImage(a,0,0)}}else if(n instanceof window.HTMLVideoElement){var l=new(r("VideoFrameBuffer"))(e,n);l.updateFrameBuffer()}}var s=r("DOM").create("div");s.appendChild(e);var u=r("DOM").create("i",{className:"_1jto _bsl _3htz"});return s.appendChild(u),s},t.$57=function(){this.$19&&this.$55(),this.$16.pause("user_initiated");var e=this.$94();e&&e.pause("user_initiated"),R&&(R.$50=null),this.$84()},t.$96=function(){this.$16.emit("WatchAndScroll/collapse")},t.$97=function(){var e=this.$89(this.$7,this.$16.getVideoNode(),!0);this.$14&&this.$14.setState({fadeOut:!0,fadeOutPlaceholder:e}),this.$98(this.$17,this.$8),this.$18&&(r("DOM").remove(this.$18),this.$18=null),this.$13&&(this.$13.remove(),this.$13=null)},t.$98=function(t,n,a){var e;t.pause("user_initiated"),t.isPlayerVersion("silvercity")&&t.detachRootNode(),a&&o("ReactDOM_DEPRECATED").unmountComponentAtNode_DEPRECATED(a),n.dimensions&&n.dimensions.width&&n.dimensions.height&&(t.addOffsetStylings(),t.setDimensions(n.dimensions.width,n.dimensions.height)),n.videoRootNode&&r("DOM").appendContent(n.videoRootNode,t.getRootNode()),t.emit("WatchAndScroll/positionUpdated"),t.updateSource(n.source||"inline");var i=this.$73(t.getVideoNode()),l=i.top,s=r("getViewportDimensions")().height;!((e=this.$52)!=null&&e.disableMuteOnExit)&&t.getSource()!=="permalink"&&t.mute(),lwindow.scrollY+s||this.$51===!1?(t.pause("autoplay_initiated"),t.emit("resumeAutoplay")):t.play("user_initiated")},t.$90=function(){var e=this;this.$4||c(0,3966),this.$40||c(0,3967),this.$40.setState({fadeOut:!0}),this.$45=r("setTimeoutAcrossTransitions")(function(){e.$41||c(0,3968),e.$42||c(0,3969),e.$98(e.$41,e.$43,e.$42),e.$44&&(r("DOM").remove(e.$44),e.$44=null),e.$45=null},b)},t.$56=function(){var e=this;this.$4||c(0,3966),this.$14||c(0,3970),!this.$23&&r("shouldWNSRenderToRHC")()&&r("Arbiter").inform("VideoWatchAndScrollController/exit"),this.$35.forEach(function(e){return e.abortLoading()}),this.$97(),this.$45=r("setTimeoutAcrossTransitions")(function(){o("ReactDOM_DEPRECATED").unmountComponentAtNode_DEPRECATED(e.$85()),e.$86()},b)},t.$86=function(){this.$4||c(0,3966),this.$33&&this.$33.abandonRequest(),this.$36=0,this.$1=!1,this.$31.release(),this.$31=new(r("SubscriptionsHandler")),this.$8={},this.$16=null,this.$17=null,this.$4=!1,this.$35=[],this.$38=[],this.$14=null,r("clearTimeout")(this.$45),this.$45=null,this.$41&&this.$42&&this.$43&&this.$98(this.$41,this.$43,this.$42),this.$41=null,this.$43={},this.$44&&(r("DOM").remove(this.$44),this.$44=null),r("VideoAutoplayControllerX").setShouldAutoplay(!0),this.$2=null,this.$23&&(this.$46=this.$59(this.$23.getVideoNode()),this.$67(),this.$63(this.$23,"user_initiated"),this.$23=null),this.$29=!1,this.$46=null},t.$91=function(){var e=this;return r("vulture")("5JMibEZjzxbD4RM0DtgE93Vyris="),o("ReactDOM_DEPRECATED").render_DEPRECATED(d.jsx(r("VideoWatchAndScrollContainer.react"),{isDrawerEnabled:r("VideoPlayerExperiments").rhcWNSDrawerEnabled&&r("shouldWNSRenderToRHC")()&&r("VideoPlayerExperiments").rhcWNSExpandToTahoe,isLiveVideo:function(){return e.$16.isLiveVideo()},initialPosition:this.$7,initialVideoElement:this.$15,onChannelNavigation:this.$99.bind(this),onClick:this.$100.bind(this),onClose:this.$57.bind(this),onCollapse:this.$96.bind(this),onDrop:this.$101.bind(this),onGrab:this.$102.bind(this),onInitialPositionUpdate:this.$103.bind(this),onLoadUpNext:this.registerUpNextUnit.bind(this),onPlayNext:this.$104.bind(this),onReplay:this.$93.bind(this),viewedVideos:Array.from(this.$49),videoID:this.$16.getVideoID()}),this.$85())},t.$84=function(){this.$17&&this.$17.emit("exitWatchAndScroll");var e=this.$94();e&&e.emit("exitWatchAndScroll")},t.$99=function(t){if(t>0&&this.$35.length<=this.$36){r("shouldWNSRenderToRHC")()||this.$57();return}this.$36+=t,this.$65()},t.$104=function(){var e=this.$94();e&&(this.$50=null,e.emit("crossfadeWatchAndScroll"),this.$51?e.play("autoplay_initiated"):(e.preload(),e.emit("showOverlay")))},t.$102=function(){this.$19&&this.$55();var e=this.$16.getOption("VideoWithLiveBroadcast","isLive");e||(this.$24=this.$16.isState("playing"),this.$16.pause("user_initiated"))},t.$101=function(){var e=this.$16.getOption("VideoWithLiveBroadcast","isLive");e||(this.$24&&this.$16.play("user_initiated"),this.$24=null)},t.$100=function(){var e=this.$16.getOption("VideoWithLiveBroadcast","isLive");this.$19||e||(this.$16.isState("playing")?this.$16.pause("user_initiated"):(this.$16.isState("paused")||this.$16.isState("finished")||this.$16.isState("ready"))&&this.$16.play("user_initiated"))},t.$87=function(t){var e=this;this.$16!==t&&(r("VideoPlayerExperiments").rhcWNSEnabled&&t.addListener("WatchAndScroll/collapse",function(){if(t!=e.$16){t.removeCurrentListener();return}r("shouldWNSRenderToRHC")()&&r("Arbiter").inform("VideoWatchAndScrollController/collapse")}),this.$16=t)},t.pauseActiveVideo=function(t){this.$16&&this.$16.pause(t)},e.pauseActiveVideo=function(t){t===void 0&&(t="user_initiated"),R&&R.pauseActiveVideo(t)},t.playActiveVideo=function(t){this.$16&&this.$16.play(t)},t.registerUpNextUnit=function(t,n){var e=r("DOM").find(t,"._3iqr");!R||!e||(R.$50=t,R.$51=n,r("EventListener").listen(e,"click",function(e){if(R){var t=R.$94();t&&(e.preventDefault(),e.stopPropagation(),R.$50=null,t.emit("crossfadeWatchAndScroll"),t.play("user_initiated"))}}))},e.playActiveVideo=function(t){t===void 0&&(t="user_initiated"),R&&R.playActiveVideo(t)},t.$103=function(t){this.$7=t,this.$14&&!this.$14.getFadeOutStatus()&&(this.$16.removeOffsetStylings(),this.$16.setDimensions(t.width,t.height),this.$16.emit("WatchAndScroll/positionUpdated"))},t.$105=function(){var e=r("DOM").create("div");return r("shouldWNSRenderToRHC")()?r("ifRequired")("RHCVideoWNSController",function(t){return t.mount(e)}):r("DOM").appendContent(document.body,e),e},t.$85=function(){return this.$2||(this.$2=this.$105()),this.$2},e})();l.default=E}),98); __d("XBasicFBNuxGenShouldShowControllerRouteBuilder",["jsRouteBuilder"],(function(t,n,r,o,a,i,l){var e=r("jsRouteBuilder")("/ajax/megaphone/should_show_fbnux/",Object.freeze({should_log_view:!0}),void 0),s=e;l.default=s}),98); __d("VideoControls",["csx","cx","Arbiter","AsyncRequest","Bootloader","CSS","DeferredComponent.react","EventListener","FullScreen","LiveRewindUtils","LiveVideoPlayerActions","Parent","PlaybackSpeedExperiments","ReactDOM","SubscriptionsHandler","VideoPlayerExperiments","VideoPlayerUIComponentDrawer","VideoWatchAndScrollController","XBasicFBNuxGenShouldShowControllerRouteBuilder","cancelAnimationFrame","containsNode","destroyOnUnload","getActiveElement","logVideosClickTracking","react","requestAnimationFrame","shouldWNSRenderToRHC","throttle"],(function(t,n,r,o,a,i,l,s,u){var e,c=e||(e=o("react")),d=new Set(["embedded","embedded_video","embedded_video_preview","embedded_page_plugin","embedded_video_from_ufi"]),m=200,p=4936,_=36,f=5e3,g=(function(){function e(e,t,n){var a=this,i,l;this.$16={current:null},this.$132=function(){a.$11=!1,a.scheduleRenderReactComponent()},this.$15=e,this.$16.current=this.$15,this.$90=t,this.$123=o("ReactDOM").createRoot(t),this.$10=0,this.$83=0,this.$82=0,this.$29=0,this.$122=!1,this.$91=!1,this.$49=n.hideOnEvents.autoplay,this.$50=n.hideOnEvents.finish,this.$43=n.hideOnEvents.pause,this.$104=n.unhideOnHover,this.$44=n.hidePlaybackControl,this.$45=n.isWatchIconEligible,this.$46=n.hidePlaybackScrubber,this.$105=n.showPlaybackRateControl,this.$108=n.showVideoSliderWarningTooltip,this.$47=n.hideRemainingTime,this.$48=n.hideSettings,this.$119=n.useTwoRows,this.$56=n.isCommentAttachment,this.$84=n.pointsOfInterestConfig||{},this.$18=n.displayElapsedTime||!1,this.$19=n.showControlsOnFullScreenOnly||!1,this.$20=n.displayMilliseconds||!1,this.$21=n.displayDurationLimit,this.$22=n.displayTimeOffset,this.$1=n.adBreaks,this.$2=n.adBreaksDisableReasons,this.$86=(i=n.pollTimestamps)!=null?i:[],this.$69=!1,this.$101=n.shouldShowWNSNUX,this.$11=!1,this.$38=!1,this.$51=n.insertedAdBreaks,this.$52=n.isAdBreakDisabled,this.$53=n.isAdBreakInsertionWithoutGapRule,this.$102=(l=n.showEligibleStarsCueTimeSegments)!=null?l:!1,this.$103=n.selectedStarsCueTimestamp,this.$63=n.isLiveRewindEnabled||this.$15.isFBWasLive(),this.$64=this.$15.isFBWasLive(),this.$76=null,this.$106=n.showPlayButtonForLive,this.$120=n.videoClipInfo,this.$97=!!n.videoClipInfo,this.$13=null;var s=e.isHtml5Player(),u=e.getPlayerSuborigin();this.$40=n.showButtons.watchandscroll&&s&&u!=="topic_live",this.$3=n.showButtons.casting,this.$4=n.showButtons.fullscreen&&!!r("FullScreen").isSupported(),this.$5=n.showButtons.audioButton,this.$80=n.permalinkURL,this.$98=n.shouldShowInlineCopyLinkOption,this.$99=n.shouldShowInlineVideoReportOption,this.$100=n.shouldShowPermalinkButton,this.$61=n.isLive,this.$62=n.isGamingVideo,this.$70=n.isSphericalVideo,this.$30=n.forceVisible||!1,this.$31=n.forceVisibleOnMount||!1,this.$42=n.hideGradient||!1,this.$117=n.useDarkTheme||!1,this.$54=!1,this.$41=!1,this.$67=!1,this.$68=!1,this.$107=n.showQualitySelector,this.$87=n.qualitySelectorMinStreams,this.$74=this.liveRewindToBeginning.bind(this),this.$72=this.liveRewindSeekBack.bind(this),this.$73=this.liveRewindSeekForward.bind(this),this.$75=this.liveRewindToLive.bind(this),this.$26=this.enterWatchAndScroll.bind(this),this.$25=this.enterTahoe.bind(this),this.$81=this.play.bind(this),this.$79=this.pause.bind(this),this.$92=this.scrubBegin.bind(this),this.$93=this.scrubEnd.bind(this),this.$109=this.startCasting.bind(this),this.$110=this.stopCasting.bind(this),this.$112=this.toggleFullscreen.bind(this),this.$113=this.toggleHD.bind(this),this.$114=this.toggleHLS.bind(this),this.$115=this.toggleMuted.bind(this),this.$116=this.toggleCaptions.bind(this),this.$12=this.changeVolume.bind(this),this.$96=this.setVideoPlaybackRate.bind(this),this.$95=this.setPreferredVideoQuality.bind(this),this.$24=this.$15.registerDrawer(r("VideoPlayerUIComponentDrawer").priorities.EmbeddedControls,_),this.$78=n.needsInitialVideoInfoUpdate,this.$17=this.$15.getSource(),this.$33=n.gamesVideoClipButtonEnabled,this.$34=!!n.gamesVideoCreatorClippingGK&&!d.has(this.$17),this.$35=n.gamesDefaultClipLengthInSec,this.$7=n.annotatedMomentsOfInterest||{},this.$57=n.isEmbeddedPlayerRedesignEnabled,this.$118=n.useLargerGradient||!1,r("VideoPlayerExperiments").persistentWNSEnabled||r("destroyOnUnload")(function(){var e;(e=a.$123)==null||e.unmount()});var c=this.$15.getRootNode();r("EventListener").listen(this.$90,"focusin",function(){a.$28=!0,a.scheduleRenderReactComponent()}),r("EventListener").listen(this.$90,"focusout",function(){r("containsNode")(a.$90,r("getActiveElement")())||(a.$28=!1,a.scheduleRenderReactComponent())}),r("EventListener").listen(c,"click",function(e){if(a.$28&&e.detail){var t=r("getActiveElement")();t&&t.blur()}}),r("EventListener").listen(c,"mouseleave",function(){a.$77=!1,a.scheduleRenderReactComponent()}),r("EventListener").listen(c,"mouseenter",function(){a.$77=!0,a.scheduleRenderReactComponent()}),this.$15.registerOption("VideoControls","acquireForceHideLock",function(){return a.$29++,{release:function(){a.$29--,a.scheduleRenderReactComponent()}}}),this.$15.registerOption("VideoControls","hideOnFinish",function(){return a.$50},function(e){a.$50=e}),this.$15.registerOption("VideoControls","hideOnPause",function(){return a.$43},function(e){a.$43=e}),this.$15.registerOption("VideoControls","unhideOnHover",function(){return a.$104},function(e){a.$104=e}),this.$15.registerOption("VideoControls","hidePlaybackControl",function(){return a.$44},function(e){a.$44=e,a.scheduleRenderReactComponent()}),this.$15.registerOption("VideoControls","available",function(){return!0}),this.$15.registerOption("VideoControls","areControlsVisible",function(){return a.areControlsVisible()}),["mousemove","mousedown","keydown"].forEach(function(e){r("EventListener").listen(a.$15.getRootNode(),e,r("throttle")(function(){return a.flashControls()},200))}),this.$111=new(r("SubscriptionsHandler")),this.scheduleRenderReactComponent();var m=["changeVolume","loadedSubtitles","captionsAvailabilityChanged","muteVideo","pausePlayback","stateChange","toggleFullscreen","toggleSubtitles","updateMetadata","unmuteVideo","qualityChange","casting/receiverStateChange","casting/supportStateChange","casting/castingStateChange","casting/playStateChange"];m.forEach(function(e){return a.$111.addSubscriptions(a.$15.addListener(e,function(){return a.scheduleRenderReactComponentWithVideoInfoUpdate()}))}),this.$111.addSubscriptions(this.$15.addListener("pauseRequested",function(e){a.$124(e)}),this.$15.addListener("playRequested",function(e){a.$125(e)}),this.$15.addListener("beginPlayback",function(){return a.$126()}),this.$15.addListener("updateStatus",function(e){if(a.$63){var t=a.$15.getSeekableRanges();if(a.$64&&o("PlaybackSpeedExperiments").enableWwwPlaybackSpeedControl()){var n,r,i=(n=a.$15.getCurrentTimePosition())!=null?n:0,l=t!=null&&(r=t.end(t.length()-1))!=null?r:0;i>0&&l>0&&i>=l&&a.liveRewindToLive()}t&&(a.$71=o("LiveRewindUtils").getRelativePosition(e.position,t))}a.$83=e.position,a.$22&&(a.$83-=a.$22),a.scheduleRenderReactComponent()}),this.$15.addListener("casting/updateStatus",function(e){if(a.$63){var t=a.$15.getSeekableRanges();t&&(a.$71=o("LiveRewindUtils").getRelativePosition(e.position,t))}a.$83=e.position,a.scheduleRenderReactComponent()}),this.$15.addListener("seekRangeChanged",function(e){if(a.$63){var t=a.$15.getSeekableRanges();t&&(a.$82=o("LiveRewindUtils").getTotalDuration(t))}}),this.$15.addListener("updateBuffer",function(e){a.$10=e.duration+e.offset,a.scheduleRenderReactComponent()}),this.$15.addListener("optionsChange",function(e){a.$127()}),this.$15.addListener("resumeAutoplay",function(e){a.$128(),a.scheduleRenderReactComponentWithVideoInfoUpdate()}),this.$15.addListener("turnOffAutoplay",function(e){a.$55=!1}),this.$15.addListener("LivePlayer/isRewoundChanged",function(e){var t=a.$15.getOption("LivePlayer","isRewound");a.$64!==t&&(a.$64=t,a.scheduleRenderReactComponent())}),this.$15.addListener("blockAudio",function(e){e||(a.$54=!0)}),this.$15.addListener("unblockAudio",function(e){e||(a.$54=!1)})),this.$101&&this.$111.addSubscriptions(this.$15.addListener("VideoWithStallRecovery/bufferingStateOn",function(){a.$38||a.$129(p)}),this.$15.addListener("VideoWithStallRecovery/bufferingStateOff",function(){a.$11=!1})),this.$111.addSubscriptions(this.$15.addListener("finishPlayback",function(){a.scheduleRenderReactComponent(!0)})),this.$127()}var t=e.prototype;return t.$130=function(){this.$94=this.$15.getOption("VideoScrubberPreviewComponent","scrubberPreviewSprites"),this.$37=this.$15.getOption("VideoScrubberPreviewComponent","hasPreviewThumbnails"),this.$85=this.$15.getOption("VideoScrubberPreviewComponent","previewThumbnailInformation")},t.$128=function(){this.$55=this.$15.getOption("FeedAutoplay","isAutoplaying")},t.$127=function(){this.$128(),this.$130()},t.$124=function(t){var e=this;this.scheduleRenderReactComponentWithVideoInfoUpdate(),this.$61&&this.$63&&t==="user_initiated"&&!this.$64&&this.$76===null&&(this.$76=window.setTimeout(function(){e.$76=null,o("LiveVideoPlayerActions").setIsRewound(e.$15,!0)},m))},t.$125=function(t){this.$61&&this.$63&&t==="user_initiated"&&this.$76!==null&&(window.clearTimeout(this.$76),this.$76=null)},t.$126=function(){this.flashControls(),this.$131(),this.$66=!0,this.scheduleRenderReactComponentWithVideoInfoUpdate()},t.$129=function(t){var e=this,n=r("XBasicFBNuxGenShouldShowControllerRouteBuilder").buildUri({nux_id:t});new(r("AsyncRequest"))().setURI(n).setMethod("GET").setReadOnly(!0).setHandler(function(t){var n=t.getPayload();e.$11=n.should_show_nux}).send()},t.updateConfig_DEPRECATED=function(t,n){this.$80=t.permalinkURL||null,this.$3=t.showButtons?t.showButtons.casting:!1,this.$61=!!t.isLive,this.$1=t.adBreaks||null,this.$118=t.useLargerGradient||!1,this.$105=t.showPlaybackRateControl||!1,this.scheduleRenderReactComponent()},t.updateAdBreaksConfig=function(t){this.$51=t.insertedAdBreaks,this.$52=t.isAdBreakDisabled,this.$53=t.isAdBreakInsertionWithoutGapRule,this.$30=!t.isPreviewingAdBreak,this.scheduleRenderReactComponent()},t.updateStarsCueConfig=function(t){this.$103=t.selectedStarsCueTimestamp,this.scheduleRenderReactComponent()},t.updateTwoRowsConfig=function(t){this.$119=t.useTwoRows,this.$56=t.isCommentAttachment,this.scheduleRenderReactComponent()},t.flashControls=function(){var e=this;this.$88||(this.$88=!0,this.scheduleRenderReactComponent()),window.clearTimeout(this.$27),this.$27=window.setTimeout(function(){e.$27=null,e.$88=!1,e.scheduleRenderReactComponent()},3e3)},t.$131=function(){var e=this;this.$31&&(window.clearTimeout(this.$32),this.$32=window.setTimeout(function(){e.$32=null,e.$31=!1,e.scheduleRenderReactComponent()},f))},t.areControlsVisible=function(){var e=this;if(!this.areControlsEnabled())return!1;if(this.$30||this.$11||this.$67||this.$68||this.$31)return!0;if(this.$15.isState("playing"))return this.$97?(this.$13||(this.$13=window.setTimeout(function(){e.$97=!1},5e3)),!0):this.$49&&this.$55?!1:this.$28||this.$77&&this.$88;if(this.$15.isState("finished")){var t=this.$15.getSource()==="tahoe";return this.$15.isFullscreen()||t||!this.$50}else if(this.$15.isState("paused"))return this.$15.isFullscreen()||!this.$43||this.$104&&(this.$28||this.$77&&this.$88);return!1},t.areControlsEnabled=function(){var e=this.$15.getSource()==="tahoe";return!(this.$29>0||this.$15.isState("loading")||this.$15.isState("fallback")||this.$15.getOption("SottoPaywall","enable")||this.$15.isState("finished")&&this.$50&&!this.$15.isFullscreen()&&!e)},t.scheduleRenderReactComponentWithVideoInfoUpdate=function(){this.$78=!0,this.scheduleRenderReactComponent(!0)},t.shouldRenderComponent=function(){return this.$15.isState("loading")||this.$15.isState("fallback")?!1:this.areControlsVisible()?(this.$41=!1,!0):this.$41?!1:(this.$41=!0,!0)},t.scheduleRenderReactComponent=function(t){var e=this;t===void 0&&(t=!1),!(!t&&!this.shouldRenderComponent())&&(r("cancelAnimationFrame")(this.$89),this.$89=r("requestAnimationFrame")(function(){return e.renderReactComponent()}))},t.renderReactComponent=function(){var e=this;if(r("VideoPlayerExperiments").delayVideoControlRenderForApiReady&&this.$15.getState()==="loading"&&!this.$91){this.$91=!0,this.$15.runOnApiReady(function(){e.scheduleRenderReactComponent()});return}this.$78&&this.$133();var t=this.areControlsVisible();this.$122!==t&&(this.$15.emit("VideoControls/visibilityUpdate",{areControlsVisible:t}),t?this.$24.reserve():this.$24.release(),this.$15.isState("destroyed")||o("CSS").conditionClass(this.$15.getRootNode(),"_302m",!t)),this.$122=t;var n=this.$15.getAvailableVideoQualities(),i=this.$15.getPreferredVideoQuality(),l=this.$15.getSelectedVideoQuality(),s=this.$15.canAutoSelectVideoQuality(),u=this.$15.getStreamingFormat(),m=this.$69;this.$69=r("VideoPlayerExperiments").slidingWNSv3&&this.$40&&r("VideoWatchAndScrollController").isSlidingEnabled(this.$15),m!==this.$69&&this.$15.logEvent(this.$69?"watch_and_scroll_icon_highlighted":"watch_and_scroll_icon_unhighlighted");var p=this.$15.getSource()==="tahoe",_=this.$15.getSource()==="watch_scroll",f=this.$15.isFBIsLiveTemplated()||this.$15.isFBWasLive(),g=this.$63&&f&&(this.$15.isFBWasLive()||this.$15.getState()!=="finished"),h=c.jsx(r("DeferredComponent.react"),{deferredPlaceholder:c.jsx("span",{}),deferredComponent:function(t){return a(["VideoControls.react"],t)},allowCasting:this.$3,allowFullscreen:this.$4,allowAudioButton:this.$5,annotatedMomentsOfInterest:this.$7,areCaptionsActive:this.$8,areCaptionsAutogenerated:this.$9,areHLSActive:this.$6,bufferedPosition:this.$10,finishedPlaying:this.$15.isState("finished"),hasFoundReceiver:this.hasFoundReceiver(),hasHD:this.$36,hasCaptions:this.$39,hasWatchAndScroll:this.$40&&!this.getIsInChannel(),hidden:!this.areControlsEnabled(),hideGradient:this.$42,isAudioBlocked:this.$54,isCasting:this.isCasting(),isCastingSupported:this.isCastingSupported(),isCommentAttachment:this.$56,isEmbedded:d.has(this.$17),isEmbeddedPlayerRedesignEnabled:this.$57,isFullscreen:this.$58,isHD:this.$59,isInline:this.$60,isInTahoe:p,isInWatchAndScroll:_,isLive:this.$61,isLiveRewindEnabled:g,isLiveRewound:this.$64,isFBWasLive:this.$15.isFBWasLive(),isSphericalVideo:this.$70,isMuted:this.$65,isPlaying:this.$66,isSidePaneOpen:this.getIsInChannel()&&!!o("Parent").bySelector(this.$90,"._57bj"),isSlidingWNSEligible:this.$69,interestLevels:null,liveRelativePlaybackPosition:this.$71,drawer:this.$24,onActionsClick:function(){e.$68=!e.$68},onAnnotatedMomentOfInterestSelect:function(n){e.$15.seek(n)},onEnterWatchAndScroll:this.$26,onEnterTahoe:this.$25,doesFullscreenEnterTahoe:this.$23,onLiveRewindToBeginning:this.$74,onLiveRewindSeekBack:this.$72,onLiveRewindSeekForward:this.$73,onLiveRewindToLive:this.$75,onWNSNUXClose:this.$132,onClipVideo:this.$14,onPause:this.$79,onPlay:this.$81,onScrubBegin:this.$92,onScrubEnd:this.$93,onSetVideoPlaybackRate:this.$96,onSettingsClick:function(){e.$67=!e.$67},onSidePaneToggle:function(){r("Arbiter").inform("VideoChannelView/sidePaneToggle",{})},onStartCast:this.$109,onStopCast:this.$110,onToggleFullscreen:this.$112,onToggleHD:this.$113,onToggleHLS:this.$114,onToggleMuted:this.$115,onToggleCaptions:this.$116,onVolumeChange:this.$12,permalinkURL:this.$80,showInlineCopyLinkOption:this.$98,showInlineVideoReportOption:this.$99,showPermalinkButton:this.$100,playbackDuration:this.$82,playbackPosition:this.$83,transparent:!t,hidePlaybackControl:this.$44,isWatchIconEligible:this.$45,hidePlaybackScrubber:this.$46,showPlaybackRateControl:this.$105,showPlayButtonForLive:this.$106,showVideoSliderWarningTooltip:this.$108,hideRemainingTime:this.$47,hideSettings:this.$48,useTwoRows:this.$119,volume:this.$121,scrubberPreviewSprites:this.$94,hasScrubberPreview:this.$37&&!_,previewThumbnailInformation:this.$85,availableQualities:n,selectedQuality:l,preferredQuality:i,canAutoSelectVideoQuality:s,onSelectQuality:this.$95,showQualitySelector:this.$107,qualitySelectorMinStreams:this.$87,streamingFormat:u,onPointOfInterestSelect:this.$84.onPointOfInterestSelect,currentPointOfInterest:this.$84.currentPointOfInterest,pointsOfInterest:this.$84.pointsOfInterest,showPointOfInterestTimestamps:this.$84.showPointOfInterestTimestamps,displayElapsedTime:this.$18,showControlsOnFullScreenOnly:this.$19,displayMilliseconds:this.$20,adBreaks:this.$1,pollTimestamps:this.$86.filter(function(t){return t<=e.$82}),vpcID:this.$15.getVideoPlayerID(),adBreaksDisableReasons:this.$2,showSidePaneToggle:!1,showWNSNUX:this.$11&&this.areControlsEnabled()&&this.$101,insertedAdBreaks:this.$51,isAdBreakDisabled:this.$52,isAdBreakInsertionWithoutGapRule:this.$53,showEligibleStarsCueTimeSegments:this.$102,selectedStarsCueTimestamp:this.$103,useDarkTheme:this.$117,videoID:this.$15.getVideoID(),videoClipInfo:this.$120?this.$120:void 0,gamesVideoClipButtonEnabled:this.$33,gamesVideoCreatorClipping:this.$34,gamesDefaultClipLengthInSec:this.$35,useLargerGradient:this.$118});o("ReactDOM").flushSync(function(){var t;(t=e.$123)==null||t.render(h)}),this.$11&&this.areControlsEnabled()&&this.$101&&(this.$38=!0)},t.$133=function(){var e=this.$15.getVideoInfo_DEPRECATED();if(e){if(this.$8=this.$15.areSubtitlesActive(),this.$9=this.$15.areSubtitlesAutogenerated(),this.$39=this.$15.hasSubtitles(),this.$36=e.hasHD,this.$59=e.isHD,this.$65=e.isMuted,this.$66=e.isPlaying||this.isCastPlaying(),this.$63){var t=this.$15.getSeekableRanges();t&&(this.$82=o("LiveRewindUtils").getTotalDuration(t))}else this.$21!=null?this.$82=Math.min(e.playbackDuration,this.$21):this.$82=e.playbackDuration;this.$121=e.volume;var n=this.$15.getOption("CommercialBreakVideoAdOverlay","videoController");n?this.$58=n.isFullscreen():this.$58=this.$15.isFullscreen();var r=this.$15.getPlayerOrigin();switch(this.$15.getSource()){case"inline":case"discover":case"continue_watching_recommendation":case"topic_live":case"entry_point":this.$60=!0;break;case"permalink":this.$60=r==="video_home";break;case"games_video_home_hero":this.$60=r==="games_video_hub";break;default:this.$60=!1;break}this.$61=e.isLiveStream,this.$6=e.areHLSActive,this.$78=!1,this.$23=this.$15.listeners("enterTahoe").length!==0}},t.toggleHD=function(){this.$15.toggleHD()},t.setPreferredVideoQuality=function(t){t?this.$15.setPreferredVideoQuality(t):this.$15.unsetPreferredVideoQuality()},t.toggleHLS=function(){this.$15.switchToStreamType("hls")},t.enterWatchAndScroll=function(){r("shouldWNSRenderToRHC")()?this.$15.emit("crossfadeWatchAndScroll"):this.$15.emit("enterWatchAndScroll")},t.enterTahoe=function(){var e=this;this.$15.getSource()==="watch_scroll"?(this.$15.logEvent("watch_and_scroll_channel_entered"),r("Bootloader").loadModules(["TahoeController","URI"],function(t,n){var o=new n(e.$15.getVideoURL()),a=babelHelpers.extends({},n.getRequestURI().getQueryData(),{ref:"tahoe"});r("VideoWatchAndScrollController").onEnterTahoe(),t.openFromVideoPlayer(e.$15,o.setQueryData(a),e.$15.getVideoChannelID(),"wns")},"VideoControls")):this.$15.emit("enterTahoe")},t.scrubBegin=function(){this.isCasting()||this.$15.pause("seek_initiated")},t.scrubEnd=function(t){if(this.$63){var e=this.$15.getSeekableRanges();if(e){var n=this.$71;this.$71=t,t=o("LiveRewindUtils").getAbsolutePosition(t,e);var r=o("LiveRewindUtils").getLiveHeadTimestamp(e),a=r-t<1;o("LiveVideoPlayerActions").setIsRewound(this.$15,!a),o("LiveRewindUtils").logLiveRewindEvent("scrubber",this.$15,n,null,null,t)}}this.$22&&(t+=this.$22),this.$15.seek(t,"user_initiated"),this.$83=t;var i=this.$66||this.$15.isState("finished")&&!this.$50;!this.isCasting()&&i&&this.$15.play("seek_initiated")},t.toggleMuted=function(){this.$15.isMuted()?(r("logVideosClickTracking")(this.$15.getVideoNode()),this.$15.unmute()):this.$15.mute()},t.toggleFullscreen=function(){this.$15.isFullscreen()||r("logVideosClickTracking")(this.$15.getVideoNode()),this.$15.toggleFullscreen()},t.toggleCaptions=function(){this.$15.toggleSubtitles(),this.scheduleRenderReactComponent()},t.changeVolume=function(t){this.$15.setVolume(t)},t.liveRewindToBeginning=function(){o("LiveRewindUtils").goToBeginning(this.$15)},t.liveRewindSeekBack=function(){o("LiveRewindUtils").seekBack(this.$15)},t.liveRewindSeekForward=function(){o("LiveRewindUtils").seekForward(this.$15)},t.liveRewindToLive=function(){o("LiveRewindUtils").goToLive(this.$15)},t.play=function(){r("logVideosClickTracking")(this.$15.getVideoNode()),this.isCasting()?this.$15.setOption("casting","isPlaying",!0):this.$15.play("user_initiated"),this.$61&&this.$63&&o("LiveRewindUtils").logLiveRewindEvent("play",this.$15,this.$71,null,this.$71,null)},t.pause=function(){this.isCasting()?this.$15.setOption("casting","isPlaying",!1):this.$15.pause("user_initiated"),this.$61&&this.$63&&(o("LiveVideoPlayerActions").setIsRewound(this.$15,!0),o("LiveRewindUtils").logLiveRewindEvent("pause",this.$15,this.$71,null,this.$71,null))},t.setVideoPlaybackRate=function(t){this.$15.setPlaybackRate(t)},t.startCasting=function(){this.$15.setOption("casting","isCasting",!0)},t.stopCasting=function(){this.$15.setOption("casting","isCasting",!1)},t.isCastPlaying=function(){return this.$15.getOption("casting","isPlaying")},t.hasFoundReceiver=function(){return this.$15.getOption("casting","hasFoundReceiver")},t.isCasting=function(){return this.$15.getOption("casting","isCasting")},t.isCastingSupported=function(){return this.$15.getOption("casting","isSupported")},t.updatePointsOfInterestConfig=function(t){Object.assign(this.$84,t),this.scheduleRenderReactComponent()},t.updateDisplayElapsedTime=function(t){this.$18=t,this.scheduleRenderReactComponent()},t.updateDisplayTimeRangeConfig=function(t){this.$21=t.displayDurationLimit,this.$22=t.displayTimeOffset,this.scheduleRenderReactComponentWithVideoInfoUpdate()},t.getIsInChannel=function(){return this.$15.getIsInChannel()},t.$134=function(){var e=[this.$13,this.$27,this.$32,this.$76];e.forEach(function(e){return window.clearTimeout(e)}),this.$13=null,this.$27=null,this.$32=null,this.$76=null},t.unregister=function(){r("cancelAnimationFrame")(this.$89),this.$111.release(),this.$16.current=null,this.$134()},e})();l.default=g}),98); __d("VideoErrorOverlay",["SphericalVideoFallback","vulture"],(function(t,n,r,o,a,i,l){function e(e,t){"textContent"in e&&(e.textContent=t),e.innerText=t}function s(e){return"textContent"in e?e.textContent:e.innerText?e.innerText:""}var u=(function(){function t(e,t,n,r,a){var i=this;this.$1=t,this.$2=n,this.$3=r,e.registerOption("VideoErrorOverlay","title",function(){return i.getTitle()},function(e){return i.setTitle(e)}),e.registerOption("VideoErrorOverlay","message",function(){return i.getMessage()},function(e){return i.setMessage(e)}),e.registerOption("VideoErrorOverlay","linkURL",function(){return i.getLinkURL()},function(e){return i.setLinkURL(e)}),e.registerOption("VideoErrorOverlay","linkTitle",function(){return i.getLinkTitle()},function(e){return i.setLinkTitle(e)}),e.registerOption("VideoErrorOverlay","available",function(){return!0}),a&&o("SphericalVideoFallback").setup(e,a)}var n=t.prototype;return n.getTitle=function(){return this.$1?s(this.$1):""},n.setTitle=function(n){this.$1&&e(this.$1,n)},n.getMessage=function(){return r("vulture")("CDh8xvqV1KoXhyyB-uS2jWMi_jc="),s(this.$2)},n.setMessage=function(n){e(this.$2,n)},n.getLinkURL=function(){return this.$3.href},n.setLinkURL=function(t){this.$3.href=t},n.getLinkTitle=function(){return s(this.$3)},n.setLinkTitle=function(n){e(this.$3,n)},t})();l.default=u}),98); __d("VideoHomeEvents",[],(function(t,n,r,o,a,i){var e=Object.freeze({SESSION_PREFETCH:"session_prefetch",SESSION_START:"session_start",SESSION_PAUSE:"session_pause",SESSION_RESUME:"session_resume",SESSION_END:"session_end",FOLLOW:"follow",UNFOLLOW:"unfollow",SUBSCRIBE:"subscribe",SUBSCRIBE_SOME:"subscribe_some",UNSUBSCRIBE:"unsubscribe",PIN_TOPIC:"pin_topic",UNPIN_TOPIC:"unpin_topic",MARK_VISIT:"mark_visit",MARK_VISIT_WITH_BADGE:"mark_visit_with_badge",MARK_VISIT_WATCHLIST:"mark_visit_watchlist",MARK_SESSION_END:"mark_session_end",MARK_FEED_SESSION_END:"mark_feed_session_end",SECTION_PAGINATION_ERROR:"section_pagination_error",AFTER_PARTY_REACT:"after_party_react",AFTER_PARTY_IMPRESSION:"after_party_impression",SAW_SUPER_BADGE:"saw_super_badge",ENABLE_WATCHLIST_NOTIF:"enable_watchlist_notif",DISABLE_WATCHLIST_NOTIF:"disable_watchlist_notif",VISIT_WATCHLIST_SETTING:"visit_watchlist_setting",VISIT_WATCHLIST_ADD_PAGES:"visit_watchlist_add_pages",VISIT_WATCHLIST_MANAGE:"visit_watchlist_manage",VISIT_WATCH_MANAGE:"visit_watch_manage",VISIT_NOTIF_CONTROLS:"visit_notif_controls",VISIT_VOD_NOTIF_CONTROLS:"visit_vod_notif_controls",VISIT_LIVE_NOTIF_CONTROLS:"visit_live_notif_controls",UNHIDE_ALL_IN_WATCHLIST:"unhide_all_in_watchlist",UNHIDE_PAGE_IN_WATCHLIST:"unhide_page_in_watchlist",HIDE_ALL_IN_WATCHLIST:"hide_all_in_watchlist",HIDE_PAGE_IN_WATCHLIST:"hide_page_in_watchlist",OPTED_OUT_WATCHLIST_BUSINESS_PAGES:"opted_out_watchlist_business_pages",OPTED_OUT_BUSINESS_PAGE_ON_FOLLOW:"opted_out_business_page_on_follow",FEED_PAGE_VISIT:"feed_page_visit",LIVE_REMINDER:"live_reminder",HIDE:"hide",SEE_MORE:"see_more",SEE_LESS:"see_less",SEE_MORE_FAIL:"see_more_fail",SEE_LESS_FAIL:"see_less_fail",UNDO_SEE_MORE:"undo_see_more",UNDO_SEE_LESS:"undo_see_less",UNDO_SEE_MORE_FAIL:"undo_see_more_fail",UNDO_SEE_LESS_FAIL:"undo_see_less_fail",DISPLAY_BADGE_ON_TAB:"display_badge_on_tab",REFINEMENT_SELECT:"refinement_select",REFINEMENT_UNSELECT:"refinement_unselect",VIDEO_DELETED:"video_deleted",VIDEO_STATUS_CHANGED:"video_status_changed",VIDEO_PREVIEW_LOAD:"video_preview_load",NAVIGATION:"navigation",OPEN_DIVEBAR:"open_divebar",CONTENT:"content",PULL_TO_REFRESH:"pull_to_refresh",HANDLING_APNS:"handling_apns",AUDIO_STATE:"audio_state",BADGE_FETCHED:"badge_fetched",METADATA_FETCHED:"metadata_fetched",DATA_PREFETCH:"data_prefetch",UNIT_PREFETCH:"unit_prefetch",GRAPHQL_BADGE_UPDATE_SUBSCRIPTION:"graphql_badge_update_subscription",BADGE_COUNT_FETCH_ON_BADGE_PUSH:"badge_count_fetch_on_badge_push",EMPTY_UNIT:"empty_unit",EMPTY_PAGINATION:"empty_pagination",INVALID_UNIT:"invalid_unit",INVALID_CHANNEL_TYPE:"invalid_channel_type",NO_ITEMS_WITH_HAS_NEXT_PAGE:"no_items_with_has_next_page",SKIPPED_NOT_LIVE_IMPRESSION:"skipped_not_live_impression",COLLAPSED_IMPRESSION:"collapsed_impression",COLLAPSED_NO_VIDEO:"collapsed_no_video",SKIPPED_MF_LIVE_MISMATCH_IMPRESSION:"skipped_mf_live_mismatch_impression",COLLAPSED_WAS_LIVE_LIMIT_IMPRESSION:"collapsed_was_live_limit_impression",IMPRESSION:"impression",VPV:"vpv",VPVD:"vpvd",VPV_DURATION:"vpv_duration",CLICK:"click",SWIPE:"swipe",SESSION_SUMMARY:"session_summary",WATCH_SUMMARY:"watch_summary",WATCHLIST_LOAD:"watchlist_load",UNFOLLOWED_WATCHLIST_LOAD:"unfollowed_watchlist_load",DUPLICATE:"duplicate",BACKGROUNDED:"backgrounded",FOREGROUNDED:"foregrounded",END_SCREEN_DISPLAYED:"end_screen_displayed",END_OF_DATA:"end_of_data",END_OF_SECTION:"end_of_section",MARK_DATA_DIRTY:"mark_data_dirty",TAB:"tab",TOPIC_SELECTED:"topic_selected",REDIRECT:"redirect",LOAD_LOADING_CARD_VIEW:"load_loading_card_view",LOAD_ITEMS_LOADING_CARD_VIEW:"load_items_loading_card_view",TTI:"tti",TTI_REALDATA:"tti_realdata",E2E:"e2e",LOAD_SECTION:"load_section",LOAD_ITEMS:"load_items",MULTI_MEDIA_CHAINING_PAGE_LOAD:"multi_media_chaining_page_load",REACTION_UNIT_ID_MEMCACHE_HIT:"reaction_unit_id_memcache_hit",REACTION_UNIT_ID_MEMCACHE_MISS:"reaction_unit_id_memcache_miss",VIDEO_JEWEL_IMPRESSION:"video_jewel_impression",SCROLL_PERF:"scroll_perf",SCROLL_PERF_HSCROLL:"scroll_perf_hscroll",APPENDED_HSCROLL_STORIES:"appended_hscroll_stories",LOAD_UNIT_ATTEMPT:"load_unit_attempt",UNIT_STORY_EXCEPTION:"unit_story_exception",COMPONENT_GENERATION_EXCEPTION:"component_generation_exception",BADGE_SENT:"badge_sent",VIDEO_TAB_SELECTED:"video_tab_selected",BADGE_UPDATE:"badge_update",BOOKMARK_BADGE_IMPRESSION:"bookmark_badge_impression",BADGE_COUNT_GENERATED:"badge_count_generated",BADGE_COUNT_NOT_RENDERED:"badge_count_not_rendered",BADGE_ID_GENERATED:"badge_id_generated",BADGE_TYPE_NOT_RENDERED:"badge_type_not_rendered",VIDEO_STORY_GENERATED:"video_story_generated",EMPTY_FEED_AFTER_FALLBACK:"empty_feed_after_fallback",NO_VIDEO_STORY_GENERATED:"no_video_story_generated",INVALID_QUERY_END_TIMESTAMP:"invalid_query_end_timestamp",BADGE_STORIES_COUNT:"badge_stories_count",BADGE_PREDICTION_RANKED:"badge_prediction_ranked",BADGE_COOLDOWN_RANKED:"badge_cooldown_ranked",BADGE_EXPLORATION_CACHE_RETURN:"badge_exploration_cache_return",BADGE_EXPLORATION_CACHE_SET:"badge_exploration_cache_set",AGGREGATION_SECTION_COMPONENT_NULL:"aggregation_section_component_null",AGGREGATION_INELIGIBLE:"aggregation_ineligible",HSCROLL_NUM_FETCHED:"hscroll_num_fetched",AGGREGATION_ELIGIBILITY_CHECK:"aggregation_eligibility_check",AGGREGATION_ELIGIBLE:"aggregation_eligible",PIVOT_USECASE_ELIGIBLE:"pivot_usecase_eligible",PIVOT_USECASE_INELIGIBLE:"pivot_usecase_ineligible",PIVOT_NOT_RENDERED:"pivot_not_rendered",PIVOT_AUTO_DISMISSED:"pivot_auto_dismissed",SOCIAL_GLYPH_IMPRESSION:"social_glyph_impression",RHC_IMPRESSION:"rhc_impression",SHOW_VIDEO_END_SCREEN_IMPRESSION:"show_video_end_screen_impression",SHOW_EPISODE_MASKED_IMPRESSION:"show_episode_masked_impression",SHOW_EPISODE_CONTINUE_WATCHING_IMPRESSION:"show_episode_continue_watching_impression",SHOW_EPISODE_CLICK_TO_WATCH_IMPRESSION:"show_episode_click_to_watch_impression",VIDEO_HOVERCARD_IMPRESSION:"video_hovercard_impression",PARENT_PAGE_VIDEO_END_SCREEN_IMPRESSION:"parent_page_video_end_screen_impression",SOCIAL_CONTEXT_IMPRESSION:"social_context_impression",GAMING_VERTICAL_IMPRESSION:"gaming_vertical_impression",WATCHLIST_CONTROLS_IMPRESSION:"watchlist_controls_impression",SUBSCRIPTIONS_CONTROLS_IMPRESSION:"subscriptions_controls_impression",TAHOE_TOP_BANNER_WATCH_ENTRY_POINT_IMPRESSION:"tahoe_top_banner_watch_entry_point_impression",INLINE_END_SCREEN_IMPRESSION:"inline_end_screen_impression",EMBEDDED_END_SCREEN_IMPRESSION:"embedded_end_screen_impression",TAHOE_ENDSCREEN_WATCH_ENTRY_POINT_IMPRESSION:"tahoe_endscreen_watch_entry_point_impression",TAHOE_UP_NEXT_VIDEO_WATCH_ENTRY_POINT_IMPRESSION:"tahoe_up_next_video_watch_entry_point_impression",TAHOE_SEARCH_BAR_WITH_WATCH_LOGO_IMPRESSION:"tahoe_search_bar_with_watch_logo_impression",PAUSE_SCREEN_IMPRESSION:"pause_screen_impression",EMBEDDED_LIVE_VIDEO_PROMPT_IMPRESSION:"embedded_live_video_prompt_impression",LIVE_PROMPT_IMPRESSION:"live_prompt_impression",TAHOE_END_CARD_AGGREGATION_IMPRESSION:"tahoe_end_card_aggregation_impression",TAHOE_END_CARD_AGGREGATION_FETCH:"tahoe_end_card_aggregation_fetch",INLINE_PAUSE_SCREEN_IMPRESSION:"inline_pause_screen_impression",LANGUAGE_PICKER_IMPRESSION:"language_picker_impression",RHC_LATEST_SECTION_IMPRESSION:"rhc_latest_section_impression",RHC_GET_CAUGHTUP_SECTION_IMPRESSION:"rhc_get_caughtup_section_impression",NPC_CONTROL_TIME_SKIP_FORWARD_IMPRESSION:"npc_control_time_skip_forward_impression",NPC_CONTROL_TIME_SKIP_FORWARD_LARGE_IMPRESSION:"npc_control_time_skip_forward_large_impression",NPC_CONTROL_TIME_SKIP_BACKWARD_IMPRESSION:"npc_control_time_skip_backward_impression",NPC_CONTROL_TIME_SKIP_BACKWARD_LARGE_IMPRESSION:"npc_control_time_skip_backward_large_impression",CONTROL_NPC_SKIP_VIDEO_IMPRESSION:"control_npc_skip_video_impression",NPC_CONTROL_LARGE_PLAYBACK_BUTTON_IMPRESSION:"npc_control_large_playback_button_impression",NPC_CONTROL_PLAYBACK_BUTTON_IMPRESSION:"npc_control_playback_button_impression",PAGE_FOLLOW_BUNDLE_IMPRESSION:"page_follow_bundle_impression",PAGE_FOLLOW_BUNDLE_UNIT_IMPRESSION:"page_follow_bundle_unit_impression",PAGE_FOLLOW_BUNDLE_BOTTOM_SHEET_IMPRESSION:"page_follow_bundle_bottom_sheet_impression",SOCIAL_RESHARED_VIDEO_GENERATION_ATTEMPT:"social_reshared_video_generation_attempt",SOCIAL_RESHARED_STORY_GENERATED:"social_reshared_story_generated",POPULAR_WITH_FRIENDS_GENERATION:"popular_with_friends_generation",POPULAR_WITH_FRIENDS_WARION:"popular_with_friends_warion",VIDEO_HOME_DISCOVER_FETCH_COMPLETE:"video_home_discover_fetch_complete",LONG_PRESS_MENU:"long_press_menu",INTERSTITIAL_SEEN:"interstitial_seen",WWW_FEED_INJECTION:"www_feed_injection",WWW_FEED_WNS_IMPRESSION:"www_feed_wns_impression",WWW_USER_FAILS_COB:"www_user_fails_cob",WWW_USER_PASSES_COB:"www_user_passes_cob",PAGE_LOAD:"page_load",AUTO_SCROLL:"auto_scroll",FEED_IMPRESSION:"feed_impression",FEED_PERMALINK_ELIGIBLE:"feed_permalink_eligible",FEED_PERMALINK_NOT_ELIGIBLE:"feed_permalink_not_eligible",FEED_PERMALINK_REDIRECT:"feed_permalink_redirect",FEED_WITH_VIDEO_ID:"feed_with_video_id",FEED_WITH_VIDEO:"feed_with_video",FEED_UNIT_LOADED:"feed_unit_loaded",FEED_UNIT_VIDEO_LOADED:"feed_unit_video_loaded",FEED_UNIT_VIDEO_DISPLAYED:"feed_unit_video_displayed",FEED_UNIT_VIDEO_PLAY:"feed_unit_video_play",LIVE_INJECT_FROM_FEED:"live_inject_from_feed",LIVE_INJECT_FROM_PERMALINK:"live_inject_from_permalink",VPC_LOADED:"vpv_loaded",AUTOPLAY_REGISTERED:"autoplay_registered",JS_ERROR:"js_error",WWW_LIVE_HERO_UP_NEXT_CHAIN:"www_live_hero_up_next_chain",WWW_PERMALINK_VISIT:"www_permalink_visit",WWW_LOE_PERMALINK_VISIT:"www_loe_permalink_visit",WWW_LOE_TRANSCRIPT_GATING:"www_loe_transcript_gating",WWW_COPY_LINK:"www_copy_link",WWW_LIVE_SIMILAR_DUPES:"www_live_similar_dupes",WWW_LIVE_WNS_IMPRESSION:"www_live_wns_impression",VIDEO_END_CARD_FETCH:"video_end_card_fetch",VIDEO_PAUSE_CARD_FETCH:"video_pause_card_fetch",REEL_END_CARD_FETCH:"reel_end_card_fetch",REEL_PAUSE_CARD_FETCH:"reel_pause_card_fetch",AUTOPLAY_SETTINGS_PROMPT_IMPRESSION:"autoplay_settings_prompt_impression",AUTOPLAY_TOGGLE_ON:"autoplay_toggle_on",AUTOPLAY_TOGGLE_OFF:"autoplay_toggle_off",NOTIFICATIONS_BADGE_LOAD:"notifications_badge_load",UPDATES_SURFACE_CLICK:"updates_surface_click",WWW_LATEST_PAGINATION:"www_latest_pagination",WWW_QP_NULL_SECTION:"www_qp_null_section",WWW_QP_INSUFFICIENT_VIDEOS:"www_qp_insufficient_videos",WWW_QP_DATA_IMPL:"www_qp_data_impl",WWW_QP_SCROLL_UNIT_IMPRESSION:"www_qp_scroll_unit_impression",WWW_QP_SCROLL_UNIT_CLICK:"www_qp_scroll_unit_click",WWW_QP_MOBILE_WHALES_IMPRESSION:"www_qp_mobile_whales_impression",WWW_QP_NOSTALGIA_IMPRESSION:"www_qp_nostalgia_impression",WWW_QP_RAINBOW_IMPRESSION:"www_qp_rainbow_impression",WWW_QP_WATCHLIST_PAGE_IMPRESSION:"www_qp_watchlist_page_impression",FEED_AUTO_ADVANCE:"feed_auto_advance",WATCH_AND_SCROLL_END_SCREEN_IMPRESSION:"watch_and_scroll_end_screen_impression",WATCH_AND_SCROLL_CHAINING_CLICK_ADVANCE:"watch_and_scroll_chaining_click_advance",WATCH_AND_SCROLL_CHAINING_AUTO_ADVANCE:"watch_and_scroll_chaining_auto_advance",WATCH_AND_SCROLL_CHAINING_QUERY_EMPTY:"watch_and_scroll_chaining_query_empty",WATCH_AND_SCROLL_SKIP_OVERLAY_IMPRESSION:"watch_and_scroll_skip_overlay_impression",WATCH_AND_SCROLL_TRIGGER:"watch_and_scroll_trigger",WATCH_AND_SCROLL_END_SESSION:"watch_and_scroll_end_session",MSITE_FEED_AUTO_ADVANCE:"msite_feed_auto_advance",MSITE_FEED_ALTERNATIVE_HEIGHT_AUTO_ADVANCE:"msite_feed_alternative_height_auto_advance",MSITE_FEED_ALTERNATIVE_RECT_AUTO_ADVANCE:"msite_feed_alternative_rect_auto_advance",MSITE_FEED_FAILED_AUTO_ADVANCE:"msite_feed_failed_auto_advance",MSITE_END_SCREEN_IMPRESSION:"msite_end_screen_impression",MSITE_NUM_CHARACTERS_LINES:"msite_num_characters_lines",LOGGED_OUT_MSITE_COMMENT_MODAL_IMPRESSION:"logged_out_msite_comment_modal_impression",LOGGED_OUT_MSITE_AGGREGATION_PAGE_IMPRESSION:"logged_out_msite_aggregation_page_impression",EXCEPTION:"exception",FBLITE_RELATED_VIDEOS_QUERY_EXCEPTION:"fblite_related_videos_query_exception",FBLITE_CHANNELS_OTHERS:"fblite_channels_others",MARK_VISIT_EXCEPTION:"mark_visit_exception",MARK_FEED_SESSION_END_EXCEPTION:"mark_feed_session_end_exception",MARK_WATCHLIST_SESSION_END_EXCEPTION:"mark_watchlist_session_end_exception",MARK_FEED_PAGE_VISIT_EXCEPTION:"mark_feed_page_visit_exception",LOAD_LOGGED_OUT_MSITE_CTA_FOOTER:"load_logged_out_msite_cta_footer",VIDEO_FROM_STORY_OPTIMIZATION_MISS:"video_from_story_optimization_miss",LANGUAGE_PICKER_CONFIRM_CLICK:"language_picker_confirm_click",LANGUAGE_PICKER_DISMISSED:"language_picker_dismissed",LANGUAGE_PICKER_UNKNOWN_EVENT:"language_picker_unknown_event",LANGUAGE_PICKER_PREDICTED_LANGUAGES_GENERATED:"language_picker_predicted_languages_generated",PAGE_FOLLOW_BUNDLE_FOLLOW_ALL_CLICK:"page_follow_bundle_follow_all_click",PAGE_FOLLOW_BUNDLE_FOLLOW_CLICK:"page_follow_bundle_follow_click",PAGE_FOLLOW_BUNDLE_OPEN_PAGE_CLICK:"page_follow_bundle_open_page_click",PAGES_YOU_FOLLOW_MANAGE_NOTIFS_DIALOG_IMPRESSION:"pages_you_follow_manage_notifs_dialog_impression",PAGES_YOU_FOLLOW_MANAGE_NOTIFS_DIALOG_NOTIF_SUBSCRIPTION_STATUS_CHANGE:"pages_you_follow_manage_notifs_dialog_notif_subscription_status_change",INTERLINKING:"interlinking",CREATOR_STUDIO_REELS_TAB_TABLE_IMPRESSION:"creator_studio_reels_tab_table_impression",CREATOR_STUDIO_REELS_TAB_DETAILS_SLIDING_TRAY_IMPRESSION:"creator_studio_reels_tab_details_sliding_tray_impression",CREATOR_STUDIO_VIEW_REEL_BUTTON_CLICK:"creator_studio_view_reel_button_click",CREATOR_STUDIO_DELETE_REEL_BUTTON_CLICK:"creator_studio_delete_reel_button_click",CREATOR_STUDIO_DELETE_REEL_SUCCESS:"creator_studio_delete_reel_success",CREATOR_STUDIO_DELETE_REEL_FAILURE:"creator_studio_delete_reel_failure",AUTO_GENERATE_REEL_ON_VID_UPLOAD_SUCCESS:"auto_generate_reel_on_vid_upload_success",AUTO_GENERATE_REEL_ON_VID_UPLOAD_FAILURE:"auto_generate_reel_on_vid_upload_failure",AUTO_GENERATE_DRAFT_REEL_SUCCESS:"auto_generate_draft_reel_success",AUTO_GENERATE_DRAFT_REEL_FAILURE:"auto_generate_draft_reel_failure",AUTO_GENERATE_REELS_OPT_IN_MUTATION_FAILURE:"auto_generate_reels_opt_in_mutation_failure",VIDEO_METADATA_FAILED_TO_GENERATE_IMAGE_FILE_SIZE:"video_metadata_failed_to_generate_image_file_size",NUX:"nux"});i.default=e}),66); __d("VideoHomeClickLogger",["VideoHomeEvents","VideoHomeTypedLogger"],(function(t,n,r,o,a,i,l){"use strict";function e(e){var t=e.target,n=e.id,o=e.clickPoint,a=e.playerOrigin,i=a===void 0?"video_home":a,l=e.eventTargetInfo,s=l===void 0?null:l;new(r("VideoHomeTypedLogger"))().setEvent(r("VideoHomeEvents").CLICK).setEventTarget(t).setEventTargetID(n).setClickPoint(o).setPlayerOrigin(i).setEventTargetInfo(s).log()}function s(t,n){t.addEventListener("click",function(){e(n)})}l.logClick=e,l.init=s}),98); __d("VideoInstreamAdsConstantsJSModuleWrapper",["VideoInstreamAdsConstants"],(function(t,n,r,o,a,i,l){"use strict";l.default=r("VideoInstreamAdsConstants")}),98); __d("VideoPlayButton",["CSS","EventListener","VideoDisplayTimePlayButton"],(function(t,n,r,o,a,i,l){var e=(function(){function e(e,t,n){var a=this;this.$1=e,this.$2=t,n&&(this.$3=n.hiddenAfterFinish,this.$4=n.hiddenWhilePaused,this.$5=!!n.hiddenInFallback,this.$5=n.hiddenInFallback,this.$6=n.spherical);var i=o("VideoDisplayTimePlayButton").getClicked(this.$2);o("VideoDisplayTimePlayButton").unregister(this.$2),e.addListener("beginPlayback",function(){return a.$7()}),e.addListener("finishPlayback",function(){return a.$8()}),e.addListener("pausePlayback",function(){return a.$9()}),e.addListener("buffering",function(){return a.$10()}),e.addListener("buffered",function(){return a.$11()}),e.addListener("stateChange",function(){return a.$12()}),e.addListener("playRequested",function(e){return a.$13(e)}),e.addListener("VideoChannelController/exitChannel",function(){return a.$14()}),e.addListener("clickVideo",function(){return a.$15()}),e.addListener("TahoeController/enterTahoe",function(){return a.$16()}),r("EventListener").listen(this.$2,"click",function(){return a.$17()}),n&&n.hiddenWhileJSLoading&&!n.hiddenWhileVideoLoading&&o("CSS").show(this.$2),i&&this.$17()}var t=e.prototype;return t.$12=function(){this.$1.isState("fallback")&&(this.$5||this.$1.getIsInChannel()?o("CSS").hide(this.$2):o("CSS").show(this.$2))},t.$7=function(){o("CSS").hide(this.$2)},t.$9=function(){this.$4||this.$1.getSource()==="inline"||o("CSS").show(this.$2)},t.$13=function(t){this.$1.isState("fallback")||t==="autoplay_initiated"||o("CSS").hide(this.$2)},t.$14=function(){(this.$1.isState("paused")&&(!this.$4||this.$6)||this.$1.isState("finished")&&!this.$3)&&o("CSS").show(this.$2)},t.$16=function(){this.$1.isState("playing")||o("CSS").show(this.$2)},t.$8=function(){var e=this.$1.getOption("Looping","isLooping");this.$3||this.$1.getIsInChannel()||this.$1.getSource()==="tahoe"||e?o("CSS").hide(this.$2):o("CSS").show(this.$2)},t.$10=function(){o("CSS").hide(this.$2)},t.$11=function(){o("CSS").hide(this.$2)},t.$17=function(){this.$1.clickVideo()},t.$15=function(){this.$1.isState("fallback")||o("CSS").hide(this.$2)},e})();l.default=e}),98); __d("VideoReshareLink.react",["cx","fbt","ix","VideoActionLink.react","react"],(function(t,n,r,o,a,i,l,s,u,c){"use strict";var e,d=e||(e=o("react"));function m(e){return d.jsx(r("VideoActionLink.react"),{href:e.shareURI,imageClass:"_2a_f",imageSrc:c("115553"),rel:"dialog",text:u._(/*BTDS*/"Share")})}m.displayName=m.name+" [from "+i.id+"]",l.default=m}),226); __d("VideoSpinner",["cx","CSS","EventListener","ShakaConstants","setTimeout"],(function(t,n,r,o,a,i,l,s){var e=(function(){function e(e,t){var n=this;this.$2=t,this.$1=e,this.$3=!1,e.addListener("beginPlayback",function(){return n.$5()}),e.addListener("finishPlayback",function(){return n.$6()}),e.addListener("pausePlayback",function(){return n.$7()}),e.addListener("playRequested",function(){return n.$8()}),e.addListener("buffering",function(){return n.$9()}),e.addListener("buffered",function(){return n.$10()}),e.addListener("networkInterrupted",function(){return n.$11()}),e.addListener("networkResumed",function(){return n.$12()}),e.addListener("stateChange",function(){return n.$13()}),e.addListener("clickVideo",function(){return n.$14()}),e.addListener("VideoSphericalOverlay/animationUpdate",function(e,t){return n.$15(e,t)}),r("EventListener").listen(this.$2,"click",function(){return n.$16()})}var t=e.prototype;return t.$15=function(t,n){t?o("CSS").addClass(this.$2,"_1st9"):o("CSS").removeClass(this.$2,"_1st9")},t.$11=function(){this.$4=!0},t.$12=function(){this.$4=!1},t.$9=function(){var e=this,t=r("ShakaConstants").numbers.buffering_spinner_delay_ms;this.$3=!0,t===0?o("CSS").show(this.$2):r("setTimeout")(function(){e.$3&&o("CSS").show(e.$2)},t)},t.$10=function(){o("CSS").hide(this.$2),this.$3=!1},t.$5=function(){this.$3?o("CSS").show(this.$2):o("CSS").hide(this.$2)},t.$7=function(){o("CSS").hide(this.$2)},t.$8=function(){o("CSS").hide(this.$2)},t.$6=function(){o("CSS").hide(this.$2)},t.$13=function(){this.$1.isState("fallback")&&o("CSS").hide(this.$2)},t.$14=function(){this.$1.isState("fallback")||(this.$3||this.$1.isState("ready")||this.$1.isState("loading"))&&o("CSS").show(this.$2)},t.$16=function(){this.$1.clickVideo()},e})();l.default=e}),98); __d("VideoStateDirectory",["EventEmitter","VideoPlayerExperiments"],(function(t,n,r,o,a,i,l){var e=(function(e){function t(){var t;return t=e.call(this)||this,t.$VideoStateDirectory$p_1=new Map,t}babelHelpers.inheritsLoose(t,e);var n=t.prototype;return n.setPlaybackState=function(t,n,o){var e=this.$VideoStateDirectory$p_1.get(t)||{};e.currentTimePosition=n,e.playbackDuration=o,e.watched=e.currentTimePosition/e.playbackDuration>=r("VideoPlayerExperiments").watchedPercentage/100||!!e.watched,this.$VideoStateDirectory$p_1.set(t,e),this.emit(t,e)},n.setSaveState=function(t,n){var e=this.$VideoStateDirectory$p_1.get(t)||{};e.saved=n,this.emit(t,e)},n.setSubscriptionState=function(t,n){var e=this.$VideoStateDirectory$p_1.get(t)||{};e.subscribed=n,this.emit(t,e)},n.getState=function(t){return this.$VideoStateDirectory$p_1.get(t)},t})(r("EventEmitter")),s=new e;l.default=s}),98); __d("VideoWatchAgainLink.react",["cx","fbt","ix","VideoActionLink.react","react"],(function(t,n,r,o,a,i,l,s,u,c){"use strict";var e,d=e||(e=o("react")),m=(function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;on?n:e}i.default=e}),66); __d("decodeTrackingNode",["TrackingNodeConstants"],(function(t,n,r,o,a,i,l){"use strict";function e(e){if(e.length===0)return[0];var t=function(t,n,r){for(var e=0,a=n;a=o("TrackingNodeConstants").BASE_CODE_START&&t.charCodeAt(a)<=o("TrackingNodeConstants").BASE_CODE_END))return null;e=e*o("TrackingNodeConstants").BASE_CODE_SIZE+(t.charCodeAt(a)-o("TrackingNodeConstants").BASE_CODE_START)}return e},n=function(n,r){if(r>=n.length)return[null,r];var e=r,a=null,i=0;switch(n.charCodeAt(0)){case o("TrackingNodeConstants").ENCODED_STRING_WITH_TWO_SYMBOLS_PREFIX_CODE:a=t(n,r,2),i=o("TrackingNodeConstants").TOTAL_IDS_SUPPORTED_BY_LEGACY_ENCODING,e+=2;break;case o("TrackingNodeConstants").ENCODED_STRING_WITH_THREE_SYMBOLS_PREFIX_CODE:a=t(n,r,3),i=o("TrackingNodeConstants").TOTAL_IDS_SUPPORTED_BY_LEGACY_ENCODING+Math.pow(o("TrackingNodeConstants").BASE_CODE_SIZE,2),e+=3;break;default:return[null,r]}return a===null?[null,r]:[i+(a!=null?a:0)+1,e]},r=e.charCodeAt(0),a=1,i=0,l=0,s=0;if([o("TrackingNodeConstants").ENCODED_STRING_WITH_TWO_SYMBOLS_PREFIX_CODE,o("TrackingNodeConstants").ENCODED_STRING_WITH_THREE_SYMBOLS_PREFIX_CODE].includes(r)){var u,c=n(e,a);if(c[0]===null)return[0];s=(u=c[0])!=null?u:-1,a=c[1]}else{if(r>=o("TrackingNodeConstants").PREFIX_CODE_START&&r<=o("TrackingNodeConstants").PREFIX_CODE_END){if(e.length===1)return[0];l=r-o("TrackingNodeConstants").PREFIX_CODE_START+1,i=e.charCodeAt(1),a=2}else l=0,i=r;if(io("TrackingNodeConstants").BASE_CODE_END)return[0];s=l*o("TrackingNodeConstants").BASE_CODE_SIZE+(i-o("TrackingNodeConstants").BASE_CODE_START)+1}return e.length>a+2&&e.charAt(a)==="#"&&e.charAt(a+1)>="0"&&e.charAt(a+1)<="9"&&e.charAt(a+2)>="0"&&e.charAt(a+2)<="9"?[a+3,[s,parseInt(e.charAt(a+1)+e.charAt(a+2),10)+1]]:e.length>a&&e.charAt(a)>="0"&&e.charAt(a)<="9"?[a+1,[s,parseInt(e.charAt(a),10)+1]]:[a,[s]]}l.default=e}),98); __d("destroyOnUnloadWWW",["Run"],(function(t,n,r,o,a,i,l){function e(e){return o("Run").onLeave(e)}l.default=e}),98); __d("formatDurationSeconds",["fbt","padNumber"],(function(t,n,r,o,a,i,l,s){function e(e){var t=Math.floor(e/3600),n=Math.floor(e/60%60),o=Math.floor(e%60);return t?s._(/*BTDS*/"{hours}:{minutes}:{seconds}",[s._param("hours",t),s._param("minutes",r("padNumber")(n,2)),s._param("seconds",r("padNumber")(o,2))]):s._(/*BTDS*/"{minutes}:{seconds}",[s._param("minutes",n),s._param("seconds",r("padNumber")(o,2))])}l.default=e}),226); __d("observeIntersection",["invariant","ErrorGuard"],(function(t,n,r,o,a,i,l,s){"use strict";var e,u=typeof WeakMap=="function",c={__noRoot:!0},d=u?new WeakMap:new Map;function m(e){var t=e.threshold;if(Array.isArray(t)){var n={};t.forEach(function(e){n[String(e)]=!0}),t=Object.keys(n).sort()}var r=babelHelpers.extends({},e,{threshold:t}),o={};return Object.keys(r).sort().forEach(function(e){o[e]=r[e]}),JSON.stringify(o)}function p(t,n,o){o===void 0&&(o={});var a=m({rootMargin:o.rootMargin,scrollMargin:o.scrollMargin,threshold:o.threshold}),i=o.root||c,l=d.get(i);l==null&&(l={},d.set(i,l));var p=l[a];if(p==null){var _=void 0;Array.isArray(o.threshold)?_=o.threshold.slice():typeof o.threshold=="number"&&(_=[o.threshold]);var f=new IntersectionObserver(function(t){t.forEach(function(t){p!=null||s(0,2439);var n=[],o=t.target.unstable_reactFragments;o!=null&&o.forEach(function(e){var t,r=(t=p)==null?void 0:t.targetToCallbacksMap.get(e);r!=null&&(n=n.concat(r))});var a=p.targetToCallbacksMap.get(t.target);a!=null&&(n=n.concat(a)),n.length>0&&n.forEach(function(n){(e||(e=r("ErrorGuard"))).applyWithGuard(n,null,[t],{name:"observeIntersection"})})})},babelHelpers.extends({},o,{threshold:_}));p={intersectionObserver:f,referenceCount:0,targetToCallbacksMap:u?new WeakMap:new Map},l[a]=p}var g=p.targetToCallbacksMap.get(t);g==null&&(t instanceof Element?p.intersectionObserver.observe(t):t.observeUsing(p.intersectionObserver),p.referenceCount+=1,g=[],p.targetToCallbacksMap.set(t,g)),g.push(n);var h=!1,y=function(){if(!h){var e=p.targetToCallbacksMap.get(t);if(e!=null||s(0,2440),e.length===1)t instanceof Element?p.intersectionObserver.unobserve(t):t.unobserveUsing(p.intersectionObserver),p.targetToCallbacksMap.delete(t),p.referenceCount-=1,t=null;else{var r=e.indexOf(n);r!==-1||s(0,2441),e.splice(r,1)}p.referenceCount===0&&(l!=null||s(0,2442),delete l[a],i&&Object.keys(l).length===0&&d.delete(i)),n=null,t=null,i=null,h=!0}};return{remove:function(){y&&(y(),y=null)}}}i.exports=p}),34); __d("testID",["gkx"],(function(t,n,r,o,a,i,l){"use strict";var e=r("gkx")("21117");function s(t){if(e&&t!=null)return{"data-testid":t}}l.default=s}),98); __d("useCometRouteTracePolicy",["CometRouterRouteTracePolicyContext","react"],(function(t,n,r,o,a,i,l){"use strict";var e,s=(e||(e=o("react"))).useContext,u="comet.app";function c(){var e;return(e=s(r("CometRouterRouteTracePolicyContext")))!=null?e:u}l.default=c}),98); __d("useHeroBootloadedComponent",["CometHeroInteractionContext","react","react-compiler-runtime"],(function(t,n,r,o,a,i,l){"use strict";var e,s=e||(e=o("react")),u=s.useContext,c=s.useEffect;function d(e){var t=o("react-compiler-runtime").c(4),n=u(r("CometHeroInteractionContext").Context),a,i;t[0]!==n||t[1]!==e?(a=function(){n.consumeBootload(e.getModuleId())},i=[n,e],t[0]=n,t[1]=e,t[2]=a,t[3]=i):(a=t[2],i=t[3]),c(a,i)}l.default=d}),98); __d("useMinifiedProductAttribution",["CometProductAttribution","react-compiler-runtime","useRouteProductAttribution"],(function(t,n,r,o,a,i,l){"use strict";function e(){var e=o("react-compiler-runtime").c(2),t=r("useRouteProductAttribution")(),n;return e[0]!==t?(n=t!=null?o("CometProductAttribution").minifyProductAttributionV2(t):null,e[0]=t,e[1]=n):n=e[1],n}l.default=e}),98);