/*!CK:2777384796!*//*1403496520,*/ if (self.CavalryLogger) { CavalryLogger.start_js(["VJfL1"]); } __d("PymkXout",["Event","DOM","CSS"],function(a,b,c,d,e,f,g,h,i){var j={init:function(k,l,m){g.listen(l,'click',function(event){if(m==='pymk_jewel'){i.hide(k);}else h.remove(k);});g.listen(k,'mouseover',function(){i.show(l);});g.listen(k,'mouseout',function(){i.hide(l);});}};e.exports=j;},null); __d("RequestListController",["Arbiter","ChannelConstants","CSS","DOM"],function(a,b,c,d,e,f,g,h,i,j){function k(l){"use strict";this.$RequestListController0=l;this.$RequestListController1=0;this.$RequestListController2={};g.subscribe(h.getArbiterType('jewel_requests_remove_old'),this.$RequestListController3.bind(this));this.fromDom();}k.prototype.$RequestListController4=function(l){"use strict";var m=l.match(/^(\d+)_(\d+)/);return (m)?{requester:m[1],type:m[2]}:undefined;};k.prototype.$RequestListController5=function(l){"use strict";var m=l?this.$RequestListController4(l):undefined,n;if(m&&m.requester){n=parseInt(m.requester,10);if(isNaN(n))n=undefined;}var o;if(m&&m.type){o=parseInt(m.type,10);if(isNaN(o))o=undefined;}return {requester:n,type:o};};k.prototype.fromDom=function(){"use strict";j.scry(this.$RequestListController0,'.fbRequestList li.objectListItem').forEach(function(l){var m=l.getAttribute('id');if(m){var n=this.$RequestListController5(m);if(n.requester)this.$RequestListController2[n.requester]={id:m,item:l};++this.$RequestListController1;}}.bind(this));this.$RequestListController6();};k.prototype.$RequestListController3=function(l,m){"use strict";var n=this.$RequestListController2[m.obj.from];if(n){j.remove(n.item);delete this.$RequestListController2[m.obj.from];--this.$RequestListController1;this.$RequestListController6();}};k.prototype.$RequestListController6=function(){"use strict";j.scry(this.$RequestListController0,'li.empty').forEach(function(l){i.conditionShow(l,this.$RequestListController1<=0);}.bind(this));};e.exports=k;},null); __d("JewelFollowupUnit",["DOM","Arbiter","CSS","csx","copyProperties"],function(a,b,c,d,e,f,g,h,i,j,k){function l(m,n,o,p){this._followup=n;this._parentContainer=this._followup.parentNode;this._friendRequest=this._parentContainer.firstChild;o&&h.subscribe(o,function(r,s){(s.uid==m)&&this._showFollowup();}.bind(this));var q=g.scry(this._parentContainer,"._e7")[0];q&&(q.onclick=this._hideFollowup.bind(this));p&&h.subscribe(p,function(r,s){(s.uid==m)&&this._hideFollowup();}.bind(this));}k(l.prototype,{_showFollowup:function(){this._updateRequestAnimClass();i.addClass(this._followup,'active');i.addClass(this._parentContainer,'followupActivated');},_hideFollowup:function(){this._updateRequestAnimClass();i.removeClass(this._followup,'active');i.removeClass(this._parentContainer,'followupActivated');},_updateRequestAnimClass:function(){i.conditionClass(this._friendRequest,'animated',i.hasClass(this._followup,'animated'));}});e.exports=l;},null); __d("InnerStickyArea",["ContextualLayer","CSS","DataStore","DOM","Event","LayerHideOnTransition","Locale","Parent","Style","Vector","cx","removeFromArray"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r){function s(v){var w=n.byClass(v,'scrollable')||o.getScrollParent(v.parentNode);return w;}function t(v){"use strict";var w=s(v);this.node=v;this._extracted=false;this._placeholder=j.create('div',{className:"_ptr"});u.getInstance(w).register(this);}t.prototype.update=function(){"use strict";if(this._extracted){p.getElementDimensions(this._placeholder).setElementWidth(this.node);p.getElementDimensions(this.node).setElementHeight(this._placeholder);}else p.getElementDimensions(this.node).setElementWidth(this.node).setElementHeight(this._placeholder);return this;};t.prototype.setExtracted=function(v){"use strict";if(v===this._extracted)return this;if(v){this.update();j.replace(this.node,this._placeholder);}else{o.set(this.node,'height',null);o.set(this.node,'width',null);if(this._placeholder.parentNode){j.replace(this._placeholder,this.node);}else j.remove(this.node);}this._extracted=v;return this;};t.prototype.getInlineNode=function(){"use strict";return this._extracted?this._placeholder:this.node;};t.prototype.isDisplayed=function(){"use strict";var v=this.getInlineNode();return v.offsetWidth>0&&v.offsetHeight>0;};t.prototype.getStickyContainer=function(){"use strict";return this._stickyContainer;};t.prototype.updateContainer=function(){"use strict";var v=s(this.node);u.getInstance(v).register(this);};t.prototype.destroy=function(){"use strict";this.getStickyContainer().unregister(this);};t.getStickyContainer=function(v){"use strict";return u.getInstance(s(v));};function u(v){"use strict";this.node=v;this._areas=[];this._fixTarget=null;this._fixedArea=null;this._initialized=false;this._layer=new g({permanent:true},j.create('div')).setInsertParent(this.node.parentNode).disableBehavior(l);this._listener=k.listen(v,'scroll',this.update.bind(this));h.addClass(v,"_pts");i.set(v,'StickyContainer',this);}u.prototype.isDisplayed=function(){"use strict";return this.node.offsetWidth>0&&this.node.offsetHeight>0;};u.prototype.register=function(v){"use strict";if(v.getStickyContainer())v.getStickyContainer().unregister(v);v._stickyContainer=this;this._areas.push(v);this.update();return this;};u.prototype.unregister=function(v){"use strict";r(this._areas,v);this.update();};u.prototype.update=function(){"use strict";if(!this.isDisplayed())return this;var v=null,w=this,x=this.node.scrollTop,y;for(var z=0;zy){v=aa;y=ca;}}else if(v){var da=p.getElementDimensions(v.node).y;if(ca-da