Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@ant-design/react-slick

Package Overview
Dependencies
Maintainers
16
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ant-design/react-slick - npm Package Compare versions

Comparing version 0.26.1 to 0.26.2

2

dist/react-slick.min.js

@@ -6,3 +6,3 @@ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("react-dom")):"function"==typeof define&&define.amd?define(["react","react-dom"],t):"object"==typeof exports?exports.Slider=t(require("react"),require("react-dom")):e.Slider=t(e.React,e.ReactDOM)}(window,(function(e,t){return o={},n.m=r=[function(t,n){t.exports=e},function(e,t,n){var r;

http://jedwatson.github.io/classnames
*/!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var i=typeof r;if("string"==i||"number"==i)e.push(r);else if(Array.isArray(r)&&r.length){var s=o.apply(null,r);s&&e.push(s)}else if("object"==i)for(var a in r)n.call(r,a)&&r[a]&&e.push(a)}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(r=function(){return o}.apply(t,[]))||(e.exports=r)}()},function(e,n){e.exports=t},function(e,t,n){function r(e){var t="",n=Object.keys(e);return n.forEach((function(r,i){var s=e[r];r=o(r),/[height|width]$/.test(r)&&"number"==typeof s&&(s+="px"),t+=!0===s?r:!1===s?"not "+r:"("+r+": "+s+")",i<n.length-1&&(t+=" and ")})),t}var o=n(18);e.exports=function(e){var t="";return"string"==typeof e?e:e instanceof Array?(e.forEach((function(n,o){t+=r(n),o<e.length-1&&(t+=", ")})),t):r(e)}},function(e,t){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},function(e,t,n){var r=n(11),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},function(e,t){var n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){var r=n(5).Symbol;e.exports=r},function(e,t,n){var r=n(4),o=n(10),i=n(12),s=Math.max,a=Math.min;e.exports=function(e,t,n){var c,l,u,p,d,f,h=0,y=!1,v=!1,b=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function g(t){var n=c,r=l;return c=l=void 0,h=t,p=e.apply(r,n)}function m(e){var n=e-f;return void 0===f||t<=n||n<0||v&&u<=e-h}function w(){var e,n,r=o();if(m(r))return S(r);d=setTimeout(w,(n=t-((e=r)-f),v?a(n,u-(e-h)):n))}function S(e){return d=void 0,b&&c?g(e):(c=l=void 0,p)}function O(){var e,n=o(),r=m(n);if(c=arguments,l=this,f=n,r){if(void 0===d)return h=e=f,d=setTimeout(w,t),y?g(e):p;if(v)return clearTimeout(d),d=setTimeout(w,t),g(f)}return void 0===d&&(d=setTimeout(w,t)),p}return t=i(t)||0,r(n)&&(y=!!n.leading,u=(v="maxWait"in n)?s(i(n.maxWait)||0,t):u,b="trailing"in n?!!n.trailing:b),O.cancel=function(){void 0!==d&&clearTimeout(d),c=f=l=d=void(h=0)},O.flush=function(){return void 0===d?p:S(o())},O}},function(e,t,n){"use strict";(function(e){var n=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var n=-1;return e.some((function(e,r){return e[0]===t&&(n=r,!0)})),n}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),r=this.__entries__[n];return r&&r[1]},t.prototype.set=function(t,n){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,r=e(n,t);~r&&n.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,r=this.__entries__;n<r.length;n++){var o=r[n];e.call(t,o[1],o[0])}},t;function t(){this.__entries__=[]}}(),r="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,o=void 0!==e&&e.Math===Math?e:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),i="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(o):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)},s=["top","right","bottom","left","width","height","size","weight"],a="undefined"!=typeof MutationObserver,c=(l.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},l.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},l.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},l.prototype.updateObservers_=function(){var e=this.observers_.filter((function(e){return e.gatherActive(),e.hasActive()}));return e.forEach((function(e){return e.broadcastActive()})),0<e.length},l.prototype.connect_=function(){r&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),a?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},l.prototype.disconnect_=function(){r&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},l.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t;s.some((function(e){return!!~n.indexOf(e)}))&&this.refresh()},l.getInstance=function(){return this.instance_||(this.instance_=new l),this.instance_},l.instance_=null,l);function l(){function e(){s&&(s=!1,r()),a&&n()}function t(){i(e)}function n(){var e=Date.now();if(s){if(e-c<2)return;a=!0}else a=!(s=!0),setTimeout(t,o);c=e}var r,o,s,a,c;this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=(r=this.refresh.bind(this),a=s=!(o=20),c=0,n)}var u=function(e,t){for(var n=0,r=Object.keys(t);n<r.length;n++){var o=r[n];Object.defineProperty(e,o,{value:t[o],enumerable:!1,writable:!1,configurable:!0})}return e},p=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||o},d=b(0,0,0,0);function f(e){return parseFloat(e)||0}function h(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce((function(t,n){return t+f(e["border-"+n+"-width"])}),0)}var y="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof p(e).SVGGraphicsElement}:function(e){return e instanceof p(e).SVGElement&&"function"==typeof e.getBBox};function v(e){return r?y(e)?b(0,0,(t=e.getBBox()).width,t.height):function(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return d;var r,o,i,s=p(e).getComputedStyle(e),a=function(e){for(var t={},n=0,r=["top","right","bottom","left"];n<r.length;n++){var o=r[n],i=e["padding-"+o];t[o]=f(i)}return t}(s),c=a.left+a.right,l=a.top+a.bottom,u=f(s.width),y=f(s.height);return"border-box"===s.boxSizing&&(Math.round(u+c)!==t&&(u-=h(s,"left","right")+c),Math.round(y+l)!==n&&(y-=h(s,"top","bottom")+l)),(i=e)!==p(i).document.documentElement&&(r=Math.round(u+c)-t,o=Math.round(y+l)-n,1!==Math.abs(r)&&(u-=r),1!==Math.abs(o)&&(y-=o)),b(a.left,a.top,u,y)}(e):d;var t}function b(e,t,n,r){return{x:e,y:t,width:n,height:r}}var g=(m.prototype.isActive=function(){var e=v(this.target);return(this.contentRect_=e).width!==this.broadcastWidth||e.height!==this.broadcastHeight},m.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},m);function m(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=b(0,0,0,0),this.target=e}var w=function(e,t){var n,r,o,i,s,a,c,l=(r=(n=t).x,o=n.y,i=n.width,s=n.height,a="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,c=Object.create(a.prototype),u(c,{x:r,y:o,width:i,height:s,top:o,right:r+i,bottom:s+o,left:r}),c);u(this,{target:e,contentRect:l})},S=(O.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof p(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new g(e)),this.controller_.addObserver(this),this.controller_.refresh())}},O.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof p(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},O.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},O.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach((function(t){t.isActive()&&e.activeObservations_.push(t)}))},O.prototype.broadcastActive=function(){var e,t;this.hasActive()&&(e=this.callbackCtx_,t=this.activeObservations_.map((function(e){return new w(e.target,e.broadcastRect())})),this.callback_.call(e,t,e),this.clearActive())},O.prototype.clearActive=function(){this.activeObservations_.splice(0)},O.prototype.hasActive=function(){return 0<this.activeObservations_.length},O);function O(e,t,r){if(this.activeObservations_=[],this.observations_=new n,"function"!=typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=r}var k=new("undefined"!=typeof WeakMap?WeakMap:n),T=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=c.getInstance(),r=new S(t,n,this);k.set(this,r)};["observe","unobserve","disconnect"].forEach((function(e){T.prototype[e]=function(){var t;return(t=k.get(this))[e].apply(t,arguments)}}));var j=void 0!==o.ResizeObserver?o.ResizeObserver:T;t.a=j}).call(this,n(6))},function(e,t,n){var r=n(5);e.exports=function(){return r.Date.now()}},function(e,t,n){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(this,n(6))},function(e,t,n){var r=n(4),o=n(13),i=/^\s+|\s+$/g,s=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,c=/^0o[0-7]+$/i,l=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(o(e))return NaN;var t;if(r(e)&&(t="function"==typeof e.valueOf?e.valueOf():e,e=r(t)?t+"":t),"string"!=typeof e)return 0===e?e:+e;e=e.replace(i,"");var n=a.test(e);return n||c.test(e)?l(e.slice(2),n?2:8):s.test(e)?NaN:+e}},function(e,t,n){var r=n(14),o=n(17);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==r(e)}},function(e,t,n){var r=n(7),o=n(15),i=n(16),s=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":(s&&s in Object(e)?o:i)(e)}},function(e,t,n){var r=n(7),o=Object.prototype,i=o.hasOwnProperty,s=o.toString,a=r?r.toStringTag:void 0;e.exports=function(e){var t=i.call(e,a),n=e[a];try{var r=!(e[a]=void 0)}catch(e){}var o=s.call(e);return r&&(t?e[a]=n:delete e[a]),o}},function(e,t){var n=Object.prototype.toString;e.exports=function(e){return n.call(e)}},function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e}},function(e,t){e.exports=function(e){return e.replace(/[A-Z]/g,(function(e){return"-"+e.toLowerCase()})).toLowerCase()}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r),i=n(2),s=n.n(i),a={animating:!1,autoplaying:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,dragging:!1,edgeDragged:!1,initialized:!1,lazyLoadedList:[],listHeight:null,listWidth:null,scrolling:!1,slideCount:null,slideHeight:null,slideWidth:null,swipeLeft:null,swiped:!1,swiping:!1,touchObject:{startX:0,startY:0,curX:0,curY:0},trackStyle:{},trackWidth:0},c=n(8),l=n.n(c),u=n(1),p=n.n(u);function d(e,t){var n,r=Object.keys(e);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(e),t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)),r}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y(e){for(var t=[],n=T(e),r=j(e),o=n;o<r;o++)e.lazyLoadedList.indexOf(o)<0&&t.push(o);return t}function v(e){return e&&e.offsetWidth||0}function b(e){return e&&e.offsetHeight||0}function g(e,t){var n=1<arguments.length&&void 0!==t&&t,r=e.startX-e.curX,o=e.startY-e.curY,i=Math.atan2(o,r),s=Math.round(180*i/Math.PI);return s<0&&(s=360-Math.abs(s)),s<=45&&0<=s||s<=360&&315<=s?"left":135<=s&&s<=225?"right":!0===n?35<=s&&s<=135?"up":"down":"vertical"}function m(e){var t=!0;return e.infinite||(e.centerMode&&e.currentSlide>=e.slideCount-1||e.slideCount<=e.slidesToShow||e.currentSlide>=e.slideCount-e.slidesToShow)&&(t=!1),t}function w(e,t){var n={};return t.forEach((function(t){return n[t]=e[t]})),n}function S(e,t){return t.reduce((function(t,n){return t&&e.hasOwnProperty(n)}),!0)?null:console.error("Keys Missing:",e)}function O(e){return e.unslick||!e.infinite?0:e.slideCount}function k(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}var T=function(e){return e.currentSlide-_(e)},j=function(e){return e.currentSlide+E(e)},_=function(e){return e.centerMode?Math.floor(e.slidesToShow/2)+(0<parseInt(e.centerPadding)?1:0):0},E=function(e){return e.centerMode?Math.floor((e.slidesToShow-1)/2)+1+(0<parseInt(e.centerPadding)?1:0):e.slidesToShow},x=function(e,t){var n=function(e){for(var t=e.infinite?2*e.slideCount:e.slideCount,n=e.infinite?-1*e.slidesToShow:0,r=e.infinite?-1*e.slidesToShow:0,o=[];n<t;)o.push(n),n=r+e.slidesToScroll,r+=Math.min(e.slidesToScroll,e.slidesToShow);return o}(e),r=0;if(t>n[n.length-1])t=n[n.length-1];else for(var o in n){if(t<n[o]){t=r;break}r=n[o]}return t},P=function(e){var t=e.centerMode?e.slideWidth*Math.floor(e.slidesToShow/2):0;if(e.swipeToSlide){var n,r=s.a.findDOMNode(e.listRef).querySelectorAll(".slick-slide");if(Array.from(r).every((function(r){if(e.vertical){if(r.offsetTop+b(r)/2>-1*e.swipeLeft)return n=r,!1}else if(r.offsetLeft-t+v(r)/2>-1*e.swipeLeft)return n=r,!1;return!0})),!n)return 0;var o=!0===e.rtl?e.slideCount-e.currentSlide:e.currentSlide;return Math.abs(n.dataset.index-o)||1}return e.slidesToScroll},L=function(e){var t,n;S(e,["left","variableWidth","slideCount","slidesToShow","slideWidth"]);var r=e.slideCount+2*e.slidesToShow;e.vertical?n=r*e.slideHeight:t=D(e)*e.slideWidth;var o,i,s,a={opacity:1,transition:"",WebkitTransition:""};return e.useTransform?(o=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",i=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",s=e.vertical?"translateY("+e.left+"px)":"translateX("+e.left+"px)",a=f(f({},a),{},{WebkitTransform:o,transform:i,msTransform:s})):e.vertical?a.top=e.left:a.left=e.left,e.fade&&(a={opacity:1}),t&&(a.width=t),n&&(a.height=n),window&&!window.addEventListener&&window.attachEvent&&(e.vertical?a.marginTop=e.left+"px":a.marginLeft=e.left+"px"),a},M=function(e){S(e,["left","variableWidth","slideCount","slidesToShow","slideWidth","speed","cssEase"]);var t=L(e);return e.useTransform?(t.WebkitTransition="-webkit-transform "+e.speed+"ms "+e.cssEase,t.transition="transform "+e.speed+"ms "+e.cssEase):e.vertical?t.transition="top "+e.speed+"ms "+e.cssEase:t.transition="left "+e.speed+"ms "+e.cssEase,t},C=function(e){if(e.unslick)return 0;S(e,["slideIndex","trackRef","infinite","centerMode","slideCount","slidesToShow","slidesToScroll","slideWidth","listWidth","variableWidth","slideHeight"]);var t=e.slideIndex,n=e.trackRef,r=e.infinite,o=e.centerMode,i=e.slideCount,a=e.slidesToShow,c=e.slidesToScroll,l=e.slideWidth,u=e.listWidth,p=e.variableWidth,d=e.slideHeight,f=e.fade,h=e.vertical;if(f||1===e.slideCount)return 0;var y=0;if(r?(y=-R(e),i%c!=0&&i<t+c&&(y=-(i<t?a-(t-i):i%c)),o&&(y+=parseInt(a/2))):(i%c!=0&&i<t+c&&(y=a-i%c),o&&(y=parseInt(a/2))),m=h?t*d*-1+y*d:t*l*-1+y*l,!0===p){var v,b=s.a.findDOMNode(n),g=t+R(e),m=(v=b&&b.childNodes[g])?-1*v.offsetLeft:0;if(!0===o){g=r?t+R(e):t,v=b&&b.children[g];for(var w=m=0;w<g;w++)m-=b&&b.children[w]&&b.children[w].offsetWidth;m-=parseInt(e.centerPadding),m+=v&&(u-v.offsetWidth)/2}}return m},R=function(e){return e.unslick||!e.infinite?0:e.variableWidth?e.slideCount:e.slidesToShow+(e.centerMode?1:0)},D=function(e){return 1===e.slideCount?1:R(e)+e.slideCount+O(e)},z=function(e){return e.targetSlide>e.currentSlide?e.targetSlide>e.currentSlide+W(e)?"left":"right":e.targetSlide<e.currentSlide-H(e)?"right":"left"},W=function(e){var t=e.slidesToShow,n=e.centerMode,r=e.rtl,o=e.centerPadding;if(n){var i=(t-1)/2+1;return 0<parseInt(o)&&(i+=1),r&&t%2==0&&(i+=1),i}return r?0:t-1},H=function(e){var t=e.slidesToShow,n=e.centerMode,r=e.rtl,o=e.centerPadding;if(n){var i=(t-1)/2+1;return 0<parseInt(o)&&(i+=1),r||t%2!=0||(i+=1),i}return r?t-1:0};function N(e){return(N="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function A(){return(A=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function I(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function X(e,t){return(X=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Y(e){return(Y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function q(e,t){var n,r=Object.keys(e);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(e),t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)),r}function F(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?q(Object(n),!0).forEach((function(t){B(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):q(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function B(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function G(e){var t,n,r,o=e.rtl?e.slideCount-1-e.index:e.index,i=o<0||o>=e.slideCount;return e.centerMode?(r=Math.floor(e.slidesToShow/2),n=(o-e.currentSlide)%e.slideCount==0,o>e.currentSlide-r-1&&o<=e.currentSlide+r&&(t=!0)):t=e.currentSlide<=o&&o<e.currentSlide+e.slidesToShow,{"slick-slide":!0,"slick-active":t,"slick-center":n,"slick-cloned":i,"slick-current":o===e.currentSlide}}function U(e,t){return e.key+"-"+t}var V=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&X(e,t)}(r,o.a.PureComponent);var e,t,n=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r,o,i=Y(e);return r=this,!(o=t?(n=Y(this).constructor,Reflect.construct(i,arguments,n)):i.apply(this,arguments))||"object"!==N(o)&&"function"!=typeof o?function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(r):o}}(r);function r(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r),n.apply(this,arguments)}return e=r,(t=[{key:"render",value:function(){var e=function(e){var t,n=[],r=[],i=[],s=o.a.Children.count(e.children),a=T(e),c=j(e);return o.a.Children.forEach(e.children,(function(l,u){var d,f,h,y={message:"children",index:u,slidesToScroll:e.slidesToScroll,currentSlide:e.currentSlide},v=!e.lazyLoad||e.lazyLoad&&0<=e.lazyLoadedList.indexOf(u)?l:o.a.createElement("div",null),b=(f={},void 0!==(d=F(F({},e),{},{index:u})).variableWidth&&!1!==d.variableWidth||(f.width=d.slideWidth),d.fade&&(f.position="relative",d.vertical?f.top=-d.index*parseInt(d.slideHeight):f.left=-d.index*parseInt(d.slideWidth),f.opacity=d.currentSlide===d.index?1:0,f.transition="opacity "+d.speed+"ms "+d.cssEase+", visibility "+d.speed+"ms "+d.cssEase),f),g=v.props.className||"",m=G(F(F({},e),{},{index:u}));n.push(o.a.cloneElement(v,{key:"original"+U(v,u),"data-index":u,className:p()(m,g),tabIndex:"-1","aria-hidden":!m["slick-active"],style:F(F({outline:"none"},v.props.style||{}),b),onClick:function(t){v.props&&v.props.onClick&&v.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(y)}})),e.infinite&&!1===e.fade&&((h=s-u)<=R(e)&&s!==e.slidesToShow&&(a<=(t=-h)&&(v=l),m=G(F(F({},e),{},{index:t})),r.push(o.a.cloneElement(v,{key:"precloned"+U(v,t),"data-index":t,tabIndex:"-1",className:p()(m,g),"aria-hidden":!m["slick-active"],style:F(F({},v.props.style||{}),b),onClick:function(t){v.props&&v.props.onClick&&v.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(y)}}))),s!==e.slidesToShow&&((t=s+u)<c&&(v=l),m=G(F(F({},e),{},{index:t})),i.push(o.a.cloneElement(v,{key:"postcloned"+U(v,t),"data-index":t,tabIndex:"-1",className:p()(m,g),"aria-hidden":!m["slick-active"],style:F(F({},v.props.style||{}),b),onClick:function(t){v.props&&v.props.onClick&&v.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(y)}}))))})),e.rtl?r.concat(n,i).reverse():r.concat(n,i)}(this.props),t=this.props,n={onMouseEnter:t.onMouseEnter,onMouseOver:t.onMouseOver,onMouseLeave:t.onMouseLeave};return o.a.createElement("div",A({className:"slick-track",style:this.props.trackStyle},n),e)}}])&&I(e.prototype,t),r}();function $(e){return($="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function K(e,t){var n,r=Object.keys(e);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(e),t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)),r}function Z(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function J(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Q(e,t){return(Q=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ee(e){return(ee=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var te=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Q(e,t)}(r,o.a.PureComponent);var e,t,n=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r,o,i=ee(e);return r=this,!(o=t?(n=ee(this).constructor,Reflect.construct(i,arguments,n)):i.apply(this,arguments))||"object"!==$(o)&&"function"!=typeof o?function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(r):o}}(r);function r(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r),n.apply(this,arguments)}return e=r,(t=[{key:"clickHandler",value:function(e,t){t.preventDefault(),this.props.clickHandler(e)}},{key:"render",value:function(){var e,t=this,n=(e={slideCount:this.props.slideCount,slidesToScroll:this.props.slidesToScroll,slidesToShow:this.props.slidesToShow,infinite:this.props.infinite}).infinite?Math.ceil(e.slideCount/e.slidesToScroll):Math.ceil((e.slideCount-e.slidesToShow)/e.slidesToScroll)+1,r=this.props,i={onMouseEnter:r.onMouseEnter,onMouseOver:r.onMouseOver,onMouseLeave:r.onMouseLeave},s=Array.apply(null,Array(n+1).join("0").split("")).map((function(e,n){var r=n*t.props.slidesToScroll,i=n*t.props.slidesToScroll+(t.props.slidesToScroll-1),s=p()({"slick-active":t.props.currentSlide>=r&&t.props.currentSlide<=i}),a={message:"dots",index:n,slidesToScroll:t.props.slidesToScroll,currentSlide:t.props.currentSlide},c=t.clickHandler.bind(t,a);return o.a.createElement("li",{key:n,className:s},o.a.cloneElement(t.props.customPaging(n),{onClick:c}))}));return o.a.cloneElement(this.props.appendDots(s),function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?K(Object(n),!0).forEach((function(t){Z(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):K(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({className:this.props.dotsClass},i))}}])&&J(e.prototype,t),r}();function ne(e){return(ne="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function re(){return(re=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function oe(e,t){var n,r=Object.keys(e);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(e),t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)),r}function ie(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?oe(Object(n),!0).forEach((function(t){se(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):oe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function se(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ce(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function le(e,t,n){return t&&ce(e.prototype,t),n&&ce(e,n),e}function ue(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&function(e,t){(Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}(e,t)}function pe(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r,o,i=de(e);return r=this,!(o=t?(n=de(this).constructor,Reflect.construct(i,arguments,n)):i.apply(this,arguments))||"object"!==ne(o)&&"function"!=typeof o?function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(r):o}}function de(e){return(de=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var fe=function(){ue(t,o.a.PureComponent);var e=pe(t);function t(){return ae(this,t),e.apply(this,arguments)}return le(t,[{key:"clickHandler",value:function(e,t){t&&t.preventDefault(),this.props.clickHandler(e,t)}},{key:"render",value:function(){var e={"slick-arrow":!0,"slick-prev":!0},t=this.clickHandler.bind(this,{message:"previous"});!this.props.infinite&&(0===this.props.currentSlide||this.props.slideCount<=this.props.slidesToShow)&&(e["slick-disabled"]=!0,t=null);var n={key:"0","data-role":"none",className:p()(e),style:{display:"block"},onClick:t},r={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount};return this.props.prevArrow?o.a.cloneElement(this.props.prevArrow,ie(ie({},n),r)):o.a.createElement("button",re({key:"0",type:"button"},n)," ","Previous")}}]),t}(),he=function(){ue(t,o.a.PureComponent);var e=pe(t);function t(){return ae(this,t),e.apply(this,arguments)}return le(t,[{key:"clickHandler",value:function(e,t){t&&t.preventDefault(),this.props.clickHandler(e,t)}},{key:"render",value:function(){var e={"slick-arrow":!0,"slick-next":!0},t=this.clickHandler.bind(this,{message:"next"});m(this.props)||(e["slick-disabled"]=!0,t=null);var n={key:"1","data-role":"none",className:p()(e),style:{display:"block"},onClick:t},r={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount};return this.props.nextArrow?o.a.cloneElement(this.props.nextArrow,ie(ie({},n),r)):o.a.createElement("button",re({key:"1",type:"button"},n)," ","Next")}}]),t}(),ye=n(9);function ve(){return(ve=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function be(e,t){if(null==e)return{};var n,r=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],0<=t.indexOf(n)||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols)for(var o=Object.getOwnPropertySymbols(e),i=0;i<o.length;i++)n=o[i],0<=t.indexOf(n)||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n]);return r}function ge(e){return(ge="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function me(e,t){var n,r=Object.keys(e);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(e),t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)),r}function we(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?me(Object(n),!0).forEach((function(t){Te(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):me(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Se(e,t){return(Se=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Oe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ke(e){return(ke=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Te(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var je=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Se(e,t)}(t,o.a.Component);var e=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r,o,i=ke(e);return r=this,!(o=t?(n=ke(this).constructor,Reflect.construct(i,arguments,n)):i.apply(this,arguments))||"object"!==ge(o)&&"function"!=typeof o?Oe(r):o}}(t);function t(n){var r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Te(Oe(r=e.call(this,n)),"listRefHandler",(function(e){return r.list=e})),Te(Oe(r),"trackRefHandler",(function(e){return r.track=e})),Te(Oe(r),"adaptHeight",(function(){var e;r.props.adaptiveHeight&&r.list&&(e=r.list.querySelector('[data-index="'.concat(r.state.currentSlide,'"]')),r.list.style.height=b(e)+"px")})),Te(Oe(r),"UNSAFE_componentWillMount",(function(){var e;r.ssrInit(),r.props.onInit&&r.props.onInit(),!r.props.lazyLoad||0<(e=y(we(we({},r.props),r.state))).length&&(r.setState((function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}})),r.props.onLazyLoad&&r.props.onLazyLoad(e))})),Te(Oe(r),"componentDidMount",(function(){var e=we({listRef:r.list,trackRef:r.track},r.props);r.updateState(e,!0,(function(){r.adaptHeight(),r.props.autoplay&&r.autoPlay("update")})),"progressive"===r.props.lazyLoad&&(r.lazyLoadTimer=setInterval(r.progressiveLazyLoad,1e3)),r.ro=new ye.a((function(){r.state.animating?(r.onWindowResized(!1),r.callbackTimers.push(setTimeout((function(){return r.onWindowResized()}),r.props.speed))):r.onWindowResized()})),r.ro.observe(r.list),Array.prototype.forEach.call(document.querySelectorAll(".slick-slide"),(function(e){e.onfocus=r.props.pauseOnFocus?r.onSlideFocus:null,e.onblur=r.props.pauseOnFocus?r.onSlideBlur:null})),window.addEventListener?window.addEventListener("resize",r.onWindowResized):window.attachEvent("onresize",r.onWindowResized)})),Te(Oe(r),"componentWillUnmount",(function(){r.animationEndCallback&&clearTimeout(r.animationEndCallback),r.lazyLoadTimer&&clearInterval(r.lazyLoadTimer),r.callbackTimers.length&&(r.callbackTimers.forEach((function(e){return clearTimeout(e)})),r.callbackTimers=[]),window.addEventListener?window.removeEventListener("resize",r.onWindowResized):window.detachEvent("onresize",r.onWindowResized),r.autoplayTimer&&clearInterval(r.autoplayTimer),r.ro.disconnect()})),Te(Oe(r),"UNSAFE_componentWillReceiveProps",(function(e){for(var t=we(we({listRef:r.list,trackRef:r.track},e),r.state),n=!1,i=0,s=Object.keys(r.props);i<s.length;i++){var a=s[i];if(!e.hasOwnProperty(a)){n=!0;break}if("object"!==ge(e[a])&&"function"!=typeof e[a]&&e[a]!==r.props[a]){n=!0;break}}r.updateState(t,n,(function(){r.state.currentSlide>=o.a.Children.count(e.children)&&r.changeSlide({message:"index",index:o.a.Children.count(e.children)-e.slidesToShow,currentSlide:r.state.currentSlide}),e.autoplay?r.autoPlay("update"):r.pause("paused")}))})),Te(Oe(r),"componentDidUpdate",(function(){var e;r.checkImagesLoad(),r.props.onReInit&&r.props.onReInit(),!r.props.lazyLoad||0<(e=y(we(we({},r.props),r.state))).length&&(r.setState((function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}})),r.props.onLazyLoad&&r.props.onLazyLoad(e)),r.adaptHeight()})),Te(Oe(r),"onWindowResized",(function(e){r.debouncedResize&&r.debouncedResize.cancel(),r.debouncedResize=l()((function(){return r.resizeWindow(e)}),50),r.debouncedResize()})),Te(Oe(r),"resizeWindow",(function(){var e,t=!(0<arguments.length&&void 0!==arguments[0])||arguments[0];s.a.findDOMNode(r.track)&&(e=we(we({listRef:r.list,trackRef:r.track},r.props),r.state),r.updateState(e,t,(function(){r.props.autoplay?r.autoPlay("update"):r.pause("paused")})),r.setState({animating:!1}),clearTimeout(r.animationEndCallback),delete r.animationEndCallback)})),Te(Oe(r),"updateState",(function(e,t,n){var i=function(e){var t,n=o.a.Children.count(e.children),r=Math.ceil(v(s.a.findDOMNode(e.listRef))),i=Math.ceil(v(s.a.findDOMNode(e.trackRef))),a=e.vertical?r:(t=e.centerMode&&2*parseInt(e.centerPadding),"string"==typeof e.centerPadding&&"%"===e.centerPadding.slice(-1)&&(t*=r/100),Math.ceil((r-t)/e.slidesToShow)),c=s.a.findDOMNode(e.listRef)&&b(s.a.findDOMNode(e.listRef).querySelector('[data-index="0"]')),l=c*e.slidesToShow,u=void 0===e.currentSlide?e.initialSlide:e.currentSlide;e.rtl&&void 0===e.currentSlide&&(u=n-1-e.initialSlide);var p=e.lazyLoadedList||[],d=y({currentSlide:u,lazyLoadedList:p});p.concat(d);var f={slideCount:n,slideWidth:a,listWidth:r,trackWidth:i,currentSlide:u,slideHeight:c,listHeight:l,lazyLoadedList:p};return null===e.autoplaying&&e.autoplay&&(f.autoplaying="playing"),f}(e);e=we(we(we({},e),i),{},{slideIndex:i.currentSlide});var a=C(e);e=we(we({},e),{},{left:a});var c=L(e);!t&&o.a.Children.count(r.props.children)===o.a.Children.count(e.children)||(i.trackStyle=c),r.setState(i,n)})),Te(Oe(r),"ssrInit",(function(){if(r.props.variableWidth){var e=0,t=0,n=[],i=R(we(we(we({},r.props),r.state),{},{slideCount:r.props.children.length})),s=O(we(we(we({},r.props),r.state),{},{slideCount:r.props.children.length}));r.props.children.forEach((function(t){n.push(t.props.style.width),e+=t.props.style.width}));for(var a=0;a<i;a++)t+=n[n.length-1-a],e+=n[n.length-1-a];for(var c=0;c<s;c++)e+=n[c];for(var l=0;l<r.state.currentSlide;l++)t+=n[l];var u,p={width:e+"px",left:-t+"px"};return r.props.centerMode&&(u="".concat(n[r.state.currentSlide],"px"),p.left="calc(".concat(p.left," + (100% - ").concat(u,") / 2 ) ")),void r.setState({trackStyle:p})}var d=o.a.Children.count(r.props.children),f=we(we(we({},r.props),r.state),{},{slideCount:d}),h=R(f)+O(f)+d,y=100/r.props.slidesToShow*h,v=100/h,b=-v*(R(f)+r.state.currentSlide)*y/100;r.props.centerMode&&(b+=(100-v*y/100)/2);var g={width:y+"%",left:b+"%"};r.setState({slideWidth:v+"%",trackStyle:g})})),Te(Oe(r),"checkImagesLoad",(function(){var e=r.list.querySelectorAll(".slick-slide img"),t=e.length,n=0;Array.prototype.forEach.call(e,(function(e){function o(){return++n&&t<=n&&r.onWindowResized()}var i;e.onclick?(i=e.onclick,e.onclick=function(){i(),e.parentNode.focus()}):e.onclick=function(){return e.parentNode.focus()},e.onload||(r.props.lazyLoad?e.onload=function(){r.adaptHeight(),r.callbackTimers.push(setTimeout(r.onWindowResized,r.props.speed))}:(e.onload=o,e.onerror=function(){o(),r.props.onLazyLoadError&&r.props.onLazyLoadError()}))}))})),Te(Oe(r),"progressiveLazyLoad",(function(){for(var e=[],t=we(we({},r.props),r.state),n=r.state.currentSlide;n<r.state.slideCount+O(t);n++)if(r.state.lazyLoadedList.indexOf(n)<0){e.push(n);break}for(var o=r.state.currentSlide-1;o>=-R(t);o--)if(r.state.lazyLoadedList.indexOf(o)<0){e.push(o);break}0<e.length?(r.setState((function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}})),r.props.onLazyLoad&&r.props.onLazyLoad(e)):r.lazyLoadTimer&&(clearInterval(r.lazyLoadTimer),delete r.lazyLoadTimer)})),Te(Oe(r),"slideHandler",(function(e){var t,n=1<arguments.length&&void 0!==arguments[1]&&arguments[1],o=r.props,i=o.asNavFor,s=o.beforeChange,a=o.onLazyLoad,c=o.speed,l=o.afterChange,u=r.state.currentSlide,p=function(e){var t=e.waitForAnimate,n=e.animating,r=e.fade,o=e.infinite,i=e.index,s=e.slideCount,a=e.lazyLoadedList,c=e.lazyLoad,l=e.currentSlide,u=e.centerMode,p=e.slidesToScroll,d=e.slidesToShow,h=e.useCSS;if(t&&n)return{};var v,b,g,w=i,S={},O={};if(r){if(!o&&(i<0||s<=i))return{};i<0?w=i+s:s<=i&&(w=i-s),c&&a.indexOf(w)<0&&a.push(w),O={animating:!(S={animating:!0,currentSlide:w,lazyLoadedList:a})}}else(v=w)<0?(v=w+s,o?s%p!=0&&(v=s-s%p):v=0):!m(e)&&l<w?w=v=l:u&&s<=w?(w=o?s:s-1,v=o?0:s-1):s<=w&&(v=w-s,o?s%p!=0&&(v=0):v=s-d),b=C(f(f({},e),{},{slideIndex:w})),g=C(f(f({},e),{},{slideIndex:v})),o||(b===g&&(w=v),b=g),c&&a.concat(y(f(f({},e),{},{currentSlide:w}))),h?O={animating:!(S={animating:!0,currentSlide:v,trackStyle:M(f(f({},e),{},{left:b})),lazyLoadedList:a}),currentSlide:v,trackStyle:L(f(f({},e),{},{left:g})),swipeLeft:null}:S={currentSlide:v,trackStyle:L(f(f({},e),{},{left:g})),lazyLoadedList:a};return{state:S,nextState:O}}(we(we(we({index:e},r.props),r.state),{},{trackRef:r.track,useCSS:r.props.useCSS&&!n})),d=p.state,h=p.nextState;d&&(s&&s(u,d.currentSlide),t=d.lazyLoadedList.filter((function(e){return r.state.lazyLoadedList.indexOf(e)<0})),a&&0<t.length&&a(t),r.setState(d,(function(){i&&i.innerSlider.slideHandler(e),h&&(r.animationEndCallback=setTimeout((function(){var e=h.animating,t=be(h,["animating"]);r.setState(t,(function(){r.callbackTimers.push(setTimeout((function(){return r.setState({animating:e})}),10)),l&&l(d.currentSlide),delete r.animationEndCallback}))}),c))})))})),Te(Oe(r),"changeSlide",(function(e){var t=1<arguments.length&&void 0!==arguments[1]&&arguments[1],n=function(e,t){var n,r,o,i,s=e.slidesToScroll,a=e.slidesToShow,c=e.slideCount,l=e.currentSlide,u=e.lazyLoad,p=e.infinite,d=c%s!=0?0:(c-l)%s;if("previous"===t.message)o=l-(r=0==d?s:a-d),u&&!p&&(o=-1==(n=l-r)?c-1:n);else if("next"===t.message)o=l+(r=0==d?s:d),u&&!p&&(o=(l+s)%c+d);else if("dots"===t.message){if((o=t.index*t.slidesToScroll)===t.currentSlide)return null}else if("children"===t.message){if((o=t.index)===t.currentSlide)return null;p&&(i=z(f(f({},e),{},{targetSlide:o})),o>t.currentSlide&&"left"===i?o-=c:o<t.currentSlide&&"right"===i&&(o+=c))}else if("index"===t.message&&(o=Number(t.index))===t.currentSlide)return null;return o}(we(we({},r.props),r.state),e);0!==n&&!n||(!0===t?r.slideHandler(n,t):r.slideHandler(n))})),Te(Oe(r),"clickHandler",(function(e){!1===r.clickable&&(e.stopPropagation(),e.preventDefault()),r.clickable=!0})),Te(Oe(r),"keyHandler",(function(e){var t,n,o,i=(t=e,n=r.props.accessibility,o=r.props.rtl,t.target.tagName.match("TEXTAREA|INPUT|SELECT")||!n?"":37===t.keyCode?o?"next":"previous":39===t.keyCode?o?"previous":"next":"");i&&r.changeSlide({message:i})})),Te(Oe(r),"selectHandler",(function(e){r.changeSlide(e)})),Te(Oe(r),"disableBodyScroll",(function(){window.ontouchmove=function(e){(e=e||window.event).preventDefault&&e.preventDefault(),e.returnValue=!1}})),Te(Oe(r),"enableBodyScroll",(function(){window.ontouchmove=null})),Te(Oe(r),"swipeStart",(function(e){r.props.verticalSwiping&&r.disableBodyScroll();var t,n,o,i=(t=e,n=r.props.swipe,o=r.props.draggable,"IMG"===t.target.tagName&&t.preventDefault(),!n||!o&&-1!==t.type.indexOf("mouse")?"":{dragging:!0,touchObject:{startX:t.touches?t.touches[0].pageX:t.clientX,startY:t.touches?t.touches[0].pageY:t.clientY,curX:t.touches?t.touches[0].pageX:t.clientX,curY:t.touches?t.touches[0].pageY:t.clientY}});""!==i&&r.setState(i)})),Te(Oe(r),"swipeMove",(function(e){var t=function(e,t){var n=t.scrolling,r=t.animating,o=t.vertical,i=t.swipeToSlide,s=t.verticalSwiping,a=t.rtl,c=t.currentSlide,l=t.edgeFriction,u=t.edgeDragged,p=t.onEdge,d=t.swiped,h=t.swiping,y=t.slideCount,v=t.slidesToScroll,b=t.infinite,w=t.touchObject,S=t.swipeEvent,O=t.listHeight,k=t.listWidth;if(!n){if(r)return e.preventDefault();o&&i&&s&&e.preventDefault();var T,j={},_=C(t);w.curX=e.touches?e.touches[0].pageX:e.clientX,w.curY=e.touches?e.touches[0].pageY:e.clientY,w.swipeLength=Math.round(Math.sqrt(Math.pow(w.curX-w.startX,2)));var E=Math.round(Math.sqrt(Math.pow(w.curY-w.startY,2)));if(!s&&!h&&10<E)return{scrolling:!0};s&&(w.swipeLength=E);var x=(a?-1:1)*(w.curX>w.startX?1:-1);s&&(x=w.curY>w.startY?1:-1);var P=Math.ceil(y/v),M=g(t.touchObject,s),R=w.swipeLength;return b||(0===c&&"right"===M||P<=c+1&&"left"===M||!m(t)&&"left"===M)&&(R=w.swipeLength*l,!1===u&&p&&(p(M),j.edgeDragged=!0)),!d&&S&&(S(M),j.swiped=!0),T=s?_+R*x:o?_+R*(O/k)*x:a?_-R*x:_+R*x,j=f(f({},j),{},{touchObject:w,swipeLeft:T,trackStyle:L(f(f({},t),{},{left:T}))}),Math.abs(w.curX-w.startX)<.8*Math.abs(w.curY-w.startY)||10<w.swipeLength&&(j.swiping=!0,e.preventDefault()),j}}(e,we(we(we({},r.props),r.state),{},{trackRef:r.track,listRef:r.list,slideIndex:r.state.currentSlide}));t&&(t.swiping&&(r.clickable=!1),r.setState(t))})),Te(Oe(r),"swipeEnd",(function(e){var t,n=function(e,t){var n=t.dragging,r=t.swipe,o=t.touchObject,i=t.listWidth,s=t.touchThreshold,a=t.verticalSwiping,c=t.listHeight,l=t.currentSlide,u=t.swipeToSlide,p=t.scrolling,d=t.onSwipe;if(!n)return r&&e.preventDefault(),{};var h,y,v=a?c/s:i/s,b=g(o,a),m={dragging:!1,edgeDragged:!1,scrolling:!1,swiping:!1,swiped:!1,swipeLeft:null,touchObject:{}};if(p)return m;if(!o.swipeLength)return m;if(o.swipeLength>v){switch(e.preventDefault(),d&&d(b),b){case"left":case"up":y=l+P(t),h=u?x(t,y):y,m.currentDirection=0;break;case"right":case"down":y=l-P(t),h=u?x(t,y):y,m.currentDirection=1;break;default:h=l}m.triggerSlideHandler=h}else{var w=C(t);m.trackStyle=M(f(f({},t),{},{left:w}))}return m}(e,we(we(we({},r.props),r.state),{},{trackRef:r.track,listRef:r.list,slideIndex:r.state.currentSlide}));n&&(t=n.triggerSlideHandler,delete n.triggerSlideHandler,r.setState(n),void 0!==t&&(r.slideHandler(t),r.props.verticalSwiping&&r.enableBodyScroll()))})),Te(Oe(r),"slickPrev",(function(){r.callbackTimers.push(setTimeout((function(){return r.changeSlide({message:"previous"})}),0))})),Te(Oe(r),"slickNext",(function(){r.callbackTimers.push(setTimeout((function(){return r.changeSlide({message:"next"})}),0))})),Te(Oe(r),"slickGoTo",(function(e){var t=1<arguments.length&&void 0!==arguments[1]&&arguments[1];if(e=Number(e),isNaN(e))return"";r.callbackTimers.push(setTimeout((function(){return r.changeSlide({message:"index",index:e,currentSlide:r.state.currentSlide},t)}),0))})),Te(Oe(r),"play",(function(){var e;if(r.props.rtl)e=r.state.currentSlide-r.props.slidesToScroll;else{if(!m(we(we({},r.props),r.state)))return!1;e=r.state.currentSlide+r.props.slidesToScroll}r.slideHandler(e)})),Te(Oe(r),"autoPlay",(function(e){r.autoplayTimer&&clearInterval(r.autoplayTimer);var t=r.state.autoplaying;if("update"===e){if("hovered"===t||"focused"===t||"paused"===t)return}else if("leave"===e){if("paused"===t||"focused"===t)return}else if("blur"===e&&("paused"===t||"hovered"===t))return;r.autoplayTimer=setInterval(r.play,r.props.autoplaySpeed+50),r.setState({autoplaying:"playing"})})),Te(Oe(r),"pause",(function(e){r.autoplayTimer&&(clearInterval(r.autoplayTimer),r.autoplayTimer=null);var t=r.state.autoplaying;"paused"===e?r.setState({autoplaying:"paused"}):"focused"===e?"hovered"!==t&&"playing"!==t||r.setState({autoplaying:"focused"}):"playing"===t&&r.setState({autoplaying:"hovered"})})),Te(Oe(r),"onDotsOver",(function(){return r.props.autoplay&&r.pause("hovered")})),Te(Oe(r),"onDotsLeave",(function(){return r.props.autoplay&&"hovered"===r.state.autoplaying&&r.autoPlay("leave")})),Te(Oe(r),"onTrackOver",(function(){return r.props.autoplay&&r.pause("hovered")})),Te(Oe(r),"onTrackLeave",(function(){return r.props.autoplay&&"hovered"===r.state.autoplaying&&r.autoPlay("leave")})),Te(Oe(r),"onSlideFocus",(function(){return r.props.autoplay&&r.pause("focused")})),Te(Oe(r),"onSlideBlur",(function(){return r.props.autoplay&&"focused"===r.state.autoplaying&&r.autoPlay("blur")})),Te(Oe(r),"render",(function(){var e,t,n,i,s,a=p()("slick-slider",r.props.className,{"slick-vertical":r.props.vertical,"slick-initialized":!0}),c=we(we({},r.props),r.state),l=w(c,["fade","cssEase","speed","infinite","centerMode","focusOnSelect","currentSlide","lazyLoad","lazyLoadedList","rtl","slideWidth","slideHeight","listHeight","vertical","slidesToShow","slidesToScroll","slideCount","trackStyle","variableWidth","unslick","centerPadding"]),u=r.props.pauseOnHover;l=we(we({},l),{},{onMouseEnter:u?r.onTrackOver:null,onMouseLeave:u?r.onTrackLeave:null,onMouseOver:u?r.onTrackOver:null,focusOnSelect:r.props.focusOnSelect?r.selectHandler:null});!0===r.props.dots&&r.state.slideCount>=r.props.slidesToShow&&(t=w(c,["dotsClass","slideCount","slidesToShow","currentSlide","slidesToScroll","clickHandler","children","customPaging","infinite","appendDots"]),e=r.props.pauseOnDotsHover,t=we(we({},t),{},{clickHandler:r.changeSlide,onMouseEnter:e?r.onDotsLeave:null,onMouseOver:e?r.onDotsOver:null,onMouseLeave:e?r.onDotsLeave:null}),n=o.a.createElement(te,t));var d=w(c,["infinite","centerMode","currentSlide","slideCount","slidesToShow","prevArrow","nextArrow"]);d.clickHandler=r.changeSlide,r.props.arrows&&(i=o.a.createElement(fe,d),s=o.a.createElement(he,d));var f=null;r.props.vertical&&(f={height:r.state.listHeight});var h=null;!1===r.props.vertical?!0===r.props.centerMode&&(h={padding:"0px "+r.props.centerPadding}):!0===r.props.centerMode&&(h={padding:r.props.centerPadding+" 0px"});var y=we(we({},f),h),v=r.props.touchMove,b={className:"slick-list",style:y,onClick:r.clickHandler,onMouseDown:v?r.swipeStart:null,onMouseMove:r.state.dragging&&v?r.swipeMove:null,onMouseUp:v?r.swipeEnd:null,onMouseLeave:r.state.dragging&&v?r.swipeEnd:null,onTouchStart:v?r.swipeStart:null,onTouchMove:r.state.dragging&&v?r.swipeMove:null,onTouchEnd:v?r.swipeEnd:null,onTouchCancel:r.state.dragging&&v?r.swipeEnd:null,onKeyDown:r.props.accessibility?r.keyHandler:null},g={className:a,dir:"ltr",style:r.props.style};return r.props.unslick&&(b={className:"slick-list"},g={className:a}),o.a.createElement("div",g,r.props.unslick?"":i,o.a.createElement("div",ve({ref:r.listRefHandler},b),o.a.createElement(V,ve({ref:r.trackRefHandler},l),r.props.children)),r.props.unslick?"":s,r.props.unslick?"":n)})),r.list=null,r.track=null,r.state=we(we({},a),{},{currentSlide:r.props.initialSlide,slideCount:o.a.Children.count(r.props.children)}),r.callbackTimers=[],r.clickable=!0,r.debouncedResize=null,r}return t}(),_e=n(3),Ee=n.n(_e),xe={accessibility:!0,adaptiveHeight:!1,afterChange:null,appendDots:function(e){return o.a.createElement("ul",{style:{display:"block"}},e)},arrows:!0,autoplay:!1,autoplaySpeed:3e3,beforeChange:null,centerMode:!1,centerPadding:"50px",className:"",cssEase:"ease",customPaging:function(e){return o.a.createElement("button",null,e+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,infinite:!0,initialSlide:0,lazyLoad:null,nextArrow:null,onEdge:null,onInit:null,onLazyLoadError:null,onReInit:null,pauseOnDotsHover:!1,pauseOnFocus:!1,pauseOnHover:!0,prevArrow:null,responsive:null,rows:1,rtl:!1,slide:"div",slidesPerRow:1,slidesToScroll:1,slidesToShow:1,speed:500,swipe:!0,swipeEvent:null,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,waitForAnimate:!0};function Pe(e){return(Pe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Le(){return(Le=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Me(e,t){var n,r=Object.keys(e);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(e),t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)),r}function Ce(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Me(Object(n),!0).forEach((function(t){He(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Me(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Re(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function De(e,t){return(De=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ze(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function We(e){return(We=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function He(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ne=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&De(e,t)}(r,o.a.Component);var e,t,n=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r,o,i=We(e);return r=this,!(o=t?(n=We(this).constructor,Reflect.construct(i,arguments,n)):i.apply(this,arguments))||"object"!==Pe(o)&&"function"!=typeof o?ze(r):o}}(r);function r(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r),He(ze(t=n.call(this,e)),"innerSliderRefHandler",(function(e){return t.innerSlider=e})),He(ze(t),"slickPrev",(function(){return t.innerSlider.slickPrev()})),He(ze(t),"slickNext",(function(){return t.innerSlider.slickNext()})),He(ze(t),"slickGoTo",(function(e){var n=1<arguments.length&&void 0!==arguments[1]&&arguments[1];return t.innerSlider.slickGoTo(e,n)})),He(ze(t),"slickPause",(function(){return t.innerSlider.pause("paused")})),He(ze(t),"slickPlay",(function(){return t.innerSlider.autoPlay("play")})),t.state={breakpoint:null},t._responsiveMediaHandlers=[],t}return e=r,(t=[{key:"media",value:function(e,t){function n(e){e.matches&&t()}var r=window.matchMedia(e);r.addListener(n),n(r),this._responsiveMediaHandlers.push({mql:r,query:e,listener:n})}},{key:"UNSAFE_componentWillMount",value:function(){var e,t,n=this;this.props.responsive&&((e=this.props.responsive.map((function(e){return e.breakpoint}))).sort((function(e,t){return e-t})),e.forEach((function(t,r){var o=0===r?Ee()({minWidth:0,maxWidth:t}):Ee()({minWidth:e[r-1]+1,maxWidth:t});k()&&n.media(o,(function(){n.setState({breakpoint:t})}))})),t=Ee()({minWidth:e.slice(-1)[0]}),k()&&this.media(t,(function(){n.setState({breakpoint:null})})))}},{key:"componentWillUnmount",value:function(){this._responsiveMediaHandlers.forEach((function(e){e.mql.removeListener(e.listener)}))}},{key:"render",value:function(){var e,t=this,n=this.state.breakpoint?"unslick"===(e=this.props.responsive.filter((function(e){return e.breakpoint===t.state.breakpoint})))[0].settings?"unslick":Ce(Ce(Ce({},xe),this.props),e[0].settings):Ce(Ce({},xe),this.props);n.centerMode&&(n.slidesToScroll,n.slidesToScroll=1),n.fade&&(n.slidesToShow,n.slidesToScroll,n.slidesToShow=1,n.slidesToScroll=1);var r=(r=o.a.Children.toArray(this.props.children)).filter((function(e){return"string"==typeof e?!!e.trim():!!e}));n.variableWidth&&(1<n.rows||1<n.slidesPerRow)&&(console.warn("variableWidth is not supported in case of rows > 1 or slidesPerRow > 1"),n.variableWidth=!1);for(var i=[],s=null,a=0;a<r.length;a+=n.rows*n.slidesPerRow){for(var c=[],l=a;l<a+n.rows*n.slidesPerRow;l+=n.slidesPerRow){for(var u=[],p=l;p<l+n.slidesPerRow&&(n.variableWidth&&r[p].props.style&&(s=r[p].props.style.width),!(p>=r.length));p+=1)u.push(o.a.cloneElement(r[p],{key:100*a+10*l+p,tabIndex:-1,style:{width:"".concat(100/n.slidesPerRow,"%"),display:"inline-block"}}));c.push(o.a.createElement("div",{key:10*a+l},u))}n.variableWidth?i.push(o.a.createElement("div",{key:a,style:{width:s}},c)):i.push(o.a.createElement("div",{key:a},c))}if("unslick"!==n)return i.length<=n.slidesToShow&&(n.unslick=!0),o.a.createElement(je,Le({style:this.props.style,ref:this.innerSliderRefHandler},n),i);var d="regular slider "+(this.props.className||"");return o.a.createElement("div",{className:d},r)}}])&&Re(e.prototype,t),r}();t.default=Ne}],n.c=o,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=19);function n(e){if(o[e])return o[e].exports;var t=o[e]={i:e,l:!1,exports:{}};return r[e].call(t.exports,t,t.exports,n),t.l=!0,t.exports}var r,o}));
*/!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var i=typeof r;if("string"==i||"number"==i)e.push(r);else if(Array.isArray(r)&&r.length){var s=o.apply(null,r);s&&e.push(s)}else if("object"==i)for(var a in r)n.call(r,a)&&r[a]&&e.push(a)}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(r=function(){return o}.apply(t,[]))||(e.exports=r)}()},function(e,n){e.exports=t},function(e,t,n){function r(e){var t="",n=Object.keys(e);return n.forEach((function(r,i){var s=e[r];r=o(r),/[height|width]$/.test(r)&&"number"==typeof s&&(s+="px"),t+=!0===s?r:!1===s?"not "+r:"("+r+": "+s+")",i<n.length-1&&(t+=" and ")})),t}var o=n(18);e.exports=function(e){var t="";return"string"==typeof e?e:e instanceof Array?(e.forEach((function(n,o){t+=r(n),o<e.length-1&&(t+=", ")})),t):r(e)}},function(e,t){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},function(e,t,n){var r=n(11),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},function(e,t){var n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){var r=n(5).Symbol;e.exports=r},function(e,t,n){var r=n(4),o=n(10),i=n(12),s=Math.max,a=Math.min;e.exports=function(e,t,n){var c,l,u,p,d,f,h=0,y=!1,v=!1,b=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function g(t){var n=c,r=l;return c=l=void 0,h=t,p=e.apply(r,n)}function m(e){var n=e-f;return void 0===f||t<=n||n<0||v&&u<=e-h}function w(){var e,n,r=o();if(m(r))return S(r);d=setTimeout(w,(n=t-((e=r)-f),v?a(n,u-(e-h)):n))}function S(e){return d=void 0,b&&c?g(e):(c=l=void 0,p)}function O(){var e,n=o(),r=m(n);if(c=arguments,l=this,f=n,r){if(void 0===d)return h=e=f,d=setTimeout(w,t),y?g(e):p;if(v)return clearTimeout(d),d=setTimeout(w,t),g(f)}return void 0===d&&(d=setTimeout(w,t)),p}return t=i(t)||0,r(n)&&(y=!!n.leading,u=(v="maxWait"in n)?s(i(n.maxWait)||0,t):u,b="trailing"in n?!!n.trailing:b),O.cancel=function(){void 0!==d&&clearTimeout(d),c=f=l=d=void(h=0)},O.flush=function(){return void 0===d?p:S(o())},O}},function(e,t,n){"use strict";(function(e){var n=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var n=-1;return e.some((function(e,r){return e[0]===t&&(n=r,!0)})),n}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),r=this.__entries__[n];return r&&r[1]},t.prototype.set=function(t,n){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,r=e(n,t);~r&&n.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,r=this.__entries__;n<r.length;n++){var o=r[n];e.call(t,o[1],o[0])}},t;function t(){this.__entries__=[]}}(),r="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,o=void 0!==e&&e.Math===Math?e:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),i="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(o):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)},s=["top","right","bottom","left","width","height","size","weight"],a="undefined"!=typeof MutationObserver,c=(l.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},l.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},l.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},l.prototype.updateObservers_=function(){var e=this.observers_.filter((function(e){return e.gatherActive(),e.hasActive()}));return e.forEach((function(e){return e.broadcastActive()})),0<e.length},l.prototype.connect_=function(){r&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),a?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},l.prototype.disconnect_=function(){r&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},l.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t;s.some((function(e){return!!~n.indexOf(e)}))&&this.refresh()},l.getInstance=function(){return this.instance_||(this.instance_=new l),this.instance_},l.instance_=null,l);function l(){function e(){s&&(s=!1,r()),a&&n()}function t(){i(e)}function n(){var e=Date.now();if(s){if(e-c<2)return;a=!0}else a=!(s=!0),setTimeout(t,o);c=e}var r,o,s,a,c;this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=(r=this.refresh.bind(this),a=s=!(o=20),c=0,n)}var u=function(e,t){for(var n=0,r=Object.keys(t);n<r.length;n++){var o=r[n];Object.defineProperty(e,o,{value:t[o],enumerable:!1,writable:!1,configurable:!0})}return e},p=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||o},d=b(0,0,0,0);function f(e){return parseFloat(e)||0}function h(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce((function(t,n){return t+f(e["border-"+n+"-width"])}),0)}var y="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof p(e).SVGGraphicsElement}:function(e){return e instanceof p(e).SVGElement&&"function"==typeof e.getBBox};function v(e){return r?y(e)?b(0,0,(t=e.getBBox()).width,t.height):function(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return d;var r,o,i,s=p(e).getComputedStyle(e),a=function(e){for(var t={},n=0,r=["top","right","bottom","left"];n<r.length;n++){var o=r[n],i=e["padding-"+o];t[o]=f(i)}return t}(s),c=a.left+a.right,l=a.top+a.bottom,u=f(s.width),y=f(s.height);return"border-box"===s.boxSizing&&(Math.round(u+c)!==t&&(u-=h(s,"left","right")+c),Math.round(y+l)!==n&&(y-=h(s,"top","bottom")+l)),(i=e)!==p(i).document.documentElement&&(r=Math.round(u+c)-t,o=Math.round(y+l)-n,1!==Math.abs(r)&&(u-=r),1!==Math.abs(o)&&(y-=o)),b(a.left,a.top,u,y)}(e):d;var t}function b(e,t,n,r){return{x:e,y:t,width:n,height:r}}var g=(m.prototype.isActive=function(){var e=v(this.target);return(this.contentRect_=e).width!==this.broadcastWidth||e.height!==this.broadcastHeight},m.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},m);function m(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=b(0,0,0,0),this.target=e}var w=function(e,t){var n,r,o,i,s,a,c,l=(r=(n=t).x,o=n.y,i=n.width,s=n.height,a="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,c=Object.create(a.prototype),u(c,{x:r,y:o,width:i,height:s,top:o,right:r+i,bottom:s+o,left:r}),c);u(this,{target:e,contentRect:l})},S=(O.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof p(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new g(e)),this.controller_.addObserver(this),this.controller_.refresh())}},O.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof p(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},O.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},O.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach((function(t){t.isActive()&&e.activeObservations_.push(t)}))},O.prototype.broadcastActive=function(){var e,t;this.hasActive()&&(e=this.callbackCtx_,t=this.activeObservations_.map((function(e){return new w(e.target,e.broadcastRect())})),this.callback_.call(e,t,e),this.clearActive())},O.prototype.clearActive=function(){this.activeObservations_.splice(0)},O.prototype.hasActive=function(){return 0<this.activeObservations_.length},O);function O(e,t,r){if(this.activeObservations_=[],this.observations_=new n,"function"!=typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=r}var k=new("undefined"!=typeof WeakMap?WeakMap:n),T=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=c.getInstance(),r=new S(t,n,this);k.set(this,r)};["observe","unobserve","disconnect"].forEach((function(e){T.prototype[e]=function(){var t;return(t=k.get(this))[e].apply(t,arguments)}}));var j=void 0!==o.ResizeObserver?o.ResizeObserver:T;t.a=j}).call(this,n(6))},function(e,t,n){var r=n(5);e.exports=function(){return r.Date.now()}},function(e,t,n){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(this,n(6))},function(e,t,n){var r=n(4),o=n(13),i=/^\s+|\s+$/g,s=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,c=/^0o[0-7]+$/i,l=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(o(e))return NaN;var t;if(r(e)&&(t="function"==typeof e.valueOf?e.valueOf():e,e=r(t)?t+"":t),"string"!=typeof e)return 0===e?e:+e;e=e.replace(i,"");var n=a.test(e);return n||c.test(e)?l(e.slice(2),n?2:8):s.test(e)?NaN:+e}},function(e,t,n){var r=n(14),o=n(17);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==r(e)}},function(e,t,n){var r=n(7),o=n(15),i=n(16),s=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":(s&&s in Object(e)?o:i)(e)}},function(e,t,n){var r=n(7),o=Object.prototype,i=o.hasOwnProperty,s=o.toString,a=r?r.toStringTag:void 0;e.exports=function(e){var t=i.call(e,a),n=e[a];try{var r=!(e[a]=void 0)}catch(e){}var o=s.call(e);return r&&(t?e[a]=n:delete e[a]),o}},function(e,t){var n=Object.prototype.toString;e.exports=function(e){return n.call(e)}},function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e}},function(e,t){e.exports=function(e){return e.replace(/[A-Z]/g,(function(e){return"-"+e.toLowerCase()})).toLowerCase()}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r),i=n(2),s=n.n(i),a={animating:!1,autoplaying:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,dragging:!1,edgeDragged:!1,initialized:!1,lazyLoadedList:[],listHeight:null,listWidth:null,scrolling:!1,slideCount:null,slideHeight:null,slideWidth:null,swipeLeft:null,swiped:!1,swiping:!1,touchObject:{startX:0,startY:0,curX:0,curY:0},trackStyle:{},trackWidth:0},c=n(8),l=n.n(c),u=n(1),p=n.n(u);function d(e,t){var n,r=Object.keys(e);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(e),t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)),r}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){h(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y(e){for(var t=[],n=T(e),r=j(e),o=n;o<r;o++)e.lazyLoadedList.indexOf(o)<0&&t.push(o);return t}function v(e){return e&&e.offsetWidth||0}function b(e){return e&&e.offsetHeight||0}function g(e,t){var n=1<arguments.length&&void 0!==t&&t,r=e.startX-e.curX,o=e.startY-e.curY,i=Math.atan2(o,r),s=Math.round(180*i/Math.PI);return s<0&&(s=360-Math.abs(s)),s<=45&&0<=s||s<=360&&315<=s?"left":135<=s&&s<=225?"right":!0===n?35<=s&&s<=135?"up":"down":"vertical"}function m(e){var t=!0;return e.infinite||(e.centerMode&&e.currentSlide>=e.slideCount-1||e.slideCount<=e.slidesToShow||e.currentSlide>=e.slideCount-e.slidesToShow)&&(t=!1),t}function w(e,t){var n={};return t.forEach((function(t){return n[t]=e[t]})),n}function S(e,t){return t.reduce((function(t,n){return t&&e.hasOwnProperty(n)}),!0)?null:console.error("Keys Missing:",e)}function O(e){return e.unslick||!e.infinite?0:e.slideCount}function k(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}var T=function(e){return e.currentSlide-_(e)},j=function(e){return e.currentSlide+E(e)},_=function(e){return e.centerMode?Math.floor(e.slidesToShow/2)+(0<parseInt(e.centerPadding)?1:0):0},E=function(e){return e.centerMode?Math.floor((e.slidesToShow-1)/2)+1+(0<parseInt(e.centerPadding)?1:0):e.slidesToShow},x=function(e,t){var n=function(e){for(var t=e.infinite?2*e.slideCount:e.slideCount,n=e.infinite?-1*e.slidesToShow:0,r=e.infinite?-1*e.slidesToShow:0,o=[];n<t;)o.push(n),n=r+e.slidesToScroll,r+=Math.min(e.slidesToScroll,e.slidesToShow);return o}(e),r=0;if(t>n[n.length-1])t=n[n.length-1];else for(var o in n){if(t<n[o]){t=r;break}r=n[o]}return t},P=function(e){var t=e.centerMode?e.slideWidth*Math.floor(e.slidesToShow/2):0;if(e.swipeToSlide){var n,r=s.a.findDOMNode(e.listRef).querySelectorAll(".slick-slide");if(Array.from(r).every((function(r){if(e.vertical){if(r.offsetTop+b(r)/2>-1*e.swipeLeft)return n=r,!1}else if(r.offsetLeft-t+v(r)/2>-1*e.swipeLeft)return n=r,!1;return!0})),!n)return 0;var o=!0===e.rtl?e.slideCount-e.currentSlide:e.currentSlide;return Math.abs(n.dataset.index-o)||1}return e.slidesToScroll},L=function(e){var t,n;S(e,["left","variableWidth","slideCount","slidesToShow","slideWidth"]);var r=e.slideCount+2*e.slidesToShow;e.vertical?n=r*e.slideHeight:t=D(e)*e.slideWidth;var o,i,s,a={opacity:1,transition:"",WebkitTransition:""};return e.useTransform?(o=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",i=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",s=e.vertical?"translateY("+e.left+"px)":"translateX("+e.left+"px)",a=f(f({},a),{},{WebkitTransform:o,transform:i,msTransform:s})):e.vertical?a.top=e.left:a.left=e.left,e.fade&&(a={opacity:1}),t&&(a.width=t),n&&(a.height=n),window&&!window.addEventListener&&window.attachEvent&&(e.vertical?a.marginTop=e.left+"px":a.marginLeft=e.left+"px"),a},M=function(e){S(e,["left","variableWidth","slideCount","slidesToShow","slideWidth","speed","cssEase"]);var t=L(e);return e.useTransform?(t.WebkitTransition="-webkit-transform "+e.speed+"ms "+e.cssEase,t.transition="transform "+e.speed+"ms "+e.cssEase):e.vertical?t.transition="top "+e.speed+"ms "+e.cssEase:t.transition="left "+e.speed+"ms "+e.cssEase,t},C=function(e){if(e.unslick)return 0;S(e,["slideIndex","trackRef","infinite","centerMode","slideCount","slidesToShow","slidesToScroll","slideWidth","listWidth","variableWidth","slideHeight"]);var t=e.slideIndex,n=e.trackRef,r=e.infinite,o=e.centerMode,i=e.slideCount,a=e.slidesToShow,c=e.slidesToScroll,l=e.slideWidth,u=e.listWidth,p=e.variableWidth,d=e.slideHeight,f=e.fade,h=e.vertical;if(f||1===e.slideCount)return 0;var y=0;if(r?(y=-R(e),i%c!=0&&i<t+c&&(y=-(i<t?a-(t-i):i%c)),o&&(y+=parseInt(a/2))):(i%c!=0&&i<t+c&&(y=a-i%c),o&&(y=parseInt(a/2))),m=h?t*d*-1+y*d:t*l*-1+y*l,!0===p){var v,b=s.a.findDOMNode(n),g=t+R(e),m=(v=b&&b.childNodes[g])?-1*v.offsetLeft:0;if(!0===o){g=r?t+R(e):t,v=b&&b.children[g];for(var w=m=0;w<g;w++)m-=b&&b.children[w]&&b.children[w].offsetWidth;m-=parseInt(e.centerPadding),m+=v&&(u-v.offsetWidth)/2}}return m},R=function(e){return e.unslick||!e.infinite?0:e.variableWidth?e.slideCount:e.slidesToShow+(e.centerMode?1:0)},D=function(e){return 1===e.slideCount?1:R(e)+e.slideCount+O(e)},z=function(e){return e.targetSlide>e.currentSlide?e.targetSlide>e.currentSlide+W(e)?"left":"right":e.targetSlide<e.currentSlide-H(e)?"right":"left"},W=function(e){var t=e.slidesToShow,n=e.centerMode,r=e.rtl,o=e.centerPadding;if(n){var i=(t-1)/2+1;return 0<parseInt(o)&&(i+=1),r&&t%2==0&&(i+=1),i}return r?0:t-1},H=function(e){var t=e.slidesToShow,n=e.centerMode,r=e.rtl,o=e.centerPadding;if(n){var i=(t-1)/2+1;return 0<parseInt(o)&&(i+=1),r||t%2!=0||(i+=1),i}return r?t-1:0};function N(e){return(N="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function A(){return(A=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function I(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function X(e,t){return(X=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Y(e){return(Y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function q(e,t){var n,r=Object.keys(e);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(e),t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)),r}function F(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?q(Object(n),!0).forEach((function(t){B(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):q(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function B(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function G(e){var t,n,r,o=e.rtl?e.slideCount-1-e.index:e.index,i=o<0||o>=e.slideCount;return e.centerMode?(r=Math.floor(e.slidesToShow/2),n=(o-e.currentSlide)%e.slideCount==0,o>e.currentSlide-r-1&&o<=e.currentSlide+r&&(t=!0)):t=e.currentSlide<=o&&o<e.currentSlide+e.slidesToShow,{"slick-slide":!0,"slick-active":t,"slick-center":n,"slick-cloned":i,"slick-current":o===e.currentSlide}}function U(e,t){return e.key+"-"+t}var V=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&X(e,t)}(r,o.a.PureComponent);var e,t,n=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r,o,i=Y(e);return r=this,!(o=t?(n=Y(this).constructor,Reflect.construct(i,arguments,n)):i.apply(this,arguments))||"object"!==N(o)&&"function"!=typeof o?function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(r):o}}(r);function r(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r),n.apply(this,arguments)}return e=r,(t=[{key:"render",value:function(){var e=function(e){var t,n=[],r=[],i=[],s=o.a.Children.count(e.children),a=T(e),c=j(e);return o.a.Children.forEach(e.children,(function(l,u){var d,f,h,y={message:"children",index:u,slidesToScroll:e.slidesToScroll,currentSlide:e.currentSlide},v=!e.lazyLoad||e.lazyLoad&&0<=e.lazyLoadedList.indexOf(u)?l:o.a.createElement("div",null),b=(f={},void 0!==(d=F(F({},e),{},{index:u})).variableWidth&&!1!==d.variableWidth||(f.width=d.slideWidth),d.fade&&(f.position="relative",d.vertical?f.top=-d.index*parseInt(d.slideHeight):f.left=-d.index*parseInt(d.slideWidth),f.opacity=d.currentSlide===d.index?1:0,f.transition="opacity "+d.speed+"ms "+d.cssEase+", visibility "+d.speed+"ms "+d.cssEase),f),g=v.props.className||"",m=G(F(F({},e),{},{index:u}));n.push(o.a.cloneElement(v,{key:"original"+U(v,u),"data-index":u,className:p()(m,g),tabIndex:"-1","aria-hidden":!m["slick-active"],style:F(F({outline:"none"},v.props.style||{}),b),onClick:function(t){v.props&&v.props.onClick&&v.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(y)}})),e.infinite&&!1===e.fade&&((h=s-u)<=R(e)&&s!==e.slidesToShow&&(a<=(t=-h)&&(v=l),m=G(F(F({},e),{},{index:t})),r.push(o.a.cloneElement(v,{key:"precloned"+U(v,t),"data-index":t,tabIndex:"-1",className:p()(m,g),"aria-hidden":!m["slick-active"],style:F(F({},v.props.style||{}),b),onClick:function(t){v.props&&v.props.onClick&&v.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(y)}}))),s!==e.slidesToShow&&((t=s+u)<c&&(v=l),m=G(F(F({},e),{},{index:t})),i.push(o.a.cloneElement(v,{key:"postcloned"+U(v,t),"data-index":t,tabIndex:"-1",className:p()(m,g),"aria-hidden":!m["slick-active"],style:F(F({},v.props.style||{}),b),onClick:function(t){v.props&&v.props.onClick&&v.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(y)}}))))})),e.rtl?r.concat(n,i).reverse():r.concat(n,i)}(this.props),t=this.props,n={onMouseEnter:t.onMouseEnter,onMouseOver:t.onMouseOver,onMouseLeave:t.onMouseLeave};return o.a.createElement("div",A({className:"slick-track",style:this.props.trackStyle},n),e)}}])&&I(e.prototype,t),r}();function $(e){return($="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function K(e,t){var n,r=Object.keys(e);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(e),t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)),r}function Z(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function J(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Q(e,t){return(Q=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ee(e){return(ee=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var te=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Q(e,t)}(r,o.a.PureComponent);var e,t,n=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r,o,i=ee(e);return r=this,!(o=t?(n=ee(this).constructor,Reflect.construct(i,arguments,n)):i.apply(this,arguments))||"object"!==$(o)&&"function"!=typeof o?function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(r):o}}(r);function r(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r),n.apply(this,arguments)}return e=r,(t=[{key:"clickHandler",value:function(e,t){t.preventDefault(),this.props.clickHandler(e)}},{key:"render",value:function(){var e,t=this,n=(e={slideCount:this.props.slideCount,slidesToScroll:this.props.slidesToScroll,slidesToShow:this.props.slidesToShow,infinite:this.props.infinite}).infinite?Math.ceil(e.slideCount/e.slidesToScroll):Math.ceil((e.slideCount-e.slidesToShow)/e.slidesToScroll)+1,r=this.props,i={onMouseEnter:r.onMouseEnter,onMouseOver:r.onMouseOver,onMouseLeave:r.onMouseLeave},s=Array.apply(null,Array(n+1).join("0").split("")).map((function(e,n){var r=n*t.props.slidesToScroll,i=n*t.props.slidesToScroll+(t.props.slidesToScroll-1),s=p()({"slick-active":t.props.currentSlide>=r&&t.props.currentSlide<=i}),a={message:"dots",index:n,slidesToScroll:t.props.slidesToScroll,currentSlide:t.props.currentSlide},c=t.clickHandler.bind(t,a);return o.a.createElement("li",{key:n,className:s},o.a.cloneElement(t.props.customPaging(n),{onClick:c}))}));return o.a.cloneElement(this.props.appendDots(s),function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?K(Object(n),!0).forEach((function(t){Z(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):K(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({className:this.props.dotsClass},i))}}])&&J(e.prototype,t),r}();function ne(e){return(ne="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function re(){return(re=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function oe(e,t){var n,r=Object.keys(e);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(e),t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)),r}function ie(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?oe(Object(n),!0).forEach((function(t){se(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):oe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function se(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ce(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function le(e,t,n){return t&&ce(e.prototype,t),n&&ce(e,n),e}function ue(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&function(e,t){(Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}(e,t)}function pe(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r,o,i=de(e);return r=this,!(o=t?(n=de(this).constructor,Reflect.construct(i,arguments,n)):i.apply(this,arguments))||"object"!==ne(o)&&"function"!=typeof o?function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(r):o}}function de(e){return(de=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var fe=function(){ue(t,o.a.PureComponent);var e=pe(t);function t(){return ae(this,t),e.apply(this,arguments)}return le(t,[{key:"clickHandler",value:function(e,t){t&&t.preventDefault(),this.props.clickHandler(e,t)}},{key:"render",value:function(){var e={"slick-arrow":!0,"slick-prev":!0},t=this.clickHandler.bind(this,{message:"previous"});!this.props.infinite&&(0===this.props.currentSlide||this.props.slideCount<=this.props.slidesToShow)&&(e["slick-disabled"]=!0,t=null);var n={key:"0","data-role":"none",className:p()(e),style:{display:"block"},onClick:t},r={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount};return this.props.prevArrow?o.a.cloneElement(this.props.prevArrow,ie(ie({},n),r)):o.a.createElement("button",re({key:"0",type:"button"},n)," ","Previous")}}]),t}(),he=function(){ue(t,o.a.PureComponent);var e=pe(t);function t(){return ae(this,t),e.apply(this,arguments)}return le(t,[{key:"clickHandler",value:function(e,t){t&&t.preventDefault(),this.props.clickHandler(e,t)}},{key:"render",value:function(){var e={"slick-arrow":!0,"slick-next":!0},t=this.clickHandler.bind(this,{message:"next"});m(this.props)||(e["slick-disabled"]=!0,t=null);var n={key:"1","data-role":"none",className:p()(e),style:{display:"block"},onClick:t},r={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount};return this.props.nextArrow?o.a.cloneElement(this.props.nextArrow,ie(ie({},n),r)):o.a.createElement("button",re({key:"1",type:"button"},n)," ","Next")}}]),t}(),ye=n(9);function ve(){return(ve=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function be(e,t){if(null==e)return{};var n,r=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],0<=t.indexOf(n)||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols)for(var o=Object.getOwnPropertySymbols(e),i=0;i<o.length;i++)n=o[i],0<=t.indexOf(n)||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n]);return r}function ge(e){return(ge="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function me(e,t){var n,r=Object.keys(e);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(e),t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)),r}function we(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?me(Object(n),!0).forEach((function(t){Te(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):me(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Se(e,t){return(Se=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Oe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ke(e){return(ke=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Te(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var je=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Se(e,t)}(t,o.a.Component);var e=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r,o,i=ke(e);return r=this,!(o=t?(n=ke(this).constructor,Reflect.construct(i,arguments,n)):i.apply(this,arguments))||"object"!==ge(o)&&"function"!=typeof o?Oe(r):o}}(t);function t(n){var r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Te(Oe(r=e.call(this,n)),"listRefHandler",(function(e){return r.list=e})),Te(Oe(r),"trackRefHandler",(function(e){return r.track=e})),Te(Oe(r),"adaptHeight",(function(){var e;r.props.adaptiveHeight&&r.list&&(e=r.list.querySelector('[data-index="'.concat(r.state.currentSlide,'"]')),r.list.style.height=b(e)+"px")})),Te(Oe(r),"UNSAFE_componentWillMount",(function(){var e;r.ssrInit(),r.props.onInit&&r.props.onInit(),!r.props.lazyLoad||0<(e=y(we(we({},r.props),r.state))).length&&(r.setState((function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}})),r.props.onLazyLoad&&r.props.onLazyLoad(e))})),Te(Oe(r),"componentDidMount",(function(){var e=we({listRef:r.list,trackRef:r.track},r.props);r.updateState(e,!0,(function(){r.adaptHeight(),r.props.autoplay&&r.autoPlay("update")})),"progressive"===r.props.lazyLoad&&(r.lazyLoadTimer=setInterval(r.progressiveLazyLoad,1e3)),r.ro=new ye.a((function(){r.state.animating?(r.onWindowResized(!1),r.callbackTimers.push(setTimeout((function(){return r.onWindowResized()}),r.props.speed))):r.onWindowResized()})),r.ro.observe(r.list),Array.prototype.forEach.call(document.querySelectorAll(".slick-slide"),(function(e){e.onfocus=r.props.pauseOnFocus?r.onSlideFocus:null,e.onblur=r.props.pauseOnFocus?r.onSlideBlur:null})),window.addEventListener?window.addEventListener("resize",r.onWindowResized):window.attachEvent("onresize",r.onWindowResized)})),Te(Oe(r),"componentWillUnmount",(function(){r.animationEndCallback&&clearTimeout(r.animationEndCallback),r.lazyLoadTimer&&clearInterval(r.lazyLoadTimer),r.callbackTimers.length&&(r.callbackTimers.forEach((function(e){return clearTimeout(e)})),r.callbackTimers=[]),window.addEventListener?window.removeEventListener("resize",r.onWindowResized):window.detachEvent("onresize",r.onWindowResized),r.autoplayTimer&&clearInterval(r.autoplayTimer),r.ro.disconnect()})),Te(Oe(r),"UNSAFE_componentWillReceiveProps",(function(e){for(var t=r.props,n=t.autoplay,i=t.autoplaySpeed,s=we(we({listRef:r.list,trackRef:r.track},e),r.state),a=!1,c=0,l=Object.keys(r.props);c<l.length;c++){var u=l[c];if(!e.hasOwnProperty(u)){a=!0;break}if("object"!==ge(e[u])&&"function"!=typeof e[u]&&e[u]!==r.props[u]){a=!0;break}}r.updateState(s,a,(function(){r.state.currentSlide>=o.a.Children.count(e.children)&&r.changeSlide({message:"index",index:o.a.Children.count(e.children)-e.slidesToShow,currentSlide:r.state.currentSlide}),n===e.autoplay&&i===e.autoplaySpeed||(e.autoplay?r.autoPlay("update"):r.pause("paused"))}))})),Te(Oe(r),"componentDidUpdate",(function(){var e;r.checkImagesLoad(),r.props.onReInit&&r.props.onReInit(),!r.props.lazyLoad||0<(e=y(we(we({},r.props),r.state))).length&&(r.setState((function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}})),r.props.onLazyLoad&&r.props.onLazyLoad(e)),r.adaptHeight()})),Te(Oe(r),"onWindowResized",(function(e){r.debouncedResize&&r.debouncedResize.cancel(),r.debouncedResize=l()((function(){return r.resizeWindow(e)}),50),r.debouncedResize()})),Te(Oe(r),"resizeWindow",(function(){var e,t=!(0<arguments.length&&void 0!==arguments[0])||arguments[0];s.a.findDOMNode(r.track)&&(e=we(we({listRef:r.list,trackRef:r.track},r.props),r.state),r.updateState(e,t,(function(){r.props.autoplay?r.autoPlay("update"):r.pause("paused")})),r.setState({animating:!1}),clearTimeout(r.animationEndCallback),delete r.animationEndCallback)})),Te(Oe(r),"updateState",(function(e,t,n){var i=function(e){var t,n=o.a.Children.count(e.children),r=Math.ceil(v(s.a.findDOMNode(e.listRef))),i=Math.ceil(v(s.a.findDOMNode(e.trackRef))),a=e.vertical?r:(t=e.centerMode&&2*parseInt(e.centerPadding),"string"==typeof e.centerPadding&&"%"===e.centerPadding.slice(-1)&&(t*=r/100),Math.ceil((r-t)/e.slidesToShow)),c=s.a.findDOMNode(e.listRef)&&b(s.a.findDOMNode(e.listRef).querySelector('[data-index="0"]')),l=c*e.slidesToShow,u=void 0===e.currentSlide?e.initialSlide:e.currentSlide;e.rtl&&void 0===e.currentSlide&&(u=n-1-e.initialSlide);var p=e.lazyLoadedList||[],d=y(f(f({},e),{},{currentSlide:u,lazyLoadedList:p}));p.concat(d);var h={slideCount:n,slideWidth:a,listWidth:r,trackWidth:i,currentSlide:u,slideHeight:c,listHeight:l,lazyLoadedList:p};return null===e.autoplaying&&e.autoplay&&(h.autoplaying="playing"),h}(e);e=we(we(we({},e),i),{},{slideIndex:i.currentSlide});var a=C(e);e=we(we({},e),{},{left:a});var c=L(e);!t&&o.a.Children.count(r.props.children)===o.a.Children.count(e.children)||(i.trackStyle=c),r.setState(i,n)})),Te(Oe(r),"ssrInit",(function(){if(r.props.variableWidth){var e=0,t=0,n=[],i=R(we(we(we({},r.props),r.state),{},{slideCount:r.props.children.length})),s=O(we(we(we({},r.props),r.state),{},{slideCount:r.props.children.length}));r.props.children.forEach((function(t){n.push(t.props.style.width),e+=t.props.style.width}));for(var a=0;a<i;a++)t+=n[n.length-1-a],e+=n[n.length-1-a];for(var c=0;c<s;c++)e+=n[c];for(var l=0;l<r.state.currentSlide;l++)t+=n[l];var u,p={width:e+"px",left:-t+"px"};return r.props.centerMode&&(u="".concat(n[r.state.currentSlide],"px"),p.left="calc(".concat(p.left," + (100% - ").concat(u,") / 2 ) ")),void r.setState({trackStyle:p})}var d=o.a.Children.count(r.props.children),f=we(we(we({},r.props),r.state),{},{slideCount:d}),h=R(f)+O(f)+d,y=100/r.props.slidesToShow*h,v=100/h,b=-v*(R(f)+r.state.currentSlide)*y/100;r.props.centerMode&&(b+=(100-v*y/100)/2);var g={width:y+"%",left:b+"%"};r.setState({slideWidth:v+"%",trackStyle:g})})),Te(Oe(r),"checkImagesLoad",(function(){var e=r.list.querySelectorAll(".slick-slide img"),t=e.length,n=0;Array.prototype.forEach.call(e,(function(e){function o(){return++n&&t<=n&&r.onWindowResized()}var i;e.onclick?(i=e.onclick,e.onclick=function(){i(),e.parentNode.focus()}):e.onclick=function(){return e.parentNode.focus()},e.onload||(r.props.lazyLoad?e.onload=function(){r.adaptHeight(),r.callbackTimers.push(setTimeout(r.onWindowResized,r.props.speed))}:(e.onload=o,e.onerror=function(){o(),r.props.onLazyLoadError&&r.props.onLazyLoadError()}))}))})),Te(Oe(r),"progressiveLazyLoad",(function(){for(var e=[],t=we(we({},r.props),r.state),n=r.state.currentSlide;n<r.state.slideCount+O(t);n++)if(r.state.lazyLoadedList.indexOf(n)<0){e.push(n);break}for(var o=r.state.currentSlide-1;o>=-R(t);o--)if(r.state.lazyLoadedList.indexOf(o)<0){e.push(o);break}0<e.length?(r.setState((function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}})),r.props.onLazyLoad&&r.props.onLazyLoad(e)):r.lazyLoadTimer&&(clearInterval(r.lazyLoadTimer),delete r.lazyLoadTimer)})),Te(Oe(r),"slideHandler",(function(e){var t,n=1<arguments.length&&void 0!==arguments[1]&&arguments[1],o=r.props,i=o.asNavFor,s=o.beforeChange,a=o.onLazyLoad,c=o.speed,l=o.afterChange,u=r.state.currentSlide,p=function(e){var t=e.waitForAnimate,n=e.animating,r=e.fade,o=e.infinite,i=e.index,s=e.slideCount,a=e.lazyLoadedList,c=e.lazyLoad,l=e.currentSlide,u=e.centerMode,p=e.slidesToScroll,d=e.slidesToShow,h=e.useCSS;if(t&&n)return{};var v,b,g,w=i,S={},O={};if(r){if(!o&&(i<0||s<=i))return{};i<0?w=i+s:s<=i&&(w=i-s),c&&a.indexOf(w)<0&&a.push(w),O={animating:!(S={animating:!0,currentSlide:w,lazyLoadedList:a})}}else(v=w)<0?(v=w+s,o?s%p!=0&&(v=s-s%p):v=0):!m(e)&&l<w?w=v=l:u&&s<=w?(w=o?s:s-1,v=o?0:s-1):s<=w&&(v=w-s,o?s%p!=0&&(v=0):v=s-d),b=C(f(f({},e),{},{slideIndex:w})),g=C(f(f({},e),{},{slideIndex:v})),o||(b===g&&(w=v),b=g),c&&a.concat(y(f(f({},e),{},{currentSlide:w}))),h?O={animating:!(S={animating:!0,currentSlide:v,trackStyle:M(f(f({},e),{},{left:b})),lazyLoadedList:a}),currentSlide:v,trackStyle:L(f(f({},e),{},{left:g})),swipeLeft:null}:S={currentSlide:v,trackStyle:L(f(f({},e),{},{left:g})),lazyLoadedList:a};return{state:S,nextState:O}}(we(we(we({index:e},r.props),r.state),{},{trackRef:r.track,useCSS:r.props.useCSS&&!n})),d=p.state,h=p.nextState;d&&(s&&s(u,d.currentSlide),t=d.lazyLoadedList.filter((function(e){return r.state.lazyLoadedList.indexOf(e)<0})),a&&0<t.length&&a(t),r.setState(d,(function(){i&&i.innerSlider.slideHandler(e),h&&(r.animationEndCallback=setTimeout((function(){var e=h.animating,t=be(h,["animating"]);r.setState(t,(function(){r.callbackTimers.push(setTimeout((function(){return r.setState({animating:e})}),10)),l&&l(d.currentSlide),delete r.animationEndCallback}))}),c))})))})),Te(Oe(r),"changeSlide",(function(e){var t=1<arguments.length&&void 0!==arguments[1]&&arguments[1],n=function(e,t){var n,r,o,i,s=e.slidesToScroll,a=e.slidesToShow,c=e.slideCount,l=e.currentSlide,u=e.lazyLoad,p=e.infinite,d=c%s!=0?0:(c-l)%s;if("previous"===t.message)o=l-(r=0==d?s:a-d),u&&!p&&(o=-1==(n=l-r)?c-1:n);else if("next"===t.message)o=l+(r=0==d?s:d),u&&!p&&(o=(l+s)%c+d);else if("dots"===t.message){if((o=t.index*t.slidesToScroll)===t.currentSlide)return null}else if("children"===t.message){if((o=t.index)===t.currentSlide)return null;p&&(i=z(f(f({},e),{},{targetSlide:o})),o>t.currentSlide&&"left"===i?o-=c:o<t.currentSlide&&"right"===i&&(o+=c))}else if("index"===t.message&&(o=Number(t.index))===t.currentSlide)return null;return o}(we(we({},r.props),r.state),e);0!==n&&!n||(!0===t?r.slideHandler(n,t):r.slideHandler(n))})),Te(Oe(r),"clickHandler",(function(e){!1===r.clickable&&(e.stopPropagation(),e.preventDefault()),r.clickable=!0})),Te(Oe(r),"keyHandler",(function(e){var t,n,o,i=(t=e,n=r.props.accessibility,o=r.props.rtl,t.target.tagName.match("TEXTAREA|INPUT|SELECT")||!n?"":37===t.keyCode?o?"next":"previous":39===t.keyCode?o?"previous":"next":"");i&&r.changeSlide({message:i})})),Te(Oe(r),"selectHandler",(function(e){r.changeSlide(e)})),Te(Oe(r),"disableBodyScroll",(function(){window.ontouchmove=function(e){(e=e||window.event).preventDefault&&e.preventDefault(),e.returnValue=!1}})),Te(Oe(r),"enableBodyScroll",(function(){window.ontouchmove=null})),Te(Oe(r),"swipeStart",(function(e){r.props.verticalSwiping&&r.disableBodyScroll();var t,n,o,i=(t=e,n=r.props.swipe,o=r.props.draggable,"IMG"===t.target.tagName&&t.preventDefault(),!n||!o&&-1!==t.type.indexOf("mouse")?"":{dragging:!0,touchObject:{startX:t.touches?t.touches[0].pageX:t.clientX,startY:t.touches?t.touches[0].pageY:t.clientY,curX:t.touches?t.touches[0].pageX:t.clientX,curY:t.touches?t.touches[0].pageY:t.clientY}});""!==i&&r.setState(i)})),Te(Oe(r),"swipeMove",(function(e){var t=function(e,t){var n=t.scrolling,r=t.animating,o=t.vertical,i=t.swipeToSlide,s=t.verticalSwiping,a=t.rtl,c=t.currentSlide,l=t.edgeFriction,u=t.edgeDragged,p=t.onEdge,d=t.swiped,h=t.swiping,y=t.slideCount,v=t.slidesToScroll,b=t.infinite,w=t.touchObject,S=t.swipeEvent,O=t.listHeight,k=t.listWidth;if(!n){if(r)return e.preventDefault();o&&i&&s&&e.preventDefault();var T,j={},_=C(t);w.curX=e.touches?e.touches[0].pageX:e.clientX,w.curY=e.touches?e.touches[0].pageY:e.clientY,w.swipeLength=Math.round(Math.sqrt(Math.pow(w.curX-w.startX,2)));var E=Math.round(Math.sqrt(Math.pow(w.curY-w.startY,2)));if(!s&&!h&&10<E)return{scrolling:!0};s&&(w.swipeLength=E);var x=(a?-1:1)*(w.curX>w.startX?1:-1);s&&(x=w.curY>w.startY?1:-1);var P=Math.ceil(y/v),M=g(t.touchObject,s),R=w.swipeLength;return b||(0===c&&"right"===M||P<=c+1&&"left"===M||!m(t)&&"left"===M)&&(R=w.swipeLength*l,!1===u&&p&&(p(M),j.edgeDragged=!0)),!d&&S&&(S(M),j.swiped=!0),T=s?_+R*x:o?_+R*(O/k)*x:a?_-R*x:_+R*x,j=f(f({},j),{},{touchObject:w,swipeLeft:T,trackStyle:L(f(f({},t),{},{left:T}))}),Math.abs(w.curX-w.startX)<.8*Math.abs(w.curY-w.startY)||10<w.swipeLength&&(j.swiping=!0,e.preventDefault()),j}}(e,we(we(we({},r.props),r.state),{},{trackRef:r.track,listRef:r.list,slideIndex:r.state.currentSlide}));t&&(t.swiping&&(r.clickable=!1),r.setState(t))})),Te(Oe(r),"swipeEnd",(function(e){var t,n=function(e,t){var n=t.dragging,r=t.swipe,o=t.touchObject,i=t.listWidth,s=t.touchThreshold,a=t.verticalSwiping,c=t.listHeight,l=t.currentSlide,u=t.swipeToSlide,p=t.scrolling,d=t.onSwipe;if(!n)return r&&e.preventDefault(),{};var h,y,v=a?c/s:i/s,b=g(o,a),m={dragging:!1,edgeDragged:!1,scrolling:!1,swiping:!1,swiped:!1,swipeLeft:null,touchObject:{}};if(p)return m;if(!o.swipeLength)return m;if(o.swipeLength>v){switch(e.preventDefault(),d&&d(b),b){case"left":case"up":y=l+P(t),h=u?x(t,y):y,m.currentDirection=0;break;case"right":case"down":y=l-P(t),h=u?x(t,y):y,m.currentDirection=1;break;default:h=l}m.triggerSlideHandler=h}else{var w=C(t);m.trackStyle=M(f(f({},t),{},{left:w}))}return m}(e,we(we(we({},r.props),r.state),{},{trackRef:r.track,listRef:r.list,slideIndex:r.state.currentSlide}));n&&(t=n.triggerSlideHandler,delete n.triggerSlideHandler,r.setState(n),void 0!==t&&(r.slideHandler(t),r.props.verticalSwiping&&r.enableBodyScroll()))})),Te(Oe(r),"slickPrev",(function(){r.callbackTimers.push(setTimeout((function(){return r.changeSlide({message:"previous"})}),0))})),Te(Oe(r),"slickNext",(function(){r.callbackTimers.push(setTimeout((function(){return r.changeSlide({message:"next"})}),0))})),Te(Oe(r),"slickGoTo",(function(e){var t=1<arguments.length&&void 0!==arguments[1]&&arguments[1];if(e=Number(e),isNaN(e))return"";r.callbackTimers.push(setTimeout((function(){return r.changeSlide({message:"index",index:e,currentSlide:r.state.currentSlide},t)}),0))})),Te(Oe(r),"play",(function(){var e;if(r.props.rtl)e=r.state.currentSlide-r.props.slidesToScroll;else{if(!m(we(we({},r.props),r.state)))return!1;e=r.state.currentSlide+r.props.slidesToScroll}r.slideHandler(e)})),Te(Oe(r),"autoPlay",(function(e){r.autoplayTimer&&clearInterval(r.autoplayTimer);var t=r.state.autoplaying;if("update"===e){if("hovered"===t||"focused"===t||"paused"===t)return}else if("leave"===e){if("paused"===t||"focused"===t)return}else if("blur"===e&&("paused"===t||"hovered"===t))return;r.autoplayTimer=setInterval(r.play,r.props.autoplaySpeed+50),r.setState({autoplaying:"playing"})})),Te(Oe(r),"pause",(function(e){r.autoplayTimer&&(clearInterval(r.autoplayTimer),r.autoplayTimer=null);var t=r.state.autoplaying;"paused"===e?r.setState({autoplaying:"paused"}):"focused"===e?"hovered"!==t&&"playing"!==t||r.setState({autoplaying:"focused"}):"playing"===t&&r.setState({autoplaying:"hovered"})})),Te(Oe(r),"onDotsOver",(function(){return r.props.autoplay&&r.pause("hovered")})),Te(Oe(r),"onDotsLeave",(function(){return r.props.autoplay&&"hovered"===r.state.autoplaying&&r.autoPlay("leave")})),Te(Oe(r),"onTrackOver",(function(){return r.props.autoplay&&r.pause("hovered")})),Te(Oe(r),"onTrackLeave",(function(){return r.props.autoplay&&"hovered"===r.state.autoplaying&&r.autoPlay("leave")})),Te(Oe(r),"onSlideFocus",(function(){return r.props.autoplay&&r.pause("focused")})),Te(Oe(r),"onSlideBlur",(function(){return r.props.autoplay&&"focused"===r.state.autoplaying&&r.autoPlay("blur")})),Te(Oe(r),"render",(function(){var e,t,n,i,s,a=p()("slick-slider",r.props.className,{"slick-vertical":r.props.vertical,"slick-initialized":!0}),c=we(we({},r.props),r.state),l=w(c,["fade","cssEase","speed","infinite","centerMode","focusOnSelect","currentSlide","lazyLoad","lazyLoadedList","rtl","slideWidth","slideHeight","listHeight","vertical","slidesToShow","slidesToScroll","slideCount","trackStyle","variableWidth","unslick","centerPadding"]),u=r.props.pauseOnHover;l=we(we({},l),{},{onMouseEnter:u?r.onTrackOver:null,onMouseLeave:u?r.onTrackLeave:null,onMouseOver:u?r.onTrackOver:null,focusOnSelect:r.props.focusOnSelect?r.selectHandler:null});!0===r.props.dots&&r.state.slideCount>=r.props.slidesToShow&&(t=w(c,["dotsClass","slideCount","slidesToShow","currentSlide","slidesToScroll","clickHandler","children","customPaging","infinite","appendDots"]),e=r.props.pauseOnDotsHover,t=we(we({},t),{},{clickHandler:r.changeSlide,onMouseEnter:e?r.onDotsLeave:null,onMouseOver:e?r.onDotsOver:null,onMouseLeave:e?r.onDotsLeave:null}),n=o.a.createElement(te,t));var d=w(c,["infinite","centerMode","currentSlide","slideCount","slidesToShow","prevArrow","nextArrow"]);d.clickHandler=r.changeSlide,r.props.arrows&&(i=o.a.createElement(fe,d),s=o.a.createElement(he,d));var f=null;r.props.vertical&&(f={height:r.state.listHeight});var h=null;!1===r.props.vertical?!0===r.props.centerMode&&(h={padding:"0px "+r.props.centerPadding}):!0===r.props.centerMode&&(h={padding:r.props.centerPadding+" 0px"});var y=we(we({},f),h),v=r.props.touchMove,b={className:"slick-list",style:y,onClick:r.clickHandler,onMouseDown:v?r.swipeStart:null,onMouseMove:r.state.dragging&&v?r.swipeMove:null,onMouseUp:v?r.swipeEnd:null,onMouseLeave:r.state.dragging&&v?r.swipeEnd:null,onTouchStart:v?r.swipeStart:null,onTouchMove:r.state.dragging&&v?r.swipeMove:null,onTouchEnd:v?r.swipeEnd:null,onTouchCancel:r.state.dragging&&v?r.swipeEnd:null,onKeyDown:r.props.accessibility?r.keyHandler:null},g={className:a,dir:"ltr",style:r.props.style};return r.props.unslick&&(b={className:"slick-list"},g={className:a}),o.a.createElement("div",g,r.props.unslick?"":i,o.a.createElement("div",ve({ref:r.listRefHandler},b),o.a.createElement(V,ve({ref:r.trackRefHandler},l),r.props.children)),r.props.unslick?"":s,r.props.unslick?"":n)})),r.list=null,r.track=null,r.state=we(we({},a),{},{currentSlide:r.props.initialSlide,slideCount:o.a.Children.count(r.props.children)}),r.callbackTimers=[],r.clickable=!0,r.debouncedResize=null,r}return t}(),_e=n(3),Ee=n.n(_e),xe={accessibility:!0,adaptiveHeight:!1,afterChange:null,appendDots:function(e){return o.a.createElement("ul",{style:{display:"block"}},e)},arrows:!0,autoplay:!1,autoplaySpeed:3e3,beforeChange:null,centerMode:!1,centerPadding:"50px",className:"",cssEase:"ease",customPaging:function(e){return o.a.createElement("button",null,e+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,infinite:!0,initialSlide:0,lazyLoad:null,nextArrow:null,onEdge:null,onInit:null,onLazyLoadError:null,onReInit:null,pauseOnDotsHover:!1,pauseOnFocus:!1,pauseOnHover:!0,prevArrow:null,responsive:null,rows:1,rtl:!1,slide:"div",slidesPerRow:1,slidesToScroll:1,slidesToShow:1,speed:500,swipe:!0,swipeEvent:null,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,waitForAnimate:!0};function Pe(e){return(Pe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Le(){return(Le=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Me(e,t){var n,r=Object.keys(e);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(e),t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)),r}function Ce(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Me(Object(n),!0).forEach((function(t){He(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Me(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Re(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function De(e,t){return(De=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ze(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function We(e){return(We=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function He(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ne=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&De(e,t)}(r,o.a.Component);var e,t,n=function(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r,o,i=We(e);return r=this,!(o=t?(n=We(this).constructor,Reflect.construct(i,arguments,n)):i.apply(this,arguments))||"object"!==Pe(o)&&"function"!=typeof o?ze(r):o}}(r);function r(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r),He(ze(t=n.call(this,e)),"innerSliderRefHandler",(function(e){return t.innerSlider=e})),He(ze(t),"slickPrev",(function(){return t.innerSlider.slickPrev()})),He(ze(t),"slickNext",(function(){return t.innerSlider.slickNext()})),He(ze(t),"slickGoTo",(function(e){var n=1<arguments.length&&void 0!==arguments[1]&&arguments[1];return t.innerSlider.slickGoTo(e,n)})),He(ze(t),"slickPause",(function(){return t.innerSlider.pause("paused")})),He(ze(t),"slickPlay",(function(){return t.innerSlider.autoPlay("play")})),t.state={breakpoint:null},t._responsiveMediaHandlers=[],t}return e=r,(t=[{key:"media",value:function(e,t){function n(e){e.matches&&t()}var r=window.matchMedia(e);r.addListener(n),n(r),this._responsiveMediaHandlers.push({mql:r,query:e,listener:n})}},{key:"UNSAFE_componentWillMount",value:function(){var e,t,n=this;this.props.responsive&&((e=this.props.responsive.map((function(e){return e.breakpoint}))).sort((function(e,t){return e-t})),e.forEach((function(t,r){var o=0===r?Ee()({minWidth:0,maxWidth:t}):Ee()({minWidth:e[r-1]+1,maxWidth:t});k()&&n.media(o,(function(){n.setState({breakpoint:t})}))})),t=Ee()({minWidth:e.slice(-1)[0]}),k()&&this.media(t,(function(){n.setState({breakpoint:null})})))}},{key:"componentWillUnmount",value:function(){this._responsiveMediaHandlers.forEach((function(e){e.mql.removeListener(e.listener)}))}},{key:"render",value:function(){var e,t=this,n=this.state.breakpoint?"unslick"===(e=this.props.responsive.filter((function(e){return e.breakpoint===t.state.breakpoint})))[0].settings?"unslick":Ce(Ce(Ce({},xe),this.props),e[0].settings):Ce(Ce({},xe),this.props);n.centerMode&&(n.slidesToScroll,n.slidesToScroll=1),n.fade&&(n.slidesToShow,n.slidesToScroll,n.slidesToShow=1,n.slidesToScroll=1);var r=(r=o.a.Children.toArray(this.props.children)).filter((function(e){return"string"==typeof e?!!e.trim():!!e}));n.variableWidth&&(1<n.rows||1<n.slidesPerRow)&&(console.warn("variableWidth is not supported in case of rows > 1 or slidesPerRow > 1"),n.variableWidth=!1);for(var i=[],s=null,a=0;a<r.length;a+=n.rows*n.slidesPerRow){for(var c=[],l=a;l<a+n.rows*n.slidesPerRow;l+=n.slidesPerRow){for(var u=[],p=l;p<l+n.slidesPerRow&&(n.variableWidth&&r[p].props.style&&(s=r[p].props.style.width),!(p>=r.length));p+=1)u.push(o.a.cloneElement(r[p],{key:100*a+10*l+p,tabIndex:-1,style:{width:"".concat(100/n.slidesPerRow,"%"),display:"inline-block"}}));c.push(o.a.createElement("div",{key:10*a+l},u))}n.variableWidth?i.push(o.a.createElement("div",{key:a,style:{width:s}},c)):i.push(o.a.createElement("div",{key:a},c))}if("unslick"!==n)return i.length<=n.slidesToShow&&(n.unslick=!0),o.a.createElement(je,Le({style:this.props.style,ref:this.innerSliderRefHandler},n),i);var d="regular slider "+(this.props.className||"");return o.a.createElement("div",{className:d},r)}}])&&Re(e.prototype,t),r}();t.default=Ne}],n.c=o,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=19);function n(e){if(o[e])return o[e].exports;var t=o[e]={i:e,l:!1,exports:{}};return r[e].call(t.exports,t,t.exports,n),t.l=!0,t.exports}var r,o}));
//# sourceMappingURL=react-slick.min.js.map

@@ -184,2 +184,6 @@ "use strict";

_defineProperty(_assertThisInitialized(_this), "UNSAFE_componentWillReceiveProps", function (nextProps) {
var _this$props = _this.props,
autoplay = _this$props.autoplay,
autoplaySpeed = _this$props.autoplaySpeed;
var spec = _objectSpread(_objectSpread({

@@ -219,6 +223,8 @@ listRef: _this.list,

if (nextProps.autoplay) {
_this.autoPlay("update");
} else {
_this.pause("paused");
if (autoplay !== nextProps.autoplay || autoplaySpeed !== nextProps.autoplaySpeed) {
if (nextProps.autoplay) {
_this.autoPlay("update");
} else {
_this.pause("paused");
}
}

@@ -458,8 +464,8 @@ });

var dontAnimate = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
var _this$props = _this.props,
asNavFor = _this$props.asNavFor,
beforeChange = _this$props.beforeChange,
onLazyLoad = _this$props.onLazyLoad,
speed = _this$props.speed,
afterChange = _this$props.afterChange; // capture currentslide before state is updated
var _this$props2 = _this.props,
asNavFor = _this$props2.asNavFor,
beforeChange = _this$props2.beforeChange,
onLazyLoad = _this$props2.onLazyLoad,
speed = _this$props2.speed,
afterChange = _this$props2.afterChange; // capture currentslide before state is updated

@@ -466,0 +472,0 @@ var currentSlide = _this.state.currentSlide;

@@ -180,6 +180,6 @@ "use strict";

var lazyLoadedList = spec.lazyLoadedList || [];
var slidesToLoad = getOnDemandLazySlides({
var slidesToLoad = getOnDemandLazySlides(_objectSpread(_objectSpread({}, spec), {}, {
currentSlide: currentSlide,
lazyLoadedList: lazyLoadedList
}, spec);
}));
lazyLoadedList.concat(slidesToLoad);

@@ -186,0 +186,0 @@ var state = {

{
"name": "@ant-design/react-slick",
"version": "0.26.1",
"version": "0.26.2",
"description": " React port of slick carousel",

@@ -50,3 +50,3 @@ "main": "./lib",

"babel-preset-airbnb": "^2.1.1",
"css-loader": "^2.1.1",
"css-loader": "^3.6.0",
"deepmerge": "^1.1.0",

@@ -53,0 +53,0 @@ "del": "^2.2.2",

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

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