/*!CK:1203995399!*//*1403490868,*/ if (self.CavalryLogger) { CavalryLogger.start_js(["PCBdl"]); } __d("FeedBlacklistButton",["Arbiter","Event"],function(a,b,c,d,e,f,g,h){var i={BLACKLIST:'feed_blacklist',UNBLACKLIST:'feed_unblacklist',init:function(j,k,l,m){h.listen(k,'click',function(){var n={profile_id:m};g.inform(i.BLACKLIST,n);g.inform('UnfollowingUser',n);});h.listen(l,'click',function(){var n={profile_id:m};g.inform(i.UNBLACKLIST,n);g.inform('FollowingUser',n);});g.subscribe(i.BLACKLIST,function(n,o){if(m==o.profile_id)j.swap();});g.subscribe(i.UNBLACKLIST,function(n,o){if(m==o.profile_id)j.unswap();});}};e.exports=a.FeedBlacklistButton||i;},null); __d("XPubcontentChainedSuggestionsControllerURIBuilder",["XControllerURIBuilder"],function(a,b,c,d,e,f,g){e.exports=g.create("\/pubcontent\/chained_suggestions\/",{pageid:{type:"Int"},profileid:{type:"Int"},eh:{type:"Bool"},friendid:{type:"Int"}});},null); __d("SubscribeButton",["Arbiter","AsyncRequest","Button","CSS","Event","Tooltip","XPubcontentChainedSuggestionsControllerURIBuilder"],function(a,b,c,d,e,f,g,h,i,j,k,l,m){var n={SUBSCRIBED:'FollowingUser',UNSUBSCRIBED:'UnfollowingUser',_enable:function(o){i.setEnabled(o,true);l.remove(o);},_disable:function(o,p){i.setEnabled(o,false);if(p)l.set(o,p);},init:function(o,p,q,r,s,t,u,v,w){v=(typeof v!=='undefined')?v:false;var x=(typeof w!=='undefined');if(x&&!u&&!v)n._disable(p,w);k.listen(p,'click',function(){g.inform(n.SUBSCRIBED,{profile_id:r,suppress:true});});g.subscribe(n.SUBSCRIBED,function(y,z){if(r==z.profile_id){if(!s)q.suppressNextMouseEnter&&q.suppressNextMouseEnter();if(x){if(typeof z.connected!=='undefined')u=z.connected;if(u||v)n._enable(p);}o.swap();if(t===true){var aa=(new m()).setBool('eh',true).setInt('profileid',r).getURI();new h().setURI(aa).send();}}});g.subscribe(n.UNSUBSCRIBED,function(y,z){if(r==z.profile_id){o.unswap();q.hideFlyout&&q.hideFlyout();if(x){if(typeof z.connected!=='undefined')u=z.connected;if(!u&&!v)n._disable(p,w);}g.inform('SubMenu/Reset');}});},initSubscribe:function(o,p){k.listen(o,'click',function(){setTimeout(g.inform.bind(g,n.SUBSCRIBED,{profile_id:p}),0);});},initUnsubscribe:function(o,p){k.listen(o,'click',function(){setTimeout(g.inform.bind(g,n.UNSUBSCRIBED,{profile_id:p}),0);});},initSubscribeMenuItem:function(o,p,q){j.hide(p);this._initMenuItem(o,p,q);},initUnsubscribeMenuItem:function(o,p,q){j.hide(o);this._initMenuItem(o,p,q);},_initMenuItem:function(o,p,q){this.initSubscribe(o,q);this.initUnsubscribe(p,q);g.subscribe(n.SUBSCRIBED,function(r,s){j.hide(o);j.show(p);});g.subscribe(n.UNSUBSCRIBED,function(r,s){j.hide(p);j.show(o);});}};e.exports=n;},null); __d("BookmarkFeedSorter",["Run"],function(a,b,c,d,e,f,g){var h,i={init:function(j){h=j;g.onLeave(function(){h=null;});},setChecked:function(j){if(h)h.setValue(j);}};e.exports=i;},null); __d("LitestandStream",["Arbiter","DOM","LitestandMessages","LitestandStoryInsertionStatus","LitestandStreamConfig","ViewportBounds","copyProperties","csx","ge","getElementPosition"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p){var q,r,s,t,u,v={init:function(w,x,y){q=x;s=y;t=w;r=u=0;g.subscribe(i.STORIES_INSERTED,function(z,aa){if(!aa||!aa.substream_id||!q)return;var ba=h.scry(o(aa.substream_id),v.getStoriesSelector());ba.forEach(function(ca){var da=h.scry(ca,"._5pbw"),ea=h.scry(ca,"._5pcp")[0],fa=h.scry(ca,"._5pbx")[0];if(da[0]&&ea&&fa){var ga='';for(var ha=0;hap(v.getStreamRoot()).y)return false;return j.canInsert();},getFeedStreamID:function(){return parseInt(t.id.split('feed_stream_')[1],16)%1e+08;}};e.exports=v;},null); __d("DialogHideOnSuccess",["CSS","copyProperties","cx"],function(a,b,c,d,e,f,g,h,i){function j(k){"use strict";this._layer=k;}j.prototype.enable=function(){"use strict";this._subscription=this._layer.subscribe('success',this._handle.bind(this));};j.prototype.disable=function(){"use strict";this._subscription.unsubscribe();this._subscription=null;};j.prototype._handle=function(k,event){"use strict";if(g.hasClass(event.getTarget(),"_s"))this._layer.hide();};h(j.prototype,{_subscription:null});e.exports=j;},null); __d("Ease",[],function(a,b,c,d,e,f){var g={makePowerOut:function(h){return function(i){var j=1-Math.pow(1-i,h);return (j*10000|0)/10000;};},makePowerIn:function(h){return function(i){var j=Math.pow(i,h);return (j*10000|0)/10000;};},makePowerInOut:function(h){return function(i){var j=((i*=2)<1)?Math.pow(i,h)*.5:1-Math.abs(Math.pow(2-i,h))*.5;return (j*10000|0)/10000;};},sineOut:function(h){return Math.sin(h*Math.PI*.5);},sineIn:function(h){return 1-Math.cos(h*Math.PI*.5);},sineInOut:function(h){return -.5*(Math.cos(Math.PI*h)-1);},circOut:function(h){return Math.sqrt(1-(--h)*h);},circIn:function(h){return -(Math.sqrt(1-h*h)-1);},circInOut:function(h){return ((h*=2)<1)?-.5*(Math.sqrt(1-h*h)-1):.5*(Math.sqrt(1-(h-=2)*h)+1);},bounceOut:function(h){if(h<1/2.75){return (7.5625*h*h);}else if(h<2/2.75){return (7.5625*(h-=1.5/2.75)*h+.75);}else if(h<2.5/2.75){return (7.5625*(h-=2.25/2.75)*h+.9375);}else return (7.5625*(h-=2.625/2.75)*h+.984375);},bounceIn:function(h){return 1-g.bounceOut(1-h);},bounceInOut:function(h){return (h<.5)?g.bounceIn(h*2)*.5:g.bounceOut(h*2-1)*.5+.5;},_makeBouncy:function(h){h=h||1;return function(i){i=((1-Math.cos(i*Math.PI*h))*(1-i))+i;return i<=1?i:2-i;};},makeBounceOut:function(h){return this._makeBouncy(h);},makeBounceIn:function(h){var i=this._makeBouncy(h);return function(j){return 1-i(1-j);};},makeElasticOut:function(h,i){h<1&&(h=1);var j=Math.PI*2;return function(k){if(k===0||k===1)return k;var l=i/j*Math.asin(1/h);return h*Math.pow(2,-10*k)*Math.sin((k-l)*j/i)+1;};},makeElasticIn:function(h,i){h<1&&(h=1);var j=Math.PI*2;return function(k){if(k===0||k===1)return k;var l=i/j*Math.asin(1/h);return -(h*Math.pow(2,10*(k-=1))*Math.sin((k-l)*j/i));};},makeElasticInOut:function(h,i){h<1&&(h=1);i*=1.5;var j=Math.PI*2;return function(k){var l=i/j*Math.asin(1/h);return ((k*=2)<1)?-.5*h*Math.pow(2,10*(k-=1))*Math.sin((k-l)*j/i):1+.5*h*Math.pow(2,-10*(k-=1))*Math.sin((k-l)*j/i);};},makeBackOut:function(h){return function(i){return (--i*i*((h+1)*i+h)+1);};},makeBackIn:function(h){return function(i){return i*i*((h+1)*i-h);};},makeBackInOut:function(h){h*=1.525;return function(i){return ((i*=2)<1)?.5*(i*i*((h+1)*i-h)):.5*((i-=2)*i*((h+1)*i+h)+2);};},easeOutExpo:function(h){return -Math.pow(2,-10*h)+1;}};g.elasticOut=g.makeElasticOut(1,.3);g.elasticIn=g.makeElasticIn(1,.3);g.elasticInOut=g.makeElasticInOut(1,.3);g.backOut=g.makeBackOut(1.7);g.backIn=g.makeBackIn(1.7);g.backInOut=g.makeBackInOut(1.7);e.exports=g;},null); __d("StickyController",["CSS","Event","Style","Vector","queryThenMutateDOM"],function(a,b,c,d,e,f,g,h,i,j,k){function l(m,n,o,p){"use strict";this._element=m;this._marginTop=n;this._onchange=o;this._proxy=p||m.parentNode;this._boundQueryOnScroll=this.shouldFix.bind(this);this._boundMutateOnScroll=this._mutateOnScroll.bind(this);}l.prototype.handleScroll=function(){"use strict";k(this._boundQueryOnScroll,this._boundMutateOnScroll);};l.prototype.shouldFix=function(){"use strict";return j.getElementPosition(this._proxy,'viewport').y<=this._marginTop;};l.prototype._mutateOnScroll=function(){"use strict";var m=this.shouldFix();if(this.isFixed()!==m){i.set(this._element,'top',m?this._marginTop+'px':'');g.conditionClass(this._element,'fixed_elem',m);this._onchange&&this._onchange(m);}};l.prototype.start=function(){"use strict";if(this._event)return;this._event=h.listen(window,'scroll',this.handleScroll.bind(this));setTimeout(this.handleScroll.bind(this),0);};l.prototype.stop=function(){"use strict";this._event&&this._event.remove();this._event=null;};l.prototype.isFixed=function(){"use strict";return g.hasClass(this._element,'fixed_elem');};e.exports=l;},null); __d("Tour",["Arbiter","LayerDestroyOnHide","LayerHideOnEscape","NavigationMessage","copyProperties"],function(a,b,c,d,e,f,g,h,i,j,k){function l(){"use strict";if(l._instance)l._instance.setTourComplete();l._instance=this;}l.prototype.init=function(){"use strict";this._pageLeaveToken=g.subscribe('onload/exit',this.handleLeavePage.bind(this));this._navigationBeginToken=g.subscribe(j.NAVIGATION_BEGIN,this.handleTransition.bind(this));this.steps={};return this;};l.prototype.registerStep=function(m,n){"use strict";m.disableBehavior(h);m.disableBehavior(i);this.steps[n]=m;m.subscribe('show',function(){m.inform('tour-dialog-show',m);});if(!this.getTourStarted())this.setTourStart();};l.prototype._unsubscribeSubscriptions=function(){"use strict";this._navigationBeginToken.unsubscribe();this._pageLeaveToken.unsubscribe();};l.prototype.handleLeavePage=function(){"use strict";this._unsubscribeSubscriptions();};l.prototype.handleTransition=function(){"use strict";this._unsubscribeSubscriptions();};l.prototype.handleTourStart=function(){"use strict";};l.prototype.handleTourStop=function(){"use strict";};l.prototype.handleTourComplete=function(){"use strict";};l.prototype.showStep=function(m){"use strict";var n=this.steps[m];if(!(this.openDialog==n))this.hideOpenDialog();if(!n)return;this.openDialog=n;n.show();};l.prototype.hideOpenDialog=function(){"use strict";if(this.openDialog){this.openDialog.hide();this.openDialog=null;}};l.prototype.getTourStarted=function(){"use strict";return this.tourStarted;};l.prototype.setTourStart=function(){"use strict";this.tourStarted=true;this.handleTourStart();};l.prototype.setTourStop=function(){"use strict";this.tourStarted=false;this.hideOpenDialog();this.handleTourStop();};l.prototype.setTourComplete=function(){"use strict";if(this.tourComplete)return;this.setTourStop();this.tourComplete=true;this.handleTourComplete();};l.prototype.hideStep=function(m){"use strict";var n=this.steps[m];n&&n.hide();};l.getInstance=function(){"use strict";return l._instance||(l._instance=new l());};k(l.prototype,{tourStarted:false,tourComplete:false,_navigationBeginToken:null,_pageLeaveToken:null,steps:{},openDialog:null});e.exports=l;},null); __d("reportData",["EagleEye","userAction"],function(a,b,c,d,e,f,g,h){function i(j,k){k=k||{};var l={ft:(k.ft||{}),gt:(k.gt||{})},m='-',n=[],o='r',p=[Date.now(),h.getCurrentUECount(),m,j,m,m,o,a.URI?a.URI.getRequestURI(true,true).getUnqualifiedURI().toString():location.pathname+location.search+location.hash,l,0,0,0,0].concat(n);g.log('act',p);}e.exports=i;},null); __d("FutureSideNavItem",["Arbiter","CSS","DOM","Parent","$","createArrayFrom"],function(a,b,c,d,e,f,g,h,i,j,k,l){function m(n,o){"use strict";this.id=n.id;this.up=o;this.endpoint=n.endpoint;this.type=n.type;this.node=n.node||k(n.id);this.paths=n.path?l(n.path):[];this.keys=n.key?l(n.key):[];var p=this._findKeys(this.keys);this.numericKey=p.numeric||this.keys[0];this.textKey=p.text||this.keys[0];this._pathPattern=this._buildRegex(this.paths);this._keyPattern=this._buildRegex(this.keys);this.hideLoading();this.hideSelected();}m.prototype.equals=function(n){"use strict";return n&&n.id===this.id;};m.prototype.getLinkNode=function(){"use strict";return (i.scry(this.node,'a.item')[0]||i.scry(this.node,'a.subitem')[0]);};m.prototype.matchPath=function(n){"use strict";return this._matchInput(this._pathPattern,n);};m.prototype.matchKey=function(n){"use strict";return this._matchInput(this._keyPattern,n);};m.prototype._matchInput=function(n,o){"use strict";var p=n&&n.exec(o);return p&&p.slice(1);};m.prototype.getTop=function(){"use strict";return this.isTop()?this:this.up.getTop();};m.prototype.isTop=function(n){"use strict";return !this.up;};m.prototype.setCount=function(n,o){"use strict";return this._updateCount(n,true);};m.prototype.incrementCount=function(n,o){"use strict";return this._updateCount(n,false);};m.prototype._updateCount=function(n,o,p){"use strict";var q=i.scry(this.node,'span.count')[0],r=q&&i.scry(q,'span.countValue')[0];if(r){var s=o?0:parseInt(i.getText(r),10),t=Math.max(0,s+n),u=this.isTop()?'hidden':'hiddenSubitem';i.setContent(r,t);p&&h.conditionClass(this.node,u,!t);h.conditionClass(q,'hidden_elem',!t);if(this.isTop()){var v=i.scry(this.node,'div.linkWrap')[0];if(v){h.conditionClass(v,'noCount',!t);h.conditionClass(v,'hasCount',t);}}}g.inform('NavigationMessage.COUNT_UPDATE_DONE');};m.prototype.showLoading=function(){"use strict";h.addClass(this.node,'loading');};m.prototype.hideLoading=function(){"use strict";h.removeClass(this.node,'loading');};m.prototype.showSelected=function(){"use strict";h.addClass(this.node,'selectedItem');h.hasClass(this.node,'hider')&&h.addClass(this._getExpanderParent(),'expandedMode');};m.prototype.hideSelected=function(){"use strict";h.removeClass(this.node,'selectedItem');};m.prototype.showChildren=function(){"use strict";h.addClass(this.node,'open');};m.prototype.hideChildren=function(){"use strict";h.removeClass(this.node,'open');};m.prototype._getExpanderParent=function(){"use strict";return j.byClass(this.node,'expandableSideNav');};m.prototype._buildRegex=function(n){"use strict";if(n.length){var o=n.map(function(p){if(typeof p==="string"){return p.replace(/([^a-z0-9_])/ig,'\\$1');}else if(p&&p.regex)return p.regex;});return new RegExp('^(?:'+o.join('|')+')$');}};m.prototype._findKeys=function(n){"use strict";var o=/^(app|group|fl)_/,p={};for(var q=0;q