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

__d("CSSFade",["cx","invariant","CSS","DataStore","Event","idx","Style","requestAnimationFrameAcrossTransitions"],(function a(b,c,d,e,f,g,h,i){"use strict";__p&&__p();var j="css-fade-animation",k="css-show-animation",l="_4rh4",m="CSSFade_hide",n="CSSFade_show",o=document.createElement("div").animate!==undefined,p={cancel:function v(){}};function q(v,w){v!=null||i(0);var x=c("DataStore").get(v,w);if(x)x.cancel();return x}function r(v,w,x){var y,z=((y=v)!=null?(y=y.style)!=null?y.animation:y:y)||"",A=w+"s "+x;if(z.length>5)A=z.slice(0,-1)+(", "+A);return A}function s(v,w){var x,y=((x=v)!=null?(x=x.style)!=null?x.animation:x:x)||"",z=y.split(","),A=z.findIndex(function(B){return B.indexOf(w)>-1});if(A!==-1)z.splice(A,1);return z.join(",")}var t={show:function v(w){__p&&__p();var x=arguments.length<=1||arguments[1]===undefined?{}:arguments[1],y=x.duration!=null?x.duration/1e3:.3;q(w,j);q(w,k);c("CSS").removeClass(w,"hidden_elem");c("requestAnimationFrameAcrossTransitions")(function(){w.style.animation=r(w,y,n)});var z=c("Event").listen(w,"animationend",function(){if(x.callback)x.callback();w.style.animation=s(w,n)}),A={cancel:function B(){w.style.animation=s(w,n);z.remove();A.cancel=function(){}}};c("DataStore").set(w,k,A);return A},hide:function v(w){__p&&__p();var x=arguments.length<=1||arguments[1]===undefined?{}:arguments[1],y=function y(){c("CSS").addClass(w,"hidden_elem");if(x.callback)x.callback();w.style.animation=s(w,m)};if(x.simple){y();return p}var z=x.duration!=null?x.duration/1e3:.3;q(w,k);q(w,j);c("requestAnimationFrameAcrossTransitions")(function(){w.style.animation=r(w,z,m)});var A=c("Event").listen(w,"animationend",y),B={cancel:function C(){w.style.animation=s(w,m);A.remove();B.cancel=function(){}}};c("DataStore").set(w,j,B);return B}},u={show:function v(w){__p&&__p();var x=arguments.length<=1||arguments[1]===undefined?{}:arguments[1],y=x.duration!=null?x.duration:.3;q(w,j);q(w,k);c("CSS").removeClass(w,"hidden_elem");c("Style").set(w,"opacity","1");var z=w.animate([{opacity:"0"},{opacity:"1.0"}],{duration:y});if(x.callback)z.onfinish=x.callback;c("DataStore").set(w,k,z);return z},hide:function v(w){__p&&__p();var x=arguments.length<=1||arguments[1]===undefined?{}:arguments[1],y=x.duration!=null?x.duration:.3;q(w,k);if(x.simple===true){c("CSS").addClass(w,"hidden_elem");return p}else{q(w,j);c("Style").set(w,"opacity","0");var z=w.animate([{opacity:"1.0"},{opacity:"0"}],{duration:y});z.onfinish=function(){c("CSS").addClass(w,"hidden_elem");if(x.callback)x.callback()};c("DataStore").set(w,j,z);return z}}};f.exports=o?u:t}),null);
__d("SimpleDrag",["Event","ArbiterMixin","SubscriptionsHandler","UserAgent_DEPRECATED","Vector","emptyFunction"],(function a(b,c,d,e,f,g){__p&&__p();function h(i){this.minDragDistance=0;this._subscriptions=new(c("SubscriptionsHandler"))();this._subscriptions.addSubscriptions(c("Event").listen(i,"mousedown",this._start.bind(this)))}Object.assign(h.prototype,c("ArbiterMixin"),{setMinDragDistance:function i(j){this.minDragDistance=j},destroy:function i(){this._subscriptions.release()},_start:function i(event){__p&&__p();var j=false,k=true,l=null;if(this.inform("mousedown",event))k=false;if(this.minDragDistance)l=c("Vector").getEventPosition(event);else{j=true;var m=this.inform("start",event);if(m===true)k=false;else if(m===false){j=false;return}}var n=c("UserAgent_DEPRECATED").ie()<9?document.documentElement:window,o=c("Event").listen(n,{selectstart:k?c("Event").prevent:c("emptyFunction"),mousemove:function(event){__p&&__p();if(!j){var p=c("Vector").getEventPosition(event);if(l.distanceTo(p)<this.minDragDistance)return;j=true;if(this.inform("start",event)===false){j=false;return}}this.inform("update",event)}.bind(this),mouseup:function(event){for(var p in o)o[p].remove();if(j)this.inform("end",event);else this.inform("click",event)}.bind(this)});k&&event.prevent()}});f.exports=h}),null);
__d("isAdsExcelAddinURI",[],(function a(b,c,d,e,f,g){var h=new RegExp("(^|\\.)fbaddins\\.com$","i"),i=["https"];function j(k){if(k.isEmpty()&&k.toString()!=="#")return false;if(!k.getDomain()&&!k.getProtocol())return false;return i.indexOf(k.getProtocol())!==-1&&h.test(k.getDomain())}f.exports=j}),null);
__d("isValidURI",[],(function a(b,c,d,e,f,g){var h=new RegExp("((^|\\.)atlassolutions\\.com$)|((^|\\.)instagram\\.com$)|((^|\\.)wit\\.ai$)|((^|\\.)accountkit\\.com$)","i"),i=["https"];function j(k){if(k.isEmpty()&&k.toString()!=="#")return false;if(!k.getDomain()&&!k.getProtocol())return false;return i.includes(k.getProtocol())&&h.test(k.getDomain())}f.exports=j}),null);
__d("AsyncSignal",["Promise","ErrorUtils","Run","QueryString","TimeSlice","TrackingConfig","URI","ZeroRewrites","isValidURI","isAdsExcelAddinURI","isBonfireURI","isFacebookURI","isMessengerDotComURI","getAsyncParams","memoize"],(function a(b,c,d,e,f,g){__p&&__p();var h;function i(j,k){this.data=k||{};this.uri=j.toString();if(c("TrackingConfig").domain&&this.uri.charAt(0)=="/")this.uri=c("TrackingConfig").domain+this.uri}i.prototype.setHandler=function(j){this.handler=j;return this};i.prototype.setTimeout=function(j){this.timeout=j;return this};i.prototype.send=function(){c("TimeSlice").guard(this._send.bind(this),"AsyncSignal send",{propagationType:c("TimeSlice").PropagationType.ORPHAN})()};i.prototype._send=function(){__p&&__p();var j=this.handler,k=this.data;k.asyncSignal=(Math.random()*1e4|0)+1;var l=c("ZeroRewrites").rewriteURI(new(c("URI"))(this.uri)),m=c("isFacebookURI")(l)||c("isMessengerDotComURI")(l)||c("isBonfireURI")(l)||c("isAdsExcelAddinURI")(l)||c("isValidURI")(l);if(m)Object.assign(k,c("getAsyncParams")("POST"));else throw new Error("'"+this.uri+"' is an external URL, you should not send async signals to offsite links.");var n=c("QueryString").appendToUrl(this.uri,k),o;if(!h)h=new(c("Promise"))(function(r){c("Run").onAfterLoad(r)});o=h.then(function(){return new(c("Promise"))(function(r,s){var t=new Image();t.onload=r;t.onerror=t.onabort=s;t.src=n})});if(j){var p=false,q=c("memoize")(function(){c("ErrorUtils").applyWithGuard(j,null,[p])});o.then(function(){p=true;q()},q).done();if(this.timeout)setTimeout(q,this.timeout)}return this};f.exports=i}),null);
__d("KeyEventController",["Bootloader","DOMQuery","Event","Run","emptyFunction","getElementText","isEmpty"],(function a(b,c,d,e,f,g){__p&&__p();var h=null,i=["input","select","textarea","object","embed"],j={button:1,checkbox:1,radio:1,submit:1,file:1},k={BACKSPACE:[8],TAB:[9],RETURN:[13],ALT:[18],ESCAPE:[27],LEFT:[37,63234],UP:[38,63232],RIGHT:[39,63235],DOWN:[40,63233],NUMPAD_ADD:[43],NUMPAD_SUBSTRACT:[45],DELETE:[46],COMMA:[188],PERIOD:[190],SLASH:[191],"`":[192],"[":[219],"]":[221],PAGE_UP:[33],PAGE_DOWN:[34],END:[35],HOME:[36],SPACE:[32],KP_DOT:[46,110],"-":[189],"=":[187]},l={8:1,9:1,13:1,27:1,32:1,37:1,63234:1,38:1,63232:1,39:1,63235:1,40:1,63233:1,46:1};function m(){"use strict";this.handlers={};document.onkeyup=this.onkeyevent.bind(this,"onkeyup");document.onkeydown=this.onkeyevent.bind(this,"onkeydown");document.onkeypress=this.onkeyevent.bind(this,"onkeypress")}m.prototype.mapKey=function(n){"use strict";__p&&__p();if(n>=0&&n<=9){if(typeof n!="number")n=n.charCodeAt(0)-48;return[48+n,96+n]}var o=k[n.toUpperCase()];if(o)return o;return[n.toUpperCase().charCodeAt(0)]};m.prototype.onkeyevent=function(n,o){__p&&__p();var p;"use strict";o=c("Event").$E(o);var q=this.handlers[o.keyCode]||this.handlers[o.which],r,s,t;if(q)for(var u=0;u<q.length;u++){r=q[u].callback;s=q[u].filter;try{if(!s||s(o,n)){var p=function(){t=r(o,n);var w=o.which||o.keyCode;c("Bootloader").loadModules(["KeyEventTypedLogger"],function(x){new x().setAction("key_shortcut").setKey(o.key||"").setKeyChar(String.fromCharCode(w)).setKeyCode(w).addToExtraData("is_trusted",o.isTrusted).log()},"KeyEventController");if(t===false)return{v:c("Event").kill(o)}}();if(typeof p==="object")return p.v}}catch(v){}}return true};m.prototype.resetHandlers=function(){"use strict";for(var n in this.handlers)if(Object.prototype.hasOwnProperty.call(this.handlers,n)){var o=this.handlers[n].filter(function(p){return p.preserve()});if(o.length)this.handlers[n]=o;else delete this.handlers[n]}};m.getInstance=function(){"use strict";return h||(h=new m())};m.defaultFilter=function(event,n){"use strict";event=c("Event").$E(event);return m.filterEventTypes(event,n)&&m.filterEventTargets(event,n)&&m.filterEventModifiers(event,n)};m.filterEventTypes=function(event,n){"use strict";if(n==="onkeydown")return true;return false};m.filterEventTargets=function(event,n){"use strict";var o=event.getTarget(),p=o.contentEditable==="true"||o.contentEditable==="plaintext-only";return!(p||c("DOMQuery").isNodeOfType(o,i))||o.type in j||event.keyCode in l&&(c("DOMQuery").isNodeOfType(o,["input","textarea"])&&o.value.length===0||p&&c("getElementText")(o).length===0)};m.filterEventModifiers=function(event,n){"use strict";if(event.ctrlKey||event.altKey||event.metaKey||event.repeat)return false;return true};m.registerKey=function(n,o){__p&&__p();var p=arguments.length<=2||arguments[2]===undefined?m.defaultFilter:arguments[2],q=arguments.length<=3||arguments[3]===undefined?false:arguments[3],r=arguments.length<=4||arguments[4]===undefined?c("emptyFunction").thatReturnsFalse:arguments[4];"use strict";var s=m.getInstance(),t=s.mapKey(n);if(c("isEmpty")(s.handlers))c("Run").onLeave(s.resetHandlers.bind(s));var u={};for(var v=0;v<t.length;v++){n=t[v];if(!s.handlers[n]||q)s.handlers[n]=[];var w={callback:o,filter:p,preserve:r};u[n]=w;s.handlers[n].push(w)}return{remove:function x(){for(var y in u){if(s.handlers[y]&&s.handlers[y].length){var z=s.handlers[y].indexOf(u[y]);z>=0&&s.handlers[y].splice(z,1)}delete u[y]}}}};f.exports=m}),null);
__d("Poller",["ArbiterMixin","AsyncRequest","CurrentUser","TimeSlice","emptyFunction","mixin","setTimeoutAcrossTransitions","setTimeout"],(function a(b,c,d,e,f,g){__p&&__p();var h,i;h=babelHelpers.inherits(j,c("mixin")(c("ArbiterMixin")));i=h&&h.prototype;function j(l){"use strict";__p&&__p();i.constructor.call(this);this._config=babelHelpers["extends"]({clearOnQuicklingEvents:true,setupRequest:c("emptyFunction"),maxRequests:Infinity},l);this._handle=null;this._isSkipIndefinitely=false;this._hasSkippedRequest=false;this._requests=0;this._muted=false;this._polling=false;this._skip=false;this._cancelRequest=c("emptyFunction");if(!this._config.dontStart)this.start()}j.prototype.start=function(){"use strict";if(this._polling)return this;this._requests=0;this.request();return this};j.prototype.stop=function(){"use strict";this._cancelRequest();return this};j.prototype.mute=function(){"use strict";this._muted=true;return this};j.prototype.resume=function(){"use strict";__p&&__p();if(this._muted){this._muted=false;if(this._handle===null&&this._polling)return this.request()}if(this._isSkipIndefinitely){this._isSkipIndefinitely=false;return this.request()}return this};j.prototype.skip=function(){"use strict";this._skip=true;return this};j.prototype.startSkipIndefinitely=function(){"use strict";this._isSkipIndefinitely=true;return this};j.prototype.stopSkipIndefinitely=function(){"use strict";this._isSkipIndefinitely=false;if(this._hasSkippedRequest)return this.request();else return this};j.prototype.isSkipIndefinitely=function(){"use strict";return this._isSkipIndefinitely};j.prototype.reset=function(){"use strict";return this.stop().start()};j.prototype.request=function(){"use strict";__p&&__p();this._cancelRequest();this._polling=true;if(!this._config.allowNotLoggedIn&&!k())return this._done();if(this._muted)return this;var l=false;this._cancelRequest=function(){l=true;this._cleanup()}.bind(this);if(this._isSkipIndefinitely){this._deferRequest();this._hasSkippedRequest=true;return this}else this._hasSkippedRequest=false;if(++this._requests>this._config.maxRequests)return this._done();var m=new(c("AsyncRequest"))();m.setIsBackgroundRequest(true);m.setInitialHandler(function(){return!l});m.setFinallyHandler(this._deferRequest.bind(this));m.setInitialHandler=c("emptyFunction");m.setFinallyHandler=c("emptyFunction");this._config.setupRequest(m,this);if(this._skip){this._skip=false;c("setTimeoutAcrossTransitions")(this._deferRequest.bind(this),0)}else m.send();return this};j.prototype.isPolling=function(){"use strict";return this._polling};j.prototype.isMuted=function(){"use strict";return this._muted};j.prototype.setInterval=function(l){"use strict";if(l){this._config.interval=l;this.start()}};j.prototype.getInterval=function(){"use strict";return this._config.interval};j.prototype._cleanup=function(){"use strict";if(this._handle!==null)clearTimeout(this._handle);this._handle=null;this._cancelRequest=c("emptyFunction");this._polling=false};j.prototype._done=function(){"use strict";this._cleanup();this.inform("done",{sender:this});return this};j.prototype._deferRequest=function(){"use strict";__p&&__p();if(!this._polling)return;if(this._requests<this._config.maxRequests){var l=this._config.interval;l=typeof l==="function"?l(this._requests):l;l=l>j.MIN_INTERVAL?l:j.MIN_INTERVAL;if(this._config.clearOnQuicklingEvents)this._handle=c("setTimeout")(c("TimeSlice").guard(function(){this.request()}.bind(this),"Poller setTimeout",{propagationType:c("TimeSlice").PropagationType.ORPHAN}),l);else this._handle=c("setTimeoutAcrossTransitions")(c("TimeSlice").guard(function(){this.request()}.bind(this),"Poller setTimeout",{propagationType:c("TimeSlice").PropagationType.ORPHAN}),l)}else this._done()};j.MIN_INTERVAL=2e3;function k(){return c("CurrentUser").isLoggedInNow()}f.exports=j}),null);
__d("firstx",["invariant"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();function i(j){__p&&__p();for(var k=j,l=Array.isArray(k),m=0,k=l?k:k[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var n;if(l){if(m>=k.length)break;n=k[m++]}else{m=k.next();if(m.done)break;n=m.value}var o=n;return o}h(0)}f.exports=i}),null);
__d("ScrollableArea",["ArbiterMixin","Bootloader","BrowserSupport","CSS","CSSFade","DataStore","Deferred","DOM","Event","FocusEvent","Parent","Run","Scroll","SimpleDrag","Style","SubscriptionsHandler","UserAgent_DEPRECATED","Vector","createCancelableFunction","emptyFunction","firstx","ifRequired","mixin","queryThenMutateDOM","setTimeoutAcrossTransitions","throttle"],(function a(b,c,d,e,f,g){__p&&__p();var h,i,j=12;h=babelHelpers.inherits(k,c("mixin")(c("ArbiterMixin")));i=h&&h.prototype;function k(l,m){"use strict";__p&&__p();i.constructor.call(this);if(!l)return;m=m||{};c("Run").onAfterLoad(function(){c("Bootloader").loadModules(["Animation"],c("emptyFunction"),"ScrollableArea")});this._elem=l;this._wrap=c("firstx")(c("DOM").scry(l,"div.uiScrollableAreaWrap"));this._body=c("firstx")(c("DOM").scry(this._wrap,"div.uiScrollableAreaBody"));this._content=c("firstx")(c("DOM").scry(this._body,"div.uiScrollableAreaContent"));this._track=c("firstx")(c("DOM").scry(l,"div.uiScrollableAreaTrack"));this._trackIsHovered=false;this._isFocussed=false;this._gripper=c("firstx")(c("DOM").scry(this._track,"div.uiScrollableAreaGripper"));this._options=m;this._throttledComputeHeights=c("throttle").withBlocking(this._computeHeights,250,this);this.throttledAdjustGripper=c("throttle").withBlocking(this.adjustGripper,250,this);this._throttledShowGripperAndShadows=c("throttle").withBlocking(this._showGripperAndShadows,250,this);this._throttledRespondMouseMove=c("throttle")(this._respondMouseMove,250,this);c("setTimeoutAcrossTransitions")(this.adjustGripper.bind(this),0);this._listeners=new(c("SubscriptionsHandler"))();this._listeners.addSubscriptions(c("Event").listen(this._wrap,"scroll",this._handleScroll.bind(this)),c("Event").listen(l,"mousemove",this._handleMouseMove.bind(this)),c("Event").listen(this._track,"click",this._handleClickOnTrack.bind(this)));if(c("BrowserSupport").hasPointerEvents())this._listeners.addSubscriptions(c("Event").listen(l,"mousedown",this._handleClickOnTrack.bind(this)));if(m.fade!==false){var n;(n=this._listeners).addSubscriptions.apply(n,[c("Event").listen(l,"mouseenter",this._handleMouseEnter.bind(this)),c("Event").listen(l,"mouseleave",this._handleMouseLeave.bind(this))].concat(this._attachFocusListeners(this._wrap)))}else if(c("BrowserSupport").hasPointerEvents())this._listeners.addSubscriptions(c("Event").listen(l,"mouseleave",function(){if(!this._isFocussed){this._trackIsHovered=false;c("CSS").removeClass(l,"uiScrollableAreaTrackOver")}}.bind(this)));if(c("UserAgent_DEPRECATED").webkit()||c("UserAgent_DEPRECATED").chrome())this._listeners.addSubscriptions(c("Event").listen(l,"mousedown",function(){var o=c("Event").listen(window,"mouseup",function(){if(c("Scroll").getLeft(l))c("Scroll").setLeft(l,0);o.remove()})}));else if(c("UserAgent_DEPRECATED").firefox())this._wrap.addEventListener("DOMMouseScroll",function(event){event.axis===event.HORIZONTAL_AXIS&&event.preventDefault()},false);this._drag=this.initDrag();c("DataStore").set(this._elem,"ScrollableArea",this);if(!m.persistent){this._destroy=c("createCancelableFunction")(this._destroy.bind(this));c("Run").onLeave(this._destroy)}if(m.shadow!==false)c("CSS").addClass(this._elem,"uiScrollableAreaWithShadow")}k.prototype.getContentHeight=function(){"use strict";return this._contentHeight};k.prototype.getElement=function(){"use strict";return this._elem};k.prototype.initDrag=function(){"use strict";__p&&__p();var l=c("BrowserSupport").hasPointerEvents(),m=new(c("SimpleDrag"))(l?this._elem:this._gripper);m.subscribe("start",function(n,event){__p&&__p();if(!(event.which&&event.which===1||event.button&&event.button===1))return;var o=c("Vector").getEventPosition(event,"viewport");if(l){var p=this._gripper.getBoundingClientRect();if(o.x<p.left||o.x>p.right||o.y<p.top||o.y>p.bottom)return false}event.stopPropagation();this.inform("grip_start");var q=o.y,r=this._gripper.offsetTop;c("CSS").addClass(this._elem,"uiScrollableAreaDragging");var s=m.subscribe("update",function(n,event){var u=c("Vector").getEventPosition(event,"viewport").y-q;this._throttledComputeHeights();var v=this._contentHeight-this._containerHeight,w=r+u,x=this._trackHeight-this._gripperHeight;w=Math.max(Math.min(w,x),0);var y=w/x*v;c("Scroll").setTop(this._wrap,y)}.bind(this)),t=m.subscribe("end",function(){m.unsubscribe(s);m.unsubscribe(t);c("CSS").removeClass(this._elem,"uiScrollableAreaDragging");this.inform("grip_end")}.bind(this))}.bind(this));return m};k.prototype.adjustGripper=function(){"use strict";c("queryThenMutateDOM")(function(){return this._needsGripper()}.bind(this),function(l){if(l){c("Style").set(this._gripper,"height",this._gripperHeight+"px");this._slideGripper()}}.bind(this));this._throttledShowGripperAndShadows();return this};k.prototype._attachFocusListeners=function(l){"use strict";__p&&__p();var m=void 0;return[c("FocusEvent").listen(l,function(n){__p&&__p();if(m){m.reject();m=null}if(n){m=new(c("Deferred"))();m.done(function(){this._isFocussed=true;this._trackIsHovered=true;c("queryThenMutateDOM")(null,function(){c("CSS").addClass(this._elem,"uiScrollableAreaTrackOver")}.bind(this));this.showScrollbar({hideAfterDelay:false});m=null}.bind(this),function(){m=null})}else{this._isFocussed=false;if(this._mouseOver)this._respondMouseMove();else{c("queryThenMutateDOM")(null,function(){c("CSS").removeClass(this._elem,"uiScrollableAreaTrackOver")}.bind(this));this.hideScrollbar({hideAfterDelay:false,shouldFade:false})}}}.bind(this)),c("Event").listen(document.documentElement,"keyup",function(n){if(m)m.resolve()})]};k.prototype._computeHeights=function(){"use strict";this._containerHeight=this._elem.clientHeight;this._contentHeight=this._content.offsetHeight;this._trackHeight=this._track.offsetHeight;this._gripperHeight=Math.max(this._containerHeight/this._contentHeight*this._trackHeight,j)};k.prototype._needsGripper=function(){"use strict";this._throttledComputeHeights();return this._gripperHeight<this._trackHeight};k.prototype._slideGripper=function(){"use strict";c("queryThenMutateDOM")(function(){return c("Scroll").getTop(this._wrap)/(this._contentHeight-this._containerHeight)*(this._trackHeight-this._gripperHeight)}.bind(this),function(l){c("Style").set(this._gripper,"top",l+"px")}.bind(this))};k.prototype._showGripperAndShadows=function(){"use strict";c("queryThenMutateDOM")(function(){return{needsGripper:this._needsGripper(),top:c("Scroll").getTop(this._wrap)>0,isScrolledToBottom:this.isScrolledToBottom()}}.bind(this),function(l){var m=l.needsGripper,n=l.top,o=l.isScrolledToBottom;c("CSS").conditionShow(this._gripper,m);c("CSS").conditionClass(this._elem,"contentBefore",n);c("CSS").conditionClass(this._elem,"contentAfter",!o)}.bind(this))};k.prototype.destroy=function(){"use strict";this._destroy();this._destroy.cancel&&this._destroy.cancel()};k.prototype._destroy=function(){"use strict";this._listeners&&this._listeners.release();this._elem&&c("DataStore").remove(this._elem,"ScrollableArea");this._drag&&this._drag.destroy()};k.prototype._handleClickOnTrack=function(event){"use strict";var l=c("Vector").getEventPosition(event,"viewport"),m=this._gripper.getBoundingClientRect();if(l.x<m.right&&l.x>m.left){if(l.y<m.top)this.setScrollTop(this.getScrollTop()-this._elem.clientHeight);else if(l.y>m.bottom)this.setScrollTop(this.getScrollTop()+this._elem.clientHeight);event.kill()}};k.prototype._handleMouseMove=function(event){"use strict";var l=this._options.fade!==false;if(c("BrowserSupport").hasPointerEvents()||l){this._mousePos=c("Vector").getEventPosition(event);this._throttledRespondMouseMove()}};k.prototype._respondMouseMove=function(){"use strict";__p&&__p();if(!this._mouseOver||this._isFocussed)return;var l=this._options.fade!==false,m=this._mousePos,n=c("Vector").getElementPosition(this._track).x,o=c("Vector").getElementDimensions(this._track).x,p=Math.abs(n+o/2-m.x),q=c("BrowserSupport").hasPointerEvents()&&p<=10;if(q&&!this._trackIsHovered){this._trackIsHovered=true;c("CSS").addClass(this._elem,"uiScrollableAreaTrackOver");this.throttledAdjustGripper()}else if(!q&&this._trackIsHovered){this._trackIsHovered=false;c("CSS").removeClass(this._elem,"uiScrollableAreaTrackOver")}if(l)if(p<25)this.showScrollbar({hideAfterDelay:false});else if(!this._options.no_fade_on_hover&&!this._isFocussed)this.hideScrollbar({hideAfterDelay:true,shouldFade:true})};k.prototype._handleScroll=function(event){"use strict";if(this._needsGripper())this._slideGripper();this.throttledAdjustGripper();if(this._options.fade!==false&&!this._isFocussed)this.showScrollbar({hideAfterDelay:true});this.inform("scroll")};k.prototype._handleMouseLeave=function(){"use strict";this._mouseOver=false;if(!this._isFocussed)this.hideScrollbar({hideAfterDelay:true,shouldFade:true})};k.prototype._handleMouseEnter=function(){"use strict";this._mouseOver=true;if(!this._isFocussed)this.showScrollbar({hideAfterDelay:true})};k.prototype.hideScrollbar=function(l){__p&&__p();var m=l.hideAfterDelay,n=l.shouldFade;"use strict";if(this._hideTimeout||!this._scrollbarVisible)return this;var o=function(){this._scrollbarVisible=false;c("CSSFade").hide(this._track,{simple:!n})}.bind(this);if(m)this._hideTimeout=c("setTimeoutAcrossTransitions")(function(){this._hideTimeout=null;o()}.bind(this),750);else o();return this};k.prototype.pageDown=function(l,m){"use strict";this._scrollPage(1,l,m)};k.prototype.pageUp=function(l,m){"use strict";this._scrollPage(-1,l,m)};k.prototype._scrollPage=function(l,m,n){"use strict";var o=l*this._containerHeight,p=this.getScrollHeight()-this._containerHeight,q=Math.max(0,Math.min(p,this.getScrollTop()+o));this.setScrollTop(q,m,n)};k.prototype.resize=function(){"use strict";if(this._body.style.width)this._body.style.width="";var l=this._wrap.offsetWidth-this._wrap.clientWidth;if(l>0)c("Style").set(this._body,"margin-right",-l+"px");return this};k.prototype.showScrollbar=function(l){__p&&__p();var m=l.hideAfterDelay;"use strict";if(this._hideTimeout){clearTimeout(this._hideTimeout);this._hideTimeout=null}if(this._scrollbarVisible)return this;this._scrollbarVisible=true;c("queryThenMutateDOM")(null,function(){c("CSSFade").show(this._track,{duration:0});this.throttledAdjustGripper();if(m)this.hideScrollbar({hideAfterDelay:true,shouldFade:!this._options.no_fade_on_hover})}.bind(this));return this};k.prototype.distanceToBottom=function(){"use strict";this._computeHeights();return this._contentHeight-(c("Scroll").getTop(this._wrap)+this._containerHeight)};k.prototype.isScrolledToBottom=function(){"use strict";return this.distanceToBottom()<=0};k.prototype.isScrolledToTop=function(){"use strict";return c("Scroll").getTop(this._wrap)===0};k.prototype.scrollToBottom=function(l,m){"use strict";this.setScrollTop(this._wrap.scrollHeight,l,m)};k.prototype.scrollToTop=function(l,m){"use strict";this.setScrollTop(0,l,m)};k.prototype.scrollIntoView=function(l,m){"use strict";__p&&__p();var n=this._wrap.clientHeight,o=l.offsetHeight,p=c("Scroll").getTop(this._wrap),q=p+n,r=0;while(l!=null&&l!==this._wrap){r+=l.offsetTop;l=l.offsetParent}var s=r+o;if(r<p||n<o)this.setScrollTop(r,m);else if(s>q)this.setScrollTop(p+(s-q),m)};k.prototype.scrollElemToTop=function(l,m,n){"use strict";this.setScrollTop(l.offsetTop,m,{callback:n})};k.prototype.poke=function(){"use strict";var l=c("Scroll").getTop(this._wrap);c("Scroll").setTop(this._wrap,c("Scroll").getTop(this._wrap)+1);c("Scroll").setTop(this._wrap,c("Scroll").getTop(this._wrap)-1);c("Scroll").setTop(this._wrap,l);if(this._isFocussed)return this;else return this.showScrollbar({hideAfterDelay:false})};k.prototype.getClientHeight=function(){"use strict";return this._wrap.clientHeight};k.prototype.getScrollTop=function(){"use strict";return c("Scroll").getTop(this._wrap)};k.prototype.getScrollHeight=function(){"use strict";return this._wrap.scrollHeight};k.prototype.setScrollTop=function(l,m){var n=arguments.length<=2||arguments[2]===undefined?{}:arguments[2];"use strict";if(m!==false)c("ifRequired")("Animation",function(o){return this._animatedSetScrollTop(o,l,n)}.bind(this),function(){return this._simpleSetScrollTop(l,n)}.bind(this));else this._simpleSetScrollTop(l,n)};k.prototype._simpleSetScrollTop=function(l,m){"use strict";c("Scroll").setTop(this._wrap,l);m.callback&&m.callback()};k.prototype._animatedSetScrollTop=function(l,m,n){"use strict";if(this._scrollTopAnimation)this._scrollTopAnimation.stop();var o=n.duration||250,p=n.ease||l.ease.end;this._scrollTopAnimation=new l(this._wrap).to("scrollTop",m).ease(p).duration(o).ondone(n.callback).go()};k.renderDOM=function(){"use strict";var l=c("DOM").create("div",{className:"uiScrollableAreaContent"}),m=c("DOM").create("div",{className:"uiScrollableAreaBody"},l),n=c("DOM").create("div",{className:"uiScrollableAreaWrap scrollable"},m),o=c("DOM").create("div",{className:"uiScrollableArea native"},n);return{root:o,wrap:n,body:m,content:l}};k.fromNative=function(l,m){"use strict";__p&&__p();if(!c("CSS").hasClass(l,"uiScrollableArea")||!c("CSS").hasClass(l,"native"))return;m=m||{};c("CSS").removeClass(l,"native");var n=c("DOM").create("div",{className:"uiScrollableAreaTrack"},c("DOM").create("div",{className:"uiScrollableAreaGripper"}));if(m.fade!==false){c("CSS").addClass(l,"fade");c("CSS").addClass(n,"hidden_elem")}else c("CSS").addClass(l,"nofade");if(m.tabIndex!==undefined&&m.tabIndex!==null){c("DOM").setAttributes(n,{tabIndex:m.tabIndex});c("DOM").prependContent(l,n)}else c("DOM").appendContent(l,n);var o=new k(l,m);o.resize();return o};k.getInstance=function(l){"use strict";var m=c("Parent").byClass(l,"uiScrollableArea");return m?c("DataStore").get(m,"ScrollableArea"):null};k.poke=function(l){"use strict";var m=k.getInstance(l);m&&m.poke()};f.exports=k}),null);
__d("LayerHideSources",[],(function a(b,c,d,e,f,g){var h=Object.freeze({BLUR:"blur",ESCAPE:"escape",LAYER_CANCEL_BUTTON:"layerCancelButton",LAYER_HIDE_BUTTON:"layerHideButton"});f.exports=h}),null);
__d("LayerHideOnBlur",["LayerHideSources","requestAnimationFrame"],(function a(b,c,d,e,f,g){__p&&__p();function h(i){"use strict";this._layer=i}h.prototype.enable=function(){"use strict";this._subscriptions=[this._layer.subscribe("show",this._attach.bind(this)),this._layer.subscribe("hide",this._detach.bind(this))];if(this._layer.isShown())this._attach()};h.prototype.disable=function(){"use strict";this._detach();while(this._subscriptions.length)this._subscriptions.pop().unsubscribe();this._subscriptions=null};h.prototype._detach=function(){"use strict";this._onBlur&&this._onBlur.unsubscribe();this._onBlur=null};h.prototype._attach=function(){"use strict";this._onBlur=this._layer.subscribe("blur",function(){return c("requestAnimationFrame")(function(){this._layer.hide(c("LayerHideSources").BLUR);return false}.bind(this))}.bind(this))};Object.assign(h.prototype,{_subscriptions:null,_onBlur:null});f.exports=h}),null);
__d("shield",[],(function a(b,c,d,e,f,g){function h(i,j){if(typeof i!="function")throw new TypeError("shield expects a function as the first argument");var k=Array.prototype.slice.call(arguments,2);return function(){return i.apply(j,k)}}f.exports=h}),null);
__d("MercuryParticipantTypes",[],(function a(b,c,d,e,f,g){f.exports=Object.freeze({USER:"user",THREAD:"thread",EVENT:"event",PAGE:"page",FRIEND:"friend",FB4C:"fb4c",NON_FRIEND:"non_friend",SERVICE:"service"})}),null);
__d("xuiglyph",[],(function a(b,c,d,e,f,g){f.exports=function h(i){throw new Error("xuiglyph: Unexpected xuiglyph call.")}}),null);
__d("formatNumber",["fbt","intlNumUtils"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();function i(n,o){return c("intlNumUtils").formatNumber(n,o)}function j(n,o){var p=h._({"*":"{number}+"},[h.param("number",c("intlNumUtils").formatNumberWithThousandDelimiters(n,o),[0,n])]);return p.toString()}function k(n,o){var p=h._({"*":"\u003C{number}"},[h.param("number",c("intlNumUtils").formatNumberWithThousandDelimiters(n,o),[0,n])]);return p.toString()}function l(n,o,p){return n>o?j(o,p):c("intlNumUtils").formatNumberWithThousandDelimiters(n,p)}function m(n,o,p){return n<o?k(o,p):c("intlNumUtils").formatNumberWithThousandDelimiters(n,p)}i.withThousandDelimiters=c("intlNumUtils").formatNumberWithThousandDelimiters;i.withMaxLimit=l;i.withMinLimit=m;f.exports=i}),null);