-
Notifications
You must be signed in to change notification settings - Fork 31
/
27428.3104898c.iframe.bundle.js
1 lines (1 loc) · 48.9 KB
/
27428.3104898c.iframe.bundle.js
1
(globalThis.webpackChunkmetamask_crx=globalThis.webpackChunkmetamask_crx||[]).push([[27428],{"./node_modules/react-easy-swipe/lib/index.js":function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__,factory;factory=function(exports,_reactSwipe){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _reactSwipe2=_interopRequireDefault(_reactSwipe);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}exports.default=_reactSwipe2.default},__WEBPACK_AMD_DEFINE_ARRAY__=[exports,__webpack_require__("./node_modules/react-easy-swipe/lib/react-swipe.js")],void 0!==(__WEBPACK_AMD_DEFINE_RESULT__=factory.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__))&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)},"./node_modules/react-easy-swipe/lib/react-swipe.js":function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__,factory;factory=function(exports,_react,_propTypes){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.setHasSupportToCaptureOption=setHasSupportToCaptureOption;var _react2=_interopRequireDefault(_react),_propTypes2=_interopRequireDefault(_propTypes);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target};function _objectWithoutProperties(obj,keys){var target={};for(var i in obj)!(keys.indexOf(i)>=0)&&Object.prototype.hasOwnProperty.call(obj,i)&&(target[i]=obj[i]);return target}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw TypeError("Cannot call a class as a function")}var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){return protoProps&&defineProperties(Constructor.prototype,protoProps),staticProps&&defineProperties(Constructor,staticProps),Constructor}}();function _possibleConstructorReturn(self,call){if(!self)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return call&&("object"==typeof call||"function"==typeof call)?call:self}function _inherits(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw TypeError("Super expression must either be null or a function, not "+typeof superClass);subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:!1,writable:!0,configurable:!0}}),superClass&&(Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass)}var supportsCaptureOption=!1;function setHasSupportToCaptureOption(hasSupport){supportsCaptureOption=hasSupport}try{addEventListener("test",null,Object.defineProperty({},"capture",{get:function get(){supportsCaptureOption=!0}}))}catch(e){}function getSafeEventHandlerOpts(){var options=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{capture:!0};return supportsCaptureOption?options:options.capture}function getPosition(event){if("touches"in event){var _event$touches$=event.touches[0];return{x:_event$touches$.pageX,y:_event$touches$.pageY}}return{x:event.screenX,y:event.screenY}}var ReactSwipe=function(_Component){function ReactSwipe(){_classCallCheck(this,ReactSwipe);for(var _ref,_len=arguments.length,args=Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];var _this=_possibleConstructorReturn(this,(_ref=ReactSwipe.__proto__||Object.getPrototypeOf(ReactSwipe)).call.apply(_ref,[this].concat(args)));return _this._handleSwipeStart=_this._handleSwipeStart.bind(_this),_this._handleSwipeMove=_this._handleSwipeMove.bind(_this),_this._handleSwipeEnd=_this._handleSwipeEnd.bind(_this),_this._onMouseDown=_this._onMouseDown.bind(_this),_this._onMouseMove=_this._onMouseMove.bind(_this),_this._onMouseUp=_this._onMouseUp.bind(_this),_this._setSwiperRef=_this._setSwiperRef.bind(_this),_this}return _inherits(ReactSwipe,_Component),_createClass(ReactSwipe,[{key:"componentDidMount",value:function componentDidMount(){this.swiper&&this.swiper.addEventListener("touchmove",this._handleSwipeMove,getSafeEventHandlerOpts({capture:!0,passive:!1}))}},{key:"componentWillUnmount",value:function componentWillUnmount(){this.swiper&&this.swiper.removeEventListener("touchmove",this._handleSwipeMove,getSafeEventHandlerOpts({capture:!0,passive:!1}))}},{key:"_onMouseDown",value:function _onMouseDown(event){this.props.allowMouseEvents&&(this.mouseDown=!0,document.addEventListener("mouseup",this._onMouseUp),document.addEventListener("mousemove",this._onMouseMove),this._handleSwipeStart(event))}},{key:"_onMouseMove",value:function _onMouseMove(event){this.mouseDown&&this._handleSwipeMove(event)}},{key:"_onMouseUp",value:function _onMouseUp(event){this.mouseDown=!1,document.removeEventListener("mouseup",this._onMouseUp),document.removeEventListener("mousemove",this._onMouseMove),this._handleSwipeEnd(event)}},{key:"_handleSwipeStart",value:function _handleSwipeStart(event){var _getPosition=getPosition(event),x=_getPosition.x,y=_getPosition.y;this.moveStart={x:x,y:y},this.props.onSwipeStart(event)}},{key:"_handleSwipeMove",value:function _handleSwipeMove(event){if(this.moveStart){var _getPosition2=getPosition(event),x=_getPosition2.x,y=_getPosition2.y,deltaX=x-this.moveStart.x,deltaY=y-this.moveStart.y;this.moving=!0,this.props.onSwipeMove({x:deltaX,y:deltaY},event)&&event.cancelable&&event.preventDefault(),this.movePosition={deltaX:deltaX,deltaY:deltaY}}}},{key:"_handleSwipeEnd",value:function _handleSwipeEnd(event){this.props.onSwipeEnd(event);var tolerance=this.props.tolerance;this.moving&&this.movePosition&&(this.movePosition.deltaX<-tolerance?this.props.onSwipeLeft(1,event):this.movePosition.deltaX>tolerance&&this.props.onSwipeRight(1,event),this.movePosition.deltaY<-tolerance?this.props.onSwipeUp(1,event):this.movePosition.deltaY>tolerance&&this.props.onSwipeDown(1,event)),this.moveStart=null,this.moving=!1,this.movePosition=null}},{key:"_setSwiperRef",value:function _setSwiperRef(node){this.swiper=node,this.props.innerRef(node)}},{key:"render",value:function render(){var _props=this.props,className=(_props.tagName,_props.className),style=_props.style,children=_props.children,props=(_props.allowMouseEvents,_props.onSwipeUp,_props.onSwipeDown,_props.onSwipeLeft,_props.onSwipeRight,_props.onSwipeStart,_props.onSwipeMove,_props.onSwipeEnd,_props.innerRef,_props.tolerance,_objectWithoutProperties(_props,["tagName","className","style","children","allowMouseEvents","onSwipeUp","onSwipeDown","onSwipeLeft","onSwipeRight","onSwipeStart","onSwipeMove","onSwipeEnd","innerRef","tolerance"]));return _react2.default.createElement(this.props.tagName,_extends({ref:this._setSwiperRef,onMouseDown:this._onMouseDown,onTouchStart:this._handleSwipeStart,onTouchEnd:this._handleSwipeEnd,className:className,style:style},props),children)}}]),ReactSwipe}(_react.Component);ReactSwipe.displayName="ReactSwipe",ReactSwipe.propTypes={tagName:_propTypes2.default.string,className:_propTypes2.default.string,style:_propTypes2.default.object,children:_propTypes2.default.node,allowMouseEvents:_propTypes2.default.bool,onSwipeUp:_propTypes2.default.func,onSwipeDown:_propTypes2.default.func,onSwipeLeft:_propTypes2.default.func,onSwipeRight:_propTypes2.default.func,onSwipeStart:_propTypes2.default.func,onSwipeMove:_propTypes2.default.func,onSwipeEnd:_propTypes2.default.func,innerRef:_propTypes2.default.func,tolerance:_propTypes2.default.number.isRequired},ReactSwipe.defaultProps={tagName:"div",allowMouseEvents:!1,onSwipeUp:function onSwipeUp(){},onSwipeDown:function onSwipeDown(){},onSwipeLeft:function onSwipeLeft(){},onSwipeRight:function onSwipeRight(){},onSwipeStart:function onSwipeStart(){},onSwipeMove:function onSwipeMove(){},onSwipeEnd:function onSwipeEnd(){},innerRef:function innerRef(){},tolerance:0},exports.default=ReactSwipe},__WEBPACK_AMD_DEFINE_ARRAY__=[exports,__webpack_require__("./node_modules/react/index.js"),__webpack_require__("./node_modules/prop-types/index.js")],void 0!==(__WEBPACK_AMD_DEFINE_RESULT__=factory.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__))&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)},"./node_modules/react-responsive-carousel/lib/js/CSSTranslate.js":(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0,exports.default=function _default(position,metric,axis){var positionPercent=0===position?position:position+metric;return"translate3d("+("horizontal"===axis?[positionPercent,0,0]:[0,positionPercent,0]).join(",")+")"}},"./node_modules/react-responsive-carousel/lib/js/components/Carousel.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _react=_interopRequireWildcard(__webpack_require__("./node_modules/react/index.js")),_reactDom=_interopRequireDefault(__webpack_require__("./node_modules/react-dom/index.js")),_reactEasySwipe=_interopRequireDefault(__webpack_require__("./node_modules/react-easy-swipe/lib/index.js")),_cssClasses=_interopRequireDefault(__webpack_require__("./node_modules/react-responsive-carousel/lib/js/cssClasses.js")),_CSSTranslate=_interopRequireDefault(__webpack_require__("./node_modules/react-responsive-carousel/lib/js/CSSTranslate.js")),_Thumbs=_interopRequireDefault(__webpack_require__("./node_modules/react-responsive-carousel/lib/js/components/Thumbs.js")),_document=_interopRequireDefault(__webpack_require__("./node_modules/react-responsive-carousel/lib/js/shims/document.js")),_window=_interopRequireDefault(__webpack_require__("./node_modules/react-responsive-carousel/lib/js/shims/window.js"));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _getRequireWildcardCache(){if("function"!=typeof WeakMap)return null;var cache=new WeakMap;return _getRequireWildcardCache=function _getRequireWildcardCache(){return cache},cache}function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;if(null===obj||"object"!==_typeof(obj)&&"function"!=typeof obj)return{default:obj};var cache=_getRequireWildcardCache();if(cache&&cache.has(obj))return cache.get(obj);var newObj={},hasPropertyDescriptor=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var key in obj)if(Object.prototype.hasOwnProperty.call(obj,key)){var desc=hasPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):null;desc&&(desc.get||desc.set)?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}return newObj.default=obj,cache&&cache.set(obj,newObj),newObj}function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable})),keys.push.apply(keys,symbols)}return keys}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?ownKeys(Object(source),!0).forEach(function(key){_defineProperty(target,key,source[key])}):Object.getOwnPropertyDescriptors?Object.defineProperties(target,Object.getOwnPropertyDescriptors(source)):ownKeys(Object(source)).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key))})}return target}function _extends(){return(_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target}).apply(this,arguments)}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){return protoProps&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),Constructor}function _inherits(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),superClass&&_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){return(_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){return o.__proto__=p,o})(o,p)}function _createSuper(Derived){var hasNativeReflectConstruct=_isNativeReflectConstruct();return function _createSuperInternal(){var result,Super=_getPrototypeOf(Derived);return result=hasNativeReflectConstruct?Reflect.construct(Super,arguments,_getPrototypeOf(this).constructor):Super.apply(this,arguments),_possibleConstructorReturn(this,result)}}function _possibleConstructorReturn(self,call){return call&&("object"===_typeof(call)||"function"==typeof call)?call:_assertThisInitialized(self)}function _assertThisInitialized(self){if(void 0===self)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return self}function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}function _getPrototypeOf(o){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)})(o)}function _defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}var noop=function noop(){},Carousel=function(_React$Component){_inherits(Carousel,_React$Component);var _super=_createSuper(Carousel);function Carousel(props){var _this;return _classCallCheck(this,Carousel),_defineProperty(_assertThisInitialized(_this=_super.call(this,props)),"thumbsRef",void 0),_defineProperty(_assertThisInitialized(_this),"carouselWrapperRef",void 0),_defineProperty(_assertThisInitialized(_this),"listRef",void 0),_defineProperty(_assertThisInitialized(_this),"itemsRef",void 0),_defineProperty(_assertThisInitialized(_this),"timer",void 0),_defineProperty(_assertThisInitialized(_this),"setThumbsRef",function(node){_this.thumbsRef=node}),_defineProperty(_assertThisInitialized(_this),"setCarouselWrapperRef",function(node){_this.carouselWrapperRef=node}),_defineProperty(_assertThisInitialized(_this),"setListRef",function(node){_this.listRef=node}),_defineProperty(_assertThisInitialized(_this),"setItemsRef",function(node,index){_this.itemsRef||(_this.itemsRef=[]),_this.itemsRef[index]=node}),_defineProperty(_assertThisInitialized(_this),"autoPlay",function(){1>=_react.Children.count(_this.props.children)||(_this.clearAutoPlay(),_this.timer=setTimeout(function(){_this.increment()},_this.props.interval))}),_defineProperty(_assertThisInitialized(_this),"clearAutoPlay",function(){_this.timer&&clearTimeout(_this.timer)}),_defineProperty(_assertThisInitialized(_this),"resetAutoPlay",function(){_this.clearAutoPlay(),_this.autoPlay()}),_defineProperty(_assertThisInitialized(_this),"stopOnHover",function(){_this.setState({isMouseEntered:!0},_this.clearAutoPlay)}),_defineProperty(_assertThisInitialized(_this),"startOnLeave",function(){_this.setState({isMouseEntered:!1},_this.autoPlay)}),_defineProperty(_assertThisInitialized(_this),"isFocusWithinTheCarousel",function(){return!!_this.carouselWrapperRef&&!!((0,_document.default)().activeElement===_this.carouselWrapperRef||_this.carouselWrapperRef.contains((0,_document.default)().activeElement))}),_defineProperty(_assertThisInitialized(_this),"navigateWithKeyboard",function(e){if(_this.isFocusWithinTheCarousel()){var isHorizontal="horizontal"===_this.props.axis,keyNames={ArrowUp:38,ArrowRight:39,ArrowDown:40,ArrowLeft:37},nextKey=isHorizontal?keyNames.ArrowRight:keyNames.ArrowDown,prevKey=isHorizontal?keyNames.ArrowLeft:keyNames.ArrowUp;nextKey===e.keyCode?_this.increment():prevKey===e.keyCode&&_this.decrement()}}),_defineProperty(_assertThisInitialized(_this),"updateSizes",function(){if(_this.state.initialized&&_this.itemsRef&&0!==_this.itemsRef.length){var isHorizontal="horizontal"===_this.props.axis,firstItem=_this.itemsRef[0];if(firstItem){var itemSize=isHorizontal?firstItem.clientWidth:firstItem.clientHeight;_this.setState({itemSize:itemSize}),_this.thumbsRef&&_this.thumbsRef.updateSizes()}}}),_defineProperty(_assertThisInitialized(_this),"setMountState",function(){_this.setState({hasMount:!0}),_this.updateSizes()}),_defineProperty(_assertThisInitialized(_this),"handleClickItem",function(index,item){if(0!==_react.Children.count(_this.props.children)){if(_this.state.cancelClick){_this.setState({cancelClick:!1});return}_this.props.onClickItem(index,item),index!==_this.state.selectedItem&&_this.setState({selectedItem:index})}}),_defineProperty(_assertThisInitialized(_this),"handleOnChange",function(index,item){1>=_react.Children.count(_this.props.children)||_this.props.onChange(index,item)}),_defineProperty(_assertThisInitialized(_this),"handleClickThumb",function(index,item){_this.props.onClickThumb(index,item),_this.moveTo(index)}),_defineProperty(_assertThisInitialized(_this),"onSwipeStart",function(event){_this.setState({swiping:!0}),_this.props.onSwipeStart(event),_this.clearAutoPlay()}),_defineProperty(_assertThisInitialized(_this),"onSwipeEnd",function(event){_this.setState({swiping:!1,cancelClick:!1,swipeMovementStarted:!1}),_this.props.onSwipeEnd(event),_this.autoPlay()}),_defineProperty(_assertThisInitialized(_this),"onSwipeMove",function(delta,event){_this.props.onSwipeMove(event);var isHorizontal="horizontal"===_this.props.axis,childrenLength=_react.Children.count(_this.props.children),currentPosition=_this.getPosition(_this.state.selectedItem),finalBoundry=_this.props.infiniteLoop?_this.getPosition(childrenLength-1)-100:_this.getPosition(childrenLength-1),axisDelta=isHorizontal?delta.x:delta.y,handledDelta=axisDelta;0===currentPosition&&axisDelta>0&&(handledDelta=0),currentPosition===finalBoundry&&axisDelta<0&&(handledDelta=0);var position=currentPosition+100/(_this.state.itemSize/handledDelta),hasMoved=Math.abs(axisDelta)>_this.props.swipeScrollTolerance;return _this.props.infiniteLoop&&hasMoved&&(0===_this.state.selectedItem&&position>-100?position-=100*childrenLength:_this.state.selectedItem===childrenLength-1&&position<-(100*childrenLength)&&(position+=100*childrenLength)),(!_this.props.preventMovementUntilSwipeScrollTolerance||hasMoved||_this.state.swipeMovementStarted)&&(_this.state.swipeMovementStarted||_this.setState({swipeMovementStarted:!0}),_this.setPosition(position)),hasMoved&&!_this.state.cancelClick&&_this.setState({cancelClick:!0}),hasMoved}),_defineProperty(_assertThisInitialized(_this),"setPosition",function(position,forceReflow){var list=_reactDom.default.findDOMNode(_this.listRef);list instanceof HTMLElement&&(["WebkitTransform","MozTransform","MsTransform","OTransform","transform","msTransform"].forEach(function(prop){list.style[prop]=(0,_CSSTranslate.default)(position,"%",_this.props.axis)}),forceReflow&&list.offsetLeft)}),_defineProperty(_assertThisInitialized(_this),"resetPosition",function(){var currentPosition=_this.getPosition(_this.state.selectedItem);_this.setPosition(currentPosition)}),_defineProperty(_assertThisInitialized(_this),"decrement",function(){var positions=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,fromSwipe=arguments.length>1&&void 0!==arguments[1]&&arguments[1];_this.moveTo(_this.state.selectedItem-("number"==typeof positions?positions:1),fromSwipe)}),_defineProperty(_assertThisInitialized(_this),"increment",function(){var positions=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,fromSwipe=arguments.length>1&&void 0!==arguments[1]&&arguments[1];_this.moveTo(_this.state.selectedItem+("number"==typeof positions?positions:1),fromSwipe)}),_defineProperty(_assertThisInitialized(_this),"moveTo",function(position,fromSwipe){if("number"==typeof position){var lastPosition=_react.Children.count(_this.props.children)-1,needClonedSlide=_this.props.infiniteLoop&&!fromSwipe&&(position<0||position>lastPosition),oldPosition=position;position<0&&(position=_this.props.infiniteLoop?lastPosition:0),position>lastPosition&&(position=_this.props.infiniteLoop?0:lastPosition),needClonedSlide?_this.setState({swiping:!0},function(){oldPosition<0?_this.props.centerMode&&_this.props.centerSlidePercentage&&"horizontal"===_this.props.axis?_this.setPosition(-(lastPosition+2)*_this.props.centerSlidePercentage-(100-_this.props.centerSlidePercentage)/2,!0):_this.setPosition(-(100*(lastPosition+2)),!0):oldPosition>lastPosition&&_this.setPosition(0,!0),_this.selectItem({selectedItem:position,swiping:!1})}):_this.selectItem({selectedItem:position}),_this.state.autoPlay&&!1===_this.state.isMouseEntered&&_this.resetAutoPlay()}}),_defineProperty(_assertThisInitialized(_this),"onClickNext",function(){_this.increment(1,!1)}),_defineProperty(_assertThisInitialized(_this),"onClickPrev",function(){_this.decrement(1,!1)}),_defineProperty(_assertThisInitialized(_this),"onSwipeForward",function(){_this.increment(1,!0),_this.props.emulateTouch&&_this.setState({cancelClick:!0})}),_defineProperty(_assertThisInitialized(_this),"onSwipeBackwards",function(){_this.decrement(1,!0),_this.props.emulateTouch&&_this.setState({cancelClick:!0})}),_defineProperty(_assertThisInitialized(_this),"changeItem",function(newIndex){return function(e){e&&e.hasOwnProperty("key")&&"Enter"!==e.key||_this.moveTo(newIndex)}}),_defineProperty(_assertThisInitialized(_this),"selectItem",function(state,cb){_this.setState(state,cb),_this.handleOnChange(state.selectedItem,_react.Children.toArray(_this.props.children)[state.selectedItem])}),_defineProperty(_assertThisInitialized(_this),"getInitialImage",function(){var selectedItem=_this.props.selectedItem,item=_this.itemsRef&&_this.itemsRef[selectedItem];return(item&&item.getElementsByTagName("img")||[])[0]}),_defineProperty(_assertThisInitialized(_this),"getVariableItemHeight",function(position){var item=_this.itemsRef&&_this.itemsRef[position];if(_this.state.hasMount&&item&&item.children.length){var slideImages=item.children[0].getElementsByTagName("img")||[];if(slideImages.length>0){var image=slideImages[0];image.complete||image.addEventListener("load",function onImageLoad(){_this.forceUpdate(),image.removeEventListener("load",onImageLoad)})}var height=(slideImages[0]||item.children[0]).clientHeight;return height>0?height:null}return null}),_this.state={initialized:!1,selectedItem:props.selectedItem,hasMount:!1,isMouseEntered:!1,autoPlay:props.autoPlay,swiping:!1,swipeMovementStarted:!1,cancelClick:!1,itemSize:1},_this}return _createClass(Carousel,[{key:"componentDidMount",value:function componentDidMount(){this.props.children&&this.setupCarousel()}},{key:"componentDidUpdate",value:function componentDidUpdate(prevProps,prevState){prevProps.children||!this.props.children||this.state.initialized||this.setupCarousel(),!prevProps.autoFocus&&this.props.autoFocus&&this.forceFocus(),prevState.swiping&&!this.state.swiping&&this.resetPosition(),(prevProps.selectedItem!==this.props.selectedItem||prevProps.centerMode!==this.props.centerMode)&&(this.updateSizes(),this.moveTo(this.props.selectedItem)),prevProps.autoPlay!==this.props.autoPlay&&(this.props.autoPlay?this.setupAutoPlay():this.destroyAutoPlay(),this.setState({autoPlay:this.props.autoPlay}))}},{key:"componentWillUnmount",value:function componentWillUnmount(){this.destroyCarousel()}},{key:"setupCarousel",value:function setupCarousel(){var _this2=this;this.bindEvents(),this.state.autoPlay&&_react.Children.count(this.props.children)>1&&this.setupAutoPlay(),this.props.autoFocus&&this.forceFocus(),this.setState({initialized:!0},function(){var initialImage=_this2.getInitialImage();initialImage&&!initialImage.complete?initialImage.addEventListener("load",_this2.setMountState):_this2.setMountState()})}},{key:"destroyCarousel",value:function destroyCarousel(){this.state.initialized&&(this.unbindEvents(),this.destroyAutoPlay())}},{key:"setupAutoPlay",value:function setupAutoPlay(){this.autoPlay();var carouselWrapper=this.carouselWrapperRef;this.props.stopOnHover&&carouselWrapper&&(carouselWrapper.addEventListener("mouseenter",this.stopOnHover),carouselWrapper.addEventListener("mouseleave",this.startOnLeave))}},{key:"destroyAutoPlay",value:function destroyAutoPlay(){this.clearAutoPlay();var carouselWrapper=this.carouselWrapperRef;this.props.stopOnHover&&carouselWrapper&&(carouselWrapper.removeEventListener("mouseenter",this.stopOnHover),carouselWrapper.removeEventListener("mouseleave",this.startOnLeave))}},{key:"bindEvents",value:function bindEvents(){(0,_window.default)().addEventListener("resize",this.updateSizes),(0,_window.default)().addEventListener("DOMContentLoaded",this.updateSizes),this.props.useKeyboardArrows&&(0,_document.default)().addEventListener("keydown",this.navigateWithKeyboard)}},{key:"unbindEvents",value:function unbindEvents(){(0,_window.default)().removeEventListener("resize",this.updateSizes),(0,_window.default)().removeEventListener("DOMContentLoaded",this.updateSizes);var initialImage=this.getInitialImage();initialImage&&initialImage.removeEventListener("load",this.setMountState),this.props.useKeyboardArrows&&(0,_document.default)().removeEventListener("keydown",this.navigateWithKeyboard)}},{key:"forceFocus",value:function forceFocus(){var _this$carouselWrapper;null===(_this$carouselWrapper=this.carouselWrapperRef)||void 0===_this$carouselWrapper||_this$carouselWrapper.focus()}},{key:"getPosition",value:function getPosition(index){if(this.props.infiniteLoop&&++index,0===index)return 0;var childrenLength=_react.Children.count(this.props.children);if(this.props.centerMode&&"horizontal"===this.props.axis){var currentPosition=-index*this.props.centerSlidePercentage,lastPosition=childrenLength-1;return index&&(index!==lastPosition||this.props.infiniteLoop)?currentPosition+=(100-this.props.centerSlidePercentage)/2:index===lastPosition&&(currentPosition+=100-this.props.centerSlidePercentage),currentPosition}return-(100*index)}},{key:"renderItems",value:function renderItems(isClone){var _this3=this;return this.props.children?_react.Children.map(this.props.children,function(item,index){var slideProps={ref:function ref(e){return _this3.setItemsRef(e,index)},key:"itemKey"+index+(isClone?"clone":""),className:_cssClasses.default.ITEM(!0,index===_this3.state.selectedItem),onClick:_this3.handleClickItem.bind(_this3,index,item)},extraProps={};return _this3.props.centerMode&&"horizontal"===_this3.props.axis&&(extraProps.style={minWidth:_this3.props.centerSlidePercentage+"%"}),_react.default.createElement("li",_extends({},slideProps,extraProps),_this3.props.renderItem(item,{isSelected:index===_this3.state.selectedItem}))}):[]}},{key:"renderControls",value:function renderControls(){var _this4=this,_this$props=this.props,showIndicators=_this$props.showIndicators,labels=_this$props.labels,renderIndicator=_this$props.renderIndicator,children=_this$props.children;return showIndicators?_react.default.createElement("ul",{className:"control-dots"},_react.Children.map(children,function(_,index){return renderIndicator&&renderIndicator(_this4.changeItem(index),index===_this4.state.selectedItem,index,labels.item)})):null}},{key:"renderStatus",value:function renderStatus(){return this.props.showStatus?_react.default.createElement("p",{className:"carousel-status"},this.props.statusFormatter(this.state.selectedItem+1,_react.Children.count(this.props.children))):null}},{key:"renderThumbs",value:function renderThumbs(){return this.props.showThumbs&&this.props.children&&0!==_react.Children.count(this.props.children)?_react.default.createElement(_Thumbs.default,{ref:this.setThumbsRef,onSelectItem:this.handleClickThumb,selectedItem:this.state.selectedItem,transitionTime:this.props.transitionTime,thumbWidth:this.props.thumbWidth,labels:this.props.labels},this.props.renderThumbs(this.props.children)):null}},{key:"render",value:function render(){var _this5=this;if(!this.props.children||0===_react.Children.count(this.props.children))return null;var isSwipeable=this.props.swipeable&&_react.Children.count(this.props.children)>1,isHorizontal="horizontal"===this.props.axis,canShowArrows=this.props.showArrows&&_react.Children.count(this.props.children)>1,hasPrev=canShowArrows&&(this.state.selectedItem>0||this.props.infiniteLoop)||!1,hasNext=canShowArrows&&(this.state.selectedItem<_react.Children.count(this.props.children)-1||this.props.infiniteLoop)||!1,itemListStyles={},currentPosition=this.getPosition(this.state.selectedItem),transformProp=(0,_CSSTranslate.default)(currentPosition,"%",this.props.axis),transitionTime=this.props.transitionTime+"ms";itemListStyles={WebkitTransform:transformProp,MozTransform:transformProp,MsTransform:transformProp,OTransform:transformProp,transform:transformProp,msTransform:transformProp},this.state.swiping||(itemListStyles=_objectSpread(_objectSpread({},itemListStyles),{},{WebkitTransitionDuration:transitionTime,MozTransitionDuration:transitionTime,MsTransitionDuration:transitionTime,OTransitionDuration:transitionTime,transitionDuration:transitionTime,msTransitionDuration:transitionTime}));var itemsClone=this.renderItems(!0),firstClone=itemsClone.shift(),lastClone=itemsClone.pop(),swiperProps={className:_cssClasses.default.SLIDER(!0,this.state.swiping),onSwipeMove:this.onSwipeMove,onSwipeStart:this.onSwipeStart,onSwipeEnd:this.onSwipeEnd,style:itemListStyles,tolerance:this.props.swipeScrollTolerance},containerStyles={};if(isHorizontal){if(swiperProps.onSwipeLeft=this.onSwipeForward,swiperProps.onSwipeRight=this.onSwipeBackwards,this.props.dynamicHeight){var itemHeight=this.getVariableItemHeight(this.state.selectedItem);swiperProps.style.height=itemHeight||"auto",containerStyles.height=itemHeight||"auto"}}else swiperProps.onSwipeUp="natural"===this.props.verticalSwipe?this.onSwipeBackwards:this.onSwipeForward,swiperProps.onSwipeDown="natural"===this.props.verticalSwipe?this.onSwipeForward:this.onSwipeBackwards,swiperProps.style.height=this.state.itemSize,containerStyles.height=this.state.itemSize;return _react.default.createElement("div",{className:_cssClasses.default.ROOT(this.props.className),ref:this.setCarouselWrapperRef,tabIndex:0},_react.default.createElement("div",{className:_cssClasses.default.CAROUSEL(!0),style:{width:this.props.width}},this.renderControls(),this.props.renderArrowPrev(this.onClickPrev,hasPrev,this.props.labels.leftArrow),_react.default.createElement("div",{className:_cssClasses.default.WRAPPER(!0,this.props.axis),style:containerStyles},isSwipeable?_react.default.createElement(_reactEasySwipe.default,_extends({tagName:"ul",innerRef:this.setListRef},swiperProps,{allowMouseEvents:this.props.emulateTouch}),this.props.infiniteLoop&&lastClone,this.renderItems(),this.props.infiniteLoop&&firstClone):_react.default.createElement("ul",{className:_cssClasses.default.SLIDER(!0,this.state.swiping),ref:function ref(node){return _this5.setListRef(node)},style:itemListStyles},this.props.infiniteLoop&&lastClone,this.renderItems(),this.props.infiniteLoop&&firstClone)),this.props.renderArrowNext(this.onClickNext,hasNext,this.props.labels.rightArrow),this.renderStatus()),this.renderThumbs())}}]),Carousel}(_react.default.Component);exports.default=Carousel,_defineProperty(Carousel,"displayName","Carousel"),_defineProperty(Carousel,"defaultProps",{axis:"horizontal",centerSlidePercentage:80,interval:3e3,labels:{leftArrow:"previous slide / item",rightArrow:"next slide / item",item:"slide item"},onClickItem:noop,onClickThumb:noop,onChange:noop,onSwipeStart:function onSwipeStart(){},onSwipeEnd:function onSwipeEnd(){},onSwipeMove:function onSwipeMove(){return!1},preventMovementUntilSwipeScrollTolerance:!1,renderArrowPrev:function renderArrowPrev(onClickHandler,hasPrev,label){return _react.default.createElement("button",{type:"button","aria-label":label,className:_cssClasses.default.ARROW_PREV(!hasPrev),onClick:onClickHandler})},renderArrowNext:function renderArrowNext(onClickHandler,hasNext,label){return _react.default.createElement("button",{type:"button","aria-label":label,className:_cssClasses.default.ARROW_NEXT(!hasNext),onClick:onClickHandler})},renderIndicator:function renderIndicator(onClickHandler,isSelected,index,label){return _react.default.createElement("li",{className:_cssClasses.default.DOT(isSelected),onClick:onClickHandler,onKeyDown:onClickHandler,value:index,key:index,role:"button",tabIndex:0,"aria-label":"".concat(label," ").concat(index+1)})},renderItem:function renderItem(item){return item},renderThumbs:function renderThumbs(children){var images=_react.Children.map(children,function(item){var img=item;if("img"!==item.type&&(img=_react.Children.toArray(item.props.children).find(function(children){return"img"===children.type})),img)return img});return 0===images.filter(function(image){return image}).length?(console.warn("No images found! Can't build the thumb list without images. If you don't need thumbs, set showThumbs={false} in the Carousel. Note that it's not possible to get images rendered inside custom components. More info at https://github.com/leandrowd/react-responsive-carousel/blob/master/TROUBLESHOOTING.md"),[]):images},statusFormatter:function defaultStatusFormatter(current,total){return"".concat(current," of ").concat(total)},selectedItem:0,showArrows:!0,showIndicators:!0,showStatus:!0,showThumbs:!0,stopOnHover:!0,swipeScrollTolerance:5,swipeable:!0,transitionTime:350,verticalSwipe:"standard",width:"100%"})},"./node_modules/react-responsive-carousel/lib/js/components/Carousel/types.js":()=>{},"./node_modules/react-responsive-carousel/lib/js/components/Thumbs.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _react=_interopRequireWildcard(__webpack_require__("./node_modules/react/index.js")),_cssClasses=_interopRequireDefault(__webpack_require__("./node_modules/react-responsive-carousel/lib/js/cssClasses.js")),_dimensions=__webpack_require__("./node_modules/react-responsive-carousel/lib/js/dimensions.js"),_CSSTranslate=_interopRequireDefault(__webpack_require__("./node_modules/react-responsive-carousel/lib/js/CSSTranslate.js")),_reactEasySwipe=_interopRequireDefault(__webpack_require__("./node_modules/react-easy-swipe/lib/index.js")),_window=_interopRequireDefault(__webpack_require__("./node_modules/react-responsive-carousel/lib/js/shims/window.js"));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _getRequireWildcardCache(){if("function"!=typeof WeakMap)return null;var cache=new WeakMap;return _getRequireWildcardCache=function _getRequireWildcardCache(){return cache},cache}function _interopRequireWildcard(obj){if(obj&&obj.__esModule)return obj;if(null===obj||"object"!==_typeof(obj)&&"function"!=typeof obj)return{default:obj};var cache=_getRequireWildcardCache();if(cache&&cache.has(obj))return cache.get(obj);var newObj={},hasPropertyDescriptor=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var key in obj)if(Object.prototype.hasOwnProperty.call(obj,key)){var desc=hasPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):null;desc&&(desc.get||desc.set)?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}return newObj.default=obj,cache&&cache.set(obj,newObj),newObj}function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}function _extends(){return(_extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target}).apply(this,arguments)}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}function _createClass(Constructor,protoProps,staticProps){return protoProps&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),Constructor}function _inherits(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),superClass&&_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){return(_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(o,p){return o.__proto__=p,o})(o,p)}function _createSuper(Derived){var hasNativeReflectConstruct=_isNativeReflectConstruct();return function _createSuperInternal(){var result,Super=_getPrototypeOf(Derived);return result=hasNativeReflectConstruct?Reflect.construct(Super,arguments,_getPrototypeOf(this).constructor):Super.apply(this,arguments),_possibleConstructorReturn(this,result)}}function _possibleConstructorReturn(self,call){return call&&("object"===_typeof(call)||"function"==typeof call)?call:_assertThisInitialized(self)}function _assertThisInitialized(self){if(void 0===self)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return self}function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}function _getPrototypeOf(o){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)})(o)}function _defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}var Thumbs=function(_Component){_inherits(Thumbs,_Component);var _super=_createSuper(Thumbs);function Thumbs(_props){var _this;return _classCallCheck(this,Thumbs),_defineProperty(_assertThisInitialized(_this=_super.call(this,_props)),"itemsWrapperRef",void 0),_defineProperty(_assertThisInitialized(_this),"itemsListRef",void 0),_defineProperty(_assertThisInitialized(_this),"thumbsRef",void 0),_defineProperty(_assertThisInitialized(_this),"setItemsWrapperRef",function(node){_this.itemsWrapperRef=node}),_defineProperty(_assertThisInitialized(_this),"setItemsListRef",function(node){_this.itemsListRef=node}),_defineProperty(_assertThisInitialized(_this),"setThumbsRef",function(node,index){_this.thumbsRef||(_this.thumbsRef=[]),_this.thumbsRef[index]=node}),_defineProperty(_assertThisInitialized(_this),"updateSizes",function(){if(_this.props.children&&_this.itemsWrapperRef&&_this.thumbsRef){var total=_react.Children.count(_this.props.children),wrapperSize=_this.itemsWrapperRef.clientWidth,itemSize=_this.props.thumbWidth?_this.props.thumbWidth:(0,_dimensions.outerWidth)(_this.thumbsRef[0]),visibleItems=Math.floor(wrapperSize/itemSize),showArrows=visibleItems<total,lastPosition=showArrows?total-visibleItems:0;_this.setState(function(_state,props){return{itemSize:itemSize,visibleItems:visibleItems,firstItem:showArrows?_this.getFirstItem(props.selectedItem):0,lastPosition:lastPosition,showArrows:showArrows}})}}),_defineProperty(_assertThisInitialized(_this),"handleClickItem",function(index,item,e){if(!e.hasOwnProperty("key")||"Enter"===e.key){var handler=_this.props.onSelectItem;"function"==typeof handler&&handler(index,item)}}),_defineProperty(_assertThisInitialized(_this),"onSwipeStart",function(){_this.setState({swiping:!0})}),_defineProperty(_assertThisInitialized(_this),"onSwipeEnd",function(){_this.setState({swiping:!1})}),_defineProperty(_assertThisInitialized(_this),"onSwipeMove",function(delta){var deltaX=delta.x;if(!_this.state.itemSize||!_this.itemsWrapperRef||!_this.state.visibleItems)return!1;var childrenLength=_react.Children.count(_this.props.children),currentPosition=-(100*_this.state.firstItem)/_this.state.visibleItems;0===currentPosition&&deltaX>0&&(deltaX=0),currentPosition===-(100*Math.max(childrenLength-_this.state.visibleItems,0))/_this.state.visibleItems&&deltaX<0&&(deltaX=0);var position=currentPosition+100/(_this.itemsWrapperRef.clientWidth/deltaX);return _this.itemsListRef&&["WebkitTransform","MozTransform","MsTransform","OTransform","transform","msTransform"].forEach(function(prop){_this.itemsListRef.style[prop]=(0,_CSSTranslate.default)(position,"%",_this.props.axis)}),!0}),_defineProperty(_assertThisInitialized(_this),"slideRight",function(positions){_this.moveTo(_this.state.firstItem-("number"==typeof positions?positions:1))}),_defineProperty(_assertThisInitialized(_this),"slideLeft",function(positions){_this.moveTo(_this.state.firstItem+("number"==typeof positions?positions:1))}),_defineProperty(_assertThisInitialized(_this),"moveTo",function(position){position=(position=position<0?0:position)>=_this.state.lastPosition?_this.state.lastPosition:position,_this.setState({firstItem:position})}),_this.state={selectedItem:_props.selectedItem,swiping:!1,showArrows:!1,firstItem:0,visibleItems:0,lastPosition:0},_this}return _createClass(Thumbs,[{key:"componentDidMount",value:function componentDidMount(){this.setupThumbs()}},{key:"UNSAFE_componentWillReceiveProps",value:function UNSAFE_componentWillReceiveProps(props){props.selectedItem!==this.state.selectedItem&&this.setState({selectedItem:props.selectedItem,firstItem:this.getFirstItem(props.selectedItem)})}},{key:"componentDidUpdate",value:function componentDidUpdate(prevProps){this.props.children!==prevProps.children&&this.updateSizes()}},{key:"componentWillUnmount",value:function componentWillUnmount(){this.destroyThumbs()}},{key:"setupThumbs",value:function setupThumbs(){(0,_window.default)().addEventListener("resize",this.updateSizes),(0,_window.default)().addEventListener("DOMContentLoaded",this.updateSizes),this.updateSizes()}},{key:"destroyThumbs",value:function destroyThumbs(){(0,_window.default)().removeEventListener("resize",this.updateSizes),(0,_window.default)().removeEventListener("DOMContentLoaded",this.updateSizes)}},{key:"getFirstItem",value:function getFirstItem(selectedItem){var firstItem=selectedItem;return selectedItem>=this.state.lastPosition&&(firstItem=this.state.lastPosition),selectedItem<this.state.firstItem+this.state.visibleItems&&(firstItem=this.state.firstItem),selectedItem<this.state.firstItem&&(firstItem=selectedItem),firstItem}},{key:"renderItems",value:function renderItems(){var _this2=this;return this.props.children.map(function(img,index){var itemClass=_cssClasses.default.ITEM(!1,index===_this2.state.selectedItem),thumbProps={key:index,ref:function ref(e){return _this2.setThumbsRef(e,index)},className:itemClass,onClick:_this2.handleClickItem.bind(_this2,index,_this2.props.children[index]),onKeyDown:_this2.handleClickItem.bind(_this2,index,_this2.props.children[index]),"aria-label":"".concat(_this2.props.labels.item," ").concat(index+1),style:{width:_this2.props.thumbWidth}};return _react.default.createElement("li",_extends({},thumbProps,{role:"button",tabIndex:0}),img)})}},{key:"render",value:function render(){var _this3=this;if(!this.props.children)return null;var isSwipeable=_react.Children.count(this.props.children)>1,hasPrev=this.state.showArrows&&this.state.firstItem>0,hasNext=this.state.showArrows&&this.state.firstItem<this.state.lastPosition,itemListStyles={},currentPosition=-this.state.firstItem*(this.state.itemSize||0),transformProp=(0,_CSSTranslate.default)(currentPosition,"px",this.props.axis),transitionTime=this.props.transitionTime+"ms";return itemListStyles={WebkitTransform:transformProp,MozTransform:transformProp,MsTransform:transformProp,OTransform:transformProp,transform:transformProp,msTransform:transformProp,WebkitTransitionDuration:transitionTime,MozTransitionDuration:transitionTime,MsTransitionDuration:transitionTime,OTransitionDuration:transitionTime,transitionDuration:transitionTime,msTransitionDuration:transitionTime},_react.default.createElement("div",{className:_cssClasses.default.CAROUSEL(!1)},_react.default.createElement("div",{className:_cssClasses.default.WRAPPER(!1),ref:this.setItemsWrapperRef},_react.default.createElement("button",{type:"button",className:_cssClasses.default.ARROW_PREV(!hasPrev),onClick:function onClick(){return _this3.slideRight()},"aria-label":this.props.labels.leftArrow}),isSwipeable?_react.default.createElement(_reactEasySwipe.default,{tagName:"ul",className:_cssClasses.default.SLIDER(!1,this.state.swiping),onSwipeLeft:this.slideLeft,onSwipeRight:this.slideRight,onSwipeMove:this.onSwipeMove,onSwipeStart:this.onSwipeStart,onSwipeEnd:this.onSwipeEnd,style:itemListStyles,innerRef:this.setItemsListRef,allowMouseEvents:this.props.emulateTouch},this.renderItems()):_react.default.createElement("ul",{className:_cssClasses.default.SLIDER(!1,this.state.swiping),ref:function ref(node){return _this3.setItemsListRef(node)},style:itemListStyles},this.renderItems()),_react.default.createElement("button",{type:"button",className:_cssClasses.default.ARROW_NEXT(!hasNext),onClick:function onClick(){return _this3.slideLeft()},"aria-label":this.props.labels.rightArrow})))}}]),Thumbs}(_react.Component);exports.default=Thumbs,_defineProperty(Thumbs,"displayName","Thumbs"),_defineProperty(Thumbs,"defaultProps",{axis:"horizontal",labels:{leftArrow:"previous slide / item",rightArrow:"next slide / item",item:"slide item"},selectedItem:0,thumbWidth:80,transitionTime:350})},"./node_modules/react-responsive-carousel/lib/js/cssClasses.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _classnames=_interopRequireDefault(__webpack_require__("./node_modules/classnames/index.js"));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}exports.default={ROOT:function ROOT(customClassName){return(0,_classnames.default)(_defineProperty({"carousel-root":!0},customClassName||"",!!customClassName))},CAROUSEL:function CAROUSEL(isSlider){return(0,_classnames.default)({carousel:!0,"carousel-slider":isSlider})},WRAPPER:function WRAPPER(isSlider,axis){return(0,_classnames.default)({"thumbs-wrapper":!isSlider,"slider-wrapper":isSlider,"axis-horizontal":"horizontal"===axis,"axis-vertical":"horizontal"!==axis})},SLIDER:function SLIDER(isSlider,isSwiping){return(0,_classnames.default)({thumbs:!isSlider,slider:isSlider,animated:!isSwiping})},ITEM:function ITEM(isSlider,selected,previous){return(0,_classnames.default)({thumb:!isSlider,slide:isSlider,selected:selected,previous:previous})},ARROW_PREV:function ARROW_PREV(disabled){return(0,_classnames.default)({"control-arrow control-prev":!0,"control-disabled":disabled})},ARROW_NEXT:function ARROW_NEXT(disabled){return(0,_classnames.default)({"control-arrow control-next":!0,"control-disabled":disabled})},DOT:function DOT(selected){return(0,_classnames.default)({dot:!0,selected:selected})}}},"./node_modules/react-responsive-carousel/lib/js/dimensions.js":(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.outerWidth=void 0,exports.outerWidth=function outerWidth(el){var width=el.offsetWidth,style=getComputedStyle(el);return width+(parseInt(style.marginLeft)+parseInt(style.marginRight))}},"./node_modules/react-responsive-carousel/lib/js/index.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";Object.defineProperty(exports,"FN",{enumerable:!0,get:function get(){return _Carousel.default}});var _Carousel=_interopRequireDefault(__webpack_require__("./node_modules/react-responsive-carousel/lib/js/components/Carousel.js"));function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}__webpack_require__("./node_modules/react-responsive-carousel/lib/js/components/Carousel/types.js"),_interopRequireDefault(__webpack_require__("./node_modules/react-responsive-carousel/lib/js/components/Thumbs.js"))},"./node_modules/react-responsive-carousel/lib/js/shims/document.js":(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0,exports.default=function _default(){return document}},"./node_modules/react-responsive-carousel/lib/js/shims/window.js":(__unused_webpack_module,exports)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0,exports.default=function _default(){return window}}}]);