/*©2016 Cam Wiegert|https://camwiegert.github.io/in-view*/ !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.inView=e():t.inView=e()}(this,function(){return i={},n.m=r=[function(t,e,n){"use strict";var r,i=n(2),n=(r=i)&&r.__esModule?r:{default:r};t.exports=n.default},function(t,e){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=r(n(9)),o=r(n(3)),u=n(4);e.default=function(){if("undefined"!=typeof window){var n={history:[]},r={offset:{},threshold:0,test:u.inViewport},e=(0,i.default)(function(){n.history.forEach(function(t){n[t].check()})},100);["scroll","resize","load"].forEach(function(t){return addEventListener(t,e)}),window.MutationObserver&&addEventListener("DOMContentLoaded",function(){new MutationObserver(e).observe(document.body,{attributes:!0,childList:!0,subtree:!0})});var t=function(t){if("string"==typeof t){var e=[].slice.call(document.querySelectorAll(t));return-1e.offset.top+u&&o>e.offset.right+t&&n>e.offset.bottom+u&&r>e.offset.left+t}},function(e,t){(function(t){t="object"==typeof t&&t&&t.Object===Object&&t;e.exports=t}).call(t,function(){return this}())},function(t,e,n){var r=n(5),n="object"==typeof self&&self&&self.Object===Object&&self,n=r||n||Function("return this")();t.exports=n},function(t,e,n){var m=n(1),x=n(8),g=n(10),w=Math.max,j=Math.min;t.exports=function(r,n,t){function i(t){var e=s,n=c;return s=c=void 0,p=t,l=r.apply(n,e)}function o(t){var e=t-h;return void 0===h||n<=e||e<0||y&&a<=t-p}function u(){var t,e=x();return o(e)?f(e):void(d=setTimeout(u,(e=n-((t=e)-h),y?j(e,a-(t-p)):e)))}function f(t){return d=void 0,b&&s?i(t):(s=c=void 0,l)}function e(){var t=x(),e=o(t);if(s=arguments,c=this,h=t,e){if(void 0===d)return p=e=h,d=setTimeout(u,n),v?i(e):l;if(y)return d=setTimeout(u,n),i(h)}return void 0===d&&(d=setTimeout(u,n)),l}var s,c,a,l,d,h,p=0,v=!1,y=!1,b=!0;if("function"!=typeof r)throw new TypeError("Expected a function");return n=g(n)||0,m(t)&&(v=!!t.leading,y="maxWait"in t,a=y?w(g(t.maxWait)||0,n):a,b="trailing"in t?!!t.trailing:b),e.cancel=function(){void 0!==d&&clearTimeout(d),s=h=c=d=void(p=0)},e.flush=function(){return void 0===d?l:f(x())},e}},function(t,e,n){var r=n(6);t.exports=function(){return r.Date.now()}},function(t,e,n){var o=n(7),u=n(1);t.exports=function(t,e,n){var r=!0,i=!0;if("function"!=typeof t)throw new TypeError("Expected a function");return u(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),o(t,e,{leading:r,maxWait:e,trailing:i})}},function(t,e){t.exports=function(t){return t}}],n.c=i,n.p="",n(0);function n(t){if(i[t])return i[t].exports;var e=i[t]={exports:{},id:t,loaded:!1};return r[t].call(e.exports,e,e.exports,n),e.loaded=!0,e.exports}var r,i});