!function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof module&&module.exports?module.exports=t(require("jquery")):t(jQuery)}(function(u){function t(){for(var t=h.scrollTop(),e=p.height(),n=e-w,o=nd||null===s.currentTop&&d=l.offset().top+l.outerHeight()&&s.stickyElement.offset().top<=s.topSpacing?s.stickyElement.css("position","absolute").css("top","").css("bottom",0):s.stickyElement.css("position","fixed").css("top",d).css("bottom","")}}}function e(){w=h.height();for(var t=0,e=f.length;t").attr("id",o).addClass(s.wrapperClassName);t.wrapAll(i);var r=t.parent();s.center&&r.css({width:t.outerWidth(),marginLeft:"auto",marginRight:"auto"}),"right"===t.css("float")&&t.css({float:"none"}).parent().css({float:"right"}),r.css("height",n),s.stickyElement=t,s.stickyWrapper=r,s.currentTop=null,f.push(s)})},update:t,unstick:function(t){return this.each(function(){for(var t=u(this),e=-1,n=f.length;0=o(t).offset().top+o(t).height()-e.threshold},o.rightofscreen=function(t,e){return o(window).width()+o(window).scrollLeft()<=o(t).offset().left-e.threshold},o.leftofscreen=function(t,e){return o(window).scrollLeft()>=o(t).offset().left+o(t).width()-e.threshold},o.inviewport=function(t,e){return!(o.rightofscreen(t,e)||o.leftofscreen(t,e)||o.belowthefold(t,e)||o.abovethetop(t,e))},o.extend(o.expr[":"],{"below-the-fold":function(t,e,n){return o.belowthefold(t,{threshold:0})},"above-the-top":function(t,e,n){return o.abovethetop(t,{threshold:0})},"left-of-screen":function(t,e,n){return o.leftofscreen(t,{threshold:0})},"right-of-screen":function(t,e,n){return o.rightofscreen(t,{threshold:0})},"in-viewport":function(t,e,n){return o.inviewport(t,{threshold:0})}})}(jQuery),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],e):e(t.jQuery)}(this,function(f){"use strict";function w(t,e){var n=t.getBoundingClientRect(),o=n.top,i=n.bottom,r=n.left,s=n.right,c=f.extend({tolerance:0,viewport:window},e),a=!1,d=c.viewport.jquery?c.viewport:f(c.viewport);d.length||(console.warn("isInViewport: The viewport selector you have provided matches no element on page."),console.warn("isInViewport: Defaulting to viewport as window"),d=f(window));var l=d.height(),u=d.width(),h=d[0].toString();if(d[0]!==window&&"[object Window]"!==h&&"[object DOMWindow]"!==h){var p=d[0].getBoundingClientRect();o-=p.top,i-=p.top,r-=p.left,s-=p.left,u-=w.scrollBarWidth=w.scrollBarWidth||function(t){var e=f("
").css({width:"100%"});t.append(e);var n=t.width()-e.width();return e.remove(),n}(d)}return c.tolerance=~~Math.round(parseFloat(c.tolerance)),c.tolerance<0&&(c.tolerance=l+c.tolerance),s<=0||u<=r?a:a=c.tolerance?o<=c.tolerance&&i>=c.tolerance:0");var n=i("#main").width(),o=(i(".main-article").width(),i(".main-aside").width(),i("#shares").width()),r=(i("#header").outerHeight(),0-(n/2-59.32203*n/100)+15);1400