@ant-design/react-slick
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -6,3 +6,3 @@ !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 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},e.exports.__esModule=!0,e.exports.default=e.exports},function(t,n){t.exports=e},function(e,t,n){var r=n(12);e.exports=function(e,t,n){return(t=r(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.__esModule=!0,e.exports.default=e.exports},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},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var r=n(12);function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,r(i.key),i)}}e.exports=function(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var r=n(16);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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&r(e,t)},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var r=n(17),i=n(18),o=n(19);e.exports=function(e){var t=i();return function(){var n,i=r(e);return n=t?(n=r(this).constructor,Reflect.construct(i,arguments,n)):i.apply(this,arguments),o(this,n)}},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var r; | ||
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,s=typeof r;if("string"==s||"number"==s)e.push(r);else if(Array.isArray(r))r.length&&(o=i.apply(null,r))&&e.push(o);else if("object"==s)if(r.toString===Object.prototype.toString||r.toString.toString().includes("[native code]"))for(var a in r)n.call(r,a)&&r[a]&&e.push(a);else e.push(r.toString())}}return e.join(" ")}e.exports?e.exports=i.default=i:void 0!==(r=function(){return i}.apply(t,[]))&&(e.exports=r)}()},function(e,t){function n(){return e.exports=n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n,r=arguments[t];for(n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,n.apply(this,arguments)}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){function n(t){return e.exports=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.exports.__esModule=!0,e.exports.default=e.exports,n(t)}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){function r(e){var t="",n=Object.keys(e);return n.forEach((function(r,s){var a=e[r];r=i(r),o(r)&&"number"==typeof a&&(a+="px"),t+=!0===a?r:!1===a?"not "+r:"("+r+": "+a+")",s<n.length-1&&(t+=" and ")})),t}var i=n(22),o=function(e){return/[height|width]$/.test(e)};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,n){var r=n(10).default,i=n(15);e.exports=function(e){return e=i(e,"string"),"symbol"===r(e)?e:String(e)},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var r=n(20);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},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){"use strict";(function(e){var n="undefined"!=typeof Map?Map:(Object.defineProperty(r.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),r.prototype.get=function(e){return e=i(this.__entries__,e),(e=this.__entries__[e])&&e[1]},r.prototype.set=function(e,t){var n=i(this.__entries__,e);~n?this.__entries__[n][1]=t:this.__entries__.push([e,t])},r.prototype.delete=function(e){var t=this.__entries__;~(e=i(t,e))&&t.splice(e,1)},r.prototype.has=function(e){return!!~i(this.__entries__,e)},r.prototype.clear=function(){this.__entries__.splice(0)},r.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])}},r);function r(){this.__entries__=[]}function i(e,t){var n=-1;return e.some((function(e,r){return e[0]===t&&(n=r,!0)})),n}var o="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,s=void 0!==e&&e.Math===Math?e:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),a="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(s):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)},l=["top","right","bottom","left","width","height","size","weight"],c="undefined"!=typeof MutationObserver,u=(d.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},d.prototype.removeObserver=function(e){var t=this.observers_;~(e=t.indexOf(e))&&t.splice(e,1),!t.length&&this.connected_&&this.disconnect_()},d.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},d.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},d.prototype.connect_=function(){o&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),c?(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)},d.prototype.disconnect_=function(){o&&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)},d.prototype.onTransitionEnd_=function(e){var t=void 0===(e=e.propertyName)?"":e;l.some((function(e){return!!~t.indexOf(e)}))&&this.refresh()},d.getInstance=function(){return this.instance_||(this.instance_=new d),this.instance_},d.instance_=null,d);function d(){function e(){o&&(o=!1,r()),s&&n()}function t(){a(e)}function n(){var e=Date.now();if(o){if(e-l<2)return;s=!0}else s=!(o=!0),setTimeout(t,i);l=e}var r,i,o,s,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),s=o=!(i=20),l=0,n)}var p=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},f=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||s},h=m(0,0,0,0);function v(e){return parseFloat(e)||0}function y(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce((function(t,n){return t+v(e["border-"+n+"-width"])}),0)}var g="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof f(e).SVGGraphicsElement}:function(e){return e instanceof f(e).SVGElement&&"function"==typeof e.getBBox};function S(e){var t;return o?g(e)?m(0,0,(t=(t=e).getBBox()).width,t.height):function(e){var t,n,r,i,o,s,a=e.clientWidth,l=e.clientHeight;return a||l?(n=(t=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]=v(o)}return t}(s=f(e).getComputedStyle(e))).left+t.right,r=t.top+t.bottom,i=v(s.width),o=v(s.height),"border-box"===s.boxSizing&&(Math.round(i+n)!==a&&(i-=y(s,"left","right")+n),Math.round(o+r)!==l)&&(o-=y(s,"top","bottom")+r),e!==f(e).document.documentElement&&(s=Math.round(i+n)-a,e=Math.round(o+r)-l,1!==Math.abs(s)&&(i-=s),1!==Math.abs(e))&&(o-=e),m(t.left,t.top,i,o)):h}(e):h}function m(e,t,n,r){return{x:e,y:t,width:n,height:r}}w.prototype.isActive=function(){var e=S(this.target);return(this.contentRect_=e).width!==this.broadcastWidth||e.height!==this.broadcastHeight},w.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e};var b=w;function w(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=m(0,0,0,0),this.target=e}var k=function(e,t){n=(t=t).x,r=t.y,o=t.width,t=t.height,i="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,i=Object.create(i.prototype),p(i,{x:n,y:r,width:o,height:t,top:r,right:n+o,bottom:t+r,left:n});var n,r,i,o=i;p(this,{target:e,contentRect:o})},x=(_.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 f(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new b(e)),this.controller_.addObserver(this),this.controller_.refresh())}},_.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 f(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))}},_.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},_.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach((function(t){t.isActive()&&e.activeObservations_.push(t)}))},_.prototype.broadcastActive=function(){var e,t;this.hasActive()&&(e=this.callbackCtx_,t=this.activeObservations_.map((function(e){return new k(e.target,e.broadcastRect())})),this.callback_.call(e,t,e),this.clearActive())},_.prototype.clearActive=function(){this.activeObservations_.splice(0)},_.prototype.hasActive=function(){return 0<this.activeObservations_.length},_);function _(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),O=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=u.getInstance();t=new x(t,n,this);T.set(this,t)};["observe","unobserve","disconnect"].forEach((function(e){O.prototype[e]=function(){var t;return(t=T.get(this))[e].apply(t,arguments)}})),e=void 0!==s.ResizeObserver?s.ResizeObserver:O;t.a=e}).call(this,n(21))},function(e,t,n){var r=n(10).default;e.exports=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0===n)return("string"===t?String:Number)(e);if(n=n.call(e,t||"default"),"object"!==r(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},e.exports.__esModule=!0,e.exports.default=e.exports,n(t,r)}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},e.exports.__esModule=!0,e.exports.default=e.exports,n(t)}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports},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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var r=n(10).default,i=n(3);e.exports=function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return i(e)},e.exports.__esModule=!0,e.exports.default=e.exports},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},e.exports.__esModule=!0,e.exports.default=e.exports},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){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(9),i=n.n(r),o=(r=n(0),n.n(r)),s=(r=n(4),n.n(r)),a=(r=n(5),n.n(r)),l=(r=n(3),n.n(r)),c=(r=n(6),n.n(r)),u=(r=n(7),n.n(r)),d=(r=n(2),n.n(r)),p=(r=n(1),n.n(r)),f=(r=n(10),n.n(r)),h=(r=n(13),n.n(r)),v={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,targetSlide:0};r=n(8);var y=n.n(r);function g(e,t,n){return Math.max(t,Math.min(e,n))}function S(e,t){var n={};return t.forEach((function(t){return n[t]=e[t]})),n}function m(e){return e.unslick||!e.infinite?0:e.slideCount}function b(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}function w(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.targetSlide<0?e.targetSlide+e.slideCount:e.targetSlide>=e.slideCount?e.targetSlide-e.slideCount:e.targetSlide)}}function k(e,t){return e.key+"-"+t}function x(e){var t,n=[],r=[],i=[],s=p.a.Children.count(e.children),a=O(e),l=M(e);return p.a.Children.forEach(e.children,(function(c,u){var d,f={message:"children",index:u,slidesToScroll:e.slidesToScroll,currentSlide:e.currentSlide},h=!e.lazyLoad||e.lazyLoad&&0<=e.lazyLoadedList.indexOf(u)?c:p.a.createElement("div",null),v=(g={},void 0!==(v=o()(o()({},e),{},{index:u})).variableWidth&&!1!==v.variableWidth||(g.width=v.slideWidth),v.fade&&(g.position="relative",v.vertical&&v.slideHeight?g.top=-v.index*parseInt(v.slideHeight):g.left=-v.index*parseInt(v.slideWidth),g.opacity=v.currentSlide===v.index?1:0,v.useCSS)&&(g.transition="opacity "+v.speed+"ms "+v.cssEase+", visibility "+v.speed+"ms "+v.cssEase),g),g=h.props.className||"",S=w(o()(o()({},e),{},{index:u}));n.push(p.a.cloneElement(h,{key:"original"+k(h,u),"data-index":u,className:y()(S,g),tabIndex:"-1","aria-hidden":!S["slick-active"],style:o()(o()({outline:"none"},h.props.style||{}),v),onClick:function(t){h.props&&h.props.onClick&&h.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(f)}})),e.infinite&&!1===e.fade&&((d=s-u)<=N(e)&&s!==e.slidesToShow&&(a<=(t=-d)&&(h=c),S=w(o()(o()({},e),{},{index:t})),r.push(p.a.cloneElement(h,{key:"precloned"+k(h,t),"data-index":t,tabIndex:"-1",className:y()(S,g),"aria-hidden":!S["slick-active"],style:o()(o()({},h.props.style||{}),v),onClick:function(t){h.props&&h.props.onClick&&h.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(f)}}))),s!==e.slidesToShow)&&((t=s+u)<l&&(h=c),S=w(o()(o()({},e),{},{index:t})),i.push(p.a.cloneElement(h,{key:"postcloned"+k(h,t),"data-index":t,tabIndex:"-1",className:y()(S,g),"aria-hidden":!S["slick-active"],style:o()(o()({},h.props.style||{}),v),onClick:function(t){h.props&&h.props.onClick&&h.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(f)}})))})),e.rtl?r.concat(n,i).reverse():r.concat(n,i)}var _=function(e){["onTouchStart","onTouchMove","onWheel"].includes(e._reactName)||e.preventDefault()},T=function(e){for(var t=[],n=O(e),r=M(e),i=n;i<r;i++)e.lazyLoadedList.indexOf(i)<0&&t.push(i);return t},O=function(e){return e.currentSlide-E(e)},M=function(e){return e.currentSlide+L(e)},E=function(e){return e.centerMode?Math.floor(e.slidesToShow/2)+(0<parseInt(e.centerPadding)?1:0):0},L=function(e){return e.centerMode?Math.floor((e.slidesToShow-1)/2)+1+(0<parseInt(e.centerPadding)?1:0):e.slidesToShow},C=function(e){return e&&e.offsetWidth||0},P=function(e){return e&&e.offsetHeight||0},z=function(e){var t=1<arguments.length&&void 0!==arguments[1]&&arguments[1],n=e.startX-e.curX;e=e.startY-e.curY,e=Math.atan2(e,n);return(n=(n=Math.round(180*e/Math.PI))<0?360-Math.abs(n):n)<=45&&0<=n||n<=360&&315<=n?"left":135<=n&&n<=225?"right":!0===t?35<=n&&n<=135?"up":"down":"vertical"},R=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},W=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},H=function(e){var t,n,r=e.centerMode?e.slideWidth*Math.floor(e.slidesToShow/2):0;return e.swipeToSlide?(n=(n=e.listRef).querySelectorAll&&n.querySelectorAll(".slick-slide")||[],Array.from(n).every((function(n){if(e.vertical){if(n.offsetTop+P(n)/2>-1*e.swipeLeft)return t=n,!1}else if(n.offsetLeft-r+C(n)/2>-1*e.swipeLeft)return t=n,!1;return!0})),t?(n=!0===e.rtl?e.slideCount-e.currentSlide:e.currentSlide,Math.abs(t.dataset.index-n)||1):0):e.slidesToScroll},j=function(e,t){return t.reduce((function(t,n){return t&&e.hasOwnProperty(n)}),!0)?null:console.error("Keys Missing:",e)},A=function(e){j(e,["left","variableWidth","slideCount","slidesToShow","slideWidth"]);var t,n,r,i,s,a=e.slideCount+2*e.slidesToShow;e.vertical?n=a*e.slideHeight:t=q(e)*e.slideWidth,a={opacity:1,transition:"",WebkitTransition:""};return e.useTransform?(r=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=o()(o()({},a),{},{WebkitTransform:r,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},D=function(e){j(e,["left","variableWidth","slideCount","slidesToShow","slideWidth","speed","cssEase"]);var t=A(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},I=function(e){if(e.unslick)return 0;j(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,o=e.slideCount,s=e.slidesToShow,a=e.slidesToScroll,l=e.slideWidth,c=e.listWidth,u=e.variableWidth,d=e.slideHeight,p=e.fade,f=e.vertical;if(p||1===e.slideCount)return 0;if(p=0,r?(p=-N(e),o%a!=0&&o<t+a&&(p=-(o<t?s-(t-o):o%a)),i&&(p+=parseInt(s/2))):(o%a!=0&&o<t+a&&(p=s-o%a),i&&(p=parseInt(s/2))),y=f?t*d*-1+p*d:t*l*-1+p*l,!0===u){var h=n&&n.node;if(v=t+N(e),y=(o=h&&h.childNodes[v])?-1*o.offsetLeft:0,!0===i){for(var v=r?t+N(e):t,y=(o=h&&h.children[v],0),g=0;g<v;g++)y-=h&&h.children[g]&&h.children[g].offsetWidth;y=(y-=parseInt(e.centerPadding))+(o&&(c-o.offsetWidth)/2)}}return y},N=function(e){return e.unslick||!e.infinite?0:e.variableWidth?e.slideCount:e.slidesToShow+(e.centerMode?1:0)},q=function(e){return 1===e.slideCount?1:N(e)+e.slideCount+m(e)},X=function(e){return e.targetSlide>e.currentSlide?e.targetSlide>e.currentSlide+function(e){var t=e.slidesToShow,n=e.centerMode,r=e.rtl;return e=e.centerPadding,n?(n=(t-1)/2+1,0<parseInt(e)&&(n+=1),r&&t%2==0&&(n+=1),n):r?0:t-1}(e)?"left":"right":e.targetSlide<e.currentSlide-function(e){var t=e.slidesToShow,n=e.centerMode,r=e.rtl;return e=e.centerPadding,n?(n=(t-1)/2+1,0<parseInt(e)&&(n+=1),r||t%2!=0||(n+=1),n):r?t-1:0}(e)?"right":"left"},Y=function(e){c()(n,e);var t=u()(n);function n(){var e;s()(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)),d()(l()(e),"node",null),d()(l()(e),"handleRef",(function(t){e.node=t})),e}return a()(n,[{key:"render",value:function(){var e=x(this.props),t={onMouseEnter:(t=this.props).onMouseEnter,onMouseOver:t.onMouseOver,onMouseLeave:t.onMouseLeave};return p.a.createElement("div",i()({ref:this.handleRef,className:"slick-track",style:this.props.trackStyle},t),e)}}]),n}(p.a.PureComponent),F=function(e){c()(n,e);var t=u()(n);function n(){return s()(this,n),t.apply(this,arguments)}return a()(n,[{key:"clickHandler",value:function(e,t){t.preventDefault(),this.props.clickHandler(e)}},{key:"render",value:function(){for(var e=(u=this.props).onMouseEnter,t=u.onMouseOver,n=u.onMouseLeave,r=u.infinite,i=u.slidesToScroll,s=u.slidesToShow,a=u.slideCount,l=u.currentSlide,c=function(e){return e=e.infinite?Math.ceil(e.slideCount/e.slidesToScroll):Math.ceil((e.slideCount-e.slidesToShow)/e.slidesToScroll)+1}({slideCount:a,slidesToScroll:i,slidesToShow:s,infinite:r}),u={onMouseEnter:e,onMouseOver:t,onMouseLeave:n},d=[],f=0;f<c;f++){var h=(f+1)*i-1,v=(h=r?h:g(h,0,a-1))-(i-1);v=r?v:g(v,0,a-1),h=y()({"slick-active":r?v<=l&&l<=h:l===v}),v=this.clickHandler.bind(this,{message:"dots",index:f,slidesToScroll:i,currentSlide:l}),d=d.concat(p.a.createElement("li",{key:f,className:h},p.a.cloneElement(this.props.customPaging(f),{onClick:v})))}return p.a.cloneElement(this.props.appendDots(d),o()({className:this.props.dotsClass},u))}}]),n}(p.a.PureComponent),B=function(e){c()(n,e);var t=u()(n);function n(){return s()(this,n),t.apply(this,arguments)}return a()(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),e={key:"0","data-role":"none",className:y()(e),style:{display:"block"},onClick:t},t={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount};return t=this.props.prevArrow?p.a.cloneElement(this.props.prevArrow,o()(o()({},e),t)):p.a.createElement("button",i()({key:"0",type:"button"},e)," ","Previous")}}]),n}(p.a.PureComponent),G=function(e){c()(n,e);var t=u()(n);function n(){return s()(this,n),t.apply(this,arguments)}return a()(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"});R(this.props)||(e["slick-disabled"]=!0,t=null),e={key:"1","data-role":"none",className:y()(e),style:{display:"block"},onClick:t},t={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount};return t=this.props.nextArrow?p.a.cloneElement(this.props.nextArrow,o()(o()({},e),t)):p.a.createElement("button",i()({key:"1",type:"button"},e)," ","Next")}}]),n}(p.a.PureComponent),U=n(14),V=["animating"],K=function(e){c()(n,e);var t=u()(n);function n(e){s()(this,n),r=t.call(this,e),d()(l()(r),"listRefHandler",(function(e){return r.list=e})),d()(l()(r),"trackRefHandler",(function(e){return r.track=e})),d()(l()(r),"adaptHeight",(function(){var e;r.props.adaptiveHeight&&r.list&&(e=r.list.querySelector('[data-index="'.concat(r.state.currentSlide,'"]')),r.list.style.height=P(e)+"px")})),d()(l()(r),"componentDidMount",(function(){r.props.onInit&&r.props.onInit(),r.props.lazyLoad&&0<(e=T(o()(o()({},r.props),r.state))).length&&(r.setState((function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}})),r.props.onLazyLoad)&&r.props.onLazyLoad(e);var e,t=o()({listRef:r.list,trackRef:r.track},r.props);r.updateState(t,!0,(function(){r.adaptHeight(),r.props.autoplay&&r.autoPlay("playing")})),"progressive"===r.props.lazyLoad&&(r.lazyLoadTimer=setInterval(r.progressiveLazyLoad,1e3)),r.ro=new U.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),document.querySelectorAll&&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)})),d()(l()(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()})),d()(l()(r),"componentDidUpdate",(function(e){r.checkImagesLoad(),r.props.onReInit&&r.props.onReInit(),r.props.lazyLoad&&0<(t=T(o()(o()({},r.props),r.state))).length&&(r.setState((function(e){return{lazyLoadedList:e.lazyLoadedList.concat(t)}})),r.props.onLazyLoad)&&r.props.onLazyLoad(t),r.adaptHeight();var t,n=o()(o()({listRef:r.list,trackRef:r.track},r.props),r.state),i=r.didPropsChange(e);i&&r.updateState(n,i,(function(){r.state.currentSlide>=p.a.Children.count(r.props.children)&&r.changeSlide({message:"index",index:p.a.Children.count(r.props.children)-r.props.slidesToShow,currentSlide:r.state.currentSlide}),e.autoplay===r.props.autoplay&&e.autoplaySpeed===r.props.autoplaySpeed||(!e.autoplay&&r.props.autoplay?r.autoPlay("playing"):r.props.autoplay?r.autoPlay("update"):r.pause("paused"))}))})),d()(l()(r),"onWindowResized",(function(e){var t;r.debouncedResize&&r.debouncedResize.cancel(),r.debouncedResize=(50,function(e,t,n){var r,i,o=void 0!==(i=(n=n||{}).noTrailing)&&i,s=void 0!==(i=n.noLeading)&&i,a=void 0===(i=n.debounceMode)?void 0:i,l=!1,c=0;function u(){r&&clearTimeout(r)}function d(){for(var n=arguments.length,i=new Array(n),d=0;d<n;d++)i[d]=arguments[d];var p=this,f=Date.now()-c;function h(){c=Date.now(),t.apply(p,i)}function v(){r=void 0}l||(s||!a||r||h(),u(),void 0===a&&e<f?s?(c=Date.now(),o||(r=setTimeout(a?v:h,e))):h():!0!==o&&(r=setTimeout(a?v:h,void 0===a?e-f:e)))}return d.cancel=function(e){e=void 0!==(e=(e||{}).upcomingOnly)&&e,u(),l=!e},d}(50,(function(){return r.resizeWindow(e)}),{debounceMode:!1!==(void 0!==(t=(t||{}).atBegin)&&t)})),r.debouncedResize()})),d()(l()(r),"resizeWindow",(function(){var e,t=!(0<arguments.length&&void 0!==arguments[0])||arguments[0];Boolean(r.track&&r.track.node)&&(e=o()(o()({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)})),d()(l()(r),"updateState",(function(e,t,n){i=e,s=p.a.Children.count(i.children),a=i.listRef,h=Math.ceil(C(a)),v=i.trackRef&&i.trackRef.node,v=Math.ceil(C(v)),f=i.vertical?h:(f=i.centerMode&&2*parseInt(i.centerPadding),"string"==typeof i.centerPadding&&"%"===i.centerPadding.slice(-1)&&(f*=h/100),Math.ceil((h-f)/i.slidesToShow)),l=(a=a&&P(a.querySelector('[data-index="0"]')))*i.slidesToShow,c=void 0===i.currentSlide?i.initialSlide:i.currentSlide,i.rtl&&void 0===i.currentSlide&&(c=s-1-i.initialSlide),u=i.lazyLoadedList||[],d=T(o()(o()({},i),{},{currentSlide:c,lazyLoadedList:u})),s={slideCount:s,slideWidth:f,listWidth:h,trackWidth:v,currentSlide:c,slideHeight:a,listHeight:l,lazyLoadedList:u=u.concat(d)},null===i.autoplaying&&i.autoplay&&(s.autoplaying="playing");var i,s,a,l,c,u,d,f=s,h=(e=o()(o()(o()({},e),f),{},{slideIndex:f.currentSlide}),I(e)),v=(e=o()(o()({},e),{},{left:h}),A(e));!t&&p.a.Children.count(r.props.children)===p.a.Children.count(e.children)||(f.trackStyle=v),r.setState(f,n)})),d()(l()(r),"ssrInit",(function(){if(r.props.variableWidth){var e=0,t=0,n=[],i=N(o()(o()(o()({},r.props),r.state),{},{slideCount:r.props.children.length})),s=m(o()(o()(o()({},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 l=0;l<s;l++)e+=n[l];for(var c=0;c<r.state.currentSlide;c++)t+=n[c];var u={width:e+"px",left:-t+"px"};return r.props.centerMode&&(d="".concat(n[r.state.currentSlide],"px"),u.left="calc(".concat(u.left," + (100% - ").concat(d,") / 2 ) ")),{trackStyle:u}}var d=p.a.Children.count(r.props.children),f=(u=o()(o()(o()({},r.props),r.state),{},{slideCount:d}),d=N(u)+m(u)+d,100/r.props.slidesToShow*d);u=-(d=100/d)*(N(u)+r.state.currentSlide)*f/100;return r.props.centerMode&&(u+=(100-d*f/100)/2),{slideWidth:d+"%",trackStyle:{width:f+"%",left:u+"%"}}})),d()(l()(r),"checkImagesLoad",(function(){var e=r.list&&r.list.querySelectorAll&&r.list.querySelectorAll(".slick-slide img")||[],t=e.length,n=0;Array.prototype.forEach.call(e,(function(e){function i(){return++n&&t<=n&&r.onWindowResized()}var o;e.onclick?(o=e.onclick,e.onclick=function(t){o(t),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=i,e.onerror=function(){i(),r.props.onLazyLoadError&&r.props.onLazyLoadError()}))}))})),d()(l()(r),"progressiveLazyLoad",(function(){for(var e=[],t=o()(o()({},r.props),r.state),n=r.state.currentSlide;n<r.state.slideCount+m(t);n++)if(r.state.lazyLoadedList.indexOf(n)<0){e.push(n);break}for(var i=r.state.currentSlide-1;i>=-N(t);i--)if(r.state.lazyLoadedList.indexOf(i)<0){e.push(i);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)})),d()(l()(r),"slideHandler",(function(e){var t=1<arguments.length&&void 0!==arguments[1]&&arguments[1],n=(c=r.props).asNavFor,i=c.beforeChange,s=c.onLazyLoad,a=c.speed,l=c.afterChange,c=r.state.currentSlide,u=(t=function(e){var t=e.waitForAnimate,n=e.animating,r=e.fade,i=e.infinite,s=e.index,a=e.slideCount,l=e.lazyLoad,c=e.currentSlide,u=e.centerMode,d=e.slidesToScroll,p=e.slidesToShow,f=e.useCSS,h=e.lazyLoadedList;if(t&&n)return{};t=s,n={};var v={},y=i?s:g(s,0,a-1);if(r){if(!i&&(s<0||a<=s))return{};s<0?t=s+a:a<=s&&(t=s-a),v={animating:!(n={animating:!0,currentSlide:t,lazyLoadedList:h=l&&h.indexOf(t)<0?h.concat(t):h,targetSlide:t}),targetSlide:t}}else(r=t)<0?(r=t+a,i?a%d!=0&&(r=a-a%d):r=0):!R(e)&&c<t?t=r=c:u&&a<=t?(t=i?a:a-1,r=i?0:a-1):a<=t&&(r=t-a,i?a%d!=0&&(r=0):r=a-p),!i&&a<=t+p&&(r=a-p),s=I(o()(o()({},e),{},{slideIndex:t})),c=I(o()(o()({},e),{},{slideIndex:r})),i||(s===c&&(t=r),s=c),l&&(h=h.concat(T(o()(o()({},e),{},{currentSlide:t})))),f?v={animating:!(n={animating:!0,currentSlide:r,trackStyle:D(o()(o()({},e),{},{left:s})),lazyLoadedList:h,targetSlide:y}),currentSlide:r,trackStyle:A(o()(o()({},e),{},{left:c})),swipeLeft:null,targetSlide:y}:n={currentSlide:r,trackStyle:A(o()(o()({},e),{},{left:c})),lazyLoadedList:h,targetSlide:y};return{state:n,nextState:v}}(o()(o()(o()({index:e},r.props),r.state),{},{trackRef:r.track,useCSS:r.props.useCSS&&!t}))).state,d=t.nextState;u&&(i&&i(c,u.currentSlide),t=u.lazyLoadedList.filter((function(e){return r.state.lazyLoadedList.indexOf(e)<0})),s&&0<t.length&&s(t),!r.props.waitForAnimate&&r.animationEndCallback&&(clearTimeout(r.animationEndCallback),l&&l(c),delete r.animationEndCallback),r.setState(u,(function(){n&&r.asNavForIndex!==e&&(r.asNavForIndex=e,n.innerSlider.slideHandler(e)),d&&(r.animationEndCallback=setTimeout((function(){var e=d.animating,t=h()(d,V);r.setState(t,(function(){r.callbackTimers.push(setTimeout((function(){return r.setState({animating:e})}),10)),l&&l(u.currentSlide),delete r.animationEndCallback}))}),a))})))})),d()(l()(r),"changeSlide",(function(e){var t,n,i,s,a,l,c,u,d,p=1<arguments.length&&void 0!==arguments[1]&&arguments[1],f=o()(o()({},r.props),r.state),h=(e=e,n=(f=f).slidesToScroll,i=f.slidesToShow,s=f.slideCount,a=f.currentSlide,l=f.targetSlide,d=f.lazyLoad,c=f.infinite,u=s%n!=0?0:(s-a)%n,"previous"===e.message?(t=a-(h=0==u?n:i-u),d&&!c&&(t=-1==(i=a-h)?s-1:i),c||(t=l-n)):"next"===e.message?(t=a+(h=0==u?n:u),d&&!c&&(t=(a+n)%s+u),c||(t=l+n)):"dots"===e.message?t=e.index*e.slidesToScroll:"children"===e.message?(t=e.index,c&&(i=X(o()(o()({},f),{},{targetSlide:t})),t>e.currentSlide&&"left"===i?t-=s:t<e.currentSlide&&"right"===i&&(t+=s))):"index"===e.message&&(t=Number(e.index)),t);(0===h||h)&&(!0===p?r.slideHandler(h,p):r.slideHandler(h),r.props.autoplay&&r.autoPlay("update"),r.props.focusOnSelect)&&(d=r.list.querySelectorAll(".slick-current"))[0]&&d[0].focus()})),d()(l()(r),"clickHandler",(function(e){!1===r.clickable&&(e.stopPropagation(),e.preventDefault()),r.clickable=!0})),d()(l()(r),"keyHandler",(function(e){e=e,n=r.props.accessibility,t=r.props.rtl;var t,n=e.target.tagName.match("TEXTAREA|INPUT|SELECT")||!n?"":37===e.keyCode?t?"next":"previous":39===e.keyCode?t?"previous":"next":"";n&&r.changeSlide({message:n})})),d()(l()(r),"selectHandler",(function(e){r.changeSlide(e)})),d()(l()(r),"disableBodyScroll",(function(){window.ontouchmove=function(e){(e=e||window.event).preventDefault&&e.preventDefault(),e.returnValue=!1}})),d()(l()(r),"enableBodyScroll",(function(){window.ontouchmove=null})),d()(l()(r),"swipeStart",(function(e){r.props.verticalSwiping&&r.disableBodyScroll(),e=e,n=r.props.swipe,t=r.props.draggable,"IMG"===e.target.tagName&&_(e);var t,n=!n||!t&&-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}};""!==n&&r.setState(n)})),d()(l()(r),"swipeMove",(function(e){(e=function(e,t){var n=t.scrolling,r=t.animating,i=t.vertical,s=t.swipeToSlide,a=t.verticalSwiping,l=t.rtl,c=t.currentSlide,u=t.edgeFriction,d=t.edgeDragged,p=t.onEdge,f=t.swiped,h=t.swiping,v=t.slideCount,y=t.slidesToScroll,g=t.infinite,S=t.touchObject,m=t.swipeEvent,b=t.listHeight,w=t.listWidth;if(!n)return r?_(e):(i&&s&&a&&_(e),n={},r=I(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))),s=Math.round(Math.sqrt(Math.pow(S.curY-S.startY,2))),!a&&!h&&10<s?{scrolling:!0}:(a&&(S.swipeLength=s),h=(l?-1:1)*(S.curX>S.startX?1:-1),a&&(h=S.curY>S.startY?1:-1),s=Math.ceil(v/y),v=z(t.touchObject,a),y=S.swipeLength,g||(0===c&&("right"===v||"down"===v)||s<=c+1&&("left"===v||"up"===v)||!R(t)&&("left"===v||"up"===v))&&(y=S.swipeLength*u,!1===d)&&p&&(p(v),n.edgeDragged=!0),!f&&m&&(m(v),n.swiped=!0),g=a?r+y*h:i?r+y*(b/w)*h:l?r-y*h:r+y*h,n=o()(o()({},n),{},{touchObject:S,swipeLeft:g,trackStyle:A(o()(o()({},t),{},{left:g}))}),Math.abs(S.curX-S.startX)<.8*Math.abs(S.curY-S.startY)||10<S.swipeLength&&(n.swiping=!0,_(e)),n))}(e,o()(o()(o()({},r.props),r.state),{},{trackRef:r.track,listRef:r.list,slideIndex:r.state.currentSlide})))&&(e.swiping&&(r.clickable=!1),r.setState(e))})),d()(l()(r),"swipeEnd",(function(e){var t;(e=function(e,t){var n=t.dragging,r=t.swipe,i=t.touchObject,s=t.listWidth,a=t.touchThreshold,l=t.verticalSwiping,c=t.listHeight,u=t.swipeToSlide,d=t.scrolling,p=t.onSwipe,f=t.targetSlide,h=t.currentSlide,v=t.infinite;if(!n)return r&&_(e),{};n=l?c/a:s/a,r=z(i,l);var y={dragging:!1,edgeDragged:!1,scrolling:!1,swiping:!1,swiped:!1,swipeLeft:null,touchObject:{}};if(!d&&i.swipeLength)if(i.swipeLength>n){_(e),p&&p(r);var g,S,m=v?h:f;switch(r){case"left":case"up":S=m+H(t),g=u?W(t,S):S,y.currentDirection=0;break;case"right":case"down":S=m-H(t),g=u?W(t,S):S,y.currentDirection=1;break;default:g=m}y.triggerSlideHandler=g}else c=I(t),y.trackStyle=D(o()(o()({},t),{},{left:c}));return y}(e,o()(o()(o()({},r.props),r.state),{},{trackRef:r.track,listRef:r.list,slideIndex:r.state.currentSlide})))&&(t=e.triggerSlideHandler,delete e.triggerSlideHandler,r.setState(e),void 0!==t)&&(r.slideHandler(t),r.props.verticalSwiping)&&r.enableBodyScroll()})),d()(l()(r),"touchEnd",(function(e){r.swipeEnd(e),r.clickable=!0})),d()(l()(r),"slickPrev",(function(){r.callbackTimers.push(setTimeout((function(){return r.changeSlide({message:"previous"})}),0))})),d()(l()(r),"slickNext",(function(){r.callbackTimers.push(setTimeout((function(){return r.changeSlide({message:"next"})}),0))})),d()(l()(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))})),d()(l()(r),"play",(function(){var e;if(r.props.rtl)e=r.state.currentSlide-r.props.slidesToScroll;else{if(!R(o()(o()({},r.props),r.state)))return!1;e=r.state.currentSlide+r.props.slidesToScroll}r.slideHandler(e)})),d()(l()(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"})})),d()(l()(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"})})),d()(l()(r),"onDotsOver",(function(){return r.props.autoplay&&r.pause("hovered")})),d()(l()(r),"onDotsLeave",(function(){return r.props.autoplay&&"hovered"===r.state.autoplaying&&r.autoPlay("leave")})),d()(l()(r),"onTrackOver",(function(){return r.props.autoplay&&r.pause("hovered")})),d()(l()(r),"onTrackLeave",(function(){return r.props.autoplay&&"hovered"===r.state.autoplaying&&r.autoPlay("leave")})),d()(l()(r),"onSlideFocus",(function(){return r.props.autoplay&&r.pause("focused")})),d()(l()(r),"onSlideBlur",(function(){return r.props.autoplay&&"focused"===r.state.autoplaying&&r.autoPlay("blur")})),d()(l()(r),"render",(function(){var e,t,n,s=y()("slick-slider",r.props.className,{"slick-vertical":r.props.vertical,"slick-initialized":!0}),a=S(c=o()(o()({},r.props),r.state),["fade","cssEase","speed","infinite","centerMode","focusOnSelect","currentSlide","lazyLoad","lazyLoadedList","rtl","slideWidth","slideHeight","listHeight","vertical","slidesToShow","slidesToScroll","slideCount","trackStyle","variableWidth","unslick","centerPadding","targetSlide","useCSS"]),l=r.props.pauseOnHover,c=(a=o()(o()({},a),{},{onMouseEnter:l?r.onTrackOver:null,onMouseLeave:l?r.onTrackLeave:null,onMouseOver:l?r.onTrackOver:null,focusOnSelect:r.props.focusOnSelect&&r.clickable?r.selectHandler:null}),(l=(!0===r.props.dots&&r.state.slideCount>=r.props.slidesToShow&&(l=S(c,["dotsClass","slideCount","slidesToShow","currentSlide","slidesToScroll","clickHandler","children","customPaging","infinite","appendDots"]),e=r.props.pauseOnDotsHover,l=o()(o()({},l),{},{clickHandler:r.changeSlide,onMouseEnter:e?r.onDotsLeave:null,onMouseOver:e?r.onDotsOver:null,onMouseLeave:e?r.onDotsLeave:null}),e=p.a.createElement(F,l)),S(c,["infinite","centerMode","currentSlide","slideCount","slidesToShow","prevArrow","nextArrow"]))).clickHandler=r.changeSlide,r.props.arrows&&(t=p.a.createElement(B,l),n=p.a.createElement(G,l)),null);r.props.vertical&&(c={height:r.state.listHeight}),l=null,!1===r.props.vertical?!0===r.props.centerMode&&(l={padding:"0px "+r.props.centerPadding}):!0===r.props.centerMode&&(l={padding:r.props.centerPadding+" 0px"}),c=o()(o()({},c),l),l=r.props.touchMove,c={className:"slick-list",style:c,onClick:r.clickHandler,onMouseDown:l?r.swipeStart:null,onMouseMove:r.state.dragging&&l?r.swipeMove:null,onMouseUp:l?r.swipeEnd:null,onMouseLeave:r.state.dragging&&l?r.swipeEnd:null,onTouchStart:l?r.swipeStart:null,onTouchMove:r.state.dragging&&l?r.swipeMove:null,onTouchEnd:l?r.touchEnd:null,onTouchCancel:r.state.dragging&&l?r.swipeEnd:null,onKeyDown:r.props.accessibility?r.keyHandler:null},l={className:s,dir:"ltr",style:r.props.style};return r.props.unslick&&(c={className:"slick-list"},l={className:s}),p.a.createElement("div",l,r.props.unslick?"":t,p.a.createElement("div",i()({ref:r.listRefHandler},c),p.a.createElement(Y,i()({ref:r.trackRefHandler},a),r.props.children)),r.props.unslick?"":n,r.props.unslick?"":e)})),r.list=null,r.track=null,r.state=o()(o()({},v),{},{currentSlide:r.props.initialSlide,slideCount:p.a.Children.count(r.props.children)}),r.callbackTimers=[],r.clickable=!0,r.debouncedResize=null;var r;e=r.ssrInit();return r.state=o()(o()({},r.state),e),r}return a()(n,[{key:"didPropsChange",value:function(e){for(var t=!1,n=0,r=Object.keys(this.props);n<r.length;n++){var i=r[n];if(!e.hasOwnProperty(i)){t=!0;break}if("object"!==f()(e[i])&&"function"!=typeof e[i]&&e[i]!==this.props[i]){t=!0;break}}return t||p.a.Children.count(this.props.children)!==p.a.Children.count(e.children)}}]),n}(p.a.Component),Z=(r=n(11),n.n(r)),$={accessibility:!0,adaptiveHeight:!1,afterChange:null,appendDots:function(e){return p.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 p.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};n=function(e){c()(n,e);var t=u()(n);function n(e){var r;return s()(this,n),r=t.call(this,e),d()(l()(r),"innerSliderRefHandler",(function(e){return r.innerSlider=e})),d()(l()(r),"slickPrev",(function(){return r.innerSlider.slickPrev()})),d()(l()(r),"slickNext",(function(){return r.innerSlider.slickNext()})),d()(l()(r),"slickGoTo",(function(e){return r.innerSlider.slickGoTo(e,1<arguments.length&&void 0!==arguments[1]&&arguments[1])})),d()(l()(r),"slickPause",(function(){return r.innerSlider.pause("paused")})),d()(l()(r),"slickPlay",(function(){return r.innerSlider.autoPlay("play")})),r.state={breakpoint:null},r._responsiveMediaHandlers=[],r}return a()(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:"componentDidMount",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){r=0===r?Z()({minWidth:0,maxWidth:t}):Z()({minWidth:e[r-1]+1,maxWidth:t}),b()&&n.media(r,(function(){n.setState({breakpoint:t})}))})),t=Z()({minWidth:e.slice(-1)[0]}),b())&&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=this,t=this.state.breakpoint?"unslick"===(r=this.props.responsive.filter((function(t){return t.breakpoint===e.state.breakpoint})))[0].settings?"unslick":o()(o()(o()({},$),this.props),r[0].settings):o()(o()({},$),this.props);t.centerMode&&(t.slidesToScroll,t.slidesToScroll=1),t.fade&&(t.slidesToShow,t.slidesToScroll,t.slidesToShow=1,t.slidesToScroll=1);var n=(n=p.a.Children.toArray(this.props.children)).filter((function(e){return"string"==typeof e?!!e.trim():!!e}));t.variableWidth&&(1<t.rows||1<t.slidesPerRow)&&(console.warn("variableWidth is not supported in case of rows > 1 or slidesPerRow > 1"),t.variableWidth=!1);for(var r,s=[],a=null,l=0;l<n.length;l+=t.rows*t.slidesPerRow){for(var c=[],u=l;u<l+t.rows*t.slidesPerRow;u+=t.slidesPerRow){for(var d=[],f=u;f<u+t.slidesPerRow&&(t.variableWidth&&n[f].props.style&&(a=n[f].props.style.width),!(f>=n.length));f+=1)d.push(p.a.cloneElement(n[f],{key:100*l+10*u+f,tabIndex:-1,style:{width:"".concat(100/t.slidesPerRow,"%"),display:"inline-block"}}));c.push(p.a.createElement("div",{key:10*l+u},d))}t.variableWidth?s.push(p.a.createElement("div",{key:l,style:{width:a}},c)):s.push(p.a.createElement("div",{key:l},c))}return"unslick"===t?(r="regular slider "+(this.props.className||""),p.a.createElement("div",{className:r},n)):(s.length<=t.slidesToShow&&(t.unslick=!0),p.a.createElement(K,i()({style:this.props.style,ref:this.innerSliderRefHandler},t),s))}}]),n}(p.a.Component);t.default=n}],r={},t.m=n,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=23);function t(e){var i;return(r[e]||(i=r[e]={i:e,l:!1,exports:{}},n[e].call(i.exports,i,i.exports,t),i.l=!0,i)).exports}var n,r})); | ||
*/!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,s=typeof r;if("string"==s||"number"==s)e.push(r);else if(Array.isArray(r))r.length&&(o=i.apply(null,r))&&e.push(o);else if("object"==s)if(r.toString===Object.prototype.toString||r.toString.toString().includes("[native code]"))for(var a in r)n.call(r,a)&&r[a]&&e.push(a);else e.push(r.toString())}}return e.join(" ")}e.exports?e.exports=i.default=i:void 0!==(r=function(){return i}.apply(t,[]))&&(e.exports=r)}()},function(e,t){function n(){return e.exports=n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n,r=arguments[t];for(n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,n.apply(this,arguments)}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){function n(t){return e.exports=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.exports.__esModule=!0,e.exports.default=e.exports,n(t)}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){function r(e){var t="",n=Object.keys(e);return n.forEach((function(r,s){var a=e[r];r=i(r),o(r)&&"number"==typeof a&&(a+="px"),t+=!0===a?r:!1===a?"not "+r:"("+r+": "+a+")",s<n.length-1&&(t+=" and ")})),t}var i=n(22),o=function(e){return/[height|width]$/.test(e)};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,n){var r=n(10).default,i=n(15);e.exports=function(e){return e=i(e,"string"),"symbol"===r(e)?e:String(e)},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var r=n(20);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},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){"use strict";(function(e){var n="undefined"!=typeof Map?Map:(Object.defineProperty(r.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),r.prototype.get=function(e){return e=i(this.__entries__,e),(e=this.__entries__[e])&&e[1]},r.prototype.set=function(e,t){var n=i(this.__entries__,e);~n?this.__entries__[n][1]=t:this.__entries__.push([e,t])},r.prototype.delete=function(e){var t=this.__entries__;~(e=i(t,e))&&t.splice(e,1)},r.prototype.has=function(e){return!!~i(this.__entries__,e)},r.prototype.clear=function(){this.__entries__.splice(0)},r.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])}},r);function r(){this.__entries__=[]}function i(e,t){var n=-1;return e.some((function(e,r){return e[0]===t&&(n=r,!0)})),n}var o="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,s=void 0!==e&&e.Math===Math?e:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),a="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(s):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)},l=["top","right","bottom","left","width","height","size","weight"],c="undefined"!=typeof MutationObserver,u=(d.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},d.prototype.removeObserver=function(e){var t=this.observers_;~(e=t.indexOf(e))&&t.splice(e,1),!t.length&&this.connected_&&this.disconnect_()},d.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},d.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},d.prototype.connect_=function(){o&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),c?(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)},d.prototype.disconnect_=function(){o&&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)},d.prototype.onTransitionEnd_=function(e){var t=void 0===(e=e.propertyName)?"":e;l.some((function(e){return!!~t.indexOf(e)}))&&this.refresh()},d.getInstance=function(){return this.instance_||(this.instance_=new d),this.instance_},d.instance_=null,d);function d(){function e(){o&&(o=!1,r()),s&&n()}function t(){a(e)}function n(){var e=Date.now();if(o){if(e-l<2)return;s=!0}else s=!(o=!0),setTimeout(t,i);l=e}var r,i,o,s,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),s=o=!(i=20),l=0,n)}var p=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},f=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||s},h=m(0,0,0,0);function v(e){return parseFloat(e)||0}function y(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce((function(t,n){return t+v(e["border-"+n+"-width"])}),0)}var g="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof f(e).SVGGraphicsElement}:function(e){return e instanceof f(e).SVGElement&&"function"==typeof e.getBBox};function S(e){var t;return o?g(e)?m(0,0,(t=(t=e).getBBox()).width,t.height):function(e){var t,n,r,i,o,s,a=e.clientWidth,l=e.clientHeight;return a||l?(n=(t=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]=v(o)}return t}(s=f(e).getComputedStyle(e))).left+t.right,r=t.top+t.bottom,i=v(s.width),o=v(s.height),"border-box"===s.boxSizing&&(Math.round(i+n)!==a&&(i-=y(s,"left","right")+n),Math.round(o+r)!==l)&&(o-=y(s,"top","bottom")+r),e!==f(e).document.documentElement&&(s=Math.round(i+n)-a,e=Math.round(o+r)-l,1!==Math.abs(s)&&(i-=s),1!==Math.abs(e))&&(o-=e),m(t.left,t.top,i,o)):h}(e):h}function m(e,t,n,r){return{x:e,y:t,width:n,height:r}}w.prototype.isActive=function(){var e=S(this.target);return(this.contentRect_=e).width!==this.broadcastWidth||e.height!==this.broadcastHeight},w.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e};var b=w;function w(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=m(0,0,0,0),this.target=e}var k=function(e,t){n=(t=t).x,r=t.y,o=t.width,t=t.height,i="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,i=Object.create(i.prototype),p(i,{x:n,y:r,width:o,height:t,top:r,right:n+o,bottom:t+r,left:n});var n,r,i,o=i;p(this,{target:e,contentRect:o})},x=(_.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 f(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new b(e)),this.controller_.addObserver(this),this.controller_.refresh())}},_.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 f(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))}},_.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},_.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach((function(t){t.isActive()&&e.activeObservations_.push(t)}))},_.prototype.broadcastActive=function(){var e,t;this.hasActive()&&(e=this.callbackCtx_,t=this.activeObservations_.map((function(e){return new k(e.target,e.broadcastRect())})),this.callback_.call(e,t,e),this.clearActive())},_.prototype.clearActive=function(){this.activeObservations_.splice(0)},_.prototype.hasActive=function(){return 0<this.activeObservations_.length},_);function _(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),O=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=u.getInstance();t=new x(t,n,this);T.set(this,t)};["observe","unobserve","disconnect"].forEach((function(e){O.prototype[e]=function(){var t;return(t=T.get(this))[e].apply(t,arguments)}})),e=void 0!==s.ResizeObserver?s.ResizeObserver:O;t.a=e}).call(this,n(21))},function(e,t,n){var r=n(10).default;e.exports=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0===n)return("string"===t?String:Number)(e);if(n=n.call(e,t||"default"),"object"!==r(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},e.exports.__esModule=!0,e.exports.default=e.exports,n(t,r)}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},e.exports.__esModule=!0,e.exports.default=e.exports,n(t)}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports},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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var r=n(10).default,i=n(3);e.exports=function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return i(e)},e.exports.__esModule=!0,e.exports.default=e.exports},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},e.exports.__esModule=!0,e.exports.default=e.exports},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){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(9),i=n.n(r),o=(r=n(0),n.n(r)),s=(r=n(4),n.n(r)),a=(r=n(5),n.n(r)),l=(r=n(3),n.n(r)),c=(r=n(6),n.n(r)),u=(r=n(7),n.n(r)),d=(r=n(2),n.n(r)),p=(r=n(1),n.n(r)),f=(r=n(10),n.n(r)),h=(r=n(13),n.n(r)),v={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,targetSlide:0};r=n(8);var y=n.n(r);function g(e,t,n){return Math.max(t,Math.min(e,n))}function S(e,t){var n={};return t.forEach((function(t){return n[t]=e[t]})),n}function m(e){return e.unslick||!e.infinite?0:e.slideCount}function b(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}function w(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.targetSlide<0?e.targetSlide+e.slideCount:e.targetSlide>=e.slideCount?e.targetSlide-e.slideCount:e.targetSlide)}}function k(e,t){return e.key+"-"+t}function x(e){var t,n=[],r=[],i=[],s=p.a.Children.count(e.children),a=O(e),l=M(e);return p.a.Children.forEach(e.children,(function(c,u){var d,f={message:"children",index:u,slidesToScroll:e.slidesToScroll,currentSlide:e.currentSlide},h=!e.lazyLoad||e.lazyLoad&&0<=e.lazyLoadedList.indexOf(u)?c:p.a.createElement("div",null),v=(g={},void 0!==(v=o()(o()({},e),{},{index:u})).variableWidth&&!1!==v.variableWidth||(g.width=v.slideWidth),v.fade&&(g.position="relative",v.vertical&&v.slideHeight?g.top=-v.index*parseInt(v.slideHeight):g.left=-v.index*parseInt(v.slideWidth),g.opacity=v.currentSlide===v.index?1:0,v.useCSS)&&(g.transition="opacity "+v.speed+"ms "+v.cssEase+", visibility "+v.speed+"ms "+v.cssEase),g),g=h.props.className||"",S=w(o()(o()({},e),{},{index:u}));n.push(p.a.cloneElement(h,{key:"original"+k(h,u),"data-index":u,className:y()(S,g),tabIndex:"-1","aria-hidden":!S["slick-active"],style:o()(o()({outline:"none"},h.props.style||{}),v),onClick:function(t){h.props&&h.props.onClick&&h.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(f)}})),e.infinite&&!1===e.fade&&((d=s-u)<=N(e)&&s!==e.slidesToShow&&(a<=(t=-d)&&(h=c),S=w(o()(o()({},e),{},{index:t})),r.push(p.a.cloneElement(h,{key:"precloned"+k(h,t),"data-index":t,tabIndex:"-1",className:y()(S,g),"aria-hidden":!S["slick-active"],style:o()(o()({},h.props.style||{}),v),onClick:function(t){h.props&&h.props.onClick&&h.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(f)}}))),s!==e.slidesToShow)&&((t=s+u)<l&&(h=c),S=w(o()(o()({},e),{},{index:t})),i.push(p.a.cloneElement(h,{key:"postcloned"+k(h,t),"data-index":t,tabIndex:"-1",className:y()(S,g),"aria-hidden":!S["slick-active"],style:o()(o()({},h.props.style||{}),v),onClick:function(t){h.props&&h.props.onClick&&h.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(f)}})))})),e.rtl?r.concat(n,i).reverse():r.concat(n,i)}var _=function(e){["onTouchStart","onTouchMove","onWheel"].includes(e._reactName)||e.preventDefault()},T=function(e){for(var t=[],n=O(e),r=M(e),i=n;i<r;i++)e.lazyLoadedList.indexOf(i)<0&&t.push(i);return t},O=function(e){return e.currentSlide-E(e)},M=function(e){return e.currentSlide+L(e)},E=function(e){return e.centerMode?Math.floor(e.slidesToShow/2)+(0<parseInt(e.centerPadding)?1:0):0},L=function(e){return e.centerMode?Math.floor((e.slidesToShow-1)/2)+1+(0<parseInt(e.centerPadding)?1:0):e.slidesToShow},C=function(e){return e&&e.offsetWidth||0},P=function(e){return e&&e.offsetHeight||0},z=function(e){var t=1<arguments.length&&void 0!==arguments[1]&&arguments[1],n=e.startX-e.curX;e=e.startY-e.curY,e=Math.atan2(e,n);return(n=(n=Math.round(180*e/Math.PI))<0?360-Math.abs(n):n)<=45&&0<=n||n<=360&&315<=n?"left":135<=n&&n<=225?"right":!0===t?35<=n&&n<=135?"up":"down":"vertical"},R=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},W=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},H=function(e){var t,n,r=e.centerMode?e.slideWidth*Math.floor(e.slidesToShow/2):0;return e.swipeToSlide?(n=(n=e.listRef).querySelectorAll&&n.querySelectorAll(".slick-slide")||[],Array.from(n).every((function(n){if(e.vertical){if(n.offsetTop+P(n)/2>-1*e.swipeLeft)return t=n,!1}else if(n.offsetLeft-r+C(n)/2>-1*e.swipeLeft)return t=n,!1;return!0})),t?(n=!0===e.rtl?e.slideCount-e.currentSlide:e.currentSlide,Math.abs(t.dataset.index-n)||1):0):e.slidesToScroll},j=function(e,t){return t.reduce((function(t,n){return t&&e.hasOwnProperty(n)}),!0)?null:console.error("Keys Missing:",e)},A=function(e){j(e,["left","variableWidth","slideCount","slidesToShow","slideWidth"]);var t,n,r,i,s,a=e.slideCount+2*e.slidesToShow;e.vertical?n=a*e.slideHeight:t=q(e)*e.slideWidth,a={opacity:1,transition:"",WebkitTransition:""};return e.useTransform?(r=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=o()(o()({},a),{},{WebkitTransform:r,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},D=function(e){j(e,["left","variableWidth","slideCount","slidesToShow","slideWidth","speed","cssEase"]);var t=A(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},I=function(e){if(e.unslick)return 0;j(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,o=e.slideCount,s=e.slidesToShow,a=e.slidesToScroll,l=e.slideWidth,c=e.listWidth,u=e.variableWidth,d=e.slideHeight,p=e.fade,f=e.vertical;if(p||1===e.slideCount)return 0;if(p=0,r?(p=-N(e),o%a!=0&&o<t+a&&(p=-(o<t?s-(t-o):o%a)),i&&(p+=parseInt(s/2))):(o%a!=0&&o<t+a&&(p=s-o%a),i&&(p=parseInt(s/2))),y=f?t*d*-1+p*d:t*l*-1+p*l,!0===u){var h=n&&n.node;if(v=t+N(e),y=(o=h&&h.childNodes[v])?-1*o.offsetLeft:0,!0===i){for(var v=r?t+N(e):t,y=(o=h&&h.children[v],0),g=0;g<v;g++)y-=h&&h.children[g]&&h.children[g].offsetWidth;y=(y-=parseInt(e.centerPadding))+(o&&(c-o.offsetWidth)/2)}}return y},N=function(e){return e.unslick||!e.infinite?0:e.variableWidth?e.slideCount:e.slidesToShow+(e.centerMode?1:0)},q=function(e){return 1===e.slideCount?1:N(e)+e.slideCount+m(e)},X=function(e){return e.targetSlide>e.currentSlide?e.targetSlide>e.currentSlide+function(e){var t=e.slidesToShow,n=e.centerMode,r=e.rtl;return e=e.centerPadding,n?(n=(t-1)/2+1,0<parseInt(e)&&(n+=1),r&&t%2==0&&(n+=1),n):r?0:t-1}(e)?"left":"right":e.targetSlide<e.currentSlide-function(e){var t=e.slidesToShow,n=e.centerMode,r=e.rtl;return e=e.centerPadding,n?(n=(t-1)/2+1,0<parseInt(e)&&(n+=1),r||t%2!=0||(n+=1),n):r?t-1:0}(e)?"right":"left"},Y=function(e){c()(n,e);var t=u()(n);function n(){var e;s()(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)),d()(l()(e),"node",null),d()(l()(e),"handleRef",(function(t){e.node=t})),e}return a()(n,[{key:"render",value:function(){var e=x(this.props),t={onMouseEnter:(t=this.props).onMouseEnter,onMouseOver:t.onMouseOver,onMouseLeave:t.onMouseLeave};return p.a.createElement("div",i()({ref:this.handleRef,className:"slick-track",style:this.props.trackStyle},t),e)}}]),n}(p.a.PureComponent),F=function(e){c()(n,e);var t=u()(n);function n(){return s()(this,n),t.apply(this,arguments)}return a()(n,[{key:"clickHandler",value:function(e,t){t.preventDefault(),this.props.clickHandler(e)}},{key:"render",value:function(){for(var e=(u=this.props).onMouseEnter,t=u.onMouseOver,n=u.onMouseLeave,r=u.infinite,i=u.slidesToScroll,s=u.slidesToShow,a=u.slideCount,l=u.currentSlide,c=function(e){return e=e.infinite?Math.ceil(e.slideCount/e.slidesToScroll):Math.ceil((e.slideCount-e.slidesToShow)/e.slidesToScroll)+1}({slideCount:a,slidesToScroll:i,slidesToShow:s,infinite:r}),u={onMouseEnter:e,onMouseOver:t,onMouseLeave:n},d=[],f=0;f<c;f++){var h=(f+1)*i-1,v=(h=r?h:g(h,0,a-1))-(i-1);v=r?v:g(v,0,a-1),h=y()({"slick-active":r?v<=l&&l<=h:l===v}),v=this.clickHandler.bind(this,{message:"dots",index:f,slidesToScroll:i,currentSlide:l}),d=d.concat(p.a.createElement("li",{key:f,className:h},p.a.cloneElement(this.props.customPaging(f),{onClick:v})))}return p.a.cloneElement(this.props.appendDots(d),o()({className:this.props.dotsClass},u))}}]),n}(p.a.PureComponent),B=function(e){c()(n,e);var t=u()(n);function n(){return s()(this,n),t.apply(this,arguments)}return a()(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),e={key:"0","data-role":"none",className:y()(e),style:{display:"block"},onClick:t},t={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount};return t=this.props.prevArrow?p.a.cloneElement(this.props.prevArrow,o()(o()({},e),t)):p.a.createElement("button",i()({key:"0",type:"button"},e)," ","Previous")}}]),n}(p.a.PureComponent),G=function(e){c()(n,e);var t=u()(n);function n(){return s()(this,n),t.apply(this,arguments)}return a()(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"});R(this.props)||(e["slick-disabled"]=!0,t=null),e={key:"1","data-role":"none",className:y()(e),style:{display:"block"},onClick:t},t={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount};return t=this.props.nextArrow?p.a.cloneElement(this.props.nextArrow,o()(o()({},e),t)):p.a.createElement("button",i()({key:"1",type:"button"},e)," ","Next")}}]),n}(p.a.PureComponent),U=n(14),V=["animating"],K=function(e){c()(n,e);var t=u()(n);function n(e){s()(this,n),r=t.call(this,e),d()(l()(r),"listRefHandler",(function(e){return r.list=e})),d()(l()(r),"trackRefHandler",(function(e){return r.track=e})),d()(l()(r),"adaptHeight",(function(){var e;r.props.adaptiveHeight&&r.list&&(e=r.list.querySelector('[data-index="'.concat(r.state.currentSlide,'"]')),r.list.style.height=P(e)+"px")})),d()(l()(r),"componentDidMount",(function(){r.props.onInit&&r.props.onInit(),r.props.lazyLoad&&0<(e=T(o()(o()({},r.props),r.state))).length&&(r.setState((function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}})),r.props.onLazyLoad)&&r.props.onLazyLoad(e);var e,t=o()({listRef:r.list,trackRef:r.track},r.props);r.updateState(t,!0,(function(){r.adaptHeight(),r.props.autoplay&&r.autoPlay("playing")})),"progressive"===r.props.lazyLoad&&(r.lazyLoadTimer=setInterval(r.progressiveLazyLoad,1e3)),r.ro=new U.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),document.querySelectorAll&&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)})),d()(l()(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()})),d()(l()(r),"componentDidUpdate",(function(e){r.checkImagesLoad(),r.props.onReInit&&r.props.onReInit(),r.props.lazyLoad&&0<(t=T(o()(o()({},r.props),r.state))).length&&(r.setState((function(e){return{lazyLoadedList:e.lazyLoadedList.concat(t)}})),r.props.onLazyLoad)&&r.props.onLazyLoad(t),r.adaptHeight();var t,n=o()(o()({listRef:r.list,trackRef:r.track},r.props),r.state),i=r.didPropsChange(e);i&&r.updateState(n,i,(function(){r.state.currentSlide>=p.a.Children.count(r.props.children)&&r.changeSlide({message:"index",index:p.a.Children.count(r.props.children)-r.props.slidesToShow,currentSlide:r.state.currentSlide}),e.autoplay===r.props.autoplay&&e.autoplaySpeed===r.props.autoplaySpeed||(!e.autoplay&&r.props.autoplay?r.autoPlay("playing"):r.props.autoplay?r.autoPlay("update"):r.pause("paused"))}))})),d()(l()(r),"onWindowResized",(function(e){var t;r.debouncedResize&&r.debouncedResize.cancel(),r.debouncedResize=(50,function(e,t,n){var r,i,o=void 0!==(i=(n=n||{}).noTrailing)&&i,s=void 0!==(i=n.noLeading)&&i,a=void 0===(i=n.debounceMode)?void 0:i,l=!1,c=0;function u(){r&&clearTimeout(r)}function d(){for(var n=arguments.length,i=new Array(n),d=0;d<n;d++)i[d]=arguments[d];var p=this,f=Date.now()-c;function h(){c=Date.now(),t.apply(p,i)}function v(){r=void 0}l||(s||!a||r||h(),u(),void 0===a&&e<f?s?(c=Date.now(),o||(r=setTimeout(a?v:h,e))):h():!0!==o&&(r=setTimeout(a?v:h,void 0===a?e-f:e)))}return d.cancel=function(e){e=void 0!==(e=(e||{}).upcomingOnly)&&e,u(),l=!e},d}(50,(function(){return r.resizeWindow(e)}),{debounceMode:!1!==(void 0!==(t=(t||{}).atBegin)&&t)})),r.debouncedResize()})),d()(l()(r),"resizeWindow",(function(){var e,t=!(0<arguments.length&&void 0!==arguments[0])||arguments[0];Boolean(r.track&&r.track.node)&&(e=o()(o()({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)})),d()(l()(r),"updateState",(function(e,t,n){i=e,s=p.a.Children.count(i.children),a=i.listRef,h=Math.ceil(C(a)),v=i.trackRef&&i.trackRef.node,v=Math.ceil(C(v)),f=i.vertical?h:(f=i.centerMode&&2*parseInt(i.centerPadding),"string"==typeof i.centerPadding&&"%"===i.centerPadding.slice(-1)&&(f*=h/100),Math.ceil((h-f)/i.slidesToShow)),l=(a=a&&P(a.querySelector('[data-index="0"]')))*i.slidesToShow,c=void 0===i.currentSlide?i.initialSlide:i.currentSlide,i.rtl&&void 0===i.currentSlide&&(c=s-1-i.initialSlide),u=i.lazyLoadedList||[],d=T(o()(o()({},i),{},{currentSlide:c,lazyLoadedList:u})),s={slideCount:s,slideWidth:f,listWidth:h,trackWidth:v,currentSlide:c,slideHeight:a,listHeight:l,lazyLoadedList:u=u.concat(d)},null===i.autoplaying&&i.autoplay&&(s.autoplaying="playing");var i,s,a,l,c,u,d,f=s,h=(e=o()(o()(o()({},e),f),{},{slideIndex:f.currentSlide}),I(e)),v=(e=o()(o()({},e),{},{left:h}),A(e));!t&&p.a.Children.count(r.props.children)===p.a.Children.count(e.children)||(f.trackStyle=v),r.setState(f,n)})),d()(l()(r),"ssrInit",(function(){if(r.props.variableWidth){var e=0,t=0,n=[],i=N(o()(o()(o()({},r.props),r.state),{},{slideCount:r.props.children.length})),s=m(o()(o()(o()({},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 l=0;l<s;l++)e+=n[l];for(var c=0;c<r.state.currentSlide;c++)t+=n[c];var u={width:e+"px",left:-t+"px"};return r.props.centerMode&&(d="".concat(n[r.state.currentSlide],"px"),u.left="calc(".concat(u.left," + (100% - ").concat(d,") / 2 ) ")),{trackStyle:u}}var d=p.a.Children.count(r.props.children),f=(u=o()(o()(o()({},r.props),r.state),{},{slideCount:d}),d=N(u)+m(u)+d,100/r.props.slidesToShow*d);u=-(d=100/d)*(N(u)+r.state.currentSlide)*f/100;return r.props.centerMode&&(u+=(100-d*f/100)/2),{slideWidth:d+"%",trackStyle:{width:f+"%",left:u+"%"}}})),d()(l()(r),"checkImagesLoad",(function(){var e=r.list&&r.list.querySelectorAll&&r.list.querySelectorAll(".slick-slide img")||[],t=e.length,n=0;Array.prototype.forEach.call(e,(function(e){function i(){return++n&&t<=n&&r.onWindowResized()}var o;e.onclick?(o=e.onclick,e.onclick=function(t){o(t),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=i,e.onerror=function(){i(),r.props.onLazyLoadError&&r.props.onLazyLoadError()}))}))})),d()(l()(r),"progressiveLazyLoad",(function(){for(var e=[],t=o()(o()({},r.props),r.state),n=r.state.currentSlide;n<r.state.slideCount+m(t);n++)if(r.state.lazyLoadedList.indexOf(n)<0){e.push(n);break}for(var i=r.state.currentSlide-1;i>=-N(t);i--)if(r.state.lazyLoadedList.indexOf(i)<0){e.push(i);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)})),d()(l()(r),"slideHandler",(function(e){var t=1<arguments.length&&void 0!==arguments[1]&&arguments[1],n=(c=r.props).asNavFor,i=c.beforeChange,s=c.onLazyLoad,a=c.speed,l=c.afterChange,c=r.state.currentSlide,u=(t=function(e){var t=e.waitForAnimate,n=e.animating,r=e.fade,i=e.infinite,s=e.index,a=e.slideCount,l=e.lazyLoad,c=e.currentSlide,u=e.centerMode,d=e.slidesToScroll,p=e.slidesToShow,f=e.useCSS,h=e.lazyLoadedList;if(t&&n)return{};t=s,n={};var v={},y=i?s:g(s,0,a-1);if(r){if(!i&&(s<0||a<=s))return{};s<0?t=s+a:a<=s&&(t=s-a),v={animating:!(n={animating:!0,currentSlide:t,lazyLoadedList:h=l&&h.indexOf(t)<0?h.concat(t):h,targetSlide:t}),targetSlide:t}}else(r=t)<0?(r=t+a,i?a%d!=0&&(r=a-a%d):r=0):!R(e)&&c<t?t=r=c:u&&a<=t?(t=i?a:a-1,r=i?0:a-1):a<=t&&(r=t-a,i?a%d!=0&&(r=0):r=a-p),!i&&a<=t+p&&(r=a-p),s=I(o()(o()({},e),{},{slideIndex:t})),c=I(o()(o()({},e),{},{slideIndex:r})),i||(s===c&&(t=r),s=c),l&&(h=h.concat(T(o()(o()({},e),{},{currentSlide:t})))),f?v={animating:!(n={animating:!0,currentSlide:r,trackStyle:D(o()(o()({},e),{},{left:s})),lazyLoadedList:h,targetSlide:y}),currentSlide:r,trackStyle:A(o()(o()({},e),{},{left:c})),swipeLeft:null,targetSlide:y}:n={currentSlide:r,trackStyle:A(o()(o()({},e),{},{left:c})),lazyLoadedList:h,targetSlide:y};return{state:n,nextState:v}}(o()(o()(o()({index:e},r.props),r.state),{},{trackRef:r.track,useCSS:r.props.useCSS&&!t}))).state,d=t.nextState;u&&(i&&i(c,u.currentSlide),t=u.lazyLoadedList.filter((function(e){return r.state.lazyLoadedList.indexOf(e)<0})),s&&0<t.length&&s(t),!r.props.waitForAnimate&&r.animationEndCallback&&(clearTimeout(r.animationEndCallback),l&&l(c),delete r.animationEndCallback),r.setState(u,(function(){n&&r.asNavForIndex!==e&&(r.asNavForIndex=e,n.innerSlider.slideHandler(e)),d&&(r.animationEndCallback=setTimeout((function(){var e=d.animating,t=h()(d,V);r.setState(t,(function(){r.callbackTimers.push(setTimeout((function(){return r.setState({animating:e})}),10)),l&&l(u.currentSlide),delete r.animationEndCallback}))}),a))})))})),d()(l()(r),"changeSlide",(function(e){var t,n,i,s,a,l,c,u,d,p=1<arguments.length&&void 0!==arguments[1]&&arguments[1],f=o()(o()({},r.props),r.state),h=(e=e,n=(f=f).slidesToScroll,i=f.slidesToShow,s=f.slideCount,a=f.currentSlide,l=f.targetSlide,d=f.lazyLoad,c=f.infinite,u=s%n!=0?0:(s-a)%n,"previous"===e.message?(t=a-(h=0==u?n:i-u),d&&!c&&(t=-1==(i=a-h)?s-1:i),c||(t=l-n)):"next"===e.message?(t=a+(h=0==u?n:u),d&&!c&&(t=(a+n)%s+u),c||(t=l+n)):"dots"===e.message?t=e.index*e.slidesToScroll:"children"===e.message?(t=e.index,c&&(i=X(o()(o()({},f),{},{targetSlide:t})),t>e.currentSlide&&"left"===i?t-=s:t<e.currentSlide&&"right"===i&&(t+=s))):"index"===e.message&&(t=Number(e.index)),t);(0===h||h)&&(!0===p?r.slideHandler(h,p):r.slideHandler(h),r.props.autoplay&&r.autoPlay("update"),r.props.focusOnSelect)&&(d=r.list.querySelectorAll(".slick-current"))[0]&&d[0].focus()})),d()(l()(r),"clickHandler",(function(e){!1===r.clickable&&(e.stopPropagation(),e.preventDefault()),r.clickable=!0})),d()(l()(r),"keyHandler",(function(e){e=e,n=r.props.accessibility,t=r.props.rtl;var t,n=e.target.tagName.match("TEXTAREA|INPUT|SELECT")||!n?"":37===e.keyCode?t?"next":"previous":39===e.keyCode?t?"previous":"next":"";n&&r.changeSlide({message:n})})),d()(l()(r),"selectHandler",(function(e){r.changeSlide(e)})),d()(l()(r),"disableBodyScroll",(function(){window.ontouchmove=function(e){(e=e||window.event).preventDefault&&e.preventDefault(),e.returnValue=!1}})),d()(l()(r),"enableBodyScroll",(function(){window.ontouchmove=null})),d()(l()(r),"swipeStart",(function(e){r.props.verticalSwiping&&r.disableBodyScroll(),e=e,n=r.props.swipe,t=r.props.draggable,"IMG"===e.target.tagName&&_(e);var t,n=!n||!t&&-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}};""!==n&&r.setState(n)})),d()(l()(r),"swipeMove",(function(e){(e=function(e,t){var n=t.scrolling,r=t.animating,i=t.vertical,s=t.swipeToSlide,a=t.verticalSwiping,l=t.rtl,c=t.currentSlide,u=t.edgeFriction,d=t.edgeDragged,p=t.onEdge,f=t.swiped,h=t.swiping,v=t.slideCount,y=t.slidesToScroll,g=t.infinite,S=t.touchObject,m=t.swipeEvent,b=t.listHeight,w=t.listWidth;if(!n)return r?_(e):(i&&s&&a&&_(e),n={},r=I(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))),s=Math.round(Math.sqrt(Math.pow(S.curY-S.startY,2))),!a&&!h&&10<s?{scrolling:!0}:(a&&(S.swipeLength=s),h=(l?-1:1)*(S.curX>S.startX?1:-1),a&&(h=S.curY>S.startY?1:-1),s=Math.ceil(v/y),v=z(t.touchObject,a),y=S.swipeLength,g||(0===c&&("right"===v||"down"===v)||s<=c+1&&("left"===v||"up"===v)||!R(t)&&("left"===v||"up"===v))&&(y=S.swipeLength*u,!1===d)&&p&&(p(v),n.edgeDragged=!0),!f&&m&&(m(v),n.swiped=!0),g=a?r+y*h:i?r+y*(b/w)*h:l?r-y*h:r+y*h,n=o()(o()({},n),{},{touchObject:S,swipeLeft:g,trackStyle:A(o()(o()({},t),{},{left:g}))}),Math.abs(S.curX-S.startX)<.8*Math.abs(S.curY-S.startY)||10<S.swipeLength&&(n.swiping=!0,_(e)),n))}(e,o()(o()(o()({},r.props),r.state),{},{trackRef:r.track,listRef:r.list,slideIndex:r.state.currentSlide})))&&(e.swiping&&(r.clickable=!1),r.setState(e))})),d()(l()(r),"swipeEnd",(function(e){var t;(e=function(e,t){var n=t.dragging,r=t.swipe,i=t.touchObject,s=t.listWidth,a=t.touchThreshold,l=t.verticalSwiping,c=t.listHeight,u=t.swipeToSlide,d=t.scrolling,p=t.onSwipe,f=t.targetSlide,h=t.currentSlide,v=t.infinite;if(!n)return r&&_(e),{};n=l?c/a:s/a,r=z(i,l);var y={dragging:!1,edgeDragged:!1,scrolling:!1,swiping:!1,swiped:!1,swipeLeft:null,touchObject:{}};if(!d&&i.swipeLength)if(i.swipeLength>n){_(e),p&&p(r);var g,S,m=v?h:f;switch(r){case"left":case"up":S=m+H(t),g=u?W(t,S):S,y.currentDirection=0;break;case"right":case"down":S=m-H(t),g=u?W(t,S):S,y.currentDirection=1;break;default:g=m}y.triggerSlideHandler=g}else c=I(t),y.trackStyle=D(o()(o()({},t),{},{left:c}));return y}(e,o()(o()(o()({},r.props),r.state),{},{trackRef:r.track,listRef:r.list,slideIndex:r.state.currentSlide})))&&(t=e.triggerSlideHandler,delete e.triggerSlideHandler,r.setState(e),void 0!==t)&&(r.slideHandler(t),r.props.verticalSwiping)&&r.enableBodyScroll()})),d()(l()(r),"touchEnd",(function(e){r.swipeEnd(e),r.clickable=!0})),d()(l()(r),"slickPrev",(function(){r.callbackTimers.push(setTimeout((function(){return r.changeSlide({message:"previous"})}),0))})),d()(l()(r),"slickNext",(function(){r.callbackTimers.push(setTimeout((function(){return r.changeSlide({message:"next"})}),0))})),d()(l()(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))})),d()(l()(r),"play",(function(){var e;if(r.props.rtl)e=r.state.currentSlide-r.props.slidesToScroll;else{if(!R(o()(o()({},r.props),r.state)))return!1;e=r.state.currentSlide+r.props.slidesToScroll}r.slideHandler(e)})),d()(l()(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"})})),d()(l()(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"})})),d()(l()(r),"onDotsOver",(function(){return r.props.autoplay&&r.pause("hovered")})),d()(l()(r),"onDotsLeave",(function(){return r.props.autoplay&&"hovered"===r.state.autoplaying&&r.autoPlay("leave")})),d()(l()(r),"onTrackOver",(function(){return r.props.autoplay&&r.pause("hovered")})),d()(l()(r),"onTrackLeave",(function(){return r.props.autoplay&&"hovered"===r.state.autoplaying&&r.autoPlay("leave")})),d()(l()(r),"onSlideFocus",(function(){return r.props.autoplay&&r.pause("focused")})),d()(l()(r),"onSlideBlur",(function(){return r.props.autoplay&&"focused"===r.state.autoplaying&&r.autoPlay("blur")})),d()(l()(r),"render",(function(){var e,t,n,s=y()("slick-slider",r.props.className,{"slick-vertical":r.props.vertical,"slick-initialized":!0}),a=S(c=o()(o()({},r.props),r.state),["fade","cssEase","speed","infinite","centerMode","focusOnSelect","currentSlide","lazyLoad","lazyLoadedList","rtl","slideWidth","slideHeight","listHeight","vertical","slidesToShow","slidesToScroll","slideCount","trackStyle","variableWidth","unslick","centerPadding","targetSlide","useCSS"]),l=r.props.pauseOnHover,c=(a=o()(o()({},a),{},{onMouseEnter:l?r.onTrackOver:null,onMouseLeave:l?r.onTrackLeave:null,onMouseOver:l?r.onTrackOver:null,focusOnSelect:r.props.focusOnSelect&&r.clickable?r.selectHandler:null}),(l=(!0===r.props.dots&&r.state.slideCount>=r.props.slidesToShow&&(l=S(c,["dotsClass","slideCount","slidesToShow","currentSlide","slidesToScroll","clickHandler","children","customPaging","infinite","appendDots"]),e=r.props.pauseOnDotsHover,l=o()(o()({},l),{},{clickHandler:r.changeSlide,onMouseEnter:e?r.onDotsLeave:null,onMouseOver:e?r.onDotsOver:null,onMouseLeave:e?r.onDotsLeave:null}),e=p.a.createElement(F,l)),S(c,["infinite","centerMode","currentSlide","slideCount","slidesToShow","prevArrow","nextArrow"]))).clickHandler=r.changeSlide,r.props.arrows&&(t=p.a.createElement(B,l),n=p.a.createElement(G,l)),null);r.props.vertical&&(c={height:r.state.listHeight}),l=null,!1===r.props.vertical?!0===r.props.centerMode&&(l={padding:"0px "+r.props.centerPadding}):!0===r.props.centerMode&&(l={padding:r.props.centerPadding+" 0px"}),c=o()(o()({},c),l),l=r.props.touchMove,c={className:"slick-list",style:c,onClick:r.clickHandler,onMouseDown:l?r.swipeStart:null,onMouseMove:r.state.dragging&&l?r.swipeMove:null,onMouseUp:l?r.swipeEnd:null,onMouseLeave:r.state.dragging&&l?r.swipeEnd:null,onTouchStart:l?r.swipeStart:null,onTouchMove:r.state.dragging&&l?r.swipeMove:null,onTouchEnd:l?r.touchEnd:null,onTouchCancel:r.state.dragging&&l?r.swipeEnd:null,onKeyDown:r.props.accessibility?r.keyHandler:null},l={className:s,dir:"ltr",style:r.props.style};return r.props.unslick&&(c={className:"slick-list"},l={className:s,style:r.props.style}),p.a.createElement("div",l,r.props.unslick?"":t,p.a.createElement("div",i()({ref:r.listRefHandler},c),p.a.createElement(Y,i()({ref:r.trackRefHandler},a),r.props.children)),r.props.unslick?"":n,r.props.unslick?"":e)})),r.list=null,r.track=null,r.state=o()(o()({},v),{},{currentSlide:r.props.initialSlide,slideCount:p.a.Children.count(r.props.children)}),r.callbackTimers=[],r.clickable=!0,r.debouncedResize=null;var r;e=r.ssrInit();return r.state=o()(o()({},r.state),e),r}return a()(n,[{key:"didPropsChange",value:function(e){for(var t=!1,n=0,r=Object.keys(this.props);n<r.length;n++){var i=r[n];if(!e.hasOwnProperty(i)){t=!0;break}if("object"!==f()(e[i])&&"function"!=typeof e[i]&&e[i]!==this.props[i]){t=!0;break}}return t||p.a.Children.count(this.props.children)!==p.a.Children.count(e.children)}}]),n}(p.a.Component),Z=(r=n(11),n.n(r)),$={accessibility:!0,adaptiveHeight:!1,afterChange:null,appendDots:function(e){return p.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 p.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};n=function(e){c()(n,e);var t=u()(n);function n(e){var r;return s()(this,n),r=t.call(this,e),d()(l()(r),"innerSliderRefHandler",(function(e){return r.innerSlider=e})),d()(l()(r),"slickPrev",(function(){return r.innerSlider.slickPrev()})),d()(l()(r),"slickNext",(function(){return r.innerSlider.slickNext()})),d()(l()(r),"slickGoTo",(function(e){return r.innerSlider.slickGoTo(e,1<arguments.length&&void 0!==arguments[1]&&arguments[1])})),d()(l()(r),"slickPause",(function(){return r.innerSlider.pause("paused")})),d()(l()(r),"slickPlay",(function(){return r.innerSlider.autoPlay("play")})),r.state={breakpoint:null},r._responsiveMediaHandlers=[],r}return a()(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:"componentDidMount",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){r=0===r?Z()({minWidth:0,maxWidth:t}):Z()({minWidth:e[r-1]+1,maxWidth:t}),b()&&n.media(r,(function(){n.setState({breakpoint:t})}))})),t=Z()({minWidth:e.slice(-1)[0]}),b())&&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=this,t=this.state.breakpoint?"unslick"===(r=this.props.responsive.filter((function(t){return t.breakpoint===e.state.breakpoint})))[0].settings?"unslick":o()(o()(o()({},$),this.props),r[0].settings):o()(o()({},$),this.props);t.centerMode&&(t.slidesToScroll,t.slidesToScroll=1),t.fade&&(t.slidesToShow,t.slidesToScroll,t.slidesToShow=1,t.slidesToScroll=1);var n=(n=p.a.Children.toArray(this.props.children)).filter((function(e){return"string"==typeof e?!!e.trim():!!e}));t.variableWidth&&(1<t.rows||1<t.slidesPerRow)&&(console.warn("variableWidth is not supported in case of rows > 1 or slidesPerRow > 1"),t.variableWidth=!1);for(var r,s=[],a=null,l=0;l<n.length;l+=t.rows*t.slidesPerRow){for(var c=[],u=l;u<l+t.rows*t.slidesPerRow;u+=t.slidesPerRow){for(var d=[],f=u;f<u+t.slidesPerRow&&(t.variableWidth&&n[f].props.style&&(a=n[f].props.style.width),!(f>=n.length));f+=1)d.push(p.a.cloneElement(n[f],{key:100*l+10*u+f,tabIndex:-1,style:{width:"".concat(100/t.slidesPerRow,"%"),display:"inline-block"}}));c.push(p.a.createElement("div",{key:10*l+u},d))}t.variableWidth?s.push(p.a.createElement("div",{key:l,style:{width:a}},c)):s.push(p.a.createElement("div",{key:l},c))}return"unslick"===t?(r="regular slider "+(this.props.className||""),p.a.createElement("div",{className:r},n)):(s.length<=t.slidesToShow&&(t.unslick=!0),p.a.createElement(K,i()({style:this.props.style,ref:this.innerSliderRefHandler},t),s))}}]),n}(p.a.Component);t.default=n}],r={},t.m=n,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=23);function t(e){var i;return(r[e]||(i=r[e]={i:e,l:!1,exports:{}},n[e].call(i.exports,i,i.exports,t),i.l=!0,i)).exports}var n,r})); | ||
//# sourceMappingURL=react-slick.min.js.map |
@@ -640,3 +640,4 @@ "use strict"; | ||
innerSliderProps = { | ||
className: className | ||
className: className, | ||
style: _this.props.style | ||
}; | ||
@@ -643,0 +644,0 @@ } |
@@ -645,3 +645,4 @@ "use strict"; | ||
innerSliderProps = { | ||
className: className | ||
className: className, | ||
style: _this.props.style | ||
}; | ||
@@ -648,0 +649,0 @@ } |
{ | ||
"name": "@ant-design/react-slick", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": " React port of slick carousel", | ||
@@ -21,3 +21,3 @@ "main": "./lib", | ||
"build": "npm run lib && npm run es && gulp dist", | ||
"prepublishOnly": "npm run build", | ||
"prepublishOnly": "npm run build && np --no-cleanup --no-publish", | ||
"test": "npm run lint && jest", | ||
@@ -77,2 +77,3 @@ "test:watch": "jest --watch", | ||
"lint-staged": "^12.1.2", | ||
"np": "^8.0.4", | ||
"opn": "^5.4.0", | ||
@@ -79,0 +80,0 @@ "postcss-loader": "^1.3.3", |
@@ -42,2 +42,3 @@ // Type definitions for react-slick 0.23 | ||
className?: string; | ||
style?: React.CSSProperties; | ||
cssEase?: string; | ||
@@ -44,0 +45,0 @@ customPaging?(index: number): JSX.Element; |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
829072
8560
49