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a,UAAW,EACXoD,aAAc,CACZ7J,SAAU,QACVC,aAAc,mCACdC,MAAO,MAET+E,YAAY,GAEd,IAAIgG,EAAW1I,EACfrF,EAAA,QAAkB+N","sources":["webpack://mono-repo/./node_modules/react-swipeable-views-react-18-fix/lib/SwipeableViews.js"],"sourcesContent":["'use strict';\n\nvar _interopRequireDefault = require('@babel/runtime/helpers/interopRequireDefault');\n\nvar _interopRequireWildcard = require('@babel/runtime/helpers/interopRequireWildcard');\n\nObject.defineProperty(exports, '__esModule', {\n value: true,\n});\nexports.default = exports.SwipeableViewsContext = void 0;\nexports.findNativeHandler = findNativeHandler;\nexports.getDomTreeShapes = getDomTreeShapes;\n\nvar _extends2 = _interopRequireDefault(require('@babel/runtime/helpers/extends'));\n\nvar _objectWithoutProperties2 = _interopRequireDefault(\n require('@babel/runtime/helpers/objectWithoutProperties'),\n);\n\nvar _classCallCheck2 = _interopRequireDefault(require('@babel/runtime/helpers/classCallCheck'));\n\nvar _createClass2 = _interopRequireDefault(require('@babel/runtime/helpers/createClass'));\n\nvar _inherits2 = _interopRequireDefault(require('@babel/runtime/helpers/inherits'));\n\nvar _createSuper2 = _interopRequireDefault(require('@babel/runtime/helpers/createSuper'));\n\nvar React = _interopRequireWildcard(require('react'));\n\nvar _propTypes = _interopRequireDefault(require('prop-types'));\n\nvar _warning = _interopRequireDefault(require('warning'));\n\nvar _reactSwipeableViewsCore = require('react-swipeable-views-core-react-18-fix');\n\nvar _excluded = [\n 'action',\n 'animateHeight',\n 'animateTransitions',\n 'axis',\n 'children',\n 'containerStyle',\n 'disabled',\n 'disableLazyLoading',\n 'enableMouseEvents',\n 'hysteresis',\n 'ignoreNativeScroll',\n 'index',\n 'onChangeIndex',\n 'onSwitching',\n 'onTransitionEnd',\n 'resistance',\n 'slideStyle',\n 'slideClassName',\n 'springConfig',\n 'style',\n 'threshold',\n];\n\nfunction addEventListener(node, event, handler, options) {\n node.addEventListener(event, handler, options);\n return {\n remove: function remove() {\n node.removeEventListener(event, handler, options);\n },\n };\n}\n\nvar styles = {\n container: {\n direction: 'ltr',\n display: 'flex',\n willChange: 'transform',\n },\n slide: {\n width: '100%',\n WebkitFlexShrink: 0,\n flexShrink: 0,\n overflow: 'auto',\n },\n};\nvar axisProperties = {\n root: {\n x: {\n overflowX: 'hidden',\n },\n 'x-reverse': {\n overflowX: 'hidden',\n },\n y: {\n overflowY: 'hidden',\n },\n 'y-reverse': {\n overflowY: 'hidden',\n },\n },\n flexDirection: {\n x: 'row',\n 'x-reverse': 'row-reverse',\n y: 'column',\n 'y-reverse': 'column-reverse',\n },\n transform: {\n x: function x(translate) {\n return 'translate('.concat(-translate, '%, 0)');\n },\n 'x-reverse': function xReverse(translate) {\n return 'translate('.concat(translate, '%, 0)');\n },\n y: function y(translate) {\n return 'translate(0, '.concat(-translate, '%)');\n },\n 'y-reverse': function yReverse(translate) {\n return 'translate(0, '.concat(translate, '%)');\n },\n },\n length: {\n x: 'width',\n 'x-reverse': 'width',\n y: 'height',\n 'y-reverse': 'height',\n },\n rotationMatrix: {\n x: {\n x: [1, 0],\n y: [0, 1],\n },\n 'x-reverse': {\n x: [-1, 0],\n y: [0, 1],\n },\n y: {\n x: [0, 1],\n y: [1, 0],\n },\n 'y-reverse': {\n x: [0, -1],\n y: [1, 0],\n },\n },\n scrollPosition: {\n x: 'scrollLeft',\n 'x-reverse': 'scrollLeft',\n y: 'scrollTop',\n 'y-reverse': 'scrollTop',\n },\n scrollLength: {\n x: 'scrollWidth',\n 'x-reverse': 'scrollWidth',\n y: 'scrollHeight',\n 'y-reverse': 'scrollHeight',\n },\n clientLength: {\n x: 'clientWidth',\n 'x-reverse': 'clientWidth',\n y: 'clientHeight',\n 'y-reverse': 'clientHeight',\n },\n};\n\nfunction createTransition(property, options) {\n var duration = options.duration,\n easeFunction = options.easeFunction,\n delay = options.delay;\n return ''\n .concat(property, ' ')\n .concat(duration, ' ')\n .concat(easeFunction, ' ')\n .concat(delay);\n} // We are using a 2x2 rotation matrix.\n\nfunction applyRotationMatrix(touch, axis) {\n var rotationMatrix = axisProperties.rotationMatrix[axis];\n return {\n pageX: rotationMatrix.x[0] * touch.pageX + rotationMatrix.x[1] * touch.pageY,\n pageY: rotationMatrix.y[0] * touch.pageX + rotationMatrix.y[1] * touch.pageY,\n };\n}\n\nfunction adaptMouse(event) {\n event.touches = [\n {\n pageX: event.pageX,\n pageY: event.pageY,\n },\n ];\n return event;\n}\n\nfunction getDomTreeShapes(element, rootNode) {\n var domTreeShapes = [];\n\n while (element && element !== rootNode && element !== document.body) {\n // We reach a Swipeable View, no need to look higher in the dom tree.\n if (element.hasAttribute('data-swipeable')) {\n break;\n }\n\n var style = window.getComputedStyle(element);\n\n if (\n // Ignore the scroll children if the element is absolute positioned.\n style.getPropertyValue('position') === 'absolute' || // Ignore the scroll children if the element has an overflowX hidden\n style.getPropertyValue('overflow-x') === 'hidden'\n ) {\n domTreeShapes = [];\n } else if (\n (element.clientWidth > 0 && element.scrollWidth > element.clientWidth) ||\n (element.clientHeight > 0 && element.scrollHeight > element.clientHeight)\n ) {\n // Ignore the nodes that have no width.\n // Keep elements with a scroll\n domTreeShapes.push({\n element: element,\n scrollWidth: element.scrollWidth,\n scrollHeight: element.scrollHeight,\n clientWidth: element.clientWidth,\n clientHeight: element.clientHeight,\n scrollLeft: element.scrollLeft,\n scrollTop: element.scrollTop,\n });\n }\n\n element = element.parentNode;\n }\n\n return domTreeShapes;\n} // We can only have one node at the time claiming ownership for handling the swipe.\n// Otherwise, the UX would be confusing.\n// That's why we use a singleton here.\n\nvar nodeWhoClaimedTheScroll = null;\n\nfunction findNativeHandler(params) {\n var domTreeShapes = params.domTreeShapes,\n pageX = params.pageX,\n startX = params.startX,\n axis = params.axis;\n return domTreeShapes.some(function(shape) {\n // Determine if we are going backward or forward.\n var goingForward = pageX >= startX;\n\n if (axis === 'x' || axis === 'y') {\n goingForward = !goingForward;\n } // scrollTop is not always be an integer.\n // https://github.com/jquery/api.jquery.com/issues/608\n\n var scrollPosition = Math.round(shape[axisProperties.scrollPosition[axis]]);\n var areNotAtStart = scrollPosition > 0;\n var areNotAtEnd =\n scrollPosition + shape[axisProperties.clientLength[axis]] <\n shape[axisProperties.scrollLength[axis]];\n\n if ((goingForward && areNotAtEnd) || (!goingForward && areNotAtStart)) {\n nodeWhoClaimedTheScroll = shape.element;\n return true;\n }\n\n return false;\n });\n}\n\nvar SwipeableViewsContext = React.createContext();\nexports.SwipeableViewsContext = SwipeableViewsContext;\n\nif (process.env.NODE_ENV !== 'production') {\n SwipeableViewsContext.displayName = 'SwipeableViewsContext';\n}\n\nvar SwipeableViews = /*#__PURE__*/ (function(_React$Component) {\n (0, _inherits2.default)(SwipeableViews, _React$Component);\n\n var _super = (0, _createSuper2.default)(SwipeableViews);\n\n function SwipeableViews(props) {\n var _this;\n\n (0, _classCallCheck2.default)(this, SwipeableViews);\n _this = _super.call(this, props);\n _this.rootNode = null;\n _this.containerNode = null;\n _this.ignoreNextScrollEvents = false;\n _this.viewLength = 0;\n _this.startX = 0;\n _this.lastX = 0;\n _this.vx = 0;\n _this.startY = 0;\n _this.isSwiping = undefined;\n _this.started = false;\n _this.startIndex = 0;\n _this.transitionListener = null;\n _this.touchMoveListener = null;\n _this.activeSlide = null;\n _this.indexCurrent = null;\n _this.firstRenderTimeout = null;\n\n _this.setRootNode = function(node) {\n _this.rootNode = node;\n };\n\n _this.setContainerNode = function(node) {\n _this.containerNode = node;\n };\n\n _this.setActiveSlide = function(node) {\n _this.activeSlide = node;\n\n _this.updateHeight();\n };\n\n _this.handleSwipeStart = function(event) {\n var axis = _this.props.axis;\n var touch = applyRotationMatrix(event.touches[0], axis);\n _this.viewLength = _this.rootNode.getBoundingClientRect()[axisProperties.length[axis]];\n _this.startX = touch.pageX;\n _this.lastX = touch.pageX;\n _this.vx = 0;\n _this.startY = touch.pageY;\n _this.isSwiping = undefined;\n _this.started = true;\n var computedStyle = window.getComputedStyle(_this.containerNode);\n var transform =\n computedStyle.getPropertyValue('-webkit-transform') ||\n computedStyle.getPropertyValue('transform');\n\n if (transform && transform !== 'none') {\n var transformValues = transform\n .split('(')[1]\n .split(')')[0]\n .split(',');\n var rootStyle = window.getComputedStyle(_this.rootNode);\n var tranformNormalized = applyRotationMatrix(\n {\n pageX: parseInt(transformValues[4], 10),\n pageY: parseInt(transformValues[5], 10),\n },\n axis,\n );\n _this.startIndex =\n -tranformNormalized.pageX /\n (_this.viewLength -\n parseInt(rootStyle.paddingLeft, 10) -\n parseInt(rootStyle.paddingRight, 10)) || 0;\n }\n };\n\n _this.handleSwipeMove = function(event) {\n // The touch start event can be cancel.\n // Makes sure we set a starting point.\n if (!_this.started) {\n _this.handleTouchStart(event);\n\n return;\n } // We are not supposed to hanlde this touch move.\n\n if (nodeWhoClaimedTheScroll !== null && nodeWhoClaimedTheScroll !== _this.rootNode) {\n return;\n }\n\n var _this$props = _this.props,\n axis = _this$props.axis,\n children = _this$props.children,\n ignoreNativeScroll = _this$props.ignoreNativeScroll,\n onSwitching = _this$props.onSwitching,\n resistance = _this$props.resistance;\n var touch = applyRotationMatrix(event.touches[0], axis); // We don't know yet.\n\n if (_this.isSwiping === undefined) {\n var dx = Math.abs(touch.pageX - _this.startX);\n var dy = Math.abs(touch.pageY - _this.startY);\n var isSwiping = dx > dy && dx > _reactSwipeableViewsCore.constant.UNCERTAINTY_THRESHOLD; // We let the parent handle the scroll.\n\n if (\n !resistance &&\n (axis === 'y' || axis === 'y-reverse') &&\n ((_this.indexCurrent === 0 && _this.startX < touch.pageX) ||\n (_this.indexCurrent === React.Children.count(_this.props.children) - 1 &&\n _this.startX > touch.pageX))\n ) {\n _this.isSwiping = false;\n return;\n } // We are likely to be swiping, let's prevent the scroll event.\n\n if (dx > dy) {\n event.preventDefault();\n }\n\n if (isSwiping === true || dy > _reactSwipeableViewsCore.constant.UNCERTAINTY_THRESHOLD) {\n _this.isSwiping = isSwiping;\n _this.startX = touch.pageX; // Shift the starting point.\n\n return; // Let's wait the next touch event to move something.\n }\n }\n\n if (_this.isSwiping !== true) {\n return;\n } // We are swiping, let's prevent the scroll event.\n\n event.preventDefault(); // Low Pass filter.\n\n _this.vx = _this.vx * 0.5 + (touch.pageX - _this.lastX) * 0.5;\n _this.lastX = touch.pageX;\n\n var _computeIndex = (0, _reactSwipeableViewsCore.computeIndex)({\n children: children,\n resistance: resistance,\n pageX: touch.pageX,\n startIndex: _this.startIndex,\n startX: _this.startX,\n viewLength: _this.viewLength,\n }),\n index = _computeIndex.index,\n startX = _computeIndex.startX; // Add support for native scroll elements.\n\n if (nodeWhoClaimedTheScroll === null && !ignoreNativeScroll) {\n var domTreeShapes = getDomTreeShapes(event.target, _this.rootNode);\n var hasFoundNativeHandler = findNativeHandler({\n domTreeShapes: domTreeShapes,\n startX: _this.startX,\n pageX: touch.pageX,\n axis: axis,\n }); // We abort the touch move handler.\n\n if (hasFoundNativeHandler) {\n return;\n }\n } // We are moving toward the edges.\n\n if (startX) {\n _this.startX = startX;\n } else if (nodeWhoClaimedTheScroll === null) {\n nodeWhoClaimedTheScroll = _this.rootNode;\n }\n\n _this.setIndexCurrent(index);\n\n var callback = function callback() {\n if (onSwitching) {\n onSwitching(index, 'move');\n }\n };\n\n if (_this.state.displaySameSlide || !_this.state.isDragging) {\n _this.setState(\n {\n displaySameSlide: false,\n isDragging: true,\n },\n callback,\n );\n }\n\n callback();\n };\n\n _this.handleSwipeEnd = function() {\n nodeWhoClaimedTheScroll = null; // The touch start event can be cancel.\n // Makes sure that a starting point is set.\n\n if (!_this.started) {\n return;\n }\n\n _this.started = false;\n\n if (_this.isSwiping !== true) {\n return;\n }\n\n var indexLatest = _this.state.indexLatest;\n var indexCurrent = _this.indexCurrent;\n var delta = indexLatest - indexCurrent;\n var indexNew; // Quick movement\n\n if (Math.abs(_this.vx) > _this.props.threshold) {\n if (_this.vx > 0) {\n indexNew = Math.floor(indexCurrent);\n } else {\n indexNew = Math.ceil(indexCurrent);\n }\n } else if (Math.abs(delta) > _this.props.hysteresis) {\n // Some hysteresis with indexLatest.\n indexNew = delta > 0 ? Math.floor(indexCurrent) : Math.ceil(indexCurrent);\n } else {\n indexNew = indexLatest;\n }\n\n var indexMax = React.Children.count(_this.props.children) - 1;\n\n if (indexNew < 0) {\n indexNew = 0;\n } else if (indexNew > indexMax) {\n indexNew = indexMax;\n }\n\n _this.setIndexCurrent(indexNew);\n\n _this.setState(\n {\n indexLatest: indexNew,\n isDragging: false,\n },\n function() {\n if (_this.props.onSwitching) {\n _this.props.onSwitching(indexNew, 'end');\n }\n\n if (_this.props.onChangeIndex && indexNew !== indexLatest) {\n _this.props.onChangeIndex(indexNew, indexLatest, {\n reason: 'swipe',\n });\n } // Manually calling handleTransitionEnd in that case as isn't otherwise.\n\n if (indexCurrent === indexLatest) {\n _this.handleTransitionEnd();\n }\n },\n );\n };\n\n _this.handleTouchStart = function(event) {\n if (_this.props.onTouchStart) {\n _this.props.onTouchStart(event);\n }\n\n _this.handleSwipeStart(event);\n };\n\n _this.handleTouchEnd = function(event) {\n if (_this.props.onTouchEnd) {\n _this.props.onTouchEnd(event);\n }\n\n _this.handleSwipeEnd(event);\n };\n\n _this.handleMouseDown = function(event) {\n if (_this.props.onMouseDown) {\n _this.props.onMouseDown(event);\n }\n\n event.persist();\n\n _this.handleSwipeStart(adaptMouse(event));\n };\n\n _this.handleMouseUp = function(event) {\n if (_this.props.onMouseUp) {\n _this.props.onMouseUp(event);\n }\n\n _this.handleSwipeEnd(adaptMouse(event));\n };\n\n _this.handleMouseLeave = function(event) {\n if (_this.props.onMouseLeave) {\n _this.props.onMouseLeave(event);\n } // Filter out events\n\n if (_this.started) {\n _this.handleSwipeEnd(adaptMouse(event));\n }\n };\n\n _this.handleMouseMove = function(event) {\n if (_this.props.onMouseMove) {\n _this.props.onMouseMove(event);\n } // Filter out events\n\n if (_this.started) {\n _this.handleSwipeMove(adaptMouse(event));\n }\n };\n\n _this.handleScroll = function(event) {\n if (_this.props.onScroll) {\n _this.props.onScroll(event);\n } // Ignore events bubbling up.\n\n if (event.target !== _this.rootNode) {\n return;\n }\n\n if (_this.ignoreNextScrollEvents) {\n _this.ignoreNextScrollEvents = false;\n return;\n }\n\n var indexLatest = _this.state.indexLatest;\n var indexNew = Math.ceil(event.target.scrollLeft / event.target.clientWidth) + indexLatest;\n _this.ignoreNextScrollEvents = true; // Reset the scroll position.\n\n event.target.scrollLeft = 0;\n\n if (_this.props.onChangeIndex && indexNew !== indexLatest) {\n _this.props.onChangeIndex(indexNew, indexLatest, {\n reason: 'focus',\n });\n }\n };\n\n _this.updateHeight = function() {\n if (_this.activeSlide !== null) {\n var child = _this.activeSlide.children[0];\n\n if (\n child !== undefined &&\n child.offsetHeight !== undefined &&\n _this.state.heightLatest !== child.offsetHeight\n ) {\n _this.setState({\n heightLatest: child.offsetHeight,\n });\n }\n }\n };\n\n if (process.env.NODE_ENV !== 'production') {\n (0, _reactSwipeableViewsCore.checkIndexBounds)(props);\n }\n\n _this.state = {\n indexLatest: props.index,\n // Set to true as soon as the component is swiping.\n // It's the state counter part of this.isSwiping.\n isDragging: false,\n // Help with SSR logic and lazy loading logic.\n renderOnlyActive: !props.disableLazyLoading,\n heightLatest: 0,\n // Let the render method that we are going to display the same slide than previously.\n displaySameSlide: true,\n };\n\n _this.setIndexCurrent(props.index);\n\n return _this;\n }\n\n (0, _createClass2.default)(SwipeableViews, [\n {\n key: 'componentDidMount',\n value: function componentDidMount() {\n var _this2 = this;\n\n // Subscribe to transition end events.\n this.transitionListener = addEventListener(this.containerNode, 'transitionend', function(\n event,\n ) {\n if (event.target !== _this2.containerNode) {\n return;\n }\n\n _this2.handleTransitionEnd();\n }); // Block the thread to handle that event.\n\n this.touchMoveListener = addEventListener(\n this.rootNode,\n 'touchmove',\n function(event) {\n // Handling touch events is disabled.\n if (_this2.props.disabled) {\n return;\n }\n\n _this2.handleSwipeMove(event);\n },\n {\n passive: false,\n },\n );\n\n if (!this.props.disableLazyLoading) {\n this.firstRenderTimeout = setTimeout(function() {\n _this2.setState({\n renderOnlyActive: false,\n });\n }, 0);\n } // Send all functions in an object if action param is set.\n\n if (this.props.action) {\n this.props.action({\n updateHeight: this.updateHeight,\n });\n }\n }, // eslint-disable-next-line camelcase,react/sort-comp\n },\n {\n key: 'UNSAFE_componentWillReceiveProps',\n value: function UNSAFE_componentWillReceiveProps(nextProps) {\n var index = nextProps.index;\n\n if (typeof index === 'number' && index !== this.props.index) {\n if (process.env.NODE_ENV !== 'production') {\n (0, _reactSwipeableViewsCore.checkIndexBounds)(nextProps);\n }\n\n this.setIndexCurrent(index);\n this.setState({\n // If true, we are going to change the children. We shoudn't animate it.\n displaySameSlide: (0, _reactSwipeableViewsCore.getDisplaySameSlide)(\n this.props,\n nextProps,\n ),\n indexLatest: index,\n });\n }\n },\n },\n {\n key: 'componentWillUnmount',\n value: function componentWillUnmount() {\n this.transitionListener.remove();\n this.touchMoveListener.remove();\n clearTimeout(this.firstRenderTimeout);\n },\n },\n {\n key: 'getSwipeableViewsContext',\n value: function getSwipeableViewsContext() {\n var _this3 = this;\n\n return {\n slideUpdateHeight: function slideUpdateHeight() {\n _this3.updateHeight();\n },\n };\n },\n },\n {\n key: 'setIndexCurrent',\n value: function setIndexCurrent(indexCurrent) {\n if (!this.props.animateTransitions && this.indexCurrent !== indexCurrent) {\n this.handleTransitionEnd();\n }\n\n this.indexCurrent = indexCurrent;\n\n if (this.containerNode) {\n var axis = this.props.axis;\n var transform = axisProperties.transform[axis](indexCurrent * 100);\n this.containerNode.style.WebkitTransform = transform;\n this.containerNode.style.transform = transform;\n }\n },\n },\n {\n key: 'handleTransitionEnd',\n value: function handleTransitionEnd() {\n if (!this.props.onTransitionEnd) {\n return;\n } // Filters out when changing the children\n\n if (this.state.displaySameSlide) {\n return;\n } // The rest callback is triggered when swiping. It's just noise.\n // We filter it out.\n\n if (!this.state.isDragging) {\n this.props.onTransitionEnd();\n }\n },\n },\n {\n key: 'render',\n value: function render() {\n var _this4 = this;\n\n var _this$props2 = this.props,\n action = _this$props2.action,\n animateHeight = _this$props2.animateHeight,\n animateTransitions = _this$props2.animateTransitions,\n axis = _this$props2.axis,\n children = _this$props2.children,\n containerStyleProp = _this$props2.containerStyle,\n disabled = _this$props2.disabled,\n disableLazyLoading = _this$props2.disableLazyLoading,\n enableMouseEvents = _this$props2.enableMouseEvents,\n hysteresis = _this$props2.hysteresis,\n ignoreNativeScroll = _this$props2.ignoreNativeScroll,\n index = _this$props2.index,\n onChangeIndex = _this$props2.onChangeIndex,\n onSwitching = _this$props2.onSwitching,\n onTransitionEnd = _this$props2.onTransitionEnd,\n resistance = _this$props2.resistance,\n slideStyleProp = _this$props2.slideStyle,\n slideClassName = _this$props2.slideClassName,\n springConfig = _this$props2.springConfig,\n style = _this$props2.style,\n threshold = _this$props2.threshold,\n other = (0, _objectWithoutProperties2.default)(_this$props2, _excluded);\n var _this$state = this.state,\n displaySameSlide = _this$state.displaySameSlide,\n heightLatest = _this$state.heightLatest,\n indexLatest = _this$state.indexLatest,\n isDragging = _this$state.isDragging,\n renderOnlyActive = _this$state.renderOnlyActive;\n var touchEvents = !disabled\n ? {\n onTouchStart: this.handleTouchStart,\n onTouchEnd: this.handleTouchEnd,\n }\n : {};\n var mouseEvents =\n !disabled && enableMouseEvents\n ? {\n onMouseDown: this.handleMouseDown,\n onMouseUp: this.handleMouseUp,\n onMouseLeave: this.handleMouseLeave,\n onMouseMove: this.handleMouseMove,\n }\n : {}; // There is no point to animate if we are already providing a height.\n\n process.env.NODE_ENV !== 'production'\n ? (0, _warning.default)(\n !animateHeight || !containerStyleProp || !containerStyleProp.height,\n 'react-swipeable-view: You are setting animateHeight to true but you are\\nalso providing a custom height.\\nThe custom height has a higher priority than the animateHeight property.\\nSo animateHeight is most likely having no effect at all.',\n )\n : void 0;\n var slideStyle = (0, _extends2.default)({}, styles.slide, slideStyleProp);\n var transition;\n var WebkitTransition;\n\n if (isDragging || !animateTransitions || displaySameSlide) {\n transition = 'all 0s ease 0s';\n WebkitTransition = 'all 0s ease 0s';\n } else {\n transition = createTransition('transform', springConfig);\n WebkitTransition = createTransition('-webkit-transform', springConfig);\n\n if (heightLatest !== 0) {\n var additionalTranstion = ', '.concat(createTransition('height', springConfig));\n transition += additionalTranstion;\n WebkitTransition += additionalTranstion;\n }\n }\n\n var containerStyle = {\n height: null,\n WebkitFlexDirection: axisProperties.flexDirection[axis],\n flexDirection: axisProperties.flexDirection[axis],\n WebkitTransition: WebkitTransition,\n transition: transition,\n }; // Apply the styles for SSR considerations\n\n if (!renderOnlyActive) {\n var transform = axisProperties.transform[axis](this.indexCurrent * 100);\n containerStyle.WebkitTransform = transform;\n containerStyle.transform = transform;\n }\n\n if (animateHeight) {\n containerStyle.height = heightLatest;\n }\n\n return /*#__PURE__*/ React.createElement(\n SwipeableViewsContext.Provider,\n {\n value: this.getSwipeableViewsContext(),\n },\n /*#__PURE__*/ React.createElement(\n 'div',\n (0, _extends2.default)(\n {\n ref: this.setRootNode,\n style: (0, _extends2.default)({}, axisProperties.root[axis], style),\n },\n other,\n touchEvents,\n mouseEvents,\n {\n onScroll: this.handleScroll,\n },\n ),\n /*#__PURE__*/ React.createElement(\n 'div',\n {\n ref: this.setContainerNode,\n style: (0, _extends2.default)(\n {},\n containerStyle,\n styles.container,\n containerStyleProp,\n ),\n className: 'react-swipeable-view-container',\n },\n React.Children.map(children, function(child, indexChild) {\n if (renderOnlyActive && indexChild !== indexLatest) {\n return null;\n }\n\n process.env.NODE_ENV !== 'production'\n ? (0, _warning.default)(\n React.isValidElement(child),\n 'react-swipeable-view: one of the children provided is invalid: '.concat(\n child,\n '.\\n We are expecting a valid React Element',\n ),\n )\n : void 0;\n var ref;\n var hidden = true;\n\n if (indexChild === indexLatest) {\n hidden = false;\n\n if (animateHeight) {\n ref = _this4.setActiveSlide;\n slideStyle.overflowY = 'hidden';\n }\n }\n\n return /*#__PURE__*/ React.createElement(\n 'div',\n {\n ref: ref,\n style: slideStyle,\n className: slideClassName,\n 'aria-hidden': hidden,\n 'data-swipeable': 'true',\n },\n child,\n );\n }),\n ),\n ),\n );\n },\n },\n ]);\n return SwipeableViews;\n})(React.Component); // Added as an ads for people using the React dev tools in production.\n// So they know, the tool used to build the awesome UI they\n// are looking at/retro engineering.\n\nSwipeableViews.displayName = 'ReactSwipableView';\nSwipeableViews.propTypes =\n process.env.NODE_ENV !== 'production'\n ? {\n /**\n * This is callback property. It's called by the component on mount.\n * This is useful when you want to trigger an action programmatically.\n * It currently only supports updateHeight() action.\n *\n * @param {object} actions This object contains all posible actions\n * that can be triggered programmatically.\n */\n action: _propTypes.default.func,\n\n /**\n * If `true`, the height of the container will be animated to match the current slide height.\n * Animating another style property has a negative impact regarding performance.\n */\n animateHeight: _propTypes.default.bool,\n\n /**\n * If `false`, changes to the index prop will not cause an animated transition.\n */\n animateTransitions: _propTypes.default.bool,\n\n /**\n * The axis on which the slides will slide.\n */\n axis: _propTypes.default.oneOf(['x', 'x-reverse', 'y', 'y-reverse']),\n\n /**\n * Use this property to provide your slides.\n */\n children: _propTypes.default.node.isRequired,\n\n /**\n * This is the inlined style that will be applied\n * to each slide container.\n */\n containerStyle: _propTypes.default.object,\n\n /**\n * If `true`, it will disable touch events.\n * This is useful when you want to prohibit the user from changing slides.\n */\n disabled: _propTypes.default.bool,\n\n /**\n * This is the config used to disable lazyloding,\n * if `true` will render all the views in first rendering.\n */\n disableLazyLoading: _propTypes.default.bool,\n\n /**\n * If `true`, it will enable mouse events.\n * This will allow the user to perform the relevant swipe actions with a mouse.\n */\n enableMouseEvents: _propTypes.default.bool,\n\n /**\n * Configure hysteresis between slides. This value determines how far\n * should user swipe to switch slide.\n */\n hysteresis: _propTypes.default.number,\n\n /**\n * If `true`, it will ignore native scroll container.\n * It can be used to filter out false positive that blocks the swipe.\n */\n ignoreNativeScroll: _propTypes.default.bool,\n\n /**\n * This is the index of the slide to show.\n * This is useful when you want to change the default slide shown.\n * Or when you have tabs linked to each slide.\n */\n index: _propTypes.default.number,\n\n /**\n * This is callback prop. It's call by the\n * component when the shown slide change after a swipe made by the user.\n * This is useful when you have tabs linked to each slide.\n *\n * @param {integer} index This is the current index of the slide.\n * @param {integer} indexLatest This is the oldest index of the slide.\n * @param {object} meta Meta data containing more information about the event.\n */\n onChangeIndex: _propTypes.default.func,\n\n /**\n * @ignore\n */\n onMouseDown: _propTypes.default.func,\n\n /**\n * @ignore\n */\n onMouseLeave: _propTypes.default.func,\n\n /**\n * @ignore\n */\n onMouseMove: _propTypes.default.func,\n\n /**\n * @ignore\n */\n onMouseUp: _propTypes.default.func,\n\n /**\n * @ignore\n */\n onScroll: _propTypes.default.func,\n\n /**\n * This is callback prop. It's called by the\n * component when the slide switching.\n * This is useful when you want to implement something corresponding\n * to the current slide position.\n *\n * @param {integer} index This is the current index of the slide.\n * @param {string} type Can be either `move` or `end`.\n */\n onSwitching: _propTypes.default.func,\n\n /**\n * @ignore\n */\n onTouchEnd: _propTypes.default.func,\n\n /**\n * @ignore\n */\n onTouchMove: _propTypes.default.func,\n\n /**\n * @ignore\n */\n onTouchStart: _propTypes.default.func,\n\n /**\n * The callback that fires when the animation comes to a rest.\n * This is useful to defer CPU intensive task.\n */\n onTransitionEnd: _propTypes.default.func,\n\n /**\n * If `true`, it will add bounds effect on the edges.\n */\n resistance: _propTypes.default.bool,\n\n /**\n * This is the className that will be applied\n * on the slide component.\n */\n slideClassName: _propTypes.default.string,\n\n /**\n * This is the inlined style that will be applied\n * on the slide component.\n */\n slideStyle: _propTypes.default.object,\n\n /**\n * This is the config used to create CSS transitions.\n * This is useful to change the dynamic of the transition.\n */\n springConfig: _propTypes.default.shape({\n delay: _propTypes.default.string,\n duration: _propTypes.default.string,\n easeFunction: _propTypes.default.string,\n }),\n\n /**\n * This is the inlined style that will be applied\n * on the root component.\n */\n style: _propTypes.default.object,\n\n /**\n * This is the threshold used for detecting a quick swipe.\n * If the computed speed is above this value, the index change.\n */\n threshold: _propTypes.default.number,\n }\n : {};\nSwipeableViews.defaultProps = {\n animateHeight: false,\n animateTransitions: true,\n axis: 'x',\n disabled: false,\n disableLazyLoading: false,\n enableMouseEvents: false,\n hysteresis: 0.6,\n ignoreNativeScroll: false,\n index: 0,\n threshold: 5,\n springConfig: {\n duration: '0.35s',\n easeFunction: 'cubic-bezier(0.15, 0.3, 0.25, 1)',\n delay: '0s',\n },\n resistance: false,\n};\nvar _default = SwipeableViews;\nexports.default = _default;\n"],"names":["_interopRequireDefault","_interopRequireWildcard","Object","defineProperty","exports","value","SwipeableViewsContext","findNativeHandler","getDomTreeShapes","_extends2","_objectWithoutProperties2","_classCallCheck2","_createClass2","_inherits2","_createSuper2","React","_reactSwipeableViewsCore","_excluded","addEventListener","node","event","handler","options","remove","removeEventListener","styles","direction","display","willChange","width","WebkitFlexShrink","flexShrink","overflow","axisProperties","root","x","overflowX","y","overflowY","flexDirection","transform","translate","concat","length","rotationMatrix","scrollPosition","scrollLength","clientLength","createTransition","property","duration","easeFunction","delay","applyRotationMatrix","touch","axis","pageX","pageY","adaptMouse","touches","element","rootNode","domTreeShapes","document","body","hasAttribute","style","window","getComputedStyle","getPropertyValue","clientWidth","scrollWidth","clientHeight","scrollHeight","push","scrollLeft","scrollTop","parentNode","nodeWhoClaimedTheScroll","params","startX","some","shape","goingForward","Math","round","areNotAtStart","areNotAtEnd","createContext","SwipeableViews","_React$Component","default","_super","props","_this","this","call","containerNode","ignoreNextScrollEvents","viewLength","lastX","vx","startY","isSwiping","undefined","started","startIndex","transitionListener","touchMoveListener","activeSlide","indexCurrent","firstRenderTimeout","setRootNode","setContainerNode","setActiveSlide","updateHeight","handleSwipeStart","getBoundingClientRect","computedStyle","transformValues","split","rootStyle","tranformNormalized","parseInt","paddingLeft","paddingRight","handleSwipeMove","_this$props","children","ignoreNativeScroll","onSwitching","resistance","dx","abs","dy","constant","UNCERTAINTY_THRESHOLD","Children","count","preventDefault","_computeIndex","computeIndex","index","target","setIndexCurrent","callback","state","displaySameSlide","isDragging","setState","handleTouchStart","handleSwipeEnd","indexNew","indexLatest","delta","threshold","floor","ceil","hysteresis","indexMax","onChangeIndex","reason","handleTransitionEnd","onTouchStart","handleTouchEnd","onTouchEnd","handleMouseDown","onMouseDown","persist","handleMouseUp","onMouseUp","handleMouseLeave","onMouseLeave","handleMouseMove","onMouseMove","handleScroll","onScroll","child","offsetHeight","heightLatest","renderOnlyActive","disableLazyLoading","key","_this2","disabled","passive","setTimeout","action","nextProps","getDisplaySameSlide","clearTimeout","_this3","slideUpdateHeight","animateTransitions","WebkitTransform","onTransitionEnd","transition","WebkitTransition","_this4","_this$props2","animateHeight","containerStyleProp","containerStyle","enableMouseEvents","slideStyleProp","slideStyle","slideClassName","springConfig","other","_this$state","touchEvents","mouseEvents","additionalTranstion","height","WebkitFlexDirection","createElement","Provider","getSwipeableViewsContext","ref","className","map","indexChild","hidden","Component","displayName","propTypes","defaultProps","_default"],"sourceRoot":""}