{"version":3,"sources":["webpack:///../node_modules/react-responsive-carousel/node_modules/prop-types/index.js","webpack:///../node_modules/react-responsive-carousel/lib/cssClasses.js","webpack:///../node_modules/react-responsive-carousel/lib/CSSTranslate.js","webpack:///../node_modules/react-easy-swipe/lib/index.js","webpack:///../node_modules/react-responsive-carousel/lib/components/Thumbs.js","webpack:///../node_modules/react-responsive-carousel/lib/styles/carousel.min.css?8ea1","webpack:///../node_modules/react-responsive-carousel/lib/styles/carousel.min.css","webpack:///../node_modules/react-responsive-carousel/lib/index.js","webpack:///../node_modules/react-responsive-carousel/lib/components/Carousel.js","webpack:///../node_modules/react-responsive-carousel/node_modules/prop-types/factoryWithThrowingShims.js","webpack:///../node_modules/react-responsive-carousel/node_modules/prop-types/lib/ReactPropTypesSecret.js","webpack:///../node_modules/react-easy-swipe/lib/react-swipe.js","webpack:///../node_modules/react-easy-swipe/node_modules/prop-types/index.js","webpack:///../node_modules/react-easy-swipe/node_modules/prop-types/factoryWithThrowingShims.js","webpack:///../node_modules/react-easy-swipe/node_modules/prop-types/lib/ReactPropTypesSecret.js","webpack:///../node_modules/react-responsive-carousel/lib/dimensions.js","webpack:///../node_modules/react-responsive-carousel/lib/customPropTypes.js"],"names":["module","exports","__webpack_require__","Object","defineProperty","value","_classnames2","obj","__esModule","default","_interopRequireDefault","CAROUSEL","isSlider","carousel","carousel-slider","WRAPPER","axis","thumbs-wrapper","slider-wrapper","axis-horizontal","axis-vertical","SLIDER","isSwiping","thumbs","slider","animated","ITEM","selected","thumb","slide","ARROW_PREV","disabled","control-arrow control-prev","control-disabled","ARROW_NEXT","control-arrow control-next","DOT","dot","position","join","__WEBPACK_AMD_DEFINE_FACTORY__","__WEBPACK_AMD_DEFINE_ARRAY__","__WEBPACK_AMD_DEFINE_RESULT__","undefined","_reactSwipe","_reactSwipe2","apply","_createClass","defineProperties","target","props","i","length","descriptor","enumerable","configurable","writable","key","Constructor","protoProps","staticProps","prototype","_react","_react2","_propTypes2","_cssClasses2","_dimensions","_CSSTranslate2","_reactEasySwipe2","Thumbs","_Component","instance","TypeError","_classCallCheck","this","_this","self","call","ReferenceError","_possibleConstructorReturn","__proto__","getPrototypeOf","setItemsWrapperRef","node","itemsWrapperRef","setItemsListRef","itemsListRef","setThumbsRef","index","thumbsRef","updateSizes","children","total","wrapperSize","clientWidth","itemSize","thumbWidth","outerWidth","visibleItems","Math","floor","lastPosition","showArrows","setState","firstItem","getFirstItem","selectedItem","setMountState","hasMount","handleClickItem","item","handler","onSelectItem","onSwipeStart","swiping","onSwipeEnd","onSwipeMove","deltaX","currentPosition","state","lastLeftBoundary","forEach","prop","style","slideRight","positions","moveTo","slideLeft","images","getImages","subClass","superClass","create","constructor","setPrototypeOf","_inherits","Component","nextProps","setupThumbs","prevProps","destroyThumbs","window","addEventListener","removeEventListener","Children","map","img","type","toArray","filter","image","console","warn","_this2","itemClass","thumbProps","ref","e","className","onClick","bind","cloneElement","onLoad","createElement","itemListStyles","hasPrev","hasNext","transformProp","transitionTime","WebkitTransform","MozTransform","MsTransform","OTransform","transform","msTransform","WebkitTransitionDuration","MozTransitionDuration","MsTransitionDuration","OTransitionDuration","transitionDuration","msTransitionDuration","tagName","onSwipeLeft","onSwipeRight","renderItems","displayName","propsTypes","element","isRequired","number","defaultProps","content","options","sourceMap","hmr","insertInto","locals","push","version","sources","names","mappings","file","sourcesContent","sourceRoot","Carousel","_Carousel2","_Thumbs2","_extends","assign","arguments","source","hasOwnProperty","_reactDom2","customPropTypes","newObj","_interopRequireWildcard","noop","setCarouselWrapperRef","carouselWrapperRef","setListRef","listRef","setItemsRef","itemsRef","autoPlay","count","clearTimeout","timer","setTimeout","increment","interval","clearAutoPlay","resetAutoPlay","stopOnHover","isMouseEntered","startOnLeave","navigateWithKeyboard","isHorizontal","prevKey","keyCode","decrement","initialized","clientHeight","cancelClick","onClickItem","handleOnChange","onChange","handleClickThumb","onClickThumb","selectItem","delta","getPosition","finalBoundry","axisDelta","x","y","handledDelta","setPosition","hasMoved","abs","swipeScrollTolerance","list","findDOMNode","resetPosition","infiniteLoop","changeItem","newIndex","getInitialImage","getElementsByTagName","getVariableImageHeight","complete","onImageLoad","forceUpdate","height","setupCarousel","setupAutoPlay","destroyAutoPlay","prevState","destroyCarousel","bindEvents","initialImage","unbindEvents","carouselWrapper","useKeyboardArrows","document","centerMode","centerSlidePercentage","_this3","slideProps","minWidth","_this4","showIndicators","showStatus","statusFormatter","showThumbs","itemsLength","canShowArrows","swiperProps","tolerance","containerStyles","dynamicHeight","itemHeight","onSwipeUp","verticalSwipe","onSwipeDown","width","swipeable","allowMouseEvents","emulateTouch","renderControls","renderStatus","renderThumbs","propTypes","string","bool","func","oneOf","unit","current","ReactPropTypesSecret","emptyFunction","emptyFunctionWithReset","resetWarningCache","shim","propName","componentName","location","propFullName","secret","err","Error","name","getShim","ReactPropTypes","array","object","symbol","any","arrayOf","elementType","instanceOf","objectOf","oneOfType","shape","exact","checkPropTypes","PropTypes","_propTypes","setHasSupportToCaptureOption","supportsCaptureOption","hasSupport","get","getSafeEventHandlerOpts","capture","event","_event$touches$","touches","pageX","pageY","screenX","screenY","ReactSwipe","_ref","_len","args","Array","_key","concat","_handleSwipeStart","_handleSwipeMove","_handleSwipeEnd","_onMouseDown","_onMouseMove","_onMouseUp","swiper","passive","mouseDown","_getPosition","moveStart","_getPosition2","deltaY","moving","shouldPreventDefault","preventDefault","movePosition","onMouseDown","onTouchStart","onTouchEnd","el","offsetWidth","getComputedStyle","parseInt","marginLeft","marginRight","test"],"mappings":"8EAiBAA,EAAAC,QAAmBC,EAAQ,IAARA,qCCfnBC,OAAAC,eAAAH,EAAA,cACAI,OAAA,IAGA,IAEAC,EAEA,SAAAC,GAAsC,OAAAA,KAAAC,WAAAD,GAAuCE,QAAAF,GAF7EG,CAFkBR,EAAQ,KAM1BD,EAAAQ,SACAE,SAAA,SAAAC,GACA,SAAAN,EAAAG,UACAI,UAAA,EACAC,kBAAAF,KAIAG,QAAA,SAAAH,EAAAI,GACA,SAAAV,EAA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AX,EACAY,MAAAZ,EAEAa,eAAAxB,EACAC,kBAAAF,GAKA,OAFAa,EAAAa,UAAAb,EAEAA,qCCnDA7U,EAAAC,QAFA,iFCPAE,OAAAC,eAAAH,EAAA,cACAI,OAAA,IAEAJ,EAAAgG,WAAA,SAAAmS,GACA,IAAAnF,EAAAmF,EAAAC,YACA1Q,EAAA2Q,iBAAAF,GAGA,OADAnF,GAAAsF,SAAA5Q,EAAA6Q,YAAAD,SAAA5Q,EAAA8Q,gDCPAtY,OAAAC,eAAAH,EAAA,cACAI,OAAA,IAEAJ,EAAA4T,KAAA,SAAA3Q,EAAAkR,EAAAC,GACA,8BAAAqE,KAAAxV,EAAAkR,IACA,WAAAM,MAAA,iBAAAN,EAAA,kBAAAC,EAAA","file":"15.98e5161802ceb3e484ac.js","sourcesContent":["/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nif (process.env.NODE_ENV !== 'production') {\n var ReactIs = require('react-is');\n\n // By explicitly using `prop-types` you are opting into new development behavior.\n // http://fb.me/prop-types-in-prod\n var throwOnDirectAccess = true;\n module.exports = require('./factoryWithTypeCheckers')(ReactIs.isElement, throwOnDirectAccess);\n} else {\n // By explicitly using `prop-types` you are opting into new production behavior.\n // http://fb.me/prop-types-in-prod\n module.exports = require('./factoryWithThrowingShims')();\n}\n","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _classnames = require(\"classnames\");\n\nvar _classnames2 = _interopRequireDefault(_classnames);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = {\n CAROUSEL: function CAROUSEL(isSlider) {\n return (0, _classnames2.default)({\n \"carousel\": true,\n \"carousel-slider\": isSlider\n });\n },\n\n WRAPPER: function WRAPPER(isSlider, axis) {\n return (0, _classnames2.default)({\n \"thumbs-wrapper\": !isSlider,\n \"slider-wrapper\": isSlider,\n \"axis-horizontal\": axis === \"horizontal\",\n \"axis-vertical\": axis !== \"horizontal\"\n });\n },\n\n SLIDER: function SLIDER(isSlider, isSwiping) {\n return (0, _classnames2.default)({\n \"thumbs\": !isSlider,\n \"slider\": isSlider,\n \"animated\": !isSwiping\n });\n },\n\n ITEM: function ITEM(isSlider, selected) {\n return (0, _classnames2.default)({\n \"thumb\": !isSlider,\n \"slide\": isSlider,\n \"selected\": selected\n });\n },\n\n ARROW_PREV: function ARROW_PREV(disabled) {\n return (0, _classnames2.default)({\n \"control-arrow control-prev\": true,\n \"control-disabled\": disabled\n });\n },\n\n ARROW_NEXT: function ARROW_NEXT(disabled) {\n return (0, _classnames2.default)({\n \"control-arrow control-next\": true,\n \"control-disabled\": disabled\n });\n },\n\n DOT: function DOT(selected) {\n return (0, _classnames2.default)({\n \"dot\": true,\n 'selected': selected\n });\n }\n};","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nexports.default = function (position, axis) {\n var positionCss = axis === 'horizontal' ? [position, 0, 0] : [0, position, 0];\n var transitionProp = 'translate3d';\n\n var translatedPosition = '(' + positionCss.join(',') + ')';\n\n return transitionProp + translatedPosition;\n};","(function (global, factory) {\n if (typeof define === \"function\" && define.amd) {\n define(['exports', './react-swipe'], factory);\n } else if (typeof exports !== \"undefined\") {\n factory(exports, require('./react-swipe'));\n } else {\n var mod = {\n exports: {}\n };\n factory(mod.exports, global.reactSwipe);\n global.index = mod.exports;\n }\n})(this, function (exports, _reactSwipe) {\n 'use strict';\n\n Object.defineProperty(exports, \"__esModule\", {\n value: true\n });\n\n var _reactSwipe2 = _interopRequireDefault(_reactSwipe);\n\n function _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n default: obj\n };\n }\n\n exports.default = _reactSwipe2.default;\n});","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _react = require('react');\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _reactDom = require('react-dom');\n\nvar _reactDom2 = _interopRequireDefault(_reactDom);\n\nvar _propTypes = require('prop-types');\n\nvar _propTypes2 = _interopRequireDefault(_propTypes);\n\nvar _cssClasses = require('../cssClasses');\n\nvar _cssClasses2 = _interopRequireDefault(_cssClasses);\n\nvar _dimensions = require('../dimensions');\n\nvar _CSSTranslate = require('../CSSTranslate');\n\nvar _CSSTranslate2 = _interopRequireDefault(_CSSTranslate);\n\nvar _reactEasySwipe = require('react-easy-swipe');\n\nvar _reactEasySwipe2 = _interopRequireDefault(_reactEasySwipe);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar Thumbs = function (_Component) {\n _inherits(Thumbs, _Component);\n\n function Thumbs(props) {\n _classCallCheck(this, Thumbs);\n\n var _this = _possibleConstructorReturn(this, (Thumbs.__proto__ || Object.getPrototypeOf(Thumbs)).call(this, props));\n\n _this.setItemsWrapperRef = function (node) {\n _this.itemsWrapperRef = node;\n };\n\n _this.setItemsListRef = function (node) {\n _this.itemsListRef = node;\n };\n\n _this.setThumbsRef = function (node, index) {\n if (!_this.thumbsRef) {\n _this.thumbsRef = [];\n }\n _this.thumbsRef[index] = node;\n };\n\n _this.updateSizes = function () {\n if (!_this.props.children || !_this.itemsWrapperRef) {\n return;\n }\n\n var total = _this.props.children.length;\n var wrapperSize = _this.itemsWrapperRef.clientWidth;\n var itemSize = _this.props.thumbWidth ? _this.props.thumbWidth : (0, _dimensions.outerWidth)(_this.thumbsRef[0]);\n var visibleItems = Math.floor(wrapperSize / itemSize);\n var lastPosition = total - visibleItems;\n var showArrows = visibleItems < total;\n _this.setState({\n itemSize: itemSize,\n visibleItems: visibleItems,\n firstItem: showArrows ? _this.getFirstItem(_this.props.selectedItem) : 0,\n lastPosition: lastPosition,\n showArrows: showArrows\n });\n };\n\n _this.setMountState = function () {\n _this.setState({ hasMount: true });\n _this.updateSizes();\n };\n\n _this.handleClickItem = function (index, item) {\n var handler = _this.props.onSelectItem;\n\n if (typeof handler === 'function') {\n handler(index, item);\n }\n };\n\n _this.onSwipeStart = function () {\n _this.setState({\n swiping: true\n });\n };\n\n _this.onSwipeEnd = function () {\n _this.setState({\n swiping: false\n });\n };\n\n _this.onSwipeMove = function (deltaX) {\n var leftBoundary = 0;\n\n var currentPosition = -_this.state.firstItem * _this.state.itemSize;\n var lastLeftBoundary = -_this.state.visibleItems * _this.state.itemSize;\n\n // prevent user from swiping left out of boundaries\n if (currentPosition === leftBoundary && deltaX > 0) {\n deltaX = 0;\n }\n\n // prevent user from swiping right out of boundaries\n if (currentPosition === lastLeftBoundary && deltaX < 0) {\n deltaX = 0;\n }\n\n var wrapperSize = _this.itemsWrapperRef.clientWidth;\n var position = currentPosition + 100 / (wrapperSize / deltaX) + '%';\n\n // if 3d isn't available we will use left to move\n ['WebkitTransform', 'MozTransform', 'MsTransform', 'OTransform', 'transform', 'msTransform'].forEach(function (prop) {\n _this.itemsListRef.style[prop] = (0, _CSSTranslate2.default)(position, _this.props.axis);\n });\n };\n\n _this.slideRight = function (positions) {\n _this.moveTo(_this.state.firstItem - (typeof positions === 'number' ? positions : 1));\n };\n\n _this.slideLeft = function (positions) {\n _this.moveTo(_this.state.firstItem + (typeof positions === 'number' ? positions : 1));\n };\n\n _this.moveTo = function (position) {\n // position can't be lower than 0\n position = position < 0 ? 0 : position;\n // position can't be higher than last postion\n position = position >= _this.lastPosition ? _this.lastPosition : position;\n\n _this.setState({\n firstItem: position,\n // if it's not a slider, we don't need to set position here\n selectedItem: _this.state.selectedItem\n });\n };\n\n _this.state = {\n selectedItem: props.selectedItem,\n hasMount: false,\n firstItem: 0,\n itemSize: null,\n visibleItems: 0,\n lastPosition: 0,\n showArrows: false,\n images: _this.getImages()\n };\n return _this;\n }\n\n _createClass(Thumbs, [{\n key: 'componentDidMount',\n value: function componentDidMount(nextProps) {\n this.setupThumbs();\n }\n }, {\n key: 'componentWillReceiveProps',\n value: function componentWillReceiveProps(props, state) {\n if (props.selectedItem !== this.state.selectedItem) {\n this.setState({\n selectedItem: props.selectedItem,\n firstItem: this.getFirstItem(props.selectedItem)\n });\n }\n if (props.children !== this.props.children) {\n this.setState({\n images: this.getImages()\n });\n }\n }\n }, {\n key: 'componentDidUpdate',\n value: function componentDidUpdate(prevProps) {\n if (this.props.children === prevProps.children) {\n return;\n }\n\n // This will capture any size changes for arrow adjustments etc.\n // usually in the same render cycle so we don't see any flickers\n this.updateSizes();\n }\n }, {\n key: 'componentWillUnmount',\n value: function componentWillUnmount() {\n this.destroyThumbs();\n }\n }, {\n key: 'setupThumbs',\n value: function setupThumbs() {\n // as the widths are calculated, we need to resize\n // the carousel when the window is resized\n window.addEventListener(\"resize\", this.updateSizes);\n // issue #2 - image loading smaller\n window.addEventListener(\"DOMContentLoaded\", this.updateSizes);\n\n // when the component is rendered we need to calculate\n // the container size to adjust the responsive behaviour\n this.updateSizes();\n }\n }, {\n key: 'destroyThumbs',\n value: function destroyThumbs() {\n // removing listeners\n window.removeEventListener(\"resize\", this.updateSizes);\n window.removeEventListener(\"DOMContentLoaded\", this.updateSizes);\n }\n }, {\n key: 'getImages',\n value: function getImages() {\n var images = _react.Children.map(this.props.children, function (item, index) {\n var img = item;\n\n // if the item is not an image, try to find the first image in the item's children.\n if (item.type !== \"img\") {\n img = _react.Children.toArray(item.props.children).filter(function (children) {\n return children.type === \"img\";\n })[0];\n }\n\n if (!img || img.length === 0) {\n return null;\n }\n\n return img;\n });\n\n if (images.filter(function (image) {\n return image !== null;\n }).length === 0) {\n 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');\n\n return null;\n }\n\n return images;\n }\n }, {\n key: 'getFirstItem',\n value: function getFirstItem(selectedItem) {\n var firstItem = selectedItem;\n\n if (selectedItem >= this.state.lastPosition) {\n firstItem = this.state.lastPosition;\n }\n\n if (selectedItem < this.state.firstItem + this.state.visibleItems) {\n firstItem = this.state.firstItem;\n }\n\n if (selectedItem < this.state.firstItem) {\n firstItem = selectedItem;\n }\n\n return firstItem;\n }\n }, {\n key: 'renderItems',\n value: function renderItems() {\n var _this2 = this;\n\n return this.state.images.map(function (img, index) {\n var itemClass = _cssClasses2.default.ITEM(false, index === _this2.state.selectedItem && _this2.state.hasMount);\n\n var thumbProps = {\n key: index,\n ref: function ref(e) {\n return _this2.setThumbsRef(e, index);\n },\n className: itemClass,\n onClick: _this2.handleClickItem.bind(_this2, index, _this2.props.children[index])\n };\n\n if (index === 0) {\n img = _react2.default.cloneElement(img, {\n onLoad: _this2.setMountState\n });\n }\n\n return _react2.default.createElement(\n 'li',\n thumbProps,\n img\n );\n });\n }\n }, {\n key: 'render',\n value: function render() {\n if (!this.props.children) {\n return null;\n }\n\n // show left arrow?\n var hasPrev = this.state.showArrows && this.state.firstItem > 0;\n // show right arrow\n var hasNext = this.state.showArrows && this.state.firstItem < this.state.lastPosition;\n // obj to hold the transformations and styles\n var itemListStyles = {};\n\n var currentPosition = -this.state.firstItem * this.state.itemSize + 'px';\n\n var transformProp = (0, _CSSTranslate2.default)(currentPosition, this.props.axis);\n\n var transitionTime = this.props.transitionTime + 'ms';\n\n itemListStyles = {\n 'WebkitTransform': transformProp,\n 'MozTransform': transformProp,\n 'MsTransform': transformProp,\n 'OTransform': transformProp,\n 'transform': transformProp,\n 'msTransform': transformProp,\n 'WebkitTransitionDuration': transitionTime,\n 'MozTransitionDuration': transitionTime,\n 'MsTransitionDuration': transitionTime,\n 'OTransitionDuration': transitionTime,\n 'transitionDuration': transitionTime,\n 'msTransitionDuration': transitionTime\n };\n\n return _react2.default.createElement(\n 'div',\n { className: _cssClasses2.default.CAROUSEL(false) },\n _react2.default.createElement(\n 'div',\n { className: _cssClasses2.default.WRAPPER(false), ref: this.setItemsWrapperRef },\n _react2.default.createElement('button', { type: 'button', className: _cssClasses2.default.ARROW_PREV(!hasPrev), onClick: this.slideRight }),\n _react2.default.createElement(\n _reactEasySwipe2.default,\n { tagName: 'ul',\n selectedItem: this.state.selectedItem,\n className: _cssClasses2.default.SLIDER(false, this.state.swiping),\n onSwipeLeft: this.slideLeft,\n onSwipeRight: this.slideRight,\n onSwipeMove: this.onSwipeMove,\n onSwipeStart: this.onSwipeStart,\n onSwipeEnd: this.onSwipeEnd,\n style: itemListStyles,\n ref: this.setItemsListRef },\n this.renderItems()\n ),\n _react2.default.createElement('button', { type: 'button', className: _cssClasses2.default.ARROW_NEXT(!hasNext), onClick: this.slideLeft })\n )\n );\n }\n }]);\n\n return Thumbs;\n}(_react.Component);\n\nThumbs.displayName = 'Thumbs';\nThumbs.propsTypes = {\n children: _propTypes2.default.element.isRequired,\n transitionTime: _propTypes2.default.number,\n selectedItem: _propTypes2.default.number,\n thumbWidth: _propTypes2.default.number\n};\nThumbs.defaultProps = {\n selectedItem: 0,\n transitionTime: 350,\n axis: 'horizontal'\n};\nexports.default = Thumbs;","\nvar content = require(\"!!../../../css-loader/index.js?sourceMap=true!./carousel.min.css\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"sourceMap\":true,\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../css-loader/index.js?sourceMap=true!./carousel.min.css\", function() {\n\t\tvar newContent = require(\"!!../../../css-loader/index.js?sourceMap=true!./carousel.min.css\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","exports = module.exports = require(\"../../../css-loader/lib/css-base.js\")(true);\n// imports\n\n\n// module\nexports.push([module.id, \".carousel .control-arrow,.carousel.carousel-slider .control-arrow{-webkit-transition:all .25s ease-in;-moz-transition:all .25s ease-in;-ms-transition:all .25s ease-in;-o-transition:all .25s ease-in;transition:all .25s ease-in;opacity:.4;position:absolute;z-index:2;top:20px;background:0 0;border:0;font-size:32px;cursor:pointer}.carousel .control-arrow:hover{opacity:1}.carousel .control-arrow:before,.carousel.carousel-slider .control-arrow:before{margin:0 5px;display:inline-block;border-top:8px solid transparent;border-bottom:8px solid transparent;content:''}.carousel .control-disabled.control-arrow{opacity:0;cursor:inherit;display:none}.carousel .control-prev.control-arrow{left:0}.carousel .control-prev.control-arrow:before{border-right:8px solid #fff}.carousel .control-next.control-arrow{right:0}.carousel .control-next.control-arrow:before{border-left:8px solid #fff}.carousel{position:relative;width:100%}.carousel *{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.carousel button{outline:0;border:0;background:0 0}.carousel img{width:100%;display:inline-block;pointer-events:none}.carousel .carousel{position:relative}.carousel .control-arrow{top:50%;margin-top:-13px;font-size:18px}.carousel .thumbs-wrapper{margin:20px;overflow:hidden}.carousel .thumbs{-webkit-transition:all .15s ease-in;-moz-transition:all .15s ease-in;-ms-transition:all .15s ease-in;-o-transition:all .15s ease-in;transition:all .15s ease-in;-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);-o-transform:translate3d(0,0,0);transform:translate3d(0,0,0);position:relative;list-style:none;white-space:nowrap}.carousel .thumb{-webkit-transition:border .15s ease-in;-moz-transition:border .15s ease-in;-ms-transition:border .15s ease-in;-o-transition:border .15s ease-in;transition:border .15s ease-in;display:inline-block;width:80px;margin-right:6px;white-space:nowrap;overflow:hidden;border:3px solid #fff;padding:2px}.carousel .thumb.selected,.carousel .thumb:hover{border:3px solid #333;padding:2px}.carousel .thumb img{vertical-align:top}.carousel.carousel-slider{position:relative;margin:0;overflow:hidden}.carousel.carousel-slider .control-arrow{top:0;color:#fff;font-size:26px;bottom:0;margin-top:0;padding:5px}.carousel.carousel-slider .control-arrow:hover{background:rgba(0,0,0,.2)}.carousel .slider-wrapper{overflow:hidden;margin:auto;width:100%;-webkit-transition:height .15s ease-in;-moz-transition:height .15s ease-in;-ms-transition:height .15s ease-in;-o-transition:height .15s ease-in;transition:height .15s ease-in}.carousel .slider-wrapper.axis-horizontal .slider{-ms-box-orient:horizontal;display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-moz-flex;display:-webkit-flex;display:flex}.carousel .slider-wrapper.axis-horizontal .slider .slide{flex-direction:column;flex-flow:column}.carousel .slider-wrapper.axis-vertical{-ms-box-orient:horizontal;display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-moz-flex;display:-webkit-flex;display:flex}.carousel .slider-wrapper.axis-vertical .slider{-webkit-flex-direction:column;flex-direction:column}.carousel .slider{margin:0;padding:0;position:relative;list-style:none;width:100%}.carousel .slider.animated{-webkit-transition:all .35s ease-in-out;-moz-transition:all .35s ease-in-out;-ms-transition:all .35s ease-in-out;-o-transition:all .35s ease-in-out;transition:all .35s ease-in-out}.carousel .slide{min-width:100%;margin:0;position:relative;text-align:center;background:#000}.carousel .slide img{width:100%;vertical-align:top;border:0}.carousel .slide iframe{display:inline-block;width:calc(100% - 80px);margin:0 40px 40px;border:0}.carousel .slide .legend{-webkit-transition:all .5s ease-in-out;-moz-transition:all .5s ease-in-out;-ms-transition:all .5s ease-in-out;-o-transition:all .5s ease-in-out;transition:all .5s ease-in-out;position:absolute;bottom:40px;left:50%;margin-left:-45%;width:90%;border-radius:10px;background:#000;color:#fff;padding:10px;font-size:12px;text-align:center;opacity:.25;-webkit-transition:opacity .35s ease-in-out;-moz-transition:opacity .35s ease-in-out;-ms-transition:opacity .35s ease-in-out;-o-transition:opacity .35s ease-in-out;transition:opacity .35s ease-in-out}.carousel .control-dots{position:absolute;bottom:0;margin:10px 0;text-align:center;width:100%}@media (min-width:960px){.carousel .control-dots{bottom:0}}.carousel .control-dots .dot{-webkit-transition:opacity .25s ease-in;-moz-transition:opacity .25s ease-in;-ms-transition:opacity .25s ease-in;-o-transition:opacity .25s ease-in;transition:opacity .25s ease-in;opacity:.3;box-shadow:1px 1px 2px rgba(0,0,0,.9);background:#fff;border-radius:50%;width:8px;height:8px;cursor:pointer;display:inline-block;margin:0 8px}.carousel .control-dots .dot.selected,.carousel .control-dots .dot:hover{opacity:1}.carousel .carousel-status{position:absolute;top:0;right:0;padding:5px;font-size:10px;text-shadow:1px 1px 1px rgba(0,0,0,.9);color:#fff}.carousel:hover .slide .legend{opacity:1}\", \"\", {\"version\":3,\"sources\":[\"D:/Projects/Ewerman_devops/Src/Litium.Accelerator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AAgD,8BAA8B,qBAAqB,CAAC,kBAAkB,SAAS,UAAU,kBAAkB,gBAAgB,UAAU,CAAC,2BAA2B,wCAAwC,qCAAqC,oCAAoC,mCAAmC,+BAA+B,CAAC,iBAAiB,eAAe,SAAS,kBAAkB,kBAAkB,eAAe,CAAC,qBAAqB,WAAW,mBAAmB,QAAQ,CAAC,wBAAwB,qBAAqB,wBAAwB,mBAAmB,QAAQ,CAAC,yBAAyB,uCAAuC,oCAAoC,mCAAmC,kCAAkC,+BAA+B,kBAAkB,YAAY,SAAS,iBAAiB,UAAU,mBAAmB,gBAAgB,WAAW,aAAa,eAAe,kBAAkB,YAAY,4CAA4C,yCAAyC,wCAAwC,uCAAuC,mCAAmC,CAAC,wBAAwB,kBAAkB,SAAS,cAAc,kBAAkB,UAAU,CAAC,yBAAyB,wBAAwB,QAAQ,CAAC,CAAC,6BAA6B,wCAAwC,qCAAqC,oCAAoC,mCAAmC,gCAAgC,WAAW,sCAAsC,gBAAgB,kBAAkB,UAAU,WAAW,eAAe,qBAAqB,YAAY,CAAC,yEAAyE,SAAS,CAAC,2BAA2B,kBAAkB,MAAM,QAAQ,YAAY,eAAe,uCAAuC,UAAU,CAAC,+BAA+B,SAAS,CAAC\",\"file\":\"carousel.min.css\",\"sourcesContent\":[\".carousel .control-arrow,.carousel.carousel-slider .control-arrow{-webkit-transition:all .25s ease-in;-moz-transition:all .25s ease-in;-ms-transition:all .25s ease-in;-o-transition:all .25s ease-in;transition:all .25s ease-in;opacity:.4;position:absolute;z-index:2;top:20px;background:0 0;border:0;font-size:32px;cursor:pointer}.carousel .control-arrow:hover{opacity:1}.carousel .control-arrow:before,.carousel.carousel-slider .control-arrow:before{margin:0 5px;display:inline-block;border-top:8px solid transparent;border-bottom:8px solid transparent;content:''}.carousel .control-disabled.control-arrow{opacity:0;cursor:inherit;display:none}.carousel .control-prev.control-arrow{left:0}.carousel .control-prev.control-arrow:before{border-right:8px solid #fff}.carousel .control-next.control-arrow{right:0}.carousel .control-next.control-arrow:before{border-left:8px solid #fff}.carousel{position:relative;width:100%}.carousel *{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.carousel button{outline:0;border:0;background:0 0}.carousel img{width:100%;display:inline-block;pointer-events:none}.carousel .carousel{position:relative}.carousel .control-arrow{top:50%;margin-top:-13px;font-size:18px}.carousel .thumbs-wrapper{margin:20px;overflow:hidden}.carousel .thumbs{-webkit-transition:all .15s ease-in;-moz-transition:all .15s ease-in;-ms-transition:all .15s ease-in;-o-transition:all .15s ease-in;transition:all .15s ease-in;-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);-o-transform:translate3d(0,0,0);transform:translate3d(0,0,0);position:relative;list-style:none;white-space:nowrap}.carousel .thumb{-webkit-transition:border .15s ease-in;-moz-transition:border .15s ease-in;-ms-transition:border .15s ease-in;-o-transition:border .15s ease-in;transition:border .15s ease-in;display:inline-block;width:80px;margin-right:6px;white-space:nowrap;overflow:hidden;border:3px solid #fff;padding:2px}.carousel .thumb.selected,.carousel .thumb:hover{border:3px solid #333;padding:2px}.carousel .thumb img{vertical-align:top}.carousel.carousel-slider{position:relative;margin:0;overflow:hidden}.carousel.carousel-slider .control-arrow{top:0;color:#fff;font-size:26px;bottom:0;margin-top:0;padding:5px}.carousel.carousel-slider .control-arrow:hover{background:rgba(0,0,0,.2)}.carousel .slider-wrapper{overflow:hidden;margin:auto;width:100%;-webkit-transition:height .15s ease-in;-moz-transition:height .15s ease-in;-ms-transition:height .15s ease-in;-o-transition:height .15s ease-in;transition:height .15s ease-in}.carousel .slider-wrapper.axis-horizontal .slider{-ms-box-orient:horizontal;display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-moz-flex;display:-webkit-flex;display:flex}.carousel .slider-wrapper.axis-horizontal .slider .slide{flex-direction:column;flex-flow:column}.carousel .slider-wrapper.axis-vertical{-ms-box-orient:horizontal;display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-moz-flex;display:-webkit-flex;display:flex}.carousel .slider-wrapper.axis-vertical .slider{-webkit-flex-direction:column;flex-direction:column}.carousel .slider{margin:0;padding:0;position:relative;list-style:none;width:100%}.carousel .slider.animated{-webkit-transition:all .35s ease-in-out;-moz-transition:all .35s ease-in-out;-ms-transition:all .35s ease-in-out;-o-transition:all .35s ease-in-out;transition:all .35s ease-in-out}.carousel .slide{min-width:100%;margin:0;position:relative;text-align:center;background:#000}.carousel .slide img{width:100%;vertical-align:top;border:0}.carousel .slide iframe{display:inline-block;width:calc(100% - 80px);margin:0 40px 40px;border:0}.carousel .slide .legend{-webkit-transition:all .5s ease-in-out;-moz-transition:all .5s ease-in-out;-ms-transition:all .5s ease-in-out;-o-transition:all .5s ease-in-out;transition:all .5s ease-in-out;position:absolute;bottom:40px;left:50%;margin-left:-45%;width:90%;border-radius:10px;background:#000;color:#fff;padding:10px;font-size:12px;text-align:center;opacity:.25;-webkit-transition:opacity .35s ease-in-out;-moz-transition:opacity .35s ease-in-out;-ms-transition:opacity .35s ease-in-out;-o-transition:opacity .35s ease-in-out;transition:opacity .35s ease-in-out}.carousel .control-dots{position:absolute;bottom:0;margin:10px 0;text-align:center;width:100%}@media (min-width:960px){.carousel .control-dots{bottom:0}}.carousel .control-dots .dot{-webkit-transition:opacity .25s ease-in;-moz-transition:opacity .25s ease-in;-ms-transition:opacity .25s ease-in;-o-transition:opacity .25s ease-in;transition:opacity .25s ease-in;opacity:.3;box-shadow:1px 1px 2px rgba(0,0,0,.9);background:#fff;border-radius:50%;width:8px;height:8px;cursor:pointer;display:inline-block;margin:0 8px}.carousel .control-dots .dot.selected,.carousel .control-dots .dot:hover{opacity:1}.carousel .carousel-status{position:absolute;top:0;right:0;padding:5px;font-size:10px;text-shadow:1px 1px 1px rgba(0,0,0,.9);color:#fff}.carousel:hover .slide .legend{opacity:1}\"],\"sourceRoot\":\"\"}]);\n\n// exports\n","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.Thumbs = exports.Carousel = undefined;\n\nvar _Carousel = require('./components/Carousel');\n\nvar _Carousel2 = _interopRequireDefault(_Carousel);\n\nvar _Thumbs = require('./components/Thumbs');\n\nvar _Thumbs2 = _interopRequireDefault(_Thumbs);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.Carousel = _Carousel2.default;\nexports.Thumbs = _Thumbs2.default;","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _react = require('react');\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _reactDom = require('react-dom');\n\nvar _reactDom2 = _interopRequireDefault(_reactDom);\n\nvar _propTypes = require('prop-types');\n\nvar _propTypes2 = _interopRequireDefault(_propTypes);\n\nvar _cssClasses = require('../cssClasses');\n\nvar _cssClasses2 = _interopRequireDefault(_cssClasses);\n\nvar _CSSTranslate = require('../CSSTranslate');\n\nvar _CSSTranslate2 = _interopRequireDefault(_CSSTranslate);\n\nvar _reactEasySwipe = require('react-easy-swipe');\n\nvar _reactEasySwipe2 = _interopRequireDefault(_reactEasySwipe);\n\nvar _Thumbs = require('./Thumbs');\n\nvar _Thumbs2 = _interopRequireDefault(_Thumbs);\n\nvar _customPropTypes = require('../customPropTypes');\n\nvar customPropTypes = _interopRequireWildcard(_customPropTypes);\n\nfunction _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar noop = function noop() {};\n\nvar defaultStatusFormatter = function defaultStatusFormatter(current, total) {\n return current + ' of ' + total;\n};\n\nvar Carousel = function (_Component) {\n _inherits(Carousel, _Component);\n\n function Carousel(props) {\n _classCallCheck(this, Carousel);\n\n var _this = _possibleConstructorReturn(this, (Carousel.__proto__ || Object.getPrototypeOf(Carousel)).call(this, props));\n\n _this.setThumbsRef = function (node) {\n _this.thumbsRef = node;\n };\n\n _this.setCarouselWrapperRef = function (node) {\n _this.carouselWrapperRef = node;\n };\n\n _this.setListRef = function (node) {\n _this.listRef = node;\n };\n\n _this.setItemsWrapperRef = function (node) {\n _this.itemsWrapperRef = node;\n };\n\n _this.setItemsRef = function (node, index) {\n if (!_this.itemsRef) {\n _this.itemsRef = [];\n }\n _this.itemsRef[index] = node;\n };\n\n _this.autoPlay = function () {\n if (!_this.state.autoPlay || _react.Children.count(_this.props.children) <= 1) {\n return;\n }\n\n clearTimeout(_this.timer);\n _this.timer = setTimeout(function () {\n _this.increment();\n }, _this.props.interval);\n };\n\n _this.clearAutoPlay = function () {\n if (!_this.state.autoPlay) {\n return;\n }\n\n clearTimeout(_this.timer);\n };\n\n _this.resetAutoPlay = function () {\n _this.clearAutoPlay();\n _this.autoPlay();\n };\n\n _this.stopOnHover = function () {\n _this.setState({ isMouseEntered: true });\n _this.clearAutoPlay();\n };\n\n _this.startOnLeave = function () {\n _this.setState({ isMouseEntered: false });\n _this.autoPlay();\n };\n\n _this.navigateWithKeyboard = function (e) {\n var axis = _this.props.axis;\n\n var isHorizontal = axis === 'horizontal';\n var keyNames = {\n ArrowUp: 38,\n ArrowRight: 39,\n ArrowDown: 40,\n ArrowLeft: 37\n };\n\n var nextKey = isHorizontal ? keyNames.ArrowRight : keyNames.ArrowDown;\n var prevKey = isHorizontal ? keyNames.ArrowLeft : keyNames.ArrowUp;\n\n if (nextKey === e.keyCode) {\n _this.increment();\n } else if (prevKey === e.keyCode) {\n _this.decrement();\n }\n };\n\n _this.updateSizes = function () {\n if (!_this.state.initialized) {\n return;\n }\n\n var isHorizontal = _this.props.axis === 'horizontal';\n var firstItem = _this.itemsRef[0];\n var itemSize = isHorizontal ? firstItem.clientWidth : firstItem.clientHeight;\n\n _this.setState({\n itemSize: itemSize,\n wrapperSize: isHorizontal ? itemSize * _react.Children.count(_this.props.children) : itemSize\n });\n\n if (_this.thumbsRef) {\n _this.thumbsRef.updateSizes();\n }\n };\n\n _this.setMountState = function () {\n _this.setState({ hasMount: true });\n _this.updateSizes();\n };\n\n _this.handleClickItem = function (index, item) {\n if (_react.Children.count(_this.props.children) <= 1) {\n return;\n }\n\n if (_this.state.cancelClick) {\n _this.setState({\n cancelClick: false\n });\n\n return;\n }\n\n _this.props.onClickItem(index, item);\n\n if (index !== _this.state.selectedItem) {\n _this.setState({\n selectedItem: index\n });\n }\n };\n\n _this.handleOnChange = function (index, item) {\n if (_react.Children.count(_this.props.children) <= 1) {\n return;\n }\n\n _this.props.onChange(index, item);\n };\n\n _this.handleClickThumb = function (index, item) {\n _this.props.onClickThumb(index, item);\n\n _this.selectItem({\n selectedItem: index\n });\n };\n\n _this.onSwipeStart = function () {\n _this.setState({\n swiping: true\n });\n _this.clearAutoPlay();\n };\n\n _this.onSwipeEnd = function () {\n _this.setState({\n swiping: false\n });\n _this.autoPlay();\n };\n\n _this.onSwipeMove = function (delta) {\n var isHorizontal = _this.props.axis === 'horizontal';\n\n var initialBoundry = 0;\n\n var currentPosition = _this.getPosition(_this.state.selectedItem);\n var finalBoundry = _this.getPosition(_react.Children.count(_this.props.children) - 1);\n\n var axisDelta = isHorizontal ? delta.x : delta.y;\n var handledDelta = axisDelta;\n\n // prevent user from swiping left out of boundaries\n if (currentPosition === initialBoundry && axisDelta > 0) {\n handledDelta = 0;\n }\n\n // prevent user from swiping right out of boundaries\n if (currentPosition === finalBoundry && axisDelta < 0) {\n handledDelta = 0;\n }\n\n var position = currentPosition + 100 / (_this.state.itemSize / handledDelta) + '%';\n\n _this.setPosition(position);\n\n // allows scroll if the swipe was within the tolerance\n var hasMoved = Math.abs(axisDelta) > _this.props.swipeScrollTolerance;\n\n if (hasMoved && !_this.state.cancelClick) {\n _this.setState({\n cancelClick: true\n });\n }\n\n return hasMoved;\n };\n\n _this.setPosition = function (position) {\n var list = _reactDom2.default.findDOMNode(_this.listRef);\n ['WebkitTransform', 'MozTransform', 'MsTransform', 'OTransform', 'transform', 'msTransform'].forEach(function (prop) {\n list.style[prop] = (0, _CSSTranslate2.default)(position, _this.props.axis);\n });\n };\n\n _this.resetPosition = function () {\n var currentPosition = _this.getPosition(_this.state.selectedItem) + '%';\n _this.setPosition(currentPosition);\n };\n\n _this.decrement = function (positions) {\n _this.moveTo(_this.state.selectedItem - (typeof positions === 'Number' ? positions : 1));\n };\n\n _this.increment = function (positions) {\n _this.moveTo(_this.state.selectedItem + (typeof positions === 'Number' ? positions : 1));\n };\n\n _this.moveTo = function (position) {\n var lastPosition = _react.Children.count(_this.props.children) - 1;\n\n if (position < 0) {\n position = _this.props.infiniteLoop ? lastPosition : 0;\n }\n\n if (position > lastPosition) {\n position = _this.props.infiniteLoop ? 0 : lastPosition;\n }\n\n _this.selectItem({\n // if it's not a slider, we don't need to set position here\n selectedItem: position\n });\n\n // don't reset auto play when stop on hover is enabled, doing so will trigger a call to auto play more than once\n // and will result in the interval function not being cleared correctly.\n if (_this.state.autoPlay && _this.state.isMouseEntered === false) {\n _this.resetAutoPlay();\n }\n };\n\n _this.changeItem = function (e) {\n var newIndex = e.target.value;\n\n _this.selectItem({\n selectedItem: newIndex\n });\n };\n\n _this.selectItem = function (state) {\n _this.setState(state);\n _this.handleOnChange(state.selectedItem, _react.Children.toArray(_this.props.children)[state.selectedItem]);\n };\n\n _this.getInitialImage = function () {\n var selectedItem = _this.props.selectedItem;\n var item = _this.itemsRef && _this.itemsRef[selectedItem];\n var images = item && item.getElementsByTagName('img');\n return images && images[selectedItem];\n };\n\n _this.getVariableImageHeight = function (position) {\n var item = _this.itemsRef && _this.itemsRef[position];\n var images = item && item.getElementsByTagName('img');\n if (_this.state.hasMount && images.length > 0) {\n var image = images[0];\n\n if (!image.complete) {\n // if the image is still loading, the size won't be available so we trigger a new render after it's done\n var onImageLoad = function onImageLoad() {\n _this.forceUpdate();\n image.removeEventListener('load', onImageLoad);\n };\n\n image.addEventListener('load', onImageLoad);\n }\n\n var height = image.clientHeight;\n return height > 0 ? height : null;\n }\n\n return null;\n };\n\n _this.state = {\n initialized: false,\n selectedItem: props.selectedItem,\n hasMount: false,\n isMouseEntered: false,\n autoPlay: props.autoPlay\n };\n return _this;\n }\n\n _createClass(Carousel, [{\n key: 'componentDidMount',\n value: function componentDidMount() {\n if (!this.props.children) {\n return;\n }\n\n this.setupCarousel();\n }\n }, {\n key: 'componentWillReceiveProps',\n value: function componentWillReceiveProps(nextProps) {\n var _this2 = this;\n\n if (nextProps.selectedItem !== this.state.selectedItem) {\n this.updateSizes();\n this.moveTo(nextProps.selectedItem);\n }\n\n if (nextProps.autoPlay !== this.state.autoPlay) {\n this.setState({\n autoPlay: nextProps.autoPlay\n }, function () {\n if (_this2.state.autoPlay) {\n _this2.setupAutoPlay();\n } else {\n _this2.destroyAutoPlay();\n }\n });\n }\n }\n }, {\n key: 'componentDidUpdate',\n value: function componentDidUpdate(prevProps, prevState) {\n if (!prevProps.children && this.props.children && !this.state.initialized) {\n this.setupCarousel();\n }\n if (prevState.swiping && !this.state.swiping) {\n // We stopped swiping, ensure we are heading to the new/current slide and not stuck\n this.resetPosition();\n }\n }\n }, {\n key: 'componentWillUnmount',\n value: function componentWillUnmount() {\n this.destroyCarousel();\n }\n }, {\n key: 'setupCarousel',\n value: function setupCarousel() {\n this.bindEvents();\n\n if (this.state.autoPlay && _react.Children.count(this.props.children) > 1) {\n this.setupAutoPlay();\n }\n\n this.setState({\n initialized: true\n });\n\n var initialImage = this.getInitialImage();\n if (initialImage) {\n // if it's a carousel of images, we set the mount state after the first image is loaded\n initialImage.addEventListener('load', this.setMountState);\n } else {\n this.setMountState();\n }\n }\n }, {\n key: 'destroyCarousel',\n value: function destroyCarousel() {\n if (this.state.initialized) {\n this.unbindEvents();\n this.destroyAutoPlay();\n }\n }\n }, {\n key: 'setupAutoPlay',\n value: function setupAutoPlay() {\n this.autoPlay();\n var carouselWrapper = this.carouselWrapperRef;\n\n if (this.props.stopOnHover && carouselWrapper) {\n carouselWrapper.addEventListener('mouseenter', this.stopOnHover);\n carouselWrapper.addEventListener('mouseleave', this.startOnLeave);\n }\n }\n }, {\n key: 'destroyAutoPlay',\n value: function destroyAutoPlay() {\n this.clearAutoPlay();\n var carouselWrapper = this.carouselWrapperRef;\n\n if (this.props.stopOnHover && carouselWrapper) {\n carouselWrapper.removeEventListener('mouseenter', this.stopOnHover);\n carouselWrapper.removeEventListener('mouseleave', this.startOnLeave);\n }\n }\n }, {\n key: 'bindEvents',\n value: function bindEvents() {\n // as the widths are calculated, we need to resize\n // the carousel when the window is resized\n window.addEventListener(\"resize\", this.updateSizes);\n // issue #2 - image loading smaller\n window.addEventListener(\"DOMContentLoaded\", this.updateSizes);\n\n if (this.props.useKeyboardArrows) {\n document.addEventListener(\"keydown\", this.navigateWithKeyboard);\n }\n }\n }, {\n key: 'unbindEvents',\n value: function unbindEvents() {\n // removing listeners\n window.removeEventListener(\"resize\", this.updateSizes);\n window.removeEventListener(\"DOMContentLoaded\", this.updateSizes);\n\n var initialImage = this.getInitialImage();\n if (initialImage) {\n initialImage.removeEventListener(\"load\", this.setMountState);\n }\n\n if (this.props.useKeyboardArrows) {\n document.removeEventListener(\"keydown\", this.navigateWithKeyboard);\n }\n }\n }, {\n key: 'getPosition',\n value: function getPosition(index) {\n if (this.props.centerMode && this.props.axis === 'horizontal') {\n var currentPosition = -index * this.props.centerSlidePercentage;\n var lastPosition = _react.Children.count(this.props.children) - 1;\n\n if (index && index !== lastPosition) {\n currentPosition += (100 - this.props.centerSlidePercentage) / 2;\n } else if (index === lastPosition) {\n currentPosition += 100 - this.props.centerSlidePercentage;\n }\n\n return currentPosition;\n }\n\n return -index * 100;\n }\n }, {\n key: 'renderItems',\n value: function renderItems() {\n var _this3 = this;\n\n return _react.Children.map(this.props.children, function (item, index) {\n var itemClass = _cssClasses2.default.ITEM(true, index === _this3.state.selectedItem);\n var slideProps = {\n ref: function ref(e) {\n return _this3.setItemsRef(e, index);\n },\n key: 'itemKey' + index,\n className: _cssClasses2.default.ITEM(true, index === _this3.state.selectedItem),\n onClick: _this3.handleClickItem.bind(_this3, index, item)\n };\n\n if (_this3.props.centerMode && _this3.props.axis === 'horizontal') {\n slideProps.style = {\n minWidth: _this3.props.centerSlidePercentage + '%'\n };\n }\n\n return _react2.default.createElement(\n 'li',\n slideProps,\n item\n );\n });\n }\n }, {\n key: 'renderControls',\n value: function renderControls() {\n var _this4 = this;\n\n if (!this.props.showIndicators) {\n return null;\n }\n\n return _react2.default.createElement(\n 'ul',\n { className: 'control-dots' },\n _react.Children.map(this.props.children, function (item, index) {\n return _react2.default.createElement('li', { className: _cssClasses2.default.DOT(index === _this4.state.selectedItem), onClick: _this4.changeItem, value: index, key: index });\n })\n );\n }\n }, {\n key: 'renderStatus',\n value: function renderStatus() {\n if (!this.props.showStatus) {\n return null;\n }\n\n return _react2.default.createElement(\n 'p',\n { className: 'carousel-status' },\n this.props.statusFormatter(this.state.selectedItem + 1, _react.Children.count(this.props.children))\n );\n }\n }, {\n key: 'renderThumbs',\n value: function renderThumbs() {\n if (!this.props.showThumbs || _react.Children.count(this.props.children) === 0) {\n return null;\n }\n\n return _react2.default.createElement(\n _Thumbs2.default,\n { ref: this.setThumbsRef, onSelectItem: this.handleClickThumb, selectedItem: this.state.selectedItem, transitionTime: this.props.transitionTime, thumbWidth: this.props.thumbWidth },\n this.props.children\n );\n }\n }, {\n key: 'render',\n value: function render() {\n if (!this.props.children || _react.Children.count(this.props.children) === 0) {\n return null;\n }\n\n var itemsLength = _react.Children.count(this.props.children);\n\n var isHorizontal = this.props.axis === 'horizontal';\n\n var canShowArrows = this.props.showArrows && itemsLength > 1;\n\n // show left arrow?\n var hasPrev = canShowArrows && (this.state.selectedItem > 0 || this.props.infiniteLoop);\n // show right arrow\n var hasNext = canShowArrows && (this.state.selectedItem < itemsLength - 1 || this.props.infiniteLoop);\n // obj to hold the transformations and styles\n var itemListStyles = {};\n\n var currentPosition = this.getPosition(this.state.selectedItem);\n\n // if 3d is available, let's take advantage of the performance of transform\n var transformProp = (0, _CSSTranslate2.default)(currentPosition + '%', this.props.axis);\n\n var transitionTime = this.props.transitionTime + 'ms';\n\n itemListStyles = {\n 'WebkitTransform': transformProp,\n 'MozTransform': transformProp,\n 'MsTransform': transformProp,\n 'OTransform': transformProp,\n 'transform': transformProp,\n 'msTransform': transformProp\n };\n\n if (!this.state.swiping) {\n itemListStyles = _extends({}, itemListStyles, {\n 'WebkitTransitionDuration': transitionTime,\n 'MozTransitionDuration': transitionTime,\n 'MsTransitionDuration': transitionTime,\n 'OTransitionDuration': transitionTime,\n 'transitionDuration': transitionTime,\n 'msTransitionDuration': transitionTime\n });\n }\n\n var swiperProps = {\n selectedItem: this.state.selectedItem,\n className: _cssClasses2.default.SLIDER(true, this.state.swiping),\n onSwipeMove: this.onSwipeMove,\n onSwipeStart: this.onSwipeStart,\n onSwipeEnd: this.onSwipeEnd,\n style: itemListStyles,\n tolerance: this.props.swipeScrollTolerance\n };\n\n var containerStyles = {};\n\n if (isHorizontal) {\n swiperProps.onSwipeLeft = this.increment;\n swiperProps.onSwipeRight = this.decrement;\n\n if (this.props.dynamicHeight) {\n var itemHeight = this.getVariableImageHeight(this.state.selectedItem);\n swiperProps.style.height = itemHeight || 'auto';\n containerStyles.height = itemHeight || 'auto';\n }\n } else {\n swiperProps.onSwipeUp = this.props.verticalSwipe === 'natural' ? this.increment : this.decrement;\n swiperProps.onSwipeDown = this.props.verticalSwipe === 'natural' ? this.decrement : this.increment;\n swiperProps.style.height = this.state.itemSize;\n containerStyles.height = this.state.itemSize;\n }\n return _react2.default.createElement(\n 'div',\n { className: this.props.className, ref: this.setCarouselWrapperRef },\n _react2.default.createElement(\n 'div',\n { className: _cssClasses2.default.CAROUSEL(true), style: { width: this.props.width } },\n _react2.default.createElement('button', { type: 'button', className: _cssClasses2.default.ARROW_PREV(!hasPrev), onClick: this.decrement }),\n _react2.default.createElement(\n 'div',\n { className: _cssClasses2.default.WRAPPER(true, this.props.axis), style: containerStyles, ref: this.setItemsWrapperRef },\n this.props.swipeable ? _react2.default.createElement(\n _reactEasySwipe2.default,\n _extends({\n tagName: 'ul',\n ref: this.setListRef\n }, swiperProps, {\n allowMouseEvents: this.props.emulateTouch }),\n this.renderItems()\n ) : _react2.default.createElement(\n 'ul',\n {\n className: _cssClasses2.default.SLIDER(true, this.state.swiping),\n style: itemListStyles },\n this.renderItems()\n )\n ),\n _react2.default.createElement('button', { type: 'button', className: _cssClasses2.default.ARROW_NEXT(!hasNext), onClick: this.increment }),\n this.renderControls(),\n this.renderStatus()\n ),\n this.renderThumbs()\n );\n }\n }]);\n\n return Carousel;\n}(_react.Component);\n\nCarousel.displayName = 'Carousel';\nCarousel.propTypes = {\n className: _propTypes2.default.string,\n children: _propTypes2.default.node,\n showArrows: _propTypes2.default.bool,\n showStatus: _propTypes2.default.bool,\n showIndicators: _propTypes2.default.bool,\n infiniteLoop: _propTypes2.default.bool,\n showThumbs: _propTypes2.default.bool,\n thumbWidth: _propTypes2.default.number,\n selectedItem: _propTypes2.default.number,\n onClickItem: _propTypes2.default.func.isRequired,\n onClickThumb: _propTypes2.default.func.isRequired,\n onChange: _propTypes2.default.func.isRequired,\n axis: _propTypes2.default.oneOf(['horizontal', 'vertical']),\n verticalSwipe: _propTypes2.default.oneOf(['natural', 'standard']),\n width: customPropTypes.unit,\n useKeyboardArrows: _propTypes2.default.bool,\n autoPlay: _propTypes2.default.bool,\n stopOnHover: _propTypes2.default.bool,\n interval: _propTypes2.default.number,\n transitionTime: _propTypes2.default.number,\n swipeScrollTolerance: _propTypes2.default.number,\n swipeable: _propTypes2.default.bool,\n dynamicHeight: _propTypes2.default.bool,\n emulateTouch: _propTypes2.default.bool,\n statusFormatter: _propTypes2.default.func.isRequired,\n centerMode: _propTypes2.default.bool,\n centerSlidePercentage: _propTypes2.default.number\n};\nCarousel.defaultProps = {\n showIndicators: true,\n showArrows: true,\n showStatus: true,\n showThumbs: true,\n infiniteLoop: false,\n selectedItem: 0,\n axis: 'horizontal',\n verticalSwipe: 'standard',\n width: '100%',\n useKeyboardArrows: false,\n autoPlay: false,\n stopOnHover: true,\n interval: 3000,\n transitionTime: 350,\n swipeScrollTolerance: 5,\n swipeable: true,\n dynamicHeight: false,\n emulateTouch: false,\n onClickItem: noop,\n onClickThumb: noop,\n onChange: noop,\n statusFormatter: defaultStatusFormatter,\n centerMode: false,\n centerSlidePercentage: 80\n};\nexports.default = Carousel;","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar ReactPropTypesSecret = require('./lib/ReactPropTypesSecret');\n\nfunction emptyFunction() {}\nfunction emptyFunctionWithReset() {}\nemptyFunctionWithReset.resetWarningCache = emptyFunction;\n\nmodule.exports = function() {\n function shim(props, propName, componentName, location, propFullName, secret) {\n if (secret === ReactPropTypesSecret) {\n // It is still safe when called from React.\n return;\n }\n var err = new Error(\n 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +\n 'Use PropTypes.checkPropTypes() to call them. ' +\n 'Read more at http://fb.me/use-check-prop-types'\n );\n err.name = 'Invariant Violation';\n throw err;\n };\n shim.isRequired = shim;\n function getShim() {\n return shim;\n };\n // Important!\n // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.\n var ReactPropTypes = {\n array: shim,\n bool: shim,\n func: shim,\n number: shim,\n object: shim,\n string: shim,\n symbol: shim,\n\n any: shim,\n arrayOf: getShim,\n element: shim,\n elementType: shim,\n instanceOf: getShim,\n node: shim,\n objectOf: getShim,\n oneOf: getShim,\n oneOfType: getShim,\n shape: getShim,\n exact: getShim,\n\n checkPropTypes: emptyFunctionWithReset,\n resetWarningCache: emptyFunction\n };\n\n ReactPropTypes.PropTypes = ReactPropTypes;\n\n return ReactPropTypes;\n};\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';\n\nmodule.exports = ReactPropTypesSecret;\n","(function (global, factory) {\n if (typeof define === \"function\" && define.amd) {\n define(['exports', 'react', 'prop-types'], factory);\n } else if (typeof exports !== \"undefined\") {\n factory(exports, require('react'), require('prop-types'));\n } else {\n var mod = {\n exports: {}\n };\n factory(mod.exports, global.react, global.propTypes);\n global.reactSwipe = mod.exports;\n }\n})(this, function (exports, _react, _propTypes) {\n 'use strict';\n\n Object.defineProperty(exports, \"__esModule\", {\n value: true\n });\n exports.setHasSupportToCaptureOption = setHasSupportToCaptureOption;\n\n var _react2 = _interopRequireDefault(_react);\n\n var _propTypes2 = _interopRequireDefault(_propTypes);\n\n function _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n default: obj\n };\n }\n\n function _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n }\n\n var _createClass = function () {\n function defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n }\n\n return function (Constructor, protoProps, staticProps) {\n if (protoProps) defineProperties(Constructor.prototype, protoProps);\n if (staticProps) defineProperties(Constructor, staticProps);\n return Constructor;\n };\n }();\n\n function _possibleConstructorReturn(self, call) {\n if (!self) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n\n return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self;\n }\n\n function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass);\n }\n\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass;\n }\n\n var supportsCaptureOption = false;\n function setHasSupportToCaptureOption(hasSupport) {\n supportsCaptureOption = hasSupport;\n }\n\n try {\n addEventListener(\"test\", null, Object.defineProperty({}, 'capture', { get: function get() {\n setHasSupportToCaptureOption(true);\n } }));\n } catch (e) {}\n\n function getSafeEventHandlerOpts() {\n var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : { capture: true };\n\n return supportsCaptureOption ? options : options.capture;\n }\n\n /**\n * [getPosition returns a position element that works for mouse or touch events]\n * @param {[Event]} event [the received event]\n * @return {[Object]} [x and y coords]\n */\n function getPosition(event) {\n if ('touches' in event) {\n var _event$touches$ = event.touches[0],\n pageX = _event$touches$.pageX,\n pageY = _event$touches$.pageY;\n\n return { x: pageX, y: pageY };\n }\n\n var screenX = event.screenX,\n screenY = event.screenY;\n\n return { x: screenX, y: screenY };\n }\n\n var ReactSwipe = function (_Component) {\n _inherits(ReactSwipe, _Component);\n\n function ReactSwipe() {\n var _ref;\n\n _classCallCheck(this, ReactSwipe);\n\n for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n var _this = _possibleConstructorReturn(this, (_ref = ReactSwipe.__proto__ || Object.getPrototypeOf(ReactSwipe)).call.apply(_ref, [this].concat(args)));\n\n _this._handleSwipeStart = _this._handleSwipeStart.bind(_this);\n _this._handleSwipeMove = _this._handleSwipeMove.bind(_this);\n _this._handleSwipeEnd = _this._handleSwipeEnd.bind(_this);\n\n _this._onMouseDown = _this._onMouseDown.bind(_this);\n _this._onMouseMove = _this._onMouseMove.bind(_this);\n _this._onMouseUp = _this._onMouseUp.bind(_this);\n return _this;\n }\n\n _createClass(ReactSwipe, [{\n key: 'componentDidMount',\n value: function componentDidMount() {\n if (this.swiper) {\n this.swiper.addEventListener('touchmove', this._handleSwipeMove, getSafeEventHandlerOpts({\n capture: true,\n passive: false\n }));\n }\n }\n }, {\n key: 'componentWillUnmount',\n value: function componentWillUnmount() {\n if (this.swiper) {\n this.swiper.removeEventListener('touchmove', this._handleSwipeMove, getSafeEventHandlerOpts({\n capture: true,\n passive: false\n }));\n }\n }\n }, {\n key: '_onMouseDown',\n value: function _onMouseDown(event) {\n if (!this.props.allowMouseEvents) {\n return;\n }\n\n this.mouseDown = true;\n\n document.addEventListener('mouseup', this._onMouseUp);\n document.addEventListener('mousemove', this._onMouseMove);\n\n this._handleSwipeStart(event);\n }\n }, {\n key: '_onMouseMove',\n value: function _onMouseMove(event) {\n if (!this.mouseDown) {\n return;\n }\n\n this._handleSwipeMove(event);\n }\n }, {\n key: '_onMouseUp',\n value: function _onMouseUp(event) {\n this.mouseDown = false;\n\n document.removeEventListener('mouseup', this._onMouseUp);\n document.removeEventListener('mousemove', this._onMouseMove);\n\n this._handleSwipeEnd(event);\n }\n }, {\n key: '_handleSwipeStart',\n value: function _handleSwipeStart(event) {\n var _getPosition = getPosition(event),\n x = _getPosition.x,\n y = _getPosition.y;\n\n this.moveStart = { x: x, y: y };\n this.props.onSwipeStart(event);\n }\n }, {\n key: '_handleSwipeMove',\n value: function _handleSwipeMove(event) {\n if (!this.moveStart) {\n return;\n }\n\n var _getPosition2 = getPosition(event),\n x = _getPosition2.x,\n y = _getPosition2.y;\n\n var deltaX = x - this.moveStart.x;\n var deltaY = y - this.moveStart.y;\n this.moving = true;\n\n // handling the responsability of cancelling the scroll to\n // the component handling the event\n var shouldPreventDefault = this.props.onSwipeMove({\n x: deltaX,\n y: deltaY\n }, event);\n\n if (shouldPreventDefault) {\n event.preventDefault();\n }\n\n this.movePosition = { deltaX: deltaX, deltaY: deltaY };\n }\n }, {\n key: '_handleSwipeEnd',\n value: function _handleSwipeEnd(event) {\n this.props.onSwipeEnd(event);\n\n var tolerance = this.props.tolerance;\n\n\n if (this.moving && this.movePosition) {\n if (this.movePosition.deltaX < -tolerance) {\n this.props.onSwipeLeft(1, event);\n } else if (this.movePosition.deltaX > tolerance) {\n this.props.onSwipeRight(1, event);\n }\n if (this.movePosition.deltaY < -tolerance) {\n this.props.onSwipeUp(1, event);\n } else if (this.movePosition.deltaY > tolerance) {\n this.props.onSwipeDown(1, event);\n }\n }\n\n this.moveStart = null;\n this.moving = false;\n this.movePosition = null;\n }\n }, {\n key: 'render',\n value: function render() {\n var _this2 = this;\n\n return _react2.default.createElement(\n this.props.tagName,\n {\n ref: function ref(node) {\n return _this2.swiper = node;\n },\n onMouseDown: this._onMouseDown,\n onTouchStart: this._handleSwipeStart,\n onTouchEnd: this._handleSwipeEnd,\n className: this.props.className,\n style: this.props.style\n },\n this.props.children\n );\n }\n }]);\n\n return ReactSwipe;\n }(_react.Component);\n\n ReactSwipe.displayName = 'ReactSwipe';\n ReactSwipe.propTypes = {\n tagName: _propTypes2.default.string,\n className: _propTypes2.default.string,\n style: _propTypes2.default.object,\n children: _propTypes2.default.node,\n allowMouseEvents: _propTypes2.default.bool,\n onSwipeUp: _propTypes2.default.func,\n onSwipeDown: _propTypes2.default.func,\n onSwipeLeft: _propTypes2.default.func,\n onSwipeRight: _propTypes2.default.func,\n onSwipeStart: _propTypes2.default.func,\n onSwipeMove: _propTypes2.default.func,\n onSwipeEnd: _propTypes2.default.func,\n tolerance: _propTypes2.default.number.isRequired\n };\n ReactSwipe.defaultProps = {\n tagName: 'div',\n allowMouseEvents: false,\n onSwipeUp: function onSwipeUp() {},\n onSwipeDown: function onSwipeDown() {},\n onSwipeLeft: function onSwipeLeft() {},\n onSwipeRight: function onSwipeRight() {},\n onSwipeStart: function onSwipeStart() {},\n onSwipeMove: function onSwipeMove() {},\n onSwipeEnd: function onSwipeEnd() {},\n\n tolerance: 0\n };\n exports.default = ReactSwipe;\n});","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nif (process.env.NODE_ENV !== 'production') {\n var ReactIs = require('react-is');\n\n // By explicitly using `prop-types` you are opting into new development behavior.\n // http://fb.me/prop-types-in-prod\n var throwOnDirectAccess = true;\n module.exports = require('./factoryWithTypeCheckers')(ReactIs.isElement, throwOnDirectAccess);\n} else {\n // By explicitly using `prop-types` you are opting into new production behavior.\n // http://fb.me/prop-types-in-prod\n module.exports = require('./factoryWithThrowingShims')();\n}\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar ReactPropTypesSecret = require('./lib/ReactPropTypesSecret');\n\nfunction emptyFunction() {}\nfunction emptyFunctionWithReset() {}\nemptyFunctionWithReset.resetWarningCache = emptyFunction;\n\nmodule.exports = function() {\n function shim(props, propName, componentName, location, propFullName, secret) {\n if (secret === ReactPropTypesSecret) {\n // It is still safe when called from React.\n return;\n }\n var err = new Error(\n 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +\n 'Use PropTypes.checkPropTypes() to call them. ' +\n 'Read more at http://fb.me/use-check-prop-types'\n );\n err.name = 'Invariant Violation';\n throw err;\n };\n shim.isRequired = shim;\n function getShim() {\n return shim;\n };\n // Important!\n // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.\n var ReactPropTypes = {\n array: shim,\n bool: shim,\n func: shim,\n number: shim,\n object: shim,\n string: shim,\n symbol: shim,\n\n any: shim,\n arrayOf: getShim,\n element: shim,\n elementType: shim,\n instanceOf: getShim,\n node: shim,\n objectOf: getShim,\n oneOf: getShim,\n oneOfType: getShim,\n shape: getShim,\n exact: getShim,\n\n checkPropTypes: emptyFunctionWithReset,\n resetWarningCache: emptyFunction\n };\n\n ReactPropTypes.PropTypes = ReactPropTypes;\n\n return ReactPropTypes;\n};\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';\n\nmodule.exports = ReactPropTypesSecret;\n","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\nvar outerWidth = exports.outerWidth = function outerWidth(el) {\n\tvar width = el.offsetWidth;\n\tvar style = getComputedStyle(el);\n\n\twidth += parseInt(style.marginLeft) + parseInt(style.marginRight);\n\treturn width;\n};","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar unit = exports.unit = function unit(props, propName, componentName) {\n if (!/(pt|px|em|rem|vw|vh|%)$/.test(props[propName])) {\n return new Error('Invalid prop `' + propName + '` supplied to' + ' `' + componentName + '`. Validation failed. It needs to be a size unit like pt, px, em, rem, vw, %');\n }\n};"],"sourceRoot":""}