;/*FB_PKG_DELIM*/ __d("ARIA",["DOM","emptyFunction","ge","getOrCreateDOMID","joinClasses"],(function(a,b,c,d,e,f,g){var h,i,j=function(){h=c("ge")("ariaAssertiveAlert"),h||(h=c("DOM").create("div",{id:"ariaAssertiveAlert",className:c("joinClasses")("accessible_elem","accessible_elem_offset"),"aria-live":"assertive"}),c("DOM").appendContent(document.body,h)),i=c("ge")("ariaPoliteAlert"),i||(i=h.cloneNode(!1),i.setAttribute("id","ariaPoliteAlert"),i.setAttribute("aria-live","polite"),c("DOM").appendContent(document.body,i)),j=c("emptyFunction")};function k(a,b){j();b=b?h:i;c("DOM").setContent(b,a)}function a(a){for(var b=arguments.length,d=new Array(b>1?b-1:0),e=1;e1?b-1:0),e=1;e2?c-2:0),e=2;ec){d=!1;continue}m.checkpointcb&&(this._callback(m.checkpointcb,c-m.start),m.checkpointcb=null);if(m.started===void 0){m.show&&this._show();for(var n in m.attrs){if(m.attrs[n].start!==void 0)continue;switch(n){case"backgroundColor":case"borderColor":case"color":f=x(b("Style").get(this.obj,n=="borderColor"?"borderLeftColor":n));m.attrs[n].by&&(m.attrs[n].value[0]=Math.min(255,Math.max(0,m.attrs[n].value[0]+f[0])),m.attrs[n].value[1]=Math.min(255,Math.max(0,m.attrs[n].value[1]+f[1])),m.attrs[n].value[2]=Math.min(255,Math.max(0,m.attrs[n].value[2]+f[2])));break;case"opacity":f=b("Style").getOpacity(this.obj);m.attrs[n].by&&(m.attrs[n].value=Math.min(1,Math.max(0,m.attrs[n].value+f)));break;case"height":f=v(this.obj);m.attrs[n].by&&(m.attrs[n].value+=f);break;case"width":f=u(this.obj);m.attrs[n].by&&(m.attrs[n].value+=f);break;case"scrollLeft":case"scrollTop":f=h(this.obj,n);m.attrs[n].by&&(m.attrs[n].value+=f);j(this,m);break;case"rotateX":case"rotateY":case"rotateZ":case"translateX":case"translateY":case"translateZ":f=b("cr:6669").get(this.obj,n,0);m.attrs[n].by&&(m.attrs[n].value+=f);break;case"scaleX":case"scaleY":case"scaleZ":f=b("cr:6669").get(this.obj,n,1);m.attrs[n].by&&(m.attrs[n].value+=f);break;default:f=parseInt(b("Style").get(this.obj,n),10)||0;m.attrs[n].by&&(m.attrs[n].value+=f);break}m.attrs[n].start=f}if(m.attrs.height&&m.attrs.height.auto||m.attrs.width&&m.attrs.width.auto){this._destroy_container();for(var n in{height:1,width:1,fontSize:1,borderLeftWidth:1,borderRightWidth:1,borderTopWidth:1,borderBottomWidth:1,paddingLeft:1,paddingRight:1,paddingTop:1,paddingBottom:1})m.attrs[n]&&(this.obj.style[n]=m.attrs[n].value+(typeof m.attrs[n].value==="number"?this.unit:""));m.attrs.height&&m.attrs.height.auto&&(m.attrs.height.value=v(this.obj));m.attrs.width&&m.attrs.width.auto&&(m.attrs.width.value=u(this.obj))}m.started=!0;m.blind&&this._build_container()}var p=(c-m.start)/m.duration;p>=1?(p=1,m.hide&&this._hide()):d=!1;var q=m.ease?m.ease(p):p;!e&&p!=1&&m.blind&&(e=!0);for(var n in m.attrs)switch(n){case"backgroundColor":case"borderColor":case"color":m.attrs[n].start[3]!=m.attrs[n].value[3]?this.obj.style[n]="rgba("+w(q,m.attrs[n].start[0],m.attrs[n].value[0],!0)+","+w(q,m.attrs[n].start[1],m.attrs[n].value[1],!0)+","+w(q,m.attrs[n].start[2],m.attrs[n].value[2],!0)+","+w(q,m.attrs[n].start[3],m.attrs[n].value[3],!1)+")":this.obj.style[n]="rgb("+w(q,m.attrs[n].start[0],m.attrs[n].value[0],!0)+","+w(q,m.attrs[n].start[1],m.attrs[n].value[1],!0)+","+w(q,m.attrs[n].start[2],m.attrs[n].value[2],!0)+")";break;case"opacity":b("Style").set(this.obj,"opacity",w(q,m.attrs[n].start,m.attrs[n].value));break;case"height":case"width":this.obj.style[n]=q==1&&m.attrs[n].auto?"auto":w(q,m.attrs[n].start,m.attrs[n].value,!0)+this.unit;break;case"scrollLeft":case"scrollTop":var r=this.obj===document.body;if(!this.behaviorOverrides.ignoreUserScroll&&i(this,m))delete m.attrs.scrollTop,delete m.attrs.scrollLeft;else{var s=w(q,m.attrs[n].start,m.attrs[n].value,!0);!r?this.obj[n]=s:n=="scrollLeft"?a.scrollTo(s,g("scrollTop")):a.scrollTo(g("scrollLeft"),s);j(this,m)}break;case"translateX":case"translateY":case"translateZ":case"rotateX":case"rotateY":case"rotateZ":case"scaleX":case"scaleY":case"scaleZ":b("cr:6669").set(this.obj,n,w(q,m.attrs[n].start,m.attrs[n].value,!1));break;default:this.obj.style[n]=w(q,m.attrs[n].start,m.attrs[n].value,!0)+this.unit;break}r=null;s=b("cr:6669").get(this.obj,"translateX",0);n=b("cr:6669").get(this.obj,"translateY",0);q=b("cr:6669").get(this.obj,"translateZ",0);(s||n||q)&&(r=o(r,[1,0,0,0,0,1,0,0,0,0,1,0,s,n,q,1]));s=b("cr:6669").get(this.obj,"scaleX",1);n=b("cr:6669").get(this.obj,"scaleY",1);q=b("cr:6669").get(this.obj,"scaleZ",1);(s-1||n-1||q-1)&&(r=o(r,[s,0,0,0,0,n,0,0,0,0,q,0,0,0,0,1]));s=b("cr:6669").get(this.obj,"rotateX",0);s&&(r=o(r,[1,0,0,0,0,Math.cos(s),Math.sin(-s),0,0,Math.sin(s),Math.cos(s),0,0,0,0,1]));n=b("cr:6669").get(this.obj,"rotateY",0);n&&(r=o(r,[Math.cos(n),0,Math.sin(n),0,0,1,0,0,Math.sin(-n),0,Math.cos(n),0,0,0,0,1]));q=b("cr:6669").get(this.obj,"rotateZ",0);q&&(r=o(r,[Math.cos(q),Math.sin(-q),0,0,Math.sin(q),Math.cos(q),0,0,0,0,1,0,0,0,0,1]));s=b("getVendorPrefixedName")("transform");if(s)if(r){n=k(r);b("Style").set(this.obj,s,n)}else d&&b("Style").set(this.obj,s,null);p==1&&(this.queue.splice(l--,1),this._callback(m.ondone,c-m.start-m.duration))}!e&&this.container_div&&this._destroy_container();return!d};j.prototype.ondone=function(a){this.state.ondone=a;return this};j.prototype._callback=function(a,b){a&&(q=b,a.call(this),q=0)};function w(a,b,c,d){return(d?parseInt:parseFloat)((c-b)*a+b,10)}function x(a){var b=/^#([a-f0-9]{1,2})([a-f0-9]{1,2})([a-f0-9]{1,2})$/i.exec(a);if(b)return[parseInt(b[1].length==1?b[1]+b[1]:b[1],16),parseInt(b[2].length==1?b[2]+b[2]:b[2],16),parseInt(b[3].length==1?b[3]+b[3]:b[3],16),1];else{b=/^rgba? *\(([0-9]+), *([0-9]+), *([0-9]+)(?:, *([0-9\.]+))?\)$/.exec(a);if(b)return[parseInt(b[1],10),parseInt(b[2],10),parseInt(b[3],10),b[4]?parseFloat(b[4]):1];else if(a=="transparent")return[255,255,255,0];else throw new Error("Named color attributes are not supported.")}}function y(a){h.push(a),h.length===1&&(g?g(A):i=b("setIntervalAcrossTransitions")(A,20)),g&&z(),A(Date.now(),!0)}function z(){if(!g)throw new Error("Ending timer only valid with requestAnimationFrame");var a=0;for(var c=0;ca&&(a=f)}}i&&(b("clearTimeout")(i),i=null);f=Date.now();a>f&&(i=b("setTimeoutAcrossTransitions")(b("shield")(A),a-f))}function A(a,c){a=Date.now();for(c=c===!0?h.length-1:0;c0||c!==null&&c.length>0||a!==null}function n(a){var b=c("first")(Object.keys(l).filter(function(b){return a.getDomain().endsWith(b)}));b=b!=null?l[b]:null;return b==null?null:c("first")(c("filterNulls")(b.map(function(b){var c=b.extractor(a);return c==null?null:{injector:b.injector,uri:c}})))}function o(a){return!c("isFacebookURI")(a)&&!c("isFacebookSVDomainURI")(a)&&!c("isCdnURI")(a)&&!c("isFbDotComURI")(a)&&m(a)&&j(a)&&!p(a)}function p(a){var b=c("isClickIDBlacklistSVDomainURI")(a),d=c("isClickIDBlocklistSVUrlPath")(a);if(b||d)return!0;b=n(a);return b!=null?p(b.uri):!1}function q(a,b){var c=n(a);return c!=null?c.injector(a,c.uri,b):a.addQueryData(k,b)}function a(a,b){return o(a)?q(a,b):a}g.QUERY_PARAM=k;g.appendClickIDQueryParam=a}),98); __d("keyMirror",["unrecoverableViolation"],(function(a,b,c,d,e,f,g){"use strict";function a(a){var b={};if(!(a instanceof Object&&!Array.isArray(a)))throw c("unrecoverableViolation")("keyMirror(...): Argument must be an object.","comet_infra");for(var d in a){if(!Object.prototype.hasOwnProperty.call(a,d))continue;b[d]=d}return b}g["default"]=a}),98); __d("ContextualLayerAlignmentEnum",["keyMirror","objectValues","prop-types"],(function(a,b,c,d,e,f,g){"use strict";a=c("keyMirror")({left:null,center:null,right:null});b=c("objectValues")(a);d=c("prop-types").oneOf(b);e=babelHelpers["extends"]({},a,{values:b,propType:d});g["default"]=e}),98); __d("ContextualLayerPositionEnum",["keyMirror","objectValues","prop-types"],(function(a,b,c,d,e,f,g){"use strict";a=c("keyMirror")({above:null,below:null,left:null,right:null});b=c("objectValues")(a);d=c("prop-types").oneOf(b);e=babelHelpers["extends"]({},a,{values:b,propType:d});g["default"]=e}),98); __d("ContextualLayerOrientation",["ContextualLayerAlignmentEnum","ContextualLayerPositionEnum","emptyFunction","err","gkx"],(function(a,b,c,d,e,f,g){"use strict";var h={above:"below",below:"above",left:"right",right:"left"},i=c("gkx")("17507");a=function(){function a(){this.$1={$2:"left",$3:0,$4:0,$5:0,$6:"above",$7:i,$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 b=a.prototype;b.setPosition=function(a){this.$13=j(a);return this};b.setAlignment=function(a){this.$9=k(a);return this};b.getOppositePosition=function(){return h[this.getPosition()]};b.invalidate=function(){this.$15=!1;return this};b.getPosition=function(){return this.$13||"above"};b.getAlignment=function(){return this.$9||"left"};b.getOffsetX=function(){var a=this.$11||0;!this.isVertical()?this.$1.$6!==this.$13&&(a*=-1):this.$1.$2!==this.$9&&(a*=-1);return a};b.getOffsetY=function(){var a=this.$12||0;this.isVertical()&&this.$1.$6!==this.$13&&(a*=-1);return a};b.getClassName=function(){var a=this.getAlignment(),b=this.getPosition();if(b==="below")if(a==="left")return"uiContextualLayerBelowLeft";else if(a==="right")return"uiContextualLayerBelowRight";else return"uiContextualLayerBelowCenter";else if(b==="above")if(a==="left")return"uiContextualLayerAboveLeft";else if(a==="right")return"uiContextualLayerAboveRight";else return"uiContextualLayerAboveCenter";else if(b==="left")return"uiContextualLayerLeft";else return"uiContextualLayerRight"};b.isValid=function(){return this.$15};b.isVertical=function(){return this.getPosition()==="above"||this.getPosition()==="below"};b.reset=function(){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;return this};b.setDefaultPosition=function(a){var b=this.$1.$6;this.$1.$6=j(a);return b!==a};b.setDefaultAlignment=function(a){var b=this.$1.$2;this.$1.$2=k(a);return b!==a};b.setDefaultOffsetX=function(a){var b=this.$1.$4;this.$1.$4=a;return b!==a};b.setArrowOffset=function(a){var b=this.$1.$3;this.$1.$3=a;return b!==a};b.getArrowOffset=function(){return this.$1.$3||0};b.setDefaultOffsetY=function(a){var b=this.$1.$5;this.$1.$5=a;return b!==a};b.setPreferMoreContentShownRect=function(a){var b=this.$1.$7;this.$1.$7=a;return b!==a};b.getPreferMoreContentShownRect=function(){return this.$1.$7};return a}();var j=c("emptyFunction").thatReturnsArgument,k=c("emptyFunction").thatReturnsArgument;g["default"]=a}),98); __d("getUnboundedScrollPosition",["Scroll"],(function(a,b,c,d,e,f){"use strict";function a(a){if(a===window){var c;return{x:(c=window.pageXOffset)!=null?c:b("Scroll").getLeft(document.documentElement),y:(c=window.pageYOffset)!=null?c:b("Scroll").getTop(document.documentElement)}}return{x:b("Scroll").getLeft(a),y:b("Scroll").getTop(a)}}e.exports=a}),null); __d("DOMVector",["BasicVector","getDocumentScrollElement","getElementPosition","getUnboundedScrollPosition","getViewportDimensions"],(function(a,b,c,d,e,f,g){a=function(a){function b(b,c,d){b=a.call(this,b,c)||this;b.domain=d||"pure";return b}babelHelpers.inheritsLoose(b,a);var d=b.prototype;d.derive=function(a,c,d){return new b(a,c,d||this.domain)};d.add=function(c,d){c instanceof b&&c.getDomain()!=="pure"&&(c=c.convertTo(this.domain));return a.prototype.add.call(this,c,d)};d.convertTo=function(a){if(a!="pure"&&a!="viewport"&&a!="document")return this.derive(0,0);if(a==this.domain)return this.derive(this.x,this.y,this.domain);if(a=="pure")return this.derive(this.x,this.y);if(this.domain=="pure")return this.derive(0,0);var c=b.getScrollPosition("document"),d=this.x,e=this.y;this.domain=="document"?(d-=c.x,e-=c.y):(d+=c.x,e+=c.y);return this.derive(d,e,a)};d.getDomain=function(){return this.domain};b.from=function(a,c,d){return new b(a,c,d)};b.getScrollPosition=function(a){a=a||"document";var b=c("getUnboundedScrollPosition")(window);return this.from(b.x,b.y,"document").convertTo(a)};b.getElementPosition=function(a,b){b=b||"document";a=c("getElementPosition")(a);return this.from(a.x,a.y,"viewport").convertTo(b)};b.getElementDimensions=function(a){return this.from(a.offsetWidth||0,a.offsetHeight||0)};b.getViewportDimensions=function(){var a=c("getViewportDimensions")();return this.from(a.width,a.height,"viewport")};b.getLayoutViewportDimensions=function(){var a=c("getViewportDimensions").layout();return this.from(a.width,a.height,"viewport")};b.getViewportWithoutScrollbarDimensions=function(){var a=c("getViewportDimensions").withoutScrollbars();return this.from(a.width,a.height,"viewport")};b.getDocumentDimensions=function(a){a=c("getDocumentScrollElement")(a);return this.from(a.scrollWidth,a.scrollHeight,"document")};return b}(c("BasicVector"));g["default"]=a}),98); __d("Vector",["DOMEvent","DOMVector","Scroll","getDocumentScrollElement"],(function(a,b,c,d,e,f,g){a=function(a){function b(b,c,d){return a.call(this,parseFloat(b),parseFloat(c),d)||this}babelHelpers.inheritsLoose(b,a);var e=b.prototype;e.derive=function(a,c,d){return new b(a,c,d||this.domain)};e.setElementPosition=function(a){var b=this.convertTo("document");a.style.left=parseInt(b.x,10)+"px";a.style.top=parseInt(b.y,10)+"px";return this};e.setElementDimensions=function(a){return this.setElementWidth(a).setElementHeight(a)};e.setElementWidth=function(a){a.style.width=parseInt(this.x,10)+"px";return this};e.setElementHeight=function(a){a.style.height=parseInt(this.y,10)+"px";return this};e.scrollElementBy=function(a){if(a==document.body)window.scrollBy(this.x,this.y);else{var b;(b=d("Scroll")).setLeft(a,b.getLeft(a)+this.x);b.setTop(a,b.getTop(a)+this.y)}return this};b.from=function(a,c,d){return new b(a,c,d)};b.getEventPosition=function(a,b){b===void 0&&(b="document");a=new(c("DOMEvent"))(a).event;var e=c("getDocumentScrollElement")(),f=a.clientX+d("Scroll").getLeft(e);a=a.clientY+d("Scroll").getTop(e);e=this.from(f,a,"document");return e.convertTo(b)};b.getTouchEventPosition=function(a,b){b===void 0&&(b="document");a=a.touches[0];a=this.from(a.pageX,a.pageY,"document");return a.convertTo(b)};b.deserialize=function(a){a=a.split(",");return this.from(a[0],a[1])};return b}(c("DOMVector"));g["default"]=a}),98); __d("Rect",["invariant","$","Vector","react"],(function(a,b,c,d,e,f,g,h){var i;i||d("react");a=function(){function a(b,d,e,f,g){if(arguments.length===1){if(b instanceof a)return b;if(b instanceof c("Vector"))return new a(b.y,b.x,b.y,b.x,b.domain);typeof b==="string"&&(b=c("$")(b));return a.getElementBounds(b)}typeof b==="number"&&typeof d==="number"&&typeof e==="number"&&typeof f==="number"&&(!g||typeof g==="string")||h(0,1087);Object.assign(this,{t:b,r:d,b:e,l:f,domain:g||"pure"});return this}var b=a.prototype;b.w=function(){return this.r-this.l};b.h=function(){return this.b-this.t};b.getWidth=function(){return this.w()};b.getHeight=function(){return this.h()};b.toString=function(){return"(("+this.l+", "+this.t+"), ("+this.r+", "+this.b+"))"};b.contains=function(b){b=new a(b).convertTo(this.domain);var c=this;return c.l<=b.l&&c.r>=b.r&&c.t<=b.t&&c.b>=b.b};b.intersection=function(b){b=b.convertTo(this.domain);var c=Math.min(this.b,b.getBottom()),d=Math.max(this.l,b.getLeft()),e=Math.min(this.r,b.getRight());b=Math.max(this.t,b.getTop());return c>b&&e>d?new a(b,e,c,d):null};b.isEqualTo=function(a){return this.t===a.t&&this.r===a.r&&this.b===a.b&&this.l===a.l&&this.domain===a.domain};b.add=function(b,d){if(arguments.length==1){b instanceof a&&b.domain!="pure"&&(b=b.convertTo(this.domain));return b instanceof c("Vector")?this.add(b.x,b.y):this}var e=parseFloat(b),f=parseFloat(d);return new a(this.t+f,this.r+e,this.b+f,this.l+e,this.domain)};b.sub=function(a,b){if(arguments.length==1&&a instanceof c("Vector"))return this.add(a.mul(-1));else if(typeof a==="number"&&typeof b==="number")return this.add(-a,-b);return this};b.rotateAroundOrigin=function(b){var c=this.getCenter().rotate(b*Math.PI/2),d=0;b%2?(d=this.h(),b=this.w()):(d=this.w(),b=this.h());var e=c.y-b/2;c=c.x-d/2;b=e+b;d=c+d;return new a(e,d,b,c,this.domain)};b.boundWithin=function(a){var b=0,c=0;this.la.r&&(b=a.r-this.r);this.ta.b&&(c=a.b-this.b);return this.add(b,c)};b.getCenter=function(){return new(c("Vector"))(this.l+this.w()/2,this.t+this.h()/2,this.domain)};b.getTop=function(){return this.t};b.getRight=function(){return this.r};b.getBottom=function(){return this.b};b.getLeft=function(){return this.l};b.getArea=function(){return(this.b-this.t)*(this.r-this.l)};b.getPositionVector=function(){return new(c("Vector"))(this.l,this.t,this.domain)};b.getDimensionVector=function(){return new(c("Vector"))(this.w(),this.h(),"pure")};b.convertTo=function(b){if(this.domain==b)return this;if(b=="pure")return new a(this.t,this.r,this.b,this.l,"pure");if(this.domain=="pure")return new a(0,0,0,0);var d=new(c("Vector"))(this.l,this.t,this.domain).convertTo(b);return new a(d.y,d.x+this.w(),d.y+this.h(),d.x,b)};a.deserialize=function(b){b=b.split(":");return new a(parseFloat(b[1]),parseFloat(b[2]),parseFloat(b[3]),parseFloat(b[0]))};a.newFromVectors=function(b,c){return new a(b.y,b.x+c.x,b.y+c.y,b.x,b.domain)};a.getElementBounds=function(b){return a.newFromVectors(c("Vector").getElementPosition(b),c("Vector").getElementDimensions(b))};a.getViewportBounds=function(){return a.newFromVectors(c("Vector").getScrollPosition(),c("Vector").getViewportDimensions())};a.getViewportWithoutScrollbarsBounds=function(){return a.newFromVectors(c("Vector").getScrollPosition(),c("Vector").getViewportWithoutScrollbarDimensions())};a.minimumBoundingBox=function(b){var c=new a(Infinity,-Infinity,-Infinity,Infinity),d;for(var e=0;e=0;a--){b=e[a];if(d===!0||c("Style").get(b,"position")!="static"){b=parseInt(c("Style").get(b,"z-index"),10);if(!isNaN(b))return b}}return 0}g["default"]=a}),98); __d("getOwnObjectValues",[],(function(a,b,c,d,e,f){function a(a){return Object.keys(a).map(function(b){return a[b]})}f["default"]=a}),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(a,b,c,d,e,f){function g(a){return a.getPosition()==="left"||a.isVertical()&&a.getAlignment()==="right"}a=function(a){"use strict";function c(){return a.apply(this,arguments)||this}babelHelpers.inheritsLoose(c,a);var d=c.prototype;d._configure=function(b,c){b.dialogRole!=="dialog"&&(this._dialogRole=b.dialogRole),b.shouldSetARIAProperties===!1&&(this._shouldSetARIAProperties=b.shouldSetARIAProperties),b.label&&(this._label=b.label),b.labelledBy&&(this._labelledBy=b.labelledBy),a.prototype._configure.call(this,b,c),b.context?this.setContext(b.context):b.contextID?this._setContextID(b.contextID):b.contextSelector&&(this._setContextSelector(b.contextSelector),this._setARIAProperties()),this.setPosition(b.position),this.setAlignment(b.alignment),this.setOffsetX(b.offsetX),this.setOffsetY(b.offsetY),this.setArrowDimensions(b.arrowDimensions),this._content=c};d._getDefaultBehaviors=function(){var d=c.getDefaultBehaviorsAsObject();return a.prototype._getDefaultBehaviors.call(this).concat(b("getOwnObjectValues")(d))};d._buildWrapper=function(a,c){this._contentWrapper=b("DOM").create("div",{className:"uiContextualLayer"},c);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");return b("DOM").create("div",babelHelpers["extends"]({className:"uiContextualLayerPositioner","data-testid":a["data-testid"]},a.excludeFromHeroVC?b("CometVisualCompletionAttributes").IGNORE:{}),this._contentWrapper)};d.getInsertParent=function(){var c=this._insertParent;if(!c){var d=this.getContext();d&&(c=b("Parent").byClass(d,"uiContextualLayerParent"))}return c||a.prototype.getInsertParent.call(this)};d.setContent=function(a){this._content=a;b("DOM").setContent(this._contentWrapper,this._content);this._shown&&this._updatePosition();return this};d.setContext=function(a){return this.setContextWithBounds(a,null)};d.setContextWithBounds=function(a,c){if(this._contextNode===a&&c&&this._contextBounds&&c.isEqualTo(this._contextBounds))return this;this._contextNode=a;var d=c&&this._contextBounds&&c.t===this._contextBounds.t&&c.r===this._contextBounds.r&&c.b===this._contextBounds.b&&c.l===this._contextBounds.l;if(d)return this;this._contextBounds=c||null;this._contextSelector="#"+b("getOrCreateDOMID")(a);this._contextScrollParent=null;this._shown&&(b("ContextualThing").register(this.getRoot(),this._contextNode),this._updatePosition());this._setParentSubscription();this._setARIAProperties();return this};d.shouldSetARIAProperties=function(a){this._shouldSetARIAProperties=a;return this};d._setARIAProperties=function(){var a=this;if(!this._shouldSetARIAProperties)return this;this._dialogRole==="dialog"?b("ARIA").setPopup(this.getCausalElement(),this.getRoot()):this._dialogRole==="region"&&b("Bootloader").loadModules(["ContextualLayerInlineTabOrder"],function(b){a.hasBehavior(b)||a.enableBehavior(b)},"ContextualLayer");return this};d._setContextID=function(a){this._contextSelector="#"+a,this._contextNode=null};d._setContextSelector=function(a){this._contextSelector=a,this._contextNode=null};d.getCausalElement=function(){return a.prototype.getCausalElement.call(this)||this.getContext()};d._setParentSubscription=function(){var a=this.getContext(),c=null;while(a!=null){c=b("DataStore").get(a,"layer");if(c&&typeof c==="object")break;a=a.parentNode}if(c===this._parentLayer)return;this._parentLayer&&this._parentSubscription&&(this._parentLayer.unsubscribe(this._parentSubscription),this._parentSubscription=null);c&&(this._parentSubscription=c.subscribe("hide",this.hide.bind(this)));this._parentLayer=c};d.setPosition=function(a){this.getOrientation().setDefaultPosition(a)&&(this._shown&&this._updatePosition());return this};d.setAlignment=function(a){this.getOrientation().setDefaultAlignment(a)&&(this._shown&&this._updatePosition());return this};d.setOffsetX=function(a){this.getOrientation().setDefaultOffsetX(a)&&(this._shown&&this._updatePosition());return this};d.setArrowDimensions=function(a){a&&this.getOrientation().setArrowOffset(a.offset)&&(this._shown&&this._updatePosition());return this};d.setOffsetY=function(a){this.getOrientation().setDefaultOffsetY(a)&&(this._shown&&this._updatePosition());return this};d.getPosition=function(){return this.getOrientation().getPosition()};d.getOrientation=function(){this._orientation||(this._orientation=new(b("ContextualLayerOrientation"))());return this._orientation};d.getContentRoot=function(){return this._contentWrapper};d.getContent=function(){return this._content};d.getContext=function(){var a;!this._contextNode&&this._contextSelector&&(this._contextNode=b("DOM").find(document,this._contextSelector));return(a=this._contextNode)!=null?a:null};d.getContextBounds=function(a){if(this._contextBounds)return this._contextBounds.convertTo(a);var c=this.getContext();return b("Rect").newFromVectors(b("Vector").getElementPosition(c,a),b("Vector").getElementDimensions(c))};d.getContextScrollParent=function(){!this._contextScrollParent?this._contextScrollParent=b("Style").getScrollParent(this.getContext()):b("isElementNode")(this._contextScrollParent)&&!b("containsNode")(document.documentElement,this._contextScrollParent)&&(this._contextScrollParent=b("Style").getScrollParent(this.getContext()));return this._contextScrollParent};d.setInsertParent=function(b){this._insertScrollParent=null;return a.prototype.setInsertParent.call(this,b)};d.getInsertScrollParent=function(){this._insertScrollParent||(this._insertScrollParent=b("Style").getScrollParent(this.getInsertParent()));return this._insertScrollParent};d.show=function(){var c=this;if(this._shown)return this;a.prototype.show.call(this);b("Arbiter").inform("contextualLayer/toggle",{show:!0,contentRoot:this.getRoot()});if(this._shown){if(!this.getContext())return this;b("ContextualThing").register(this.getRoot(),this.getContext());h.push(this);this._resizeListener=this._resizeListener||b("Event").listen(window,"resize",b("throttle")(function(){c._shown&&c.updatePosition()}))}return this};d.finishHide=function(){b("removeFromArray")(h,this);this._resizeListener&&this._resizeListener.remove();this._resizeListener=null;this._insertScrollParent=null;b("Arbiter").inform("contextualLayer/toggle",{show:!1,contentRoot:this.getRoot()});return a.prototype.finishHide.call(this)};d.isFixed=function(){return b("Style").isFixed(this.getContext())&&!b("Style").isFixed(this.getInsertParent())};d.updatePosition=function(){var a=this.getContext();if(!a)return!1;var c=this.isFixed();if(!c&&!(a.offsetParent||b("SVGChecker").isSVG(a)&&b("SVGChecker").isDisplayed(a)))return!1;var d=this.getRoot();if(d==null||this._contentWrapper==null)return!1;var e=b("Vector").getLayoutViewportDimensions().x;b("Style").set(d,"width",e+"px");b("gkx")("25981")&&(b("Style").set(d,"left",""),b("Style").set(d,"right",""),b("Style").set(d,"top",""));var f=this.getOrientation();this.inform("adjust",f.reset());if(!f.isValid())return!1;this._updateWrapperPosition(f);this._updateWrapperClass(f);b("CSS").conditionClass(d,"uiContextualLayerPositionerFixed",c);var h=c?"viewport":"document",i=c?document.documentElement:b("getOffsetParent")(d);if(c)c=new(b("Vector"))(0,0),e=e;else if(i===document.documentElement)c=new(b("Vector"))(0,0),e=document.documentElement.clientWidth;else if(!d.offsetParent)return!1;else c=b("Vector").getElementPosition(i,h),e=i.offsetWidth,i!==document.body&&(c=c.sub(new(b("Vector"))(b("Scroll").getLeft(i),b("Scroll").getTop(i))));i=this.getContextBounds(h);h=i.l-c.x;c=i.t-c.y;var j=i.h(),k=i.w(),l=b("Locale").isRTL();f.getPosition()==="below"&&(c+=j);(f.getPosition()==="right"||f.isVertical()&&f.getAlignment()==="right")!=l&&(h+=k);!f.isVertical()&&f.getAlignment()==="center"&&(c+=i.h()/2-this.getContentRoot().offsetHeight/2);j=f.getOffsetX();f.isVertical()&&f.getAlignment()==="center"&&(j+=(k-this.getContentRoot().offsetWidth)/2);l&&(j*=-1);i="left";k=Math.floor(h+j);g(f)!==l&&(i="right",k=e-k);b("Style").set(d,i,k+"px");b("Style").set(d,i==="left"?"right":"left","");h=this.getInsertScrollParent();j=0;h!==window?(l=h.clientWidth,j=b("Vector").getElementPosition(h).x):l=document.documentElement.clientWidth;e=b("Vector").getElementPosition(d).x-j;k=0;h=window.devicePixelRatio!==Math.round(window.devicePixelRatio);k=h?1:0;b("gkx")("25983")&&(k=1);i==="left"&&l-e>0?b("Style").set(d,"width",l-e-k+"px"):i==="right"&&e+d.offsetWidth>0?b("Style").set(d,"width",e+d.offsetWidth-k+"px"):b("Style").set(d,"width","");b("Style").set(d,"top",c+f.getOffsetY()+"px");j=b("getOverlayZIndex")(a,this.getInsertParent());b("Style").set(d,"z-index",j>200?j:"");this.inform("reposition",f);return!0};d._updatePosition=function(){var a=this;if(this._debouncedUpdatePosition){this._debouncedUpdatePosition();return}this._debouncedUpdatePosition=b("debounce")(function(){a._shown&&a.updatePosition(),delete a._debouncedUpdatePosition});return this.updatePosition()};d._updateWrapperPosition=function(a){var c=a.getPosition()==="above";b("Style").set(this._contentWrapper,"bottom",c?"0":null);c=b("Locale").isRTL()?"left":"right";a=g(a);b("Style").set(this._contentWrapper,c,a?"0":null)};d._updateWrapperClass=function(a){a=a.getClassName();if(a===this._orientationClass)return;this._orientationClass&&b("CSS").removeClass(this._contentWrapper,this._orientationClass);this._orientationClass=a;b("CSS").addClass(this._contentWrapper,a)};d.simulateOrientation=function(a,c){a=a.getClassName();if(a===this._orientationClass)return c();else{this._orientationClass&&b("CSS").removeClass(this._contentWrapper,this._orientationClass);b("CSS").addClass(this._contentWrapper,a);c=c();b("CSS").removeClass(this._contentWrapper,a);this._orientationClass&&b("CSS").addClass(this._contentWrapper,this._orientationClass);return c}};d.destroy=function(){a.prototype.destroy.call(this);this._contentWrapper=null;this._content=null;return this};d.getArrowDimensions=function(){return this._config.arrowDimensions||{offset:0,length:0}};c.getDefaultBehaviorsAsObject=function(){return b("cr:971473")==null?{}:{LayerHideOnTransition:b("cr:971473")}};return c}(b("Layer"));var h=[];b("Arbiter").subscribe("reflow",function(){h.forEach(function(a){a.updatePosition()===!1&&a.hide()})});Object.assign(a.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});e.exports=a}),null); __d("ViewportBounds",["Arbiter","ArbiterMixin","BlueBar","ExecutionEnvironment","PageEvents","Vector","emptyFunction","removeFromArray"],(function(a,b,c,d,e,f){var g,h={top:[],right:[],bottom:[],left:[]};function a(a){return function(){return h[a].reduce(function(a,b){return Math.max(a,b.getSize())},0)}}function c(a,b){return function(c){return new i(a,c,b)}}var i=function(){"use strict";function a(a,c,d){d===void 0&&(d=!1),this.getSide=b("emptyFunction").thatReturns(a),this.getSize=function(){return typeof c==="function"?c():c},this.isPersistent=b("emptyFunction").thatReturns(d),h[a].push(this),j.inform("change")}var c=a.prototype;c.remove=function(){b("removeFromArray")(h[this.getSide()],this),j.inform("change")};return a}();b("Arbiter").subscribe(b("PageEvents").AJAXPIPE_ONUNLOAD,function(){["top","right","bottom","left"].forEach(function(a){a=h[a];for(var b=a.length-1;b>=0;b--){var c=a[b];c.isPersistent()||c.remove()}})});var j=babelHelpers["extends"]({},b("ArbiterMixin"),{getTop:a("top"),getRight:a("right"),getBottom:a("bottom"),getLeft:a("left"),getElementPosition:function(a){a=b("Vector").getElementPosition(a);a.y-=j.getTop();return a},addTop:c("top"),addRight:c("right"),addBottom:c("bottom"),addLeft:c("left"),addPersistentTop:c("top",!0),addPersistentRight:c("right",!0),addPersistentBottom:c("bottom",!0),addPersistentLeft:c("left",!0)});j.addPersistentTop(function(){if((g||(g=b("ExecutionEnvironment"))).canUseDOM&&b("BlueBar").hasFixedBlueBar()){var a=b("BlueBar").getMaybeFixedRoot();return a?a.offsetHeight:0}return 0});e.exports=j}),null); __d("LayerBounds",["Locale","Rect","ViewportBounds","containsNode","ge","getOverlayZIndex"],(function(a,b,c,d,e,f,g){function a(a){var b=c("ge")("globalContainer");b=b&&c("containsNode")(b,a)||c("getOverlayZIndex")(a)<300;a=c("Rect").getViewportWithoutScrollbarsBounds();b&&(a.t+=c("ViewportBounds").getTop(),c("Locale").isRTL()?(a.r-=c("ViewportBounds").getLeft(),a.l+=c("ViewportBounds").getRight()):(a.r-=c("ViewportBounds").getRight(),a.l+=c("ViewportBounds").getLeft()));return a}g.getViewportRectForContext=a}),98); __d("ContextualLayerDimensions",["LayerBounds","Locale","Rect","Vector"],(function(a,b,c,d,e,f,g){function a(a){return d("LayerBounds").getViewportRectForContext(a.getContext())}function b(a,b){var d=a.getContextBounds("viewport"),e=a.simulateOrientation(b,function(){return c("Vector").getElementDimensions(a.getContentRoot())}),f=d.t+b.getOffsetY();b.getPosition()==="above"?f-=e.y:b.getPosition()==="below"&&(f+=d.b-d.t);var g=d.l+b.getOffsetX();d=d.r-d.l;if(b.isVertical()){var h=b.getAlignment();h==="center"?g+=(d-e.x)/2:h==="right"!==c("Locale").isRTL()?g+=d-e.x+b.getArrowOffset():g-=b.getArrowOffset()}else b.getPosition()==="right"!==c("Locale").isRTL()?g+=d:g-=e.x;return new(c("Rect"))(f,g+e.x,f+e.y,g,"viewport")}g.getViewportRect=a;g.getLayerRect=b}),98); __d("CoreMonitorFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(a,b,c,d,e,f,g){"use strict";a=c("getFalcoLogPolicy_DO_NOT_USE")("1985308");b=d("FalcoLoggerInternal").create("core_monitor",a);e=b;g["default"]=e}),98); __d("DOMContainer.react",["invariant","isNode","react"],(function(a,b,c,d,e,f,g,h){var i=["display"],j,k=j||d("react");a=function(a){function b(){var b;for(var c=arguments.length,d=new Array(c),e=0;e= 10.8")&&c("UserAgent").isBrowser("Safari >= 6.0"));return h}g["default"]=a}),98); __d("DOMScroll",["Arbiter","DOM","DOMQuery","Vector","ViewportBounds","emptyFunction","ge","isAsyncScrollQuery","nullthrows","requireDeferred"],(function(a,b,c,d,e,f){var g=b("requireDeferred")("Animation").__setRef("DOMScroll"),h={SCROLL:"dom-scroll",_scrolling:!1,_scrollingFinishedTimeout:null,getScrollState:function(){var a=b("Vector").getViewportDimensions(),c=b("Vector").getDocumentDimensions(),d=c.x>a.x;c=c.y>a.y;d+=0;c+=0;return new(b("Vector"))(d,c)},_scrollbarSize:null,_initScrollbarSize:function(){var a=b("DOM").create("p");a.style.width="100%";a.style.height="200px";var c=b("DOM").create("div");c.style.position="absolute";c.style.top="0px";c.style.left="0px";c.style.visibility="hidden";c.style.width="200px";c.style.height="150px";c.style.overflow="hidden";c.appendChild(a);b("nullthrows")(document.body).appendChild(c);var d=a.offsetWidth;c.style.overflow="scroll";a=a.offsetWidth;d==a&&(a=c.clientWidth);b("nullthrows")(document.body).removeChild(c);h._scrollbarSize=d-a},getScrollbarSize:function(){h._scrollbarSize===null&&h._initScrollbarSize();return b("nullthrows")(h._scrollbarSize)},scrollTo:function(a,c,d,e,f,i){var j,k=0;c==null||c===!0?k=750:typeof c==="number"?k=c:parseInt(c,10)&&(k=parseInt(c,10));b("isAsyncScrollQuery")()&&(k=0);if(a instanceof b("Vector"))c=a;else{var l=b("Vector").getScrollPosition().x;a=b("Vector").getElementPosition(b("ge")(a)).y;c=new(b("Vector"))(l,a,"document");e||(c.y-=b("ViewportBounds").getTop()/(d?2:1))}d?c.y-=b("Vector").getViewportDimensions().y/2:e&&(c.y-=b("Vector").getViewportDimensions().y,c.y+=e);f&&(c.y-=f);c=c.convertTo("document");if(k)if("scrollBehavior"in b("nullthrows")(document.documentElement).style&&k===750&&!i)try{window.scrollTo({left:c.x,top:c.y,behavior:"smooth"})}catch(a){window.scrollTo(c.x,c.y)}else{l=g.getModuleIfRequired();if(l!=null){h._setScrollingForDuration(k);var m=new l(b("nullthrows")(document.body)).to("scrollTop",c.y).to("scrollLeft",c.x).ease(l.ease.end).duration(k).ondone(i).go();j=function(){m.stop()}}else window.scrollTo(c.x,c.y),i&&i()}else window.scrollTo(c.x,c.y),i&&i();b("Arbiter").inform(h.SCROLL);return j||b("emptyFunction")},scrollToID:function(a){h.scrollTo(a)},ensureVisible:function(a,c,d,e,f){var g=b("Vector").getScrollPosition().x;a=h._getBounds(a,c,d);c=a[0];d=a[1];var i=a[2];a=a[3];id?i-(a-d)=b&&a<=c},_getBounds:function(a,c,d){d==null&&(d=10);a=b("ge")(a);c&&(a=b("DOMQuery").find(a,c));c=b("Vector").getScrollPosition().y;var e=c+b("Vector").getViewportDimensions().y,f=b("Vector").getElementPosition(a).y;a=f+b("Vector").getElementDimensions(a).y;f-=b("ViewportBounds").getTop();f-=d;a+=d;return[c,e,f,a]},scrollToTop:function(a){var c=b("Vector").getScrollPosition();h.scrollTo(new(b("Vector"))(c.x,0,"document"),a!==!1)},currentlyScrolling:function(){return h._scrolling},_setScrollingForDuration:function(a){h._scrolling=!0,h._scrollingFinishedTimeout&&(clearTimeout(h._scrollingFinishedTimeout),h._scrollingFinishedTimeout=null),h._scrollingFinishedTimeout=setTimeout(function(){h._scrolling=!1,h._scrollingFinishedTimeout=null},a)}};e.exports=h}),null); __d("VideoAutoplayRule",[],(function(a,b,c,d,e,f){"use strict";a=function(){function a(a){this.$1=!0,this.videoUnit=a}var b=a.prototype;b.calculateAutoplayScore=function(){throw new Error("Should be overridden")};b.enableRule=function(){this.$1=!0};b.disableRule=function(){this.$1=!1};b.isEnabled=function(){return this.$1};return a}();f["default"]=a}),66); __d("DocumentFocusForMutedVideoAutoplayRule",["VideoAutoplayRule"],(function(a,b,c,d,e,f,g){"use strict";a=function(a){function b(b){return a.call(this,b)||this}babelHelpers.inheritsLoose(b,a);var c=b.prototype;c.calculateAutoplayScore=function(){return this.isEnabled()?this.$DocumentFocusForMutedVideoAutoplayRule$p_1():1};c.$DocumentFocusForMutedVideoAutoplayRule$p_1=function(){var a=this.videoUnit.getVideoPlayerController();return a&&a.isMuted()?document.hasFocus()?1:0:1};return b}(c("VideoAutoplayRule"));g["default"]=a}),98); __d("monitorCodeUse",["invariant","CoreMonitorFalcoEvent","ErrorNormalizeUtils","ScriptPath","SiteData","gkx","react"],(function(a,b,c,d,e,f,g){var h;function i(a){a=a.type;if(typeof a==="string")return a;return typeof a==="function"?a.displayName||a.name:null}function j(){var a=(h||(h=b("react"))).__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;a=a.A;if(a===null)return[];a=a.getOwner();var c=1e3,d=[];while(a&&d.length10){var b=a.slice(0,5).map(k);return"["+b.join(", ")+", ...]"}b=a.map(k);return"["+b.join(", ")+"]"}if(typeof a==="string")return"'"+a+"'";if(typeof a==="object"){b=Object.keys(a).map(function(a){return a+"=..."});return"{"+b.join(", ")+"}"}return String(a)}function m(a){return a.identifier||""}function n(a){var b;return((b=a.script)!=null?b:"")+" "+((b=a.line)!=null?b:"")+":"+((b=a.column)!=null?b:"")}var o;function a(a,c,d){c===void 0&&(c={});d===void 0&&(d={});a&&!/[^a-z0-9_]/.test(a)||g(0,2789);o===void 0&&(o=b("gkx")("20935"));var e=b("SiteData").devserver_username||"",f=!1;d.forceIncludeStackTrace&&(f=!0);var h,i;if(f)try{f=new Error(a);f.framesToPop=1;f=b("ErrorNormalizeUtils").normalizeError(f).stackFrames;h=f.map(m);i=f.map(n).join("\n")}catch(a){}f=c.params;var k;Array.isArray(f)&&(k=Array.from(f,function(a){return String(a)}));b("CoreMonitorFalcoEvent").log(function(){return{class_name:String(c.className),message:String(c.message),params:k,push_phase_field:String(c.pushPhase),svn_revision_field:String(c.svnRevision),version:String(c.version),event:a,is_comet:String(o?1:0),owners:j(),uri_field:window.location.href,script_path:b("ScriptPath").getScriptPath(),devserver_username:e,stacktrace:h,stack:i,sample_rate:String(d.sampleRate)}})}e.exports=a}),null); __d("ExplicitRegistrationDispatcherUtils",["emptyFunction","setImmediate"],(function(a,b,c,d,e,f){"use strict";a=!1;c=b("emptyFunction");e.exports={warn:c,inlineRequiresEnabled:a}}),null); __d("ExplicitRegistrationDispatcher",["Dispatcher_DEPRECATED","ExplicitRegistrationDispatcherUtils","setImmediate"],(function(a,b,c,d,e,f,g){"use strict";a=function(a){function b(b){var c;b=b.strict;c=a.call(this)||this;c.$ExplicitRegistrationDispatcher2=b;c.$ExplicitRegistrationDispatcher1={};return c}babelHelpers.inheritsLoose(b,a);var c=b.prototype;c.explicitlyRegisterStore=function(a){a=a.getDispatchToken();this.$ExplicitRegistrationDispatcher1[a]=!0;return a};c.explicitlyRegisterStores=function(a){var b=this;return a.map(function(a){return b.explicitlyRegisterStore(a)})};c.register=function(b,c){var d=this;d=this.__genID(c);this.$ExplicitRegistrationDispatcher1[d]=!1;c=a.prototype.register.call(this,this.$ExplicitRegistrationDispatcher4.bind(this,d,b),d);return c};c.$ExplicitRegistrationDispatcher4=function(a,b,c){(this.$ExplicitRegistrationDispatcher1[a]||!this.$ExplicitRegistrationDispatcher2)&&this.__invokeCallback(a,b,c)};c.unregister=function(b){a.prototype.unregister.call(this,b),delete this.$ExplicitRegistrationDispatcher1[b]};c.__getMaps=function(){};return b}(c("Dispatcher_DEPRECATED"));g["default"]=a}),98); __d("ExplicitRegistrationReactDispatcher",["ExplicitRegistrationDispatcher"],(function(a,b,c,d,e,f,g){"use strict";a=function(a){function b(){return a.apply(this,arguments)||this}babelHelpers.inheritsLoose(b,a);var c=b.prototype;c.dispatch=function(b){a.prototype.dispatch.call(this,b)};return b}(c("ExplicitRegistrationDispatcher"));g["default"]=a}),98); __d("FluxContainerNameUtils",[],(function(a,b,c,d,e,f){"use strict";function a(a,b){if(a&&b)try{Object.defineProperty(a,"name",{value:b})}catch(a){}return a}f.nameContainer=a}),66); __d("getUniformDispatcher",["invariant"],(function(a,b,c,d,e,f,g,h){"use strict";function a(a){a&&a.length||h(0,18238);a=a[0].getDispatcher();return a}g["default"]=a}),98); __d("FluxContainerSubscriptions",["expectationViolation","getUniformDispatcher","nullthrows","shallowArrayEqual"],(function(a,b,c,d,e,f,g){"use strict";a=function(){function a(a){this.$1=[],this.$4=a!=null?a:this.constructor.name}var b=a.prototype;b.setStores=function(a){var b=this;if(this.$3&&c("shallowArrayEqual")(this.$3,a))return;this.$3=a;this.$7();this.$8();if(a.length===0){c("expectationViolation")("there should be at least 1 store in a flux subscription");return}var d=!1,e=[],f=function(){d&&(b.$1.forEach(function(a){return a()}),d=!1)},g=c("getUniformDispatcher")(a);e=function(){if(g.registerContainer!=null)b.$6=g.registerContainer(function(a){f()},b.$4);else{var c=a.map(function(a){return a.getDispatchToken()});b.$6=g.register(function(a){g.waitFor(c),f()},b.$4,null,b.$4)}g.explicitlyRegisterStore&&g.explicitlyRegisterStore(b)};this.$2=a.map(function(a){return a.addListener(function(){d=!0})});e();this.$5=g};b.addListener=function(a){this.$1.push(a)};b.removeListener=function(a){a=this.$1.indexOf(a);a!==-1&&this.$1.splice(a,1)};b.getNumListeners=function(){return this.$1.length};b.reset=function(){this.$7(),this.$8(),this.$9(),this.$10()};b.$7=function(){this.$2&&(this.$2.forEach(function(a){return a.remove()}),this.$2=null)};b.$8=function(){this.$5&&this.$6!=null&&this.$5.unregister(this.$6),this.$5=null,this.$6=null};b.$10=function(){this.$3=null};b.$9=function(){this.$1=[]};b.getDispatchToken=function(){return c("nullthrows")(this.$6,"dispatchToken must be set")};return a}();g["default"]=a}),98); __d("FluxStoreInstrumentation",["invariant"],(function(a,b,c,d,e,f,g,h){"use strict";var i=null;function a(a){i==null||h(0,2260),i=a}function b(a){return i?i.emitChange(a):null}g.inject=a;g.onEmitChange=b}),98); __d("FluxStoreOnDispatchInstrumentation",["SimpleHook"],(function(a,b,c,d,e,f,g){"use strict";a=new(d("SimpleHook").SimpleHook)();g["default"]=a}),98); __d("concatArrays",[],(function(a,b,c,d,e,f){function a(a){var b;return(b=[]).concat.apply(b,a)}f["default"]=a}),66); __d("distinctArray",[],(function(a,b,c,d,e,f){function a(a){if(a==null)return[];if(Array.isArray(a)){var b=a.length;if(b<=200){var c=[];for(var d=0;d0){var d=!1;b=c("concatArrays")(b.map(function(a){a=a&&a.getActionTypes?a.getActionTypes():null;a==null&&(d=!0);return a}).filter(Boolean));d?a=null:a=(i||(i=c("distinctArray")))(a.concat(b))}}this.$1=a}return this.$1};b.getDispatcher=function(){return this.__dispatcher};b.getDispatchToken=function(){return this.$2};b.getDependencyDispatchTokens=function(){this.$5||(this.$5=this.getDependencyStores().map(function(a){return a&&a.getDispatchToken&&a.getDispatchToken()}));return this.$5};b.getDependencyStores=function(){this.$4||(this.$4=(i||(i=c("distinctArray")))(this.__getDependencyStores()));return this.$4};b.addStoreDependency=function(a){var b=this.__dispatcher.registerDependency;b&&b(this.getDispatchToken(),a.getDispatchToken())};b.hasChanged=function(){this.__dispatcher.isDispatching()||h(0,1147,this.__className);return this.__changed};b.__setAsUnchanged=function(){this.__changed=!1};b.__emitChange=function(){this.__dispatcher.isDispatching()||h(0,1148,this.__className);if(this.__changed)return;d("FluxStoreInstrumentation").onEmitChange(this.__moduleID!=null?this.__moduleID:"unknown");this.__changed=!0};b.__invokeOnDispatch=function(a){this.__changed=!1;var b=c("FluxStoreOnDispatchInstrumentation").hasCallback()?(j||(j=c("performanceAbsoluteNow")))():null;this.__onDispatch(a);if(b!=null){c("FluxStoreOnDispatchInstrumentation").call((a=this.__moduleID)!=null?a:"unknown",(j||(j=c("performanceAbsoluteNow")))()-b)}this.__inform()};b.__inform=function(a){this.$3=this.__changed||this.$3;var b=this.__dispatcher.shouldAllowInforms==null||this.__dispatcher.shouldAllowInforms();b&&this.$3&&(this.$3=!1,this.__emitter.emit(a||this.__changeEvent))};b.__onDispatch=function(a){h(0,1149,this.__className)};b.__getActionTypes=function(){return null};b.__getDependencyStores=function(){return[]};b.__getIDForDispatcher=function(){return this.__className};return a}();a;b=a;g["default"]=b}),98); __d("TypedFluxStore",["FluxStore"],(function(a,b,c,d,e,f,g){"use strict";g["default"]=c("FluxStore")}),98); __d("FluxReduceStore",["invariant","TypedFluxStore","abstractMethod"],(function(a,b,c,d,e,f,g,h){"use strict";a=function(a){function b(b){b=a.call(this,b)||this;b.$FluxReduceStore$p_1=b.getInitialState();return b}babelHelpers.inheritsLoose(b,a);var d=b.prototype;d.getState=function(){return this.$FluxReduceStore$p_1};d.getInitialState=function(){return c("abstractMethod")("FluxReduceStore","getInitialState")};d.reduce=function(a,b){return c("abstractMethod")("FluxReduceStore","reduce")};d.areEqual=function(a,b){return a===b};d.__invokeOnDispatch=function(a,b){b===void 0&&(b=!0);this.__changed=!1;var c=this.$FluxReduceStore$p_1;a=this.reduce(c,a);a!==void 0||h(0,2189,this.constructor.name);this.areEqual(c,a)||(this.$FluxReduceStore$p_1=a,this.__emitChange());b&&this.__inform()};d.__setState=function(a){this.$FluxReduceStore$p_1=a};return b}(c("TypedFluxStore"));a.__moduleID=f.id;g["default"]=a}),98); __d("HTMLMediaElementReadyStates",[],(function(a,b,c,d,e,f){a={HAVE_NOTHING:0,HAVE_METADATA:1,HAVE_CURRENT_DATA:2,HAVE_FUTURE_DATA:3,HAVE_ENOUGH_DATA:4};b=a;f["default"]=b}),66); __d("XReferer",["Base64","Cookie","URI","cr:8958","setTimeoutAcrossTransitions"],(function(a,b,c,d,e,f,g){var h;function a(a,b,d){if(!d){c("Cookie").set("x-referer","");return}a!=null&&(a=j(a));b!=null&&(b=j(b));var e=window.location.pathname+window.location.search;d=(h||(h=c("URI"))).getRequestURI();var f=d.getSubdomain();b!=null&&i(b,e,f);a!=null&&c("setTimeoutAcrossTransitions")(function(){a!=null&&i(a,e,f)},0)}function i(a,d,e){a={r:a,h:d,s:e};d=c("Base64").encode(b("cr:8958").stringify(a));c("Cookie").set("x-referer",d)}function j(a){var b=1024;a&&a.length>b&&(a=a.substring(0,b)+"...");return a}g.update=a;g._setCookie=i;g.truncatePath=j}),98); __d("goOrReplace",["Env","URI","isFacebookURI"],(function(a,b,c,d,e,f,g){var h,i;function a(a,b,d){b=new(h||(h=c("URI")))(b);(i||(i=c("Env"))).isCQuick&&c("isFacebookURI")(b)&&b.addQueryData({cquick:(i||(i=c("Env"))).iframeKey,cquick_token:i.iframeToken,ctarget:i.iframeTarget});b=b.toString();d?a.replace(b):a.href==b?a.reload():a.href=b}g["default"]=a}),98); __d("HistoryManager",["Env","Event","SprinkleConfig","URI","UserAgent_DEPRECATED","XReferer","emptyFunction","goOrReplace","isInIframe","setIntervalAcrossTransitions"],(function(a,b,c,d,e,f){var g,h,i={history:null,current:0,fragment:null,isInitialized:function(){return!!i._initialized},init:function(){if(!(g||(g=b("Env"))).ALLOW_TRANSITION_IN_IFRAME&&b("isInIframe")())return;if(i._initialized)return i;var a=new(h||(h=b("URI")))(window.location.href),c=a.getFragment()||"";c.charAt(0)==="!"&&(c=c.substr(1),a.setFragment(c));Object.assign(i,{_initialized:!0,fragment:c,orig_fragment:c,history:[a],callbacks:[],lastChanged:Date.now(),canonical:new h("#"),user:0,enabled:!0,debug:b("emptyFunction")});if(window.history&&window.history.pushState){this.lastURI=document.URL;c=new(h||(h=b("URI")))(this.lastURI);a=c.getQueryData();a.__md__=void 0;a.__xts__=void 0;a.fb_dtsg_ag=void 0;a[b("SprinkleConfig").param_name]=void 0;this.lastURI=c.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(a){if(!(a.number===-2147467259))throw a}b("Event").listen(window,"popstate",function(a){var c=a&&a.state&&typeof a.state==="string";c&&i.lastURI!=a.state&&(i.lastURI=document.URL,i.lastChanged=Date.now(),i.notify(new(h||(h=b("URI")))(a.state).getUnqualifiedURI().toString()))});(b("UserAgent_DEPRECATED").webkit()<534||b("UserAgent_DEPRECATED").chrome()<=13)&&(b("setIntervalAcrossTransitions")(i.checkURI,42),i._updateRefererURI(this.lastURI));return i}i._updateRefererURI(h.getRequestURI(!1));if(b("UserAgent_DEPRECATED").webkit()<500||b("UserAgent_DEPRECATED").firefox()<2){i.enabled=!1;return i}"onhashchange"in window?b("Event").listen(window,"hashchange",function(){window.setTimeout(i.checkURI.bind(i),0)}):b("setIntervalAcrossTransitions")(i.checkURI,42);return i},registerURIHandler:function(a){i.callbacks.push(a);return i},setCanonicalLocation:function(a){i.canonical=new(h||(h=b("URI")))(a);return i},notify:function(a){a==i.orig_fragment&&(a=i.canonical.getFragment());for(var b=0;b=0;--a)if(i.history[a].getFragment().replace(/%23/g,"#")==c)break;++i.user;a>=0?i.go(a-i.current):i.go("#"+c);--i.user}},_updateRefererURI:function(a){a instanceof(h||(h=b("URI")))&&(a=a.toString()),b("XReferer").update(a,null,!0)},go:function(a,c,d){if(window.history&&window.history.pushState){c||typeof a==="number";var e=new(h||(h=b("URI")))(a).removeQueryData(["ref","messaging_source","ajaxpipe_fetch_stream","fb_dtsg_ag",b("SprinkleConfig").param_name]).toString();i.lastChanged=Date.now();this.lastURI=e;d?window.history.replaceState(a,null,e):window.history.pushState(a,null,e);b("UserAgent_DEPRECATED").webkit()<534&&i._updateRefererURI(a);return!1}i.debug("go: "+a);c===void 0&&(c=!0);if(!i.enabled&&!c)return!1;if(typeof a==="number"){if(!a)return!1;e=a+i.current;var f=Math.max(0,Math.min(i.history.length-1,e));i.current=f;e=i.history[f].getFragment()||i.orig_fragment;e=new(h||(h=b("URI")))(e).removeQueryData("ref").getUnqualifiedURI().toString();i.fragment=e;i.lastChanged=Date.now();i.user||b("goOrReplace")(window.location,window.location.href.split("#")[0]+"#!"+e,d);c&&i.notify(e);i._updateRefererURI(e);return!1}a=new(h||(h=b("URI")))(a);a.getDomain()==new(h||(h=b("URI")))(window.location.href).getDomain()&&(a=new(h||(h=b("URI")))("#"+a.getUnqualifiedURI()));f=i.history[i.current].getFragment();e=a.getFragment();if(e==f||f==i.orig_fragment&&e==i.canonical.getFragment()){c&&i.notify(e);i._updateRefererURI(e);return!1}d&&i.current--;f=i.history.length-i.current-1;i.history.splice(i.current+1,f);i.history.push(new h(a));return i.go(1,c,d)},getCurrentFragment:function(){var a=(h||(h=b("URI"))).getRequestURI(!1).getFragment();return a==i.orig_fragment?i.canonical.getFragment():a}};e.exports=i}),null); __d("Href",[],(function(a,b,c,d,e,f){"use strict";function a(a){if(typeof a==="object"&&a!=null&&a.url!=null)return{type:"legacy",value:a};else return{type:"modern",value:a}}f.getTypedHref=a}),66); __d("getImageSourceURLFromImageish",[],(function(a,b,c,d,e,f){"use strict";function a(a){if(typeof a==="string")return a;return a!=null&&typeof a==="object"&&(!a.sprited&&a.uri&&typeof a.uri==="string")?a.uri:""}f["default"]=a}),66); __d("warnUnsupportedProp",["warning"],(function(a,b,c,d,e,f,g){"use strict";function a(a,b,d){c("warning")(!1,"%s component does not support prop `%s`.%s",a,b,d?" "+d:"")}g["default"]=a}),98); __d("ImageCore.react",["CometVisualCompletionAttributes","URI","coerceImageishSprited","coerceImageishURL","getImageSourceURLFromImageish","joinClasses","react","react-compiler-runtime","warnUnsupportedProp"],(function(a,b,c,d,e,f,g){"use strict";var h=["forwardedRef"],i=["src","style"],j=["ref"],k,l,m=l||d("react");function n(a){return a instanceof(k||(k=c("URI")))?a.toString():a}function o(a){var b=d("react-compiler-runtime").c(27),e,f;b[0]!==a?(e=a.forwardedRef,f=babelHelpers.objectWithoutPropertiesLoose(a,h),b[0]=a,b[1]=e,b[2]=f):(e=b[1],f=b[2]);a=f.className;var g,j,k,l;if(b[3]!==e||b[4]!==f){l=Symbol["for"]("react.early_return_sentinel");bb0:{a=c("joinClasses")(a,"img");var o=n(f.src);if(o==null){l=m.jsx("img",babelHelpers["extends"]({},f,{className:a,ref:e}));break bb0}var p=c("coerceImageishSprited")(o);g=!!p&&f.alt!=null&&String(f.alt)!==""?m.jsx("u",{children:f.alt}):null;if(typeof o==="string"){l=m.jsx("img",babelHelpers["extends"]({},f,{className:a,ref:e,src:o,children:g}));break bb0}if(p){if(b[10]!==f){var q=f;q.src;var r=q.style;q=babelHelpers.objectWithoutPropertiesLoose(q,i);r=r;q=q;b[10]=f;b[11]=q;b[12]=r}else q=b[11],r=b[12];l=m.jsx("i",babelHelpers["extends"]({},q,c("CometVisualCompletionAttributes").CSS_IMG,{className:c("joinClasses")(a,p.type==="css"?p.className:void 0),ref:e,style:p.type==="cssless"?babelHelpers["extends"]({},r,p.style):r,children:g}));break bb0}j=c("getImageSourceURLFromImageish")(o);k=c("coerceImageishURL")(o)}b[3]=e;b[4]=f;b[5]=g;b[6]=a;b[7]=j;b[8]=k;b[9]=l}else g=b[5],a=b[6],j=b[7],k=b[8],l=b[9];if(l!==Symbol["for"]("react.early_return_sentinel"))return l;q=k;if(f.width===void 0&&f.height===void 0&&q){b[13]!==g||b[14]!==a||b[15]!==e||b[16]!==j||b[17]!==f||b[18]!==q.height||b[19]!==q.width?(p=m.jsx("img",babelHelpers["extends"]({},f,{className:a,height:q.height,src:j,ref:e,width:q.width,children:g})),b[13]=g,b[14]=a,b[15]=e,b[16]=j,b[17]=f,b[18]=q.height,b[19]=q.width,b[20]=p):p=b[20];return p}b[21]!==g||b[22]!==a||b[23]!==e||b[24]!==j||b[25]!==f?(r=m.jsx("img",babelHelpers["extends"]({},f,{className:a,ref:e,src:j,children:g})),b[21]=g,b[22]=a,b[23]=e,b[24]=j,b[25]=f,b[26]=r):r=b[26];return r}function a(a){var b=d("react-compiler-runtime").c(7),e,f;b[0]!==a?(f=a.ref,e=babelHelpers.objectWithoutPropertiesLoose(a,j),b[0]=a,b[1]=e,b[2]=f):(e=b[1],f=b[2]);Object.prototype.hasOwnProperty.call(e,"source")&&c("warnUnsupportedProp")("ImageCore","source","Did you mean `src`?");a=e.alt===void 0?"":e.alt;var g;b[3]!==e||b[4]!==f||b[5]!==a?(g=m.jsx(o,babelHelpers["extends"]({},e,{alt:a,forwardedRef:f})),b[3]=e,b[4]=f,b[5]=a,b[6]=g):g=b[6];return g}a.displayName="ImageCore";g["default"]=a}),98); __d("Image.react",["ImageCore.react"],(function(a,b,c,d,e,f,g){g["default"]=c("ImageCore.react")}),98); __d("ImageWwwCssDependency",[],(function(a,b,c,d,e,f){"use strict";a=null;f["default"]=a}),66); __d("ImmutableRecordWithV4Types",["immutable"],(function(a,b,c,d,e,f,g){"use strict";g.Record=c("immutable").Record}),98); __d("LayerHideSources",[],(function(a,b,c,d,e,f){a=Object.freeze({BLUR:"blur",ESCAPE:"escape",LAYER_CANCEL_BUTTON:"layerCancelButton",LAYER_HIDE_BUTTON:"layerHideButton",TRANSITION:"transition"});b=a;f["default"]=b}),66); __d("LayerHideOnEscape",["CSS","Event","Keys","LayerHideSources"],(function(a,b,c,d,e,f,g){a=function(){function a(a){this._layer=a}var b=a.prototype;b.enable=function(){this._subscription=this._layer.subscribe("key",this.handle.bind(this))};b.disable=function(){this._subscription!=null&&this._subscription.unsubscribe(),this._subscription=null};b.handle=function(a,b){if(c("Event").getKeyCode(b)===c("Keys").ESC&&!d("CSS").hasClass(this._layer.getRoot(),"hidden_elem")){this._layer.hide(c("LayerHideSources").ESCAPE);return!1}return void 0};return a}();Object.assign(a.prototype,{_subscription:null});g["default"]=a}),98); __d("LinkController",["DataStore","Event","Parent","removeFromArray","trackReferrer"],(function(a,b,c,d,e,f,g){var h="@@LinkController",i=[],j=[];function a(a){i.push(a);return{remove:function(){return c("removeFromArray")(i,a)}}}function b(a){j.push(a);return{remove:function(){return c("removeFromArray")(j,a)}}}function e(a){a=a.getTarget();var b=d("Parent").byTag(a,"a");if(!(b instanceof HTMLAnchorElement))return;var e=l(b);if(e==null||e.trim()===""||n(a)||d("DataStore").get(b,h)||e.endsWith("#"))return;a=c("Event").listen(b,"click",function(a){c("trackReferrer")(b,e),!b.rel&&(!b.target||b.target==="_self")&&!m(a)&&k(b,a)});d("DataStore").set(b,h,a)}function k(a,b){i.concat(j).every(function(c){if(c(a,b)===!1){b.prevent();return!1}return!0})}function l(a){if(a&&!a.rel){a=a.getAttribute("href");if(a!=null){var b=a.match(/^(\w+):/);if(!b||b[1].match(/^http/i))return a}}return null}function m(a){return a.getModifiers().any||a.which!=null&&a.which!==1}function n(a){return a.nodeName==="INPUT"&&a.type==="file"}(f=c("Event")).listen(document.documentElement,"mousedown",e,f.Priority.URGENT);f.listen(document.documentElement,"keydown",e,f.Priority.URGENT);g.registerHandler=a;g.registerFallbackHandler=b}),98); __d("PageTransitionPriorities",[],(function(a,b,c,d,e,f){a=5;b=a+1;c=b+1;f.DEFAULT=a;f.LEFT_NAV=b;f.SOCIAL_SEARCH_DIALOG=c}),66); __d("computeRelativeURI",["URI","isEmpty","isFacebookURI"],(function(a,b,c,d,e,f,g){var h,i;function j(a,b){if(!b)return a;if(b.charAt(0)=="/")return b;var c=a.split("/").slice(0,-1);c[0]!=="";b.split("/").forEach(function(a){a==="."||(a===".."?c.length>1&&(c=c.slice(0,-1)):c.push(a))});return c.join("/")}function a(a,b){var d=new(h||(h=c("URI")))(),e=new h(a),f=new h(b);if(f.getDomain()&&!c("isFacebookURI")(f))return b;var g=e;a=["Protocol","Domain","Port","Path","QueryData","Fragment"];a.forEach(function(a){var b=a==="Path"&&g===e;b&&d.setPath(j(e.getPath(),f.getPath()));(i||(i=c("isEmpty")))(f["get"+a]())||(g=f);b||d["set"+a](g["get"+a]())});return d}g["default"]=a}),98); __d("getReferrerURI",["ErrorGuard","URI","isFacebookURI"],(function(a,b,c,d,e,f,g){"use strict";var h,i;function b(){if(a.PageTransitions&&a.PageTransitions.isInitialized())return a.PageTransitions.getReferrerURI();else{var b=(h||(h=c("ErrorGuard"))).applyWithGuard(function(a){return(i||(i=c("URI"))).tryParseURI(a)},null,[document.referrer]);return b&&c("isFacebookURI")(b)?b:null}}g["default"]=b}),98); __d("PageTransitionsRegistrar",["invariant","DOMQuery","Form","LinkController","PageTransitionPriorities","Parent","URI","computeRelativeURI","getReferrerURI","goURI","requireDeferred","setTimeout","setTimeoutAcrossTransitions"],(function(a,b,c,d,e,f,g,h){var i,j=c("requireDeferred")("PageTransitions").__setRef("PageTransitionsRegistrar");c("setTimeout")(function(){j.onReady(function(a){a&&a._init&&a._init()})},0);var k=[],l=[];e={DELAY_HISTORY:"delay_history_PTR",registerHandler:function(a,b){a!=null||h(0,5202),b=b||d("PageTransitionPriorities").DEFAULT,k[b]||(k[b]=[]),k[b].push(a)},removeHandler:function(a,b){b=b||d("PageTransitionPriorities").DEFAULT;var c=-1;k[b]&&(c=k[b].indexOf(a));c>-1&&k[b].splice(c,1)},registerCompletionCallback:function(a){l.push(a)},getMostRecentURI:o,getReferrerURI:c("getReferrerURI"),_getTransitionHandlers:function(){return k},_getCompletionCallbacks:function(){return l},_resetCompletionCallbacks:function(){l=[]},__onClick:e,__onSubmit:f};var m=null;function b(a){m=a,c("setTimeoutAcrossTransitions")(function(){m=null},0)}function e(a){var b;if(m&&((b=m.getAttribute("href"))==null?void 0:b[0])!=="#"){if(!a.isDefaultPrevented()){n(m);b=m.getAttribute("href");b&&c("goURI")(b)}a.kill()}}function n(a){var b=a.getAttribute("href")||"",d=c("computeRelativeURI")(o().getQualifiedURI().toString(),b).toString();b!=d&&a.setAttribute("href",d)}function f(a,b){b=b;var e=a.getTarget();if(d("Form").getAttribute(e,"rel")||d("Form").getAttribute(e,"target"))return;var f=new(i||(i=c("URI")))(d("Form").getAttribute(e,"action"));f=c("computeRelativeURI")(o().toString(),f.toString());e.setAttribute("action",f.toString());if((d("Form").getAttribute(e,"method")||"GET").toUpperCase()=="GET"){e=d("Form").serialize(e);b&&(d("DOMQuery").isNodeOfType(b,"input")&&b.type==="submit"||(b=d("Parent").byTag(b,"button")))&&b.name&&(e[b.name]=b.value);typeof f==="string"&&(f=new(i||(i=c("URI")))(f));c("goURI")(f.addQueryData(e));a.kill()}}d("LinkController").registerFallbackHandler(b);function o(){if(a.PageTransitions&&a.PageTransitions.isInitialized())return a.PageTransitions.getMostRecentURI();else{var b=(i||(i=c("URI"))).getRequestURI(!1);b=b.getUnqualifiedURI();var d=new i(b).setFragment(""),e=b.getFragment();e.charAt(0)==="!"&&d.toString()===e.substr(1)&&(b=d);return b}}f=e;g["default"]=f}),98); __d("LayerHideOnTransition",["LayerHideSources","PageTransitionsRegistrar"],(function(a,b,c,d,e,f,g){a=function(){function a(a){var b=this;this._handler=function(a){b._enabled&&b.isTransitionRelevant(a)&&b._layer.hide(c("LayerHideSources").TRANSITION),b._subscribe()};this._layer=a}var b=a.prototype;b.enable=function(){this._enabled=!0,this._subscribed||setTimeout(this._subscribe.bind(this),0)};b.disable=function(){this._enabled=!1,c("PageTransitionsRegistrar").removeHandler(this._handler)};b.isTransitionRelevant=function(a){return!0};b._subscribe=function(){c("PageTransitionsRegistrar").registerHandler(this._handler),this._subscribed=!0};return a}();Object.assign(a.prototype,{_enabled:!1,_subscribed:!1});g["default"]=a}),98); __d("Link.react",["AbstractLink.react","ClickIDParameterUtils","Href","LinkshimHandlerConfig","Random","URI","isLinkshimURI","isTrustedDestination","react"],(function(a,b,c,d,e,f,g){"use strict";var h=["allowunsafehref","s","href","linkRef","target"],i,j,k=j||d("react");function l(a){return a.getDomain().endsWith(".onion")}var m=/^(#|\/\w)/;function n(a){if(m.test(a.toString()))return!1;var b=a.getProtocol();return b!=="http"&&b!=="https"?!1:!c("isTrustedDestination")(a)}function o(a){var b="#",e=null;if(a!=null){a=d("Href").getTypedHref(a);a.type==="legacy"?(b=a.value.url.toString(),e=a.value.shimhash?a.value.shimhash.toString():e):typeof a.value==="string"?a.value!==""&&a.value!=="#"&&(b=a.value):b=a.value.toString()}return(i||(i=c("URI"))).isValidURI(b)?[new(i||(i=c("URI")))(b),e]:[null,e]}var p=new RegExp("^(l|lm|h)\\..*$","i");function q(a){if(a.getProtocol()!=="http")return null;if(!c("isTrustedDestination")(a))return null;return p.test(a.getDomain())?null:a.setProtocol("https")}function r(a){return a.getProtocol()===""||a.getDomain()===""&&a.getPort()===""?!1:!0}function s(a){if(!r(a))return!1;var b=c("LinkshimHandlerConfig").current_domain;if(b===""){b="."+b;return a.getDomain().endsWith(b)}return!0}function t(a,b){var d=null,e=!1;a=a!==null&&a instanceof(i||(i=c("URI")))?a:new(i||(i=c("URI")))("#");var f=s(a),g=f===!0;b=b||(f===!0?"_blank":null);var h=c("LinkshimHandlerConfig").use_rel_no_referrer&&b==="_blank";return[a,g,h,b,d,e,f]}function u(a,b,e,f){if(a!==null&&a instanceof(i||(i=c("URI")))){if(c("isLinkshimURI")(a)){var g=a.getQueryData()[c("LinkshimHandlerConfig").linkshim_url_param],h=a.getQueryData()[c("LinkshimHandlerConfig").linkshim_enc_param];(i||(i=c("URI"))).isValidURI(g)&&(a=new(i||(i=c("URI")))(g),b==null&&(b=h))}g=c("LinkshimHandlerConfig").click_ids;if(g!=null&&g.length>0){h=Math.floor(c("Random").random()*g.length);g=g[h];a=d("ClickIDParameterUtils").appendClickIDQueryParam(a,g)}}else a=new(i||(i=c("URI")))("#");b==null&&n(a)&&(b=c("LinkshimHandlerConfig").link_react_default_hash);h=q(a);h!=null&&(a=h);g=b!=null;h=e||(b!==null?"_blank":null);e=!!f;c("LinkshimHandlerConfig").onion_always_shim&&l(a)&&(e=!1);f=c("LinkshimHandlerConfig").use_rel_no_referrer&&b!==null&&h==="_blank";var j=s(a);return[a,g,f,h,b,e,j]}a=function(a){function b(){return a.apply(this,arguments)||this}babelHelpers.inheritsLoose(b,a);var d=b.prototype;d.render=function(){var a=this.props;a.allowunsafehref;var b=a.s,d=a.href,e=a.linkRef,f=a.target;a=babelHelpers.objectWithoutPropertiesLoose(a,h);d=o(d);var g=d[0];d=d[1];d=c("LinkshimHandlerConfig").is_linkshim_supported?u(g,d,f,b):t(g,f);b=d[0];g=d[1];f=d[2];var i=d[3],j=d[4],l=d[5];d=d[6];var m=null;!c("LinkshimHandlerConfig").is_linkshim_supported&&d&&(m=c("LinkshimHandlerConfig").non_linkshim_lnfb_mode);return k.jsx(c("AbstractLink.react"),babelHelpers["extends"]({},a,{href:b,linkRef:e,nofollow:g,noreferrer:f,shimhash:j,target:i,isSafeToSkipShim:l,dataLnfbMode:m,isLinkshimSupported:c("LinkshimHandlerConfig").is_linkshim_supported}))};return b}(k.Component);g["default"]=a}),98); __d("PageTransitions",["cr:917439"],(function(a,b,c,d,e,f,g){g["default"]=b("cr:917439")}),98); __d("lastx",["invariant"],(function(a,b,c,d,e,f,g,h){"use strict";function a(a){var b=null;if(Array.isArray(a))a.length&&(b={value:a[a.length-1]});else for(a of a)b=b||{},b.value=a;if(b)return b.value;h(0,1145)}g["default"]=a}),98); __d("unionSets",[],(function(a,b,c,d,e,f){"use strict";function a(){var a=new Set();for(var b=arguments.length,c=new Array(b),d=0;d/g,"\\x3e").replace(/&/g,"\\x26")}f["default"]=a}),66); __d("PageTransitionsBlue",["fbt","invariant","Arbiter","BlueCompatBroker","BlueCompatRouter","Bootloader","DOMQuery","DOMScroll","Env","ErrorGuard","Event","FbtResultBase","HistoryManager","LayerHideOnEscape","PageHooks","PageTransitionsConfig","PageTransitionsPersistentParams","PageTransitionsRegistrar","ScriptPath","URI","Vector","areEqual","clickRefAction","escapeJSQuotes","ge","gkx","goOrReplace","isFacebookURI","isInIframe","react","setTimeout","uriIsRelativePath"],(function(a,b,c,d,e,f,g,h,i){var j,k,l,m,n,o=n||d("react"),p=["cquick","ctarget","cquick_token","mh_","killabyte","tfc_","tfi_"],q={};function r(a,b){a&&(q[a.getUnqualifiedURI().toString()]=b)}function s(a){return q[a.getUnqualifiedURI().toString()]}function t(a){delete q[a.getUnqualifiedURI().toString()]}function u(){var a=d("PageTransitionsPersistentParams").get(),b={};window.location.search.slice(1).split("&").forEach(function(c){c=c.split("=");var d=c[0];c=c[1];c=c===void 0?null:c;(p.some(function(a){return d.startsWith(a)})||a.has(d))&&(b[d]=c)});return b}var v=null,w=!1,x=new(j||(j=c("URI")))(""),y=null,z=new j(),A=null,B=!1,C=!1,D=!1,E={isInitialized:function(){return w},init:function(a){b("BlueCompatRouter"),E._init(),a!=null&&d("PageTransitionsPersistentParams").add(a)},_init:function(){if(c("isInIframe")())return!1;if(w)return!0;var a=c("PageTransitionsRegistrar").getMostRecentURI();v=a;x=a;y=null;z=a;var b=(k||(k=c("ErrorGuard"))).applyWithGuard(function(a){return(j||(j=c("URI"))).tryParseURI(a)},null,[document.referrer]);A=document.referrer&&b&&c("isFacebookURI")(b)?b:null;w=!0;b=(j||(j=c("URI"))).getRequestURI(!1);b.getFragment().startsWith("/")?b=b.getFragment():b=a.toString();c("HistoryManager").init().setCanonicalLocation("#"+b).registerURIHandler(E._historyManagerHandler);c("Event").listen(window,"scroll",function(){B||r(v,c("Vector").getScrollPosition())});return!0},registerHandler:c("PageTransitionsRegistrar").registerHandler,removeHandler:c("PageTransitionsRegistrar").removeHandler,getCurrentURI:function(a){a===void 0&&(a=!1);E._init();return!v&&!a?new(j||(j=c("URI")))(x):new(j||(j=c("URI")))(v)},isTransitioning:function(){E._init();return!v},getNextURI:function(){E._init();return z},getNextReferrerURI:function(){E._init();return y},getReferrerURI:function(){E._init();return A},getMostRecentURI:function(){E._init();return new(j||(j=c("URI")))(x)},go:function(a,b){b===void 0&&(b=!1);if(c("BlueCompatRouter").goFragment(a)){var d=new(j||(j=c("URI")))(a);if(E.restoreScrollPosition(d)){v=x=d;return}}if(c("BlueCompatRouter").go(a,b))return;E.goBase(a,b)},goBase:function(a,b){b===void 0&&(b=!1);E._init();var d=u(),e=new(j||(j=c("URI")))(a).removeQueryData("quickling").addQueryData(d).getQualifiedURI();t(e);b||c("clickRefAction")("uri",{href:e.toString()},null,"INDIRECT");E._loadPage(e,b,function(a){a?c("HistoryManager").go(e.toString(),!1,b):c("goOrReplace")(window.location,e,b)})},_historyManagerHandler:function(a){if(a.charAt(0)!="/")return!1;c("clickRefAction")("h",{href:a});d("ScriptPath").getClickPointInfo()||d("ScriptPath").setClickPointInfo({click:"back"});E._loadPage(new(j||(j=c("URI")))(a),!0,function(b){b||c("goOrReplace")(window.location,a,!0)});return!0},_loadPage:function(a,b,e){if(new(j||(j=c("URI")))(a).getFragment()&&(l||(l=c("areEqual")))(new(j||(j=c("URI")))(a).setFragment("").getQualifiedURI(),new(j||(j=c("URI")))(v).setFragment("").getQualifiedURI())){c("Arbiter").inform("pre_page_fragment_transition",{from:new(j||(j=c("URI")))(v).getFragment(),to:new j(a).getFragment()});if(E.restoreScrollPosition(a)){v=x=a;c("Arbiter").inform("page_fragment_transition",{fragment:new(j||(j=c("URI")))(a).getFragment()});e==null||e(!0);return}}var f;v&&(f=s(v));var g=function(){f&&v&&r(v,f);y=E.getMostRecentURI();v=null;z=a;f&&d("DOMScroll").scrollTo(f,!1);B=!0;var g=E._handleTransition(a,b);e&&(g===c("PageTransitionsRegistrar").DELAY_HISTORY?c("setTimeout")(function(){return e&&e(g)},0):e(g))},h=z;z=a;var i=c("PageHooks").runHooks("onbeforeleavehooks");z=h;i?E._warnBeforeLeaving(i,g):g()},_handleTransition:function(b,d){window.onbeforeleavehooks=void 0;if(C||!b.isSameOrigin()&&!c("uriIsRelativePath")(b))return!1;var e=c("PageTransitionsConfig").reloadOnBootloadError&&E._hasBootloadErrors();if(e)return!1;var f;e=a.AsyncRequest;e&&(f=e.getLastID());c("Arbiter").inform("pre_page_transition",{from:E.getMostRecentURI(),to:b});e=c("PageTransitionsRegistrar")._getTransitionHandlers();for(var g=e.length-1;g>=0;--g){var h=e[g];if(!h)continue;for(var i=h.length-1;i>=0;--i){var j=h[i](b,d);if(j===!0||j===c("PageTransitionsRegistrar").DELAY_HISTORY){var k={sender:E,uri:b,id:f};try{c("Arbiter").inform("page_transition",k)}catch(a){}return j}else h.splice(i,1)}}return!1},disableTransitions:function(){C=!0},disableScrollAnimation:function(){D=!0},_hasBootloadErrors:function(){return c("Bootloader").getErrorCount()>0},unifyURI:function(){E._init(),v=x=z,A=y},transitionComplete:function(a){a===void 0&&(a=!1);E._init();B=!1;E._executeCompletionCallbacks();E.unifyURI();a||v&&E.restoreScrollPosition(v);try{document.activeElement&&document.activeElement.nodeName==="A"&&document.activeElement.blur()}catch(a){}},_executeCompletionCallbacks:function(){var a=c("PageTransitionsRegistrar")._getCompletionCallbacks();a.length>0&&(c("PageTransitionsRegistrar")._resetCompletionCallbacks(),a.forEach(function(a){return a()}))},registerCompletionCallback:c("PageTransitionsRegistrar").registerCompletionCallback,rewriteCurrentURI:function(a,b){E._init();var d=c("PageTransitionsRegistrar")._getTransitionHandlers(),e=d.length||1,f=!1;c("PageTransitionsRegistrar").registerHandler(function(){if(a&&a.toString()==E.getMostRecentURI().getUnqualifiedURI().toString()){E.transitionComplete();return!0}f=!0},e);E.go(b,!0);d.length===e+1&&d[e].length===(f?0:1)||i(0,1302);d.length=e},_warnBeforeLeaving:function(a,b){c("Bootloader").loadModules(["DialogX","XUIDialogTitle.react","XUIDialogBody.react","XUIDialogButton.react","XUIDialogFooter.react","XUIGrayText.react"],function(d,e,f,g,i,j){var k=typeof a==="string"||a instanceof String||a instanceof c("FbtResultBase")?{body:a,highlightStay:!1,leaveButtonText:h._(/*BTDS*/"Salir de esta p\u00e1gina"),showCloseButton:!1,stayButtonText:h._(/*BTDS*/"No salir de esta p\u00e1gina"),title:h._(/*BTDS*/"\u00bfQuieres salir de la p\u00e1gina?")}:a;e=o.jsx(e,{showCloseButton:k.showCloseButton,children:k.title});g=k.highlightStay?[o.jsx(g,{action:"confirm",label:k.leaveButtonText},"confirm"),o.jsx(g,{action:"cancel",use:"confirm",label:k.stayButtonText,className:"autofocus"},"cancel")]:[o.jsx(g,{action:"cancel",label:k.stayButtonText},"cancel"),o.jsx(g,{action:"confirm",use:"confirm",label:k.leaveButtonText,className:"autofocus"},"confirm")];var l=new d({width:450,addedBehaviors:[c("LayerHideOnEscape")]},o.jsxs("div",{children:[e,o.jsx(f,{children:o.jsx(j,{shade:"medium",size:"medium",children:k.body})}),o.jsx(i,{children:g})]}));l.subscribe("confirm",function(){l.hide(),b()});l.show()},"PageTransitionsBlue")},restoreScrollPosition:function(a){var b=s(a);if(b){d("DOMScroll").scrollTo(b,!1);return!0}function e(a){if(!a)return null;var b="a[name='"+c("escapeJSQuotes")(a)+"']";return d("DOMQuery").scry(document.body,b)[0]||c("ge")(a)}b=e(new(j||(j=c("URI")))(a).getFragment());if(b){e=!D;d("DOMScroll").scrollTo(b,e);return!0}return!1}};!c("gkx")("21034")&&(m||(m=c("Env"))).isCQuick&&(d("BlueCompatBroker").init(),d("BlueCompatBroker").register("transitionpage",function(b){b=new(j||(j=c("URI")))(d("BlueCompatBroker").getMessageEventString(b,"uri"));var e=new j(window.location.href);b.removeQueryData("ctarget");e.removeQueryData("ctarget");if(e.toString()===b.toString())return;e=a.AsyncRequest;e&&e.ignoreUpdate();E.goBase(b,!1)}));e=E;a.PageTransitions=E;g["default"]=e}),226); __d("PerfHelperUtils",["cx","DeferredComponent.react","JSResource","joinClasses","promiseDone","react"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j=i||d("react");function k(a){var b=a.children,d=a.className,e=a.color;a=a.tooltip;return j.jsx("div",{className:"_28hn"+(e==="red"?" _4ez8":"")+(e==="green"?" _28ho":""),children:j.jsx(c("DeferredComponent.react"),{"data-tooltip":a,deferredPlaceholder:j.jsx("div",{}),deferredComponent:function(a){c("promiseDone")(c("JSResource")("Tooltip.react").__setRef("PerfHelperUtils").load(),a)},className:c("joinClasses")("_5_my",d),tooltip:a,children:b})})}k.displayName=k.name+" [from "+f.id+"]";function a(a){var b=a.children,c=a.moduleId,d=a.timeLimitSecs;a=a.timeSpentSecs;return j.jsx(k,{color:"red",tooltip:"This bootloaded component has a red border\n because "+c+"\n took over "+d+" seconds ("+a+"s) to load",children:b})}a.displayName=a.name+" [from "+f.id+"]";g.BorderedComponent=k;g.SlowBootloadBorder=a}),98); __d("fbjs/lib/ExecutionEnvironment",["ExecutionEnvironment"],(function(a,b,c,d,e,f){"use strict";var g;e.exports=g||b("ExecutionEnvironment")}),null); __d("getVendorPrefixedEventName",["fbjs/lib/ExecutionEnvironment"],(function(a,b,c,d,e,f){"use strict";function a(a,b){var c={};c[a.toLowerCase()]=b.toLowerCase();c["Webkit"+a]="webkit"+b;c["Moz"+a]="moz"+b;c["ms"+a]="MS"+b;c["O"+a]="o"+b.toLowerCase();return c}var g={animationend:a("Animation","AnimationEnd"),animationiteration:a("Animation","AnimationIteration"),animationstart:a("Animation","AnimationStart"),transitionend:a("Transition","TransitionEnd")},h={},i={};b("fbjs/lib/ExecutionEnvironment").canUseDOM&&(i=document.createElement("div").style,"AnimationEvent"in window||(delete g.animationend.animation,delete g.animationiteration.animation,delete g.animationstart.animation),"TransitionEvent"in window||delete g.transitionend.transition);function c(a){if(h[a])return h[a];else if(!g[a])return a;var b=g[a];for(var c in b)if(Object.prototype.hasOwnProperty.call(b,c)&&c in i)return h[a]=b[c];return""}e.exports=c}),null); __d("ReactTransitionEvents",["fbjs/lib/ExecutionEnvironment","getVendorPrefixedEventName"],(function(a,b,c,d,e,f){"use strict";var g=[];function a(){var a=b("getVendorPrefixedEventName")("animationend"),c=b("getVendorPrefixedEventName")("transitionend");a&&g.push(a);c&&g.push(c)}b("fbjs/lib/ExecutionEnvironment").canUseDOM&&a();function h(a,b,c){a.addEventListener(b,c,!1)}function i(a,b,c){a.removeEventListener(b,c,!1)}c={addEndEventListener:function(a,b){if(g.length===0){window.setTimeout(b,0);return}g.forEach(function(c){h(a,c,b)})},removeEndEventListener:function(a,b){if(g.length===0)return;g.forEach(function(c){i(a,c,b)})}};e.exports=c}),null); __d("ShakaConstants",[],(function(a,b,c,d,e,f){a={abort_loading_delay:2e4,abr_abort_on_zero_stream_progress_below_threshold:-1,abr_abort_when_fetch_estimate_exceeds_buffer_factor:0,abr_abort_when_fetch_estimate_exceeds_time:0,append_window_end_fudge_factor:0,audio_request_pipeline_max_concurrent_requests:1,audio_request_pipeline_soothing_factor:1,audio_video_buffer_diff_threshold:14400,autoplay_start_video_interval:200,back_off_buffering_overflow_max:5,back_off_buffering_overflow_time_factor:2,back_off_buffering_overflow_time_window:2e3,bandwidth_downgrade_target:.9,bandwidth_penalty_decay_per_video:1,bandwidth_standard_deviation_penalty_factor:.1,buffer_downgrade_threshold:10,buffer_replacement_ahead_threshold:15,buffer_replacement_behind_threshold:5,buffer_target:-1,buffer_target_overflow_upgrade_aggressiveness:1,buffer_target_underflow_upgrade_aggressiveness:1,buffer_velocity_time_in_past_to_consider:0,buffering_count_threshold:5,buffering_spinner_delay_ms:0,buffering_underflow_threshold:.05,clear_buffer_on_constraint_change_offset:5,clear_buffer_on_constraint_change_paused_offset:5,clear_buffer_on_seek_back_delta:0,decouple_stream_on_update_loop_from_request_loop_int:0,fast_moving_average_half_life:3,frame_drop_penalty_factor:0,frame_drop_penalty_minimum_frame_count:0,global_scheduler_priority_downgrade_bufferahead_threshold:0,global_scheduler_priority_threshold:6,hvq_inline_upgrade_aggressiveness:1,hvq_upgrade_aggressiveness:1,initial_stream_buffer_size_for_blocked_autoplay:5.9335983320607,initial_stream_buffer_size_for_video_stream:0,jump_to_live_threshold:.5,live_bandwidth_downgrade_target:1,live_bitrate_estimates_half_life:1,live_bitrate_estimates_large_sample_weight_factor:10,live_bitrate_estimates_minimum_sample_count:1,live_buffering_underflow_threshold:.5,live_data_fetch_max_retries:0,live_dynamic_stream_buffer_size:12,live_hvq_inline_upgrade_aggressiveness:1,live_hvq_upgrade_aggressiveness:1,live_interruption_consecutive_updates_with_change:3,live_interruption_consecutive_updates_without_change:5,live_max_manifest_fetches_with_push:1,live_max_segments_to_push:1,live_playhead_idle_all_stream_threshold:4,live_playhead_idle_single_stream_threshold:5,live_pre_hvq_inline_upgrade_aggressiveness:1,live_pre_hvq_upgrade_aggressiveness:1,live_predictive_abr_down_buffer:5e3,live_predictive_abr_floor_swich_lanes:-2,live_predictive_abr_floor_ttfb_ratio:5,live_predictive_abr_ttfb_ratio:1.8,live_predictive_abr_up_buffer:9e3,live_predictive_abr_up_retry_interval:3e4,live_rewind_templated_last_x_segments_only:0,live_source_buffer_clear_max_retries:0,live_stream_end_slack:.5,live_stream_end_timeout:6e4,living_room_play_x_milliseconds_before_seek:0,living_room_playhead_catchup_interval:0,local_bitrate_segments_ahead:10,logging_log_event_limit:1e3,low_buffer_velocity_abr_interval:500,low_buffer_velocity_abr_interval_buffer_threshold:10,low_buffer_velocity_threshold:0,low_pri_task_min_bytes_to_yield:0,low_pri_task_yield_check_interval:0,low_pri_task_yields_per_task:0,max_bandwidth_update_interval:0,max_network_interrupted_time_before_seek:1e4,max_prefetch_request_num:0,max_prefetch_videos_num:2,max_recent_bandwidth_samples:25,maximum_bandwidth_bitrate_ratio:1.5,maximum_mos_to_decrease:3,min_mpd_refresh_interval:1e3,min_sample_count:1e4,minimum_sample_count_to_use_deviation_penalty:2,minimum_sample_count_to_use_new_estimator:0,minimum_samples_to_use_neural_estimate:1,minimum_weight_to_trust_local_bandwidth_estimate:.5,multiple_videos_queue_penalty_start_count:2,neural_estimate_weight:0,new_estimator_half_life:5,new_estimator_standard_deviation_exclusion_factor:2,pending_seek_while_playing_delay:2e3,pending_seek_while_playing_offset_from_livehead:4e3,playhead_fragmented_gap_diff_allowance:.1,pre_hvq_inline_upgrade_aggressiveness:1,pre_hvq_upgrade_aggressiveness:1,priority_precision:1,recursive_native_settimeout_delay:-1,recursive_ric_timeout:17,request_bounded_animation_frame_bound:50,request_pipeline_max_concurrent_requests:2,request_pipeline_soothing_factor:2,request_pipeline_timeout_ms:0,resolution_constraint_max_height:0,resolution_constraint_max_width:0,ric_autoplay_bound:50,rl_bandwidth_scale:1e6,rl_bitrate_reward:1,rl_buffer_scale:10,rl_max_number_of_bitrates:10,rl_model_id:0,rl_playback_scale:2e5,rl_request_timeout:1e3,rl_stall_count_penalty:30,rl_stall_time_penalty:0,rl_watch_time_reward:0,scheduled_videos_start_stream_buffer_size_threshold:0,scheduler_priority_update_interval:1e3,settimeout_polling_delay:17,shaka_default_ajax_request_timeout_ms:0,shaka_default_request_timeout_timescale:1e3,skip_manifest_gap_boundary_precision_ms:1e3,slow_moving_average_half_life:10,stream_maximum_onpause_buffer_size_multiplier:0,stream_onupdate_sampling:0,streaming_append_per_segment:3,templated_adjust_stream_limits_start_offset:0,templated_adjust_stream_limits_start_offset_int:10,templated_chunked_segment_update_limit_int:10,templated_ingest_throttle:0,templated_jump_to_live_sidx_end_offset:0,templated_quarantine_idle_references_threshold:0,templated_use_perf_test_segment_index_base_int:0,video_dash_prefetch_cache_retention_duration_ms:5e3};b={block_play_request_http_status_list:"410",defer_which_video_to_abort_loading_decisioning_logic:"live",feature_param:"",live_abr_audio_push_representation:"live-md-a",live_abr_initial_push_representation:"live-md-v",rl_smc_tier:"repomen_1",segment_update_helper_splice_path_entity_key:"",templated_perf_test_methods_under_test_csv_string:"all"};c={numbers:a,strings:b};f["default"]=c}),66); __d("VideoAutoplayControllerAbortLoadingHelper",["invariant","ShakaConstants","VideoPlayerExperiments","getViewportDimensions"],(function(a,b,c,d,e,f,g,h){a=function(){function a(){this.$1=new Set(),this.$2=new Map()}var b=a.prototype;b.maybeAbortLoading=function(){for(var b of this.$1){var d=c("ShakaConstants").strings.defer_which_video_to_abort_loading_decisioning_logic,e=b.getVideoPlayerController();e=e?e.isLiveVideo():null;if(e!==null&&(d==="vod"&&e||d==="live"&&!e))continue;if(!b.isState("playing")&&typeof b.abortLoading==="function"&&a.shouldAbortLoadingVideoUnit(b))c("VideoPlayerExperiments").abortLoadingHelperNegativeYAbortLoading?this.$3(b):this.$4(b);else if(c("VideoPlayerExperiments").abortLoadingHelperNegativeYAbortLoading&&b.isState("playing")){d=this.$2.get(b);!d&&h(0,3497);d&&d.abortedLoading&&(d.abortedLoading=!1)}}};b.$3=function(a){if(c("VideoPlayerExperiments").abortLoadingHelperBoundedReloading){var b=c("getViewportDimensions")().height/-2;a.getDistanceToViewport()c("VideoPlayerExperiments").reloadingPixelBoundary+b&&this.$6(a)}else a.getDistanceToViewport()<0&&!a.isVisible()&&this.$5(a)};b.addVideoUnit=function(a){this.$1.has(a)||(this.$1.add(a),this.$2.set(a,{y:a.getDistanceToViewport(),timestamp:new Date().valueOf(),v:0,abortedLoading:!1}))};b.removeVideoUnit=function(a){this.$1["delete"](a),this.$2["delete"](a)};b.calculateFutureScrollPosition=function(a){var b=a.y1-a.y0,c=a.t1-a.t0;b=b/c;var d=b-a.v0;d=d/c;c=a.t;c=d*c*c/2+c*b+a.y1;return{v1:b,a:d,S:c}};b.preloadClosestVideoUnits=function(a){var b=this;this.$7(a).forEach(function(a){return b.$6(a)})};b.$7=function(a){return Array.from(this.$1).filter(function(a){return a.getDistanceToViewport()>=0}).sort(function(a,b){return a.getDistanceToViewport()-b.getDistanceToViewport()}).slice(0,a)};b.$6=function(a){var b=this.$2.get(a);!b&&h(0,3497);var c;b&&(c=b.abortedLoading,b.abortedLoading=!1);c&&typeof a.preload==="function"&&a.preload()};b.$5=function(a){var b=this.$2.get(a);!b&&h(0,3497);var c;b&&(c=b.abortedLoading,b.abortedLoading=!0);!c&&typeof a.abortLoading==="function"&&a.abortLoading()};b.$4=function(a){var b=c("getViewportDimensions")().height,d=1600;b=b/2;var e=b+d;b=-b;b=b-d;d=this.$2.get(a);!d&&h(0,3497);if(!d)return;var f=a.getDistanceToViewport(),g=d.y;d.y=f;var i=new Date().valueOf(),j=d.timestamp;d.timestamp=i;var k=d.v;if(b<=f&&e>=f){d.abortedLoading&&this.$6(a);return}var l=500;g=this.calculateFutureScrollPosition({y0:g,y1:f,t0:j,t1:i,v0:k,t:l});d.v=g.v1;j=g.S;d.abortedLoading?(fb||f>e&&jd);c=c.slice(0,e);return c.length<=a}}function i(a,b,d){var e=null;return function(){for(var f=arguments.length,g=new Array(f),h=0;h-1){this.$10.splice(b,1);b=a.getVideoPlayerController();b&&b.unregisterOption("VideoAutoplayControllerBase/VideoScrollTracker","getLastScrollDirection")}};b.getPlayingVideoUnit=function(){return this.$3};b.setPlayingVideoUnit=function(a){this.$3=a,this.$3&&this.setupPlayingVideoUnitSubscriptions()};b.getLastScrollDirection=function(){return this.$11?this.$11.getLastScrollDirection():null};b.playVideo=function(a,b){if(c("VideoPlayerExperiments").disableAutoplayForInactiveTab&&c("Visibility").isHidden()){if(c("VideoPlayerExperiments").removeHiddenVideoTracking){this.setPlayingVideoUnit(null);return}this.$2=a;return}this.setPlayingVideoUnit(a);if(this.$3){a=this.$6;a?this.$7=a.call(this,b):this.$3.playWithoutUnmute(b)}};b.setupPlayingVideoUnitSubscriptions=function(){throw new Error("Should be overridden")};b.addSubscriberVideoUnit=function(){if(!this.getVideoUnits().length){var a;this.$5.addSubscriptions(c("Event").listen(window,"resize",this.updateAutoplay.bind(this)),c("Event").listen(window,"blur",this.$12.bind(this)),c("Event").listen(window,"focus",this.$13.bind(this)),(a=c("Visibility")).addListener(a.HIDDEN,this.$12.bind(this)),a.addListener(a.VISIBLE,this.$13.bind(this)),c("Arbiter").subscribe(d("DesktopHscrollUnitEventConstants").HSCROLL_ITEM_SHOWN_EVENT,this.updateAutoplay.bind(this)));this.$14()||this.$15()}};b.$12=function(){c("VideoPlayerExperiments").removeHiddenVideoTracking?this.$16("page_visibility_initiated"):this.$2||(this.$2=this.getPlayingVideoUnit(),this.$16("page_visibility_initiated"))};b.$13=function(){c("VideoPlayerExperiments").removeHiddenVideoTracking?this.updateAutoplay():this.$2&&(this.playVideo(this.$2,"page_visibility_initiated"),this.$2=null)};b.$15=function(){var a=this,b=function(){a.$11&&a.$11.onScroll(),a.updateAutoplay()};this.$4&&this.$4.remove();this.$8=c("throttle")(b,this.$1);this.$9=c("debounce")(function(){return a.updateAutoplay()},this.$1);var d=function(){return b()};this.$4=c("Event").listen(window,"scroll",d)};b.$14=function(){return!!this.$4};b.getClosestVideoUnits=function(a){return this.$10.filter(function(a){return a.getDistanceToViewport()>=0}).sort(function(a,b){return a.getDistanceToViewport()-b.getDistanceToViewport()}).slice(0,a)};b.getVisibleUnits=function(){var a=[];this.$10.forEach(function(b){var c=b.getVideoPlayerController();b.isVisible()?(a.push(b),b.wasVisible||(b.wasVisible=!0,b.logDisplayed(),c&&c.emit("becomeVisible"))):b.wasVisible&&(c&&c.emit("becomeInvisible"),b.wasVisible=!1)});return a};b.$17=function(a){var b=d("VideoPlayerShakaGlobalConfig").getBool("oz_www_allow_abort_loading_from_autoplay_controller",!1),e=c("ShakaConstants").strings.defer_which_video_to_abort_loading_decisioning_logic,f=a.getVideoPlayerController();if(!b&&f&&f.isPlayerVersion("oz"))return!1;b=f?f.isLiveVideo():null;return b!==null&&(e==="vod"&&b||e==="live"&&!b)?!1:c("VideoAutoplayControllerAbortLoadingHelper").shouldAbortLoadingVideoUnit(a)};b.pausePlayingVideo=function(a,b){var d=this.$3;if(d){var e=function(){if(!d.isState("playing")){if(c("VideoPlayerExperiments").abortLoadingReUpStillVisibleVideos&&d.isVisible()){c("setTimeout")(e,c("ShakaConstants").numbers.abort_loading_delay);return}typeof d.abortLoading==="function"&&d.abortLoading()}};if(d.isVisible()){var f=d.getVideoPlayerController();if(f&&f.isPlayRequestPending())return}this.$7()||d.pause(a);c("VideoPlayerExperiments").decoupleAbortLoadingFromPause||this.$17(d)&&!b&&c("setTimeout")(e,c("ShakaConstants").numbers.abort_loading_delay);this.$3=null}};b.$16=function(a){this.pausePlayingVideo(a,!0)};b.updateAutoplay=function(){throw new Error("Should be overridden")};return a}();g["default"]=a}),98); __d("XVideoAutoplayNuxAsyncController",["XController"],(function(a,b,c,d,e,f){e.exports=b("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(a,b,c,d,e,f,g,h){"use strict";var i,j=null,k=!1;function l(a){return a?!0:!c("VideoPlayerExperiments").delayAutoplayUntilAfterLoad||k}a=function(a){function b(){var b;b=a.call(this,c("VideoPlayerExperiments").videoPollingFrequency)||this;b.$VideoAutoplayControllerX$p_4=!1;b.$VideoAutoplayControllerX$p_5=!1;b.$VideoAutoplayControllerX$p_6=0;b.$VideoAutoplayControllerX$p_17=new(c("VideoAutoplayControllerAbortLoadingHelper"))();b.$VideoAutoplayControllerX$p_10=new(c("SubscriptionsHandler"))();b.$VideoAutoplayControllerX$p_18=new(c("SubscriptionsHandler"))();b.$VideoAutoplayControllerX$p_12=!0;b.$VideoAutoplayControllerX$p_9=!0;b.$VideoAutoplayControllerX$p_13=!0;b.$VideoAutoplayControllerX$p_2=null;b.$VideoAutoplayControllerX$p_1=null;b.$VideoAutoplayControllerX$p_14=!1;b.$VideoAutoplayControllerX$p_3=null;b.$VideoAutoplayControllerX$p_7=!1;b.$VideoAutoplayControllerX$p_16=!1;b.$VideoAutoplayControllerX$p_15=!1;var e=c("XVideoAutoplayNuxAsyncController").getURIBuilder().getURI();new(c("AsyncRequest"))(e).setMethod("GET").setReadOnly(!0).send();c("destroyOnUnload")(function(){b.$VideoAutoplayControllerX$p_19(),c("VideoPlayerExperiments").disableAutoplayOnHomePgUpPgDownEnd&&(b.$VideoAutoplayControllerX$p_11&&c("clearTimeout")(b.$VideoAutoplayControllerX$p_11),b.$VideoAutoplayControllerX$p_8.remove()),b===j&&(j=null)});d("Run").onAfterLoad(function(){k=!0,c("VideoPlayerExperiments").delayAutoplayUntilAfterLoad&&(j&&j.updateAutoplay()),document.hasFocus()||c("Event").fire(window,"blur"),c("VideoPlayerExperiments").disableAutoplayOnHomePgUpPgDownEnd&&b.$VideoAutoplayControllerX$p_20()});b.$VideoAutoplayControllerX$p_21(Date.now());return b}babelHelpers.inheritsLoose(b,a);b.$VideoAutoplayControllerX$p_22=function(a){return c("VideoPlayerExperiments").fixVPCCallBeforeLoaded?!(a.isState("fallback")||a.isState("loading")):!0};var e=b.prototype;e.$VideoAutoplayControllerX$p_20=function(){var a=this,b=33,d=34,e=35,f=36;this.$VideoAutoplayControllerX$p_11=null;var g=function(){a.$VideoAutoplayControllerX$p_23(a.$VideoAutoplayControllerX$p_9),c("clearTimeout")(a.$VideoAutoplayControllerX$p_11),a.$VideoAutoplayControllerX$p_11=null};this.$VideoAutoplayControllerX$p_8=c("Event").listen(document.body,"keydown",function(h){var i=-1;switch(h.keyCode){case b:case d:i=c("VideoPlayerExperiments").pressPgUpPgDownAutoplayShutoffInterval;break;case e:case f:i=c("VideoPlayerExperiments").pressHomeEndAutoplayShutoffInterval;break;default:break}i>-1&&(a.$VideoAutoplayControllerX$p_11?(c("clearTimeout")(a.$VideoAutoplayControllerX$p_11),a.$VideoAutoplayControllerX$p_11=c("setTimeout")(g,i)):a.$VideoAutoplayControllerX$p_12&&(a.$VideoAutoplayControllerX$p_23(!1),a.$VideoAutoplayControllerX$p_11=c("setTimeout")(g,i)))})};e.$VideoAutoplayControllerX$p_23=function(a){this.$VideoAutoplayControllerX$p_12=a,this.updateAutoplay()};b.registerVideoUnit=function(a){j==null&&(j=new b());j.addSubscriberVideoUnit();j.registerDefaultAutoplayRules(a);j.addVideoUnit(a);var d=new(c("SubscriptionsHandler"))();d.addSubscriptions.apply(d,j.$VideoAutoplayControllerX$p_24(a));j.$VideoAutoplayControllerX$p_25();a.isVisible()&&l(a.shouldImmediatelyAutoplayOnRegister())&&j.updateAutoplay();j.shouldRestoreAllSubsequentStreamBufferSizes()&&j.restoreStreamBufferSize();return function(){j&&j.removeVideoUnit(a),d.release(),j&&a===j.getPlayingVideoUnit()&&(j.$VideoAutoplayControllerX$p_18.release(),j.setPlayingVideoUnit(null))}};b.setShouldAutoplay=function(a){j==null&&(j=new b()),j.$VideoAutoplayControllerX$p_12=a,j.$VideoAutoplayControllerX$p_13=a,j.$VideoAutoplayControllerX$p_9=a,j.updateAutoplay()};e.$VideoAutoplayControllerX$p_19=function(){this.$VideoAutoplayControllerX$p_10.release(),this.$VideoAutoplayControllerX$p_18.release()};b.setAutoplayNux=function(a,b){var d=j;if(!d)return;d.$VideoAutoplayControllerX$p_2=a;d.$VideoAutoplayControllerX$p_1=b;d.$VideoAutoplayControllerX$p_14=!0;a=c("DOM").find(b.getContentRoot(),"._5cqr");c("Event").listen(a,"click",function(){d.$VideoAutoplayControllerX$p_26()});a=c("DOM").scry(b.getContentRoot(),"._36gl")[0];a&&c("Event").listen(a,"click",function(){d.$VideoAutoplayControllerX$p_26()})};e.$VideoAutoplayControllerX$p_26=function(){this.$VideoAutoplayControllerX$p_1&&this.$VideoAutoplayControllerX$p_1.hide();this.$VideoAutoplayControllerX$p_14=!1;var a=d("ThisControllerNoLongerExists").__DEADBUILDER__("flhg1h0jl").getURI();new(c("AsyncRequest"))(a).setAllowCrossPageTransition().send()};e.registerDefaultAutoplayRules=function(a){c("VideoPlayerExperiments").useBringYourOwnAutoplayRule&&c("VideoPlayerExperiments").pauseMutedIfNoDocumentFocus&&a.registerAutoplayRule(new(c("DocumentFocusForMutedVideoAutoplayRule"))(a))};e.setupPlayingVideoUnitSubscriptions=function(){var a=this,b=this.getPlayingVideoUnit();if(!b)return;b.addListener&&(this.$VideoAutoplayControllerX$p_10.release(),this.$VideoAutoplayControllerX$p_10.engage(),b.isLooping()||this.$VideoAutoplayControllerX$p_10.addSubscriptions(b.addListener("finishPlayback",function(){a.setPlayingVideoUnit(null)})),this.$VideoAutoplayControllerX$p_10.addSubscriptions(b.addListener("turnOffAutoplay",function(){a.setPlayingVideoUnit(null)}),b.addListener("pausePlayback",function(){a.$VideoAutoplayControllerX$p_25()}),b.addListener("finishPlayback",function(){a.$VideoAutoplayControllerX$p_25()}),c("Network").addListener("online",function(){a.$VideoAutoplayControllerX$p_25()}),c("Network").addListener("offline",function(){a.$VideoAutoplayControllerX$p_25()})))};e.$VideoAutoplayControllerX$p_25=function(){var a=this;if(c("VideoPlayerExperiments").webVideosBlockAutoplayWhenOffline)if(c("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}var d=this.getVideoUnits();for(var e=0;e1){var f=c("getViewportDimensions")().height/2;a.forEach(function(a){if(!a.isAutoplayable())return;if(c("VideoPlayerExperiments").useBringYourOwnAutoplayRule&&!b.$VideoAutoplayControllerX$p_28(a))return;var d=a.getDOMPosition();d=d.y+d.height/2;d=Math.abs(d-f);a.playPriority=d;(!e||!e.playPriority||a.playPriority=e){this.$VideoAutoplayControllerX$p_6=b;if(this.$VideoAutoplayControllerX$p_5){d=this.getVisibleUnits();for(e=0;e=0&&(b=e+1)}else{e=c("getViewportDimensions")().height/2;for(var f=0;f0){b=f;break}}}if(b===-1)return;for(g=0;gf?d=e*f:g1?d-1:0),f=1;f2?d-2:0),f=2;f