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

__d("InstanceProxy",[],(function a(b,c,d,e,f,g){__p&&__p();function h(i){"use strict";this.$InstanceProxy1=i}h.prototype.getInstance=function(){"use strict";return this.$InstanceProxy1};h.prototype.setInstance=function(i){"use strict";this.$InstanceProxy1=i};f.exports=h}),null);
__d("XRefererFrameController",["XController"],(function a(b,c,d,e,f,g){f.exports=c("XController").create("/common/referer_frame.php",{})}),null);
__d("isOculusDotComURI",["URI"],(function a(b,c,d,e,f,g){var h=new RegExp("(^|\\.)oculus\\.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("ControlledReferer",["Bootloader","DeferredCookie","URI","UserAgent","XRefererFrameController","isBonfireURI","isMessengerDotComURI","isOculusDotComURI","lowerFacebookDomain"],(function a(b,c,d,e,f,g){__p&&__p();var h={useFacebookReferer:function i(j,k,l){__p&&__p();if(!c("DeferredCookie").canEmbedThirdPartyPixel()){c("Bootloader").loadModules(["BanzaiODS"],function(p){p.bumpEntityKey("defer_cookies","block_controlled_referer_iframe")},"ControlledReferer");return}var m=false;function n(){if(m)return;var p=j.contentWindow.location.pathname;if(p!=="/intern/common/referer_frame.php"&&p!=="/common/referer_frame.php")return;m=true;j.contentWindow.document.body.style.margin=0;k()}var o=void 0;if(c("isMessengerDotComURI")(c("URI").getRequestURI())||c("isBonfireURI")(c("URI").getRequestURI()))o=c("XRefererFrameController").getURIBuilder().getURI().toString();else if(c("isOculusDotComURI")(c("URI").getRequestURI()))o="/common/referer_frame.php";else if(!c("lowerFacebookDomain").isValidDocumentDomain())o="/intern/common/referer_frame.php";else if(c("UserAgent").isBrowser("Opera"))o=c("XRefererFrameController").getURIBuilder().getURI().toString();else o=c("XRefererFrameController").getURIBuilder().getURI().qualify().setProtocol("https").setSubdomain("staticxx").toString();if(l)o+="?fb_source="+l;j.onload=n;j.src=o},useFacebookRefererHtml:function i(j,k,l){h.useFacebookReferer(j,function(){j.contentWindow.document.body.innerHTML=k},l)}};f.exports=h}),null);
__d("TrackingPixel",["Arbiter","ControlledReferer","DeferredCookie","FBLogger"],(function a(b,c,d,e,f,g){__p&&__p();var h={_iframe:undefined,loadWithNoReferrer:function i(j){__p&&__p();if(!c("DeferredCookie").canEmbedThirdPartyPixel()){c("FBLogger")("FIXME").mustfix("Attempting to load a TrackingPixel (%s) while cookies are deferred. This is not allowed because tracking pixels sometimes set cookies.",j);return}if(!h._iframe){var k=document.createElement("iframe");k.frameborder=0;k.width=k.height=1;k.style.position="absolute";k.style.top="-10px";c("ControlledReferer").useFacebookReferer(k,function(){c("Arbiter").inform("TrackingPixel/iframeIsLoaded",null,c("Arbiter").BEHAVIOR_PERSISTENT)},null);document.body.appendChild(k);h._iframe=k}c("Arbiter").subscribe("TrackingPixel/iframeIsLoaded",function(){var l=h._iframe.contentWindow,m=new l.Image();m.src=j})}};f.exports=h}),null);
__d("XUIBlock",["cx","React"],(function a(b,c,d,e,f,g,h){var i=c("React").PropTypes,j={propTypes:{background:i.oneOf(["base-wash","light-wash","white","highlight","transparent"])},getDefaultProps:function k(){return{background:"transparent"}},getBackgroundClass:function k(l){var m=(l.background==="base-wash"?"_4-u5":"")+(l.background==="light-wash"?" _57d8":"")+(l.background==="white"?" _4-u8":"")+(l.background==="highlight"?" _4-u7":"");return m}};f.exports=j}),null);
__d("XUICard.react",["cx","React","XUIBlock","joinClasses"],(function a(b,c,d,e,f,g,h){__p&&__p();var i,j;i=babelHelpers.inherits(k,c("React").Component);j=i&&i.prototype;k.prototype.render=function(){"use strict";var l=this.props,m=l.background,n=l.children,o=l.className,p=babelHelpers.objectWithoutProperties(l,["background","children","className"]),q=c("joinClasses")(o,"_4-u2",c("XUIBlock").getBackgroundClass(this.props));return c("React").createElement("div",babelHelpers["extends"]({},p,{className:q}),n)};function k(){"use strict";i.apply(this,arguments)}k.propTypes=c("XUIBlock").propTypes;k.defaultProps=babelHelpers["extends"]({},c("XUIBlock").getDefaultProps(),{background:"white"});f.exports=k}),null);
__d("HelpLiteFlyoutBootloader",["regeneratorRuntime","Deferred","JSResource"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h=false,i=null,j=null,k={loadFlyout:function l(){return c("regeneratorRuntime").async(function m(n){while(1)switch(n.prev=n.next){case 0:k.loadFlyoutWithHelpType(null);case 1:case"end":return n.stop()}},null,this)},loadFlyoutWithHelpType:function l(m){__p&&__p();var n,o,p,q;return c("regeneratorRuntime").async(function r(s){__p&&__p();while(1)switch(s.prev=s.next){case 0:s.next=2;return c("regeneratorRuntime").awrap(c("JSResource")("HelpLiteFlyout").__setRef("HelpLiteFlyoutBootloader").load());case 2:n=s.sent;if(!h){s.next=6;break}n.refreshHelp();return s.abrupt("return");case 6:h=true;if(m)k.setHelpType(m);s.next=10;return c("regeneratorRuntime").awrap(this._getDeferredFlyoutElements().getPromise());case 10:o=s.sent;p=o.flyout;q=o.flyoutRoot;n.registerFlyoutToggler(p,q);n.loadBody();case 15:case"end":return s.stop()}},null,this)},setHelpType:function l(m){j=m},getHelpType:function l(){return j},_getDeferredFlyoutElements:function l(){if(i==null)i=new(c("Deferred"))();return i},registerFlyoutElements:function l(m,n){this._getDeferredFlyoutElements().resolve({flyout:m,flyoutRoot:n})}};f.exports=k}),null);
__d("RequiredFormListener",["Event","Input"],(function a(b,c,d,e,f,g){__p&&__p();c("Event").listen(document.documentElement,"submit",function(h){var i=h.getTarget();if(i.getAttribute("novalidate"))return true;var j=i.getElementsByTagName("*");for(var k=0;k<j.length;k++)if(j[k].getAttribute("required")&&c("Input").isEmpty(j[k])){j[k].focus();return false}},c("Event").Priority.URGENT)}),null);
__d("AccessibilityLogger",["AsyncSignal","Cookie"],(function a(b,c,d,e,f,g){__p&&__p();var h={COOKIE:"a11y",DECAY_MS:6*60*60*1e3,DEFAULT:{sr:0,"sr-ts":Date.now(),jk:0,"jk-ts":Date.now(),kb:0,"kb-ts":Date.now(),hcm:0,"hcm-ts":Date.now()},getCookie:function i(){var j=h.DEFAULT,k=c("Cookie").get(h.COOKIE);if(k){k=JSON.parse(k);for(var l in j)if(l in k)j[l]=k[l]}return j},logKey:function i(j,k){var l=h.getCookie();l[j]++;var m=Date.now();if(m-l[j+"-ts"]>h.DECAY_MS){new(c("AsyncSignal"))("/ajax/accessibilitylogging",{eventName:k,times_pressed:l[j]}).send();l[j+"-ts"]=m;l[j]=0}c("Cookie").set(h.COOKIE,JSON.stringify(l))},logHCM:function i(){h.logKey("hcm","hcm_users")},logSRKey:function i(){h.logKey("sr","sr_users")},logJKKey:function i(){h.logKey("jk","jk_users")},logFocusIn:function i(){h.logKey("kb","kb_users")}};f.exports=h}),null);
__d("DOMClone",[],(function a(b,c,d,e,f,g){__p&&__p();var h={shallowClone:function j(k){return i(k,false)},deepClone:function j(k){return i(k,true)}};function i(j,k){var l=j.cloneNode(k);if(typeof l.__FB_TOKEN!=="undefined")delete l.__FB_TOKEN;if(typeof l.__FB_STORE!=="undefined")delete l.__FB_STORE;return l}f.exports=h}),null);
__d("DimensionLogging",["BanzaiNectar","getViewportDimensions"],(function a(b,c,d,e,f,g){var h=c("getViewportDimensions")();c("BanzaiNectar").log("browser_dimension","homeload",{x:h.width,y:h.height,sw:window.screen.width,sh:window.screen.height,aw:window.screen.availWidth,ah:window.screen.availHeight,at:window.screen.availTop,al:window.screen.availLeft})}),null);
__d("FileInput",["cx","ArbiterMixin","DOM","DOMClone","Event","Focus","Keys","UserAgent_DEPRECATED","mixin"],(function a(b,c,d,e,f,g,h){__p&&__p();var i,j,k=c("UserAgent_DEPRECATED").ie();i=babelHelpers.inherits(l,c("mixin")(c("ArbiterMixin")));j=i&&i.prototype;function l(m,n,o){"use strict";__p&&__p();j.constructor.call(this);this.container=m;this.control=n;var p=c("DOM").scry(this.container,"a")[0];p&&p.removeAttribute("href");var q=c("DOM").create("div",{className:"_3jk"},o);c("DOM").appendContent(this.control,q);this._boundHandleChange=this._handleChange.bind(this);if(k)this._boundHandleIEKeyDown=this._handleIEKeyDown.bind(this);this._setInputElement(o)}l.prototype.getValue=function(){"use strict";return this.input.value};l.prototype.getInput=function(){"use strict";return this.input};l.prototype.getContainer=function(){"use strict";return this.container};l.prototype.getControl=function(){"use strict";return this.control};l.prototype.clear=function(){"use strict";this.input.value="";if(this.input.value!==""){var m=c("DOMClone").deepClone(this.input);c("DOM").replace(this.input,m);this._setInputElement(m)}};l.prototype.destroy=function(){"use strict";__p&&__p();this._focus.remove();this._focus=null;this._listener.remove();this._listener=null;if(k){this._IEKeyDownListener.remove();this._IEKeyDownListener=null}this.container=null;this.control=null;this.input=null};l.prototype._setInputElement=function(m){"use strict";__p&&__p();this.input=m;this._focus&&this._focus.remove();this._focus=c("Focus").relocate(m,this.control);this._listener&&this._listener.remove();this._listener=c("Event").listen(m,"change",this._boundHandleChange);if(k){this._IEKeyDownListener&&this._IEKeyDownListener.remove();this._IEKeyDownListener=c("Event").listen(m,"keydown",this._boundHandleIEKeyDown)}};l.prototype._handleChange=function(event){"use strict";this.inform("change",event);if(this.input){var m=this.input.form;if(m&&k<9)c("Event").fire(m,"change",event)}};l.prototype._handleIEKeyDown=function(event){"use strict";if(event.keyCode===c("Keys").RETURN){event.preventDefault();var m=document.createEvent("MouseEvents");m.initEvent("click",true,true);this.input.dispatchEvent(m)}};f.exports=l}),null);
__d("XReferer",["Base64","Cookie","FBJSON","URI","setTimeoutAcrossTransitions"],(function a(b,c,d,e,f,g){__p&&__p();var h={update:function i(j,k,l){__p&&__p();if(!l){c("Cookie").set("x-referer","");return}if(j!=null)j=h.truncatePath(j);if(k!=null)k=h.truncatePath(k);var m=window.location.pathname+window.location.search,n=c("URI").getRequestURI(),o=n.getSubdomain();if(k!=null)h._setCookie(k,m,o);if(j!=null)c("setTimeoutAcrossTransitions")(function(){if(j!=null)h._setCookie(j,m,o)},0)},_setCookie:function i(j,k,l){var m={r:j,h:k,s:l},n=c("Base64").encode(c("FBJSON").stringify(m));c("Cookie").set("x-referer",n)},truncatePath:function i(j){var k=1024;if(j&&j.length>k)j=j.substring(0,k)+"...";return j}};f.exports=h}),null);
__d("HistoryManager",["SessionName","Env","Event","URI","UserAgent_DEPRECATED","emptyFunction","goOrReplace","isInIframe","setIntervalAcrossTransitions","XReferer"],(function a(b,c,d,e,f,g){__p&&__p();c("SessionName").getName();var h={history:null,current:0,fragment:null,isInitialized:function i(){return!!h._initialized},init:function i(){__p&&__p();if(!c("Env").ALLOW_TRANSITION_IN_IFRAME&&c("isInIframe")())return;if(h._initialized)return h;var j=new(c("URI"))(window.location.href),k=j.getFragment()||"";if(k.charAt(0)==="!"){k=k.substr(1);j.setFragment(k)}Object.assign(h,{_initialized:true,fragment:k,orig_fragment:k,history:[j],callbacks:[],lastChanged:Date.now(),canonical:new(c("URI"))("#"),user:0,enabled:true,debug:c("emptyFunction")});if(window.history&&history.pushState){this.lastURI=document.URL;try{window.history.replaceState(this.lastURI,null)}catch(l){if(!(l.number===-2147467259))throw l}c("Event").listen(window,"popstate",function(l){var m=l&&l.state&&typeof l.state==="string";if(m&&h.lastURI!=l.state){h.lastURI=l.state;h.lastChanged=Date.now();h.notify(new(c("URI"))(l.state).getUnqualifiedURI().toString())}}.bind(h));if(c("UserAgent_DEPRECATED").webkit()<534||c("UserAgent_DEPRECATED").chrome()<=13){c("setIntervalAcrossTransitions")(h.checkURI,42);h._updateRefererURI(this.lastURI)}return h}h._updateRefererURI(c("URI").getRequestURI(false));if(c("UserAgent_DEPRECATED").webkit()<500||c("UserAgent_DEPRECATED").firefox()<2){h.enabled=false;return h}if("onhashchange"in window)c("Event").listen(window,"hashchange",function(){setTimeout(h.checkURI.bind(h),0)});else c("setIntervalAcrossTransitions")(h.checkURI,42);return h},registerURIHandler:function i(j){h.callbacks.push(j);return h},setCanonicalLocation:function i(j){h.canonical=new(c("URI"))(j);return h},notify:function i(j){if(j==h.orig_fragment)j=h.canonical.getFragment();for(var k=0;k<h.callbacks.length;k++)try{if(h.callbacks[k](j))return true}catch(l){}return false},checkURI:function i(){__p&&__p();if(Date.now()-h.lastChanged<400)return;if(window.history&&history.pushState){var j=new(c("URI"))(document.URL).removeQueryData("ref").toString(),k=new(c("URI"))(h.lastURI).removeQueryData("ref").toString();if(j!=k){h.lastChanged=Date.now();h.lastURI=j;if(c("UserAgent_DEPRECATED").webkit()<534)h._updateRefererURI(j);h.notify(new(c("URI"))(j).getUnqualifiedURI().toString())}return}if(c("UserAgent_DEPRECATED").webkit()&&window.history.length==200){if(!h.warned)h.warned=true;return}var l=new(c("URI"))(window.location.href).getFragment();if(l.charAt(0)=="!")l=l.substr(1);l=l.replace(/%23/g,"#");if(l!=h.fragment.replace(/%23/g,"#")){h.debug([l," vs ",h.fragment,"whl: ",window.history.length,"QHL: ",h.history.length].join(" "));for(var m=h.history.length-1;m>=0;--m)if(h.history[m].getFragment().replace(/%23/g,"#")==l)break;++h.user;if(m>=0)h.go(m-h.current);else h.go("#"+l);--h.user}},_updateRefererURI:function i(j){if(j instanceof c("URI"))j=j.toString();c("XReferer").update(j,null,true)},go:function i(j,k,l){__p&&__p();if(window.history&&history.pushState){k||typeof j=="number";var m=new(c("URI"))(j).removeQueryData(["ref","messaging_source","ajaxpipe_fetch_stream"]).toString();h.lastChanged=Date.now();this.lastURI=m;if(l)window.history.replaceState(j,null,m);else window.history.pushState(j,null,m);if(c("UserAgent_DEPRECATED").webkit()<534)h._updateRefererURI(j);return false}h.debug("go: "+j);if(k===undefined)k=true;if(!h.enabled)if(!k)return false;if(typeof j=="number"){if(!j)return false;var n=j+h.current,o=Math.max(0,Math.min(h.history.length-1,n));h.current=o;n=h.history[o].getFragment()||h.orig_fragment;n=new(c("URI"))(n).removeQueryData("ref").getUnqualifiedURI().toString();h.fragment=n;h.lastChanged=Date.now();if(!h.user)c("goOrReplace")(window.location,window.location.href.split("#")[0]+"#!"+n,l);if(k)h.notify(n);h._updateRefererURI(n);return false}j=new(c("URI"))(j);if(j.getDomain()==new(c("URI"))(window.location.href).getDomain())j=new(c("URI"))("#"+j.getUnqualifiedURI());var p=h.history[h.current].getFragment(),q=j.getFragment();if(q==p||p==h.orig_fragment&&q==h.canonical.getFragment()){if(k)h.notify(q);h._updateRefererURI(q);return false}if(l)h.current--;var r=h.history.length-h.current-1;h.history.splice(h.current+1,r);h.history.push(new(c("URI"))(j));return h.go(1,k,l)},getCurrentFragment:function i(){var j=c("URI").getRequestURI(false).getFragment();return j==h.orig_fragment?h.canonical.getFragment():j}};f.exports=h}),null);
__d("PopoverAsyncMenu",["Bootloader","Event","KeyStatus","PopoverMenu","VirtualCursorStatus","setImmediate"],(function a(b,c,d,e,f,g){__p&&__p();var h,i,j={},k=0;h=babelHelpers.inherits(l,c("PopoverMenu"));i=h&&h.prototype;function l(m,n,o,p,q,r){"use strict";i.constructor.call(this,m,n,null,q);this._endpoint=p;this._endpointData=r||{};this._loadingMenu=o;this._instanceId=k++;j[this._instanceId]=this;this._mouseoverListener=c("Event").listen(n,"mouseover",this.fetchMenu.bind(this))}l.prototype._onLayerInit=function(){"use strict";if(!this._menu&&this._loadingMenu)this.setMenu(this._loadingMenu);this._popover.getLayer().subscribe("key",this._handleKeyEvent.bind(this));this._triggerInfo={isKeyDown:c("KeyStatus").isKeyDown(),isVirtualCursorTriggered:c("VirtualCursorStatus").isVirtualCursorTriggered()};c("setImmediate")(function(){return this.fetchMenu()}.bind(this))};l.prototype._onPopoverHide=function(){"use strict";i._onPopoverHide.call(this);this._triggerInfo=null};l.prototype._refetchMenu=function(){"use strict";if(this._menu){this._menu.destroy();this._fetched=false;this._mouseoverListener=c("Event").listen(this.getTriggerElem(),"mouseover",this.fetchMenu.bind(this))}};l.prototype.fetchMenu=function(){"use strict";__p&&__p();if(this._fetched)return;c("Bootloader").loadModules(["AsyncRequest"],function(m){new m().setURI(this._endpoint).setData(Object.assign({pmid:this._instanceId},this._endpointData)).send()}.bind(this),"PopoverAsyncMenu");this._fetched=true;if(this._mouseoverListener){this._mouseoverListener.remove();this._mouseoverListener=null}};l.prototype._setFocus=function(m){"use strict";var n=this._triggerInfo||{},o=n.isKeyDown,p=n.isVirtualCursorTriggered;this.setInitialFocus(m,o||p);this._triggerInfo=null};l.setMenu=function(m,n){"use strict";var o=j[m];o.setMenu(n);o._setFocus(n)};l.getInstance=function(m){"use strict";return j[m]};l.getInstanceByTriggerElem=function(m){"use strict";var n=null;Object.keys(j).forEach(function(o){if(j[o]._triggerElem==m)n=j[o]});return n};f.exports=l}),null);
__d("getInlineBoundingRect",["Rect"],(function a(b,c,d,e,f,g){__p&&__p();function h(i,j){__p&&__p();var k=i.getClientRects();if(!j||k.length===0)return c("Rect").getElementBounds(i);var l,m=false;for(var n=0;n<k.length;n++){var o=new(c("Rect"))(Math.round(k[n].top),Math.round(k[n].right),Math.round(k[n].bottom),Math.round(k[n].left),"viewport").convertTo("document"),p=o.getPositionVector(),q=p.add(o.getDimensionVector());if(!l||p.x<=l.l&&p.y>l.t){if(m)break;l=new(c("Rect"))(p.y,q.x,q.y,p.x,"document")}else{l.t=Math.min(l.t,p.y);l.b=Math.max(l.b,q.y);l.r=q.x}if(o.contains(j))m=true}if(!l)l=c("Rect").getElementBounds(i);return l}f.exports=h}),null);
__d("Tooltip",["fbt","AsyncRequest","ContextualLayer","ContextualLayerAutoFlip","CSS","DOM","Event","Style","TooltipData","Vector","emptyFunction","getElementText","getInlineBoundingRect","getOrCreateDOMID","nl2br","setImmediate"],(function a(b,c,d,e,f,g,h){__p&&__p();var i=null,j=null,k=null,l=null,m=null,n=null,o=[],p=[];function q(){if(!l){m=c("DOM").create("div",{className:"tooltipContent","data-testid":"tooltip_testid"});n=c("getOrCreateDOMID")(m);var u=c("DOM").create("i",{className:"arrow"}),v=c("DOM").create("div",{className:"uiTooltipX"},[m,u]);l=new(c("ContextualLayer"))({},v);l.shouldSetARIAProperties(false);l.enableBehavior(c("ContextualLayerAutoFlip"))}}function r(u,v){t._show(u,h._("Loading..."));new(c("AsyncRequest"))(v).setHandler(function(w){t._show(u,w.getPayload())}).setErrorHandler(c("emptyFunction")).send()}var s;c("Event").listen(document.documentElement,"mouseover",function(event){s=event;c("setImmediate")(function(){s=null})});var t=babelHelpers["extends"]({},c("TooltipData"),{isActive:function u(v){return v===i},process:function u(v,w){__p&&__p();if(!c("DOM").contains(v,w))return;if(v!==i){t.fetchIfNecessary(v);var x=t._get(v);if(x.suppress)return;if(x.delay)t._showWithDelay(v,x.delay);else t.show(v)}},fetchIfNecessary:function u(v){var w=v.getAttribute("data-tooltip-uri");if(w){v.removeAttribute("data-tooltip-uri");r(v,w)}},hide:function u(){if(i){l.hide();i=null;while(o.length)o.pop().remove()}},_show:function u(v,w){t._store({context:v,content:w});t.isActive(v)&&t.show(v)},show:function u(v){__p&&__p();var w=function w(){v.setAttribute("aria-describedby",n);l.show()},x=function x(){v.removeAttribute("aria-describedby");var z=t._get(v);if(z.className)c("CSS").removeClass(l.getRoot(),z.className);t.hide()},y=function y(H){if(!c("DOM").contains(i,H.getTarget()))x()};q();x();var z=t._get(v);if(z.suppress||t.allSuppressed)return;var A=z.content;if(z.overflowDisplay){if(v.offsetWidth>=v.scrollWidth)return;if(!A)A=c("getElementText")(v)}if(!A)return;var B=0,C=z.offsetY?parseInt(z.offsetY,10):0;if(z.position==="left"||z.position==="right")C=(v.offsetHeight-28)/2;else if(z.alignH!=="center"){var D=v.offsetWidth;if(D<32)B=(D-32)/2*(z.alignH==="right"?-1:1)}l.setContextWithBounds(v,c("getInlineBoundingRect")(v,s&&c("Vector").getEventPosition(s))).setOffsetX(B).setOffsetY(C).setPosition(z.position).setAlignment(z.alignH);if(typeof A==="string"){c("CSS").addClass(l.getRoot(),"invisible_elem");var E=c("DOM").create("span",{},c("nl2br")(A)),F=c("DOM").create("div",{className:"tooltipText"},E);c("DOM").setContent(m,F);w();c("CSS").removeClass(l.getRoot(),"invisible_elem")}else{c("DOM").setContent(m,A);w()}o.push(c("Event").listen(document.documentElement,"mouseover",y),c("Event").listen(document.documentElement,"focusin",y));var G=c("Style").getScrollParent(v);if(G!==window)o.push(c("Event").listen(G,"scroll",x));if(!z.persistOnClick)o.push(c("Event").listen(v,"click",x));if(z.className)c("CSS").addClass(l.getRoot(),z.className);i=v},_showWithDelay:function u(v,w){__p&&__p();if(v!==j)t._clearDelay();if(!k){var x=function x(y){if(!c("DOM").contains(j,y.getTarget()))t._clearDelay()};p.push(c("Event").listen(document.documentElement,"mouseover",x),c("Event").listen(document.documentElement,"focusin",x));j=v;k=setTimeout(function(){t._clearDelay();t.show(v)},w)}},_clearDelay:function u(){clearTimeout(k);j=null;k=null;while(p.length)p.pop().remove()}});c("Event").listen(window,"scroll",t.hide);f.exports=t}),null);
__d("reportData",["Banzai","SessionName","ifRequired"],(function a(b,c,d,e,f,g){var h={retry:true};function i(j){var k=arguments.length<=1||arguments[1]===undefined?{}:arguments[1],l={ft:k.ft||{},gt:k.gt||{}},m="-",n="r",o=c("ifRequired")("URI",function(q){return q.getRequestURI(true,true).getUnqualifiedURI().toString()},function(){return location.pathname+location.search+location.hash}),p=[c("SessionName").getName(),Date.now(),"act",Date.now(),0,m,j,m,m,n,o,l,0,0,0,0];c("Banzai").post("eagle_eye_event",p,h)}f.exports=i}),null);
__d("ProfileLink.react",["Link.react","React","URI"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h,i,j=c("React").PropTypes;h=babelHelpers.inherits(k,c("React").Component);i=h&&h.prototype;k.prototype.render=function(){var l=new(c("URI"))("/ajax/hovercard/user.php").setQueryData({id:this.props.uid});return c("React").createElement(c("Link.react"),babelHelpers["extends"]({},this.props,{href:"/"+this.props.uid,"data-hovercard":l}),this.props.children)};function k(){h.apply(this,arguments)}k.propTypes={uid:j.string.isRequired};f.exports=k}),null);
__d("PopoverLoadingMenu",["cx","BehaviorsMixin","DOM","PopoverMenuInterface","joinClasses"],(function a(b,c,d,e,f,g,h){__p&&__p();var i,j;i=babelHelpers.inherits(k,c("PopoverMenuInterface"));j=i&&i.prototype;function k(l){"use strict";j.constructor.call(this);this._config=l||{};this._theme=l.theme||{}}k.prototype.getRoot=function(){"use strict";if(!this._root){this._root=c("DOM").create("div",{className:c("joinClasses")("_54nq",this._config.className,this._theme.className)},c("DOM").create("div",{className:"_54ng"},c("DOM").create("div",{className:"_54nf _54af"},c("DOM").create("span",{className:"_54ag"}))));if(this._config.behaviors)this.enableBehaviors(this._config.behaviors)}return this._root};Object.assign(k.prototype,c("BehaviorsMixin"),{_root:null});f.exports=k}),null);
__d("Clipboard",["UserAgent"],(function a(b,c,d,e,f,g){__p&&__p();var h={isSupported:function i(){return document.queryCommandSupported instanceof Function&&document.queryCommandSupported("copy")&&!(c("UserAgent").isBrowser("Firefox < 41")||c("UserAgent").isDevice("iPhone"))||c("UserAgent").isBrowser("Chrome >= 43")},copy:function i(j,k){__p&&__p();var l=k||document.body;if(!l)return false;var m=true,n=document.createElement("textarea");l.appendChild(n);n.value=j;n.select();try{m=document.execCommand("copy")}catch(o){m=false}l.removeChild(n);return m}};f.exports=h}),null);
__d("Network",["mixInEventEmitter"],(function a(b,c,d,e,f,g){__p&&__p();var h=true,i=b.navigator.connection,j={0:"unknown",1:"ethernet",2:"wifi",3:"2g",4:"3g"};function k(){return h}function l(q){if(q==h)return;h=q;p.emit(q?"online":"offline")}function m(){return i?i.bandwidth:h?Infinity:0}function n(){return i?i.metered:false}function o(){var q=i?String(i.type):"0";return j[q]||q}var p={getBandwidth:m,getType:o,isMetered:n,isOnline:k,setOnline:l};c("mixInEventEmitter")(p,{online:true,offline:true});if(b.addEventListener){b.addEventListener("online",l.bind(null,true));b.addEventListener("offline",l.bind(null,false))}else if(b.attachEvent){b.attachEvent("online",l.bind(null,true));b.attachEvent("offline",l.bind(null,false))}f.exports=p}),null);
__d("EncryptedImg",["EncryptedImgUtils","URI","XHRRequest","getCrossOriginTransport"],(function a(b,c,d,e,f,g){__p&&__p();var h={insertIntoStyleBackgroundImage:function m(n,o){var p=function(o,q){if(o)o.style.backgroundImage="url('"+q+"')"}.bind(undefined,o);h.load(n,p)},insertIntoDOM:function m(n,o){var p=function(o,q){if(o)o.setAttribute("src",q)}.bind(undefined,o);h.load(n,p)},load:function m(n,o){var p=arguments.length<=2||arguments[2]===undefined?true:arguments[2],q=new(c("URI"))(n),r=c("EncryptedImgUtils").extractKey(q),s=i.bind(undefined,r,o,p);s.includeHeaders=true;new(c("XHRRequest"))(q.toString()).setTransportBuilder(c("getCrossOriginTransport")).setMethod("GET").setResponseType("arraybuffer").setResponseHandler(s).send()},dataUrlPrefix:function m(n){var o=arguments.length<=1||arguments[1]===undefined?32:arguments[1];if(!n.startsWith("data:"))return n;var p=n.indexOf(",");if(p<0||p>o)p=o;return n.slice(0,p)}};Object.assign(h,c("EncryptedImgUtils"));f.exports=h;function i(m,n,o,p,q){__p&&__p();if(!m){n(l(p,k(q)));return}var r=j(m),s=new Uint8Array(p),t=s.subarray(2,14);s=s.subarray(14,s.length);var u={name:"AES-GCM",iv:t,tagLength:128};window.crypto.subtle.importKey("raw",r,u,false,["encrypt","decrypt"]).then(function(v){return window.crypto.subtle.decrypt(u,v,s)}).then(function(v){if(o)n(l(v,k(q)));else n(v)})["catch"](function(){})}function j(m){if(typeof m=="string"){var n=new Uint8Array(Math.floor(m.length/2)),o=0;m.replace(/(..)/g,function(m){n[o++]=parseInt(m,16)});return n}return null}function k(m){var n="image/jpeg",o=m.toLowerCase().match(/content-type:\s?([\w\/]*)\s/);if(o&&o.length>1)n=o[1];return n}function l(m,n){var o=new Uint8Array(m),p="";for(var q=0,r=o.byteLength;q<r;++q)p+=String.fromCharCode(o[q]);return"data:"+n+";base64,"+window.btoa(p)}}),null);
__d("flatMapArray",[],(function a(b,c,d,e,f,g){__p&&__p();var h=Array.prototype.push;function i(j,k){var l=[];for(var m=0;m<j.length;m++){var n=k.call(j,j[m],m);if(Array.isArray(n))h.apply(l,n);else if(n!=null)throw new TypeError('flatMapArray: Callback must return an array or null, received "'+n.toString()+'" instead')}return l}f.exports=i}),null);
__d("VideoChainingCaller",[],(function a(b,c,d,e,f,g){f.exports=Object.freeze({INTERNAL:"internal",WWW_FEED_PIVOTS:"www_feed_pivots",WWW_FEED_SNOWLIFT:"www_feed_snowlift",MISC_PHOTO_SET:"misc_photo_set",MOBILE:"mobile",SEARCH:"search",WWW_FEED_RHC:"www_feed_rhc",WWW_NOTIFICATION:"www_notification",WWW_PERMALINK:"www_permalink",WWW_PERMALINK_RHC:"www_permalink_rhc",WWW_PERMALINK_RHC_FROM_NOTIFICATION:"www_permalink_rhc_from_notification",MY_VIDEO_CHANNELS_ENT_QUERY:"my_video_channels_ent_query",TOP_FOLLOWED_VIDEO_CHANNELS_ENT_QUERY:"top_followed_video_channels_ent_query",BADGE:"badge",PAGINATION:"pagination",SUBTITLE:"subtitle",CHANNEL_VIEW_FROM_UNKNOWN:"channel_view_from_unknown",CHANNEL_VIEW_FROM_NEWSFEED:"channel_view_from_newsfeed",CHANNEL_VIEW_FROM_EXPLOREFEED:"channel_view_from_explorefeed",LIVE_INDEXER_FROM_EXPLOREFEED:"live_indexer_from_explorefeed",LIVE_INDEXER_FROM_NEWSFEED:"live_indexer_from_newsfeed",NN_INDEXER_FROM_NEWSFEED:"nn_indexer_from_newsfeed",CHANNEL_VIEW_FROM_SEARCH:"channel_view_from_search",CHANNEL_VIEW_FROM_NEWSFEED_PIVOT:"channel_view_from_newsfeed_pivot",NEWSFEED_PIVOT_INLINE:"newsfeed_pivot_inline",MOBILE_NEWSFEED_PIVOT_INLINE:"mobile_newsfeed_pivot_inline",CHANNEL_VIEW_FROM_PAGE_CALL_TO_ACTION:"channel_view_from_page_call_to_action",CHANNEL_VIEW_FROM_PAGE_TIMELINE:"channel_view_from_page_timeline",CHANNEL_VIEW_FROM_PAGE_TIMELINE_FEATURED:"channel_view_from_page_timeline_featured",CHANNEL_VIEW_FROM_PAGE_VIDEO_TAB:"channel_view_from_page_video_tab",CHANNEL_VIEW_FROM_PAGE_HOME_HERO:"channel_view_from_page_home_hero",CHANNEL_VIEW_FROM_USER_TIMELINE:"channel_view_from_user_timeline",CHANNEL_VIEW_FROM_USER_VIDEO_TAB:"channel_view_from_user_video_tab",CHANNEL_VIEW_FROM_GROUP_TIMELINE:"channel_view_from_group_timeline",CHANNEL_VIEW_FROM_GROUP_VIDEO_TAB:"channel_view_from_group_video_tab",CHANNEL_VIEW_FROM_SAVED_STORY:"channel_view_from_saved_story",SAVED_STORY_INLINE:"saved_story_inline",CHANNEL_VIEW_FROM_SHARED_WITH_YOU_STORY:"channel_view_from_shared_with_you_story",SHARED_WITH_YOU_STORY_INLINE:"shared_with_you_story_inline",CHANNEL_VIEW_FROM_LATEST_FROM_YOUR_CHANNELS_STORY:"channel_view_from_latest_from_your_channels_story",LATEST_FROM_YOUR_CHANNELS_STORY_INLINE:"latest_from_your_channels_story_inline",CHANNEL_VIEW_FROM_CHANNEL_PIVOT:"channel_view_from_channel_pivot",CHANNEL_PIVOT_INLINE:"channel_pivot_inine",CHANNEL_VIEW_FROM_CHANNEL_RECOMMENDED_CHANNEL_STORY:"channel_view_from_recommended_channel_story",RECOMMENDED_CHANNEL_STORY_INLINE:"recommended_channel_story_inline",CHANNEL_VIEW_FROM_VIDEO_HOME:"channel_view_from_video_home",VIDEO_HOME_INLINE:"video_home_inline",VIDEO_HOME_CHANNEL_SEE_ALL:"video_home_channel_see_all",SOCIAL_PLAYER_UP_NEXT:"social_player_up_next",CHANNEL_VIEW_FROM_CASTING:"channel_view_from_casting",CONNECTED_TV:"connected_tv",CONNECTED_TV_DISCOVERY:"connected_tv_discovery",CONNECTED_TV_PLAYER:"connected_tv_player",CONNECTED_TV_PROFILE:"connected_tv_profile",VIDEO_HOME_FEED:"video_home_feed",VIDEO_HOME_HERO:"video_home_hero",FEED_SURVEY_SWIPE:"feed_survey_swipe",FEED_PIVOTS_INLINE:"feed_pivots_inline",CHANNEL_VIEW_FROM_FEED_PIVOTS:"channel_view_from_feed_pivots",VIDEO_SETS_CACHE_REFRESH:"video_sets_cache_refresh",VIDEO_SETS_CACHE_CHECK:"video_sets_cache_check",DUMMY_STORY_RECOMMENDED_VIDEOS:"dummy_story_recommended_videos",DUMMY_STORY_FRIENDS_ENJOYING:"dummy_story_friends_enjoying",LIVE_EVENT_VIDEO_SET:"live_event_video_set",LIVE_VIDEOS_SET:"live_videos_set",SINGLE_CREATOR_VIDEO_SET:"single_creator_video_set",FRT_TOOL:"frt_tool",DUMMY_STORY_FRIENDS_ENJOYING_NOW:"dummy_story_friends_enjoying_now",DUMMY_STORY_DUMMY_ACTION:"dummy_story_dummy_action",OCULUS_VIDEO:"oculus_video",TRENDING_DEMOGRAPHICS_LIVE:"trending_demographics_live",LIVE_MAP:"live_map",UNCONNECTED_LIVE_VIDEO:"unconnected_live_video",PROFILE_VIDEO_GALLERY:"profile_video_gallery",CHANNEL_VIEW_FROM_PLAYLIST:"channel_view_from_playlist",OCULUS_SOCIAL_HUB:"oculus_social_hub",AKIRA:"akira",IS_LIVE_VIDEO_CHAINING:"is_live_video_chaining",IS_LIVE_VIDEO_CHAINING_OTHERS:"is_live_video_chaining_others",VIDEO_CREATOR_CHAINING:"video_creator_chaining",TAHOE:"tahoe",LIVING_ROOM:"living_room",SHOWS_COVER_TRAILER:"shows_cover_trailer",SHOWS_EPISODES_TAB:"shows_episodes_tab",SHOWS_PLAYLISTS_TAB:"shows_playlists_tab",SHOWS_HOME_TAB:"shows_home_tab",SHOWS_MORE_VIDEOS_TAB:"shows_more_videos_tab",PARENT_PAGE_TIMELINE:"parent_page_timeline",WATCH_WATCHLIST_TAB:"watch_watchlist_tab",WATCH_FEED_TAB:"watch_feed_tab",WNS:"wns",EXPLORE_FEED_DEEP_DIVE:"explore_feed_deep_dive"})}),null);
__d("cssVar",[],(function a(b,c,d,e,f,g){function h(i){throw new Error('cssVar("'+i+'"): Unexpected class transformation.')}f.exports=h}),null);
__d("QuicklingRefreshOverheadUtil",["QuicklingConfig","WebStorage","performanceAbsoluteNow"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h=null,i=1e4,j={onQuicklingStart:function k(){h=c("performanceAbsoluteNow")()},onQuicklingVersionMatch:function k(){h=null},onQuicklingRefreshStart:function k(){if(!c("QuicklingConfig").logRefreshOverhead||h===null)return;var l=c("WebStorage").getSessionStorage();if(!l)return;l.setItem("quickling_refresh_overhead",(c("performanceAbsoluteNow")()-h).toString());l.setItem("quickling_refresh_start",Date.now().toString())},getOverhead:function k(l){__p&&__p();if(!c("QuicklingConfig").logRefreshOverhead)return null;var m=c("WebStorage").getSessionStorageForRead();if(!m)return null;var n=m.getItem("quickling_refresh_start");if(n==null)return null;if(l-parseInt(n,10)>i)return null;var o=m.getItem("quickling_refresh_overhead");return o!=null?parseFloat(o):null}};f.exports=j}),null);
__d("react-relay/classic/query/stableStringify",[],(function a(b,c,d,e,f,g){"use strict";__p&&__p();function h(j){return j!==null&&Object.prototype.toString.call(j)==="[object Object]"}function i(j){__p&&__p();var k=Array.isArray(j),l=h(j);if(k||l){var m=Object.keys(j);if(m.length){var n=[];m.sort();for(var o=0;o<m.length;o++){var p=m[o],q=j[p];if(h(q)||Array.isArray(q))q=i(q);else q=JSON.stringify(q);n.push(p+":"+q)}if(k)return"["+n.join(",")+"]";else return"{"+n.join(",")+"}"}}return JSON.stringify(j)}f.exports=i}),null);
__d("ServiceWorkerRegistration",["Promise","ClientServiceWorkerMessage","EventListener","Run"],(function a(b,c,d,e,f,g){__p&&__p();var h=!!navigator.serviceWorker,i={};function j(){var l=navigator.serviceWorker;if(!h||!l)throw new Error("serviceWorker is not supported in this browser");return l}var k={isSupported:function l(){return h},registerWorkerIfUnregisteredAfterDD:function l(m){c("Run").onAfterLoad(function(){k.registerWorkerIfUnregistered(m)})},registerWorkerIfUnregistered:function l(m){__p&&__p();if(i[m])return i[m];var n=j();i[m]=new(c("Promise"))(function(o,p){__p&&__p();this.getWorkerRegistration(m).done(function(q){if(!q){var r=c("EventListener").listen(window,"message",function(event){if(event.data&&event.data.command&&event.data.command==="ServiceWorkerInstallError")p()});c("Promise").resolve(n.register(m,{updateViaCache:"all"})).done(function(){r.remove();c("Promise").resolve(n.ready).done(o)})}else o(q)})}.bind(this));i[m].done(function(){i[m]=null});return i[m]},unregisterControllingWorker:function l(){return new(c("Promise"))(function(m,n){var o=new(c("ClientServiceWorkerMessage"))("unregister",{},function(){m(true)});o.sendViaController()})},getWorkerRegistration:function l(m){var n=j();return c("Promise").resolve(n.getRegistration(m))},isAWorkerActivated:function l(){if(!navigator.serviceWorker||!navigator.serviceWorker.getRegistration)return c("Promise").resolve(false);return navigator.serviceWorker.getRegistration().then(function(m){return!!(m&&m.active)})}};f.exports=k}),null);