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.10 to 0.0.11

2

bower.json
{
"name": "angular-smooth-scrollbar",
"version": "0.0.10",
"version": "0.0.11",
"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(79),n(87),n(96),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.destroy(),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[0],{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(77),u=function s(t,e){var n=this,u=e.speed,c=e.stepLength,l=e.easingDuration,f=e.easingCurve;r(this,s);var h=i.findChild(t,"scrollbar-track-x"),d=i.findChild(t,"scrollbar-track-y");o(this,{target:{value:{container:t,content:i.findChild(t,"scroll-content"),xAxis:{track:h,thumb:i.findChild(h,"scrollbar-thumb-x")},yAxis:{track:d,thumb:i.findChild(d,"scrollbar-thumb-y")}}},offset:{value:{x:0,y:0},writable:!0},__listeners:{value:[],writable:!0},__motionBuilder:{value:i.motionBuilder(f)},__updateThrottle:{value:i.throttle(this.update.bind(this))},__scrollAnimation:{writable:!0},__lastScrollTime:{writable:!0},__resetScrollTime:{value:i.throttle(function(){n.__lastScrollTime=void 0},!1,100)}}),this.showTrack=function(){var t=arguments.length<=0||void 0===arguments[0]?"both":arguments[0];t=t.toLowerCase(),"both"===t&&(h.classList.add("show"),d.classList.add("show")),"x"===t&&h.classList.add("show"),"y"===t&&d.classList.add("show")},this.hideTrack=i.throttle(function(){h.classList.remove("show"),d.classList.remove("show")},!1,1e3),this.__initScrollbar({speed:parseFloat(u)||a.DEFAULT_OPTIONS.SPEED,stepLength:parseFloat(c)||a.DEFAULT_OPTIONS.STEP_LENGTH,easingDuration:parseFloat(l)||a.DEFAULT_OPTIONS.EASING_DURATION})};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(30);r(e,o(u,r));var s=n(32);r(e,o(s,r));var c=n(60);r(e,o(c,r));var l=n(62);r(e,o(l,r));var f=n(63);r(e,o(f,r));var h=n(64);r(e,o(h,r));var d=n(61);r(e,o(d,r));var v=n(31);r(e,o(v,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]?!0:arguments[1],r=arguments.length<=2||void 0===arguments[2]?n:arguments[2];if("function"==typeof t){var o=void 0;return function(){for(var n=arguments.length,i=Array(n),a=0;n>a;a++)i[a]=arguments[a];!o&&e&&setTimeout(function(){return t.apply(void 0,i)}),clearTimeout(o),o=setTimeout(function(){o=void 0,e||t.apply(void 0,i)},r)}}};e.throttle=r},function(t,e,n){"use strict";var r=n(28)["default"];Object.defineProperty(e,"__esModule",{value:!0});var o=function(t,e){r(e).forEach(function(n){var r=n.replace(/^-/,"").replace(/-([a-z])/g,function(t,e){return e.toUpperCase()});t.style[r]=e[n]})};e.setStyle=o},function(t,e,n){t.exports={"default":n(29),__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});var r=n(31),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(33)["default"];Object.defineProperty(e,"__esModule",{value:!0});var o=function(t,e){var n=t.children;if(!n)return null;var o=!0,i=!1,a=void 0;try{for(var u,s=r(n);!(o=(u=s.next()).done);o=!0){var c=u.value;if(c.className.match(e))return c}}catch(l){i=!0,a=l}finally{try{!o&&s["return"]&&s["return"]()}finally{if(i)throw a}}return null};e.findChild=o},function(t,e,n){t.exports={"default":n(34),__esModule:!0}},function(t,e,n){n(35),n(53),t.exports=n(56)},function(t,e,n){n(36);var r=n(39);r.NodeList=r.HTMLCollection=r.Array},function(t,e,n){var r=n(37),o=n(38),i=n(39),a=n(17);n(40)(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){t.exports={}},function(t,e,n){"use strict";function r(){return this}var o=n(41),i=n(15),a=n(42),u=n(43),s=n(46),c=n(47)("iterator"),l=n(39),f="@@iterator",h="keys",d="values";t.exports=function(t,e,v,p,m,y,g){function _(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(50)(v,e,p);var b,S,x=e+" Iterator",w=t.prototype,O=w[c]||w[f]||m&&w[m],P=O||_(m);if(O){var E=n(4).getProto(P.call(new t));n(51)(E,x,!0),!o&&s(w,f)&&u(E,c,r)}if((!o||g)&&u(w,c,P),l[e]=P,l[x]=r,m)if(b={keys:y?P:_(h),values:m==d?P:_(d),entries:m!=d?P:_("entries")},g)for(S in b)S in w||a(w,S,b[S]);else i(i.P+i.F*n(52),e,b)}},function(t,e){t.exports=!0},function(t,e,n){t.exports=n(43)},function(t,e,n){var r=n(4),o=n(44);t.exports=n(45)?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(48)("wks"),o=n(16).Symbol;t.exports=function(t){return r[t]||(r[t]=o&&o[t]||(o||n(49))("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,n){"use strict";var r=n(4),o={};n(43)(o,n(47)("iterator"),function(){return this}),t.exports=function(t,e,i){t.prototype=r.create(o,{next:n(44)(1,i)}),n(51)(t,e+" Iterator")}},function(t,e,n){var r=n(46),o=n(43),i=n(47)("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(54)(!0);n(40)(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(55),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){var r=n(57),o=n(58);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){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(16),o=n(59),i=n(47)("iterator"),a=n(39);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(47)("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){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(31),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(31),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(65)["default"],o=n(75)["default"],i=n(76)["default"];Object.defineProperty(e,"__esModule",{value:!0});var a=n(77),u=n(78),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,n){"use strict";var r=n(66)["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(67),__esModule:!0}},function(t,e,n){n(53),n(68),t.exports=n(14).Array.from},function(t,e,n){var r=n(69),o=n(15),i=n(17),a=n(71),u=n(72),s=n(73),c=n(58);o(o.S+o.F*!n(74)(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,m=c(f);if(v&&(d=r(d,arguments[2],2)),void 0==m||h==Array&&u(m))for(n=new h(e=s(f.length));e>p;p++)n[p]=v?d(f[p],p):f[p];else for(l=m.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(70);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(57);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(39),o=n(47)("iterator");t.exports=function(t){return("Array"in r?r.Array:Array.prototype[o])===t}},function(t,e,n){var r=n(55),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,e,n){var r=n(47)("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){"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=m?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),m="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(80);r(e,o(i,r));var a=n(81);r(e,o(a,r));var u=n(83);r(e,o(u,r));var s=n(84);r(e,o(s,r));var c=n(85);r(e,o(c,r));var l=n(86);r(e,o(l,r))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),n(81),n(82);var r=n(9),o=n(6);e.SmoothScrollbar=o.SmoothScrollbar,o.SmoothScrollbar.prototype.update=function(t){var e=this;requestAnimationFrame(function(){var n=e.size=e.getSize(),o={x:n.content.width-n.container.width,y:n.content.height-n.container.height};if(!e.limit||o.x!==e.limit.x||o.y!==e.limit.y){e.limit=o;var i=e.target,a=i.xAxis,u=i.yAxis;r.setStyle(a.track,{display:n.content.width<=n.container.width?"none":"block"}),r.setStyle(u.track,{display:n.content.height<=n.container.height?"none":"block"}),r.setStyle(a.thumb,{width:100*r.pickInRange(n.container.width/n.content.width,0,1)+"%"}),r.setStyle(u.thumb,{height:100*r.pickInRange(n.container.height/n.content.height,0,1)+"%"}),e.__setThumbPosition(),"function"==typeof t&&t(e)}})}},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,e=this.target.content;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(9),o=n(6);e.SmoothScrollbar=o.SmoothScrollbar;var i=function(){var t=this.offset,e=t.x,n=t.y,o=this.target,i=o.xAxis,a=o.yAxis,u="translate3d("+e/this.size.content.width*this.size.container.width+"px, 0, 0)",s="translate3d(0, "+n/this.size.content.height*this.size.container.height+"px, 0)";r.setStyle(i.thumb,{"-webkit-transform":u,transform:u}),r.setStyle(a.thumb,{"-webkit-transform":s,transform:s})};Object.defineProperty(o.SmoothScrollbar.prototype,"__setThumbPosition",{value:i,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(85);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=arguments.length<=1||void 0===arguments[1]?this.offset.y:arguments[1],n=this,o=arguments.length<=2||void 0===arguments[2]?0:arguments[2],i=arguments.length<=3||void 0===arguments[3]?null:arguments[3],a=this.offset,u=this.limit,s=r.pickInRange(t,0,u.x),c=r.pickInRange(e,0,u.y);if(s!==a.x||c!==a.y){var l={x:this.__motionBuilder(a.x,s-a.x,o),y:this.__motionBuilder(a.y,c-a.y,o)},f=0,h=l.x.length,d=function v(){return f===h?"function"==typeof i&&i(n):(n.setPosition(l.x[f],l.y[f]),f++,void(n.__scrollAnimation=requestAnimationFrame(v)))};requestAnimationFrame(d)}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),n(82);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),this.__resetScrollTime(),this.__updateThrottle();var n={},o=this.offset,i=this.limit,a=this.target,u=this.__listeners;if(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),this.hideTrack(),t!==o.x||e!==o.y){var s=(new Date).getTime(),c=this.__lastScrollTime;c||(c=this.__lastScrollTime=s);var l=s-c||1;this.__lastScrollTime=s,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.velocity={x:(t-o.x)/l,y:(e-o.y)/l},n.offset=this.offset={x:t,y:e},this.__setThumbPosition();var f="translate3d("+-t+"px, "+-e+"px, 0)";r.setStyle(a.content,{"-webkit-transform":f,transform:f}),u.forEach(function(t){return t(n)})}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),n(83);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(88);r(e,o(i,r));var a=n(89);r(e,o(a,r));var u=n(90);r(e,o(u,r));var s=n(91);r(e,o(s,r))},function(t,e,n){"use strict";var r=n(28)["default"];Object.defineProperty(e,"__esModule",{value:!0}),n(84),n(85);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,m=s=i.getPosition(t),y=m.x,g=m.y;u.x=(v-y)/h,u.y=(p-g)/h;var _=i.pickInRange(v-y+r.x,0,f.x),b=i.pickInRange(p-g+r.y,0,f.y);if(Math.abs(_-r.x)<1&&Math.abs(b-r.y)<1)return e.__updateThrottle();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){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),n(81),n(84),n(85);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),m=(c.y-s.top)/l.container.height;e.scrollTo(f.x,(m-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.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(84);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&&Math.abs(f-i.y)<1)return e.__updateThrottle();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(92)["default"];Object.defineProperty(e,"__esModule",{value:!0}),n(84);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,s=this.target.container;return s.addEventListener("mousedown",function(t){t.stopPropagation(),u=!0}),document.addEventListener("mousedown",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);if(Math.abs(v-c.x)<1&&Math.abs(p-c.y)<1)return e.__updateThrottle();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(33)["default"],o=n(93)["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(94),__esModule:!0}},function(t,e,n){n(35),n(53),t.exports=n(95)},function(t,e,n){var r=n(16),o=n(46),i=n(59),a=n(47)("iterator"),u=n(39);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(97);r(e,o(i,r));var a=n(82);r(e,o(a,r))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),n(87);var r=n(6);e.SmoothScrollbar=r.SmoothScrollbar;var o="onmousewheel"in document.documentElement?"mousewheel":"wheel",i=function(t){this.update();var e=this.target.container,n=this.__wheelHandler(t),r=this.__keyboardHandler(t),i=this.__touchHandlers(t),a=this.__mouseHandlers(t),u=this.__updateThrottle;e.addEventListener(o,n),e.addEventListener("touchstart",i.start),e.addEventListener("touchmove",i.move),e.addEventListener("touchend",i.end),e.addEventListener("click",a.click),e.addEventListener("mousedown",a.down),window.addEventListener("mousemove",a.move),window.addEventListener("mouseup",a.up),window.addEventListener("keydown",r),window.addEventListener("blur",a.up),window.addEventListener("resize",u),this.destroy=function(){e.removeEventListener(o,n),e.removeEventListener("touchstart",i.start),e.removeEventListener("touchmove",i.move),e.removeEventListener("touchend",i.end),e.removeEventListener("click",a.click),e.removeEventListener("mousedown",a.down),window.removeEventListener("keydown",r),window.removeEventListener("mousemove",a.move),window.removeEventListener("mouseup",a.up),window.removeEventListener("blur",a.up),window.removeEventListener("resize",u)}};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(79),n(87),n(96),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.destroy(),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[0],{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(77),u=function s(t,e){var n=this,u=e.speed,c=e.stepLength,l=e.easingDuration,f=e.easingCurve;r(this,s);var h=i.findChild(t,"scrollbar-track-x"),d=i.findChild(t,"scrollbar-track-y");o(this,{target:{value:{container:t,content:i.findChild(t,"scroll-content"),xAxis:{track:h,thumb:i.findChild(h,"scrollbar-thumb-x")},yAxis:{track:d,thumb:i.findChild(d,"scrollbar-thumb-y")}}},offset:{value:{x:0,y:0},writable:!0},__listeners:{value:[],writable:!0},__motionBuilder:{value:i.motionBuilder(f)},__updateThrottle:{value:i.throttle(this.update.bind(this))},__scrollAnimation:{writable:!0},__lastScrollTime:{writable:!0},__resetScrollTime:{value:i.throttle(function(){n.__lastScrollTime=void 0},!1,100)}}),this.showTrack=function(){var t=arguments.length<=0||void 0===arguments[0]?"both":arguments[0];t=t.toLowerCase(),"both"===t&&(h.classList.add("show"),d.classList.add("show")),"x"===t&&h.classList.add("show"),"y"===t&&d.classList.add("show")},this.hideTrack=i.throttle(function(){h.classList.remove("show"),d.classList.remove("show")},!1,1e3),this.__initScrollbar({speed:parseFloat(u)||a.DEFAULT_OPTIONS.SPEED,stepLength:parseFloat(c)||a.DEFAULT_OPTIONS.STEP_LENGTH,easingDuration:parseFloat(l)||a.DEFAULT_OPTIONS.EASING_DURATION})};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(30);r(e,o(u,r));var s=n(32);r(e,o(s,r));var c=n(60);r(e,o(c,r));var l=n(62);r(e,o(l,r));var f=n(63);r(e,o(f,r));var h=n(64);r(e,o(h,r));var d=n(61);r(e,o(d,r));var v=n(31);r(e,o(v,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]?!0:arguments[1],r=arguments.length<=2||void 0===arguments[2]?n:arguments[2];if("function"==typeof t){var o=void 0;return function(){for(var n=arguments.length,i=Array(n),a=0;n>a;a++)i[a]=arguments[a];!o&&e&&setTimeout(function(){return t.apply(void 0,i)}),clearTimeout(o),o=setTimeout(function(){o=void 0,e||t.apply(void 0,i)},r)}}};e.throttle=r},function(t,e,n){"use strict";var r=n(28)["default"];Object.defineProperty(e,"__esModule",{value:!0});var o=function(t,e){r(e).forEach(function(n){var r=n.replace(/^-/,"").replace(/-([a-z])/g,function(t,e){return e.toUpperCase()});t.style[r]=e[n]})};e.setStyle=o},function(t,e,n){t.exports={"default":n(29),__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});var r=n(31),o={STANDARD:40,OTHERS:-120},i=function(t){return t=r.getOriginalEvent(t),"deltaMode"in t?{x:t.deltaX/o.STANDARD,y:t.deltaY/o.STANDARD}:{x:t.wheelDeltaX/o.OTHERS,y:t.wheelDeltaY/o.OTHERS}};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(33)["default"];Object.defineProperty(e,"__esModule",{value:!0});var o=function(t,e){var n=t.children;if(!n)return null;var o=!0,i=!1,a=void 0;try{for(var u,s=r(n);!(o=(u=s.next()).done);o=!0){var c=u.value;if(c.className.match(e))return c}}catch(l){i=!0,a=l}finally{try{!o&&s["return"]&&s["return"]()}finally{if(i)throw a}}return null};e.findChild=o},function(t,e,n){t.exports={"default":n(34),__esModule:!0}},function(t,e,n){n(35),n(53),t.exports=n(56)},function(t,e,n){n(36);var r=n(39);r.NodeList=r.HTMLCollection=r.Array},function(t,e,n){var r=n(37),o=n(38),i=n(39),a=n(17);n(40)(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){t.exports={}},function(t,e,n){"use strict";function r(){return this}var o=n(41),i=n(15),a=n(42),u=n(43),s=n(46),c=n(47)("iterator"),l=n(39),f="@@iterator",h="keys",d="values";t.exports=function(t,e,v,p,m,y,g){function _(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(50)(v,e,p);var b,S,x=e+" Iterator",w=t.prototype,O=w[c]||w[f]||m&&w[m],P=O||_(m);if(O){var E=n(4).getProto(P.call(new t));n(51)(E,x,!0),!o&&s(w,f)&&u(E,c,r)}if((!o||g)&&u(w,c,P),l[e]=P,l[x]=r,m)if(b={keys:y?P:_(h),values:m==d?P:_(d),entries:m!=d?P:_("entries")},g)for(S in b)S in w||a(w,S,b[S]);else i(i.P+i.F*n(52),e,b)}},function(t,e){t.exports=!0},function(t,e,n){t.exports=n(43)},function(t,e,n){var r=n(4),o=n(44);t.exports=n(45)?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(48)("wks"),o=n(16).Symbol;t.exports=function(t){return r[t]||(r[t]=o&&o[t]||(o||n(49))("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,n){"use strict";var r=n(4),o={};n(43)(o,n(47)("iterator"),function(){return this}),t.exports=function(t,e,i){t.prototype=r.create(o,{next:n(44)(1,i)}),n(51)(t,e+" Iterator")}},function(t,e,n){var r=n(46),o=n(43),i=n(47)("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(54)(!0);n(40)(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(55),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){var r=n(57),o=n(58);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){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(16),o=n(59),i=n(47)("iterator"),a=n(39);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(47)("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){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(31),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(31),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(65)["default"],o=n(75)["default"],i=n(76)["default"];Object.defineProperty(e,"__esModule",{value:!0});var a=n(77),u=n(78),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,n){"use strict";var r=n(66)["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(67),__esModule:!0}},function(t,e,n){n(53),n(68),t.exports=n(14).Array.from},function(t,e,n){var r=n(69),o=n(15),i=n(17),a=n(71),u=n(72),s=n(73),c=n(58);o(o.S+o.F*!n(74)(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,m=c(f);if(v&&(d=r(d,arguments[2],2)),void 0==m||h==Array&&u(m))for(n=new h(e=s(f.length));e>p;p++)n[p]=v?d(f[p],p):f[p];else for(l=m.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(70);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(57);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(39),o=n(47)("iterator");t.exports=function(t){return("Array"in r?r.Array:Array.prototype[o])===t}},function(t,e,n){var r=n(55),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,e,n){var r=n(47)("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){"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=m?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),m="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(80);r(e,o(i,r));var a=n(81);r(e,o(a,r));var u=n(83);r(e,o(u,r));var s=n(84);r(e,o(s,r));var c=n(85);r(e,o(c,r));var l=n(86);r(e,o(l,r))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),n(81),n(82);var r=n(9),o=n(6);e.SmoothScrollbar=o.SmoothScrollbar,o.SmoothScrollbar.prototype.update=function(t){var e=this;requestAnimationFrame(function(){var n=e.size=e.getSize(),o={x:n.content.width-n.container.width,y:n.content.height-n.container.height};if(!e.limit||o.x!==e.limit.x||o.y!==e.limit.y){e.limit=o;var i=e.target,a=i.xAxis,u=i.yAxis;r.setStyle(a.track,{display:n.content.width<=n.container.width?"none":"block"}),r.setStyle(u.track,{display:n.content.height<=n.container.height?"none":"block"}),r.setStyle(a.thumb,{width:100*r.pickInRange(n.container.width/n.content.width,0,1)+"%"}),r.setStyle(u.thumb,{height:100*r.pickInRange(n.container.height/n.content.height,0,1)+"%"}),e.__setThumbPosition(),"function"==typeof t&&t(e)}})}},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,e=this.target.content;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(9),o=n(6);e.SmoothScrollbar=o.SmoothScrollbar;var i=function(){var t=this.offset,e=t.x,n=t.y,o=this.target,i=o.xAxis,a=o.yAxis,u="translate3d("+e/this.size.content.width*this.size.container.width+"px, 0, 0)",s="translate3d(0, "+n/this.size.content.height*this.size.container.height+"px, 0)";r.setStyle(i.thumb,{"-webkit-transform":u,transform:u}),r.setStyle(a.thumb,{"-webkit-transform":s,transform:s})};Object.defineProperty(o.SmoothScrollbar.prototype,"__setThumbPosition",{value:i,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(85);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=arguments.length<=1||void 0===arguments[1]?this.offset.y:arguments[1],n=this,o=arguments.length<=2||void 0===arguments[2]?0:arguments[2],i=arguments.length<=3||void 0===arguments[3]?null:arguments[3],a=this.offset,u=this.limit,s=r.pickInRange(t,0,u.x),c=r.pickInRange(e,0,u.y);if(s!==a.x||c!==a.y){var l={x:this.__motionBuilder(a.x,s-a.x,o),y:this.__motionBuilder(a.y,c-a.y,o)},f=0,h=l.x.length,d=function v(){return f===h?"function"==typeof i&&i(n):(n.setPosition(l.x[f],l.y[f]),f++,void(n.__scrollAnimation=requestAnimationFrame(v)))};requestAnimationFrame(d)}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),n(82);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),this.__resetScrollTime(),this.__updateThrottle();var n={},o=this.offset,i=this.limit,a=this.target,u=this.__listeners;if(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),this.hideTrack(),t!==o.x||e!==o.y){var s=(new Date).getTime(),c=this.__lastScrollTime;c||(c=this.__lastScrollTime=s);var l=s-c||1;this.__lastScrollTime=s,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.velocity={x:(t-o.x)/l,y:(e-o.y)/l},n.offset=this.offset={x:t,y:e},this.__setThumbPosition();var f="translate3d("+-t+"px, "+-e+"px, 0)";r.setStyle(a.content,{"-webkit-transform":f,transform:f}),u.forEach(function(t){return t(n)})}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),n(83);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(88);r(e,o(i,r));var a=n(89);r(e,o(a,r));var u=n(90);r(e,o(u,r));var s=n(91);r(e,o(s,r))},function(t,e,n){"use strict";var r=n(28)["default"];Object.defineProperty(e,"__esModule",{value:!0}),n(84),n(85);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,m=s=i.getPosition(t),y=m.x,g=m.y;u.x=(v-y)/h,u.y=(p-g)/h;var _=i.pickInRange(v-y+r.x,0,f.x),b=i.pickInRange(p-g+r.y,0,f.y);if(Math.abs(_-r.x)<1&&Math.abs(b-r.y)<1)return e.__updateThrottle();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){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),n(81),n(84),n(85);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),m=(c.y-s.top)/l.container.height;e.scrollTo(f.x,(m-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.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(84);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&&Math.abs(f-i.y)<1)return e.__updateThrottle();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(92)["default"];Object.defineProperty(e,"__esModule",{value:!0}),n(84);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,s=this.target.container;return s.addEventListener("mousedown",function(t){t.stopPropagation(),u=!0}),document.addEventListener("mousedown",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);if(Math.abs(v-c.x)<1&&Math.abs(p-c.y)<1)return e.__updateThrottle();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(33)["default"],o=n(93)["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(94),__esModule:!0}},function(t,e,n){n(35),n(53),t.exports=n(95)},function(t,e,n){var r=n(16),o=n(46),i=n(59),a=n(47)("iterator"),u=n(39);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(97);r(e,o(i,r));var a=n(82);r(e,o(a,r))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),n(87);var r=n(6);e.SmoothScrollbar=r.SmoothScrollbar;var o="undefined"==typeof WheelEvent?"mousewheel":"wheel",i=function(t){this.update();var e=this.target.container,n=this.__wheelHandler(t),r=this.__keyboardHandler(t),i=this.__touchHandlers(t),a=this.__mouseHandlers(t),u=this.__updateThrottle;e.addEventListener(o,n),e.addEventListener("touchstart",i.start),e.addEventListener("touchmove",i.move),e.addEventListener("touchend",i.end),e.addEventListener("click",a.click),e.addEventListener("mousedown",a.down),window.addEventListener("mousemove",a.move),window.addEventListener("mouseup",a.up),window.addEventListener("keydown",r),window.addEventListener("blur",a.up),window.addEventListener("resize",u),this.destroy=function(){e.removeEventListener(o,n),e.removeEventListener("touchstart",i.start),e.removeEventListener("touchmove",i.move),e.removeEventListener("touchend",i.end),e.removeEventListener("click",a.click),e.removeEventListener("mousedown",a.down),window.removeEventListener("keydown",r),window.removeEventListener("mousemove",a.move),window.removeEventListener("mouseup",a.up),window.removeEventListener("blur",a.up),window.removeEventListener("resize",u)}};Object.defineProperty(r.SmoothScrollbar.prototype,"__initScrollbar",{value:i,writable:!0,configurable:!0})}]);
{
"name": "angular-smooth-scrollbar",
"version": "0.0.10",
"version": "0.0.11",
"description": "An angular module that allows you customize smooth scrollbars",

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

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

### instance#scrollTo( x, y, duration )
### instance#scrollTo( x, y, duration, cb )
When you want to scroll content to position with easing animation, use this method.
When you want to scroll content to position with easing animation, use this method. Callback will be invoked when scrolling is over.

@@ -107,0 +107,0 @@ ### instance#addListener( cb )

@@ -12,4 +12,4 @@ /**

// is `mousewheel` event supported check
const WHEEL_EVENT = 'onmousewheel' in document.documentElement ? 'mousewheel' : 'wheel';
// is standard `wheel` event supported check
const WHEEL_EVENT = typeof WheelEvent === 'undefined' ? 'mousewheel' : 'wheel';

@@ -16,0 +16,0 @@ /**

@@ -10,4 +10,4 @@ /**

const DELTA_SCALE = {
STANDARD: -120,
MOZ: 3
STANDARD: 40,
OTHERS: -120
};

@@ -18,9 +18,2 @@

*
* In IE and Chrome, wheel delta is 120/-120 per native wheel event,
* negative value for scrolling down
*
* But in firefox, wheel delta -3/3, negative value for scrolling up
*
* Old Opera and others? I don't care!
*
* @param {Object} evt: event object

@@ -32,6 +25,6 @@ */

if (evt.wheelDelta) {
if ('deltaMode' in evt) {
return {
x: evt.wheelDeltaX / DELTA_SCALE.STANDARD,
y: evt.wheelDeltaY / DELTA_SCALE.STANDARD
x: evt.deltaX / DELTA_SCALE.STANDARD,
y: evt.deltaY / DELTA_SCALE.STANDARD
};

@@ -41,5 +34,5 @@ }

return {
x: evt.deltaX / DELTA_SCALE.MOZ,
y: evt.deltaY / DELTA_SCALE.MOZ
x: evt.wheelDeltaX / DELTA_SCALE.OTHERS,
y: evt.wheelDeltaY / DELTA_SCALE.OTHERS
};
};
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