Socket
Socket
Sign inDemoInstall

basicscroll

Package Overview
Dependencies
3
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.3 to 1.1.4

6

CHANGELOG.md

@@ -7,2 +7,8 @@ # Changelog

## [1.1.4] - 2017-09-01
### Changed
- Switched from `deepcopy` to `lodash.clonedeep`
## [1.1.3] - 2017-08-08

@@ -9,0 +15,0 @@

3

dist/basicScroll.min.js

@@ -1,2 +0,1 @@

!function(t){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var r;r="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,r.basicScroll=t()}}(function(){return function t(r,n,e){function o(u,f){if(!n[u]){if(!r[u]){var s="function"==typeof require&&require;if(!f&&s)return s(u,!0);if(i)return i(u,!0);var a=new Error("Cannot find module '"+u+"'");throw a.code="MODULE_NOT_FOUND",a}var c=n[u]={exports:{}};r[u][0].call(c.exports,function(t){var n=r[u][1][t];return o(n||t)},c,c.exports,t,r,n,e)}return n[u].exports}for(var i="function"==typeof require&&require,u=0;u<e.length;u++)o(e[u]);return o}({1:[function(t,r,n){"use strict";function e(t){var r=t.length;if(r%4>0)throw new Error("Invalid string. Length must be a multiple of 4");return"="===t[r-2]?2:"="===t[r-1]?1:0}function o(t){return 3*t.length/4-e(t)}function i(t){var r,n,o,i,u,f=t.length;i=e(t),u=new h(3*f/4-i),n=i>0?f-4:f;var s=0;for(r=0;r<n;r+=4)o=c[t.charCodeAt(r)]<<18|c[t.charCodeAt(r+1)]<<12|c[t.charCodeAt(r+2)]<<6|c[t.charCodeAt(r+3)],u[s++]=o>>16&255,u[s++]=o>>8&255,u[s++]=255&o;return 2===i?(o=c[t.charCodeAt(r)]<<2|c[t.charCodeAt(r+1)]>>4,u[s++]=255&o):1===i&&(o=c[t.charCodeAt(r)]<<10|c[t.charCodeAt(r+1)]<<4|c[t.charCodeAt(r+2)]>>2,u[s++]=o>>8&255,u[s++]=255&o),u}function u(t){return a[t>>18&63]+a[t>>12&63]+a[t>>6&63]+a[63&t]}function f(t,r,n){for(var e,o=[],i=r;i<n;i+=3)e=(t[i]<<16)+(t[i+1]<<8)+t[i+2],o.push(u(e));return o.join("")}function s(t){for(var r,n=t.length,e=n%3,o="",i=[],u=0,s=n-e;u<s;u+=16383)i.push(f(t,u,u+16383>s?s:u+16383));return 1===e?(r=t[n-1],o+=a[r>>2],o+=a[r<<4&63],o+="=="):2===e&&(r=(t[n-2]<<8)+t[n-1],o+=a[r>>10],o+=a[r>>4&63],o+=a[r<<2&63],o+="="),i.push(o),i.join("")}n.byteLength=o,n.toByteArray=i,n.fromByteArray=s;for(var a=[],c=[],h="undefined"!=typeof Uint8Array?Uint8Array:Array,l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",p=0,y=l.length;p<y;++p)a[p]=l[p],c[l.charCodeAt(p)]=p;c["-".charCodeAt(0)]=62,c["_".charCodeAt(0)]=63},{}],2:[function(t,r,n){(function(r){"use strict";function e(){return i.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function o(t,r){if(e()<r)throw new RangeError("Invalid typed array length");return i.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(r),t.__proto__=i.prototype):(null===t&&(t=new i(r)),t.length=r),t}function i(t,r,n){if(!(i.TYPED_ARRAY_SUPPORT||this instanceof i))return new i(t,r,n);if("number"==typeof t){if("string"==typeof r)throw new Error("If encoding is specified then the first argument must be a string");return a(this,t)}return u(this,t,r,n)}function u(t,r,n,e){if("number"==typeof r)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&r instanceof ArrayBuffer?l(t,r,n,e):"string"==typeof r?c(t,r,n):p(t,r)}function f(t){if("number"!=typeof t)throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative')}function s(t,r,n,e){return f(r),r<=0?o(t,r):void 0!==n?"string"==typeof e?o(t,r).fill(n,e):o(t,r).fill(n):o(t,r)}function a(t,r){if(f(r),t=o(t,r<0?0:0|y(r)),!i.TYPED_ARRAY_SUPPORT)for(var n=0;n<r;++n)t[n]=0;return t}function c(t,r,n){if("string"==typeof n&&""!==n||(n="utf8"),!i.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var e=0|d(r,n);t=o(t,e);var u=t.write(r,n);return u!==e&&(t=t.slice(0,u)),t}function h(t,r){var n=r.length<0?0:0|y(r.length);t=o(t,n);for(var e=0;e<n;e+=1)t[e]=255&r[e];return t}function l(t,r,n,e){if(r.byteLength,n<0||r.byteLength<n)throw new RangeError("'offset' is out of bounds");if(r.byteLength<n+(e||0))throw new RangeError("'length' is out of bounds");return r=void 0===n&&void 0===e?new Uint8Array(r):void 0===e?new Uint8Array(r,n):new Uint8Array(r,n,e),i.TYPED_ARRAY_SUPPORT?(t=r,t.__proto__=i.prototype):t=h(t,r),t}function p(t,r){if(i.isBuffer(r)){var n=0|y(r.length);return t=o(t,n),0===t.length?t:(r.copy(t,0,0,n),t)}if(r){if("undefined"!=typeof ArrayBuffer&&r.buffer instanceof ArrayBuffer||"length"in r)return"number"!=typeof r.length||J(r.length)?o(t,0):h(t,r);if("Buffer"===r.type&&Q(r.data))return h(t,r.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function y(t){if(t>=e())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+e().toString(16)+" bytes");return 0|t}function g(t){return+t!=t&&(t=0),i.alloc(+t)}function d(t,r){if(i.isBuffer(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!=typeof t&&(t=""+t);var n=t.length;if(0===n)return 0;for(var e=!1;;)switch(r){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return V(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return K(t).length;default:if(e)return V(t).length;r=(""+r).toLowerCase(),e=!0}}function w(t,r,n){var e=!1;if((void 0===r||r<0)&&(r=0),r>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if(n>>>=0,r>>>=0,n<=r)return"";for(t||(t="utf8");;)switch(t){case"hex":return I(this,r,n);case"utf8":case"utf-8":return M(this,r,n);case"ascii":return T(this,r,n);case"latin1":case"binary":return B(this,r,n);case"base64":return x(this,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return U(this,r,n);default:if(e)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),e=!0}}function v(t,r,n){var e=t[r];t[r]=t[n],t[n]=e}function b(t,r,n,e,o){if(0===t.length)return-1;if("string"==typeof n?(e=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=o?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(o)return-1;n=t.length-1}else if(n<0){if(!o)return-1;n=0}if("string"==typeof r&&(r=i.from(r,e)),i.isBuffer(r))return 0===r.length?-1:m(t,r,n,e,o);if("number"==typeof r)return r&=255,i.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(t,r,n):Uint8Array.prototype.lastIndexOf.call(t,r,n):m(t,[r],n,e,o);throw new TypeError("val must be string, number or Buffer")}function m(t,r,n,e,o){function i(t,r){return 1===u?t[r]:t.readUInt16BE(r*u)}var u=1,f=t.length,s=r.length;if(void 0!==e&&("ucs2"===(e=String(e).toLowerCase())||"ucs-2"===e||"utf16le"===e||"utf-16le"===e)){if(t.length<2||r.length<2)return-1;u=2,f/=2,s/=2,n/=2}var a;if(o){var c=-1;for(a=n;a<f;a++)if(i(t,a)===i(r,-1===c?0:a-c)){if(-1===c&&(c=a),a-c+1===s)return c*u}else-1!==c&&(a-=a-c),c=-1}else for(n+s>f&&(n=f-s),a=n;a>=0;a--){for(var h=!0,l=0;l<s;l++)if(i(t,a+l)!==i(r,l)){h=!1;break}if(h)return a}return-1}function E(t,r,n,e){n=Number(n)||0;var o=t.length-n;e?(e=Number(e))>o&&(e=o):e=o;var i=r.length;if(i%2!=0)throw new TypeError("Invalid hex string");e>i/2&&(e=i/2);for(var u=0;u<e;++u){var f=parseInt(r.substr(2*u,2),16);if(isNaN(f))return u;t[n+u]=f}return u}function A(t,r,n,e){return X(V(r,t.length-n),t,n,e)}function _(t,r,n,e){return X($(r),t,n,e)}function R(t,r,n,e){return _(t,r,n,e)}function P(t,r,n,e){return X(K(r),t,n,e)}function S(t,r,n,e){return X(H(r,t.length-n),t,n,e)}function x(t,r,n){return 0===r&&n===t.length?Z.fromByteArray(t):Z.fromByteArray(t.slice(r,n))}function M(t,r,n){n=Math.min(t.length,n);for(var e=[],o=r;o<n;){var i=t[o],u=null,f=i>239?4:i>223?3:i>191?2:1;if(o+f<=n){var s,a,c,h;switch(f){case 1:i<128&&(u=i);break;case 2:s=t[o+1],128==(192&s)&&(h=(31&i)<<6|63&s)>127&&(u=h);break;case 3:s=t[o+1],a=t[o+2],128==(192&s)&&128==(192&a)&&(h=(15&i)<<12|(63&s)<<6|63&a)>2047&&(h<55296||h>57343)&&(u=h);break;case 4:s=t[o+1],a=t[o+2],c=t[o+3],128==(192&s)&&128==(192&a)&&128==(192&c)&&(h=(15&i)<<18|(63&s)<<12|(63&a)<<6|63&c)>65535&&h<1114112&&(u=h)}}null===u?(u=65533,f=1):u>65535&&(u-=65536,e.push(u>>>10&1023|55296),u=56320|1023&u),e.push(u),o+=f}return O(e)}function O(t){var r=t.length;if(r<=W)return String.fromCharCode.apply(String,t);for(var n="",e=0;e<r;)n+=String.fromCharCode.apply(String,t.slice(e,e+=W));return n}function T(t,r,n){var e="";n=Math.min(t.length,n);for(var o=r;o<n;++o)e+=String.fromCharCode(127&t[o]);return e}function B(t,r,n){var e="";n=Math.min(t.length,n);for(var o=r;o<n;++o)e+=String.fromCharCode(t[o]);return e}function I(t,r,n){var e=t.length;(!r||r<0)&&(r=0),(!n||n<0||n>e)&&(n=e);for(var o="",i=r;i<n;++i)o+=F(t[i]);return o}function U(t,r,n){for(var e=t.slice(r,n),o="",i=0;i<e.length;i+=2)o+=String.fromCharCode(e[i]+256*e[i+1]);return o}function Y(t,r,n){if(t%1!=0||t<0)throw new RangeError("offset is not uint");if(t+r>n)throw new RangeError("Trying to access beyond buffer length")}function q(t,r,n,e,o,u){if(!i.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>o||r<u)throw new RangeError('"value" argument is out of bounds');if(n+e>t.length)throw new RangeError("Index out of range")}function C(t,r,n,e){r<0&&(r=65535+r+1);for(var o=0,i=Math.min(t.length-n,2);o<i;++o)t[n+o]=(r&255<<8*(e?o:1-o))>>>8*(e?o:1-o)}function D(t,r,n,e){r<0&&(r=4294967295+r+1);for(var o=0,i=Math.min(t.length-n,4);o<i;++o)t[n+o]=r>>>8*(e?o:3-o)&255}function L(t,r,n,e,o,i){if(n+e>t.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function k(t,r,n,e,o){return o||L(t,r,n,4,3.4028234663852886e38,-3.4028234663852886e38),G.write(t,r,n,e,23,4),n+4}function j(t,r,n,e,o){return o||L(t,r,n,8,1.7976931348623157e308,-1.7976931348623157e308),G.write(t,r,n,e,52,8),n+8}function N(t){if(t=z(t).replace(tt,""),t.length<2)return"";for(;t.length%4!=0;)t+="=";return t}function z(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function F(t){return t<16?"0"+t.toString(16):t.toString(16)}function V(t,r){r=r||1/0;for(var n,e=t.length,o=null,i=[],u=0;u<e;++u){if((n=t.charCodeAt(u))>55295&&n<57344){if(!o){if(n>56319){(r-=3)>-1&&i.push(239,191,189);continue}if(u+1===e){(r-=3)>-1&&i.push(239,191,189);continue}o=n;continue}if(n<56320){(r-=3)>-1&&i.push(239,191,189),o=n;continue}n=65536+(o-55296<<10|n-56320)}else o&&(r-=3)>-1&&i.push(239,191,189);if(o=null,n<128){if((r-=1)<0)break;i.push(n)}else if(n<2048){if((r-=2)<0)break;i.push(n>>6|192,63&n|128)}else if(n<65536){if((r-=3)<0)break;i.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((r-=4)<0)break;i.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return i}function $(t){for(var r=[],n=0;n<t.length;++n)r.push(255&t.charCodeAt(n));return r}function H(t,r){for(var n,e,o,i=[],u=0;u<t.length&&!((r-=2)<0);++u)n=t.charCodeAt(u),e=n>>8,o=n%256,i.push(o),i.push(e);return i}function K(t){return Z.toByteArray(N(t))}function X(t,r,n,e){for(var o=0;o<e&&!(o+n>=r.length||o>=t.length);++o)r[o+n]=t[o];return o}function J(t){return t!==t}var Z=t("base64-js"),G=t("ieee754"),Q=t("isarray");n.Buffer=i,n.SlowBuffer=g,n.INSPECT_MAX_BYTES=50,i.TYPED_ARRAY_SUPPORT=void 0!==r.TYPED_ARRAY_SUPPORT?r.TYPED_ARRAY_SUPPORT:function(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()&&"function"==typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(t){return!1}}(),n.kMaxLength=e(),i.poolSize=8192,i._augment=function(t){return t.__proto__=i.prototype,t},i.from=function(t,r,n){return u(null,t,r,n)},i.TYPED_ARRAY_SUPPORT&&(i.prototype.__proto__=Uint8Array.prototype,i.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&i[Symbol.species]===i&&Object.defineProperty(i,Symbol.species,{value:null,configurable:!0})),i.alloc=function(t,r,n){return s(null,t,r,n)},i.allocUnsafe=function(t){return a(null,t)},i.allocUnsafeSlow=function(t){return a(null,t)},i.isBuffer=function(t){return!(null==t||!t._isBuffer)},i.compare=function(t,r){if(!i.isBuffer(t)||!i.isBuffer(r))throw new TypeError("Arguments must be Buffers");if(t===r)return 0;for(var n=t.length,e=r.length,o=0,u=Math.min(n,e);o<u;++o)if(t[o]!==r[o]){n=t[o],e=r[o];break}return n<e?-1:e<n?1:0},i.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},i.concat=function(t,r){if(!Q(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return i.alloc(0);var n;if(void 0===r)for(r=0,n=0;n<t.length;++n)r+=t[n].length;var e=i.allocUnsafe(r),o=0;for(n=0;n<t.length;++n){var u=t[n];if(!i.isBuffer(u))throw new TypeError('"list" argument must be an Array of Buffers');u.copy(e,o),o+=u.length}return e},i.byteLength=d,i.prototype._isBuffer=!0,i.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<t;r+=2)v(this,r,r+1);return this},i.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<t;r+=4)v(this,r,r+3),v(this,r+1,r+2);return this},i.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<t;r+=8)v(this,r,r+7),v(this,r+1,r+6),v(this,r+2,r+5),v(this,r+3,r+4);return this},i.prototype.toString=function(){var t=0|this.length;return 0===t?"":0===arguments.length?M(this,0,t):w.apply(this,arguments)},i.prototype.equals=function(t){if(!i.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===i.compare(this,t)},i.prototype.inspect=function(){var t="",r=n.INSPECT_MAX_BYTES;return this.length>0&&(t=this.toString("hex",0,r).match(/.{2}/g).join(" "),this.length>r&&(t+=" ... ")),"<Buffer "+t+">"},i.prototype.compare=function(t,r,n,e,o){if(!i.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===r&&(r=0),void 0===n&&(n=t?t.length:0),void 0===e&&(e=0),void 0===o&&(o=this.length),r<0||n>t.length||e<0||o>this.length)throw new RangeError("out of range index");if(e>=o&&r>=n)return 0;if(e>=o)return-1;if(r>=n)return 1;if(r>>>=0,n>>>=0,e>>>=0,o>>>=0,this===t)return 0;for(var u=o-e,f=n-r,s=Math.min(u,f),a=this.slice(e,o),c=t.slice(r,n),h=0;h<s;++h)if(a[h]!==c[h]){u=a[h],f=c[h];break}return u<f?-1:f<u?1:0},i.prototype.includes=function(t,r,n){return-1!==this.indexOf(t,r,n)},i.prototype.indexOf=function(t,r,n){return b(this,t,r,n,!0)},i.prototype.lastIndexOf=function(t,r,n){return b(this,t,r,n,!1)},i.prototype.write=function(t,r,n,e){if(void 0===r)e="utf8",n=this.length,r=0;else if(void 0===n&&"string"==typeof r)e=r,n=this.length,r=0;else{if(!isFinite(r))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");r|=0,isFinite(n)?(n|=0,void 0===e&&(e="utf8")):(e=n,n=void 0)}var o=this.length-r;if((void 0===n||n>o)&&(n=o),t.length>0&&(n<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");e||(e="utf8");for(var i=!1;;)switch(e){case"hex":return E(this,t,r,n);case"utf8":case"utf-8":return A(this,t,r,n);case"ascii":return _(this,t,r,n);case"latin1":case"binary":return R(this,t,r,n);case"base64":return P(this,t,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return S(this,t,r,n);default:if(i)throw new TypeError("Unknown encoding: "+e);e=(""+e).toLowerCase(),i=!0}},i.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var W=4096;i.prototype.slice=function(t,r){var n=this.length;t=~~t,r=void 0===r?n:~~r,t<0?(t+=n)<0&&(t=0):t>n&&(t=n),r<0?(r+=n)<0&&(r=0):r>n&&(r=n),r<t&&(r=t);var e;if(i.TYPED_ARRAY_SUPPORT)e=this.subarray(t,r),e.__proto__=i.prototype;else{var o=r-t;e=new i(o,void 0);for(var u=0;u<o;++u)e[u]=this[u+t]}return e},i.prototype.readUIntLE=function(t,r,n){t|=0,r|=0,n||Y(t,r,this.length);for(var e=this[t],o=1,i=0;++i<r&&(o*=256);)e+=this[t+i]*o;return e},i.prototype.readUIntBE=function(t,r,n){t|=0,r|=0,n||Y(t,r,this.length);for(var e=this[t+--r],o=1;r>0&&(o*=256);)e+=this[t+--r]*o;return e},i.prototype.readUInt8=function(t,r){return r||Y(t,1,this.length),this[t]},i.prototype.readUInt16LE=function(t,r){return r||Y(t,2,this.length),this[t]|this[t+1]<<8},i.prototype.readUInt16BE=function(t,r){return r||Y(t,2,this.length),this[t]<<8|this[t+1]},i.prototype.readUInt32LE=function(t,r){return r||Y(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},i.prototype.readUInt32BE=function(t,r){return r||Y(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},i.prototype.readIntLE=function(t,r,n){t|=0,r|=0,n||Y(t,r,this.length);for(var e=this[t],o=1,i=0;++i<r&&(o*=256);)e+=this[t+i]*o;return o*=128,e>=o&&(e-=Math.pow(2,8*r)),e},i.prototype.readIntBE=function(t,r,n){t|=0,r|=0,n||Y(t,r,this.length);for(var e=r,o=1,i=this[t+--e];e>0&&(o*=256);)i+=this[t+--e]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*r)),i},i.prototype.readInt8=function(t,r){return r||Y(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},i.prototype.readInt16LE=function(t,r){r||Y(t,2,this.length);var n=this[t]|this[t+1]<<8;return 32768&n?4294901760|n:n},i.prototype.readInt16BE=function(t,r){r||Y(t,2,this.length);var n=this[t+1]|this[t]<<8;return 32768&n?4294901760|n:n},i.prototype.readInt32LE=function(t,r){return r||Y(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},i.prototype.readInt32BE=function(t,r){return r||Y(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},i.prototype.readFloatLE=function(t,r){return r||Y(t,4,this.length),G.read(this,t,!0,23,4)},i.prototype.readFloatBE=function(t,r){return r||Y(t,4,this.length),G.read(this,t,!1,23,4)},i.prototype.readDoubleLE=function(t,r){return r||Y(t,8,this.length),G.read(this,t,!0,52,8)},i.prototype.readDoubleBE=function(t,r){return r||Y(t,8,this.length),G.read(this,t,!1,52,8)},i.prototype.writeUIntLE=function(t,r,n,e){if(t=+t,r|=0,n|=0,!e){q(this,t,r,n,Math.pow(2,8*n)-1,0)}var o=1,i=0;for(this[r]=255&t;++i<n&&(o*=256);)this[r+i]=t/o&255;return r+n},i.prototype.writeUIntBE=function(t,r,n,e){if(t=+t,r|=0,n|=0,!e){q(this,t,r,n,Math.pow(2,8*n)-1,0)}var o=n-1,i=1;for(this[r+o]=255&t;--o>=0&&(i*=256);)this[r+o]=t/i&255;return r+n},i.prototype.writeUInt8=function(t,r,n){return t=+t,r|=0,n||q(this,t,r,1,255,0),i.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[r]=255&t,r+1},i.prototype.writeUInt16LE=function(t,r,n){return t=+t,r|=0,n||q(this,t,r,2,65535,0),i.TYPED_ARRAY_SUPPORT?(this[r]=255&t,this[r+1]=t>>>8):C(this,t,r,!0),r+2},i.prototype.writeUInt16BE=function(t,r,n){return t=+t,r|=0,n||q(this,t,r,2,65535,0),i.TYPED_ARRAY_SUPPORT?(this[r]=t>>>8,this[r+1]=255&t):C(this,t,r,!1),r+2},i.prototype.writeUInt32LE=function(t,r,n){return t=+t,r|=0,n||q(this,t,r,4,4294967295,0),i.TYPED_ARRAY_SUPPORT?(this[r+3]=t>>>24,this[r+2]=t>>>16,this[r+1]=t>>>8,this[r]=255&t):D(this,t,r,!0),r+4},i.prototype.writeUInt32BE=function(t,r,n){return t=+t,r|=0,n||q(this,t,r,4,4294967295,0),i.TYPED_ARRAY_SUPPORT?(this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=255&t):D(this,t,r,!1),r+4},i.prototype.writeIntLE=function(t,r,n,e){if(t=+t,r|=0,!e){var o=Math.pow(2,8*n-1);q(this,t,r,n,o-1,-o)}var i=0,u=1,f=0;for(this[r]=255&t;++i<n&&(u*=256);)t<0&&0===f&&0!==this[r+i-1]&&(f=1),this[r+i]=(t/u>>0)-f&255;return r+n},i.prototype.writeIntBE=function(t,r,n,e){if(t=+t,r|=0,!e){var o=Math.pow(2,8*n-1);q(this,t,r,n,o-1,-o)}var i=n-1,u=1,f=0;for(this[r+i]=255&t;--i>=0&&(u*=256);)t<0&&0===f&&0!==this[r+i+1]&&(f=1),this[r+i]=(t/u>>0)-f&255;return r+n},i.prototype.writeInt8=function(t,r,n){return t=+t,r|=0,n||q(this,t,r,1,127,-128),i.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[r]=255&t,r+1},i.prototype.writeInt16LE=function(t,r,n){return t=+t,r|=0,n||q(this,t,r,2,32767,-32768),i.TYPED_ARRAY_SUPPORT?(this[r]=255&t,this[r+1]=t>>>8):C(this,t,r,!0),r+2},i.prototype.writeInt16BE=function(t,r,n){return t=+t,r|=0,n||q(this,t,r,2,32767,-32768),i.TYPED_ARRAY_SUPPORT?(this[r]=t>>>8,this[r+1]=255&t):C(this,t,r,!1),r+2},i.prototype.writeInt32LE=function(t,r,n){return t=+t,r|=0,n||q(this,t,r,4,2147483647,-2147483648),i.TYPED_ARRAY_SUPPORT?(this[r]=255&t,this[r+1]=t>>>8,this[r+2]=t>>>16,this[r+3]=t>>>24):D(this,t,r,!0),r+4},i.prototype.writeInt32BE=function(t,r,n){return t=+t,r|=0,n||q(this,t,r,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),i.TYPED_ARRAY_SUPPORT?(this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=255&t):D(this,t,r,!1),r+4},i.prototype.writeFloatLE=function(t,r,n){return k(this,t,r,!0,n)},i.prototype.writeFloatBE=function(t,r,n){return k(this,t,r,!1,n)},i.prototype.writeDoubleLE=function(t,r,n){return j(this,t,r,!0,n)},i.prototype.writeDoubleBE=function(t,r,n){return j(this,t,r,!1,n)},i.prototype.copy=function(t,r,n,e){if(n||(n=0),e||0===e||(e=this.length),r>=t.length&&(r=t.length),r||(r=0),e>0&&e<n&&(e=n),e===n)return 0;if(0===t.length||0===this.length)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(e<0)throw new RangeError("sourceEnd out of bounds");e>this.length&&(e=this.length),t.length-r<e-n&&(e=t.length-r+n);var o,u=e-n;if(this===t&&n<r&&r<e)for(o=u-1;o>=0;--o)t[o+r]=this[o+n];else if(u<1e3||!i.TYPED_ARRAY_SUPPORT)for(o=0;o<u;++o)t[o+r]=this[o+n];else Uint8Array.prototype.set.call(t,this.subarray(n,n+u),r);return u},i.prototype.fill=function(t,r,n,e){if("string"==typeof t){if("string"==typeof r?(e=r,r=0,n=this.length):"string"==typeof n&&(e=n,n=this.length),1===t.length){var o=t.charCodeAt(0);o<256&&(t=o)}if(void 0!==e&&"string"!=typeof e)throw new TypeError("encoding must be a string");if("string"==typeof e&&!i.isEncoding(e))throw new TypeError("Unknown encoding: "+e)}else"number"==typeof t&&(t&=255);if(r<0||this.length<r||this.length<n)throw new RangeError("Out of range index");if(n<=r)return this;r>>>=0,n=void 0===n?this.length:n>>>0,t||(t=0);var u;if("number"==typeof t)for(u=r;u<n;++u)this[u]=t;else{var f=i.isBuffer(t)?t:V(new i(t,e).toString()),s=f.length;for(u=0;u<n-r;++u)this[u+r]=f[u%s]}return this};var tt=/[^+\/0-9A-Za-z-_]/g}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"base64-js":1,ieee754:39,isarray:40}],3:[function(t,r,n){"use strict";r.exports=t("./lib")},{"./lib":5}],4:[function(t,r,n){(function(r){"use strict";function e(t,r){var n=i(t);return null!==n?n:o(t,r)}function o(t,n){if("function"!=typeof n)throw new TypeError("customizer is must be a Function");if("function"==typeof t){var e=String(t);return/^\s*function\s*\S*\([^\)]*\)\s*{\s*\[native code\]\s*}/.test(e)?t:new Function("return "+String(e))()}var o=s.call(t);if("[object Array]"===o)return[];if("[object Object]"===o&&t.constructor===Object)return{};if("[object Date]"===o)return new Date(t.getTime());if("[object RegExp]"===o){var i=String(t),u=i.lastIndexOf("/");return new RegExp(i.slice(1,u),i.slice(u+1))}if((0,f.isBuffer)(t)){var a=new r(t.length);return t.copy(a),a}var c=n(t);return void 0!==c?c:null}function i(t){var r=void 0===t?"undefined":u(t);return null!==t&&"object"!==r&&"function"!==r?t:null}var u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};n.__esModule=!0,n.copyValue=n.copyCollection=n.copy=void 0;var f=t("./polyfill"),s=Object.prototype.toString;n.copy=e,n.copyCollection=o,n.copyValue=i}).call(this,t("buffer").Buffer)},{"./polyfill":6,buffer:2}],5:[function(t,r,n){"use strict";function e(t){}function o(t){var r=arguments.length<=1||void 0===arguments[1]?e:arguments[1];if(null===t)return null;var n=(0,f.copyValue)(t);if(null!==n)return n;var o=(0,f.copyCollection)(t,r),u=null!==o?o:t;return i(t,r,u,[t],[u])}function i(t,r,n,e,o){if(null===t)return null;var a=(0,f.copyValue)(t);if(null!==a)return a;var c=(0,s.getKeys)(t).concat((0,s.getSymbols)(t)),h=void 0,l=void 0,p=void 0,y=void 0,g=void 0,d=void 0,w=void 0,v=void 0;for(h=0,l=c.length;h<l;++h)p=c[h],y=t[p],g=(0,s.indexOf)(e,y),d=void 0,w=void 0,v=void 0,-1===g?(d=(0,f.copy)(y,r),w=null!==d?d:y,null!==y&&/^(?:function|object)$/.test(void 0===y?"undefined":u(y))&&(e.push(y),o.push(w))):v=o[g],n[p]=v||i(y,r,w,e,o);return n}var u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};n.__esModule=!0;var f=t("./copy"),s=t("./polyfill");n.default=o,r.exports=n.default},{"./copy":4,"./polyfill":6}],6:[function(t,r,n){(function(t){"use strict";function r(t,r){if("[object Array]"!==o.call(t))throw new TypeError("array must be an Array");var n=void 0,e=void 0,i=void 0;for(n=0,e=t.length;n<e;++n)if((i=t[n])===r||i!==i&&r!==r)return n;return-1}var e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};n.__esModule=!0;var o=Object.prototype.toString,i=void 0!==t?function(r){return t.isBuffer(r)}:function(){return!1},u="function"==typeof Object.keys?function(t){return Object.keys(t)}:function(t){var r=void 0===t?"undefined":e(t);if(null===t||"function"!==r&&"object"!==r)throw new TypeError("obj must be an Object");var n=[],o=void 0;for(o in t)Object.prototype.hasOwnProperty.call(t,o)&&n.push(o);return n},f="function"==typeof Symbol?function(t){return Object.getOwnPropertySymbols(t)}:function(){return[]};n.getKeys=u,n.getSymbols=f,n.indexOf=r,n.isBuffer=i}).call(this,t("buffer").Buffer)},{buffer:2}],7:[function(t,r,n){"use strict";function e(t){var r=2.5949095;return(t*=2)<1?t*t*((r+1)*t-r)*.5:.5*((t-=2)*t*((r+1)*t+r)+2)}r.exports=e},{}],8:[function(t,r,n){"use strict";function e(t){var r=1.70158;return t*t*((r+1)*t-r)}r.exports=e},{}],9:[function(t,r,n){"use strict";function e(t){var r=1.70158;return--t*t*((r+1)*t+r)+1}r.exports=e},{}],10:[function(t,r,n){"use strict";function e(t){return t<.5?.5*(1-o(1-2*t)):.5*o(2*t-1)+.5}var o=t("./bounce-out");r.exports=e},{"./bounce-out":12}],11:[function(t,r,n){"use strict";function e(t){return 1-o(1-t)}var o=t("./bounce-out");r.exports=e},{"./bounce-out":12}],12:[function(t,r,n){"use strict";function e(t){var r=t*t;return t<4/11?7.5625*r:t<8/11?9.075*r-9.9*t+3.4:t<.9?4356/361*r-35442/1805*t+16061/1805:10.8*t*t-20.52*t+10.72}r.exports=e},{}],13:[function(t,r,n){"use strict";function e(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)}r.exports=e},{}],14:[function(t,r,n){"use strict";function e(t){return 1-Math.sqrt(1-t*t)}r.exports=e},{}],15:[function(t,r,n){"use strict";function e(t){return Math.sqrt(1- --t*t)}r.exports=e},{}],16:[function(t,r,n){"use strict";function e(t){return t<.5?4*t*t*t:.5*Math.pow(2*t-2,3)+1}r.exports=e},{}],17:[function(t,r,n){"use strict";function e(t){return t*t*t}r.exports=e},{}],18:[function(t,r,n){"use strict";function e(t){var r=t-1;return r*r*r+1}r.exports=e},{}],19:[function(t,r,n){"use strict";function e(t){return t<.5?.5*Math.sin(13*Math.PI/2*2*t)*Math.pow(2,10*(2*t-1)):.5*Math.sin(-13*Math.PI/2*(2*t-1+1))*Math.pow(2,-10*(2*t-1))+1}r.exports=e},{}],20:[function(t,r,n){"use strict";function e(t){return Math.sin(13*t*Math.PI/2)*Math.pow(2,10*(t-1))}r.exports=e},{}],21:[function(t,r,n){"use strict";function e(t){return Math.sin(-13*(t+1)*Math.PI/2)*Math.pow(2,-10*t)+1}r.exports=e},{}],22:[function(t,r,n){"use strict";function e(t){return 0===t||1===t?t:t<.5?.5*Math.pow(2,20*t-10):-.5*Math.pow(2,10-20*t)+1}r.exports=e},{}],23:[function(t,r,n){"use strict";function e(t){return 0===t?t:Math.pow(2,10*(t-1))}r.exports=e},{}],24:[function(t,r,n){"use strict";function e(t){return 1===t?t:1-Math.pow(2,-10*t)}r.exports=e},{}],25:[function(t,r,n){"use strict";r.exports={backInOut:t("./back-in-out"),backIn:t("./back-in"),backOut:t("./back-out"),bounceInOut:t("./bounce-in-out"),bounceIn:t("./bounce-in"),bounceOut:t("./bounce-out"),circInOut:t("./circ-in-out"),circIn:t("./circ-in"),circOut:t("./circ-out"),cubicInOut:t("./cubic-in-out"),cubicIn:t("./cubic-in"),cubicOut:t("./cubic-out"),elasticInOut:t("./elastic-in-out"),elasticIn:t("./elastic-in"),elasticOut:t("./elastic-out"),expoInOut:t("./expo-in-out"),expoIn:t("./expo-in"),expoOut:t("./expo-out"),linear:t("./linear"),quadInOut:t("./quad-in-out"),quadIn:t("./quad-in"),quadOut:t("./quad-out"),quartInOut:t("./quart-in-out"),quartIn:t("./quart-in"),quartOut:t("./quart-out"),quintInOut:t("./quint-in-out"),quintIn:t("./quint-in"),quintOut:t("./quint-out"),sineInOut:t("./sine-in-out"),sineIn:t("./sine-in"),sineOut:t("./sine-out")}},{"./back-in":8,"./back-in-out":7,"./back-out":9,"./bounce-in":11,"./bounce-in-out":10,"./bounce-out":12,"./circ-in":14,"./circ-in-out":13,"./circ-out":15,"./cubic-in":17,"./cubic-in-out":16,"./cubic-out":18,"./elastic-in":20,"./elastic-in-out":19,"./elastic-out":21,"./expo-in":23,"./expo-in-out":22,"./expo-out":24,"./linear":26,"./quad-in":28,"./quad-in-out":27,"./quad-out":29,"./quart-in":31,"./quart-in-out":30,"./quart-out":32,"./quint-in":34,"./quint-in-out":33,"./quint-out":35,"./sine-in":37,"./sine-in-out":36,"./sine-out":38}],26:[function(t,r,n){"use strict";function e(t){return t}r.exports=e},{}],27:[function(t,r,n){"use strict";function e(t){return(t/=.5)<1?.5*t*t:-.5*(--t*(t-2)-1)}r.exports=e},{}],28:[function(t,r,n){"use strict";function e(t){return t*t}r.exports=e},{}],29:[function(t,r,n){"use strict";function e(t){return-t*(t-2)}r.exports=e},{}],30:[function(t,r,n){"use strict";function e(t){return t<.5?8*Math.pow(t,4):-8*Math.pow(t-1,4)+1}r.exports=e},{}],31:[function(t,r,n){"use strict";function e(t){return Math.pow(t,4)}r.exports=e},{}],32:[function(t,r,n){"use strict";function e(t){return Math.pow(t-1,3)*(1-t)+1}r.exports=e},{}],33:[function(t,r,n){"use strict";function e(t){return(t*=2)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)}r.exports=e},{}],34:[function(t,r,n){"use strict";function e(t){return t*t*t*t*t}r.exports=e},{}],35:[function(t,r,n){"use strict";function e(t){return--t*t*t*t*t+1}r.exports=e},{}],36:[function(t,r,n){"use strict";function e(t){return-.5*(Math.cos(Math.PI*t)-1)}r.exports=e},{}],37:[function(t,r,n){"use strict";function e(t){var r=Math.cos(t*Math.PI*.5);return Math.abs(r)<1e-14?1:1-r}r.exports=e},{}],38:[function(t,r,n){"use strict";function e(t){return Math.sin(t*Math.PI/2)}r.exports=e},{}],39:[function(t,r,n){"use strict";n.read=function(t,r,n,e,o){var i,u,f=8*o-e-1,s=(1<<f)-1,a=s>>1,c=-7,h=n?o-1:0,l=n?-1:1,p=t[r+h];for(h+=l,i=p&(1<<-c)-1,p>>=-c,c+=f;c>0;i=256*i+t[r+h],h+=l,c-=8);for(u=i&(1<<-c)-1,i>>=-c,c+=e;c>0;u=256*u+t[r+h],h+=l,c-=8);if(0===i)i=1-a;else{if(i===s)return u?NaN:1/0*(p?-1:1);u+=Math.pow(2,e),i-=a}return(p?-1:1)*u*Math.pow(2,i-e)},n.write=function(t,r,n,e,o,i){var u,f,s,a=8*i-o-1,c=(1<<a)-1,h=c>>1,l=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,p=e?0:i-1,y=e?1:-1,g=r<0||0===r&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(f=isNaN(r)?1:0,u=c):(u=Math.floor(Math.log(r)/Math.LN2),r*(s=Math.pow(2,-u))<1&&(u--,s*=2),r+=u+h>=1?l/s:l*Math.pow(2,1-h),r*s>=2&&(u++,s/=2),u+h>=c?(f=0,u=c):u+h>=1?(f=(r*s-1)*Math.pow(2,o),u+=h):(f=r*Math.pow(2,h-1)*Math.pow(2,o),u=0));o>=8;t[n+p]=255&f,p+=y,f/=256,o-=8);for(u=u<<o|f,a+=o;a>0;t[n+p]=255&u,p+=y,u/=256,a-=8);t[n+p-y]|=128*g}},{}],40:[function(t,r,n){"use strict";var e={}.toString;r.exports=Array.isArray||function(t){return"[object Array]"==e.call(t)}},{}],41:[function(t,r,n){"use strict";r.exports=function(t,r){r||(r=[0,""]),t=String(t);var n=parseFloat(t,10);return r[0]=n,r[1]=t.match(/[\d.\-\+]*\s*(.*)/)[1]||"",r}},{}],42:[function(t,r,n){"use strict";function e(t){return t&&t.__esModule?t:{default:t}}function o(t){if(Array.isArray(t)){for(var r=0,n=Array(t.length);r<t.length;r++)n[r]=t[r];return n}return Array.from(t)}Object.defineProperty(n,"__esModule",{value:!0}),n.create=void 0;var i=t("parse-unit"),u=e(i),f=t("deepcopy"),s=e(f),a=t("eases"),c=e(a),h=[],l=function(t){return t.filter(function(t){return t.isActive()})},p=function(){
return(document.scrollingElement||document.documentElement).scrollTop},y=function(){return window.innerHeight||window.outerHeight},g=function(t){return!0!==isNaN((0,u.default)(t)[0])},d=function(t){var r=(0,u.default)(t);return{value:r[0],unit:r[1]}},w=function(t){return null!==String(t).match(/^[a-z]+-[a-z]+$/)},v=function(t,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:p(),e=arguments.length>3&&void 0!==arguments[3]?arguments[3]:y(),o=r.getBoundingClientRect(),i=t.match(/^[a-z]+/)[0],u=t.match(/[a-z]+$/)[0],f=0;return"top"===u&&(f-=0),"middle"===u&&(f-=e/2),"bottom"===u&&(f-=e),"top"===i&&(f+=o.top+n),"middle"===i&&(f+=o.top+n+o.height/2),"bottom"===i&&(f+=o.top+n+o.height),f+"px"},b=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(t=(0,s.default)(t),null==t.from)throw new Error("Missing property `from`");if(null==t.to)throw new Error("Missing property `to`");if(null==t.inside&&(t.inside=function(){}),null==t.outside&&(t.outside=function(){}),"function"!=typeof t.inside)throw new Error("Property `inside` must be a function");if("function"!=typeof t.outside)throw new Error("Property `outside` must be a function");if(null==t.elem){if(!1===g(t.from))throw new Error("Property `from` must be a absolute value when no `elem` has been provided");if(!1===g(t.to))throw new Error("Property `to` must be a absolute value when no `elem` has been provided")}else!0===w(t.from)&&(t.from=v(t.from,t.elem)),!0===w(t.to)&&(t.to=v(t.to,t.elem));return t.from=d(t.from),t.to=d(t.to),null==t.props&&(t.props={}),Object.keys(t.props).forEach(function(r){var n=t.props[r];if(!1===g(n.from))throw new Error("Property `from` of prop must be a absolute value");if(!1===g(n.to))throw new Error("Property `from` of prop must be a absolute value");if(n.from=d(n.from),n.to=d(n.to),"string"==typeof n.timing&&null==c.default[n.timing])throw new Error("Unknown timing for property `timing` of prop");if(null==n.timing&&(n.timing=c.default.linear),"string"==typeof n.timing&&(n.timing=c.default[n.timing]),!0===n.direct&&null==t.elem)throw new Error("Property `elem` required when `direct` is true");!0!==n.direct&&(n.direct=!1)}),t},m=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:p(),n=t.getData(),e=n.to.value-n.from.value,o=r-n.from.value,i=o/(e/100),u=i>=0&&i<=100,f=i<0||i>100;return!0===u&&n.inside(t,i),!0===f&&n.outside(t,i),i<0&&(i=0),i>100&&(i=100),Object.keys(n.props).map(function(t){var r=n.props[t],e=!0===r.direct?n.elem:document.documentElement,o=r.from.unit||r.to.unit,u=r.from.value-r.to.value,f=r.timing(i/100),s=r.from.value-u*f;return{elem:e,key:t,value:Math.round(100*s)/100+o}})},E=function(t,r){t.style.setProperty(r.key,r.value)};n.create=function(t){var r=null,n=!1,e=function(){return n},o=function(){return r},i=function(){r=b(t)},u=function(){var t=m(a);return t.forEach(function(t){return E(t.elem,t)}),t},f=function(){n=!0},s=function(){n=!1},a={isActive:e,getData:o,calculate:i,update:u,start:f,stop:s};return h.push(a),a.calculate(),a};!function t(r,n){var e,i=function(){requestAnimationFrame(function(){return t(r,n)})},u=l(h);if(0===u.length)return i();var f=p();if(n===f)return i();n=f;var s=u.map(function(t){return m(t,f)});(e=[]).concat.apply(e,o(s)).forEach(function(t){return E(t.elem,t)}),i()}()},{deepcopy:3,eases:25,"parse-unit":41}]},{},[42])(42)});
!function(t){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var n;n="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,n.basicScroll=t()}}(function(){return function t(n,e,r){function o(i,c){if(!e[i]){if(!n[i]){var a="function"==typeof require&&require;if(!c&&a)return a(i,!0);if(u)return u(i,!0);var f=new Error("Cannot find module '"+i+"'");throw f.code="MODULE_NOT_FOUND",f}var s=e[i]={exports:{}};n[i][0].call(s.exports,function(t){var e=n[i][1][t];return o(e||t)},s,s.exports,t,n,e,r)}return e[i].exports}for(var u="function"==typeof require&&require,i=0;i<r.length;i++)o(r[i]);return o}({1:[function(t,n,e){"use strict";function r(t){var n=2.5949095;return(t*=2)<1?t*t*((n+1)*t-n)*.5:.5*((t-=2)*t*((n+1)*t+n)+2)}n.exports=r},{}],2:[function(t,n,e){"use strict";function r(t){var n=1.70158;return t*t*((n+1)*t-n)}n.exports=r},{}],3:[function(t,n,e){"use strict";function r(t){var n=1.70158;return--t*t*((n+1)*t+n)+1}n.exports=r},{}],4:[function(t,n,e){"use strict";function r(t){return t<.5?.5*(1-o(1-2*t)):.5*o(2*t-1)+.5}var o=t("./bounce-out");n.exports=r},{"./bounce-out":6}],5:[function(t,n,e){"use strict";function r(t){return 1-o(1-t)}var o=t("./bounce-out");n.exports=r},{"./bounce-out":6}],6:[function(t,n,e){"use strict";function r(t){var n=t*t;return t<4/11?7.5625*n:t<8/11?9.075*n-9.9*t+3.4:t<.9?4356/361*n-35442/1805*t+16061/1805:10.8*t*t-20.52*t+10.72}n.exports=r},{}],7:[function(t,n,e){"use strict";function r(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)}n.exports=r},{}],8:[function(t,n,e){"use strict";function r(t){return 1-Math.sqrt(1-t*t)}n.exports=r},{}],9:[function(t,n,e){"use strict";function r(t){return Math.sqrt(1- --t*t)}n.exports=r},{}],10:[function(t,n,e){"use strict";function r(t){return t<.5?4*t*t*t:.5*Math.pow(2*t-2,3)+1}n.exports=r},{}],11:[function(t,n,e){"use strict";function r(t){return t*t*t}n.exports=r},{}],12:[function(t,n,e){"use strict";function r(t){var n=t-1;return n*n*n+1}n.exports=r},{}],13:[function(t,n,e){"use strict";function r(t){return t<.5?.5*Math.sin(13*Math.PI/2*2*t)*Math.pow(2,10*(2*t-1)):.5*Math.sin(-13*Math.PI/2*(2*t-1+1))*Math.pow(2,-10*(2*t-1))+1}n.exports=r},{}],14:[function(t,n,e){"use strict";function r(t){return Math.sin(13*t*Math.PI/2)*Math.pow(2,10*(t-1))}n.exports=r},{}],15:[function(t,n,e){"use strict";function r(t){return Math.sin(-13*(t+1)*Math.PI/2)*Math.pow(2,-10*t)+1}n.exports=r},{}],16:[function(t,n,e){"use strict";function r(t){return 0===t||1===t?t:t<.5?.5*Math.pow(2,20*t-10):-.5*Math.pow(2,10-20*t)+1}n.exports=r},{}],17:[function(t,n,e){"use strict";function r(t){return 0===t?t:Math.pow(2,10*(t-1))}n.exports=r},{}],18:[function(t,n,e){"use strict";function r(t){return 1===t?t:1-Math.pow(2,-10*t)}n.exports=r},{}],19:[function(t,n,e){"use strict";n.exports={backInOut:t("./back-in-out"),backIn:t("./back-in"),backOut:t("./back-out"),bounceInOut:t("./bounce-in-out"),bounceIn:t("./bounce-in"),bounceOut:t("./bounce-out"),circInOut:t("./circ-in-out"),circIn:t("./circ-in"),circOut:t("./circ-out"),cubicInOut:t("./cubic-in-out"),cubicIn:t("./cubic-in"),cubicOut:t("./cubic-out"),elasticInOut:t("./elastic-in-out"),elasticIn:t("./elastic-in"),elasticOut:t("./elastic-out"),expoInOut:t("./expo-in-out"),expoIn:t("./expo-in"),expoOut:t("./expo-out"),linear:t("./linear"),quadInOut:t("./quad-in-out"),quadIn:t("./quad-in"),quadOut:t("./quad-out"),quartInOut:t("./quart-in-out"),quartIn:t("./quart-in"),quartOut:t("./quart-out"),quintInOut:t("./quint-in-out"),quintIn:t("./quint-in"),quintOut:t("./quint-out"),sineInOut:t("./sine-in-out"),sineIn:t("./sine-in"),sineOut:t("./sine-out")}},{"./back-in":2,"./back-in-out":1,"./back-out":3,"./bounce-in":5,"./bounce-in-out":4,"./bounce-out":6,"./circ-in":8,"./circ-in-out":7,"./circ-out":9,"./cubic-in":11,"./cubic-in-out":10,"./cubic-out":12,"./elastic-in":14,"./elastic-in-out":13,"./elastic-out":15,"./expo-in":17,"./expo-in-out":16,"./expo-out":18,"./linear":20,"./quad-in":22,"./quad-in-out":21,"./quad-out":23,"./quart-in":25,"./quart-in-out":24,"./quart-out":26,"./quint-in":28,"./quint-in-out":27,"./quint-out":29,"./sine-in":31,"./sine-in-out":30,"./sine-out":32}],20:[function(t,n,e){"use strict";function r(t){return t}n.exports=r},{}],21:[function(t,n,e){"use strict";function r(t){return(t/=.5)<1?.5*t*t:-.5*(--t*(t-2)-1)}n.exports=r},{}],22:[function(t,n,e){"use strict";function r(t){return t*t}n.exports=r},{}],23:[function(t,n,e){"use strict";function r(t){return-t*(t-2)}n.exports=r},{}],24:[function(t,n,e){"use strict";function r(t){return t<.5?8*Math.pow(t,4):-8*Math.pow(t-1,4)+1}n.exports=r},{}],25:[function(t,n,e){"use strict";function r(t){return Math.pow(t,4)}n.exports=r},{}],26:[function(t,n,e){"use strict";function r(t){return Math.pow(t-1,3)*(1-t)+1}n.exports=r},{}],27:[function(t,n,e){"use strict";function r(t){return(t*=2)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)}n.exports=r},{}],28:[function(t,n,e){"use strict";function r(t){return t*t*t*t*t}n.exports=r},{}],29:[function(t,n,e){"use strict";function r(t){return--t*t*t*t*t+1}n.exports=r},{}],30:[function(t,n,e){"use strict";function r(t){return-.5*(Math.cos(Math.PI*t)-1)}n.exports=r},{}],31:[function(t,n,e){"use strict";function r(t){var n=Math.cos(t*Math.PI*.5);return Math.abs(n)<1e-14?1:1-n}n.exports=r},{}],32:[function(t,n,e){"use strict";function r(t){return Math.sin(t*Math.PI/2)}n.exports=r},{}],33:[function(t,n,e){(function(t){"use strict";function r(t,n){return t.set(n[0],n[1]),t}function o(t,n){return t.add(n),t}function u(t,n){for(var e=-1,r=t?t.length:0;++e<r&&!1!==n(t[e],e,t););return t}function i(t,n){for(var e=-1,r=n.length,o=t.length;++e<r;)t[o+e]=n[e];return t}function c(t,n,e,r){var o=-1,u=t?t.length:0;for(r&&u&&(e=t[++o]);++o<u;)e=n(e,t[o],o,t);return e}function a(t,n){for(var e=-1,r=Array(t);++e<t;)r[e]=n(e);return r}function f(t,n){return null==t?void 0:t[n]}function s(t){var n=!1;if(null!=t&&"function"!=typeof t.toString)try{n=!!(t+"")}catch(t){}return n}function l(t){var n=-1,e=Array(t.size);return t.forEach(function(t,r){e[++n]=[r,t]}),e}function p(t,n){return function(e){return t(n(e))}}function d(t){var n=-1,e=Array(t.size);return t.forEach(function(t){e[++n]=t}),e}function h(t){var n=-1,e=t?t.length:0;for(this.clear();++n<e;){var r=t[n];this.set(r[0],r[1])}}function b(){this.__data__=zn?zn(null):{}}function v(t){return this.has(t)&&delete this.__data__[t]}function y(t){var n=this.__data__;if(zn){var e=n[t];return e===Pt?void 0:e}return mn.call(n,t)?n[t]:void 0}function _(t){var n=this.__data__;return zn?void 0!==n[t]:mn.call(n,t)}function m(t,n){return this.__data__[t]=zn&&void 0===n?Pt:n,this}function g(t){var n=-1,e=t?t.length:0;for(this.clear();++n<e;){var r=t[n];this.set(r[0],r[1])}}function w(){this.__data__=[]}function x(t){var n=this.__data__,e=T(n,t);return!(e<0)&&(e==n.length-1?n.pop():An.call(n,e,1),!0)}function j(t){var n=this.__data__,e=T(n,t);return e<0?void 0:n[e][1]}function O(t){return T(this.__data__,t)>-1}function M(t,n){var e=this.__data__,r=T(e,t);return r<0?e.push([t,n]):e[r][1]=n,this}function q(t){var n=-1,e=t?t.length:0;for(this.clear();++n<e;){var r=t[n];this.set(r[0],r[1])}}function I(){this.__data__={hash:new h,map:new($n||g),string:new h}}function A(t){return it(this,t).delete(t)}function E(t){return it(this,t).get(t)}function P(t){return it(this,t).has(t)}function k(t,n){return it(this,t).set(t,n),this}function S(t){this.__data__=new g(t)}function $(){this.__data__=new g}function F(t){return this.__data__.delete(t)}function U(t){return this.__data__.get(t)}function D(t){return this.__data__.has(t)}function z(t,n){var e=this.__data__;if(e instanceof g){var r=e.__data__;if(!$n||r.length<Et-1)return r.push([t,n]),this;e=this.__data__=new q(r)}return e.set(t,n),this}function B(t,n){var e=Gn(t)||_t(t)?a(t.length,String):[],r=e.length,o=!!r;for(var u in t)!n&&!mn.call(t,u)||o&&("length"==u||lt(u,r))||e.push(u);return e}function N(t,n,e){var r=t[n];mn.call(t,n)&&yt(r,e)&&(void 0!==e||n in t)||(t[n]=e)}function T(t,n){for(var e=t.length;e--;)if(yt(t[e][0],n))return e;return-1}function C(t,n){return t&&rt(n,Mt(n),t)}function R(t,n,e,r,o,i,c){var a;if(r&&(a=i?r(t,o,i,c):r(t)),void 0!==a)return a;if(!jt(t))return t;var f=Gn(t);if(f){if(a=at(t),!n)return et(t,a)}else{var l=Vn(t),p=l==Ut||l==Dt;if(Jn(t))return J(t,n);if(l==Nt||l==St||p&&!i){if(s(t))return i?t:{};if(a=ft(p?{}:t),!n)return ot(t,C(a,t))}else{if(!un[l])return i?t:{};a=st(t,l,R,n)}}c||(c=new S);var d=c.get(t);if(d)return d;if(c.set(t,a),!f)var h=e?ut(t):Mt(t);return u(h||t,function(o,u){h&&(u=o,o=t[u]),N(a,u,R(o,n,e,r,u,t,c))}),a}function W(t){return jt(t)?qn(t):{}}function L(t,n,e){var r=n(t);return Gn(t)?r:i(r,e(t))}function H(t){return gn.call(t)}function V(t){return!(!jt(t)||dt(t))&&(wt(t)||s(t)?wn:rn).test(bt(t))}function G(t){if(!ht(t))return kn(t);var n=[];for(var e in Object(t))mn.call(t,e)&&"constructor"!=e&&n.push(e);return n}function J(t,n){if(n)return t.slice();var e=new t.constructor(t.length);return t.copy(e),e}function K(t){var n=new t.constructor(t.byteLength);return new On(n).set(new On(t)),n}function Q(t,n){var e=n?K(t.buffer):t.buffer;return new t.constructor(e,t.byteOffset,t.byteLength)}function X(t,n,e){return c(n?e(l(t),!0):l(t),r,new t.constructor)}function Y(t){var n=new t.constructor(t.source,en.exec(t));return n.lastIndex=t.lastIndex,n}function Z(t,n,e){return c(n?e(d(t),!0):d(t),o,new t.constructor)}function tt(t){return Ln?Object(Ln.call(t)):{}}function nt(t,n){var e=n?K(t.buffer):t.buffer;return new t.constructor(e,t.byteOffset,t.length)}function et(t,n){var e=-1,r=t.length;for(n||(n=Array(r));++e<r;)n[e]=t[e];return n}function rt(t,n,e,r){e||(e={});for(var o=-1,u=n.length;++o<u;){var i=n[o],c=r?r(e[i],t[i],i,e,t):void 0;N(e,i,void 0===c?t[i]:c)}return e}function ot(t,n){return rt(t,Hn(t),n)}function ut(t){return L(t,Mt,Hn)}function it(t,n){var e=t.__data__;return pt(n)?e["string"==typeof n?"string":"hash"]:e.map}function ct(t,n){var e=f(t,n);return V(e)?e:void 0}function at(t){var n=t.length,e=t.constructor(n);return n&&"string"==typeof t[0]&&mn.call(t,"index")&&(e.index=t.index,e.input=t.input),e}function ft(t){return"function"!=typeof t.constructor||ht(t)?{}:W(Mn(t))}function st(t,n,e,r){var o=t.constructor;switch(n){case Lt:return K(t);case $t:case Ft:return new o(+t);case Ht:return Q(t,r);case Vt:case Gt:case Jt:case Kt:case Qt:case Xt:case Yt:case Zt:case tn:return nt(t,r);case zt:return X(t,r,e);case Bt:case Rt:return new o(t);case Tt:return Y(t);case Ct:return Z(t,r,e);case Wt:return tt(t)}}function lt(t,n){return!!(n=null==n?kt:n)&&("number"==typeof t||on.test(t))&&t>-1&&t%1==0&&t<n}function pt(t){var n=void 0===t?"undefined":At(t);return"string"==n||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==t:null===t}function dt(t){return!!yn&&yn in t}function ht(t){var n=t&&t.constructor;return t===("function"==typeof n&&n.prototype||bn)}function bt(t){if(null!=t){try{return _n.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function vt(t){return R(t,!0,!0)}function yt(t,n){return t===n||t!==t&&n!==n}function _t(t){return gt(t)&&mn.call(t,"callee")&&(!In.call(t,"callee")||gn.call(t)==St)}function mt(t){return null!=t&&xt(t.length)&&!wt(t)}function gt(t){return Ot(t)&&mt(t)}function wt(t){var n=jt(t)?gn.call(t):"";return n==Ut||n==Dt}function xt(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=kt}function jt(t){var n=void 0===t?"undefined":At(t);return!!t&&("object"==n||"function"==n)}function Ot(t){return!!t&&"object"==(void 0===t?"undefined":At(t))}function Mt(t){return mt(t)?B(t):G(t)}function qt(){return[]}function It(){return!1}var At="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Et=200,Pt="__lodash_hash_undefined__",kt=9007199254740991,St="[object Arguments]",$t="[object Boolean]",Ft="[object Date]",Ut="[object Function]",Dt="[object GeneratorFunction]",zt="[object Map]",Bt="[object Number]",Nt="[object Object]",Tt="[object RegExp]",Ct="[object Set]",Rt="[object String]",Wt="[object Symbol]",Lt="[object ArrayBuffer]",Ht="[object DataView]",Vt="[object Float32Array]",Gt="[object Float64Array]",Jt="[object Int8Array]",Kt="[object Int16Array]",Qt="[object Int32Array]",Xt="[object Uint8Array]",Yt="[object Uint8ClampedArray]",Zt="[object Uint16Array]",tn="[object Uint32Array]",nn=/[\\^$.*+?()[\]{}|]/g,en=/\w*$/,rn=/^\[object .+?Constructor\]$/,on=/^(?:0|[1-9]\d*)$/,un={};un[St]=un["[object Array]"]=un[Lt]=un[Ht]=un[$t]=un[Ft]=un[Vt]=un[Gt]=un[Jt]=un[Kt]=un[Qt]=un[zt]=un[Bt]=un[Nt]=un[Tt]=un[Ct]=un[Rt]=un[Wt]=un[Xt]=un[Yt]=un[Zt]=un[tn]=!0,un["[object Error]"]=un[Ut]=un["[object WeakMap]"]=!1;var cn="object"==(void 0===t?"undefined":At(t))&&t&&t.Object===Object&&t,an="object"==("undefined"==typeof self?"undefined":At(self))&&self&&self.Object===Object&&self,fn=cn||an||Function("return this")(),sn="object"==(void 0===e?"undefined":At(e))&&e&&!e.nodeType&&e,ln=sn&&"object"==(void 0===n?"undefined":At(n))&&n&&!n.nodeType&&n,pn=ln&&ln.exports===sn,dn=Array.prototype,hn=Function.prototype,bn=Object.prototype,vn=fn["__core-js_shared__"],yn=function(){var t=/[^.]+$/.exec(vn&&vn.keys&&vn.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),_n=hn.toString,mn=bn.hasOwnProperty,gn=bn.toString,wn=RegExp("^"+_n.call(mn).replace(nn,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),xn=pn?fn.Buffer:void 0,jn=fn.Symbol,On=fn.Uint8Array,Mn=p(Object.getPrototypeOf,Object),qn=Object.create,In=bn.propertyIsEnumerable,An=dn.splice,En=Object.getOwnPropertySymbols,Pn=xn?xn.isBuffer:void 0,kn=p(Object.keys,Object),Sn=ct(fn,"DataView"),$n=ct(fn,"Map"),Fn=ct(fn,"Promise"),Un=ct(fn,"Set"),Dn=ct(fn,"WeakMap"),zn=ct(Object,"create"),Bn=bt(Sn),Nn=bt($n),Tn=bt(Fn),Cn=bt(Un),Rn=bt(Dn),Wn=jn?jn.prototype:void 0,Ln=Wn?Wn.valueOf:void 0;h.prototype.clear=b,h.prototype.delete=v,h.prototype.get=y,h.prototype.has=_,h.prototype.set=m,g.prototype.clear=w,g.prototype.delete=x,g.prototype.get=j,g.prototype.has=O,g.prototype.set=M,q.prototype.clear=I,q.prototype.delete=A,q.prototype.get=E,q.prototype.has=P,q.prototype.set=k,S.prototype.clear=$,S.prototype.delete=F,S.prototype.get=U,S.prototype.has=D,S.prototype.set=z;var Hn=En?p(En,Object):qt,Vn=H;(Sn&&Vn(new Sn(new ArrayBuffer(1)))!=Ht||$n&&Vn(new $n)!=zt||Fn&&"[object Promise]"!=Vn(Fn.resolve())||Un&&Vn(new Un)!=Ct||Dn&&"[object WeakMap]"!=Vn(new Dn))&&(Vn=function(t){var n=gn.call(t),e=n==Nt?t.constructor:void 0,r=e?bt(e):void 0;if(r)switch(r){case Bn:return Ht;case Nn:return zt;case Tn:return"[object Promise]";case Cn:return Ct;case Rn:return"[object WeakMap]"}return n});var Gn=Array.isArray,Jn=Pn||It;n.exports=vt}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],34:[function(t,n,e){"use strict";n.exports=function(t,n){n||(n=[0,""]),t=String(t);var e=parseFloat(t,10);return n[0]=e,n[1]=t.match(/[\d.\-\+]*\s*(.*)/)[1]||"",n}},{}],35:[function(t,n,e){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t){if(Array.isArray(t)){for(var n=0,e=Array(t.length);n<t.length;n++)e[n]=t[n];return e}return Array.from(t)}Object.defineProperty(e,"__esModule",{value:!0}),e.create=void 0;var u=t("parse-unit"),i=r(u),c=t("lodash.clonedeep"),a=r(c),f=t("eases"),s=r(f),l=[],p=function(t){return t.filter(function(t){return t.isActive()})},d=function(){return(document.scrollingElement||document.documentElement).scrollTop},h=function(){return window.innerHeight||window.outerHeight},b=function(t){return!0!==isNaN((0,i.default)(t)[0])},v=function(t){var n=(0,i.default)(t);return{value:n[0],unit:n[1]}},y=function(t){return null!==String(t).match(/^[a-z]+-[a-z]+$/)},_=function(t,n){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:d(),r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:h(),o=n.getBoundingClientRect(),u=t.match(/^[a-z]+/)[0],i=t.match(/[a-z]+$/)[0],c=0;return"top"===i&&(c-=0),"middle"===i&&(c-=r/2),"bottom"===i&&(c-=r),"top"===u&&(c+=o.top+e),"middle"===u&&(c+=o.top+e+o.height/2),"bottom"===u&&(c+=o.top+e+o.height),c+"px"},m=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(t=(0,a.default)(t),null==t.from)throw new Error("Missing property `from`");if(null==t.to)throw new Error("Missing property `to`");if(null==t.inside&&(t.inside=function(){}),null==t.outside&&(t.outside=function(){}),"function"!=typeof t.inside)throw new Error("Property `inside` must be a function");if("function"!=typeof t.outside)throw new Error("Property `outside` must be a function");if(null==t.elem){if(!1===b(t.from))throw new Error("Property `from` must be a absolute value when no `elem` has been provided");if(!1===b(t.to))throw new Error("Property `to` must be a absolute value when no `elem` has been provided")}else!0===y(t.from)&&(t.from=_(t.from,t.elem)),!0===y(t.to)&&(t.to=_(t.to,t.elem));return t.from=v(t.from),t.to=v(t.to),null==t.props&&(t.props={}),Object.keys(t.props).forEach(function(n){var e=t.props[n];if(!1===b(e.from))throw new Error("Property `from` of prop must be a absolute value");if(!1===b(e.to))throw new Error("Property `from` of prop must be a absolute value");if(e.from=v(e.from),e.to=v(e.to),"string"==typeof e.timing&&null==s.default[e.timing])throw new Error("Unknown timing for property `timing` of prop");if(null==e.timing&&(e.timing=s.default.linear),"string"==typeof e.timing&&(e.timing=s.default[e.timing]),!0===e.direct&&null==t.elem)throw new Error("Property `elem` required when `direct` is true");!0!==e.direct&&(e.direct=!1)}),t},g=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:d(),e=t.getData(),r=e.to.value-e.from.value,o=n-e.from.value,u=o/(r/100),i=u>=0&&u<=100,c=u<0||u>100;return!0===i&&e.inside(t,u),!0===c&&e.outside(t,u),u<0&&(u=0),u>100&&(u=100),Object.keys(e.props).map(function(t){var n=e.props[t],r=!0===n.direct?e.elem:document.documentElement,o=n.from.unit||n.to.unit,i=n.from.value-n.to.value,c=n.timing(u/100),a=n.from.value-i*c;return{elem:r,key:t,value:Math.round(100*a)/100+o}})},w=function(t,n){t.style.setProperty(n.key,n.value)};e.create=function(t){var n=null,e=!1,r=function(){return e},o=function(){return n},u=function(){n=m(t)},i=function(){var t=g(f);return t.forEach(function(t){return w(t.elem,t)}),t},c=function(){e=!0},a=function(){e=!1},f={isActive:r,getData:o,calculate:u,update:i,start:c,stop:a};return l.push(f),f.calculate(),f};!function t(n,e){var r,u=function(){requestAnimationFrame(function(){return t(n,e)})},i=p(l);if(0===i.length)return u();var c=d();if(e===c)return u();e=c;var a=i.map(function(t){return g(t,c)});(r=[]).concat.apply(r,o(a)).forEach(function(t){return w(t.elem,t)}),u()}()},{eases:19,"lodash.clonedeep":33,"parse-unit":34}]},{},[35])(35)});
{
"name": "basicscroll",
"moduleName": "basicScroll",
"version": "1.1.3",
"version": "1.1.4",
"authors": [

@@ -30,6 +30,6 @@ "Tobias Reich <tobias@electerious.com>"

"dependencies": {
"deepcopy": "^0.6.3",
"eases": "^1.0.8",
"lodash.clonedeep": "^4.5.0",
"parse-unit": "^1.0.1"
}
}
import parseUnit from 'parse-unit'
import deepCopy from 'deepcopy'
import clonedeep from 'lodash.clonedeep'
import eases from 'eases'

@@ -116,3 +116,3 @@

// Deep copy object to avoid changes by reference
data = deepCopy(data)
data = clonedeep(data)

@@ -119,0 +119,0 @@ if (data.from==null) throw new Error('Missing property `from`')

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc