!function(){var M=window.jQuery,S=M(window);M.fn.stick_in_parent=function(t){var _,i,o,e,s,x,P=(t=null==t?{}:t).sticky_class,V=t.inner_scrolling,F=t.recalc_every,C=t.parent,z=t.offset_top,I=t.spacer,A=t.bottoming;for(null==z&&(z=0),null==C&&(C=void 0),null==V&&(V=!0),null==P&&(P="is_stuck"),_=M(document),null==A&&(A=!0),x=function(t){var i,o;return window.getComputedStyle?(t[0],i=window.getComputedStyle(t[0]),o=parseFloat(i.getPropertyValue("width"))+parseFloat(i.getPropertyValue("margin-left"))+parseFloat(i.getPropertyValue("margin-right")),"border-box"!==i.getPropertyValue("box-sizing")&&(o+=parseFloat(i.getPropertyValue("border-left-width"))+parseFloat(i.getPropertyValue("border-right-width"))+parseFloat(i.getPropertyValue("padding-left"))+parseFloat(i.getPropertyValue("padding-right"))),o):t.outerWidth(!0)},o=function(r,n,l,a,c,p,d,u){var f,t,g,h,k,y,m,v,i,b,w,e;if(!r.data("sticky_kit")){if(r.data("sticky_kit",!0),k=_.height(),m=r.parent(),!(m=null!=C?m.closest(C):m).length)throw"failed to find stick parent";if(f=g=!1,(w=null!=I?I&&r.closest(I):M("
"))&&w.css("position",r.css("position")),(v=function(){var t,i,o;if(!u)return k=_.height(),t=parseInt(m.css("border-top-width"),10),i=parseInt(m.css("padding-top"),10),n=parseInt(m.css("padding-bottom"),10),l=m.offset().top+t+i,a=m.height(),g&&(f=g=!1,null==I&&(r.insertAfter(w),w.detach()),r.css({position:"",top:"",width:"",bottom:""}).removeClass(P),o=!0),c=r.offset().top-(parseInt(r.css("margin-top"),10)||0)-z,p=r.outerHeight(!0),d=r.css("float"),w&&w.css({width:x(r),height:p,display:r.css("display"),"vertical-align":r.css("vertical-align"),float:d}),o?e():void 0})(),p!==a)return h=void 0,y=z,b=F,e=function(){var t,i,o,e,s;if(!u)return o=!1,null!=b&&--b<=0&&(b=F,v(),o=!0),o||_.height()===k||(v(),o=!0),o=S.scrollTop(),null!=h&&(i=o-h),h=o,g?(A&&(e=a+l