Socket
Socket
Sign inDemoInstall

vue-scroll

Package Overview
Dependencies
22
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.1.11 to 2.1.12

3

dist/vue-scroll.common.js
/**
* vue-scroll v2.1.10
* vue-scroll v2.1.12
* (c) 2019 Wang Pin

@@ -1224,3 +1224,2 @@ * @license MIT

e = e || window.e;
e.target = target;

@@ -1227,0 +1226,0 @@ if (e.type === SCROLL) {

/**
* vue-scroll v2.1.10
* vue-scroll v2.1.12
* (c) 2019 Wang Pin

@@ -1220,3 +1220,2 @@ * @license MIT

e = e || window.e;
e.target = target;

@@ -1223,0 +1222,0 @@ if (e.type === SCROLL) {

/**
* vue-scroll v2.1.10
* vue-scroll v2.1.12
* (c) 2019 Wang Pin
* @license MIT
*/
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.VueScroll=e()}(this,function(){"use strict";function t(t,e){return e={exports:{}},t(e,e.exports),e.exports}function e(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function n(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function r(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function o(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError(Ut);var n=function(){var r=arguments,o=e?e.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=t.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(o.Cache||Rt),n}function i(t){if("string"==typeof t)return t;if(Y(t))return Yt(t,i)+"";if(M(t))return ee?ee.call(t):"";var e=t+"";return"0"==e&&1/t==-Zt?"-0":e}var a=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)},c="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},u="object"==typeof c&&c&&c.Object===Object&&c,l="object"==typeof self&&self&&self.Object===Object&&self,s=u||l||Function("return this")(),f=s.Symbol,_=Object.prototype,p=_.hasOwnProperty,h=_.toString,y=f?f.toStringTag:void 0,d=function(t){var e=p.call(t,y),n=t[y];try{t[y]=void 0;var r=!0}catch(t){}var o=h.call(t);return r&&(e?t[y]=n:delete t[y]),o},v=Object.prototype.toString,b=function(t){return v.call(t)},g="[object Null]",O="[object Undefined]",m=f?f.toStringTag:void 0,w=function(t){return null==t?void 0===t?O:g:m&&m in Object(t)?d(t):b(t)},j="[object AsyncFunction]",x="[object Function]",S="[object GeneratorFunction]",P="[object Proxy]",T=function(t){if(!a(t))return!1;var e=w(t);return e==x||e==S||e==j||e==P},E=function(t){return null!=t&&"object"==typeof t},A="[object Symbol]",M=function(t){return"symbol"==typeof t||E(t)&&w(t)==A},k=NaN,z=/^\s+|\s+$/g,D=/^[-+]0x[0-9a-f]+$/i,C=/^0b[01]+$/i,I=/^0o[0-7]+$/i,N=parseInt,F=function(t){if("number"==typeof t)return t;if(M(t))return k;if(a(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=a(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(z,"");var n=C.test(t);return n||I.test(t)?N(t.slice(2),n?2:8):D.test(t)?k:+t},$=1/0,K=1.7976931348623157e308,V=function(t){if(!t)return 0===t?t:0;if((t=F(t))===$||t===-$)return(t<0?-1:1)*K;return t==t?t:0},L=function(t){var e=V(t),n=e%1;return e==e?n?e-n:e:0},B=function(t){return"number"==typeof t&&t==L(t)},q=s.isFinite,R=function(t){return"number"==typeof t&&q(t)},U=function(){return s.Date.now()},W="Expected a function",G=Math.max,H=Math.min,J=function(t,e,n){function r(e){var n=l,r=s;return l=s=void 0,y=e,_=t.apply(r,n)}function o(t){var n=t-h;return void 0===h||n>=e||n<0||v&&t-y>=f}function i(){var t=U();if(o(t))return c(t);p=setTimeout(i,function(t){var n=e-(t-h);return v?H(n,f-(t-y)):n}(t))}function c(t){return p=void 0,b&&l?r(t):(l=s=void 0,_)}function u(){var t=U(),n=o(t);if(l=arguments,s=this,h=t,n){if(void 0===p)return function(t){return y=t,p=setTimeout(i,e),d?r(t):_}(h);if(v)return p=setTimeout(i,e),r(h)}return void 0===p&&(p=setTimeout(i,e)),_}var l,s,f,_,p,h,y=0,d=!1,v=!1,b=!0;if("function"!=typeof t)throw new TypeError(W);return e=F(e)||0,a(n)&&(d=!!n.leading,f=(v="maxWait"in n)?G(F(n.maxWait)||0,e):f,b="trailing"in n?!!n.trailing:b),u.cancel=function(){void 0!==p&&clearTimeout(p),y=0,l=h=s=p=void 0},u.flush=function(){return void 0===p?_:c(U())},u},Q="Expected a function",X=function(t,e,n){var r=!0,o=!0;if("function"!=typeof t)throw new TypeError(Q);return a(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),J(t,e,{leading:r,maxWait:e,trailing:o})},Y=Array.isArray,Z=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,tt=/^\w*$/,et=function(t,e){if(Y(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!M(t))||tt.test(t)||!Z.test(t)||null!=e&&t in Object(e)},nt=s["__core-js_shared__"],rt=function(){var t=/[^.]+$/.exec(nt&&nt.keys&&nt.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),ot=function(t){return!!rt&&rt in t},it=Function.prototype.toString,at=function(t){if(null!=t){try{return it.call(t)}catch(t){}try{return t+""}catch(t){}}return""},ct=/^\[object .+?Constructor\]$/,ut=Function.prototype,lt=Object.prototype,st=ut.toString,ft=lt.hasOwnProperty,_t=RegExp("^"+st.call(ft).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),pt=function(t){return!(!a(t)||ot(t))&&(T(t)?_t:ct).test(at(t))},ht=function(t,e){return null==t?void 0:t[e]},yt=function(t,e){var n=ht(t,e);return pt(n)?n:void 0},dt=yt(Object,"create"),vt=function(){this.__data__=dt?dt(null):{},this.size=0},bt=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},gt="__lodash_hash_undefined__",Ot=Object.prototype.hasOwnProperty,mt=function(t){var e=this.__data__;if(dt){var n=e[t];return n===gt?void 0:n}return Ot.call(e,t)?e[t]:void 0},wt=Object.prototype.hasOwnProperty,jt=function(t){var e=this.__data__;return dt?void 0!==e[t]:wt.call(e,t)},xt="__lodash_hash_undefined__",St=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=dt&&void 0===e?xt:e,this};e.prototype.clear=vt,e.prototype.delete=bt,e.prototype.get=mt,e.prototype.has=jt,e.prototype.set=St;var Pt=e,Tt=function(){this.__data__=[],this.size=0},Et=function(t,e){return t===e||t!=t&&e!=e},At=function(t,e){for(var n=t.length;n--;)if(Et(t[n][0],e))return n;return-1},Mt=Array.prototype.splice,kt=function(t){var e=this.__data__,n=At(e,t);return!(n<0||(n==e.length-1?e.pop():Mt.call(e,n,1),--this.size,0))},zt=function(t){var e=this.__data__,n=At(e,t);return n<0?void 0:e[n][1]},Dt=function(t){return At(this.__data__,t)>-1},Ct=function(t,e){var n=this.__data__,r=At(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this};n.prototype.clear=Tt,n.prototype.delete=kt,n.prototype.get=zt,n.prototype.has=Dt,n.prototype.set=Ct;var It=n,Nt=yt(s,"Map"),Ft=function(){this.size=0,this.__data__={hash:new Pt,map:new(Nt||It),string:new Pt}},$t=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t},Kt=function(t,e){var n=t.__data__;return $t(e)?n["string"==typeof e?"string":"hash"]:n.map},Vt=function(t){var e=Kt(this,t).delete(t);return this.size-=e?1:0,e},Lt=function(t){return Kt(this,t).get(t)},Bt=function(t){return Kt(this,t).has(t)},qt=function(t,e){var n=Kt(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this};r.prototype.clear=Ft,r.prototype.delete=Vt,r.prototype.get=Lt,r.prototype.has=Bt,r.prototype.set=qt;var Rt=r,Ut="Expected a function";o.Cache=Rt;var Wt,Gt=o,Ht=500,Jt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Qt=/\\(\\)?/g,Xt=function(t){var e=Gt(t,function(t){return n.size===Ht&&n.clear(),t}),n=e.cache;return e}(function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(Jt,function(t,n,r,o){e.push(r?o.replace(Qt,"$1"):n||t)}),e}),Yt=function(t,e){for(var n=-1,r=null==t?0:t.length,o=Array(r);++n<r;)o[n]=e(t[n],n,t);return o},Zt=1/0,te=f?f.prototype:void 0,ee=te?te.toString:void 0,ne=i,re=function(t){return null==t?"":ne(t)},oe=function(t,e){return Y(t)?t:et(t,e)?[t]:Xt(re(t))},ie=1/0,ae=function(t){if("string"==typeof t||M(t))return t;var e=t+"";return"0"==e&&1/t==-ie?"-0":e},ce=function(t,e){for(var n=0,r=(e=oe(e,t)).length;null!=t&&n<r;)t=t[ae(e[n++])];return n&&n==r?t:void 0},ue=function(t,e,n){var r=null==t?void 0:ce(t,e);return void 0===r?n:r},le=function(){var t=new Map,e="scroll";return{bind:function(n,r,o,i){var c,u;if(!T(o))throw new Error("Scroll handler is not a function");t.has(n)||t.set(n,new Map),(c=t.get(n)).has(r)||c.set(r,[]),(u=c.get(r)).length||function(t,n,r,o){function i(t){var n,o=t.target||t.srcElement;(t=t||window.e).target=o,t.type===e&&(n=o===document?{scrollTop:ue(document,"body.scrollTop",0),scrollLeft:ue(document,"body.scrollLeft",0)}:{scrollTop:ue(o,"scrollTop",0),scrollLeft:ue(o,"scrollLeft",0)}),r.forEach(function(e){e(t,n)})}a(o)&&(B(o.throttle)&&R(o.throttle)&&o.throttle>-1&&(i=X(i,o.throttle)),B(o.debounce)&&R(o.debounce)&&o.debounce>-1&&(i=J(i,o.debounce))),n===e&&(t===document.body||t===document||t===window?document.onscroll=i:t.addEventListener?t.addEventListener(n,i):t.attachEvent("on"+n,i))}(n,r,u,i),u.push(o)},unbind:function(e,n,r){var o,i;if(T(r))return t.has(e)||t.set(e,new Map),(o=t.get(e)).has(n)||o.set(n,[]),(i=o.get(n)).indexOf(r)>-1&&(i.splice(i.indexOf(r),1),!0)}}}(),se=function(){return this}(),fe=function(){},_e=fe(),pe=function(t){return t!==_e&&null!==t},he=function(t){if(!pe(t))throw new TypeError("Cannot use null or undefined");return t},ye=function(){return he(this).length=0,this},de=function(){var t=Number.isNaN;return"function"==typeof t&&!t({})&&t(NaN)&&!t(34)}()?Number.isNaN:function(t){return t!=t},ve=function(){var t=Math.sign;return"function"==typeof t&&1===t(10)&&-1===t(-20)}()?Math.sign:function(t){return t=Number(t),isNaN(t)||0===t?t:t>0?1:-1},be=Math.abs,ge=Math.floor,Oe=Math.max,me=function(t){return Oe(0,function(t){return isNaN(t)?0:0!==(t=Number(t))&&isFinite(t)?ve(t)*ge(be(t)):t}(t))},we=Array.prototype.indexOf,je=Object.prototype.hasOwnProperty,xe=Math.abs,Se=Math.floor,Pe=function(t){var e,n,r,o;if(!de(t))return we.apply(this,arguments);for(n=me(he(this).length),r=arguments[1],e=r=isNaN(r)?0:r>=0?Se(r):me(this.length)-Se(xe(r));e<n;++e)if(je.call(this,e)&&(o=this[e],de(o)))return e;return-1},Te=Object.create,Ee=Object.getPrototypeOf,Ae={},Me=function(){var t=Object.setPrototypeOf,e=arguments[0]||Te;return"function"==typeof t&&Ee(t(e(null),Ae))===Ae},ke={function:!0,object:!0},ze=Object.create;Me()||(Wt=Le);!function(){var t,e,n;Wt&&(1!==Wt.level||(t={},e={},n={configurable:!1,enumerable:!1,writable:!0,value:void 0},Object.getOwnPropertyNames(Object.prototype).forEach(function(t){e[t]="__proto__"!==t?n:{configurable:!0,enumerable:!1,writable:!0,value:void 0}}),Object.defineProperties(t,e),Object.defineProperty(Wt,"nullPolyfill",{configurable:!1,enumerable:!1,writable:!1,value:t})))}();var De,Ce=Object.prototype.isPrototypeOf,Ie=Object.defineProperty,Ne={configurable:!0,enumerable:!1,writable:!0,value:void 0};De=function(t,e){if(he(t),null===e||function(t){return pe(t)&&ke[typeof t]||!1}(e))return t;throw new TypeError("Prototype must be null or an object")};var Fe,$e,Ke,Ve,Le=function(t){var e,n;return t?(2===t.level?t.set?(n=t.set,e=function(t,e){return n.call(De(t,e),e),t}):e=function(t,e){return De(t,e).__proto__=e,t}:e=function t(e,n){var r;return De(e,n),(r=Ce.call(t.nullPolyfill,e))&&delete t.nullPolyfill.__proto__,null===n&&(n=t.nullPolyfill),e.__proto__=n,r&&Ie(t.nullPolyfill,"__proto__",Ne),e},Object.defineProperty(e,"level",{configurable:!1,enumerable:!1,writable:!1,value:t.level})):null}(function(){var t,e=Object.create(null),n={},r=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__");if(r){try{(t=r.set).call(e,n)}catch(t){}if(Object.getPrototypeOf(e)===n)return{set:t,level:2}}return e.__proto__=n,Object.getPrototypeOf(e)===n?{level:2}:(e={},e.__proto__=n,Object.getPrototypeOf(e)===n&&{level:1})}()),Be=Me()?Object.setPrototypeOf:Le,qe=function(t){if("function"!=typeof t)throw new TypeError(t+" is not a function");return t},Re=Object.keys,Ue=function(){try{return!0}catch(t){return!1}}()?Object.keys:function(t){return Re(pe(t)?Object(t):t)},We=Math.max,Ge=function(){var t,e=Object.assign;return"function"==typeof e&&(t={foo:"raz"},e(t,{bar:"dwa"},{trzy:"trzy"}),t.foo+t.bar+t.trzy==="razdwatrzy")}()?Object.assign:function(t,e){var n,r,o,i=arguments,a=We(arguments.length,2);for(t=Object(he(t)),o=function(r){try{t[r]=e[r]}catch(t){n||(n=t)}},r=1;r<a;++r)e=i[r],Ue(e).forEach(o);if(void 0!==n)throw n;return t},He=Array.prototype.forEach,Je=Object.create,Qe=function(t){var e=Je(null);return He.call(arguments,function(t){pe(t)&&function(t,e){var n;for(n in t)e[n]=t[n]}(Object(t),e)}),e},Xe=function(t){return"function"==typeof t},Ye="razdwatrzy",Ze=String.prototype.indexOf,tn="function"==typeof Ye.contains&&!0===Ye.contains("dwa")&&!1===Ye.contains("foo")?String.prototype.contains:function(t){return Ze.call(this,t,arguments[1])>-1},en=t(function(t){(t.exports=function(t,e){var n,r,o,i,a;return arguments.length<2||"string"!=typeof t?(i=e,e=t,t=null):i=arguments[2],null==t?(n=o=!0,r=!1):(n=tn.call(t,"c"),r=tn.call(t,"e"),o=tn.call(t,"w")),a={value:e,configurable:n,enumerable:r,writable:o},i?Ge(Qe(i),a):a}).gs=function(t,e,n){var r,o,i,a;return"string"!=typeof t?(i=n,n=e,e=t,t=null):i=arguments[3],null==e?e=void 0:Xe(e)?null==n?n=void 0:Xe(n)||(i=n,n=void 0):(i=e,e=n=void 0),null==t?(r=!0,o=!1):(r=tn.call(t,"c"),o=tn.call(t,"e")),a={get:e,set:n,configurable:r,enumerable:o},i?Ge(Qe(i),a):a}}),nn=t(function(t,e){var n,r,o,i,a,c,u,l=Function.prototype.apply,s=Function.prototype.call,f=Object.create,_=Object.defineProperty,p=Object.defineProperties,h=Object.prototype.hasOwnProperty,y={configurable:!0,enumerable:!1,writable:!0};a={on:n=function(t,e){var n;return qe(e),h.call(this,"__ee__")?n=this.__ee__:(n=y.value=f(null),_(this,"__ee__",y),y.value=null),n[t]?"object"==typeof n[t]?n[t].push(e):n[t]=[n[t],e]:n[t]=e,this},once:r=function(t,e){var r,i;return qe(e),i=this,n.call(this,t,r=function(){o.call(i,t,r),l.call(e,this,arguments)}),r.__eeOnceListener__=e,this},off:o=function(t,e){var n,r,o,i;if(qe(e),!h.call(this,"__ee__"))return this;if(!(n=this.__ee__)[t])return this;if("object"==typeof(r=n[t]))for(i=0;o=r[i];++i)o!==e&&o.__eeOnceListener__!==e||(2===r.length?n[t]=r[i?0:1]:r.splice(i,1));else r!==e&&r.__eeOnceListener__!==e||delete n[t];return this},emit:i=function(t){var e,n,r,o,i,a=arguments;if(h.call(this,"__ee__")&&(o=this.__ee__[t]))if("object"==typeof o){for(n=arguments.length,i=new Array(n-1),e=1;e<n;++e)i[e-1]=a[e];for(o=o.slice(),e=0;r=o[e];++e)l.call(r,this,i)}else switch(arguments.length){case 1:s.call(o,this);break;case 2:s.call(o,this,arguments[1]);break;case 3:s.call(o,this,arguments[1],arguments[2]);break;default:for(n=arguments.length,i=new Array(n-1),e=1;e<n;++e)i[e-1]=a[e];l.call(o,this,i)}}},c={on:en(n),once:en(r),off:en(o),emit:en(i)},u=p({},c),t.exports=e=function(t){return null==t?f(u):p(Object(t),c)},e.methods=a}),rn=(nn.methods,{object:!0,symbol:!0}),on=function(t){if(!function(t){return!!t&&("symbol"==typeof t||!!t.constructor&&"Symbol"===t.constructor.name&&"Symbol"===t[t.constructor.toStringTag])}(t))throw new TypeError(t+" is not a symbol");return t},an=Object.create,cn=Object.defineProperties,un=Object.defineProperty,ln=Object.prototype,sn=an(null);if("function"==typeof Symbol){Fe=Symbol;try{String(Fe()),Ve=!0}catch(t){}}var fn=function(){var t=an(null);return function(e){for(var n,r,o=0;t[e+(o||"")];)++o;return e+=o||"",t[e]=!0,n="@@"+e,un(ln,n,en.gs(null,function(t){r||(r=!0,un(this,n,en(t)),r=!1)})),n}}();Ke=function(t){if(this instanceof Ke)throw new TypeError("Symbol is not a constructor");return $e(t)};var _n=$e=function t(e){var n;if(this instanceof t)throw new TypeError("Symbol is not a constructor");return Ve?Fe(e):(n=an(Ke.prototype),e=void 0===e?"":String(e),cn(n,{__description__:en("",e),__name__:en("",fn(e))}))};cn($e,{for:en(function(t){return sn[t]?sn[t]:sn[t]=$e(String(t))}),keyFor:en(function(t){var e;on(t);for(e in sn)if(sn[e]===t)return e}),hasInstance:en("",Fe&&Fe.hasInstance||$e("hasInstance")),isConcatSpreadable:en("",Fe&&Fe.isConcatSpreadable||$e("isConcatSpreadable")),iterator:en("",Fe&&Fe.iterator||$e("iterator")),match:en("",Fe&&Fe.match||$e("match")),replace:en("",Fe&&Fe.replace||$e("replace")),search:en("",Fe&&Fe.search||$e("search")),species:en("",Fe&&Fe.species||$e("species")),split:en("",Fe&&Fe.split||$e("split")),toPrimitive:en("",Fe&&Fe.toPrimitive||$e("toPrimitive")),toStringTag:en("",Fe&&Fe.toStringTag||$e("toStringTag")),unscopables:en("",Fe&&Fe.unscopables||$e("unscopables"))}),cn(Ke.prototype,{constructor:en($e),toString:en("",function(){return this.__name__})}),cn($e.prototype,{toString:en(function(){return"Symbol ("+on(this).__description__+")"}),valueOf:en(function(){return on(this)})}),un($e.prototype,$e.toPrimitive,en("",function(){var t=on(this);return"symbol"==typeof t?t:t.toString()})),un($e.prototype,$e.toStringTag,en("c","Symbol")),un(Ke.prototype,$e.toStringTag,en("c",$e.prototype[$e.toStringTag])),un(Ke.prototype,$e.toPrimitive,en("c",$e.prototype[$e.toPrimitive]));var pn,hn="function"!=typeof Symbol||!rn[typeof Symbol.iterator]||!rn[typeof Symbol.toPrimitive]||!rn[typeof Symbol.toStringTag]?_n:Symbol,yn=Object.prototype.toString,dn=yn.call(function(){return arguments}()),vn=function(t){return yn.call(t)===dn},bn=Object.prototype.toString,gn=bn.call(""),On=function(t){return"string"==typeof t||t&&"object"==typeof t&&(t instanceof String||bn.call(t)===gn)||!1},mn=hn.iterator,wn=Array.isArray,jn=function(t){if(!function(t){return!(!pe(t)||!wn(t)&&!On(t)&&!vn(t)&&"function"!=typeof t[mn])}(t))throw new TypeError(t+" is not iterable");return t},xn=Object.prototype.toString,Sn=xn.call(fe),Pn=hn.iterator,Tn=Array.isArray,En=Function.prototype.call,An={configurable:!0,enumerable:!0,writable:!0,value:null},Mn=Object.defineProperty,kn=function(){var t,e,n=Array.from;return"function"==typeof n&&(t=["raz","dwa"],e=n(t),Boolean(e&&e!==t&&"dwa"===e[1]))}()?Array.from:function(t){var e,n,r,o,i,a,c,u,l,s,f=arguments[1],_=arguments[2];if(t=Object(he(t)),pe(f)&&qe(f),this&&this!==Array&&function(t){return"function"==typeof t&&xn.call(t)===Sn}(this))e=this;else{if(!f){if(vn(t))return 1!==(i=t.length)?Array.apply(null,t):(o=new Array(1),o[0]=t[0],o);if(Tn(t)){for(o=new Array(i=t.length),n=0;n<i;++n)o[n]=t[n];return o}}o=[]}if(!Tn(t))if(void 0!==(l=t[Pn])){for(c=qe(l).call(t),e&&(o=new e),u=c.next(),n=0;!u.done;)s=f?En.call(f,_,u.value,n):u.value,e?(An.value=s,Mn(o,n,An)):o[n]=s,u=c.next(),++n;i=n}else if(On(t)){for(i=t.length,e&&(o=new e),n=0,r=0;n<i;++n)s=t[n],n+1<i&&(a=s.charCodeAt(0))>=55296&&a<=56319&&(s+=t[++n]),s=f?En.call(f,_,s,r):s,e?(An.value=s,Mn(o,r,An)):o[r]=s,++r;i=r}if(void 0===i)for(i=me(t.length),e&&(o=new e(i)),n=0;n<i;++n)s=f?En.call(f,_,t[n],n):t[n],e?(An.value=s,Mn(o,n,An)):o[n]=s;return e&&(An.value=null,o.length=i),o},zn=Function.prototype.bind,Dn=Function.prototype.call,Cn=Object.keys,In=Object.prototype.propertyIsEnumerable,Nn=function(t,e){return function(n,r){var o,i=arguments[2],a=arguments[3];return n=Object(he(n)),qe(r),o=Cn(n),a&&o.sort("function"==typeof a?zn.call(a,n):void 0),"function"!=typeof t&&(t=o[t]),Dn.call(t,o,function(t,o){return In.call(n,t)?Dn.call(r,i,n[t],t,n,o):e})}}("forEach"),Fn=Function.prototype.call,$n=qe,Kn=Function.prototype.bind,Vn=Object.defineProperty,Ln=Object.prototype.hasOwnProperty;pn=function(t,e,n){var r,o=he(e)&&$n(e.value);return r=function(t){var e=Object(he(t)),n=arguments[1],r=Object(arguments[2]);if(e!==t&&!n)return e;var o={};return n?kn(n,function(e){(r.ensure||e in t)&&(o[e]=t[e])}):Ge(o,t),o}(e),delete r.writable,delete r.value,r.get=function(){return!n.overwriteDefinition&&Ln.call(this,t)?o:(e.value=Kn.call(o,n.resolveContext?n.resolveContext(this):this),Vn(this,t,e),this[t])},r};var Bn,qn=Object.defineProperty,Rn=Object.defineProperties,Un=Bn=function(t,e){if(!(this instanceof Bn))throw new TypeError("Constructor requires 'new'");Rn(this,{__list__:en("w",he(t)),__context__:en("w",e),__nextIndex__:en("w",0)}),e&&(qe(e.on),e.on("_add",this._onAdd),e.on("_delete",this._onDelete),e.on("_clear",this._onClear))};delete Bn.prototype.constructor,Rn(Bn.prototype,Ge({_next:en(function(){var t;if(this.__list__)return this.__redo__&&void 0!==(t=this.__redo__.shift())?t:this.__nextIndex__<this.__list__.length?this.__nextIndex__++:void this._unBind()}),next:en(function(){return this._createResult(this._next())}),_createResult:en(function(t){return void 0===t?{done:!0,value:void 0}:{done:!1,value:this._resolve(t)}}),_resolve:en(function(t){return this.__list__[t]}),_unBind:en(function(){this.__list__=null,delete this.__redo__,this.__context__&&(this.__context__.off("_add",this._onAdd),this.__context__.off("_delete",this._onDelete),this.__context__.off("_clear",this._onClear),this.__context__=null)}),toString:en(function(){return"[object "+(this[hn.toStringTag]||"Object")+"]"})},function(t){var e=Qe(arguments[1]);return null!=e.resolveContext&&qe(e.resolveContext),function(t,e){var n={},r=arguments[2];return qe(e),Nn(t,function(t,o,i,a){n[o]=Fn.call(e,r,t,o,i,a)}),n}(t,function(t,n){return pn(n,t,e)})}({_onAdd:en(function(t){t>=this.__nextIndex__||(++this.__nextIndex__,this.__redo__?(this.__redo__.forEach(function(e,n){e>=t&&(this.__redo__[n]=++e)},this),this.__redo__.push(t)):qn(this,"__redo__",en("c",[t])))}),_onDelete:en(function(t){var e;t>=this.__nextIndex__||(--this.__nextIndex__,this.__redo__&&(-1!==(e=this.__redo__.indexOf(t))&&this.__redo__.splice(e,1),this.__redo__.forEach(function(e,n){e>t&&(this.__redo__[n]=--e)},this)))}),_onClear:en(function(){this.__redo__&&ye.call(this.__redo__),this.__nextIndex__=0})}))),qn(Bn.prototype,hn.iterator,en(function(){return this}));var Wn,Gn=t(function(t){var e,n=Object.defineProperty;e=t.exports=function(t,r){if(!(this instanceof e))throw new TypeError("Constructor requires 'new'");Un.call(this,t),r=r?tn.call(r,"key+value")?"key+value":tn.call(r,"key")?"key":"value":"value",n(this,"__kind__",en("",r))},Be&&Be(e,Un),delete e.prototype.constructor,e.prototype=Object.create(Un.prototype,{_resolve:en(function(t){return"value"===this.__kind__?this.__list__[t]:"key+value"===this.__kind__?[t,this.__list__[t]]:t})}),n(e.prototype,hn.toStringTag,en("c","Array Iterator"))}),Hn=t(function(t){var e,n=Object.defineProperty;e=t.exports=function(t){if(!(this instanceof e))throw new TypeError("Constructor requires 'new'");t=String(t),Un.call(this,t),n(this,"__length__",en("",t.length))},Be&&Be(e,Un),delete e.prototype.constructor,e.prototype=Object.create(Un.prototype,{_next:en(function(){if(this.__list__)return this.__nextIndex__<this.__length__?this.__nextIndex__++:void this._unBind()}),_resolve:en(function(t){var e,n=this.__list__[t];return this.__nextIndex__===this.__length__?n:(e=n.charCodeAt(0))>=55296&&e<=56319?n+this.__list__[this.__nextIndex__++]:n})}),n(e.prototype,hn.toStringTag,en("c","String Iterator"))}),Jn=hn.iterator,Qn=Array.isArray,Xn=Function.prototype.call,Yn=Array.prototype.some,Zn=function(t,e){var n,r,o,i,a,c,u,l,s=arguments[2];if(Qn(t)||vn(t)?n="array":On(t)?n="string":t=function(t){return"function"==typeof jn(t)[Jn]?t[Jn]():vn(t)?new Gn(t):On(t)?new Hn(t):new Gn(t)}(t),qe(e),o=function(){i=!0},"array"!==n)if("string"!==n)for(r=t.next();!r.done;){if(Xn.call(e,s,r.value,o),i)return;r=t.next()}else for(c=t.length,a=0;a<c&&(u=t[a],a+1<c&&(l=u.charCodeAt(0))>=55296&&l<=56319&&(u+=t[++a]),Xn.call(e,s,u,o),!i);++a);else Yn.call(t,function(t){return Xn.call(e,s,t,o),i})},tr=Array.prototype.forEach,er=Object.create,nr=function(t){var e=er(null);return tr.call(arguments,function(t){e[t]=!0}),e}("key","value","key+value"),rr=t(function(t){var e,n=hn.toStringTag,r=Object.defineProperties,o=Un.prototype._unBind;e=t.exports=function(t,n){if(!(this instanceof e))return new e(t,n);Un.call(this,t.__mapKeysData__,t),n&&nr[n]||(n="key+value"),r(this,{__kind__:en("",n),__values__:en("w",t.__mapValuesData__)})},Be&&Be(e,Un),e.prototype=Object.create(Un.prototype,{constructor:en(e),_resolve:en(function(t){return"value"===this.__kind__?this.__values__[t]:"key"===this.__kind__?this.__list__[t]:[this.__list__[t],this.__values__[t]]}),_unBind:en(function(){this.__values__=null,o.call(this)}),toString:en(function(){return"[object Map Iterator]"})}),Object.defineProperty(e.prototype,n,en("c","Map Iterator"))}),or="undefined"!=typeof Map&&"[object Map]"===Object.prototype.toString.call(new Map),ir=jn,ar=Function.prototype.call,cr=Object.defineProperties,ur=Object.getPrototypeOf,lr=Wn=function(){var t,e,n,r=arguments[0];if(!(this instanceof Wn))throw new TypeError("Constructor requires 'new'");return n=or&&Be&&Map!==Wn?Be(new Map,ur(this)):this,null!=r&&ir(r),cr(n,{__mapKeysData__:en("c",t=[]),__mapValuesData__:en("c",e=[])}),r?(Zn(r,function(n){var r=he(n)[0];n=n[1],-1===Pe.call(t,r)&&(t.push(r),e.push(n))},n),n):n};or&&(Be&&Be(Wn,Map),Wn.prototype=Object.create(Map.prototype,{constructor:en(Wn)})),nn(cr(Wn.prototype,{clear:en(function(){this.__mapKeysData__.length&&(ye.call(this.__mapKeysData__),ye.call(this.__mapValuesData__),this.emit("_clear"))}),delete:en(function(t){var e=Pe.call(this.__mapKeysData__,t);return-1!==e&&(this.__mapKeysData__.splice(e,1),this.__mapValuesData__.splice(e,1),this.emit("_delete",e,t),!0)}),entries:en(function(){return new rr(this,"key+value")}),forEach:en(function(t){var e,n,r=arguments[1];for(qe(t),n=(e=this.entries())._next();void 0!==n;)ar.call(t,r,this.__mapValuesData__[n],this.__mapKeysData__[n],this),n=e._next()}),get:en(function(t){var e=Pe.call(this.__mapKeysData__,t);if(-1!==e)return this.__mapValuesData__[e]}),has:en(function(t){return-1!==Pe.call(this.__mapKeysData__,t)}),keys:en(function(){return new rr(this,"key")}),set:en(function(t,e){var n,r=Pe.call(this.__mapKeysData__,t);return-1===r&&(r=this.__mapKeysData__.push(t)-1,n=!0),this.__mapValuesData__[r]=e,n&&this.emit("_add",r,t),this}),size:en.gs(function(){return this.__mapKeysData__.length}),values:en(function(){return new rr(this,"value")}),toString:en(function(){return"[object Map]"})})),Object.defineProperty(Wn.prototype,hn.iterator,en(function(){return this.entries()})),Object.defineProperty(Wn.prototype,hn.toStringTag,en("c","Map")),function(){var t,e,n;if("function"!=typeof Map)return!1;try{t=new Map([["raz","one"],["dwa","two"],["trzy","three"]])}catch(t){return!1}return"[object Map]"===String(t)&&3===t.size&&"function"==typeof t.clear&&"function"==typeof t.delete&&"function"==typeof t.entries&&"function"==typeof t.forEach&&"function"==typeof t.get&&"function"==typeof t.has&&"function"==typeof t.keys&&"function"==typeof t.set&&"function"==typeof t.values&&(e=t.entries(),!1===(n=e.next()).done&&!!n.value&&"raz"===n.value[0]&&"one"===n.value[1])}()||Object.defineProperty(se,"Map",{value:lr,configurable:!0,enumerable:!1,writable:!0});var sr=new Object;return sr.install=function(t,e){function n(t,n,r){var l,s=Object.assign({},e);if(a(n)||T(n)){l=n,u.indexOf(r)>-1&&(l=n.fn,r===i?s={throttle:n.throttle}:r===c&&(s={debounce:n.debounce}));try{le.bind(t,o,l,s)}catch(t){console.warn("Unexpected error happened when binding listener")}}else console.warn("Unexpected scroll properties")}function r(t,e,n){var r;(a(e)||T(e))&&(r=e,u.indexOf(n)>-1&&(r=e.fn),le.unbind(t,o,r))}e=e||{};var o="scroll",i="throttle",c="debounce",u=[i,c];t.directive(o,{bind:function(t,e,r,o){n(t,e.value,e.arg)},inserted:function(t,e){},update:function(t,e){e.value!==e.oldValue&&(n(t,e.value,e.arg),r(t,e.oldValue,e.arg))},unbind:function(t,e){r(t,e.value,e.arg)}})},sr});
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.VueScroll=e()}(this,function(){"use strict";function t(t,e){return e={exports:{}},t(e,e.exports),e.exports}function e(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function n(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function r(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function o(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError(Ut);var n=function(){var r=arguments,o=e?e.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=t.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(o.Cache||Rt),n}function i(t){if("string"==typeof t)return t;if(Y(t))return Yt(t,i)+"";if(M(t))return ee?ee.call(t):"";var e=t+"";return"0"==e&&1/t==-Zt?"-0":e}var a=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)},c="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},u="object"==typeof c&&c&&c.Object===Object&&c,l="object"==typeof self&&self&&self.Object===Object&&self,s=u||l||Function("return this")(),f=s.Symbol,_=Object.prototype,p=_.hasOwnProperty,h=_.toString,y=f?f.toStringTag:void 0,d=function(t){var e=p.call(t,y),n=t[y];try{t[y]=void 0;var r=!0}catch(t){}var o=h.call(t);return r&&(e?t[y]=n:delete t[y]),o},v=Object.prototype.toString,b=function(t){return v.call(t)},g="[object Null]",O="[object Undefined]",m=f?f.toStringTag:void 0,w=function(t){return null==t?void 0===t?O:g:m&&m in Object(t)?d(t):b(t)},j="[object AsyncFunction]",x="[object Function]",S="[object GeneratorFunction]",P="[object Proxy]",T=function(t){if(!a(t))return!1;var e=w(t);return e==x||e==S||e==j||e==P},E=function(t){return null!=t&&"object"==typeof t},A="[object Symbol]",M=function(t){return"symbol"==typeof t||E(t)&&w(t)==A},k=NaN,z=/^\s+|\s+$/g,D=/^[-+]0x[0-9a-f]+$/i,C=/^0b[01]+$/i,I=/^0o[0-7]+$/i,N=parseInt,F=function(t){if("number"==typeof t)return t;if(M(t))return k;if(a(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=a(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(z,"");var n=C.test(t);return n||I.test(t)?N(t.slice(2),n?2:8):D.test(t)?k:+t},$=1/0,K=1.7976931348623157e308,V=function(t){if(!t)return 0===t?t:0;if((t=F(t))===$||t===-$)return(t<0?-1:1)*K;return t==t?t:0},L=function(t){var e=V(t),n=e%1;return e==e?n?e-n:e:0},B=function(t){return"number"==typeof t&&t==L(t)},q=s.isFinite,R=function(t){return"number"==typeof t&&q(t)},U=function(){return s.Date.now()},W="Expected a function",G=Math.max,H=Math.min,J=function(t,e,n){function r(e){var n=l,r=s;return l=s=void 0,y=e,_=t.apply(r,n)}function o(t){var n=t-h;return void 0===h||n>=e||n<0||v&&t-y>=f}function i(){var t=U();if(o(t))return c(t);p=setTimeout(i,function(t){var n=e-(t-h);return v?H(n,f-(t-y)):n}(t))}function c(t){return p=void 0,b&&l?r(t):(l=s=void 0,_)}function u(){var t=U(),n=o(t);if(l=arguments,s=this,h=t,n){if(void 0===p)return function(t){return y=t,p=setTimeout(i,e),d?r(t):_}(h);if(v)return p=setTimeout(i,e),r(h)}return void 0===p&&(p=setTimeout(i,e)),_}var l,s,f,_,p,h,y=0,d=!1,v=!1,b=!0;if("function"!=typeof t)throw new TypeError(W);return e=F(e)||0,a(n)&&(d=!!n.leading,f=(v="maxWait"in n)?G(F(n.maxWait)||0,e):f,b="trailing"in n?!!n.trailing:b),u.cancel=function(){void 0!==p&&clearTimeout(p),y=0,l=h=s=p=void 0},u.flush=function(){return void 0===p?_:c(U())},u},Q="Expected a function",X=function(t,e,n){var r=!0,o=!0;if("function"!=typeof t)throw new TypeError(Q);return a(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),J(t,e,{leading:r,maxWait:e,trailing:o})},Y=Array.isArray,Z=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,tt=/^\w*$/,et=function(t,e){if(Y(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!M(t))||tt.test(t)||!Z.test(t)||null!=e&&t in Object(e)},nt=s["__core-js_shared__"],rt=function(){var t=/[^.]+$/.exec(nt&&nt.keys&&nt.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),ot=function(t){return!!rt&&rt in t},it=Function.prototype.toString,at=function(t){if(null!=t){try{return it.call(t)}catch(t){}try{return t+""}catch(t){}}return""},ct=/^\[object .+?Constructor\]$/,ut=Function.prototype,lt=Object.prototype,st=ut.toString,ft=lt.hasOwnProperty,_t=RegExp("^"+st.call(ft).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),pt=function(t){return!(!a(t)||ot(t))&&(T(t)?_t:ct).test(at(t))},ht=function(t,e){return null==t?void 0:t[e]},yt=function(t,e){var n=ht(t,e);return pt(n)?n:void 0},dt=yt(Object,"create"),vt=function(){this.__data__=dt?dt(null):{},this.size=0},bt=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},gt="__lodash_hash_undefined__",Ot=Object.prototype.hasOwnProperty,mt=function(t){var e=this.__data__;if(dt){var n=e[t];return n===gt?void 0:n}return Ot.call(e,t)?e[t]:void 0},wt=Object.prototype.hasOwnProperty,jt=function(t){var e=this.__data__;return dt?void 0!==e[t]:wt.call(e,t)},xt="__lodash_hash_undefined__",St=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=dt&&void 0===e?xt:e,this};e.prototype.clear=vt,e.prototype.delete=bt,e.prototype.get=mt,e.prototype.has=jt,e.prototype.set=St;var Pt=e,Tt=function(){this.__data__=[],this.size=0},Et=function(t,e){return t===e||t!=t&&e!=e},At=function(t,e){for(var n=t.length;n--;)if(Et(t[n][0],e))return n;return-1},Mt=Array.prototype.splice,kt=function(t){var e=this.__data__,n=At(e,t);return!(n<0||(n==e.length-1?e.pop():Mt.call(e,n,1),--this.size,0))},zt=function(t){var e=this.__data__,n=At(e,t);return n<0?void 0:e[n][1]},Dt=function(t){return At(this.__data__,t)>-1},Ct=function(t,e){var n=this.__data__,r=At(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this};n.prototype.clear=Tt,n.prototype.delete=kt,n.prototype.get=zt,n.prototype.has=Dt,n.prototype.set=Ct;var It=n,Nt=yt(s,"Map"),Ft=function(){this.size=0,this.__data__={hash:new Pt,map:new(Nt||It),string:new Pt}},$t=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t},Kt=function(t,e){var n=t.__data__;return $t(e)?n["string"==typeof e?"string":"hash"]:n.map},Vt=function(t){var e=Kt(this,t).delete(t);return this.size-=e?1:0,e},Lt=function(t){return Kt(this,t).get(t)},Bt=function(t){return Kt(this,t).has(t)},qt=function(t,e){var n=Kt(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this};r.prototype.clear=Ft,r.prototype.delete=Vt,r.prototype.get=Lt,r.prototype.has=Bt,r.prototype.set=qt;var Rt=r,Ut="Expected a function";o.Cache=Rt;var Wt,Gt=o,Ht=500,Jt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Qt=/\\(\\)?/g,Xt=function(t){var e=Gt(t,function(t){return n.size===Ht&&n.clear(),t}),n=e.cache;return e}(function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(Jt,function(t,n,r,o){e.push(r?o.replace(Qt,"$1"):n||t)}),e}),Yt=function(t,e){for(var n=-1,r=null==t?0:t.length,o=Array(r);++n<r;)o[n]=e(t[n],n,t);return o},Zt=1/0,te=f?f.prototype:void 0,ee=te?te.toString:void 0,ne=i,re=function(t){return null==t?"":ne(t)},oe=function(t,e){return Y(t)?t:et(t,e)?[t]:Xt(re(t))},ie=1/0,ae=function(t){if("string"==typeof t||M(t))return t;var e=t+"";return"0"==e&&1/t==-ie?"-0":e},ce=function(t,e){for(var n=0,r=(e=oe(e,t)).length;null!=t&&n<r;)t=t[ae(e[n++])];return n&&n==r?t:void 0},ue=function(t,e,n){var r=null==t?void 0:ce(t,e);return void 0===r?n:r},le=function(){var t=new Map,e="scroll";return{bind:function(n,r,o,i){var c,u;if(!T(o))throw new Error("Scroll handler is not a function");t.has(n)||t.set(n,new Map),(c=t.get(n)).has(r)||c.set(r,[]),(u=c.get(r)).length||function(t,n,r,o){function i(t){var n,o=t.target||t.srcElement;(t=t||window.e).type===e&&(n=o===document?{scrollTop:ue(document,"body.scrollTop",0),scrollLeft:ue(document,"body.scrollLeft",0)}:{scrollTop:ue(o,"scrollTop",0),scrollLeft:ue(o,"scrollLeft",0)}),r.forEach(function(e){e(t,n)})}a(o)&&(B(o.throttle)&&R(o.throttle)&&o.throttle>-1&&(i=X(i,o.throttle)),B(o.debounce)&&R(o.debounce)&&o.debounce>-1&&(i=J(i,o.debounce))),n===e&&(t===document.body||t===document||t===window?document.onscroll=i:t.addEventListener?t.addEventListener(n,i):t.attachEvent("on"+n,i))}(n,r,u,i),u.push(o)},unbind:function(e,n,r){var o,i;if(T(r))return t.has(e)||t.set(e,new Map),(o=t.get(e)).has(n)||o.set(n,[]),(i=o.get(n)).indexOf(r)>-1&&(i.splice(i.indexOf(r),1),!0)}}}(),se=function(){return this}(),fe=function(){},_e=fe(),pe=function(t){return t!==_e&&null!==t},he=function(t){if(!pe(t))throw new TypeError("Cannot use null or undefined");return t},ye=function(){return he(this).length=0,this},de=function(){var t=Number.isNaN;return"function"==typeof t&&!t({})&&t(NaN)&&!t(34)}()?Number.isNaN:function(t){return t!=t},ve=function(){var t=Math.sign;return"function"==typeof t&&1===t(10)&&-1===t(-20)}()?Math.sign:function(t){return t=Number(t),isNaN(t)||0===t?t:t>0?1:-1},be=Math.abs,ge=Math.floor,Oe=Math.max,me=function(t){return Oe(0,function(t){return isNaN(t)?0:0!==(t=Number(t))&&isFinite(t)?ve(t)*ge(be(t)):t}(t))},we=Array.prototype.indexOf,je=Object.prototype.hasOwnProperty,xe=Math.abs,Se=Math.floor,Pe=function(t){var e,n,r,o;if(!de(t))return we.apply(this,arguments);for(n=me(he(this).length),r=arguments[1],e=r=isNaN(r)?0:r>=0?Se(r):me(this.length)-Se(xe(r));e<n;++e)if(je.call(this,e)&&(o=this[e],de(o)))return e;return-1},Te=Object.create,Ee=Object.getPrototypeOf,Ae={},Me=function(){var t=Object.setPrototypeOf,e=arguments[0]||Te;return"function"==typeof t&&Ee(t(e(null),Ae))===Ae},ke={function:!0,object:!0},ze=Object.create;Me()||(Wt=Le);!function(){var t,e,n;Wt&&(1!==Wt.level||(t={},e={},n={configurable:!1,enumerable:!1,writable:!0,value:void 0},Object.getOwnPropertyNames(Object.prototype).forEach(function(t){e[t]="__proto__"!==t?n:{configurable:!0,enumerable:!1,writable:!0,value:void 0}}),Object.defineProperties(t,e),Object.defineProperty(Wt,"nullPolyfill",{configurable:!1,enumerable:!1,writable:!1,value:t})))}();var De,Ce=Object.prototype.isPrototypeOf,Ie=Object.defineProperty,Ne={configurable:!0,enumerable:!1,writable:!0,value:void 0};De=function(t,e){if(he(t),null===e||function(t){return pe(t)&&ke[typeof t]||!1}(e))return t;throw new TypeError("Prototype must be null or an object")};var Fe,$e,Ke,Ve,Le=function(t){var e,n;return t?(2===t.level?t.set?(n=t.set,e=function(t,e){return n.call(De(t,e),e),t}):e=function(t,e){return De(t,e).__proto__=e,t}:e=function t(e,n){var r;return De(e,n),(r=Ce.call(t.nullPolyfill,e))&&delete t.nullPolyfill.__proto__,null===n&&(n=t.nullPolyfill),e.__proto__=n,r&&Ie(t.nullPolyfill,"__proto__",Ne),e},Object.defineProperty(e,"level",{configurable:!1,enumerable:!1,writable:!1,value:t.level})):null}(function(){var t,e=Object.create(null),n={},r=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__");if(r){try{(t=r.set).call(e,n)}catch(t){}if(Object.getPrototypeOf(e)===n)return{set:t,level:2}}return e.__proto__=n,Object.getPrototypeOf(e)===n?{level:2}:(e={},e.__proto__=n,Object.getPrototypeOf(e)===n&&{level:1})}()),Be=Me()?Object.setPrototypeOf:Le,qe=function(t){if("function"!=typeof t)throw new TypeError(t+" is not a function");return t},Re=Object.keys,Ue=function(){try{return!0}catch(t){return!1}}()?Object.keys:function(t){return Re(pe(t)?Object(t):t)},We=Math.max,Ge=function(){var t,e=Object.assign;return"function"==typeof e&&(t={foo:"raz"},e(t,{bar:"dwa"},{trzy:"trzy"}),t.foo+t.bar+t.trzy==="razdwatrzy")}()?Object.assign:function(t,e){var n,r,o,i=arguments,a=We(arguments.length,2);for(t=Object(he(t)),o=function(r){try{t[r]=e[r]}catch(t){n||(n=t)}},r=1;r<a;++r)e=i[r],Ue(e).forEach(o);if(void 0!==n)throw n;return t},He=Array.prototype.forEach,Je=Object.create,Qe=function(t){var e=Je(null);return He.call(arguments,function(t){pe(t)&&function(t,e){var n;for(n in t)e[n]=t[n]}(Object(t),e)}),e},Xe=function(t){return"function"==typeof t},Ye="razdwatrzy",Ze=String.prototype.indexOf,tn="function"==typeof Ye.contains&&!0===Ye.contains("dwa")&&!1===Ye.contains("foo")?String.prototype.contains:function(t){return Ze.call(this,t,arguments[1])>-1},en=t(function(t){(t.exports=function(t,e){var n,r,o,i,a;return arguments.length<2||"string"!=typeof t?(i=e,e=t,t=null):i=arguments[2],null==t?(n=o=!0,r=!1):(n=tn.call(t,"c"),r=tn.call(t,"e"),o=tn.call(t,"w")),a={value:e,configurable:n,enumerable:r,writable:o},i?Ge(Qe(i),a):a}).gs=function(t,e,n){var r,o,i,a;return"string"!=typeof t?(i=n,n=e,e=t,t=null):i=arguments[3],null==e?e=void 0:Xe(e)?null==n?n=void 0:Xe(n)||(i=n,n=void 0):(i=e,e=n=void 0),null==t?(r=!0,o=!1):(r=tn.call(t,"c"),o=tn.call(t,"e")),a={get:e,set:n,configurable:r,enumerable:o},i?Ge(Qe(i),a):a}}),nn=t(function(t,e){var n,r,o,i,a,c,u,l=Function.prototype.apply,s=Function.prototype.call,f=Object.create,_=Object.defineProperty,p=Object.defineProperties,h=Object.prototype.hasOwnProperty,y={configurable:!0,enumerable:!1,writable:!0};a={on:n=function(t,e){var n;return qe(e),h.call(this,"__ee__")?n=this.__ee__:(n=y.value=f(null),_(this,"__ee__",y),y.value=null),n[t]?"object"==typeof n[t]?n[t].push(e):n[t]=[n[t],e]:n[t]=e,this},once:r=function(t,e){var r,i;return qe(e),i=this,n.call(this,t,r=function(){o.call(i,t,r),l.call(e,this,arguments)}),r.__eeOnceListener__=e,this},off:o=function(t,e){var n,r,o,i;if(qe(e),!h.call(this,"__ee__"))return this;if(!(n=this.__ee__)[t])return this;if("object"==typeof(r=n[t]))for(i=0;o=r[i];++i)o!==e&&o.__eeOnceListener__!==e||(2===r.length?n[t]=r[i?0:1]:r.splice(i,1));else r!==e&&r.__eeOnceListener__!==e||delete n[t];return this},emit:i=function(t){var e,n,r,o,i,a=arguments;if(h.call(this,"__ee__")&&(o=this.__ee__[t]))if("object"==typeof o){for(n=arguments.length,i=new Array(n-1),e=1;e<n;++e)i[e-1]=a[e];for(o=o.slice(),e=0;r=o[e];++e)l.call(r,this,i)}else switch(arguments.length){case 1:s.call(o,this);break;case 2:s.call(o,this,arguments[1]);break;case 3:s.call(o,this,arguments[1],arguments[2]);break;default:for(n=arguments.length,i=new Array(n-1),e=1;e<n;++e)i[e-1]=a[e];l.call(o,this,i)}}},c={on:en(n),once:en(r),off:en(o),emit:en(i)},u=p({},c),t.exports=e=function(t){return null==t?f(u):p(Object(t),c)},e.methods=a}),rn=(nn.methods,{object:!0,symbol:!0}),on=function(t){if(!function(t){return!!t&&("symbol"==typeof t||!!t.constructor&&"Symbol"===t.constructor.name&&"Symbol"===t[t.constructor.toStringTag])}(t))throw new TypeError(t+" is not a symbol");return t},an=Object.create,cn=Object.defineProperties,un=Object.defineProperty,ln=Object.prototype,sn=an(null);if("function"==typeof Symbol){Fe=Symbol;try{String(Fe()),Ve=!0}catch(t){}}var fn=function(){var t=an(null);return function(e){for(var n,r,o=0;t[e+(o||"")];)++o;return e+=o||"",t[e]=!0,n="@@"+e,un(ln,n,en.gs(null,function(t){r||(r=!0,un(this,n,en(t)),r=!1)})),n}}();Ke=function(t){if(this instanceof Ke)throw new TypeError("Symbol is not a constructor");return $e(t)};var _n=$e=function t(e){var n;if(this instanceof t)throw new TypeError("Symbol is not a constructor");return Ve?Fe(e):(n=an(Ke.prototype),e=void 0===e?"":String(e),cn(n,{__description__:en("",e),__name__:en("",fn(e))}))};cn($e,{for:en(function(t){return sn[t]?sn[t]:sn[t]=$e(String(t))}),keyFor:en(function(t){var e;on(t);for(e in sn)if(sn[e]===t)return e}),hasInstance:en("",Fe&&Fe.hasInstance||$e("hasInstance")),isConcatSpreadable:en("",Fe&&Fe.isConcatSpreadable||$e("isConcatSpreadable")),iterator:en("",Fe&&Fe.iterator||$e("iterator")),match:en("",Fe&&Fe.match||$e("match")),replace:en("",Fe&&Fe.replace||$e("replace")),search:en("",Fe&&Fe.search||$e("search")),species:en("",Fe&&Fe.species||$e("species")),split:en("",Fe&&Fe.split||$e("split")),toPrimitive:en("",Fe&&Fe.toPrimitive||$e("toPrimitive")),toStringTag:en("",Fe&&Fe.toStringTag||$e("toStringTag")),unscopables:en("",Fe&&Fe.unscopables||$e("unscopables"))}),cn(Ke.prototype,{constructor:en($e),toString:en("",function(){return this.__name__})}),cn($e.prototype,{toString:en(function(){return"Symbol ("+on(this).__description__+")"}),valueOf:en(function(){return on(this)})}),un($e.prototype,$e.toPrimitive,en("",function(){var t=on(this);return"symbol"==typeof t?t:t.toString()})),un($e.prototype,$e.toStringTag,en("c","Symbol")),un(Ke.prototype,$e.toStringTag,en("c",$e.prototype[$e.toStringTag])),un(Ke.prototype,$e.toPrimitive,en("c",$e.prototype[$e.toPrimitive]));var pn,hn="function"!=typeof Symbol||!rn[typeof Symbol.iterator]||!rn[typeof Symbol.toPrimitive]||!rn[typeof Symbol.toStringTag]?_n:Symbol,yn=Object.prototype.toString,dn=yn.call(function(){return arguments}()),vn=function(t){return yn.call(t)===dn},bn=Object.prototype.toString,gn=bn.call(""),On=function(t){return"string"==typeof t||t&&"object"==typeof t&&(t instanceof String||bn.call(t)===gn)||!1},mn=hn.iterator,wn=Array.isArray,jn=function(t){if(!function(t){return!(!pe(t)||!wn(t)&&!On(t)&&!vn(t)&&"function"!=typeof t[mn])}(t))throw new TypeError(t+" is not iterable");return t},xn=Object.prototype.toString,Sn=xn.call(fe),Pn=hn.iterator,Tn=Array.isArray,En=Function.prototype.call,An={configurable:!0,enumerable:!0,writable:!0,value:null},Mn=Object.defineProperty,kn=function(){var t,e,n=Array.from;return"function"==typeof n&&(t=["raz","dwa"],e=n(t),Boolean(e&&e!==t&&"dwa"===e[1]))}()?Array.from:function(t){var e,n,r,o,i,a,c,u,l,s,f=arguments[1],_=arguments[2];if(t=Object(he(t)),pe(f)&&qe(f),this&&this!==Array&&function(t){return"function"==typeof t&&xn.call(t)===Sn}(this))e=this;else{if(!f){if(vn(t))return 1!==(i=t.length)?Array.apply(null,t):(o=new Array(1),o[0]=t[0],o);if(Tn(t)){for(o=new Array(i=t.length),n=0;n<i;++n)o[n]=t[n];return o}}o=[]}if(!Tn(t))if(void 0!==(l=t[Pn])){for(c=qe(l).call(t),e&&(o=new e),u=c.next(),n=0;!u.done;)s=f?En.call(f,_,u.value,n):u.value,e?(An.value=s,Mn(o,n,An)):o[n]=s,u=c.next(),++n;i=n}else if(On(t)){for(i=t.length,e&&(o=new e),n=0,r=0;n<i;++n)s=t[n],n+1<i&&(a=s.charCodeAt(0))>=55296&&a<=56319&&(s+=t[++n]),s=f?En.call(f,_,s,r):s,e?(An.value=s,Mn(o,r,An)):o[r]=s,++r;i=r}if(void 0===i)for(i=me(t.length),e&&(o=new e(i)),n=0;n<i;++n)s=f?En.call(f,_,t[n],n):t[n],e?(An.value=s,Mn(o,n,An)):o[n]=s;return e&&(An.value=null,o.length=i),o},zn=Function.prototype.bind,Dn=Function.prototype.call,Cn=Object.keys,In=Object.prototype.propertyIsEnumerable,Nn=function(t,e){return function(n,r){var o,i=arguments[2],a=arguments[3];return n=Object(he(n)),qe(r),o=Cn(n),a&&o.sort("function"==typeof a?zn.call(a,n):void 0),"function"!=typeof t&&(t=o[t]),Dn.call(t,o,function(t,o){return In.call(n,t)?Dn.call(r,i,n[t],t,n,o):e})}}("forEach"),Fn=Function.prototype.call,$n=qe,Kn=Function.prototype.bind,Vn=Object.defineProperty,Ln=Object.prototype.hasOwnProperty;pn=function(t,e,n){var r,o=he(e)&&$n(e.value);return r=function(t){var e=Object(he(t)),n=arguments[1],r=Object(arguments[2]);if(e!==t&&!n)return e;var o={};return n?kn(n,function(e){(r.ensure||e in t)&&(o[e]=t[e])}):Ge(o,t),o}(e),delete r.writable,delete r.value,r.get=function(){return!n.overwriteDefinition&&Ln.call(this,t)?o:(e.value=Kn.call(o,n.resolveContext?n.resolveContext(this):this),Vn(this,t,e),this[t])},r};var Bn,qn=Object.defineProperty,Rn=Object.defineProperties,Un=Bn=function(t,e){if(!(this instanceof Bn))throw new TypeError("Constructor requires 'new'");Rn(this,{__list__:en("w",he(t)),__context__:en("w",e),__nextIndex__:en("w",0)}),e&&(qe(e.on),e.on("_add",this._onAdd),e.on("_delete",this._onDelete),e.on("_clear",this._onClear))};delete Bn.prototype.constructor,Rn(Bn.prototype,Ge({_next:en(function(){var t;if(this.__list__)return this.__redo__&&void 0!==(t=this.__redo__.shift())?t:this.__nextIndex__<this.__list__.length?this.__nextIndex__++:void this._unBind()}),next:en(function(){return this._createResult(this._next())}),_createResult:en(function(t){return void 0===t?{done:!0,value:void 0}:{done:!1,value:this._resolve(t)}}),_resolve:en(function(t){return this.__list__[t]}),_unBind:en(function(){this.__list__=null,delete this.__redo__,this.__context__&&(this.__context__.off("_add",this._onAdd),this.__context__.off("_delete",this._onDelete),this.__context__.off("_clear",this._onClear),this.__context__=null)}),toString:en(function(){return"[object "+(this[hn.toStringTag]||"Object")+"]"})},function(t){var e=Qe(arguments[1]);return null!=e.resolveContext&&qe(e.resolveContext),function(t,e){var n={},r=arguments[2];return qe(e),Nn(t,function(t,o,i,a){n[o]=Fn.call(e,r,t,o,i,a)}),n}(t,function(t,n){return pn(n,t,e)})}({_onAdd:en(function(t){t>=this.__nextIndex__||(++this.__nextIndex__,this.__redo__?(this.__redo__.forEach(function(e,n){e>=t&&(this.__redo__[n]=++e)},this),this.__redo__.push(t)):qn(this,"__redo__",en("c",[t])))}),_onDelete:en(function(t){var e;t>=this.__nextIndex__||(--this.__nextIndex__,this.__redo__&&(-1!==(e=this.__redo__.indexOf(t))&&this.__redo__.splice(e,1),this.__redo__.forEach(function(e,n){e>t&&(this.__redo__[n]=--e)},this)))}),_onClear:en(function(){this.__redo__&&ye.call(this.__redo__),this.__nextIndex__=0})}))),qn(Bn.prototype,hn.iterator,en(function(){return this}));var Wn,Gn=t(function(t){var e,n=Object.defineProperty;e=t.exports=function(t,r){if(!(this instanceof e))throw new TypeError("Constructor requires 'new'");Un.call(this,t),r=r?tn.call(r,"key+value")?"key+value":tn.call(r,"key")?"key":"value":"value",n(this,"__kind__",en("",r))},Be&&Be(e,Un),delete e.prototype.constructor,e.prototype=Object.create(Un.prototype,{_resolve:en(function(t){return"value"===this.__kind__?this.__list__[t]:"key+value"===this.__kind__?[t,this.__list__[t]]:t})}),n(e.prototype,hn.toStringTag,en("c","Array Iterator"))}),Hn=t(function(t){var e,n=Object.defineProperty;e=t.exports=function(t){if(!(this instanceof e))throw new TypeError("Constructor requires 'new'");t=String(t),Un.call(this,t),n(this,"__length__",en("",t.length))},Be&&Be(e,Un),delete e.prototype.constructor,e.prototype=Object.create(Un.prototype,{_next:en(function(){if(this.__list__)return this.__nextIndex__<this.__length__?this.__nextIndex__++:void this._unBind()}),_resolve:en(function(t){var e,n=this.__list__[t];return this.__nextIndex__===this.__length__?n:(e=n.charCodeAt(0))>=55296&&e<=56319?n+this.__list__[this.__nextIndex__++]:n})}),n(e.prototype,hn.toStringTag,en("c","String Iterator"))}),Jn=hn.iterator,Qn=Array.isArray,Xn=Function.prototype.call,Yn=Array.prototype.some,Zn=function(t,e){var n,r,o,i,a,c,u,l,s=arguments[2];if(Qn(t)||vn(t)?n="array":On(t)?n="string":t=function(t){return"function"==typeof jn(t)[Jn]?t[Jn]():vn(t)?new Gn(t):On(t)?new Hn(t):new Gn(t)}(t),qe(e),o=function(){i=!0},"array"!==n)if("string"!==n)for(r=t.next();!r.done;){if(Xn.call(e,s,r.value,o),i)return;r=t.next()}else for(c=t.length,a=0;a<c&&(u=t[a],a+1<c&&(l=u.charCodeAt(0))>=55296&&l<=56319&&(u+=t[++a]),Xn.call(e,s,u,o),!i);++a);else Yn.call(t,function(t){return Xn.call(e,s,t,o),i})},tr=Array.prototype.forEach,er=Object.create,nr=function(t){var e=er(null);return tr.call(arguments,function(t){e[t]=!0}),e}("key","value","key+value"),rr=t(function(t){var e,n=hn.toStringTag,r=Object.defineProperties,o=Un.prototype._unBind;e=t.exports=function(t,n){if(!(this instanceof e))return new e(t,n);Un.call(this,t.__mapKeysData__,t),n&&nr[n]||(n="key+value"),r(this,{__kind__:en("",n),__values__:en("w",t.__mapValuesData__)})},Be&&Be(e,Un),e.prototype=Object.create(Un.prototype,{constructor:en(e),_resolve:en(function(t){return"value"===this.__kind__?this.__values__[t]:"key"===this.__kind__?this.__list__[t]:[this.__list__[t],this.__values__[t]]}),_unBind:en(function(){this.__values__=null,o.call(this)}),toString:en(function(){return"[object Map Iterator]"})}),Object.defineProperty(e.prototype,n,en("c","Map Iterator"))}),or="undefined"!=typeof Map&&"[object Map]"===Object.prototype.toString.call(new Map),ir=jn,ar=Function.prototype.call,cr=Object.defineProperties,ur=Object.getPrototypeOf,lr=Wn=function(){var t,e,n,r=arguments[0];if(!(this instanceof Wn))throw new TypeError("Constructor requires 'new'");return n=or&&Be&&Map!==Wn?Be(new Map,ur(this)):this,null!=r&&ir(r),cr(n,{__mapKeysData__:en("c",t=[]),__mapValuesData__:en("c",e=[])}),r?(Zn(r,function(n){var r=he(n)[0];n=n[1],-1===Pe.call(t,r)&&(t.push(r),e.push(n))},n),n):n};or&&(Be&&Be(Wn,Map),Wn.prototype=Object.create(Map.prototype,{constructor:en(Wn)})),nn(cr(Wn.prototype,{clear:en(function(){this.__mapKeysData__.length&&(ye.call(this.__mapKeysData__),ye.call(this.__mapValuesData__),this.emit("_clear"))}),delete:en(function(t){var e=Pe.call(this.__mapKeysData__,t);return-1!==e&&(this.__mapKeysData__.splice(e,1),this.__mapValuesData__.splice(e,1),this.emit("_delete",e,t),!0)}),entries:en(function(){return new rr(this,"key+value")}),forEach:en(function(t){var e,n,r=arguments[1];for(qe(t),n=(e=this.entries())._next();void 0!==n;)ar.call(t,r,this.__mapValuesData__[n],this.__mapKeysData__[n],this),n=e._next()}),get:en(function(t){var e=Pe.call(this.__mapKeysData__,t);if(-1!==e)return this.__mapValuesData__[e]}),has:en(function(t){return-1!==Pe.call(this.__mapKeysData__,t)}),keys:en(function(){return new rr(this,"key")}),set:en(function(t,e){var n,r=Pe.call(this.__mapKeysData__,t);return-1===r&&(r=this.__mapKeysData__.push(t)-1,n=!0),this.__mapValuesData__[r]=e,n&&this.emit("_add",r,t),this}),size:en.gs(function(){return this.__mapKeysData__.length}),values:en(function(){return new rr(this,"value")}),toString:en(function(){return"[object Map]"})})),Object.defineProperty(Wn.prototype,hn.iterator,en(function(){return this.entries()})),Object.defineProperty(Wn.prototype,hn.toStringTag,en("c","Map")),function(){var t,e,n;if("function"!=typeof Map)return!1;try{t=new Map([["raz","one"],["dwa","two"],["trzy","three"]])}catch(t){return!1}return"[object Map]"===String(t)&&3===t.size&&"function"==typeof t.clear&&"function"==typeof t.delete&&"function"==typeof t.entries&&"function"==typeof t.forEach&&"function"==typeof t.get&&"function"==typeof t.has&&"function"==typeof t.keys&&"function"==typeof t.set&&"function"==typeof t.values&&(e=t.entries(),!1===(n=e.next()).done&&!!n.value&&"raz"===n.value[0]&&"one"===n.value[1])}()||Object.defineProperty(se,"Map",{value:lr,configurable:!0,enumerable:!1,writable:!0});var sr=new Object;return sr.install=function(t,e){function n(t,n,r){var l,s=Object.assign({},e);if(a(n)||T(n)){l=n,u.indexOf(r)>-1&&(l=n.fn,r===i?s={throttle:n.throttle}:r===c&&(s={debounce:n.debounce}));try{le.bind(t,o,l,s)}catch(t){console.warn("Unexpected error happened when binding listener")}}else console.warn("Unexpected scroll properties")}function r(t,e,n){var r;(a(e)||T(e))&&(r=e,u.indexOf(n)>-1&&(r=e.fn),le.unbind(t,o,r))}e=e||{};var o="scroll",i="throttle",c="debounce",u=[i,c];t.directive(o,{bind:function(t,e,r,o){n(t,e.value,e.arg)},inserted:function(t,e){},update:function(t,e){e.value!==e.oldValue&&(n(t,e.value,e.arg),r(t,e.oldValue,e.arg))},unbind:function(t,e){r(t,e.value,e.arg)}})},sr});
{
"name": "vue-scroll",
"version": "2.1.11",
"version": "2.1.12",
"description": "scroll directive for vuejs 2.0",

@@ -10,3 +10,3 @@ "main": "dist/vue-scroll.common.js",

"dev:dist": "rollup -wm -c build/rollup.dev.config.js",
"build": "node build/build.js"
"prepublishOnly": "node build/build.js"
},

@@ -13,0 +13,0 @@ "repository": {

Sorry, the diff of this file is too big to display

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