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