(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){
!function(t){t.fn.adhere=function(o){o=t.extend({container:null,topMargin:0,bottomMargin:0},o);var i=t(o.container).eq(0);t(this).each(function(){var n=t(this),e=n.data("adhesion"),a=null!=e;null==e&&(e={},n.data("adhesion",e));var r=null!=e.shim?e.shim:t("<div>");if(r.css({margin:0,padding:0,border:0}),a)return void(null!=e.scrollHandler&&e.scrollHandler());n.before(r),n.parent().css("position","relative");var s,h="unstuck",u=function(t){("stuck"!==h||t===!0)&&(r.height(s),n.parent().height("auto"),n.css({position:"fixed",top:o.topMargin,bottom:"auto",left:n.parent().offset().left,width:r.width()}),h="stuck")},l=function(){"unstuck"!==h&&(r.height(0),n.parent().height("auto"),n.css({position:"static",width:"auto"}),h="unstuck")},c=function(){"bottom"!==h&&(r.height(0),n.parent().height(i.height()),n.css({position:"absolute",top:"auto",bottom:0,left:"auto",width:r.width()}),h="bottom")},d=function(e){var a=t(window).scrollTop(),h=t(window).height(),d=i.offset(),f=i.outerHeight();s=n.outerHeight(!0);var g=d.top-a,p=g+f,w=s+o.topMargin+o.bottomMargin,b=r.offset().left+r.outerWidth();h>w&&g-o.topMargin<0&&b<=t(window).width()?p>w?u(e):c():l()},f=function(){d(!0)};e.scrollHandler=d,t(window).scroll(d),t(window).resize(f)})}}(jQuery);
},{}]},{},[1]);
