New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

angular-smooth-scrollbar

Package Overview
Dependencies
Maintainers
1
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular-smooth-scrollbar - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

2

bower.json
{
"name": "angular-smooth-scrollbar",
"version": "0.0.3",
"version": "0.0.4",
"authors": [

@@ -5,0 +5,0 @@ "Dolphin Wood <dolphin.w.e@gmail.com>"

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

!function(t){function e(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return t[r].call(o.exports,o,o.exports,e),o.loaded=!0,o.exports}var n={};return e.m=t,e.c=n,e.p="",e(0)}([function(t,e,n){"use strict";var r=n(1)["default"],o=n(5)["default"],i=n(6);n(69),n(77),n(95),angular.module("SmoothScrollbar",[]).service("ScrollbarService",function(){function t(){o(this,t),this.scrollbarInstances={},this.deferreds={}}return r(t,[{key:"getInstance",value:function(t,e){if("function"==typeof e){var n=this.scrollbarInstances,r=this.deferreds;setTimeout(function(){return n.hasOwnProperty(t)?e(n[t]):(r[t]=r[t]||[],void r[t].push(e))})}}},{key:"createInstance",value:function(t,e,n){var r=this.scrollbarInstances,o=this.deferreds;if(r.hasOwnProperty(t))return r[t];var a=r[t]=new i.SmoothScrollbar(e,n);o.hasOwnProperty(t)&&(o[t].forEach(function(t){setTimeout(function(){return t(a)})}),delete o[t])}},{key:"destroyInstance",value:function(t){var e=this.scrollbarInstances,n=e[t];n&&(n.destroyScrollbar(),delete e[t])}}]),t}()).directive("scrollbar",["ScrollbarService",function(t){return{restrict:"AE",transclude:!0,template:'\n <article class="scroll-content" ng-transclude></article>\n <aside class="scrollbar-track scrollbar-track-x">\n <div class="scrollbar-thumb scrollbar-thumb-x"></div>\n </aside>\n <aside class="scrollbar-track scrollbar-track-y">\n <div class="scrollbar-thumb scrollbar-thumb-y"></div>\n </aside>\n ',scope:{name:"@scrollbar",speed:"@",stepLength:"@",easingDuration:"@",easingCurve:"@"},link:function(e,n){var r=e.name,o=e.speed,i=e.stepLength,a=e.easingDuration,u=e.easingCurve;if(!r)throw new Error("scrollbar name is required");t.destroyInstance(e.name),t.createInstance(r,n,{speed:o,stepLength:i,easingDuration:a,easingCurve:u})}}}])},function(t,e,n){"use strict";var r=n(2)["default"];e["default"]=function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),r(t,o.key,o)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),e.__esModule=!0},function(t,e,n){t.exports={"default":n(3),__esModule:!0}},function(t,e,n){var r=n(4);t.exports=function(t,e,n){return r.setDesc(t,e,n)}},function(t,e){var n=Object;t.exports={create:n.create,getProto:n.getPrototypeOf,isEnum:{}.propertyIsEnumerable,getDesc:n.getOwnPropertyDescriptor,setDesc:n.defineProperty,setDescs:n.defineProperties,getKeys:n.keys,getNames:n.getOwnPropertyNames,getSymbols:n.getOwnPropertySymbols,each:[].forEach}},function(t,e){"use strict";e["default"]=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},e.__esModule=!0},function(t,e,n){"use strict";var r=n(5)["default"],o=n(7)["default"];Object.defineProperty(e,"__esModule",{value:!0});var i=n(9),a=n(67),u=function s(t,e){var n=e.speed,u=e.stepLength,c=e.easingDuration,l=e.easingCurve;r(this,s);var f=angular.element,h=t[0],d=f(i.findChild(h,"scrollbar-track-x")),v=f(i.findChild(h,"scrollbar-track-y"));o(this,{$target:{value:{container:t,content:f(i.findChild(h,"scroll-content")),xAxis:{track:d,thumb:f(i.findChild(d[0],"scrollbar-thumb-x"))},yAxis:{track:v,thumb:f(i.findChild(v[0],"scrollbar-thumb-y"))}}},offset:{value:{x:0,y:0},writable:!0},__listeners:{value:[],writable:!0},__motionBuilder:{value:i.motionBuilder(l)},__updateThrottle:{value:i.throttle(this.update.bind(this))}}),this.__initScrollbar({speed:parseFloat(n)||a.DEFAULT_OPTIONS.SPEED,stepLength:parseFloat(u)||a.DEFAULT_OPTIONS.STEP_LENGTH,easingDuration:parseFloat(c)||a.DEFAULT_OPTIONS.EASING_DURATION});var p=void 0;this.showTrack=function(){var t=arguments.length<=0||void 0===arguments[0]?"both":arguments[0];clearTimeout(p),t=t.toLowerCase(),"both"===t&&(d.addClass("show"),v.addClass("show")),"x"===t&&d.addClass("show"),"y"===t&&v.addClass("show")},this.hideTrack=function(){p=setTimeout(function(){d.removeClass("show"),v.removeClass("show")},1e3)}};e.SmoothScrollbar=u},function(t,e,n){t.exports={"default":n(8),__esModule:!0}},function(t,e,n){var r=n(4);t.exports=function(t,e){return r.setDescs(t,e)}},function(t,e,n){"use strict";var r=n(10)["default"],o=n(25)["default"];Object.defineProperty(e,"__esModule",{value:!0});var i=n(26);r(e,o(i,r));var a=n(27);r(e,o(a,r));var u=n(29);r(e,o(u,r));var s=n(60);r(e,o(s,r));var c=n(62);r(e,o(c,r));var l=n(63);r(e,o(l,r));var f=n(64);r(e,o(f,r));var h=n(61);r(e,o(h,r));var d=n(28);r(e,o(d,r))},function(t,e,n){"use strict";var r=n(11)["default"],o=n(23)["default"],i=n(2)["default"];e["default"]=function(t,e){for(var n=r(e),a=0;a<n.length;a++){var u=n[a],s=o(e,u);s&&s.configurable&&void 0===t[u]&&i(t,u,s)}return t},e.__esModule=!0},function(t,e,n){t.exports={"default":n(12),__esModule:!0}},function(t,e,n){var r=n(4);n(13),t.exports=function(t){return r.getNames(t)}},function(t,e,n){var r=n(4),o=n(14),i=n(15),a=n(17),u=n(21);r.each.call("freeze,seal,preventExtensions,isFrozen,isSealed,isExtensible,getOwnPropertyDescriptor,getPrototypeOf,keys,getOwnPropertyNames".split(","),function(t,e){var r=(o.Object||{})[t]||Object[t],s=0,c={};c[t]=0==e?function(t){return u(t)?r(t):t}:1==e?function(t){return u(t)?r(t):t}:2==e?function(t){return u(t)?r(t):t}:3==e?function(t){return u(t)?r(t):!0}:4==e?function(t){return u(t)?r(t):!0}:5==e?function(t){return u(t)?r(t):!1}:6==e?function(t,e){return r(a(t),e)}:7==e?function(t){return r(a(t,!0))}:8==e?function(t){return r(a(t))}:n(22).get;try{r("z")}catch(l){s=1}i(i.S+i.F*s,"Object",c)})},function(t,e){var n=t.exports={};"number"==typeof __e&&(__e=n)},function(t,e,n){function r(t,e){return function(){return t.apply(e,arguments)}}function o(t,e,n){var s,c,l,f,h=t&o.G,d=t&o.P,v=h?i:t&o.S?i[e]:(i[e]||{})[u],p=h?a:a[e]||(a[e]={});h&&(n=e);for(s in n)c=!(t&o.F)&&v&&s in v,c&&s in p||(l=c?v[s]:n[s],h&&"function"!=typeof v[s]?f=n[s]:t&o.B&&c?f=r(l,i):t&o.W&&v[s]==l?!function(t){f=function(e){return this instanceof t?new t(e):t(e)},f[u]=t[u]}(l):f=d&&"function"==typeof l?r(Function.call,l):l,p[s]=f,d&&((p[u]||(p[u]={}))[s]=l))}var i=n(16),a=n(14),u="prototype";o.F=1,o.G=2,o.S=4,o.P=8,o.B=16,o.W=32,t.exports=o},function(t,e){var n="undefined"!=typeof self&&self.Math==Math?self:Function("return this")();t.exports=n,"number"==typeof __g&&(__g=n)},function(t,e,n){var r=n(18),o=n(20);t.exports=function(t,e){return(e?Object:r)(o(t))}},function(t,e,n){var r=n(19),o=Object;t.exports=0 in o("z")?o:function(t){return"String"==r(t)?t.split(""):o(t)}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,e){t.exports=function(t){return null!==t&&("object"==typeof t||"function"==typeof t)}},function(t,e,n){function r(t){try{return a(t)}catch(e){return u.slice()}}var o={}.toString,i=n(17),a=n(4).getNames,u="object"==typeof window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.get=function(t){return u&&"[object Window]"==o.call(t)?r(t):a(i(t))}},function(t,e,n){t.exports={"default":n(24),__esModule:!0}},function(t,e,n){var r=n(4);n(13),t.exports=function(t,e){return r.getDesc(t,e)}},function(t,e){"use strict";e["default"]=function(t,e){var n=e({},t);return delete n["default"],n},e.__esModule=!0},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=100,r=function(t){var e=arguments.length<=1||void 0===arguments[1]?n:arguments[1];if("function"==typeof t){var r=void 0;return function(){for(var n=arguments.length,o=Array(n),i=0;n>i;i++)o[i]=arguments[i];r||setTimeout(function(){return t.apply(void 0,o)}),clearTimeout(r),r=setTimeout(function(){r=void 0},e)}}};e.throttle=r},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(28),o={STANDARD:-120,MOZ:20},i=function(t){return t=r.getOriginalEvent(t),t.wheelDelta?{x:t.wheelDeltaX/o.STANDARD,y:t.wheelDeltaY/o.STANDARD}:{x:t.deltaX/o.MOZ,y:t.deltaY/o.MOZ}};e.getDelta=i},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(t){return t.originalEvent||t};e.getOriginalEvent=n},function(t,e,n){"use strict";var r=n(30)["default"];Object.defineProperty(e,"__esModule",{value:!0});var o=function(t,e){var n=t.children;return n?[].concat(r(n)).filter(function(t){return t.className.match(e)}):null};e.findChild=o},function(t,e,n){"use strict";var r=n(31)["default"];e["default"]=function(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return r(t)},e.__esModule=!0},function(t,e,n){t.exports={"default":n(32),__esModule:!0}},function(t,e,n){n(33),n(50),t.exports=n(14).Array.from},function(t,e,n){var r=n(34)(!0);n(36)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})})},function(t,e,n){var r=n(35),o=n(20);t.exports=function(t){return function(e,n){var i,a,u=String(o(e)),s=r(n),c=u.length;return 0>s||s>=c?t?"":void 0:(i=u.charCodeAt(s),55296>i||i>56319||s+1===c||(a=u.charCodeAt(s+1))<56320||a>57343?t?u.charAt(s):i:t?u.slice(s,s+2):(i-55296<<10)+(a-56320)+65536)}}},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},function(t,e,n){"use strict";function r(){return this}var o=n(37),i=n(15),a=n(38),u=n(39),s=n(42),c=n(43)("iterator"),l=n(46),f="@@iterator",h="keys",d="values";t.exports=function(t,e,v,p,g,y,m){function b(t){switch(t){case h:return function(){return new v(this,t)};case d:return function(){return new v(this,t)}}return function(){return new v(this,t)}}n(47)(v,e,p);var _,x,S=e+" Iterator",w=t.prototype,O=w[c]||w[f]||g&&w[g],P=O||b(g);if(O){var k=n(4).getProto(P.call(new t));n(48)(k,S,!0),!o&&s(w,f)&&u(k,c,r)}if((!o||m)&&u(w,c,P),l[e]=P,l[S]=r,g)if(_={keys:y?P:b(h),values:g==d?P:b(d),entries:g!=d?P:b("entries")},m)for(x in _)x in w||a(w,x,_[x]);else i(i.P+i.F*n(49),e,_)}},function(t,e){t.exports=!0},function(t,e,n){t.exports=n(39)},function(t,e,n){var r=n(4),o=n(40);t.exports=n(41)?function(t,e,n){return r.setDesc(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e){t.exports=!!function(){try{return 2==Object.defineProperty({},"a",{get:function(){return 2}}).a}catch(t){}}()},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){var r=n(44)("wks"),o=n(16).Symbol;t.exports=function(t){return r[t]||(r[t]=o&&o[t]||(o||n(45))("Symbol."+t))}},function(t,e,n){var r=n(16),o="__core-js_shared__",i=r[o]||(r[o]={});t.exports=function(t){return i[t]||(i[t]={})}},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},function(t,e){t.exports={}},function(t,e,n){"use strict";var r=n(4),o={};n(39)(o,n(43)("iterator"),function(){return this}),t.exports=function(t,e,i){t.prototype=r.create(o,{next:n(40)(1,i)}),n(48)(t,e+" Iterator")}},function(t,e,n){var r=n(42),o=n(39),i=n(43)("toStringTag");t.exports=function(t,e,n){t&&!r(t=n?t:t.prototype,i)&&o(t,i,e)}},function(t,e){t.exports="keys"in[]&&!("next"in[].keys())},function(t,e,n){var r=n(51),o=n(15),i=n(17),a=n(53),u=n(55),s=n(56),c=n(57);o(o.S+o.F*!n(59)(function(t){Array.from(t)}),"Array",{from:function(t){var e,n,o,l,f=i(t,!0),h="function"==typeof this?this:Array,d=arguments[1],v=void 0!==d,p=0,g=c(f);if(v&&(d=r(d,arguments[2],2)),void 0==g||h==Array&&u(g))for(n=new h(e=s(f.length));e>p;p++)n[p]=v?d(f[p],p):f[p];else for(l=g.call(f),n=new h;!(o=l.next()).done;p++)n[p]=v?a(l,d,[o.value,p],!0):o.value;return n.length=p,n}})},function(t,e,n){var r=n(52);t.exports=function(t,e,n){if(r(t),~n&&void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e,n){function r(t){var e=t["return"];void 0!==e&&o(e.call(t))}var o=n(54);t.exports=function(t,e,n,i){try{return i?e(o(n)[0],n[1]):e(n)}catch(a){throw r(t),a}}},function(t,e,n){var r=n(21);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,e,n){var r=n(46),o=n(43)("iterator");t.exports=function(t){return("Array"in r?r.Array:Array.prototype[o])===t}},function(t,e,n){var r=n(35),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,e,n){var r=n(16),o=n(58),i=n(43)("iterator"),a=n(46);t.exports=n(14).getIteratorMethod=function(t){var e=r.Symbol;return void 0!=t?t[e&&e.iterator||"@@iterator"]||t[i]||a[o(t)]:void 0}},function(t,e,n){var r=n(19),o=n(43)("toStringTag"),i="Arguments"==r(function(){return arguments}());t.exports=function(t){var e,n,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=(e=Object(t))[o])?n:i?r(e):"Object"==(a=r(e))&&"function"==typeof e.callee?"Arguments":a}},function(t,e,n){var r=n(43)("iterator"),o=!1;try{var i=[7][r]();i["return"]=function(){o=!0},Array.from(i,function(){throw 2})}catch(a){}t.exports=function(t){if(!o)return!1;var e=!1;try{var n=[7],i=n[r]();i.next=function(){e=!0},n[r]=function(){return i},t(n)}catch(a){}return e}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(28),o=n(61),i=function(t){t=r.getOriginalEvent(t);var e=o.getPointerData(t);return e.identifier};e.getTouchID=i},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(t){return t.touches?t.touches[t.touches.length-1]:t};e.getPointerData=n},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(28),o=n(61),i=function(t){t=r.getOriginalEvent(t);var e=o.getPointerData(t);return{x:e.clientX,y:e.clientY}};e.getPosition=i},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(t){var e=arguments.length<=1||void 0===arguments[1]?0:arguments[1],n=arguments.length<=2||void 0===arguments[2]?0:arguments[2];return Math.max(e,Math.min(t,n))};e.pickInRange=n},function(t,e,n){"use strict";var r=n(30)["default"],o=n(65)["default"],i=n(66)["default"];Object.defineProperty(e,"__esModule",{value:!0});var a=n(67),u=n(68),s=i(u),c="function"==typeof Float32Array?Float32Array:Array,l=["ease","linear","ease-in","ease-out","ease-in-out"],f={easeInSine:[.47,0,.745,.715],easeOutSine:[.39,.575,.565,1],easeInOutSine:[.445,.05,.55,.95],easeInQuad:[.55,.085,.68,.53],easeOutQuad:[.25,.46,.45,.94],easeInOutQuad:[.455,.03,.515,.955],easeInCubic:[.55,.055,.675,.19],easeOutCubic:[.215,.61,.355,1],easeInOutCubic:[.645,.045,.355,1],easeInQuart:[.895,.03,.685,.22],easeOutQuart:[.165,.84,.44,1],easeInOutQuart:[.77,0,.175,1],easeInQuint:[.755,.05,.855,.06],easeOutQuint:[.23,1,.32,1],easeInOutQuint:[.86,0,.07,1],easeInExpo:[.95,.05,.795,.035],easeOutExpo:[.19,1,.22,1],easeInOutExpo:[1,0,0,1],easeInCirc:[.6,.04,.98,.335],easeOutCirc:[.075,.82,.165,1],easeInOutCirc:[.785,.135,.15,.86],easeInBack:[.6,-.28,.735,.045],easeOutBack:[.175,.885,.32,1.275],easeInOutBack:[.68,-.55,.265,1.55]},h=function(t){var e=f[a.DEFAULT_OPTIONS.EASING_CURVE];if(-1!==l.indexOf(t))return s["default"][t.replace(/\-[a-z]/g,function(t){return t[1].toUpperCase()})];if(f.hasOwnProperty(t))return new(o.apply(s["default"],[null].concat(r(f[t]))));if(/^cubic\-bezier/i.test(t)){var n=t.match(/-?[0-9.]+/g)||e;return new(o.apply(s["default"],[null].concat(r(n.map(function(t){return parseFloat(t)})))))}return new(o.apply(s["default"],[null].concat(r(e))))},d=function(t){var e=h(t);return function(t,n,r){for(var o=Math.floor(r/1e3*60+1),i=new c(o),a=1;o>=a;a++)i[a-1]=t+n*e.get(a/o);return i}};e.motionBuilder=d},function(t,e){"use strict";e["default"]=Function.prototype.bind,e.__esModule=!0},function(t,e){"use strict";e["default"]=function(t){return t&&t.__esModule?t:{"default":t}},e.__esModule=!0},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n={SPEED:1,STEP_LENGTH:50,EASING_DURATION:1e3,EASING_CURVE:"easeOutCubic"};e.DEFAULT_OPTIONS=n},function(t,e){function n(t,e){return 1-3*e+3*t}function r(t,e){return 3*e-6*t}function o(t){return 3*t}function i(t,e,i){return((n(e,i)*t+r(e,i))*t+o(e))*t}function a(t,e,i){return 3*n(e,i)*t*t+2*r(e,i)*t+o(e)}function u(t,e,n,r,o){var a,u,s=0;do u=e+(n-e)/2,a=i(u,r,o)-t,a>0?n=u:e=u;while(Math.abs(a)>h&&++s<d);return u}function s(t,e,n,r){for(var o=0;l>o;++o){var u=a(e,n,r);if(0===u)return e;var s=i(e,n,r)-t;e-=s/u}return e}function c(t,e,n,r){if(4===arguments.length)return new c([t,e,n,r]);if(!(this instanceof c))return new c(t);if(!t||4!==t.length)throw new Error("BezierEasing: points must contains 4 values");for(var o=0;4>o;++o)if("number"!=typeof t[o]||isNaN(t[o])||!isFinite(t[o]))throw new Error("BezierEasing: points should be integers.");if(t[0]<0||t[0]>1||t[2]<0||t[2]>1)throw new Error("BezierEasing x values must be in [0, 1] range.");this._str="BezierEasing("+t+")",this._css="cubic-bezier("+t+")",this._p=t,this._mSampleValues=g?new Float32Array(v):new Array(v),this._precomputed=!1,this.get=this.get.bind(this)}var l=4,f=.001,h=1e-7,d=10,v=11,p=1/(v-1),g="function"==typeof Float32Array;c.prototype={get:function(t){var e=this._p[0],n=this._p[1],r=this._p[2],o=this._p[3];return this._precomputed||this._precompute(),e===n&&r===o?t:0===t?0:1===t?1:i(this._getTForX(t),n,o)},getPoints:function(){return this._p},toString:function(){return this._str},toCSS:function(){return this._css},_precompute:function(){var t=this._p[0],e=this._p[1],n=this._p[2],r=this._p[3];this._precomputed=!0,(t!==e||n!==r)&&this._calcSampleValues()},_calcSampleValues:function(){for(var t=this._p[0],e=this._p[2],n=0;v>n;++n)this._mSampleValues[n]=i(n*p,t,e)},_getTForX:function(t){for(var e=this._p[0],n=this._p[2],r=this._mSampleValues,o=0,i=1,c=v-1;i!==c&&r[i]<=t;++i)o+=p;--i;var l=(t-r[i])/(r[i+1]-r[i]),h=o+l*p,d=a(h,e,n);return d>=f?s(t,h,e,n):0===d?h:u(t,o,o+p,e,n)}},c.css={ease:c.ease=c(.25,.1,.25,1),linear:c.linear=c(0,0,1,1),"ease-in":c.easeIn=c(.42,0,1,1),"ease-out":c.easeOut=c(0,0,.58,1),"ease-in-out":c.easeInOut=c(.42,0,.58,1)},t.exports=c},function(t,e,n){"use strict";var r=n(10)["default"],o=n(25)["default"];Object.defineProperty(e,"__esModule",{value:!0});var i=n(70);r(e,o(i,r));var a=n(71);r(e,o(a,r));var u=n(73);r(e,o(u,r));var s=n(74);r(e,o(s,r));var c=n(75);r(e,o(c,r));var l=n(76);r(e,o(l,r))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),n(71),n(72);var r=n(9),o=n(6);e.SmoothScrollbar=o.SmoothScrollbar,o.SmoothScrollbar.prototype.update=function(){var t=this;requestAnimationFrame(function(){var e=t.size=t.getSize(),n={x:e.content.width-e.container.width,y:e.content.height-e.container.height};t.limit&&n.x===t.limit.x&&n.y===t.limit.y||(t.limit=n,t.$target.xAxis.track.css("display",e.content.width<=e.container.width?"none":"block"),t.$target.yAxis.track.css("display",e.content.height<=e.container.height?"none":"block"),t.$target.xAxis.thumb.css("width",100*r.pickInRange(e.container.width/e.content.width,0,1)+"%"),t.$target.yAxis.thumb.css("height",100*r.pickInRange(e.container.height/e.content.height,0,1)+"%"),t.__setThumbPosition())})}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(6);e.SmoothScrollbar=r.SmoothScrollbar,r.SmoothScrollbar.prototype.getSize=function(){var t=this.$target.container[0],e=this.$target.content[0];return{container:{width:t.clientWidth,height:t.clientHeight},content:{width:e.offsetWidth,height:e.offsetHeight}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(6);e.SmoothScrollbar=r.SmoothScrollbar;var o=function(){var t=this.$target,e=this.offset,n=e.x,r=e.y,o="translate3d("+n/this.size.content.width*this.size.container.width+"px, 0, 0)",i="translate3d(0, "+r/this.size.content.height*this.size.container.height+"px, 0)";t.xAxis.thumb.css({"-webkit-transform":o,transform:o}),t.yAxis.thumb.css({"-webkit-transform":i,transform:i})};Object.defineProperty(r.SmoothScrollbar.prototype,"__setThumbPosition",{value:o,writable:!0,configurable:!0})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(6);e.SmoothScrollbar=r.SmoothScrollbar,r.SmoothScrollbar.prototype.addListener=function(t){"function"==typeof t&&this.__listeners.push(t)},r.SmoothScrollbar.prototype.removeListener=function(t){"function"==typeof t&&this.__listeners.some(function(e,n,r){return e===t&&r.splice(n,1)})}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),n(75);var r=n(9),o=n(6);e.SmoothScrollbar=o.SmoothScrollbar,o.SmoothScrollbar.prototype.scrollTo=function(){var t=arguments.length<=0||void 0===arguments[0]?this.offset.x:arguments[0],e=this,n=arguments.length<=1||void 0===arguments[1]?this.offset.y:arguments[1],o=arguments.length<=2||void 0===arguments[2]?0:arguments[2],i=this.offset,a=this.limit,u=r.pickInRange(t,0,a.x),s=r.pickInRange(n,0,a.y);if(u!==i.x||s!==i.y){var c={x:this.__motionBuilder(i.x,u-i.x,o),y:this.__motionBuilder(i.y,s-i.y,o)},l=0,f=c.x.length,h=function d(){l!==f&&(e.setPosition(c.x[l],c.y[l]),l++,e.scrollAnimation=requestAnimationFrame(d))};h()}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),n(72);var r=n(9),o=n(6);e.SmoothScrollbar=o.SmoothScrollbar,o.SmoothScrollbar.prototype.setPosition=function(){var t=arguments.length<=0||void 0===arguments[0]?this.offset.x:arguments[0],e=arguments.length<=1||void 0===arguments[1]?this.offset.y:arguments[1];cancelAnimationFrame(this.scrollAnimation);var n={},o=this.offset,i=this.limit,a=this.$target,u=this.__listeners;if(this.__updateThrottle(),Math.abs(t-o.x)>1&&this.showTrack("x"),Math.abs(e-o.y)>1&&this.showTrack("y"),t=r.pickInRange(t,0,i.x),e=r.pickInRange(e,0,i.y),t!==o.x||e!==o.y){n.direction={x:t===o.x?"none":t>o.x?"right":"left",y:e===o.y?"none":e>o.y?"down":"up"},n.limit={x:i.x,y:i.y},n.offset=this.offset={x:t,y:e},this.__setThumbPosition();var s="translate3d("+-t+"px, "+-e+"px, 0)";a.content.css({"-webkit-transform":s,transform:s}),this.hideTrack(),u.forEach(function(t){return t(n)})}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),n(73);var r=n(6);e.SmoothScrollbar=r.SmoothScrollbar,r.SmoothScrollbar.prototype.infiniteScroll=function(t){var e=arguments.length<=1||void 0===arguments[1]?50:arguments[1];if("function"==typeof t){var n={x:0,y:0},r=!1;this.addListener(function(o){var i=o.offset,a=o.limit;a.y-i.y<=e&&i.y>n.y&&!r&&(r=!0,setTimeout(function(){return t(o)})),a.y-i.y>e&&(r=!1),n=i})}}},function(t,e,n){"use strict";var r=n(10)["default"],o=n(25)["default"];Object.defineProperty(e,"__esModule",{value:!0});var i=n(78);r(e,o(i,r));var a=n(81);r(e,o(a,r));var u=n(82);r(e,o(u,r));var s=n(83);r(e,o(s,r))},function(t,e,n){"use strict";var r=n(79)["default"];Object.defineProperty(e,"__esModule",{value:!0}),n(74),n(75);var o=n(6),i=n(9);e.SmoothScrollbar=o.SmoothScrollbar;var a=function(t){var e=this,n=t.easingDuration,o=void 0,a=void 0,u={},s={},c={},l=function(t){var e=i.getOriginalEvent(t).touches;r(e).forEach(function(t){if("length"!==t){var n=e[t];c[n.identifier]={pos:{x:n.pageX,y:n.pageY},time:(new Date).getTime()}}})},f=function(t){cancelAnimationFrame(e.scrollAnimation),l(t),a=i.getTouchID(t),s=i.getPosition(t),o=(new Date).getTime(),u.x=u.y=0},h=function(t){l(t);var n=i.getTouchID(t),r=e.offset,f=e.limit;if(void 0===a)a=n,s=c[n].pos,o=c[n].time;else if(n!==a)return;if(s){var h=(new Date).getTime()-o,d=s,v=d.x,p=d.y,g=s=i.getPosition(t),y=g.x,m=g.y;u.x=(v-y)/h,u.y=(p-m)/h;var b=i.pickInRange(v-y+r.x,0,f.x),_=i.pickInRange(p-m+r.y,0,f.y);Math.abs(b-r.x)<1&&_===r.y||Math.abs(_-r.y)<1&&b===r.x||(t.preventDefault(),t.stopPropagation(),e.setPosition(b,_))}},d=function(){delete c[a],a=void 0;var t=u.x,r=u.y,o=.01;(Math.abs(t)>o||Math.abs(r)>o)&&e.scrollTo(t*n+e.offset.x,r*n+e.offset.y,n),u.x=u.y=0};return{start:f,move:h,end:d}};Object.defineProperty(o.SmoothScrollbar.prototype,"__touchHandlers",{value:a,writable:!0,configurable:!0})},function(t,e,n){t.exports={"default":n(80),__esModule:!0}},function(t,e,n){n(13),t.exports=n(14).Object.keys},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),n(71),n(74),n(75);var r=n(6),o=n(9);e.SmoothScrollbar=r.SmoothScrollbar;var i=function(t){var e=t.match(/scrollbar\-(?:track|thumb)\-([xy])/);return e&&e[1]},a=function(t){var e=this,n=t.speed,r=void 0,a=void 0,u=void 0,s=void 0,c=void 0,l=function(t){if(!a&&/track/.test(t.target.className)){var r=t.target,u=i(r.className),s=r.getBoundingClientRect(),c=o.getPosition(t),l=e.size,f=e.offset,h=1e3/n;if("x"===u){var d=o.pickInRange(l.container.width/l.content.width,0,1),v=(c.x-s.left)/l.container.width;return e.scrollTo((v-d/2)*l.content.width,f.y,h)}var p=o.pickInRange(l.container.height/l.content.height,0,1),g=(c.y-s.top)/l.container.height;e.scrollTo(f.x,(g-p/2)*l.content.height,h)}},f=function(t){if(/thumb/.test(t.target.className)){r=!0;var n=o.getPosition(t),a=t.target.getBoundingClientRect();s=i(t.target.className),u={x:n.x-a.left,y:n.y-a.top},c=e.$target.container[0].getBoundingClientRect()}},h=function(t){if(r){a=!0,t.preventDefault();var n=e.size,i=e.offset,l=o.getPosition(t);return"x"===s?void e.setPosition((l.x-u.x-c.left)/(c.right-c.left)*n.content.width,i.y):void e.setPosition(i.x,(l.y-u.y-c.top)/(c.bottom-c.top)*n.content.height)}},d=function(){r=a=!1};return{click:l,down:f,move:h,up:d}};Object.defineProperty(r.SmoothScrollbar.prototype,"__mouseHandlers",{value:a,writable:!0,configurable:!0})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),n(74);var r=n(6),o=n(9);e.SmoothScrollbar=r.SmoothScrollbar;var i=function(t){var e=this,n=t.speed,r=t.stepLength,i=void 0,a=o.throttle(function(){i=void 0});return function(t){a();var u=e.offset,s=e.limit,c=o.getDelta(t),l=c.x,f=c.y,h=(new Date).getTime(),d=i?h-i:0;i=h;var v=o.pickInRange(l*n*r+u.x,0,s.x),p=o.pickInRange(f*n*r+u.y,0,s.y);Math.abs(v-u.x)<1&&p===u.y||Math.abs(p-u.y)<1&&v===u.x||(t.preventDefault(),t.stopPropagation(),e.scrollTo(v,p,10*d/n))}};Object.defineProperty(r.SmoothScrollbar.prototype,"__wheelHandler",{value:i,writable:!0,configurable:!0})},function(t,e,n){"use strict";var r=n(84)["default"];Object.defineProperty(e,"__esModule",{value:!0}),n(74);var o=n(9),i=n(6);e.SmoothScrollbar=i.SmoothScrollbar;var a={37:[-1,0],38:[0,-1],39:[1,0],40:[0,1]},u=function(t){var e=this,n=t.speed,i=t.stepLength,u=void 0;return this.$target.container.on("mouseenter",function(){return u=!0}),this.$target.container.on("mouseleave",function(){return u=!1}),function(t){if(u){t=o.getOriginalEvent(t);var s=t.keyCode||t.which;if(a.hasOwnProperty(s)){var c=e.offset,l=e.limit,f=r(a[s],2),h=f[0],d=f[1],v=o.pickInRange(h*n*i+c.x,0,l.x),p=o.pickInRange(d*n*i+c.y,0,l.y);(v!==c.x||p!==c.y)&&(t.preventDefault(),t.stopPropagation(),e.scrollTo(v,p,600/n))}}}};Object.defineProperty(i.SmoothScrollbar.prototype,"__keyboardHandler",{value:u,writable:!0,configurable:!0})},function(t,e,n){"use strict";var r=n(85)["default"],o=n(92)["default"];e["default"]=function(){function t(t,e){var n=[],o=!0,i=!1,a=void 0;try{for(var u,s=r(t);!(o=(u=s.next()).done)&&(n.push(u.value),!e||n.length!==e);o=!0);}catch(c){i=!0,a=c}finally{try{!o&&s["return"]&&s["return"]()}finally{if(i)throw a}}return n}return function(e,n){if(Array.isArray(e))return e;if(o(Object(e)))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),e.__esModule=!0},function(t,e,n){t.exports={"default":n(86),__esModule:!0}},function(t,e,n){n(87),n(33),t.exports=n(91)},function(t,e,n){n(88);var r=n(46);r.NodeList=r.HTMLCollection=r.Array},function(t,e,n){var r=n(89),o=n(90),i=n(46),a=n(17);n(36)(Array,"Array",function(t,e){this._t=a(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,o(1)):"keys"==e?o(0,n):"values"==e?o(0,t[n]):o(0,[n,t[n]])},"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(t,e){t.exports=function(){}},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,n){var r=n(54),o=n(57);t.exports=n(14).getIterator=function(t){var e=o(t);if("function"!=typeof e)throw TypeError(t+" is not iterable!");return r(e.call(t))}},function(t,e,n){t.exports={"default":n(93),__esModule:!0}},function(t,e,n){n(87),n(33),t.exports=n(94)},function(t,e,n){var r=n(16),o=n(42),i=n(58),a=n(43)("iterator"),u=n(46);t.exports=n(14).isIterable=function(t){var e=Object(t),n=r.Symbol;return(n&&n.iterator||"@@iterator")in e||a in e||o(u,i(e))}},function(t,e,n){"use strict";var r=n(10)["default"],o=n(25)["default"];Object.defineProperty(e,"__esModule",{value:!0});var i=n(96);r(e,o(i,r));var a=n(72);r(e,o(a,r))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),n(77);var r=n(6);e.SmoothScrollbar=r.SmoothScrollbar;var o="onmousewheel"in document.documentElement?"mousewheel":"wheel",i=function(t){this.update();var e=angular.element(window),n=this.$target.container,r=this.__wheelHandler(t),i=this.__keyboardHandler(t),a=this.__touchHandlers(t),u=this.__mouseHandlers(t),s=this.__updateThrottle;n.on(o,r),n.on("touchstart",a.start),n.on("touchmove",a.move),n.on("touchend",a.end),n.on("click",u.click),n.on("mousedown",u.down),e.on("mousemove",u.move),e.on("mouseup",u.up),e.on("keydown",i),e.on("blur",u.up),e.on("resize",s),this.destroyScrollbar=function(){n.off(o,r),n.off("touchstart",a.start),n.off("touchmove",a.move),n.off("touchend",a.end),n.off("click",u.click),n.off("mousedown",u.down),e.off("keydown",i),e.off("mousemove",u.move),e.off("mouseup",u.up),e.off("blur",u.up),e.off("resize",s)}};Object.defineProperty(r.SmoothScrollbar.prototype,"__initScrollbar",{value:i,writable:!0,configurable:!0})}]);
!function(t){function e(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return t[r].call(o.exports,o,o.exports,e),o.loaded=!0,o.exports}var n={};return e.m=t,e.c=n,e.p="",e(0)}([function(t,e,n){"use strict";var r=n(1)["default"],o=n(5)["default"],i=n(6);n(69),n(77),n(95),angular.module("SmoothScrollbar",[]).service("ScrollbarService",function(){function t(){o(this,t),this.scrollbarInstances={},this.deferreds={}}return r(t,[{key:"getInstance",value:function(t,e){if("function"==typeof e){var n=this.scrollbarInstances,r=this.deferreds;setTimeout(function(){return n.hasOwnProperty(t)?e(n[t]):(r[t]=r[t]||[],void r[t].push(e))})}}},{key:"createInstance",value:function(t,e,n){var r=this.scrollbarInstances,o=this.deferreds;if(r.hasOwnProperty(t))return r[t];var a=r[t]=new i.SmoothScrollbar(e,n);o.hasOwnProperty(t)&&(o[t].forEach(function(t){setTimeout(function(){return t(a)})}),delete o[t])}},{key:"destroyInstance",value:function(t){var e=this.scrollbarInstances,n=e[t];n&&(n.destroyScrollbar(),delete e[t])}}]),t}()).directive("scrollbar",["ScrollbarService",function(t){return{restrict:"AE",transclude:!0,template:'\n <article class="scroll-content" ng-transclude></article>\n <aside class="scrollbar-track scrollbar-track-x">\n <div class="scrollbar-thumb scrollbar-thumb-x"></div>\n </aside>\n <aside class="scrollbar-track scrollbar-track-y">\n <div class="scrollbar-thumb scrollbar-thumb-y"></div>\n </aside>\n ',scope:{name:"@scrollbar",speed:"@",stepLength:"@",easingDuration:"@",easingCurve:"@"},link:function(e,n){var r=e.name,o=e.speed,i=e.stepLength,a=e.easingDuration,u=e.easingCurve;if(!r)throw new Error("scrollbar name is required");t.destroyInstance(e.name),t.createInstance(r,n,{speed:o,stepLength:i,easingDuration:a,easingCurve:u})}}}])},function(t,e,n){"use strict";var r=n(2)["default"];e["default"]=function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),r(t,o.key,o)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),e.__esModule=!0},function(t,e,n){t.exports={"default":n(3),__esModule:!0}},function(t,e,n){var r=n(4);t.exports=function(t,e,n){return r.setDesc(t,e,n)}},function(t,e){var n=Object;t.exports={create:n.create,getProto:n.getPrototypeOf,isEnum:{}.propertyIsEnumerable,getDesc:n.getOwnPropertyDescriptor,setDesc:n.defineProperty,setDescs:n.defineProperties,getKeys:n.keys,getNames:n.getOwnPropertyNames,getSymbols:n.getOwnPropertySymbols,each:[].forEach}},function(t,e){"use strict";e["default"]=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},e.__esModule=!0},function(t,e,n){"use strict";var r=n(5)["default"],o=n(7)["default"];Object.defineProperty(e,"__esModule",{value:!0});var i=n(9),a=n(67),u=function s(t,e){var n=e.speed,u=e.stepLength,c=e.easingDuration,l=e.easingCurve;r(this,s);var f=angular.element,h=t[0],d=f(i.findChild(h,"scrollbar-track-x")),v=f(i.findChild(h,"scrollbar-track-y"));o(this,{$target:{value:{container:t,content:f(i.findChild(h,"scroll-content")),xAxis:{track:d,thumb:f(i.findChild(d[0],"scrollbar-thumb-x"))},yAxis:{track:v,thumb:f(i.findChild(v[0],"scrollbar-thumb-y"))}}},offset:{value:{x:0,y:0},writable:!0},__listeners:{value:[],writable:!0},__motionBuilder:{value:i.motionBuilder(l)},__updateThrottle:{value:i.throttle(this.update.bind(this))}}),this.__initScrollbar({speed:parseFloat(n)||a.DEFAULT_OPTIONS.SPEED,stepLength:parseFloat(u)||a.DEFAULT_OPTIONS.STEP_LENGTH,easingDuration:parseFloat(c)||a.DEFAULT_OPTIONS.EASING_DURATION});var p=void 0;this.showTrack=function(){var t=arguments.length<=0||void 0===arguments[0]?"both":arguments[0];clearTimeout(p),t=t.toLowerCase(),"both"===t&&(d.addClass("show"),v.addClass("show")),"x"===t&&d.addClass("show"),"y"===t&&v.addClass("show")},this.hideTrack=function(){p=setTimeout(function(){d.removeClass("show"),v.removeClass("show")},1e3)}};e.SmoothScrollbar=u},function(t,e,n){t.exports={"default":n(8),__esModule:!0}},function(t,e,n){var r=n(4);t.exports=function(t,e){return r.setDescs(t,e)}},function(t,e,n){"use strict";var r=n(10)["default"],o=n(25)["default"];Object.defineProperty(e,"__esModule",{value:!0});var i=n(26);r(e,o(i,r));var a=n(27);r(e,o(a,r));var u=n(29);r(e,o(u,r));var s=n(60);r(e,o(s,r));var c=n(62);r(e,o(c,r));var l=n(63);r(e,o(l,r));var f=n(64);r(e,o(f,r));var h=n(61);r(e,o(h,r));var d=n(28);r(e,o(d,r))},function(t,e,n){"use strict";var r=n(11)["default"],o=n(23)["default"],i=n(2)["default"];e["default"]=function(t,e){for(var n=r(e),a=0;a<n.length;a++){var u=n[a],s=o(e,u);s&&s.configurable&&void 0===t[u]&&i(t,u,s)}return t},e.__esModule=!0},function(t,e,n){t.exports={"default":n(12),__esModule:!0}},function(t,e,n){var r=n(4);n(13),t.exports=function(t){return r.getNames(t)}},function(t,e,n){var r=n(4),o=n(14),i=n(15),a=n(17),u=n(21);r.each.call("freeze,seal,preventExtensions,isFrozen,isSealed,isExtensible,getOwnPropertyDescriptor,getPrototypeOf,keys,getOwnPropertyNames".split(","),function(t,e){var r=(o.Object||{})[t]||Object[t],s=0,c={};c[t]=0==e?function(t){return u(t)?r(t):t}:1==e?function(t){return u(t)?r(t):t}:2==e?function(t){return u(t)?r(t):t}:3==e?function(t){return u(t)?r(t):!0}:4==e?function(t){return u(t)?r(t):!0}:5==e?function(t){return u(t)?r(t):!1}:6==e?function(t,e){return r(a(t),e)}:7==e?function(t){return r(a(t,!0))}:8==e?function(t){return r(a(t))}:n(22).get;try{r("z")}catch(l){s=1}i(i.S+i.F*s,"Object",c)})},function(t,e){var n=t.exports={};"number"==typeof __e&&(__e=n)},function(t,e,n){function r(t,e){return function(){return t.apply(e,arguments)}}function o(t,e,n){var s,c,l,f,h=t&o.G,d=t&o.P,v=h?i:t&o.S?i[e]:(i[e]||{})[u],p=h?a:a[e]||(a[e]={});h&&(n=e);for(s in n)c=!(t&o.F)&&v&&s in v,c&&s in p||(l=c?v[s]:n[s],h&&"function"!=typeof v[s]?f=n[s]:t&o.B&&c?f=r(l,i):t&o.W&&v[s]==l?!function(t){f=function(e){return this instanceof t?new t(e):t(e)},f[u]=t[u]}(l):f=d&&"function"==typeof l?r(Function.call,l):l,p[s]=f,d&&((p[u]||(p[u]={}))[s]=l))}var i=n(16),a=n(14),u="prototype";o.F=1,o.G=2,o.S=4,o.P=8,o.B=16,o.W=32,t.exports=o},function(t,e){var n="undefined"!=typeof self&&self.Math==Math?self:Function("return this")();t.exports=n,"number"==typeof __g&&(__g=n)},function(t,e,n){var r=n(18),o=n(20);t.exports=function(t,e){return(e?Object:r)(o(t))}},function(t,e,n){var r=n(19),o=Object;t.exports=0 in o("z")?o:function(t){return"String"==r(t)?t.split(""):o(t)}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,e){t.exports=function(t){return null!==t&&("object"==typeof t||"function"==typeof t)}},function(t,e,n){function r(t){try{return a(t)}catch(e){return u.slice()}}var o={}.toString,i=n(17),a=n(4).getNames,u="object"==typeof window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.get=function(t){return u&&"[object Window]"==o.call(t)?r(t):a(i(t))}},function(t,e,n){t.exports={"default":n(24),__esModule:!0}},function(t,e,n){var r=n(4);n(13),t.exports=function(t,e){return r.getDesc(t,e)}},function(t,e){"use strict";e["default"]=function(t,e){var n=e({},t);return delete n["default"],n},e.__esModule=!0},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=100,r=function(t){var e=arguments.length<=1||void 0===arguments[1]?n:arguments[1];if("function"==typeof t){var r=void 0;return function(){for(var n=arguments.length,o=Array(n),i=0;n>i;i++)o[i]=arguments[i];r||setTimeout(function(){return t.apply(void 0,o)}),clearTimeout(r),r=setTimeout(function(){r=void 0},e)}}};e.throttle=r},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(28),o={STANDARD:-120,MOZ:3},i=function(t){return t=r.getOriginalEvent(t),t.wheelDelta?{x:t.wheelDeltaX/o.STANDARD,y:t.wheelDeltaY/o.STANDARD}:{x:t.deltaX/o.MOZ,y:t.deltaY/o.MOZ}};e.getDelta=i},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(t){return t.originalEvent||t};e.getOriginalEvent=n},function(t,e,n){"use strict";var r=n(30)["default"];Object.defineProperty(e,"__esModule",{value:!0});var o=function(t,e){var n=t.children;return n?[].concat(r(n)).filter(function(t){return t.className.match(e)}):null};e.findChild=o},function(t,e,n){"use strict";var r=n(31)["default"];e["default"]=function(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return r(t)},e.__esModule=!0},function(t,e,n){t.exports={"default":n(32),__esModule:!0}},function(t,e,n){n(33),n(50),t.exports=n(14).Array.from},function(t,e,n){var r=n(34)(!0);n(36)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})})},function(t,e,n){var r=n(35),o=n(20);t.exports=function(t){return function(e,n){var i,a,u=String(o(e)),s=r(n),c=u.length;return 0>s||s>=c?t?"":void 0:(i=u.charCodeAt(s),55296>i||i>56319||s+1===c||(a=u.charCodeAt(s+1))<56320||a>57343?t?u.charAt(s):i:t?u.slice(s,s+2):(i-55296<<10)+(a-56320)+65536)}}},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},function(t,e,n){"use strict";function r(){return this}var o=n(37),i=n(15),a=n(38),u=n(39),s=n(42),c=n(43)("iterator"),l=n(46),f="@@iterator",h="keys",d="values";t.exports=function(t,e,v,p,g,y,m){function b(t){switch(t){case h:return function(){return new v(this,t)};case d:return function(){return new v(this,t)}}return function(){return new v(this,t)}}n(47)(v,e,p);var _,x,S=e+" Iterator",w=t.prototype,O=w[c]||w[f]||g&&w[g],P=O||b(g);if(O){var M=n(4).getProto(P.call(new t));n(48)(M,S,!0),!o&&s(w,f)&&u(M,c,r)}if((!o||m)&&u(w,c,P),l[e]=P,l[S]=r,g)if(_={keys:y?P:b(h),values:g==d?P:b(d),entries:g!=d?P:b("entries")},m)for(x in _)x in w||a(w,x,_[x]);else i(i.P+i.F*n(49),e,_)}},function(t,e){t.exports=!0},function(t,e,n){t.exports=n(39)},function(t,e,n){var r=n(4),o=n(40);t.exports=n(41)?function(t,e,n){return r.setDesc(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e){t.exports=!!function(){try{return 2==Object.defineProperty({},"a",{get:function(){return 2}}).a}catch(t){}}()},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){var r=n(44)("wks"),o=n(16).Symbol;t.exports=function(t){return r[t]||(r[t]=o&&o[t]||(o||n(45))("Symbol."+t))}},function(t,e,n){var r=n(16),o="__core-js_shared__",i=r[o]||(r[o]={});t.exports=function(t){return i[t]||(i[t]={})}},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},function(t,e){t.exports={}},function(t,e,n){"use strict";var r=n(4),o={};n(39)(o,n(43)("iterator"),function(){return this}),t.exports=function(t,e,i){t.prototype=r.create(o,{next:n(40)(1,i)}),n(48)(t,e+" Iterator")}},function(t,e,n){var r=n(42),o=n(39),i=n(43)("toStringTag");t.exports=function(t,e,n){t&&!r(t=n?t:t.prototype,i)&&o(t,i,e)}},function(t,e){t.exports="keys"in[]&&!("next"in[].keys())},function(t,e,n){var r=n(51),o=n(15),i=n(17),a=n(53),u=n(55),s=n(56),c=n(57);o(o.S+o.F*!n(59)(function(t){Array.from(t)}),"Array",{from:function(t){var e,n,o,l,f=i(t,!0),h="function"==typeof this?this:Array,d=arguments[1],v=void 0!==d,p=0,g=c(f);if(v&&(d=r(d,arguments[2],2)),void 0==g||h==Array&&u(g))for(n=new h(e=s(f.length));e>p;p++)n[p]=v?d(f[p],p):f[p];else for(l=g.call(f),n=new h;!(o=l.next()).done;p++)n[p]=v?a(l,d,[o.value,p],!0):o.value;return n.length=p,n}})},function(t,e,n){var r=n(52);t.exports=function(t,e,n){if(r(t),~n&&void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e,n){function r(t){var e=t["return"];void 0!==e&&o(e.call(t))}var o=n(54);t.exports=function(t,e,n,i){try{return i?e(o(n)[0],n[1]):e(n)}catch(a){throw r(t),a}}},function(t,e,n){var r=n(21);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,e,n){var r=n(46),o=n(43)("iterator");t.exports=function(t){return("Array"in r?r.Array:Array.prototype[o])===t}},function(t,e,n){var r=n(35),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,e,n){var r=n(16),o=n(58),i=n(43)("iterator"),a=n(46);t.exports=n(14).getIteratorMethod=function(t){var e=r.Symbol;return void 0!=t?t[e&&e.iterator||"@@iterator"]||t[i]||a[o(t)]:void 0}},function(t,e,n){var r=n(19),o=n(43)("toStringTag"),i="Arguments"==r(function(){return arguments}());t.exports=function(t){var e,n,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=(e=Object(t))[o])?n:i?r(e):"Object"==(a=r(e))&&"function"==typeof e.callee?"Arguments":a}},function(t,e,n){var r=n(43)("iterator"),o=!1;try{var i=[7][r]();i["return"]=function(){o=!0},Array.from(i,function(){throw 2})}catch(a){}t.exports=function(t){if(!o)return!1;var e=!1;try{var n=[7],i=n[r]();i.next=function(){e=!0},n[r]=function(){return i},t(n)}catch(a){}return e}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(28),o=n(61),i=function(t){t=r.getOriginalEvent(t);var e=o.getPointerData(t);return e.identifier};e.getTouchID=i},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(t){return t.touches?t.touches[t.touches.length-1]:t};e.getPointerData=n},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(28),o=n(61),i=function(t){t=r.getOriginalEvent(t);var e=o.getPointerData(t);return{x:e.clientX,y:e.clientY}};e.getPosition=i},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(t){var e=arguments.length<=1||void 0===arguments[1]?0:arguments[1],n=arguments.length<=2||void 0===arguments[2]?0:arguments[2];return Math.max(e,Math.min(t,n))};e.pickInRange=n},function(t,e,n){"use strict";var r=n(30)["default"],o=n(65)["default"],i=n(66)["default"];Object.defineProperty(e,"__esModule",{value:!0});var a=n(67),u=n(68),s=i(u),c="function"==typeof Float32Array?Float32Array:Array,l=["ease","linear","ease-in","ease-out","ease-in-out"],f={easeInSine:[.47,0,.745,.715],easeOutSine:[.39,.575,.565,1],easeInOutSine:[.445,.05,.55,.95],easeInQuad:[.55,.085,.68,.53],easeOutQuad:[.25,.46,.45,.94],easeInOutQuad:[.455,.03,.515,.955],easeInCubic:[.55,.055,.675,.19],easeOutCubic:[.215,.61,.355,1],easeInOutCubic:[.645,.045,.355,1],easeInQuart:[.895,.03,.685,.22],easeOutQuart:[.165,.84,.44,1],easeInOutQuart:[.77,0,.175,1],easeInQuint:[.755,.05,.855,.06],easeOutQuint:[.23,1,.32,1],easeInOutQuint:[.86,0,.07,1],easeInExpo:[.95,.05,.795,.035],easeOutExpo:[.19,1,.22,1],easeInOutExpo:[1,0,0,1],easeInCirc:[.6,.04,.98,.335],easeOutCirc:[.075,.82,.165,1],easeInOutCirc:[.785,.135,.15,.86],easeInBack:[.6,-.28,.735,.045],easeOutBack:[.175,.885,.32,1.275],easeInOutBack:[.68,-.55,.265,1.55]},h=function(t){if(t=t||a.DEFAULT_OPTIONS.EASING_CURVE,-1!==l.indexOf(t))return s["default"][t.replace(/\-[a-z]/g,function(t){return t[1].toUpperCase()})];if(f.hasOwnProperty(t))return new(o.apply(s["default"],[null].concat(r(f[t]))));if(/^cubic\-bezier/i.test(t)){var e=t.match(/-?[0-9.]+/g)||defaultCurve;return new(o.apply(s["default"],[null].concat(r(e.map(function(t){return parseFloat(t)})))))}return s["default"].linear},d=function(t){var e=h(t);return function(t,n,r){for(var o=Math.floor(r/1e3*60+1),i=new c(o),a=1;o>=a;a++)i[a-1]=t+n*e.get(a/o);return i}};e.motionBuilder=d},function(t,e){"use strict";e["default"]=Function.prototype.bind,e.__esModule=!0},function(t,e){"use strict";e["default"]=function(t){return t&&t.__esModule?t:{"default":t}},e.__esModule=!0},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n={SPEED:1,STEP_LENGTH:100,EASING_DURATION:1e3,EASING_CURVE:"cubic-bezier(0.1, 0.57, 0.1, 1)"};e.DEFAULT_OPTIONS=n},function(t,e){function n(t,e){return 1-3*e+3*t}function r(t,e){return 3*e-6*t}function o(t){return 3*t}function i(t,e,i){return((n(e,i)*t+r(e,i))*t+o(e))*t}function a(t,e,i){return 3*n(e,i)*t*t+2*r(e,i)*t+o(e)}function u(t,e,n,r,o){var a,u,s=0;do u=e+(n-e)/2,a=i(u,r,o)-t,a>0?n=u:e=u;while(Math.abs(a)>h&&++s<d);return u}function s(t,e,n,r){for(var o=0;l>o;++o){var u=a(e,n,r);if(0===u)return e;var s=i(e,n,r)-t;e-=s/u}return e}function c(t,e,n,r){if(4===arguments.length)return new c([t,e,n,r]);if(!(this instanceof c))return new c(t);if(!t||4!==t.length)throw new Error("BezierEasing: points must contains 4 values");for(var o=0;4>o;++o)if("number"!=typeof t[o]||isNaN(t[o])||!isFinite(t[o]))throw new Error("BezierEasing: points should be integers.");if(t[0]<0||t[0]>1||t[2]<0||t[2]>1)throw new Error("BezierEasing x values must be in [0, 1] range.");this._str="BezierEasing("+t+")",this._css="cubic-bezier("+t+")",this._p=t,this._mSampleValues=g?new Float32Array(v):new Array(v),this._precomputed=!1,this.get=this.get.bind(this)}var l=4,f=.001,h=1e-7,d=10,v=11,p=1/(v-1),g="function"==typeof Float32Array;c.prototype={get:function(t){var e=this._p[0],n=this._p[1],r=this._p[2],o=this._p[3];return this._precomputed||this._precompute(),e===n&&r===o?t:0===t?0:1===t?1:i(this._getTForX(t),n,o)},getPoints:function(){return this._p},toString:function(){return this._str},toCSS:function(){return this._css},_precompute:function(){var t=this._p[0],e=this._p[1],n=this._p[2],r=this._p[3];this._precomputed=!0,(t!==e||n!==r)&&this._calcSampleValues()},_calcSampleValues:function(){for(var t=this._p[0],e=this._p[2],n=0;v>n;++n)this._mSampleValues[n]=i(n*p,t,e)},_getTForX:function(t){for(var e=this._p[0],n=this._p[2],r=this._mSampleValues,o=0,i=1,c=v-1;i!==c&&r[i]<=t;++i)o+=p;--i;var l=(t-r[i])/(r[i+1]-r[i]),h=o+l*p,d=a(h,e,n);return d>=f?s(t,h,e,n):0===d?h:u(t,o,o+p,e,n)}},c.css={ease:c.ease=c(.25,.1,.25,1),linear:c.linear=c(0,0,1,1),"ease-in":c.easeIn=c(.42,0,1,1),"ease-out":c.easeOut=c(0,0,.58,1),"ease-in-out":c.easeInOut=c(.42,0,.58,1)},t.exports=c},function(t,e,n){"use strict";var r=n(10)["default"],o=n(25)["default"];Object.defineProperty(e,"__esModule",{value:!0});var i=n(70);r(e,o(i,r));var a=n(71);r(e,o(a,r));var u=n(73);r(e,o(u,r));var s=n(74);r(e,o(s,r));var c=n(75);r(e,o(c,r));var l=n(76);r(e,o(l,r))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),n(71),n(72);var r=n(9),o=n(6);e.SmoothScrollbar=o.SmoothScrollbar,o.SmoothScrollbar.prototype.update=function(){var t=this;requestAnimationFrame(function(){var e=t.size=t.getSize(),n={x:e.content.width-e.container.width,y:e.content.height-e.container.height};t.limit&&n.x===t.limit.x&&n.y===t.limit.y||(t.limit=n,t.$target.xAxis.track.css("display",e.content.width<=e.container.width?"none":"block"),t.$target.yAxis.track.css("display",e.content.height<=e.container.height?"none":"block"),t.$target.xAxis.thumb.css("width",100*r.pickInRange(e.container.width/e.content.width,0,1)+"%"),t.$target.yAxis.thumb.css("height",100*r.pickInRange(e.container.height/e.content.height,0,1)+"%"),t.__setThumbPosition())})}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(6);e.SmoothScrollbar=r.SmoothScrollbar,r.SmoothScrollbar.prototype.getSize=function(){var t=this.$target.container[0],e=this.$target.content[0];return{container:{width:t.clientWidth,height:t.clientHeight},content:{width:e.offsetWidth,height:e.offsetHeight}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(6);e.SmoothScrollbar=r.SmoothScrollbar;var o=function(){var t=this.$target,e=this.offset,n=e.x,r=e.y,o="translate3d("+n/this.size.content.width*this.size.container.width+"px, 0, 0)",i="translate3d(0, "+r/this.size.content.height*this.size.container.height+"px, 0)";t.xAxis.thumb.css({"-webkit-transform":o,transform:o}),t.yAxis.thumb.css({"-webkit-transform":i,transform:i})};Object.defineProperty(r.SmoothScrollbar.prototype,"__setThumbPosition",{value:o,writable:!0,configurable:!0})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(6);e.SmoothScrollbar=r.SmoothScrollbar,r.SmoothScrollbar.prototype.addListener=function(t){"function"==typeof t&&this.__listeners.push(t)},r.SmoothScrollbar.prototype.removeListener=function(t){"function"==typeof t&&this.__listeners.some(function(e,n,r){return e===t&&r.splice(n,1)})}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),n(75);var r=n(9),o=n(6);e.SmoothScrollbar=o.SmoothScrollbar,o.SmoothScrollbar.prototype.scrollTo=function(){var t=arguments.length<=0||void 0===arguments[0]?this.offset.x:arguments[0],e=this,n=arguments.length<=1||void 0===arguments[1]?this.offset.y:arguments[1],o=arguments.length<=2||void 0===arguments[2]?0:arguments[2],i=this.offset,a=this.limit,u=r.pickInRange(t,0,a.x),s=r.pickInRange(n,0,a.y);if(u!==i.x||s!==i.y){var c={x:this.__motionBuilder(i.x,u-i.x,o),y:this.__motionBuilder(i.y,s-i.y,o)},l=0,f=c.x.length,h=function d(){l!==f&&(e.setPosition(c.x[l],c.y[l]),l++,e.scrollAnimation=requestAnimationFrame(d))};h()}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),n(72);var r=n(9),o=n(6);e.SmoothScrollbar=o.SmoothScrollbar,o.SmoothScrollbar.prototype.setPosition=function(){var t=arguments.length<=0||void 0===arguments[0]?this.offset.x:arguments[0],e=arguments.length<=1||void 0===arguments[1]?this.offset.y:arguments[1];cancelAnimationFrame(this.scrollAnimation);var n={},o=this.offset,i=this.limit,a=this.$target,u=this.__listeners;if(this.__updateThrottle(),Math.abs(t-o.x)>1&&this.showTrack("x"),Math.abs(e-o.y)>1&&this.showTrack("y"),t=r.pickInRange(t,0,i.x),e=r.pickInRange(e,0,i.y),t!==o.x||e!==o.y){n.direction={x:t===o.x?"none":t>o.x?"right":"left",y:e===o.y?"none":e>o.y?"down":"up"},n.limit={x:i.x,y:i.y},n.offset=this.offset={x:t,y:e},this.__setThumbPosition();var s="translate3d("+-t+"px, "+-e+"px, 0)";a.content.css({"-webkit-transform":s,transform:s}),this.hideTrack(),u.forEach(function(t){return t(n)})}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),n(73);var r=n(6);e.SmoothScrollbar=r.SmoothScrollbar,r.SmoothScrollbar.prototype.infiniteScroll=function(t){var e=arguments.length<=1||void 0===arguments[1]?50:arguments[1];if("function"==typeof t){var n={x:0,y:0},r=!1;this.addListener(function(o){var i=o.offset,a=o.limit;a.y-i.y<=e&&i.y>n.y&&!r&&(r=!0,setTimeout(function(){return t(o)})),a.y-i.y>e&&(r=!1),n=i})}}},function(t,e,n){"use strict";var r=n(10)["default"],o=n(25)["default"];Object.defineProperty(e,"__esModule",{value:!0});var i=n(78);r(e,o(i,r));var a=n(81);r(e,o(a,r));var u=n(82);r(e,o(u,r));var s=n(83);r(e,o(s,r))},function(t,e,n){"use strict";var r=n(79)["default"];Object.defineProperty(e,"__esModule",{value:!0}),n(74),n(75);var o=n(6),i=n(9);e.SmoothScrollbar=o.SmoothScrollbar;var a=function(t){var e=this,n=t.easingDuration,o=void 0,a=void 0,u={},s={},c={},l=function(t){var e=i.getOriginalEvent(t).touches;r(e).forEach(function(t){if("length"!==t){var n=e[t];c[n.identifier]={pos:{x:n.pageX,y:n.pageY},time:(new Date).getTime()}}})},f=function(t){cancelAnimationFrame(e.scrollAnimation),l(t),a=i.getTouchID(t),s=i.getPosition(t),o=(new Date).getTime(),u.x=u.y=0},h=function(t){l(t);var n=i.getTouchID(t),r=e.offset,f=e.limit;if(void 0===a)a=n,s=c[n].pos,o=c[n].time;else if(n!==a)return;if(s){var h=(new Date).getTime()-o,d=s,v=d.x,p=d.y,g=s=i.getPosition(t),y=g.x,m=g.y;u.x=(v-y)/h,u.y=(p-m)/h;var b=i.pickInRange(v-y+r.x,0,f.x),_=i.pickInRange(p-m+r.y,0,f.y);Math.abs(b-r.x)<1&&_===r.y||Math.abs(_-r.y)<1&&b===r.x||(t.preventDefault(),t.stopPropagation(),e.setPosition(b,_))}},d=function(){delete c[a],a=void 0;var t=u.x,r=u.y,o=.01;(Math.abs(t)>o||Math.abs(r)>o)&&e.scrollTo(t*n+e.offset.x,r*n+e.offset.y,n),u.x=u.y=0};return{start:f,move:h,end:d}};Object.defineProperty(o.SmoothScrollbar.prototype,"__touchHandlers",{value:a,writable:!0,configurable:!0})},function(t,e,n){t.exports={"default":n(80),__esModule:!0}},function(t,e,n){n(13),t.exports=n(14).Object.keys},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),n(71),n(74),n(75);var r=n(6),o=n(9);e.SmoothScrollbar=r.SmoothScrollbar;var i=function(t){var e=t.match(/scrollbar\-(?:track|thumb)\-([xy])/);return e&&e[1]},a=function(t){var e=this,n=t.speed,r=void 0,a=void 0,u=void 0,s=void 0,c=void 0,l=function(t){if(!a&&/track/.test(t.target.className)){var r=t.target,u=i(r.className),s=r.getBoundingClientRect(),c=o.getPosition(t),l=e.size,f=e.offset,h=1e3/n;if("x"===u){var d=o.pickInRange(l.container.width/l.content.width,0,1),v=(c.x-s.left)/l.container.width;return e.scrollTo((v-d/2)*l.content.width,f.y,h)}var p=o.pickInRange(l.container.height/l.content.height,0,1),g=(c.y-s.top)/l.container.height;e.scrollTo(f.x,(g-p/2)*l.content.height,h)}},f=function(t){if(/thumb/.test(t.target.className)){r=!0;var n=o.getPosition(t),a=t.target.getBoundingClientRect();s=i(t.target.className),u={x:n.x-a.left,y:n.y-a.top},c=e.$target.container[0].getBoundingClientRect()}},h=function(t){if(r){a=!0,t.preventDefault();var n=e.size,i=e.offset,l=o.getPosition(t);return"x"===s?void e.setPosition((l.x-u.x-c.left)/(c.right-c.left)*n.content.width,i.y):void e.setPosition(i.x,(l.y-u.y-c.top)/(c.bottom-c.top)*n.content.height)}},d=function(){r=a=!1};return{click:l,down:f,move:h,up:d}};Object.defineProperty(r.SmoothScrollbar.prototype,"__mouseHandlers",{value:a,writable:!0,configurable:!0})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),n(74);var r=n(6),o=n(9);e.SmoothScrollbar=r.SmoothScrollbar;var i=function(t){var e=this,n=t.speed,r=t.stepLength;return function(t){var i=e.offset,a=e.limit,u=o.getDelta(t),s=u.x,c=u.y,l=o.pickInRange(s*n*r+i.x,0,a.x),f=o.pickInRange(c*n*r+i.y,0,a.y);if(!(Math.abs(l-i.x)<1&&f===i.y||Math.abs(f-i.y)<1&&l===i.x)){t.preventDefault(),t.stopPropagation();var h=300*Math.sqrt(Math.max(Math.abs(s),Math.abs(c)));e.scrollTo(l,f,h/n)}}};Object.defineProperty(r.SmoothScrollbar.prototype,"__wheelHandler",{value:i,writable:!0,configurable:!0})},function(t,e,n){"use strict";var r=n(84)["default"];Object.defineProperty(e,"__esModule",{value:!0}),n(74);var o=n(9),i=n(6);e.SmoothScrollbar=i.SmoothScrollbar;var a={37:[-1,0],38:[0,-1],39:[1,0],40:[0,1]},u=function(t){var e=this,n=t.speed,i=t.stepLength,u=void 0;return this.$target.container.on("mouseenter",function(){return u=!0}),this.$target.container.on("mouseleave",function(){return u=!1}),function(t){if(u){t=o.getOriginalEvent(t);var s=t.keyCode||t.which;if(a.hasOwnProperty(s)){var c=e.offset,l=e.limit,f=r(a[s],2),h=f[0],d=f[1],v=o.pickInRange(h*n*i+c.x,0,l.x),p=o.pickInRange(d*n*i+c.y,0,l.y);(v!==c.x||p!==c.y)&&(t.preventDefault(),t.stopPropagation(),e.scrollTo(v,p,600/n))}}}};Object.defineProperty(i.SmoothScrollbar.prototype,"__keyboardHandler",{value:u,writable:!0,configurable:!0})},function(t,e,n){"use strict";var r=n(85)["default"],o=n(92)["default"];e["default"]=function(){function t(t,e){var n=[],o=!0,i=!1,a=void 0;try{for(var u,s=r(t);!(o=(u=s.next()).done)&&(n.push(u.value),!e||n.length!==e);o=!0);}catch(c){i=!0,a=c}finally{try{!o&&s["return"]&&s["return"]()}finally{if(i)throw a}}return n}return function(e,n){if(Array.isArray(e))return e;if(o(Object(e)))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),e.__esModule=!0},function(t,e,n){t.exports={"default":n(86),__esModule:!0}},function(t,e,n){n(87),n(33),t.exports=n(91)},function(t,e,n){n(88);var r=n(46);r.NodeList=r.HTMLCollection=r.Array},function(t,e,n){var r=n(89),o=n(90),i=n(46),a=n(17);n(36)(Array,"Array",function(t,e){this._t=a(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,o(1)):"keys"==e?o(0,n):"values"==e?o(0,t[n]):o(0,[n,t[n]])},"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(t,e){t.exports=function(){}},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,n){var r=n(54),o=n(57);t.exports=n(14).getIterator=function(t){var e=o(t);if("function"!=typeof e)throw TypeError(t+" is not iterable!");return r(e.call(t))}},function(t,e,n){t.exports={"default":n(93),__esModule:!0}},function(t,e,n){n(87),n(33),t.exports=n(94)},function(t,e,n){var r=n(16),o=n(42),i=n(58),a=n(43)("iterator"),u=n(46);t.exports=n(14).isIterable=function(t){var e=Object(t),n=r.Symbol;return(n&&n.iterator||"@@iterator")in e||a in e||o(u,i(e))}},function(t,e,n){"use strict";var r=n(10)["default"],o=n(25)["default"];Object.defineProperty(e,"__esModule",{value:!0});var i=n(96);r(e,o(i,r));var a=n(72);r(e,o(a,r))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),n(77);var r=n(6);e.SmoothScrollbar=r.SmoothScrollbar;var o="onmousewheel"in document.documentElement?"mousewheel":"wheel",i=function(t){this.update();var e=angular.element(window),n=this.$target.container,r=this.__wheelHandler(t),i=this.__keyboardHandler(t),a=this.__touchHandlers(t),u=this.__mouseHandlers(t),s=this.__updateThrottle;n.on(o,r),n.on("touchstart",a.start),n.on("touchmove",a.move),n.on("touchend",a.end),n.on("click",u.click),n.on("mousedown",u.down),e.on("mousemove",u.move),e.on("mouseup",u.up),e.on("keydown",i),e.on("blur",u.up),e.on("resize",s),this.destroyScrollbar=function(){n.off(o,r),n.off("touchstart",a.start),n.off("touchmove",a.move),n.off("touchend",a.end),n.off("click",u.click),n.off("mousedown",u.down),e.off("keydown",i),e.off("mousemove",u.move),e.off("mouseup",u.up),e.off("blur",u.up),e.off("resize",s)}};Object.defineProperty(r.SmoothScrollbar.prototype,"__initScrollbar",{value:i,writable:!0,configurable:!0})}]);
{
"name": "angular-smooth-scrollbar",
"version": "0.0.3",
"version": "0.0.4",
"description": "An angular module that allows you customize smooth scrollbars",

@@ -5,0 +5,0 @@ "main": "dist/smooth_scrollbar.js",

@@ -49,5 +49,5 @@ # angular-smooth-scrollbar

- speed: scrolling speed, default is `1`.
- stepLength: wheel scroll step length (px/delta), default is `50`.
- easingDuration: swipe easing duration (ms), default is `1000`.
- easingCurve: cubic bezier easing function, you can use either css `timing-function` or pre-defined curves [here](http://easings.net/en), default is `easeOutCubic`.
- stepLength: wheel scroll step length(px/delta), default is `100`.
- easingDuration: swipe easing duration(ms), default is `1000`.
- easingCurve: cubic bezier easing function, you can use either css `timing-function` or pre-defined curves [here](http://easings.net/en), default is `cubic-bezier(0.1, 0.57, 0.1, 1)`.

@@ -54,0 +54,0 @@ ## ScrollbarService

@@ -23,14 +23,5 @@ /**

let __wheelHandler = function({ speed, stepLength }) {
let lastScrollTime;
let resetDelay = throttle(() => { lastScrollTime = undefined; });
return (evt) => {
resetDelay();
let { offset, limit } = this;
let { x, y } = getDelta(evt);
let now = (new Date()).getTime();
let duration = lastScrollTime ? (now - lastScrollTime) : 0;
lastScrollTime = now;

@@ -46,3 +37,5 @@ let destX = pickInRange(x * speed * stepLength + offset.x, 0, limit.x);

this.scrollTo(destX, destY, duration * 10 / speed);
let duration = 300 * Math.sqrt(Math.max(Math.abs(x), Math.abs(y)));
this.scrollTo(destX, destY, duration / speed);
};

@@ -49,0 +42,0 @@ };

@@ -8,5 +8,5 @@ /**

SPEED: 1, // scroll speed scale
STEP_LENGTH: 50, // wheel scroll step length (px/delta)
STEP_LENGTH: 100, // wheel scroll step length (px/delta)
EASING_DURATION: 1e3, // swipe easing duration (ms)
EASING_CURVE: 'easeOutCubic' // cubic bezier easing function
EASING_CURVE: 'cubic-bezier(0.1, 0.57, 0.1, 1)' // cubic bezier easing function
};

@@ -11,3 +11,3 @@ /**

STANDARD: -120,
MOZ: 20
MOZ: 3
};

@@ -21,3 +21,3 @@

*
* But in firefox, wheel delta -20/20, negative value for scrolling up
* But in firefox, wheel delta -3/3, negative value for scrolling up
*

@@ -24,0 +24,0 @@ * Old Opera and others? I don't care!

@@ -49,3 +49,3 @@ /**

let bezierBuilder = (str) => {
let defaultCurve = EASING_CURVES[DEFAULT_OPTIONS.EASING_CURVE];
str = str || DEFAULT_OPTIONS.EASING_CURVE;

@@ -65,3 +65,3 @@ if (CSS_TIMING_FUNCTIONS.indexOf(str) !== -1) {

return new BezierEasing(...defaultCurve);
return BezierEasing.linear;
};

@@ -68,0 +68,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc