{"version":3,"sources":["webpack:///webpack/universalModuleDefinition","webpack:///react-swipeable-tabs.js","webpack:///webpack/bootstrap 46b23730527832422c7d","webpack:///./src/Tabs/index.js","webpack:///external {\"root\":\"React\",\"amd\":\"react\",\"commonjs\":\"react\",\"commonjs2\":\"react\"}","webpack:///./~/process/browser.js","webpack:///./src/Tabs/prefixer.js","webpack:///./~/fbjs/lib/emptyFunction.js","webpack:///./~/fbjs/lib/invariant.js","webpack:///./~/prop-types/lib/ReactPropTypesSecret.js","webpack:///./~/fbjs/lib/warning.js","webpack:///./~/react-measure/lib/with-content-rect.js","webpack:///./src/Tabs/Animator.js","webpack:///./src/Tabs/ListBorder.js","webpack:///./src/Tabs/TabList.js","webpack:///./src/Tabs/TabListItem.js","webpack:///./~/lodash.debounce/index.js","webpack:///./~/object-assign/index.js","webpack:///./~/prop-types/checkPropTypes.js","webpack:///./~/prop-types/factoryWithThrowingShims.js","webpack:///./~/prop-types/factoryWithTypeCheckers.js","webpack:///./~/prop-types/index.js","webpack:///./~/react-measure/lib/Measure.js","webpack:///./~/react-measure/lib/get-content-rect.js","webpack:///./~/react-measure/lib/get-types.js","webpack:///./~/react-measure/lib/react-measure.js","webpack:///./~/resize-observer-polyfill/dist/ResizeObserver.js","webpack:///external {\"root\":\"Hammerjs\",\"amd\":\"react-hammerjs\",\"commonjs\":\"react-hammerjs\",\"commonjs2\":\"react-hammerjs\"}","webpack:///external {\"root\":\"InlineStylePrefixer\",\"amd\":\"inline-style-prefixer\",\"commonjs\":\"inline-style-prefixer\",\"commonjs2\":\"inline-style-prefixer\"}","webpack:///external {\"root\":\"JnarwoldReactMotion\",\"amd\":\"jnarwold-react-motion\",\"commonjs\":\"jnarwold-react-motion\",\"commonjs2\":\"jnarwold-react-motion\"}","webpack:///external {\"root\":\"LodashDifferenceBy\",\"amd\":\"lodash.differenceby\",\"commonjs\":\"lodash.differenceby\",\"commonjs2\":\"lodash.differenceby\"}"],"names":["root","factory","exports","module","require","define","amd","ReactSwipeableTabs","React","Hammerjs","InlineStylePrefixer","JnarwoldReactMotion","LodashDifferenceBy","this","__WEBPACK_EXTERNAL_MODULE_1__","__WEBPACK_EXTERNAL_MODULE_24__","__WEBPACK_EXTERNAL_MODULE_25__","__WEBPACK_EXTERNAL_MODULE_26__","__WEBPACK_EXTERNAL_MODULE_27__","modules","__webpack_require__","moduleId","installedModules","id","loaded","call","m","c","p","_interopRequireDefault","obj","__esModule","default","_toConsumableArray","arr","Array","isArray","i","arr2","length","from","_classCallCheck","instance","Constructor","TypeError","_possibleConstructorReturn","self","ReferenceError","_inherits","subClass","superClass","prototype","Object","create","constructor","value","enumerable","writable","configurable","setPrototypeOf","__proto__","defineProperty","_extends","assign","target","arguments","source","key","hasOwnProperty","_createClass","defineProperties","props","descriptor","protoProps","staticProps","_react","_react2","_reactHammerjs","_reactHammerjs2","_reactMeasure","_reactMeasure2","_jnarwoldReactMotion","_lodash","_ListBorder","_ListBorder2","_TabList","_TabList2","_prefixer","_prefixer2","_Animator","_Animator2","_lodash3","_lodash4","RESIZE_FREQUENCY","Tabs","_React$Component","_this","getPrototypeOf","_initialiseProps","currentFrame","translateX","items","formatItems","animator","updateAnimatorFromProps","state","activeItemIndex","borderWidth","borderTranslateX","onWrapperResize","window","addEventListener","removeEventListener","nextProps","setState","checkEqualItems","setItems","nextState","requestCenterActiveItem","getCenterItemState","borderElement","createElement","borderThickness","borderColor","style","getTranslateStyle","borderPosition","containerWidth","getContainerWidth","alignCenter","itemStyle","fitItems","onItemClick","onItemChange","noFirstLeftPadding","noLastRightPadding","itemClassName","activeStyle","isItemActive","_this2","getWrapperStyle","ref","refWrapper","bounds","_ref","measureRef","onPanStart","onPanEnd","onPan","refContainer","getContainerStyle","Motion","defaultStyle","getInitialFrame","calculateNextFrame","_ref2","renderList","Component","propTypes","PropTypes","arrayOf","element","isRequired","func","number","string","object","bool","oneOf","borderWidthRatio","safeMargin","initialTranslation","stiffness","damping","resistanceCoeffiecent","gravityAccelarion","dragCoefficient","defaultProps","_this3","handleWrapperResize","detectRefContainerWidth","map","width","left","items1","items2","e","startDrag","endDrag","calculateSwipeReleaseTranslateX","deltaX","calculateSwipeTranslateX","setCurrentTranslateX","transform","display","overflow","position","textAlign","item","getBorderWidth","calculateItemTranslateX","calculateBorderTranslateX","setBorderWidthRatio","setSafeMargin","setInitialTranslation","setNoFirstLeftPadding","setNoLastRightPadding","setResistanceCoeffiecent","options","spring","setContainerWidth","parentElement","clientWidth","index","getItemIndex","requestToCenterItem","indexOf","slice","defaultSetTimout","Error","defaultClearTimeout","runTimeout","fun","cachedSetTimeout","setTimeout","runClearTimeout","marker","cachedClearTimeout","clearTimeout","cleanUpNextTick","draining","currentQueue","queue","concat","queueIndex","drainQueue","timeout","len","run","Item","array","noop","process","nextTick","args","push","apply","title","browser","env","argv","version","versions","on","addListener","once","off","removeListener","removeAllListeners","emit","prependListener","prependOnceListener","listeners","name","binding","cwd","chdir","dir","umask","_inlineStylePrefixer","_inlineStylePrefixer2","prefixer","styles","prefix","makeEmptyFunction","arg","emptyFunction","thatReturns","thatReturnsFalse","thatReturnsTrue","thatReturnsNull","thatReturnsThis","thatReturnsArgument","invariant","condition","format","a","b","d","f","validateFormat","error","undefined","argIndex","replace","framesToPop","NODE_ENV","ReactPropTypesSecret","warning","printWarning","_len","_key","message","console","x","_len2","_key2","_objectWithoutProperties","keys","withContentRect","types","WrappedComponent","_class","_temp2","_Component","_temp","_ret","contentRect","entry","client","offset","scroll","margin","measure","entries","_getContentRect2","_node","_getTypes2","onResize","_handleRef","node","_resizeObserver","observe","disconnect","innerRef","_resizeObserverPolyfill2","_props","_propTypes2","children","_propTypes","_resizeObserverPolyfill","_getTypes","_getContentRect","getCurrentMillis","Date","getTime","Animator","currentTranslateX","startDragMillis","startTranslateX","endDragMillis","totalWidth","forEach","isFirstItem","getFirstItemLeft","getItemWidth","useSafeMargin","getListWidth","isFarLeft","getFarLeftTranslation","isFarRight","getFarRightTranslation","di","Math","abs","ti","g","u","ai","pow","ar","vi","distance","isListSmallerContainer","itemLeft","getItemLeft","halfContainerWidth","halfItemWidth","centerX","checkAndGetTranslateX","calculateSwipeNextDistance","itemWidth","isLastItem","ListBorder","height","background","getBorderStyle","_TabListItem","_TabListItem2","TabList","listStyle","flexDirection","padding","justifyContent","isListSmallerThanWindow","fitInContainer","onClick","className","noLeftPadding","noRightPadding","onChange","getListStyle","renderListItems","shape","TabListItem","checkChanged","refListItemDetector","offsetLeft","flexShrink","flexGrow","paddingLeft","paddingRight","mainItemStyle","cursor","userSelect","alignItems","bind","getItemStyle","global","debounce","wait","invokeFunc","time","lastArgs","thisArg","lastThis","lastInvokeTime","result","leadingEdge","timerId","timerExpired","leading","remainingWait","timeSinceLastCall","lastCallTime","timeSinceLastInvoke","maxing","nativeMin","maxWait","shouldInvoke","now","trailingEdge","trailing","cancel","flush","debounced","isInvoking","FUNC_ERROR_TEXT","toNumber","isObject","nativeMax","type","isObjectLike","isSymbol","objectToString","symbolTag","NAN","other","valueOf","reTrim","isBinary","reIsBinary","test","reIsOctal","freeParseInt","reIsBadHex","NaN","parseInt","freeGlobal","freeSelf","Function","objectProto","toString","max","min","toObject","val","shouldUseNative","test1","String","getOwnPropertyNames","test2","fromCharCode","order2","n","join","test3","split","letter","err","getOwnPropertySymbols","propIsEnumerable","propertyIsEnumerable","symbols","to","s","checkPropTypes","typeSpecs","values","location","componentName","getStack","typeSpecName","ex","loggedTypeFailures","stack","shim","propName","propFullName","secret","getShim","ReactPropTypes","symbol","any","instanceOf","objectOf","oneOfType","exact","isValidElement","throwOnDirectAccess","getIteratorFn","maybeIterable","iteratorFn","ITERATOR_SYMBOL","FAUX_ITERATOR_SYMBOL","is","y","PropTypeError","createChainableTypeChecker","validate","checkType","ANONYMOUS","cacheKey","manualPropTypeCallCache","manualPropTypeWarningCount","chainedCheckType","createPrimitiveTypeChecker","expectedType","propValue","propType","getPropType","preciseType","getPreciseType","createAnyTypeChecker","createArrayOfTypeChecker","typeChecker","createElementTypeChecker","createInstanceTypeChecker","expectedClass","expectedClassName","actualClassName","getClassName","createEnumTypeChecker","expectedValues","valuesString","JSON","stringify","createObjectOfTypeChecker","createUnionTypeChecker","arrayOfTypeCheckers","checker","getPostfixForTypeWarning","createNodeChecker","isNode","createShapeTypeChecker","shapeTypes","createStrictShapeTypeChecker","allKeys","every","step","iterator","next","done","Symbol","RegExp","REACT_ELEMENT_TYPE","for","$$typeof","Measure","_withContentRect","_withContentRect2","getContentRect","calculations","top","clientTop","clientLeft","clientHeight","offsetTop","offsetWidth","offsetHeight","scrollTop","scrollLeft","scrollWidth","scrollHeight","rect","getBoundingClientRect","right","bottom","getComputedStyle","marginTop","marginRight","marginBottom","marginLeft","getTypes","allowedTypes","_Measure","_Measure2","toFloat","parseFloat","getBordersSize","positions","reduce","size","getPaddings","paddings","list","getSVGContentRect","bbox","getBBox","createRectInit","getHTMLElementContentRect","emptyRect","getWindowOf","horizPad","vertPad","boxSizing","round","isDocumentElement","vertScrollbar","horizScrollbar","document","documentElement","isBrowser","isSVGGraphicsElement","createReadOnlyRect","Constr","DOMRectReadOnly","defineConfigurable","MapShim","getIndex","some","Map","anonymous","__entries__","prototypeAccessors","get","set","delete","splice","has","clear","callback","ctx","this$1","global$1","requestAnimationFrame$1","requestAnimationFrame","trailingTimeout","throttle","delay","resolvePending","leadingCall","trailingCall","proxy","timeoutCallback","timeStamp","REFRESH_DELAY","transitionKeys","mutationObserverSupported","MutationObserver","ResizeObserverController","connected_","mutationEventsAdded_","mutationsObserver_","observers_","onTransitionEnd_","refresh","addObserver","observer","connect_","removeObserver","observers","disconnect_","changesDetected","updateObservers_","activeObservers","filter","gatherActive","hasActive","broadcastActive","attributes","childList","characterData","subtree","propertyName","isReflowProperty","getInstance","instance_","ownerGlobal","ownerDocument","defaultView","SVGGraphicsElement","SVGElement","ResizeObservation","broadcastWidth","broadcastHeight","contentRect_","isActive","broadcastRect","ResizeObserverEntry","rectInit","ResizeObserverSPI","controller","callbackCtx","activeObservations_","observations_","callback_","controller_","callbackC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AMA,IAAAkoB,GAAA,mBAAA2C,SAAA,GAAAA,SAAA,GAAAtF,GAMAuF,EAAA,SAAA1E,GACA,KAAA9nB,eAAAwsB,IACA,SAAAzqB,WAAA,qCAEA,KAAAqB,UAAA1B,OACA,SAAAK,WAAA,2CAGA,IAAA4pB,GAAA1C,EAAA0B,cACAlB,EAAA,GAAAiC,GAAA5D,EAAA6D,EAAA3rB,KAEA4pB,GAAAnC,IAAAznB,KAAAypB,KAIA,oCAAAtU,QAAA,SAAAsX,GACAD,EAAAlqB,UAAAmqB,GAAA,WACA,OAAAzkB,EAAA4hB,EAAApC,IAAAxnB,OAAAysB,GAAAhe,MAAAzG,EAAA5E,UACA,IAAA4E,KAIA,IAAAwE,GAAA,WAEA,yBAAAyb,GAAAuE,eACAvE,EAAAuE,eAGAA,IAGA,OAAAhgB,OzB0gG8B5L,KAAKvB,EAAU,WAAa,MAAOW,WAI3D,SAAUV,EAAQD,G0BnhIxBC,EAAAD,QAAAa,G1ByhIM,SAAUZ,EAAQD,G2BzhIxBC,EAAAD,QAAAc,G3B+hIM,SAAUb,EAAQD,G4B/hIxBC,EAAAD,QAAAe,G5BqiIM,SAAUd,EAAQD,G6BriIxBC,EAAAD,QAAAgB","file":"react-swipeable-tabs.js","sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory(require(\"react\"), require(\"react-hammerjs\"), require(\"inline-style-prefixer\"), require(\"jnarwold-react-motion\"), require(\"lodash.differenceby\"));\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([\"react\", \"react-hammerjs\", \"inline-style-prefixer\", \"jnarwold-react-motion\", \"lodash.differenceby\"], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"ReactSwipeableTabs\"] = factory(require(\"react\"), require(\"react-hammerjs\"), require(\"inline-style-prefixer\"), require(\"jnarwold-react-motion\"), require(\"lodash.differenceby\"));\n\telse\n\t\troot[\"ReactSwipeableTabs\"] = factory(root[\"React\"], root[\"Hammerjs\"], root[\"InlineStylePrefixer\"], root[\"JnarwoldReactMotion\"], root[\"LodashDifferenceBy\"]);\n})(this, function(__WEBPACK_EXTERNAL_MODULE_1__, __WEBPACK_EXTERNAL_MODULE_24__, __WEBPACK_EXTERNAL_MODULE_25__, __WEBPACK_EXTERNAL_MODULE_26__, __WEBPACK_EXTERNAL_MODULE_27__) {\nreturn \n\n\n// WEBPACK FOOTER //\n// webpack/universalModuleDefinition","(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory(require(\"react\"), require(\"react-hammerjs\"), require(\"inline-style-prefixer\"), require(\"jnarwold-react-motion\"), require(\"lodash.differenceby\"));\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([\"react\", \"react-hammerjs\", \"inline-style-prefixer\", \"jnarwold-react-motion\", \"lodash.differenceby\"], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"ReactSwipeableTabs\"] = factory(require(\"react\"), require(\"react-hammerjs\"), require(\"inline-style-prefixer\"), require(\"jnarwold-react-motion\"), require(\"lodash.differenceby\"));\n\telse\n\t\troot[\"ReactSwipeableTabs\"] = factory(root[\"React\"], root[\"Hammerjs\"], root[\"InlineStylePrefixer\"], root[\"JnarwoldReactMotion\"], root[\"LodashDifferenceBy\"]);\n})(this, function(__WEBPACK_EXTERNAL_MODULE_1__, __WEBPACK_EXTERNAL_MODULE_24__, __WEBPACK_EXTERNAL_MODULE_25__, __WEBPACK_EXTERNAL_MODULE_26__, __WEBPACK_EXTERNAL_MODULE_27__) {\nreturn /******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n/******/\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId])\n/******/ \t\t\treturn installedModules[moduleId].exports;\n/******/\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\texports: {},\n/******/ \t\t\tid: moduleId,\n/******/ \t\t\tloaded: false\n/******/ \t\t};\n/******/\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n/******/\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.loaded = true;\n/******/\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/\n/******/\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n/******/\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n/******/\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"build/\";\n/******/\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(0);\n/******/ })\n/************************************************************************/\n/******/ ([\n/* 0 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t  value: true\n\t});\n\t\n\tvar _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\t\n\tvar _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\t\n\tvar _react = __webpack_require__(1);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _reactHammerjs = __webpack_require__(24);\n\t\n\tvar _reactHammerjs2 = _interopRequireDefault(_reactHammerjs);\n\t\n\tvar _reactMeasure = __webpack_require__(22);\n\t\n\tvar _reactMeasure2 = _interopRequireDefault(_reactMeasure);\n\t\n\tvar _jnarwoldReactMotion = __webpack_require__(26);\n\t\n\tvar _lodash = __webpack_require__(27);\n\t\n\tvar _lodash2 = _interopRequireDefault(_lodash);\n\t\n\tvar _ListBorder = __webpack_require__(10);\n\t\n\tvar _ListBorder2 = _interopRequireDefault(_ListBorder);\n\t\n\tvar _TabList = __webpack_require__(11);\n\t\n\tvar _TabList2 = _interopRequireDefault(_TabList);\n\t\n\tvar _prefixer = __webpack_require__(3);\n\t\n\tvar _prefixer2 = _interopRequireDefault(_prefixer);\n\t\n\tvar _Animator = __webpack_require__(9);\n\t\n\tvar _Animator2 = _interopRequireDefault(_Animator);\n\t\n\tvar _lodash3 = __webpack_require__(13);\n\t\n\tvar _lodash4 = _interopRequireDefault(_lodash3);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _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\t\n\tfunction _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\t\n\tvar RESIZE_FREQUENCY = 150;\n\t\n\tvar Tabs = function (_React$Component) {\n\t  _inherits(Tabs, _React$Component);\n\t\n\t  function Tabs(props) {\n\t    _classCallCheck(this, Tabs);\n\t\n\t    var _this = _possibleConstructorReturn(this, (Tabs.__proto__ || Object.getPrototypeOf(Tabs)).call(this, props));\n\t\n\t    _initialiseProps.call(_this);\n\t\n\t    _this.currentFrame = {\n\t      translateX: 0\n\t    };\n\t\n\t    var items = _this.formatItems(_this.props.items);\n\t\n\t    _this.animator = new _Animator2.default(items);\n\t    _this.updateAnimatorFromProps(_this.props);\n\t\n\t    _this.state = {\n\t      items: items,\n\t      activeItemIndex: _this.props.activeItemIndex,\n\t      translateX: 0,\n\t      borderWidth: 0,\n\t      borderTranslateX: 0\n\t    };\n\t\n\t    _this.onWrapperResize();\n\t    return _this;\n\t  }\n\t\n\t  _createClass(Tabs, [{\n\t    key: 'componentDidMount',\n\t    value: function componentDidMount() {\n\t      window.addEventListener('resize', this.onWrapperResize);\n\t    }\n\t  }, {\n\t    key: 'componentWillUnmount',\n\t    value: function componentWillUnmount() {\n\t      window.removeEventListener('resize', this.onWrapperResize);\n\t    }\n\t  }, {\n\t    key: 'componentWillReceiveProps',\n\t    value: function componentWillReceiveProps(nextProps) {\n\t      this.updateAnimatorFromProps(nextProps);\n\t\n\t      if (nextProps.activeItemIndex !== this.props.activeItemIndex) {\n\t        this.setState({ activeItemIndex: nextProps.activeItemIndex });\n\t      }\n\t\n\t      if (!this.checkEqualItems(nextProps.items, this.props.items)) {\n\t        var items = this.formatItems(nextProps.items);\n\t        this.animator.setItems(items);\n\t        this.setState({ items: items });\n\t      }\n\t    }\n\t  }, {\n\t    key: 'componentWillUpdate',\n\t    value: function componentWillUpdate(nextProps, nextState) {\n\t      if (nextState.activeItemIndex !== this.state.activeItemIndex || nextState.requestCenterActiveItem || nextState.items !== this.state.items) {\n\t        // \n\t        this.setState(_extends({}, this.getCenterItemState(nextState.items, nextState.activeItemIndex), {\n\t          requestCenterActiveItem: false\n\t        }));\n\t      }\n\t    }\n\t  }, {\n\t    key: 'renderList',\n\t    value: function renderList(translateX, borderTranslateX, borderWidth) {\n\t      var borderElement = _react2.default.createElement(_ListBorder2.default, {\n\t        borderThickness: this.props.borderThickness,\n\t        borderColor: this.props.borderColor,\n\t        borderTranslateX: borderTranslateX,\n\t        borderWidth: borderWidth\n\t      });\n\t\n\t      return _react2.default.createElement(\n\t        'div',\n\t        { style: this.getTranslateStyle(translateX) },\n\t        this.props.borderPosition === 'top' ? borderElement : null,\n\t        _react2.default.createElement(_TabList2.default, {\n\t          items: this.state.items,\n\t          containerWidth: this.animator.getContainerWidth(),\n\t          alignCenter: this.props.alignCenter,\n\t          itemStyle: this.props.itemStyle,\n\t          fitItems: this.props.fitItems,\n\t          onItemClick: this.onItemClick,\n\t          onItemChange: this.onItemChange,\n\t          noFirstLeftPadding: this.props.noFirstLeftPadding,\n\t          noLastRightPadding: this.props.noLastRightPadding,\n\t          itemClassName: this.props.itemClassName,\n\t          activeStyle: this.props.activeStyle,\n\t          isItemActive: this.isItemActive\n\t        }),\n\t        this.props.borderPosition === 'bottom' ? borderElement : null\n\t      );\n\t    }\n\t  }, {\n\t    key: 'render',\n\t    value: function render() {\n\t      var _this2 = this;\n\t\n\t      return _react2.default.createElement(\n\t        'div',\n\t        {\n\t          style: this.getWrapperStyle(),\n\t          ref: function ref(refWrapper) {\n\t            return _this2.refWrapper = refWrapper;\n\t          } },\n\t        _react2.default.createElement(\n\t          _reactMeasure2.default,\n\t          {\n\t            bounds: true },\n\t          function (_ref) {\n\t            var measureRef = _ref.measureRef;\n\t            return _react2.default.createElement(\n\t              'div',\n\t              { ref: measureRef },\n\t              _react2.default.createElement(\n\t                _reactHammerjs2.default,\n\t                {\n\t                  onPanStart: _this2.onPanStart,\n\t                  onPanEnd: _this2.onPanEnd,\n\t                  onPan: _this2.onPan\n\t                },\n\t                _react2.default.createElement(\n\t                  'div',\n\t                  {\n\t                    ref: function ref(refContainer) {\n\t                      return _this2.refContainer = refContainer;\n\t                    },\n\t                    style: _this2.getContainerStyle() },\n\t                  _react2.default.createElement(\n\t                    _jnarwoldReactMotion.Motion,\n\t                    {\n\t                      defaultStyle: _this2.getInitialFrame(),\n\t                      style: _this2.calculateNextFrame() },\n\t                    function (_ref2) {\n\t                      var translateX = _ref2.translateX,\n\t                          borderTranslateX = _ref2.borderTranslateX,\n\t                          borderWidth = _ref2.borderWidth;\n\t                      return _this2.renderList(translateX, borderTranslateX, borderWidth);\n\t                    }\n\t                  )\n\t                )\n\t              )\n\t            );\n\t          }\n\t        )\n\t      );\n\t    }\n\t  }]);\n\t\n\t  return Tabs;\n\t}(_react2.default.Component);\n\t\n\tTabs.propTypes = {\n\t  /**\n\t   * Array of tabs to render.\n\t   */\n\t  items: _react2.default.PropTypes.arrayOf(_react2.default.PropTypes.element).isRequired,\n\t  /**\n\t   * When an item is clicked, this is called with `(item, index)`.\n\t   */\n\t  onItemClick: _react2.default.PropTypes.func.isRequired,\n\t  /**\n\t   * This is only useful if you want to control the active item index from outside.\n\t   */\n\t  activeItemIndex: _react2.default.PropTypes.number,\n\t  /**\n\t   * Item class name.\n\t   */\n\t  itemClassName: _react2.default.PropTypes.string,\n\t  /**\n\t   * Item style.\n\t   */\n\t  itemStyle: _react2.default.PropTypes.object,\n\t  /**\n\t   * Active item style.\n\t   */\n\t  activeStyle: _react2.default.PropTypes.object,\n\t  /**\n\t   * Whether or not to align center if items total width smaller than container width.\n\t   */\n\t  alignCenter: _react2.default.PropTypes.bool,\n\t  /**\n\t   * This option will fit all items on desktop\n\t   */\n\t  fitItems: _react2.default.PropTypes.bool,\n\t  /**\n\t   * This prop defines if the first item doesnt have left padding.\n\t   * We use this to calculate the border position for the first element.\n\t   */\n\t  noFirstLeftPadding: _react2.default.PropTypes.bool,\n\t  /**\n\t   * This prop defines if the last item doesnt have right padding.\n\t   * We use this to calculate the border position for the last element.\n\t   */\n\t  noLastRightPadding: _react2.default.PropTypes.bool,\n\t  /**\n\t   * Border position.\n\t   */\n\t  borderPosition: _react2.default.PropTypes.oneOf(['top', 'bottom']),\n\t  /**\n\t   * Border color.\n\t   */\n\t  borderColor: _react2.default.PropTypes.string,\n\t  /**\n\t   * Border thickness in pixels.\n\t   */\n\t  borderThickness: _react2.default.PropTypes.number,\n\t  /**\n\t   * Border width ratio from the tab width.\n\t   * Setting this to 1 will set border width to exactly the tab width.\n\t   */\n\t  borderWidthRatio: _react2.default.PropTypes.number,\n\t  /**\n\t   * This value is used when user tries to drag the tabs far to right or left.\n\t   * Setting this to 100 for example user will be able to  drag the tabs 100px\n\t   * far to right and left.\n\t   */\n\t  safeMargin: _react2.default.PropTypes.number,\n\t  /**\n\t   * Initial translation. Ignore this.\n\t   */\n\t  initialTranslation: _react2.default.PropTypes.number,\n\t  /**\n\t   * React motion configurations.\n\t   * [More about this here](https://github.com/chenglou/react-motion#--spring-val-number-config-springhelperconfig--opaqueconfig)\n\t   */\n\t  stiffness: _react2.default.PropTypes.number,\n\t  /**\n\t   * React motion configurations.\n\t   * [More about this here](https://github.com/chenglou/react-motion#--spring-val-number-config-springhelperconfig--opaqueconfig)\n\t   */\n\t  damping: _react2.default.PropTypes.number,\n\t  /**\n\t   * Drag resistance coeffiecent.\n\t   * Higher resitance tougher the user can drag the tabs.\n\t   */\n\t  resistanceCoeffiecent: _react2.default.PropTypes.number,\n\t  /**\n\t   * Gravity acceleration.\n\t   * Higher resitance tougher the user can drag the tabs.\n\t   */\n\t  gravityAccelarion: _react2.default.PropTypes.number,\n\t  /**\n\t   * [Learn more](https://en.wikipedia.org/wiki/Drag_coefficient)\n\t   */\n\t  dragCoefficient: _react2.default.PropTypes.number\n\t};\n\tTabs.defaultProps = {\n\t  resistanceCoeffiecent: 0.5,\n\t  gravityAccelarion: 9.8,\n\t  dragCoefficient: 0.04,\n\t  stiffness: 170,\n\t  damping: 26,\n\t\n\t  activeItemIndex: 0,\n\t  safeMargin: 100,\n\t  borderPosition: 'bottom',\n\t  borderColor: '#333',\n\t  borderThickness: 2,\n\t  borderWidthRatio: 1,\n\t  alignCenter: true,\n\t  activeStyle: {},\n\t  noFirstLeftPadding: false,\n\t  noLastRightPadding: false,\n\t  fitItems: false,\n\t  itemStyle: {},\n\t  initialTranslation: 0\n\t};\n\t\n\tvar _initialiseProps = function _initialiseProps() {\n\t  var _this3 = this;\n\t\n\t  this.handleWrapperResize = function () {\n\t    _this3.detectRefContainerWidth();\n\t\n\t    // Force center active item on resize\n\t    _this3.setState({\n\t      requestCenterActiveItem: true\n\t    });\n\t  };\n\t\n\t  this.onWrapperResize = (0, _lodash4.default)(this.handleWrapperResize, RESIZE_FREQUENCY);\n\t\n\t  this.formatItems = function (items) {\n\t    return items.map(function (element) {\n\t      return { element: element, width: 0, left: 0 };\n\t    });\n\t  };\n\t\n\t  this.checkEqualItems = function (items1, items2) {\n\t    return items1 === items2;\n\t  };\n\t\n\t  this.onPanStart = function (e) {\n\t    _this3.animator.startDrag();\n\t  };\n\t\n\t  this.onPanEnd = function (e) {\n\t    _this3.animator.endDrag();\n\t\n\t    // \n\t    _this3.setState({\n\t      translateX: _this3.animator.calculateSwipeReleaseTranslateX(e.deltaX)\n\t    });\n\t  };\n\t\n\t  this.onPan = function (e) {\n\t    _this3.setState({\n\t      translateX: _this3.animator.calculateSwipeTranslateX(e.deltaX)\n\t    });\n\t  };\n\t\n\t  this.getTranslateStyle = function (translateX) {\n\t    _this3.animator.setCurrentTranslateX(translateX);\n\t    return {\n\t      transform: 'translate(' + translateX + 'px, 0)'\n\t    };\n\t  };\n\t\n\t  this.getWrapperStyle = function () {\n\t    return (0, _prefixer2.default)({\n\t      display: 'flex',\n\t      width: '100%',\n\t      overflow: 'hidden'\n\t    });\n\t  };\n\t\n\t  this.getContainerStyle = function () {\n\t    return (0, _prefixer2.default)({\n\t      position: 'relative',\n\t      width: '100%',\n\t      overflow: 'hidden',\n\t      textAlign: 'center'\n\t    });\n\t  };\n\t\n\t  this.getCenterItemState = function (items, activeItemIndex) {\n\t    var item = items[activeItemIndex];\n\t    // If item doesnt exist then revert to the first item and call the onItemClick\n\t    if (!item) {\n\t      item = items[0];\n\t      _this3.onItemClick(item, activeItemIndex);\n\t    }\n\t    return {\n\t      borderWidth: _this3.animator.getBorderWidth(item),\n\t      translateX: _this3.animator.calculateItemTranslateX(item),\n\t      borderTranslateX: _this3.animator.calculateBorderTranslateX(item)\n\t    };\n\t  };\n\t\n\t  this.updateAnimatorFromProps = function (props) {\n\t    _this3.animator.setBorderWidthRatio(props.borderWidthRatio);\n\t    _this3.animator.setSafeMargin(props.safeMargin);\n\t    _this3.animator.setInitialTranslation(props.initialTranslation);\n\t    _this3.animator.setNoFirstLeftPadding(props.noFirstLeftPadding);\n\t    _this3.animator.setNoLastRightPadding(props.noLastRightPadding);\n\t    _this3.animator.setResistanceCoeffiecent(props.resistanceCoeffiecent);\n\t  };\n\t\n\t  this.getInitialFrame = function () {\n\t    return {\n\t      translateX: _this3.state.translateX,\n\t      borderWidth: _this3.state.borderWidth,\n\t      borderTranslateX: _this3.state.borderTranslateX\n\t    };\n\t  };\n\t\n\t  this.calculateNextFrame = function () {\n\t    var options = {\n\t      stiffness: _this3.props.stiffness,\n\t      damping: _this3.props.damping\n\t    };\n\t    return {\n\t      translateX: (0, _jnarwoldReactMotion.spring)(_this3.state.translateX, options),\n\t      borderTranslateX: (0, _jnarwoldReactMotion.spring)(_this3.state.borderTranslateX, options),\n\t      borderWidth: (0, _jnarwoldReactMotion.spring)(_this3.state.borderWidth, options)\n\t    };\n\t  };\n\t\n\t  this.detectRefContainerWidth = function () {\n\t    if (_this3.refContainer) {\n\t      _this3.animator.setContainerWidth(_this3.refContainer.parentElement.parentElement.clientWidth);\n\t    }\n\t  };\n\t\n\t  this.onItemClick = function (item) {\n\t    var index = _this3.getItemIndex(item);\n\t    _this3.setState({\n\t      requestToCenterItem: true,\n\t      activeItemIndex: index\n\t    });\n\t    _this3.props.onItemClick(item, index);\n\t  };\n\t\n\t  this.onItemChange = function (item, width, left) {\n\t    var index = _this3.state.items.indexOf(item);\n\t\n\t    var items = [].concat(_toConsumableArray(_this3.state.items.slice(0, index)), [_extends({}, item, { width: width, left: left })], _toConsumableArray(_this3.state.items.slice(index + 1)));\n\t\n\t    _this3.animator.setItems(items);\n\t    _this3.setState({ items: items });\n\t  };\n\t\n\t  this.isItemActive = function (item) {\n\t    return _this3.state.activeItemIndex === _this3.getItemIndex(item);\n\t  };\n\t\n\t  this.getItemIndex = function (item) {\n\t    return _this3.state.items.indexOf(item);\n\t  };\n\t};\n\t\n\texports.default = Tabs;\n\n/***/ }),\n/* 1 */\n/***/ (function(module, exports) {\n\n\tmodule.exports = __WEBPACK_EXTERNAL_MODULE_1__;\n\n/***/ }),\n/* 2 */\n/***/ (function(module, exports) {\n\n\t// shim for using process in browser\n\tvar process = module.exports = {};\n\t\n\t// cached from whatever global is present so that test runners that stub it\n\t// don't break things.  But we need to wrap it in a try catch in case it is\n\t// wrapped in strict mode code which doesn't define any globals.  It's inside a\n\t// function because try/catches deoptimize in certain engines.\n\t\n\tvar cachedSetTimeout;\n\tvar cachedClearTimeout;\n\t\n\tfunction defaultSetTimout() {\n\t    throw new Error('setTimeout has not been defined');\n\t}\n\tfunction defaultClearTimeout () {\n\t    throw new Error('clearTimeout has not been defined');\n\t}\n\t(function () {\n\t    try {\n\t        if (typeof setTimeout === 'function') {\n\t            cachedSetTimeout = setTimeout;\n\t        } else {\n\t            cachedSetTimeout = defaultSetTimout;\n\t        }\n\t    } catch (e) {\n\t        cachedSetTimeout = defaultSetTimout;\n\t    }\n\t    try {\n\t        if (typeof clearTimeout === 'function') {\n\t            cachedClearTimeout = clearTimeout;\n\t        } else {\n\t            cachedClearTimeout = defaultClearTimeout;\n\t        }\n\t    } catch (e) {\n\t        cachedClearTimeout = defaultClearTimeout;\n\t    }\n\t} ())\n\tfunction runTimeout(fun) {\n\t    if (cachedSetTimeout === setTimeout) {\n\t        //normal enviroments in sane situations\n\t        return setTimeout(fun, 0);\n\t    }\n\t    // if setTimeout wasn't available but was latter defined\n\t    if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {\n\t        cachedSetTimeout = setTimeout;\n\t        return setTimeout(fun, 0);\n\t    }\n\t    try {\n\t        // when when somebody has screwed with setTimeout but no I.E. maddness\n\t        return cachedSetTimeout(fun, 0);\n\t    } catch(e){\n\t        try {\n\t            // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n\t            return cachedSetTimeout.call(null, fun, 0);\n\t        } catch(e){\n\t            // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error\n\t            return cachedSetTimeout.call(this, fun, 0);\n\t        }\n\t    }\n\t\n\t\n\t}\n\tfunction runClearTimeout(marker) {\n\t    if (cachedClearTimeout === clearTimeout) {\n\t        //normal enviroments in sane situations\n\t        return clearTimeout(marker);\n\t    }\n\t    // if clearTimeout wasn't available but was latter defined\n\t    if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {\n\t        cachedClearTimeout = clearTimeout;\n\t        return clearTimeout(marker);\n\t    }\n\t    try {\n\t        // when when somebody has screwed with setTimeout but no I.E. maddness\n\t        return cachedClearTimeout(marker);\n\t    } catch (e){\n\t        try {\n\t            // When we are in I.E. but the script has been evaled so I.E. doesn't  trust the global object when called normally\n\t            return cachedClearTimeout.call(null, marker);\n\t        } catch (e){\n\t            // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.\n\t            // Some versions of I.E. have different rules for clearTimeout vs setTimeout\n\t            return cachedClearTimeout.call(this, marker);\n\t        }\n\t    }\n\t\n\t\n\t\n\t}\n\tvar queue = [];\n\tvar draining = false;\n\tvar currentQueue;\n\tvar queueIndex = -1;\n\t\n\tfunction cleanUpNextTick() {\n\t    if (!draining || !currentQueue) {\n\t        return;\n\t    }\n\t    draining = false;\n\t    if (currentQueue.length) {\n\t        queue = currentQueue.concat(queue);\n\t    } else {\n\t        queueIndex = -1;\n\t    }\n\t    if (queue.length) {\n\t        drainQueue();\n\t    }\n\t}\n\t\n\tfunction drainQueue() {\n\t    if (draining) {\n\t        return;\n\t    }\n\t    var timeout = runTimeout(cleanUpNextTick);\n\t    draining = true;\n\t\n\t    var len = queue.length;\n\t    while(len) {\n\t        currentQueue = queue;\n\t        queue = [];\n\t        while (++queueIndex < len) {\n\t            if (currentQueue) {\n\t                currentQueue[queueIndex].run();\n\t            }\n\t        }\n\t        queueIndex = -1;\n\t        len = queue.length;\n\t    }\n\t    currentQueue = null;\n\t    draining = false;\n\t    runClearTimeout(timeout);\n\t}\n\t\n\tprocess.nextTick = function (fun) {\n\t    var args = new Array(arguments.length - 1);\n\t    if (arguments.length > 1) {\n\t        for (var i = 1; i < arguments.length; i++) {\n\t            args[i - 1] = arguments[i];\n\t        }\n\t    }\n\t    queue.push(new Item(fun, args));\n\t    if (queue.length === 1 && !draining) {\n\t        runTimeout(drainQueue);\n\t    }\n\t};\n\t\n\t// v8 likes predictible objects\n\tfunction Item(fun, array) {\n\t    this.fun = fun;\n\t    this.array = array;\n\t}\n\tItem.prototype.run = function () {\n\t    this.fun.apply(null, this.array);\n\t};\n\tprocess.title = 'browser';\n\tprocess.browser = true;\n\tprocess.env = {};\n\tprocess.argv = [];\n\tprocess.version = ''; // empty string to avoid regexp issues\n\tprocess.versions = {};\n\t\n\tfunction noop() {}\n\t\n\tprocess.on = noop;\n\tprocess.addListener = noop;\n\tprocess.once = noop;\n\tprocess.off = noop;\n\tprocess.removeListener = noop;\n\tprocess.removeAllListeners = noop;\n\tprocess.emit = noop;\n\tprocess.prependListener = noop;\n\tprocess.prependOnceListener = noop;\n\t\n\tprocess.listeners = function (name) { return [] }\n\t\n\tprocess.binding = function (name) {\n\t    throw new Error('process.binding is not supported');\n\t};\n\t\n\tprocess.cwd = function () { return '/' };\n\tprocess.chdir = function (dir) {\n\t    throw new Error('process.chdir is not supported');\n\t};\n\tprocess.umask = function() { return 0; };\n\n\n/***/ }),\n/* 3 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t  value: true\n\t});\n\t\n\tvar _inlineStylePrefixer = __webpack_require__(25);\n\t\n\tvar _inlineStylePrefixer2 = _interopRequireDefault(_inlineStylePrefixer);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar prefixer = new _inlineStylePrefixer2.default();\n\t\n\texports.default = function (styles) {\n\t  return prefixer.prefix(styles);\n\t};\n\n/***/ }),\n/* 4 */\n/***/ (function(module, exports) {\n\n\t\"use strict\";\n\t\n\t/**\n\t * Copyright (c) 2013-present, Facebook, Inc.\n\t *\n\t * This source code is licensed under the MIT license found in the\n\t * LICENSE file in the root directory of this source tree.\n\t *\n\t * \n\t */\n\t\n\tfunction makeEmptyFunction(arg) {\n\t  return function () {\n\t    return arg;\n\t  };\n\t}\n\t\n\t/**\n\t * This function accepts and discards inputs; it has no side effects. This is\n\t * primarily useful idiomatically for overridable function endpoints which\n\t * always need to be callable, since JS lacks a null-call idiom ala Cocoa.\n\t */\n\tvar emptyFunction = function emptyFunction() {};\n\t\n\temptyFunction.thatReturns = makeEmptyFunction;\n\temptyFunction.thatReturnsFalse = makeEmptyFunction(false);\n\temptyFunction.thatReturnsTrue = makeEmptyFunction(true);\n\temptyFunction.thatReturnsNull = makeEmptyFunction(null);\n\temptyFunction.thatReturnsThis = function () {\n\t  return this;\n\t};\n\temptyFunction.thatReturnsArgument = function (arg) {\n\t  return arg;\n\t};\n\t\n\tmodule.exports = emptyFunction;\n\n/***/ }),\n/* 5 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/* WEBPACK VAR INJECTION */(function(process) {/**\n\t * Copyright (c) 2013-present, Facebook, Inc.\n\t *\n\t * This source code is licensed under the MIT license found in the\n\t * LICENSE file in the root directory of this source tree.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\t/**\n\t * Use invariant() to assert state which your program assumes to be true.\n\t *\n\t * Provide sprintf-style format (only %s is supported) and arguments\n\t * to provide information about what broke and what you were\n\t * expecting.\n\t *\n\t * The invariant message will be stripped in production, but the invariant\n\t * will remain to ensure logic does not differ in production.\n\t */\n\t\n\tvar validateFormat = function validateFormat(format) {};\n\t\n\tif (process.env.NODE_ENV !== 'production') {\n\t  validateFormat = function validateFormat(format) {\n\t    if (format === undefined) {\n\t      throw new Error('invariant requires an error message argument');\n\t    }\n\t  };\n\t}\n\t\n\tfunction invariant(condition, format, a, b, c, d, e, f) {\n\t  validateFormat(format);\n\t\n\t  if (!condition) {\n\t    var error;\n\t    if (format === undefined) {\n\t      error = new Error('Minified exception occurred; use the non-minified dev environment ' + 'for the full error message and additional helpful warnings.');\n\t    } else {\n\t      var args = [a, b, c, d, e, f];\n\t      var argIndex = 0;\n\t      error = new Error(format.replace(/%s/g, function () {\n\t        return args[argIndex++];\n\t      }));\n\t      error.name = 'Invariant Violation';\n\t    }\n\t\n\t    error.framesToPop = 1; // we don't care about invariant's own frame\n\t    throw error;\n\t  }\n\t}\n\t\n\tmodule.exports = invariant;\n\t/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)))\n\n/***/ }),\n/* 6 */\n/***/ (function(module, exports) {\n\n\t/**\n\t * Copyright (c) 2013-present, Facebook, Inc.\n\t *\n\t * This source code is licensed under the MIT license found in the\n\t * LICENSE file in the root directory of this source tree.\n\t */\n\t\n\t'use strict';\n\t\n\tvar ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';\n\t\n\tmodule.exports = ReactPropTypesSecret;\n\n\n/***/ }),\n/* 7 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/* WEBPACK VAR INJECTION */(function(process) {/**\n\t * Copyright (c) 2014-present, Facebook, Inc.\n\t *\n\t * This source code is licensed under the MIT license found in the\n\t * LICENSE file in the root directory of this source tree.\n\t *\n\t */\n\t\n\t'use strict';\n\t\n\tvar emptyFunction = __webpack_require__(4);\n\t\n\t/**\n\t * Similar to invariant but only logs a warning if the condition is not met.\n\t * This can be used to log issues in development environments in critical\n\t * paths. Removing the logging code for production environments will keep the\n\t * same logic and follow the same code paths.\n\t */\n\t\n\tvar warning = emptyFunction;\n\t\n\tif (process.env.NODE_ENV !== 'production') {\n\t  var printWarning = function printWarning(format) {\n\t    for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n\t      args[_key - 1] = arguments[_key];\n\t    }\n\t\n\t    var argIndex = 0;\n\t    var message = 'Warning: ' + format.replace(/%s/g, function () {\n\t      return args[argIndex++];\n\t    });\n\t    if (typeof console !== 'undefined') {\n\t      console.error(message);\n\t    }\n\t    try {\n\t      // --- Welcome to debugging React ---\n\t      // This error was thrown as a convenience so that you can use this stack\n\t      // to find the callsite that caused this warning to fire.\n\t      throw new Error(message);\n\t    } catch (x) {}\n\t  };\n\t\n\t  warning = function warning(condition, format) {\n\t    if (format === undefined) {\n\t      throw new Error('`warning(condition, format, ...args)` requires a warning ' + 'message argument');\n\t    }\n\t\n\t    if (format.indexOf('Failed Composite propType: ') === 0) {\n\t      return; // Ignore CompositeComponent proptype check.\n\t    }\n\t\n\t    if (!condition) {\n\t      for (var _len2 = arguments.length, args = Array(_len2 > 2 ? _len2 - 2 : 0), _key2 = 2; _key2 < _len2; _key2++) {\n\t        args[_key2 - 2] = arguments[_key2];\n\t      }\n\t\n\t      printWarning.apply(undefined, [format].concat(args));\n\t    }\n\t  };\n\t}\n\t\n\tmodule.exports = warning;\n\t/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)))\n\n/***/ }),\n/* 8 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t  value: true\n\t});\n\t\n\tvar _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\t\n\tvar _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\t\n\tvar _react = __webpack_require__(1);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _propTypes = __webpack_require__(18);\n\t\n\tvar _propTypes2 = _interopRequireDefault(_propTypes);\n\t\n\tvar _resizeObserverPolyfill = __webpack_require__(23);\n\t\n\tvar _resizeObserverPolyfill2 = _interopRequireDefault(_resizeObserverPolyfill);\n\t\n\tvar _getTypes = __webpack_require__(21);\n\t\n\tvar _getTypes2 = _interopRequireDefault(_getTypes);\n\t\n\tvar _getContentRect = __webpack_require__(20);\n\t\n\tvar _getContentRect2 = _interopRequireDefault(_getContentRect);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _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\t\n\tfunction _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\t\n\tfunction withContentRect(types) {\n\t  return function (WrappedComponent) {\n\t    var _class, _temp2;\n\t\n\t    return _temp2 = _class = function (_Component) {\n\t      _inherits(_class, _Component);\n\t\n\t      function _class() {\n\t        var _ref;\n\t\n\t        var _temp, _this, _ret;\n\t\n\t        _classCallCheck(this, _class);\n\t\n\t        for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n\t          args[_key] = arguments[_key];\n\t        }\n\t\n\t        return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref = _class.__proto__ || Object.getPrototypeOf(_class)).call.apply(_ref, [this].concat(args))), _this), _this.state = {\n\t          contentRect: {\n\t            entry: {},\n\t            client: {},\n\t            offset: {},\n\t            scroll: {},\n\t            bounds: {},\n\t            margin: {}\n\t          }\n\t        }, _this.measure = function (entries) {\n\t          var contentRect = (0, _getContentRect2.default)(_this._node, types || (0, _getTypes2.default)(_this.props));\n\t\n\t          if (entries) {\n\t            contentRect.entry = entries[0].contentRect;\n\t          }\n\t\n\t          _this.setState({ contentRect: contentRect });\n\t\n\t          if (typeof _this.props.onResize === 'function') {\n\t            _this.props.onResize(contentRect);\n\t          }\n\t        }, _this._handleRef = function (node) {\n\t          if (_this._resizeObserver) {\n\t            if (node) {\n\t              _this._resizeObserver.observe(node);\n\t            } else {\n\t              _this._resizeObserver.disconnect(_this._node);\n\t            }\n\t          }\n\t          _this._node = node;\n\t\n\t          if (typeof _this.props.innerRef === 'function') {\n\t            _this.props.innerRef(node);\n\t          }\n\t        }, _temp), _possibleConstructorReturn(_this, _ret);\n\t      }\n\t\n\t      _createClass(_class, [{\n\t        key: 'componentWillMount',\n\t        value: function componentWillMount() {\n\t          this._resizeObserver = new _resizeObserverPolyfill2.default(this.measure);\n\t        }\n\t      }, {\n\t        key: 'render',\n\t        value: function render() {\n\t          var _props = this.props,\n\t              innerRef = _props.innerRef,\n\t              onResize = _props.onResize,\n\t              props = _objectWithoutProperties(_props, ['innerRef', 'onResize']);\n\t\n\t          return (0, _react.createElement)(WrappedComponent, _extends({}, props, {\n\t            measureRef: this._handleRef,\n\t            measure: this.measure,\n\t            contentRect: this.state.contentRect\n\t          }));\n\t        }\n\t      }]);\n\t\n\t      return _class;\n\t    }(_react.Component), _class.propTypes = {\n\t      client: _propTypes2.default.bool,\n\t      offset: _propTypes2.default.bool,\n\t      scroll: _propTypes2.default.bool,\n\t      bounds: _propTypes2.default.bool,\n\t      margin: _propTypes2.default.bool,\n\t      innerRef: _propTypes2.default.func,\n\t      onResize: _propTypes2.default.func,\n\t      children: _propTypes2.default.func\n\t    }, _temp2;\n\t  };\n\t}\n\t\n\texports.default = withContentRect;\n\tmodule.exports = exports['default'];\n\n/***/ }),\n/* 9 */\n/***/ (function(module, exports) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t  value: true\n\t});\n\t\n\tvar _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\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tvar getCurrentMillis = function getCurrentMillis() {\n\t  return new Date().getTime();\n\t};\n\t\n\tvar Animator = function () {\n\t  function Animator(items) {\n\t    _classCallCheck(this, Animator);\n\t\n\t    this.setItems(items);\n\t    // Give it initial value\n\t    this.containerWidth = 100;\n\t  }\n\t\n\t  _createClass(Animator, [{\n\t    key: \"setItems\",\n\t    value: function setItems(items) {\n\t      this.items = items;\n\t    }\n\t  }, {\n\t    key: \"setContainerWidth\",\n\t    value: function setContainerWidth(containerWidth) {\n\t      this.containerWidth = containerWidth;\n\t    }\n\t  }, {\n\t    key: \"getContainerWidth\",\n\t    value: function getContainerWidth() {\n\t      return this.containerWidth;\n\t    }\n\t  }, {\n\t    key: \"setBorderWidthRatio\",\n\t    value: function setBorderWidthRatio(borderWidthRatio) {\n\t      this.borderWidthRatio = borderWidthRatio;\n\t    }\n\t  }, {\n\t    key: \"setSafeMargin\",\n\t    value: function setSafeMargin(safeMargin) {\n\t      this.safeMargin = safeMargin;\n\t    }\n\t  }, {\n\t    key: \"setInitialTranslation\",\n\t    value: function setInitialTranslation(initialTranslation) {\n\t      this.initialTranslation = initialTranslation;\n\t    }\n\t  }, {\n\t    key: \"setNoFirstLeftPadding\",\n\t    value: function setNoFirstLeftPadding(noFirstLeftPadding) {\n\t      this.noFirstLeftPadding = noFirstLeftPadding;\n\t    }\n\t  }, {\n\t    key: \"setNoLastRightPadding\",\n\t    value: function setNoLastRightPadding(noLastRightPadding) {\n\t      this.noLastRightPadding = noLastRightPadding;\n\t    }\n\t  }, {\n\t    key: \"setResistanceCoeffiecent\",\n\t    value: function setResistanceCoeffiecent(resistanceCoeffiecent) {\n\t      this.resistanceCoeffiecent = resistanceCoeffiecent;\n\t    }\n\t  }, {\n\t    key: \"setCurrentTranslateX\",\n\t    value: function setCurrentTranslateX(translateX) {\n\t      this.currentTranslateX = translateX;\n\t    }\n\t  }, {\n\t    key: \"startDrag\",\n\t    value: function startDrag() {\n\t      this.startDragMillis = getCurrentMillis();\n\t      this.startTranslateX = this.currentTranslateX;\n\t    }\n\t  }, {\n\t    key: \"endDrag\",\n\t    value: function endDrag() {\n\t      this.endDragMillis = getCurrentMillis();\n\t    }\n\t\n\t    /**\n\t     * Calculate list width from its items\n\t     * @return {number}\n\t     */\n\t\n\t  }, {\n\t    key: \"getListWidth\",\n\t    value: function getListWidth() {\n\t      var totalWidth = 0;\n\t      this.items.forEach(function (item) {\n\t        return totalWidth += item.width;\n\t      });\n\t      return totalWidth;\n\t    }\n\t  }, {\n\t    key: \"getFirstItemLeft\",\n\t    value: function getFirstItemLeft() {\n\t      return this.items[0].left;\n\t    }\n\t  }, {\n\t    key: \"getItemLeft\",\n\t    value: function getItemLeft(item) {\n\t      return this.isFirstItem(item) ? 0 : item.left - this.getFirstItemLeft();\n\t    }\n\t  }, {\n\t    key: \"getItemWidth\",\n\t    value: function getItemWidth(item) {\n\t      return item.width;\n\t    }\n\t  }, {\n\t    key: \"getBorderWidth\",\n\t    value: function getBorderWidth(item) {\n\t      return this.getItemWidth(item) * this.borderWidthRatio;\n\t    }\n\t\n\t    /**\n\t     * Return true if the item is the first one in the list\n\t     * @param  {object}  item\n\t     * @return {Boolean}\n\t     */\n\t\n\t  }, {\n\t    key: \"isFirstItem\",\n\t    value: function isFirstItem(item) {\n\t      return this.items[0] === item;\n\t    }\n\t\n\t    /**\n\t     * Return true if the item is the last one\n\t     * @param  {object}  item\n\t     * @return {Boolean}\n\t     */\n\t\n\t  }, {\n\t    key: \"isLastItem\",\n\t    value: function isLastItem(item) {\n\t      return this.items.indexOf(item) === this.items.length - 1;\n\t    }\n\t\n\t    /**\n\t     * Return true if the list has gone far left\n\t     * @return {Boolean}\n\t     */\n\t\n\t  }, {\n\t    key: \"isFarLeft\",\n\t    value: function isFarLeft(translateX) {\n\t      var useSafeMargin = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n\t\n\t      return translateX > (useSafeMargin ? this.safeMargin : 0);\n\t    }\n\t\n\t    /**\n\t     * Return true if the list has gone far right\n\t     * @param  {Boolean} useSafeMargin\n\t     * @return {Boolean}\n\t     */\n\t\n\t  }, {\n\t    key: \"isFarRight\",\n\t    value: function isFarRight(translateX) {\n\t      var useSafeMargin = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n\t\n\t      var safeMargin = useSafeMargin ? this.safeMargin : 0;\n\t\n\t      // If the newtranslate + window width is more than list width then stop translating\n\t      return translateX * -1 + this.containerWidth > this.getListWidth() + safeMargin;\n\t    }\n\t  }, {\n\t    key: \"isListSmallerContainer\",\n\t    value: function isListSmallerContainer() {\n\t      return this.getListWidth() < this.containerWidth;\n\t    }\n\t  }, {\n\t    key: \"getFarLeftTranslation\",\n\t    value: function getFarLeftTranslation(useSafeMargin) {\n\t      return this.initialTranslation + 0 + (useSafeMargin ? this.safeMargin : 0);\n\t    }\n\t  }, {\n\t    key: \"getFarRightTranslation\",\n\t    value: function getFarRightTranslation(useSafeMargin) {\n\t      return this.initialTranslation - this.getListWidth() + this.containerWidth - (useSafeMargin ? this.safeMargin : 0);\n\t    }\n\t  }, {\n\t    key: \"checkAndGetTranslateX\",\n\t    value: function checkAndGetTranslateX(translateX, useSafeMargin) {\n\t      if (this.isFarLeft(translateX, useSafeMargin)) {\n\t        return this.getFarLeftTranslation(useSafeMargin);\n\t      }\n\t\n\t      if (this.isFarRight(translateX, useSafeMargin)) {\n\t        return this.getFarRightTranslation(useSafeMargin);\n\t      }\n\t\n\t      return translateX;\n\t    }\n\t  }, {\n\t    key: \"calculateSwipeNextDistance\",\n\t    value: function calculateSwipeNextDistance(deltaX) {\n\t      // Swipping distance\n\t      var di = Math.abs(deltaX);\n\t      // Swipping time\n\t      var ti = this.endDragMillis - this.startDragMillis;\n\t      // Gravity acceleration (constant)\n\t      var g = 9.8;\n\t      // Drag coefficient (constant)\n\t      var u = 0.05;\n\t      // Initial acceleration (from swipping)\n\t      var ai = 2 * di / Math.pow(ti, 2);\n\t      // Result acceleration by removing the resistive force\n\t      // since F(resistive) = (drag coefficient) * F(norm)\n\t      // since F(norm) = m * g\n\t      var ar = Math.abs(ai - g * u) * -1;\n\t      // Initial velocity (which is the final velocity from the swipping)\n\t      var vi = 2 * di / ti;\n\t      // We can calculate distance from this equation\n\t      // vf^2 = vi^2 + 2 * ar * distance\n\t      // Now knowing the final velocity is equal to zero (vf = 0)\n\t      var distance = Math.pow(vi, 2) / (2 * ar) * -1 * (1 / this.resistanceCoeffiecent);\n\t\n\t      return deltaX > 0 ? distance : -1 * distance;\n\t    }\n\t\n\t    /**\n\t     * Calculate active item translation\n\t     */\n\t\n\t  }, {\n\t    key: \"calculateItemTranslateX\",\n\t    value: function calculateItemTranslateX(item) {\n\t      if (this.isListSmallerContainer()) {\n\t        return 0;\n\t      }\n\t      var itemLeft = this.getItemLeft(item);\n\t      var halfContainerWidth = this.containerWidth / 2;\n\t      var halfItemWidth = this.getItemWidth(item) / 2;\n\t\n\t      var centerX = this.initialTranslation - itemLeft + halfContainerWidth - halfItemWidth;\n\t\n\t      return this.checkAndGetTranslateX(centerX, false);\n\t    }\n\t  }, {\n\t    key: \"calculateSwipeReleaseTranslateX\",\n\t    value: function calculateSwipeReleaseTranslateX(deltaX) {\n\t      if (this.isListSmallerContainer()) {\n\t        return this.currentTranslateX;\n\t      }\n\t      var distance = this.calculateSwipeNextDistance(deltaX);\n\t      return this.checkAndGetTranslateX(distance + this.currentTranslateX, false);\n\t    }\n\t  }, {\n\t    key: \"calculateBorderTranslateX\",\n\t    value: function calculateBorderTranslateX(item) {\n\t      var itemWidth = this.getItemWidth(item);\n\t      var itemLeft = this.getItemLeft(item);\n\t      var borderWidth = this.getBorderWidth(item);\n\t\n\t      // If the first item is active and required not to add left padding for first item\n\t      // then the translateX = itemLeft\n\t      if (this.noFirstLeftPadding && this.isFirstItem(item)) {\n\t        return itemLeft;\n\t      }\n\t\n\t      // If the last item is active and required not to add right padding for last item\n\t      // then the translateX = itemLeft + itemWidth - borderWidth\n\t      else if (this.noLastRightPadding && this.isLastItem(item)) {\n\t          return itemLeft + itemWidth - borderWidth;\n\t        }\n\t\n\t      // Otherwise then center the border on the element\n\t      // translateX = itemLeft + half itemWidth - half borderWidth\n\t      return itemLeft + itemWidth / 2 - borderWidth / 2;\n\t    }\n\t  }, {\n\t    key: \"calculateSwipeTranslateX\",\n\t    value: function calculateSwipeTranslateX(deltaX) {\n\t      if (this.isListSmallerContainer()) {\n\t        return this.currentTranslateX;\n\t      }\n\t      return this.checkAndGetTranslateX(deltaX + this.startTranslateX, true);\n\t    }\n\t  }]);\n\t\n\t  return Animator;\n\t}();\n\t\n\texports.default = Animator;\n\n/***/ }),\n/* 10 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t  value: true\n\t});\n\t\n\tvar _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\t\n\tvar _react = __webpack_require__(1);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _prefixer = __webpack_require__(3);\n\t\n\tvar _prefixer2 = _interopRequireDefault(_prefixer);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _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\t\n\tfunction _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\t\n\tvar ListBorder = function (_React$Component) {\n\t  _inherits(ListBorder, _React$Component);\n\t\n\t  function ListBorder() {\n\t    _classCallCheck(this, ListBorder);\n\t\n\t    return _possibleConstructorReturn(this, (ListBorder.__proto__ || Object.getPrototypeOf(ListBorder)).apply(this, arguments));\n\t  }\n\t\n\t  _createClass(ListBorder, [{\n\t    key: 'getBorderStyle',\n\t    value: function getBorderStyle() {\n\t      return (0, _prefixer2.default)({\n\t        height: this.props.borderThickness,\n\t        background: this.props.borderColor,\n\t        width: this.props.borderWidth,\n\t        transform: 'translate(' + this.props.borderTranslateX + 'px, 0)'\n\t      });\n\t    }\n\t  }, {\n\t    key: 'render',\n\t    value: function render() {\n\t      return _react2.default.createElement('div', {\n\t        style: this.getBorderStyle() });\n\t    }\n\t  }]);\n\t\n\t  return ListBorder;\n\t}(_react2.default.Component);\n\t\n\tListBorder.propTypes = {\n\t  borderThickness: _react2.default.PropTypes.number,\n\t  borderColor: _react2.default.PropTypes.string,\n\t  borderWidth: _react2.default.PropTypes.number,\n\t  borderTranslateX: _react2.default.PropTypes.number\n\t};\n\texports.default = ListBorder;\n\n/***/ }),\n/* 11 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t  value: true\n\t});\n\t\n\tvar _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\t\n\tvar _react = __webpack_require__(1);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _prefixer = __webpack_require__(3);\n\t\n\tvar _prefixer2 = _interopRequireDefault(_prefixer);\n\t\n\tvar _TabListItem = __webpack_require__(12);\n\t\n\tvar _TabListItem2 = _interopRequireDefault(_TabListItem);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _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\t\n\tfunction _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\t\n\tvar TabList = function (_React$Component) {\n\t  _inherits(TabList, _React$Component);\n\t\n\t  function TabList() {\n\t    _classCallCheck(this, TabList);\n\t\n\t    return _possibleConstructorReturn(this, (TabList.__proto__ || Object.getPrototypeOf(TabList)).apply(this, arguments));\n\t  }\n\t\n\t  _createClass(TabList, [{\n\t    key: 'isFirstItem',\n\t\n\t\n\t    /**\n\t     * Return true if the item is the first one in the list\n\t     * @param  {object}  item\n\t     * @return {Boolean}\n\t     */\n\t    value: function isFirstItem(item) {\n\t      return this.props.items[0] === item;\n\t    }\n\t\n\t    /**\n\t     * Return true if the item is the last one\n\t     * @param  {object}  item\n\t     * @return {Boolean}\n\t     */\n\t\n\t  }, {\n\t    key: 'isLastItem',\n\t    value: function isLastItem(item) {\n\t      return this.props.items.indexOf(item) === this.props.items.length - 1;\n\t    }\n\t\n\t    /**\n\t     * Calculate list width from its elements\n\t     * @return {number}\n\t     */\n\t\n\t  }, {\n\t    key: 'getListWidth',\n\t    value: function getListWidth() {\n\t      var totalWidth = 0;\n\t      this.props.items.forEach(function (item) {\n\t        return totalWidth += item.width;\n\t      });\n\t      return totalWidth;\n\t    }\n\t\n\t    /**\n\t     * Return true if the list width is smaller than window\n\t     * @return {Boolean}\n\t     */\n\t\n\t  }, {\n\t    key: 'isListSmallerThanWindow',\n\t    value: function isListSmallerThanWindow() {\n\t      return this.getListWidth() < this.props.containerWidth;\n\t    }\n\t  }, {\n\t    key: 'getListStyle',\n\t    value: function getListStyle() {\n\t      return (0, _prefixer2.default)({\n\t        listStyle: 'none',\n\t        display: 'flex',\n\t        flexDirection: 'row',\n\t        margin: 0,\n\t        padding: 0,\n\t        justifyContent: this.props.alignCenter && this.isListSmallerThanWindow() ? 'center' : undefined\n\t      });\n\t    }\n\t  }, {\n\t    key: 'renderListItems',\n\t    value: function renderListItems() {\n\t      var _this2 = this;\n\t\n\t      return this.props.items.map(function (item, key) {\n\t        return _react2.default.createElement(_TabListItem2.default, {\n\t          key: key,\n\t          item: item,\n\t          style: _this2.props.itemStyle,\n\t          fitInContainer: _this2.props.fitItems,\n\t          onClick: _this2.props.onItemClick,\n\t          className: _this2.props.itemClassName,\n\t          noLeftPadding: _this2.props.noFirstLeftPadding && _this2.isFirstItem(item),\n\t          noRightPadding: _this2.props.noLastRightPadding && _this2.isLastItem(item),\n\t          onChange: _this2.props.onItemChange,\n\t          isItemActive: _this2.props.isItemActive,\n\t          activeStyle: _this2.props.activeStyle\n\t        });\n\t      });\n\t    }\n\t  }, {\n\t    key: 'render',\n\t    value: function render() {\n\t      return _react2.default.createElement(\n\t        'ul',\n\t        { style: this.getListStyle() },\n\t        this.renderListItems()\n\t      );\n\t    }\n\t  }]);\n\t\n\t  return TabList;\n\t}(_react2.default.Component);\n\t\n\tTabList.propTypes = {\n\t  items: _react2.default.PropTypes.arrayOf(_react2.default.PropTypes.shape({\n\t    element: _react2.default.PropTypes.element.isRequired,\n\t    width: _react2.default.PropTypes.number.isRequired,\n\t    left: _react2.default.PropTypes.number.isRequired\n\t  })).isRequired,\n\t  alignCenter: _react2.default.PropTypes.bool,\n\t  onItemChange: _react2.default.PropTypes.func.isRequired,\n\t  itemStyle: _react2.default.PropTypes.object,\n\t  fitItems: _react2.default.PropTypes.bool,\n\t  onItemClick: _react2.default.PropTypes.func.isRequired,\n\t  noFirstLeftPadding: _react2.default.PropTypes.bool,\n\t  noLastRightPadding: _react2.default.PropTypes.bool,\n\t  itemClassName: _react2.default.PropTypes.string,\n\t  containerWidth: _react2.default.PropTypes.number,\n\t  activeStyle: _react2.default.PropTypes.object.isRequired,\n\t  isItemActive: _react2.default.PropTypes.func.isRequired\n\t};\n\texports.default = TabList;\n\n/***/ }),\n/* 12 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t  value: true\n\t});\n\t\n\tvar _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\t\n\tvar _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\t\n\tvar _react = __webpack_require__(1);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _prefixer = __webpack_require__(3);\n\t\n\tvar _prefixer2 = _interopRequireDefault(_prefixer);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _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\t\n\tfunction _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\t\n\tvar TabListItem = function (_React$Component) {\n\t  _inherits(TabListItem, _React$Component);\n\t\n\t  function TabListItem() {\n\t    var _ref;\n\t\n\t    var _temp, _this, _ret;\n\t\n\t    _classCallCheck(this, TabListItem);\n\t\n\t    for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n\t      args[_key] = arguments[_key];\n\t    }\n\t\n\t    return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref = TabListItem.__proto__ || Object.getPrototypeOf(TabListItem)).call.apply(_ref, [this].concat(args))), _this), _this.checkChanged = function (width, left) {\n\t      return _this.props.item.width !== width || _this.props.item.left !== left;\n\t    }, _this.refListItemDetector = function (ref) {\n\t      if (!ref) {\n\t        return;\n\t      }\n\t      // New change has happened\n\t      if (_this.checkChanged(ref.clientWidth, ref.offsetLeft)) {\n\t        _this.props.onChange(_this.props.item, ref.clientWidth, ref.offsetLeft);\n\t      }\n\t    }, _temp), _possibleConstructorReturn(_this, _ret);\n\t  }\n\t\n\t  _createClass(TabListItem, [{\n\t    key: 'getItemStyle',\n\t    value: function getItemStyle() {\n\t      var style = _extends({}, this.props.style);\n\t\n\t      // Fitting item in the container\n\t      if (this.props.fitInContainer) {\n\t        style.flexShrink = 1;\n\t        style.flexGrow = 1;\n\t      } else {\n\t        style.flexShrink = 0;\n\t      }\n\t\n\t      // Remove left padding\n\t      if (this.props.noLeftPadding) {\n\t        style.paddingLeft = 0;\n\t        style.justifyContent = 'flex-start';\n\t      }\n\t\n\t      // Remove right padding\n\t      if (this.props.noRightPadding) {\n\t        style.paddingRight = 0;\n\t        style.justifyContent = 'flex-end';\n\t      }\n\t\n\t      if (this.props.isItemActive(this.props.item)) {\n\t        style = _extends({}, style, this.props.activeStyle);\n\t      }\n\t\n\t      var mainItemStyle = {\n\t        padding: '20px',\n\t        cursor: 'pointer',\n\t        userSelect: 'none',\n\t        display: 'flex',\n\t        alignItems: 'center',\n\t        justifyContent: 'center'\n\t      };\n\t\n\t      return (0, _prefixer2.default)(_extends({}, mainItemStyle, style));\n\t    }\n\t  }, {\n\t    key: 'render',\n\t    value: function render() {\n\t      var _this2 = this;\n\t\n\t      return _react2.default.createElement(\n\t        'li',\n\t        {\n\t          ref: this.refListItemDetector.bind(this),\n\t          onClick: function onClick() {\n\t            return _this2.props.onClick(_this2.props.item);\n\t          },\n\t          style: this.getItemStyle(),\n\t          className: this.props.className\n\t        },\n\t        this.props.item.element\n\t      );\n\t    }\n\t  }]);\n\t\n\t  return TabListItem;\n\t}(_react2.default.Component);\n\t\n\tTabListItem.propTypes = {\n\t  item: _react2.default.PropTypes.shape({\n\t    element: _react2.default.PropTypes.element.isRequired,\n\t    width: _react2.default.PropTypes.number.isRequired,\n\t    left: _react2.default.PropTypes.number.isRequired\n\t  }).isRequired,\n\t  onChange: _react2.default.PropTypes.func.isRequired,\n\t  style: _react2.default.PropTypes.object,\n\t  fitInContainer: _react2.default.PropTypes.bool,\n\t  onClick: _react2.default.PropTypes.func.isRequired,\n\t  noLeftPadding: _react2.default.PropTypes.bool,\n\t  noRightPadding: _react2.default.PropTypes.bool,\n\t  className: _react2.default.PropTypes.string,\n\t  isItemActive: _react2.default.PropTypes.func.isRequired,\n\t  activeStyle: _react2.default.PropTypes.object.isRequired\n\t};\n\texports.default = TabListItem;\n\n/***/ }),\n/* 13 */\n/***/ (function(module, exports) {\n\n\t/* WEBPACK VAR INJECTION */(function(global) {/**\n\t * lodash (Custom Build) <https://lodash.com/>\n\t * Build: `lodash modularize exports=\"npm\" -o ./`\n\t * Copyright jQuery Foundation and other contributors <https://jquery.org/>\n\t * Released under MIT license <https://lodash.com/license>\n\t * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>\n\t * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n\t */\n\t\n\t/** Used as the `TypeError` message for \"Functions\" methods. */\n\tvar FUNC_ERROR_TEXT = 'Expected a function';\n\t\n\t/** Used as references for various `Number` constants. */\n\tvar NAN = 0 / 0;\n\t\n\t/** `Object#toString` result references. */\n\tvar symbolTag = '[object Symbol]';\n\t\n\t/** Used to match leading and trailing whitespace. */\n\tvar reTrim = /^\\s+|\\s+$/g;\n\t\n\t/** Used to detect bad signed hexadecimal string values. */\n\tvar reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\t\n\t/** Used to detect binary string values. */\n\tvar reIsBinary = /^0b[01]+$/i;\n\t\n\t/** Used to detect octal string values. */\n\tvar reIsOctal = /^0o[0-7]+$/i;\n\t\n\t/** Built-in method references without a dependency on `root`. */\n\tvar freeParseInt = parseInt;\n\t\n\t/** Detect free variable `global` from Node.js. */\n\tvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\t\n\t/** Detect free variable `self`. */\n\tvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\t\n\t/** Used as a reference to the global object. */\n\tvar root = freeGlobal || freeSelf || Function('return this')();\n\t\n\t/** Used for built-in method references. */\n\tvar objectProto = Object.prototype;\n\t\n\t/**\n\t * Used to resolve the\n\t * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n\t * of values.\n\t */\n\tvar objectToString = objectProto.toString;\n\t\n\t/* Built-in method references for those with the same name as other `lodash` methods. */\n\tvar nativeMax = Math.max,\n\t    nativeMin = Math.min;\n\t\n\t/**\n\t * Gets the timestamp of the number of milliseconds that have elapsed since\n\t * the Unix epoch (1 January 1970 00:00:00 UTC).\n\t *\n\t * @static\n\t * @memberOf _\n\t * @since 2.4.0\n\t * @category Date\n\t * @returns {number} Returns the timestamp.\n\t * @example\n\t *\n\t * _.defer(function(stamp) {\n\t *   console.log(_.now() - stamp);\n\t * }, _.now());\n\t * // => Logs the number of milliseconds it took for the deferred invocation.\n\t */\n\tvar now = function() {\n\t  return root.Date.now();\n\t};\n\t\n\t/**\n\t * Creates a debounced function that delays invoking `func` until after `wait`\n\t * milliseconds have elapsed since the last time the debounced function was\n\t * invoked. The debounced function comes with a `cancel` method to cancel\n\t * delayed `func` invocations and a `flush` method to immediately invoke them.\n\t * Provide `options` to indicate whether `func` should be invoked on the\n\t * leading and/or trailing edge of the `wait` timeout. The `func` is invoked\n\t * with the last arguments provided to the debounced function. Subsequent\n\t * calls to the debounced function return the result of the last `func`\n\t * invocation.\n\t *\n\t * **Note:** If `leading` and `trailing` options are `true`, `func` is\n\t * invoked on the trailing edge of the timeout only if the debounced function\n\t * is invoked more than once during the `wait` timeout.\n\t *\n\t * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n\t * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n\t *\n\t * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n\t * for details over the differences between `_.debounce` and `_.throttle`.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @since 0.1.0\n\t * @category Function\n\t * @param {Function} func The function to debounce.\n\t * @param {number} [wait=0] The number of milliseconds to delay.\n\t * @param {Object} [options={}] The options object.\n\t * @param {boolean} [options.leading=false]\n\t *  Specify invoking on the leading edge of the timeout.\n\t * @param {number} [options.maxWait]\n\t *  The maximum time `func` is allowed to be delayed before it's invoked.\n\t * @param {boolean} [options.trailing=true]\n\t *  Specify invoking on the trailing edge of the timeout.\n\t * @returns {Function} Returns the new debounced function.\n\t * @example\n\t *\n\t * // Avoid costly calculations while the window size is in flux.\n\t * jQuery(window).on('resize', _.debounce(calculateLayout, 150));\n\t *\n\t * // Invoke `sendMail` when clicked, debouncing subsequent calls.\n\t * jQuery(element).on('click', _.debounce(sendMail, 300, {\n\t *   'leading': true,\n\t *   'trailing': false\n\t * }));\n\t *\n\t * // Ensure `batchLog` is invoked once after 1 second of debounced calls.\n\t * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });\n\t * var source = new EventSource('/stream');\n\t * jQuery(source).on('message', debounced);\n\t *\n\t * // Cancel the trailing debounced invocation.\n\t * jQuery(window).on('popstate', debounced.cancel);\n\t */\n\tfunction debounce(func, wait, options) {\n\t  var lastArgs,\n\t      lastThis,\n\t      maxWait,\n\t      result,\n\t      timerId,\n\t      lastCallTime,\n\t      lastInvokeTime = 0,\n\t      leading = false,\n\t      maxing = false,\n\t      trailing = true;\n\t\n\t  if (typeof func != 'function') {\n\t    throw new TypeError(FUNC_ERROR_TEXT);\n\t  }\n\t  wait = toNumber(wait) || 0;\n\t  if (isObject(options)) {\n\t    leading = !!options.leading;\n\t    maxing = 'maxWait' in options;\n\t    maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;\n\t    trailing = 'trailing' in options ? !!options.trailing : trailing;\n\t  }\n\t\n\t  function invokeFunc(time) {\n\t    var args = lastArgs,\n\t        thisArg = lastThis;\n\t\n\t    lastArgs = lastThis = undefined;\n\t    lastInvokeTime = time;\n\t    result = func.apply(thisArg, args);\n\t    return result;\n\t  }\n\t\n\t  function leadingEdge(time) {\n\t    // Reset any `maxWait` timer.\n\t    lastInvokeTime = time;\n\t    // Start the timer for the trailing edge.\n\t    timerId = setTimeout(timerExpired, wait);\n\t    // Invoke the leading edge.\n\t    return leading ? invokeFunc(time) : result;\n\t  }\n\t\n\t  function remainingWait(time) {\n\t    var timeSinceLastCall = time - lastCallTime,\n\t        timeSinceLastInvoke = time - lastInvokeTime,\n\t        result = wait - timeSinceLastCall;\n\t\n\t    return maxing ? nativeMin(result, maxWait - timeSinceLastInvoke) : result;\n\t  }\n\t\n\t  function shouldInvoke(time) {\n\t    var timeSinceLastCall = time - lastCallTime,\n\t        timeSinceLastInvoke = time - lastInvokeTime;\n\t\n\t    // Either this is the first call, activity has stopped and we're at the\n\t    // trailing edge, the system time has gone backwards and we're treating\n\t    // it as the trailing edge, or we've hit the `maxWait` limit.\n\t    return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||\n\t      (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));\n\t  }\n\t\n\t  function timerExpired() {\n\t    var time = now();\n\t    if (shouldInvoke(time)) {\n\t      return trailingEdge(time);\n\t    }\n\t    // Restart the timer.\n\t    timerId = setTimeout(timerExpired, remainingWait(time));\n\t  }\n\t\n\t  function trailingEdge(time) {\n\t    timerId = undefined;\n\t\n\t    // Only invoke if we have `lastArgs` which means `func` has been\n\t    // debounced at least once.\n\t    if (trailing && lastArgs) {\n\t      return invokeFunc(time);\n\t    }\n\t    lastArgs = lastThis = undefined;\n\t    return result;\n\t  }\n\t\n\t  function cancel() {\n\t    if (timerId !== undefined) {\n\t      clearTimeout(timerId);\n\t    }\n\t    lastInvokeTime = 0;\n\t    lastArgs = lastCallTime = lastThis = timerId = undefined;\n\t  }\n\t\n\t  function flush() {\n\t    return timerId === undefined ? result : trailingEdge(now());\n\t  }\n\t\n\t  function debounced() {\n\t    var time = now(),\n\t        isInvoking = shouldInvoke(time);\n\t\n\t    lastArgs = arguments;\n\t    lastThis = this;\n\t    lastCallTime = time;\n\t\n\t    if (isInvoking) {\n\t      if (timerId === undefined) {\n\t        return leadingEdge(lastCallTime);\n\t      }\n\t      if (maxing) {\n\t        // Handle invocations in a tight loop.\n\t        timerId = setTimeout(timerExpired, wait);\n\t        return invokeFunc(lastCallTime);\n\t      }\n\t    }\n\t    if (timerId === undefined) {\n\t      timerId = setTimeout(timerExpired, wait);\n\t    }\n\t    return result;\n\t  }\n\t  debounced.cancel = cancel;\n\t  debounced.flush = flush;\n\t  return debounced;\n\t}\n\t\n\t/**\n\t * Checks if `value` is the\n\t * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n\t * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n\t *\n\t * @static\n\t * @memberOf _\n\t * @since 0.1.0\n\t * @category Lang\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n\t * @example\n\t *\n\t * _.isObject({});\n\t * // => true\n\t *\n\t * _.isObject([1, 2, 3]);\n\t * // => true\n\t *\n\t * _.isObject(_.noop);\n\t * // => true\n\t *\n\t * _.isObject(null);\n\t * // => false\n\t */\n\tfunction isObject(value) {\n\t  var type = typeof value;\n\t  return !!value && (type == 'object' || type == 'function');\n\t}\n\t\n\t/**\n\t * Checks if `value` is object-like. A value is object-like if it's not `null`\n\t * and has a `typeof` result of \"object\".\n\t *\n\t * @static\n\t * @memberOf _\n\t * @since 4.0.0\n\t * @category Lang\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n\t * @example\n\t *\n\t * _.isObjectLike({});\n\t * // => true\n\t *\n\t * _.isObjectLike([1, 2, 3]);\n\t * // => true\n\t *\n\t * _.isObjectLike(_.noop);\n\t * // => false\n\t *\n\t * _.isObjectLike(null);\n\t * // => false\n\t */\n\tfunction isObjectLike(value) {\n\t  return !!value && typeof value == 'object';\n\t}\n\t\n\t/**\n\t * Checks if `value` is classified as a `Symbol` primitive or object.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @since 4.0.0\n\t * @category Lang\n\t * @param {*} value The value to check.\n\t * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n\t * @example\n\t *\n\t * _.isSymbol(Symbol.iterator);\n\t * // => true\n\t *\n\t * _.isSymbol('abc');\n\t * // => false\n\t */\n\tfunction isSymbol(value) {\n\t  return typeof value == 'symbol' ||\n\t    (isObjectLike(value) && objectToString.call(value) == symbolTag);\n\t}\n\t\n\t/**\n\t * Converts `value` to a number.\n\t *\n\t * @static\n\t * @memberOf _\n\t * @since 4.0.0\n\t * @category Lang\n\t * @param {*} value The value to process.\n\t * @returns {number} Returns the number.\n\t * @example\n\t *\n\t * _.toNumber(3.2);\n\t * // => 3.2\n\t *\n\t * _.toNumber(Number.MIN_VALUE);\n\t * // => 5e-324\n\t *\n\t * _.toNumber(Infinity);\n\t * // => Infinity\n\t *\n\t * _.toNumber('3.2');\n\t * // => 3.2\n\t */\n\tfunction toNumber(value) {\n\t  if (typeof value == 'number') {\n\t    return value;\n\t  }\n\t  if (isSymbol(value)) {\n\t    return NAN;\n\t  }\n\t  if (isObject(value)) {\n\t    var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n\t    value = isObject(other) ? (other + '') : other;\n\t  }\n\t  if (typeof value != 'string') {\n\t    return value === 0 ? value : +value;\n\t  }\n\t  value = value.replace(reTrim, '');\n\t  var isBinary = reIsBinary.test(value);\n\t  return (isBinary || reIsOctal.test(value))\n\t    ? freeParseInt(value.slice(2), isBinary ? 2 : 8)\n\t    : (reIsBadHex.test(value) ? NAN : +value);\n\t}\n\t\n\tmodule.exports = debounce;\n\t\n\t/* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))\n\n/***/ }),\n/* 14 */\n/***/ (function(module, exports) {\n\n\t/*\n\tobject-assign\n\t(c) Sindre Sorhus\n\t@license MIT\n\t*/\n\t\n\t'use strict';\n\t/* eslint-disable no-unused-vars */\n\tvar getOwnPropertySymbols = Object.getOwnPropertySymbols;\n\tvar hasOwnProperty = Object.prototype.hasOwnProperty;\n\tvar propIsEnumerable = Object.prototype.propertyIsEnumerable;\n\t\n\tfunction toObject(val) {\n\t\tif (val === null || val === undefined) {\n\t\t\tthrow new TypeError('Object.assign cannot be called with null or undefined');\n\t\t}\n\t\n\t\treturn Object(val);\n\t}\n\t\n\tfunction shouldUseNative() {\n\t\ttry {\n\t\t\tif (!Object.assign) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\n\t\t\t// Detect buggy property enumeration order in older V8 versions.\n\t\n\t\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=4118\n\t\t\tvar test1 = new String('abc');  // eslint-disable-line no-new-wrappers\n\t\t\ttest1[5] = 'de';\n\t\t\tif (Object.getOwnPropertyNames(test1)[0] === '5') {\n\t\t\t\treturn false;\n\t\t\t}\n\t\n\t\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\t\t\tvar test2 = {};\n\t\t\tfor (var i = 0; i < 10; i++) {\n\t\t\t\ttest2['_' + String.fromCharCode(i)] = i;\n\t\t\t}\n\t\t\tvar order2 = Object.getOwnPropertyNames(test2).map(function (n) {\n\t\t\t\treturn test2[n];\n\t\t\t});\n\t\t\tif (order2.join('') !== '0123456789') {\n\t\t\t\treturn false;\n\t\t\t}\n\t\n\t\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\t\t\tvar test3 = {};\n\t\t\t'abcdefghijklmnopqrst'.split('').forEach(function (letter) {\n\t\t\t\ttest3[letter] = letter;\n\t\t\t});\n\t\t\tif (Object.keys(Object.assign({}, test3)).join('') !==\n\t\t\t\t\t'abcdefghijklmnopqrst') {\n\t\t\t\treturn false;\n\t\t\t}\n\t\n\t\t\treturn true;\n\t\t} catch (err) {\n\t\t\t// We don't expect any of the above to throw, but better to be safe.\n\t\t\treturn false;\n\t\t}\n\t}\n\t\n\tmodule.exports = shouldUseNative() ? Object.assign : function (target, source) {\n\t\tvar from;\n\t\tvar to = toObject(target);\n\t\tvar symbols;\n\t\n\t\tfor (var s = 1; s < arguments.length; s++) {\n\t\t\tfrom = Object(arguments[s]);\n\t\n\t\t\tfor (var key in from) {\n\t\t\t\tif (hasOwnProperty.call(from, key)) {\n\t\t\t\t\tto[key] = from[key];\n\t\t\t\t}\n\t\t\t}\n\t\n\t\t\tif (getOwnPropertySymbols) {\n\t\t\t\tsymbols = getOwnPropertySymbols(from);\n\t\t\t\tfor (var i = 0; i < symbols.length; i++) {\n\t\t\t\t\tif (propIsEnumerable.call(from, symbols[i])) {\n\t\t\t\t\t\tto[symbols[i]] = from[symbols[i]];\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\n\t\treturn to;\n\t};\n\n\n/***/ }),\n/* 15 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/* WEBPACK VAR INJECTION */(function(process) {/**\n\t * Copyright (c) 2013-present, Facebook, Inc.\n\t *\n\t * This source code is licensed under the MIT license found in the\n\t * LICENSE file in the root directory of this source tree.\n\t */\n\t\n\t'use strict';\n\t\n\tif (process.env.NODE_ENV !== 'production') {\n\t  var invariant = __webpack_require__(5);\n\t  var warning = __webpack_require__(7);\n\t  var ReactPropTypesSecret = __webpack_require__(6);\n\t  var loggedTypeFailures = {};\n\t}\n\t\n\t/**\n\t * Assert that the values match with the type specs.\n\t * Error messages are memorized and will only be shown once.\n\t *\n\t * @param {object} typeSpecs Map of name to a ReactPropType\n\t * @param {object} values Runtime values that need to be type-checked\n\t * @param {string} location e.g. \"prop\", \"context\", \"child context\"\n\t * @param {string} componentName Name of the component for error messages.\n\t * @param {?Function} getStack Returns the component stack.\n\t * @private\n\t */\n\tfunction checkPropTypes(typeSpecs, values, location, componentName, getStack) {\n\t  if (process.env.NODE_ENV !== 'production') {\n\t    for (var typeSpecName in typeSpecs) {\n\t      if (typeSpecs.hasOwnProperty(typeSpecName)) {\n\t        var error;\n\t        // Prop type validation may throw. In case they do, we don't want to\n\t        // fail the render phase where it didn't fail before. So we log it.\n\t        // After these have been cleaned up, we'll let them throw.\n\t        try {\n\t          // This is intentionally an invariant that gets caught. It's the same\n\t          // behavior as without this statement except with a better message.\n\t          invariant(typeof typeSpecs[typeSpecName] === 'function', '%s: %s type `%s` is invalid; it must be a function, usually from ' + 'the `prop-types` package, but received `%s`.', componentName || 'React class', location, typeSpecName, typeof typeSpecs[typeSpecName]);\n\t          error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret);\n\t        } catch (ex) {\n\t          error = ex;\n\t        }\n\t        warning(!error || error instanceof Error, '%s: type specification of %s `%s` is invalid; the type checker ' + 'function must return `null` or an `Error` but returned a %s. ' + 'You may have forgotten to pass an argument to the type checker ' + 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' + 'shape all require an argument).', componentName || 'React class', location, typeSpecName, typeof error);\n\t        if (error instanceof Error && !(error.message in loggedTypeFailures)) {\n\t          // Only monitor this failure once because there tends to be a lot of the\n\t          // same error.\n\t          loggedTypeFailures[error.message] = true;\n\t\n\t          var stack = getStack ? getStack() : '';\n\t\n\t          warning(false, 'Failed %s type: %s%s', location, error.message, stack != null ? stack : '');\n\t        }\n\t      }\n\t    }\n\t  }\n\t}\n\t\n\tmodule.exports = checkPropTypes;\n\t\n\t/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)))\n\n/***/ }),\n/* 16 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright (c) 2013-present, Facebook, Inc.\n\t *\n\t * This source code is licensed under the MIT license found in the\n\t * LICENSE file in the root directory of this source tree.\n\t */\n\t\n\t'use strict';\n\t\n\tvar emptyFunction = __webpack_require__(4);\n\tvar invariant = __webpack_require__(5);\n\tvar ReactPropTypesSecret = __webpack_require__(6);\n\t\n\tmodule.exports = function() {\n\t  function shim(props, propName, componentName, location, propFullName, secret) {\n\t    if (secret === ReactPropTypesSecret) {\n\t      // It is still safe when called from React.\n\t      return;\n\t    }\n\t    invariant(\n\t      false,\n\t      'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +\n\t      'Use PropTypes.checkPropTypes() to call them. ' +\n\t      'Read more at http://fb.me/use-check-prop-types'\n\t    );\n\t  };\n\t  shim.isRequired = shim;\n\t  function getShim() {\n\t    return shim;\n\t  };\n\t  // Important!\n\t  // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.\n\t  var ReactPropTypes = {\n\t    array: shim,\n\t    bool: shim,\n\t    func: shim,\n\t    number: shim,\n\t    object: shim,\n\t    string: shim,\n\t    symbol: shim,\n\t\n\t    any: shim,\n\t    arrayOf: getShim,\n\t    element: shim,\n\t    instanceOf: getShim,\n\t    node: shim,\n\t    objectOf: getShim,\n\t    oneOf: getShim,\n\t    oneOfType: getShim,\n\t    shape: getShim,\n\t    exact: getShim\n\t  };\n\t\n\t  ReactPropTypes.checkPropTypes = emptyFunction;\n\t  ReactPropTypes.PropTypes = ReactPropTypes;\n\t\n\t  return ReactPropTypes;\n\t};\n\n\n/***/ }),\n/* 17 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/* WEBPACK VAR INJECTION */(function(process) {/**\n\t * Copyright (c) 2013-present, Facebook, Inc.\n\t *\n\t * This source code is licensed under the MIT license found in the\n\t * LICENSE file in the root directory of this source tree.\n\t */\n\t\n\t'use strict';\n\t\n\tvar emptyFunction = __webpack_require__(4);\n\tvar invariant = __webpack_require__(5);\n\tvar warning = __webpack_require__(7);\n\tvar assign = __webpack_require__(14);\n\t\n\tvar ReactPropTypesSecret = __webpack_require__(6);\n\tvar checkPropTypes = __webpack_require__(15);\n\t\n\tmodule.exports = function(isValidElement, throwOnDirectAccess) {\n\t  /* global Symbol */\n\t  var ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;\n\t  var FAUX_ITERATOR_SYMBOL = '@@iterator'; // Before Symbol spec.\n\t\n\t  /**\n\t   * Returns the iterator method function contained on the iterable object.\n\t   *\n\t   * Be sure to invoke the function with the iterable as context:\n\t   *\n\t   *     var iteratorFn = getIteratorFn(myIterable);\n\t   *     if (iteratorFn) {\n\t   *       var iterator = iteratorFn.call(myIterable);\n\t   *       ...\n\t   *     }\n\t   *\n\t   * @param {?object} maybeIterable\n\t   * @return {?function}\n\t   */\n\t  function getIteratorFn(maybeIterable) {\n\t    var iteratorFn = maybeIterable && (ITERATOR_SYMBOL && maybeIterable[ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]);\n\t    if (typeof iteratorFn === 'function') {\n\t      return iteratorFn;\n\t    }\n\t  }\n\t\n\t  /**\n\t   * Collection of methods that allow declaration and validation of props that are\n\t   * supplied to React components. Example usage:\n\t   *\n\t   *   var Props = require('ReactPropTypes');\n\t   *   var MyArticle = React.createClass({\n\t   *     propTypes: {\n\t   *       // An optional string prop named \"description\".\n\t   *       description: Props.string,\n\t   *\n\t   *       // A required enum prop named \"category\".\n\t   *       category: Props.oneOf(['News','Photos']).isRequired,\n\t   *\n\t   *       // A prop named \"dialog\" that requires an instance of Dialog.\n\t   *       dialog: Props.instanceOf(Dialog).isRequired\n\t   *     },\n\t   *     render: function() { ... }\n\t   *   });\n\t   *\n\t   * A more formal specification of how these methods are used:\n\t   *\n\t   *   type := array|bool|func|object|number|string|oneOf([...])|instanceOf(...)\n\t   *   decl := ReactPropTypes.{type}(.isRequired)?\n\t   *\n\t   * Each and every declaration produces a function with the same signature. This\n\t   * allows the creation of custom validation functions. For example:\n\t   *\n\t   *  var MyLink = React.createClass({\n\t   *    propTypes: {\n\t   *      // An optional string or URI prop named \"href\".\n\t   *      href: function(props, propName, componentName) {\n\t   *        var propValue = props[propName];\n\t   *        if (propValue != null && typeof propValue !== 'string' &&\n\t   *            !(propValue instanceof URI)) {\n\t   *          return new Error(\n\t   *            'Expected a string or an URI for ' + propName + ' in ' +\n\t   *            componentName\n\t   *          );\n\t   *        }\n\t   *      }\n\t   *    },\n\t   *    render: function() {...}\n\t   *  });\n\t   *\n\t   * @internal\n\t   */\n\t\n\t  var ANONYMOUS = '<<anonymous>>';\n\t\n\t  // Important!\n\t  // Keep this list in sync with production version in `./factoryWithThrowingShims.js`.\n\t  var ReactPropTypes = {\n\t    array: createPrimitiveTypeChecker('array'),\n\t    bool: createPrimitiveTypeChecker('boolean'),\n\t    func: createPrimitiveTypeChecker('function'),\n\t    number: createPrimitiveTypeChecker('number'),\n\t    object: createPrimitiveTypeChecker('object'),\n\t    string: createPrimitiveTypeChecker('string'),\n\t    symbol: createPrimitiveTypeChecker('symbol'),\n\t\n\t    any: createAnyTypeChecker(),\n\t    arrayOf: createArrayOfTypeChecker,\n\t    element: createElementTypeChecker(),\n\t    instanceOf: createInstanceTypeChecker,\n\t    node: createNodeChecker(),\n\t    objectOf: createObjectOfTypeChecker,\n\t    oneOf: createEnumTypeChecker,\n\t    oneOfType: createUnionTypeChecker,\n\t    shape: createShapeTypeChecker,\n\t    exact: createStrictShapeTypeChecker,\n\t  };\n\t\n\t  /**\n\t   * inlined Object.is polyfill to avoid requiring consumers ship their own\n\t   * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is\n\t   */\n\t  /*eslint-disable no-self-compare*/\n\t  function is(x, y) {\n\t    // SameValue algorithm\n\t    if (x === y) {\n\t      // Steps 1-5, 7-10\n\t      // Steps 6.b-6.e: +0 != -0\n\t      return x !== 0 || 1 / x === 1 / y;\n\t    } else {\n\t      // Step 6.a: NaN == NaN\n\t      return x !== x && y !== y;\n\t    }\n\t  }\n\t  /*eslint-enable no-self-compare*/\n\t\n\t  /**\n\t   * We use an Error-like object for backward compatibility as people may call\n\t   * PropTypes directly and inspect their output. However, we don't use real\n\t   * Errors anymore. We don't inspect their stack anyway, and creating them\n\t   * is prohibitively expensive if they are created too often, such as what\n\t   * happens in oneOfType() for any type before the one that matched.\n\t   */\n\t  function PropTypeError(message) {\n\t    this.message = message;\n\t    this.stack = '';\n\t  }\n\t  // Make `instanceof Error` still work for returned errors.\n\t  PropTypeError.prototype = Error.prototype;\n\t\n\t  function createChainableTypeChecker(validate) {\n\t    if (process.env.NODE_ENV !== 'production') {\n\t      var manualPropTypeCallCache = {};\n\t      var manualPropTypeWarningCount = 0;\n\t    }\n\t    function checkType(isRequired, props, propName, componentName, location, propFullName, secret) {\n\t      componentName = componentName || ANONYMOUS;\n\t      propFullName = propFullName || propName;\n\t\n\t      if (secret !== ReactPropTypesSecret) {\n\t        if (throwOnDirectAccess) {\n\t          // New behavior only for users of `prop-types` package\n\t          invariant(\n\t            false,\n\t            'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +\n\t            'Use `PropTypes.checkPropTypes()` to call them. ' +\n\t            'Read more at http://fb.me/use-check-prop-types'\n\t          );\n\t        } else if (process.env.NODE_ENV !== 'production' && typeof console !== 'undefined') {\n\t          // Old behavior for people using React.PropTypes\n\t          var cacheKey = componentName + ':' + propName;\n\t          if (\n\t            !manualPropTypeCallCache[cacheKey] &&\n\t            // Avoid spamming the console because they are often not actionable except for lib authors\n\t            manualPropTypeWarningCount < 3\n\t          ) {\n\t            warning(\n\t              false,\n\t              'You are manually calling a React.PropTypes validation ' +\n\t              'function for the `%s` prop on `%s`. This is deprecated ' +\n\t              'and will throw in the standalone `prop-types` package. ' +\n\t              'You may be seeing this warning due to a third-party PropTypes ' +\n\t              'library. See https://fb.me/react-warning-dont-call-proptypes ' + 'for details.',\n\t              propFullName,\n\t              componentName\n\t            );\n\t            manualPropTypeCallCache[cacheKey] = true;\n\t            manualPropTypeWarningCount++;\n\t          }\n\t        }\n\t      }\n\t      if (props[propName] == null) {\n\t        if (isRequired) {\n\t          if (props[propName] === null) {\n\t            return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required ' + ('in `' + componentName + '`, but its value is `null`.'));\n\t          }\n\t          return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required in ' + ('`' + componentName + '`, but its value is `undefined`.'));\n\t        }\n\t        return null;\n\t      } else {\n\t        return validate(props, propName, componentName, location, propFullName);\n\t      }\n\t    }\n\t\n\t    var chainedCheckType = checkType.bind(null, false);\n\t    chainedCheckType.isRequired = checkType.bind(null, true);\n\t\n\t    return chainedCheckType;\n\t  }\n\t\n\t  function createPrimitiveTypeChecker(expectedType) {\n\t    function validate(props, propName, componentName, location, propFullName, secret) {\n\t      var propValue = props[propName];\n\t      var propType = getPropType(propValue);\n\t      if (propType !== expectedType) {\n\t        // `propValue` being instance of, say, date/regexp, pass the 'object'\n\t        // check, but we can offer a more precise error message here rather than\n\t        // 'of type `object`'.\n\t        var preciseType = getPreciseType(propValue);\n\t\n\t        return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + preciseType + '` supplied to `' + componentName + '`, expected ') + ('`' + expectedType + '`.'));\n\t      }\n\t      return null;\n\t    }\n\t    return createChainableTypeChecker(validate);\n\t  }\n\t\n\t  function createAnyTypeChecker() {\n\t    return createChainableTypeChecker(emptyFunction.thatReturnsNull);\n\t  }\n\t\n\t  function createArrayOfTypeChecker(typeChecker) {\n\t    function validate(props, propName, componentName, location, propFullName) {\n\t      if (typeof typeChecker !== 'function') {\n\t        return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside arrayOf.');\n\t      }\n\t      var propValue = props[propName];\n\t      if (!Array.isArray(propValue)) {\n\t        var propType = getPropType(propValue);\n\t        return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an array.'));\n\t      }\n\t      for (var i = 0; i < propValue.length; i++) {\n\t        var error = typeChecker(propValue, i, componentName, location, propFullName + '[' + i + ']', ReactPropTypesSecret);\n\t        if (error instanceof Error) {\n\t          return error;\n\t        }\n\t      }\n\t      return null;\n\t    }\n\t    return createChainableTypeChecker(validate);\n\t  }\n\t\n\t  function createElementTypeChecker() {\n\t    function validate(props, propName, componentName, location, propFullName) {\n\t      var propValue = props[propName];\n\t      if (!isValidElement(propValue)) {\n\t        var propType = getPropType(propValue);\n\t        return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement.'));\n\t      }\n\t      return null;\n\t    }\n\t    return createChainableTypeChecker(validate);\n\t  }\n\t\n\t  function createInstanceTypeChecker(expectedClass) {\n\t    function validate(props, propName, componentName, location, propFullName) {\n\t      if (!(props[propName] instanceof expectedClass)) {\n\t        var expectedClassName = expectedClass.name || ANONYMOUS;\n\t        var actualClassName = getClassName(props[propName]);\n\t        return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + actualClassName + '` supplied to `' + componentName + '`, expected ') + ('instance of `' + expectedClassName + '`.'));\n\t      }\n\t      return null;\n\t    }\n\t    return createChainableTypeChecker(validate);\n\t  }\n\t\n\t  function createEnumTypeChecker(expectedValues) {\n\t    if (!Array.isArray(expectedValues)) {\n\t      process.env.NODE_ENV !== 'production' ? warning(false, 'Invalid argument supplied to oneOf, expected an instance of array.') : void 0;\n\t      return emptyFunction.thatReturnsNull;\n\t    }\n\t\n\t    function validate(props, propName, componentName, location, propFullName) {\n\t      var propValue = props[propName];\n\t      for (var i = 0; i < expectedValues.length; i++) {\n\t        if (is(propValue, expectedValues[i])) {\n\t          return null;\n\t        }\n\t      }\n\t\n\t      var valuesString = JSON.stringify(expectedValues);\n\t      return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of value `' + propValue + '` ' + ('supplied to `' + componentName + '`, expected one of ' + valuesString + '.'));\n\t    }\n\t    return createChainableTypeChecker(validate);\n\t  }\n\t\n\t  function createObjectOfTypeChecker(typeChecker) {\n\t    function validate(props, propName, componentName, location, propFullName) {\n\t      if (typeof typeChecker !== 'function') {\n\t        return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside objectOf.');\n\t      }\n\t      var propValue = props[propName];\n\t      var propType = getPropType(propValue);\n\t      if (propType !== 'object') {\n\t        return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an object.'));\n\t      }\n\t      for (var key in propValue) {\n\t        if (propValue.hasOwnProperty(key)) {\n\t          var error = typeChecker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);\n\t          if (error instanceof Error) {\n\t            return error;\n\t          }\n\t        }\n\t      }\n\t      return null;\n\t    }\n\t    return createChainableTypeChecker(validate);\n\t  }\n\t\n\t  function createUnionTypeChecker(arrayOfTypeCheckers) {\n\t    if (!Array.isArray(arrayOfTypeCheckers)) {\n\t      process.env.NODE_ENV !== 'production' ? warning(false, 'Invalid argument supplied to oneOfType, expected an instance of array.') : void 0;\n\t      return emptyFunction.thatReturnsNull;\n\t    }\n\t\n\t    for (var i = 0; i < arrayOfTypeCheckers.length; i++) {\n\t      var checker = arrayOfTypeCheckers[i];\n\t      if (typeof checker !== 'function') {\n\t        warning(\n\t          false,\n\t          'Invalid argument supplied to oneOfType. Expected an array of check functions, but ' +\n\t          'received %s at index %s.',\n\t          getPostfixForTypeWarning(checker),\n\t          i\n\t        );\n\t        return emptyFunction.thatReturnsNull;\n\t      }\n\t    }\n\t\n\t    function validate(props, propName, componentName, location, propFullName) {\n\t      for (var i = 0; i < arrayOfTypeCheckers.length; i++) {\n\t        var checker = arrayOfTypeCheckers[i];\n\t        if (checker(props, propName, componentName, location, propFullName, ReactPropTypesSecret) == null) {\n\t          return null;\n\t        }\n\t      }\n\t\n\t      return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`.'));\n\t    }\n\t    return createChainableTypeChecker(validate);\n\t  }\n\t\n\t  function createNodeChecker() {\n\t    function validate(props, propName, componentName, location, propFullName) {\n\t      if (!isNode(props[propName])) {\n\t        return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`, expected a ReactNode.'));\n\t      }\n\t      return null;\n\t    }\n\t    return createChainableTypeChecker(validate);\n\t  }\n\t\n\t  function createShapeTypeChecker(shapeTypes) {\n\t    function validate(props, propName, componentName, location, propFullName) {\n\t      var propValue = props[propName];\n\t      var propType = getPropType(propValue);\n\t      if (propType !== 'object') {\n\t        return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));\n\t      }\n\t      for (var key in shapeTypes) {\n\t        var checker = shapeTypes[key];\n\t        if (!checker) {\n\t          continue;\n\t        }\n\t        var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);\n\t        if (error) {\n\t          return error;\n\t        }\n\t      }\n\t      return null;\n\t    }\n\t    return createChainableTypeChecker(validate);\n\t  }\n\t\n\t  function createStrictShapeTypeChecker(shapeTypes) {\n\t    function validate(props, propName, componentName, location, propFullName) {\n\t      var propValue = props[propName];\n\t      var propType = getPropType(propValue);\n\t      if (propType !== 'object') {\n\t        return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));\n\t      }\n\t      // We need to check all keys in case some are required but missing from\n\t      // props.\n\t      var allKeys = assign({}, props[propName], shapeTypes);\n\t      for (var key in allKeys) {\n\t        var checker = shapeTypes[key];\n\t        if (!checker) {\n\t          return new PropTypeError(\n\t            'Invalid ' + location + ' `' + propFullName + '` key `' + key + '` supplied to `' + componentName + '`.' +\n\t            '\\nBad object: ' + JSON.stringify(props[propName], null, '  ') +\n\t            '\\nValid keys: ' +  JSON.stringify(Object.keys(shapeTypes), null, '  ')\n\t          );\n\t        }\n\t        var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);\n\t        if (error) {\n\t          return error;\n\t        }\n\t      }\n\t      return null;\n\t    }\n\t\n\t    return createChainableTypeChecker(validate);\n\t  }\n\t\n\t  function isNode(propValue) {\n\t    switch (typeof propValue) {\n\t      case 'number':\n\t      case 'string':\n\t      case 'undefined':\n\t        return true;\n\t      case 'boolean':\n\t        return !propValue;\n\t      case 'object':\n\t        if (Array.isArray(propValue)) {\n\t          return propValue.every(isNode);\n\t        }\n\t        if (propValue === null || isValidElement(propValue)) {\n\t          return true;\n\t        }\n\t\n\t        var iteratorFn = getIteratorFn(propValue);\n\t        if (iteratorFn) {\n\t          var iterator = iteratorFn.call(propValue);\n\t          var step;\n\t          if (iteratorFn !== propValue.entries) {\n\t            while (!(step = iterator.next()).done) {\n\t              if (!isNode(step.value)) {\n\t                return false;\n\t              }\n\t            }\n\t          } else {\n\t            // Iterator will provide entry [k,v] tuples rather than values.\n\t            while (!(step = iterator.next()).done) {\n\t              var entry = step.value;\n\t              if (entry) {\n\t                if (!isNode(entry[1])) {\n\t                  return false;\n\t                }\n\t              }\n\t            }\n\t          }\n\t        } else {\n\t          return false;\n\t        }\n\t\n\t        return true;\n\t      default:\n\t        return false;\n\t    }\n\t  }\n\t\n\t  function isSymbol(propType, propValue) {\n\t    // Native Symbol.\n\t    if (propType === 'symbol') {\n\t      return true;\n\t    }\n\t\n\t    // 19.4.3.5 Symbol.prototype[@@toStringTag] === 'Symbol'\n\t    if (propValue['@@toStringTag'] === 'Symbol') {\n\t      return true;\n\t    }\n\t\n\t    // Fallback for non-spec compliant Symbols which are polyfilled.\n\t    if (typeof Symbol === 'function' && propValue instanceof Symbol) {\n\t      return true;\n\t    }\n\t\n\t    return false;\n\t  }\n\t\n\t  // Equivalent of `typeof` but with special handling for array and regexp.\n\t  function getPropType(propValue) {\n\t    var propType = typeof propValue;\n\t    if (Array.isArray(propValue)) {\n\t      return 'array';\n\t    }\n\t    if (propValue instanceof RegExp) {\n\t      // Old webkits (at least until Android 4.0) return 'function' rather than\n\t      // 'object' for typeof a RegExp. We'll normalize this here so that /bla/\n\t      // passes PropTypes.object.\n\t      return 'object';\n\t    }\n\t    if (isSymbol(propType, propValue)) {\n\t      return 'symbol';\n\t    }\n\t    return propType;\n\t  }\n\t\n\t  // This handles more types than `getPropType`. Only used for error messages.\n\t  // See `createPrimitiveTypeChecker`.\n\t  function getPreciseType(propValue) {\n\t    if (typeof propValue === 'undefined' || propValue === null) {\n\t      return '' + propValue;\n\t    }\n\t    var propType = getPropType(propValue);\n\t    if (propType === 'object') {\n\t      if (propValue instanceof Date) {\n\t        return 'date';\n\t      } else if (propValue instanceof RegExp) {\n\t        return 'regexp';\n\t      }\n\t    }\n\t    return propType;\n\t  }\n\t\n\t  // Returns a string that is postfixed to a warning about an invalid type.\n\t  // For example, \"undefined\" or \"of type array\"\n\t  function getPostfixForTypeWarning(value) {\n\t    var type = getPreciseType(value);\n\t    switch (type) {\n\t      case 'array':\n\t      case 'object':\n\t        return 'an ' + type;\n\t      case 'boolean':\n\t      case 'date':\n\t      case 'regexp':\n\t        return 'a ' + type;\n\t      default:\n\t        return type;\n\t    }\n\t  }\n\t\n\t  // Returns class name of the object, if any.\n\t  function getClassName(propValue) {\n\t    if (!propValue.constructor || !propValue.constructor.name) {\n\t      return ANONYMOUS;\n\t    }\n\t    return propValue.constructor.name;\n\t  }\n\t\n\t  ReactPropTypes.checkPropTypes = checkPropTypes;\n\t  ReactPropTypes.PropTypes = ReactPropTypes;\n\t\n\t  return ReactPropTypes;\n\t};\n\t\n\t/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)))\n\n/***/ }),\n/* 18 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/* WEBPACK VAR INJECTION */(function(process) {/**\n\t * Copyright (c) 2013-present, Facebook, Inc.\n\t *\n\t * This source code is licensed under the MIT license found in the\n\t * LICENSE file in the root directory of this source tree.\n\t */\n\t\n\tif (process.env.NODE_ENV !== 'production') {\n\t  var REACT_ELEMENT_TYPE = (typeof Symbol === 'function' &&\n\t    Symbol.for &&\n\t    Symbol.for('react.element')) ||\n\t    0xeac7;\n\t\n\t  var isValidElement = function(object) {\n\t    return typeof object === 'object' &&\n\t      object !== null &&\n\t      object.$$typeof === REACT_ELEMENT_TYPE;\n\t  };\n\t\n\t  // By explicitly using `prop-types` you are opting into new development behavior.\n\t  // http://fb.me/prop-types-in-prod\n\t  var throwOnDirectAccess = true;\n\t  module.exports = __webpack_require__(17)(isValidElement, throwOnDirectAccess);\n\t} else {\n\t  // By explicitly using `prop-types` you are opting into new production behavior.\n\t  // http://fb.me/prop-types-in-prod\n\t  module.exports = __webpack_require__(16)();\n\t}\n\t\n\t/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(2)))\n\n/***/ }),\n/* 19 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t  value: true\n\t});\n\t\n\tvar _react = __webpack_require__(1);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _withContentRect = __webpack_require__(8);\n\t\n\tvar _withContentRect2 = _interopRequireDefault(_withContentRect);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction Measure(_ref) {\n\t  var measure = _ref.measure,\n\t      measureRef = _ref.measureRef,\n\t      contentRect = _ref.contentRect,\n\t      children = _ref.children;\n\t\n\t  return children({ measure: measure, measureRef: measureRef, contentRect: contentRect });\n\t}\n\t\n\texports.default = (0, _withContentRect2.default)()(Measure);\n\tmodule.exports = exports['default'];\n\n/***/ }),\n/* 20 */\n/***/ (function(module, exports) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t  value: true\n\t});\n\tfunction getContentRect(node, types) {\n\t  var calculations = {};\n\t\n\t  if (types.indexOf('client') > -1) {\n\t    calculations.client = {\n\t      top: node.clientTop,\n\t      left: node.clientLeft,\n\t      width: node.clientWidth,\n\t      height: node.clientHeight\n\t    };\n\t  }\n\t\n\t  if (types.indexOf('offset') > -1) {\n\t    calculations.offset = {\n\t      top: node.offsetTop,\n\t      left: node.offsetLeft,\n\t      width: node.offsetWidth,\n\t      height: node.offsetHeight\n\t    };\n\t  }\n\t\n\t  if (types.indexOf('scroll') > -1) {\n\t    calculations.scroll = {\n\t      top: node.scrollTop,\n\t      left: node.scrollLeft,\n\t      width: node.scrollWidth,\n\t      height: node.scrollHeight\n\t    };\n\t  }\n\t\n\t  if (types.indexOf('bounds') > -1) {\n\t    var rect = node.getBoundingClientRect();\n\t    calculations.bounds = {\n\t      top: rect.top,\n\t      right: rect.right,\n\t      bottom: rect.bottom,\n\t      left: rect.left,\n\t      width: rect.width,\n\t      height: rect.height\n\t    };\n\t  }\n\t\n\t  if (types.indexOf('margin') > -1) {\n\t    var styles = getComputedStyle(node);\n\t    calculations.margin = {\n\t      top: parseInt(styles.marginTop),\n\t      right: parseInt(styles.marginRight),\n\t      bottom: parseInt(styles.marginBottom),\n\t      left: parseInt(styles.marginLeft)\n\t    };\n\t  }\n\t\n\t  return calculations;\n\t}\n\t\n\texports.default = getContentRect;\n\tmodule.exports = exports['default'];\n\n/***/ }),\n/* 21 */\n/***/ (function(module, exports) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t  value: true\n\t});\n\texports.default = getTypes;\n\tvar types = ['client', 'offset', 'scroll', 'bounds', 'margin'];\n\t\n\tfunction getTypes(props) {\n\t  var allowedTypes = [];\n\t  types.forEach(function (type) {\n\t    if (props[type]) {\n\t      allowedTypes.push(type);\n\t    }\n\t  });\n\t  return allowedTypes;\n\t}\n\tmodule.exports = exports['default'];\n\n/***/ }),\n/* 22 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t  value: true\n\t});\n\texports.withContentRect = exports.default = undefined;\n\t\n\tvar _Measure = __webpack_require__(19);\n\t\n\tvar _Measure2 = _interopRequireDefault(_Measure);\n\t\n\tvar _withContentRect = __webpack_require__(8);\n\t\n\tvar _withContentRect2 = _interopRequireDefault(_withContentRect);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\texports.default = _Measure2.default;\n\texports.withContentRect = _withContentRect2.default;\n\n/***/ }),\n/* 23 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/* WEBPACK VAR INJECTION */(function(global) {(function (global, factory) {\n\t\t true ? module.exports = factory() :\n\t\ttypeof define === 'function' && define.amd ? define(factory) :\n\t\t(global.ResizeObserver = factory());\n\t}(this, (function () { 'use strict';\n\t\n\t/**\r\n\t * A collection of shims that provide minimal functionality of the ES6 collections.\r\n\t *\r\n\t * These implementations are not meant to be used outside of the ResizeObserver\r\n\t * modules as they cover only a limited range of use cases.\r\n\t */\n\t/* eslint-disable require-jsdoc, valid-jsdoc */\n\tvar MapShim = (function () {\n\t    if (typeof Map !== 'undefined') {\n\t        return Map;\n\t    }\n\t\n\t    /**\r\n\t     * Returns index in provided array that matches the specified key.\r\n\t     *\r\n\t     * @param {Array<Array>} arr\r\n\t     * @param {*} key\r\n\t     * @returns {number}\r\n\t     */\n\t    function getIndex(arr, key) {\n\t        var result = -1;\n\t\n\t        arr.some(function (entry, index) {\n\t            if (entry[0] === key) {\n\t                result = index;\n\t\n\t                return true;\n\t            }\n\t\n\t            return false;\n\t        });\n\t\n\t        return result;\n\t    }\n\t\n\t    return (function () {\n\t        function anonymous() {\n\t            this.__entries__ = [];\n\t        }\n\t\n\t        var prototypeAccessors = { size: { configurable: true } };\n\t\n\t        /**\r\n\t         * @returns {boolean}\r\n\t         */\n\t        prototypeAccessors.size.get = function () {\n\t            return this.__entries__.length;\n\t        };\n\t\n\t        /**\r\n\t         * @param {*} key\r\n\t         * @returns {*}\r\n\t         */\n\t        anonymous.prototype.get = function (key) {\n\t            var index = getIndex(this.__entries__, key);\n\t            var entry = this.__entries__[index];\n\t\n\t            return entry && entry[1];\n\t        };\n\t\n\t        /**\r\n\t         * @param {*} key\r\n\t         * @param {*} value\r\n\t         * @returns {void}\r\n\t         */\n\t        anonymous.prototype.set = function (key, value) {\n\t            var index = getIndex(this.__entries__, key);\n\t\n\t            if (~index) {\n\t                this.__entries__[index][1] = value;\n\t            } else {\n\t                this.__entries__.push([key, value]);\n\t            }\n\t        };\n\t\n\t        /**\r\n\t         * @param {*} key\r\n\t         * @returns {void}\r\n\t         */\n\t        anonymous.prototype.delete = function (key) {\n\t            var entries = this.__entries__;\n\t            var index = getIndex(entries, key);\n\t\n\t            if (~index) {\n\t                entries.splice(index, 1);\n\t            }\n\t        };\n\t\n\t        /**\r\n\t         * @param {*} key\r\n\t         * @returns {void}\r\n\t         */\n\t        anonymous.prototype.has = function (key) {\n\t            return !!~getIndex(this.__entries__, key);\n\t        };\n\t\n\t        /**\r\n\t         * @returns {void}\r\n\t         */\n\t        anonymous.prototype.clear = function () {\n\t            this.__entries__.splice(0);\n\t        };\n\t\n\t        /**\r\n\t         * @param {Function} callback\r\n\t         * @param {*} [ctx=null]\r\n\t         * @returns {void}\r\n\t         */\n\t        anonymous.prototype.forEach = function (callback, ctx) {\n\t            var this$1 = this;\n\t            if ( ctx === void 0 ) ctx = null;\n\t\n\t            for (var i = 0, list = this$1.__entries__; i < list.length; i += 1) {\n\t                var entry = list[i];\n\t\n\t                callback.call(ctx, entry[1], entry[0]);\n\t            }\n\t        };\n\t\n\t        Object.defineProperties( anonymous.prototype, prototypeAccessors );\n\t\n\t        return anonymous;\n\t    }());\n\t})();\n\t\n\t/**\r\n\t * Detects whether window and document objects are available in current environment.\r\n\t */\n\tvar isBrowser = typeof window !== 'undefined' && typeof document !== 'undefined' && window.document === document;\n\t\n\t// Returns global object of a current environment.\n\tvar global$1 = (function () {\n\t    if (typeof global !== 'undefined' && global.Math === Math) {\n\t        return global;\n\t    }\n\t\n\t    if (typeof self !== 'undefined' && self.Math === Math) {\n\t        return self;\n\t    }\n\t\n\t    if (typeof window !== 'undefined' && window.Math === Math) {\n\t        return window;\n\t    }\n\t\n\t    // eslint-disable-next-line no-new-func\n\t    return Function('return this')();\n\t})();\n\t\n\t/**\r\n\t * A shim for the requestAnimationFrame which falls back to the setTimeout if\r\n\t * first one is not supported.\r\n\t *\r\n\t * @returns {number} Requests' identifier.\r\n\t */\n\tvar requestAnimationFrame$1 = (function () {\n\t    if (typeof requestAnimationFrame === 'function') {\n\t        // It's required to use a bounded function because IE sometimes throws\n\t        // an \"Invalid calling object\" error if rAF is invoked without the global\n\t        // object on the left hand side.\n\t        return requestAnimationFrame.bind(global$1);\n\t    }\n\t\n\t    return function (callback) { return setTimeout(function () { return callback(Date.now()); }, 1000 / 60); };\n\t})();\n\t\n\t// Defines minimum timeout before adding a trailing call.\n\tvar trailingTimeout = 2;\n\t\n\t/**\r\n\t * Creates a wrapper function which ensures that provided callback will be\r\n\t * invoked only once during the specified delay period.\r\n\t *\r\n\t * @param {Function} callback - Function to be invoked after the delay period.\r\n\t * @param {number} delay - Delay after which to invoke callback.\r\n\t * @returns {Function}\r\n\t */\n\tvar throttle = function (callback, delay) {\n\t    var leadingCall = false,\n\t        trailingCall = false,\n\t        lastCallTime = 0;\n\t\n\t    /**\r\n\t     * Invokes the original callback function and schedules new invocation if\r\n\t     * the \"proxy\" was called during current request.\r\n\t     *\r\n\t     * @returns {void}\r\n\t     */\n\t    function resolvePending() {\n\t        if (leadingCall) {\n\t            leadingCall = false;\n\t\n\t            callback();\n\t        }\n\t\n\t        if (trailingCall) {\n\t            proxy();\n\t        }\n\t    }\n\t\n\t    /**\r\n\t     * Callback invoked after the specified delay. It will further postpone\r\n\t     * invocation of the original function delegating it to the\r\n\t     * requestAnimationFrame.\r\n\t     *\r\n\t     * @returns {void}\r\n\t     */\n\t    function timeoutCallback() {\n\t        requestAnimationFrame$1(resolvePending);\n\t    }\n\t\n\t    /**\r\n\t     * Schedules invocation of the original function.\r\n\t     *\r\n\t     * @returns {void}\r\n\t     */\n\t    function proxy() {\n\t        var timeStamp = Date.now();\n\t\n\t        if (leadingCall) {\n\t            // Reject immediately following calls.\n\t            if (timeStamp - lastCallTime < trailingTimeout) {\n\t                return;\n\t            }\n\t\n\t            // Schedule new call to be in invoked when the pending one is resolved.\n\t            // This is important for \"transitions\" which never actually start\n\t            // immediately so there is a chance that we might miss one if change\n\t            // happens amids the pending invocation.\n\t            trailingCall = true;\n\t        } else {\n\t            leadingCall = true;\n\t            trailingCall = false;\n\t\n\t            setTimeout(timeoutCallback, delay);\n\t        }\n\t\n\t        lastCallTime = timeStamp;\n\t    }\n\t\n\t    return proxy;\n\t};\n\t\n\t// Minimum delay before invoking the update of observers.\n\tvar REFRESH_DELAY = 20;\n\t\n\t// A list of substrings of CSS properties used to find transition events that\n\t// might affect dimensions of observed elements.\n\tvar transitionKeys = ['top', 'right', 'bottom', 'left', 'width', 'height', 'size', 'weight'];\n\t\n\t// Check if MutationObserver is available.\n\tvar mutationObserverSupported = typeof MutationObserver !== 'undefined';\n\t\n\t/**\r\n\t * Singleton controller class which handles updates of ResizeObserver instances.\r\n\t */\n\tvar ResizeObserverController = function() {\n\t    this.connected_ = false;\n\t    this.mutationEventsAdded_ = false;\n\t    this.mutationsObserver_ = null;\n\t    this.observers_ = [];\n\t\n\t    this.onTransitionEnd_ = this.onTransitionEnd_.bind(this);\n\t    this.refresh = throttle(this.refresh.bind(this), REFRESH_DELAY);\n\t};\n\t\n\t/**\r\n\t * Adds observer to observers list.\r\n\t *\r\n\t * @param {ResizeObserverSPI} observer - Observer to be added.\r\n\t * @returns {void}\r\n\t */\n\t\n\t\n\t/**\r\n\t * Holds reference to the controller's instance.\r\n\t *\r\n\t * @private {ResizeObserverController}\r\n\t */\n\t\n\t\n\t/**\r\n\t * Keeps reference to the instance of MutationObserver.\r\n\t *\r\n\t * @private {MutationObserver}\r\n\t */\n\t\n\t/**\r\n\t * Indicates whether DOM listeners have been added.\r\n\t *\r\n\t * @private {boolean}\r\n\t */\n\tResizeObserverController.prototype.addObserver = function (observer) {\n\t    if (!~this.observers_.indexOf(observer)) {\n\t        this.observers_.push(observer);\n\t    }\n\t\n\t    // Add listeners if they haven't been added yet.\n\t    if (!this.connected_) {\n\t        this.connect_();\n\t    }\n\t};\n\t\n\t/**\r\n\t * Removes observer from observers list.\r\n\t *\r\n\t * @param {ResizeObserverSPI} observer - Observer to be removed.\r\n\t * @returns {void}\r\n\t */\n\tResizeObserverController.prototype.removeObserver = function (observer) {\n\t    var observers = this.observers_;\n\t    var index = observers.indexOf(observer);\n\t\n\t    // Remove observer if it's present in registry.\n\t    if (~index) {\n\t        observers.splice(index, 1);\n\t    }\n\t\n\t    // Remove listeners if controller has no connected observers.\n\t    if (!observers.length && this.connected_) {\n\t        this.disconnect_();\n\t    }\n\t};\n\t\n\t/**\r\n\t * Invokes the update of observers. It will continue running updates insofar\r\n\t * it detects changes.\r\n\t *\r\n\t * @returns {void}\r\n\t */\n\tResizeObserverController.prototype.refresh = function () {\n\t    var changesDetected = this.updateObservers_();\n\t\n\t    // Continue running updates if changes have been detected as there might\n\t    // be future ones caused by CSS transitions.\n\t    if (changesDetected) {\n\t        this.refresh();\n\t    }\n\t};\n\t\n\t/**\r\n\t * Updates every observer from observers list and notifies them of queued\r\n\t * entries.\r\n\t *\r\n\t * @private\r\n\t * @returns {boolean} Returns \"true\" if any observer has detected changes in\r\n\t *  dimensions of it's elements.\r\n\t */\n\tResizeObserverController.prototype.updateObservers_ = function () {\n\t    // Collect observers that have active observations.\n\t    var activeObservers = this.observers_.filter(function (observer) {\n\t        return observer.gatherActive(), observer.hasActive();\n\t    });\n\t\n\t    // Deliver notifications in a separate cycle in order to avoid any\n\t    // collisions between observers, e.g. when multiple instances of\n\t    // ResizeObserver are tracking the same element and the callback of one\n\t    // of them changes content dimensions of the observed target. Sometimes\n\t    // this may result in notifications being blocked for the rest of observers.\n\t    activeObservers.forEach(function (observer) { return observer.broadcastActive(); });\n\t\n\t    return activeObservers.length > 0;\n\t};\n\t\n\t/**\r\n\t * Initializes DOM listeners.\r\n\t *\r\n\t * @private\r\n\t * @returns {void}\r\n\t */\n\tResizeObserverController.prototype.connect_ = function () {\n\t    // Do nothing if running in a non-browser environment or if listeners\n\t    // have been already added.\n\t    if (!isBrowser || this.connected_) {\n\t        return;\n\t    }\n\t\n\t    // Subscription to the \"Transitionend\" event is used as a workaround for\n\t    // delayed transitions. This way it's possible to capture at least the\n\t    // final state of an element.\n\t    document.addEventListener('transitionend', this.onTransitionEnd_);\n\t\n\t    window.addEventListener('resize', this.refresh);\n\t\n\t    if (mutationObserverSupported) {\n\t        this.mutationsObserver_ = new MutationObserver(this.refresh);\n\t\n\t        this.mutationsObserver_.observe(document, {\n\t            attributes: true,\n\t            childList: true,\n\t            characterData: true,\n\t            subtree: true\n\t        });\n\t    } else {\n\t        document.addEventListener('DOMSubtreeModified', this.refresh);\n\t\n\t        this.mutationEventsAdded_ = true;\n\t    }\n\t\n\t    this.connected_ = true;\n\t};\n\t\n\t/**\r\n\t * Removes DOM listeners.\r\n\t *\r\n\t * @private\r\n\t * @returns {void}\r\n\t */\n\tResizeObserverController.prototype.disconnect_ = function () {\n\t    // Do nothing if running in a non-browser environment or if listeners\n\t    // have been already removed.\n\t    if (!isBrowser || !this.connected_) {\n\t        return;\n\t    }\n\t\n\t    document.removeEventListener('transitionend', this.onTransitionEnd_);\n\t    window.removeEventListener('resize', this.refresh);\n\t\n\t    if (this.mutationsObserver_) {\n\t        this.mutationsObserver_.disconnect();\n\t    }\n\t\n\t    if (this.mutationEventsAdded_) {\n\t        document.removeEventListener('DOMSubtreeModified', this.refresh);\n\t    }\n\t\n\t    this.mutationsObserver_ = null;\n\t    this.mutationEventsAdded_ = false;\n\t    this.connected_ = false;\n\t};\n\t\n\t/**\r\n\t * \"Transitionend\" event handler.\r\n\t *\r\n\t * @private\r\n\t * @param {TransitionEvent} event\r\n\t * @returns {void}\r\n\t */\n\tResizeObserverController.prototype.onTransitionEnd_ = function (ref) {\n\t        var propertyName = ref.propertyName; if ( propertyName === void 0 ) propertyName = '';\n\t\n\t    // Detect whether transition may affect dimensions of an element.\n\t    var isReflowProperty = transitionKeys.some(function (key) {\n\t        return !!~propertyName.indexOf(key);\n\t    });\n\t\n\t    if (isReflowProperty) {\n\t        this.refresh();\n\t    }\n\t};\n\t\n\t/**\r\n\t * Returns instance of the ResizeObserverController.\r\n\t *\r\n\t * @returns {ResizeObserverController}\r\n\t */\n\tResizeObserverController.getInstance = function () {\n\t    if (!this.instance_) {\n\t        this.instance_ = new ResizeObserverController();\n\t    }\n\t\n\t    return this.instance_;\n\t};\n\t\n\tResizeObserverController.instance_ = null;\n\t\n\t/**\r\n\t * Defines non-writable/enumerable properties of the provided target object.\r\n\t *\r\n\t * @param {Object} target - Object for which to define properties.\r\n\t * @param {Object} props - Properties to be defined.\r\n\t * @returns {Object} Target object.\r\n\t */\n\tvar defineConfigurable = (function (target, props) {\n\t    for (var i = 0, list = Object.keys(props); i < list.length; i += 1) {\n\t        var key = list[i];\n\t\n\t        Object.defineProperty(target, key, {\n\t            value: props[key],\n\t            enumerable: false,\n\t            writable: false,\n\t            configurable: true\n\t        });\n\t    }\n\t\n\t    return target;\n\t});\n\t\n\t/**\r\n\t * Returns the global object associated with provided element.\r\n\t *\r\n\t * @param {Object} target\r\n\t * @returns {Object}\r\n\t */\n\tvar getWindowOf = (function (target) {\n\t    // Assume that the element is an instance of Node, which means that it\n\t    // has the \"ownerDocument\" property from which we can retrieve a\n\t    // corresponding global object.\n\t    var ownerGlobal = target && target.ownerDocument && target.ownerDocument.defaultView;\n\t\n\t    // Return the local global object if it's not possible extract one from\n\t    // provided element.\n\t    return ownerGlobal || global$1;\n\t});\n\t\n\t// Placeholder of an empty content rectangle.\n\tvar emptyRect = createRectInit(0, 0, 0, 0);\n\t\n\t/**\r\n\t * Converts provided string to a number.\r\n\t *\r\n\t * @param {number|string} value\r\n\t * @returns {number}\r\n\t */\n\tfunction toFloat(value) {\n\t    return parseFloat(value) || 0;\n\t}\n\t\n\t/**\r\n\t * Extracts borders size from provided styles.\r\n\t *\r\n\t * @param {CSSStyleDeclaration} styles\r\n\t * @param {...string} positions - Borders positions (top, right, ...)\r\n\t * @returns {number}\r\n\t */\n\tfunction getBordersSize(styles) {\n\t    var positions = [], len = arguments.length - 1;\n\t    while ( len-- > 0 ) positions[ len ] = arguments[ len + 1 ];\n\t\n\t    return positions.reduce(function (size, position) {\n\t        var value = styles['border-' + position + '-width'];\n\t\n\t        return size + toFloat(value);\n\t    }, 0);\n\t}\n\t\n\t/**\r\n\t * Extracts paddings sizes from provided styles.\r\n\t *\r\n\t * @param {CSSStyleDeclaration} styles\r\n\t * @returns {Object} Paddings box.\r\n\t */\n\tfunction getPaddings(styles) {\n\t    var positions = ['top', 'right', 'bottom', 'left'];\n\t    var paddings = {};\n\t\n\t    for (var i = 0, list = positions; i < list.length; i += 1) {\n\t        var position = list[i];\n\t\n\t        var value = styles['padding-' + position];\n\t\n\t        paddings[position] = toFloat(value);\n\t    }\n\t\n\t    return paddings;\n\t}\n\t\n\t/**\r\n\t * Calculates content rectangle of provided SVG element.\r\n\t *\r\n\t * @param {SVGGraphicsElement} target - Element content rectangle of which needs\r\n\t *      to be calculated.\r\n\t * @returns {DOMRectInit}\r\n\t */\n\tfunction getSVGContentRect(target) {\n\t    var bbox = target.getBBox();\n\t\n\t    return createRectInit(0, 0, bbox.width, bbox.height);\n\t}\n\t\n\t/**\r\n\t * Calculates content rectangle of provided HTMLElement.\r\n\t *\r\n\t * @param {HTMLElement} target - Element for which to calculate the content rectangle.\r\n\t * @returns {DOMRectInit}\r\n\t */\n\tfunction getHTMLElementContentRect(target) {\n\t    // Client width & height properties can't be\n\t    // used exclusively as they provide rounded values.\n\t    var clientWidth = target.clientWidth;\n\t    var clientHeight = target.clientHeight;\n\t\n\t    // By this condition we can catch all non-replaced inline, hidden and\n\t    // detached elements. Though elements with width & height properties less\n\t    // than 0.5 will be discarded as well.\n\t    //\n\t    // Without it we would need to implement separate methods for each of\n\t    // those cases and it's not possible to perform a precise and performance\n\t    // effective test for hidden elements. E.g. even jQuery's ':visible' filter\n\t    // gives wrong results for elements with width & height less than 0.5.\n\t    if (!clientWidth && !clientHeight) {\n\t        return emptyRect;\n\t    }\n\t\n\t    var styles = getWindowOf(target).getComputedStyle(target);\n\t    var paddings = getPaddings(styles);\n\t    var horizPad = paddings.left + paddings.right;\n\t    var vertPad = paddings.top + paddings.bottom;\n\t\n\t    // Computed styles of width & height are being used because they are the\n\t    // only dimensions available to JS that contain non-rounded values. It could\n\t    // be possible to utilize the getBoundingClientRect if only it's data wasn't\n\t    // affected by CSS transformations let alone paddings, borders and scroll bars.\n\t    var width = toFloat(styles.width),\n\t        height = toFloat(styles.height);\n\t\n\t    // Width & height include paddings and borders when the 'border-box' box\n\t    // model is applied (except for IE).\n\t    if (styles.boxSizing === 'border-box') {\n\t        // Following conditions are required to handle Internet Explorer which\n\t        // doesn't include paddings and borders to computed CSS dimensions.\n\t        //\n\t        // We can say that if CSS dimensions + paddings are equal to the \"client\"\n\t        // properties then it's either IE, and thus we don't need to subtract\n\t        // anything, or an element merely doesn't have paddings/borders styles.\n\t        if (Math.round(width + horizPad) !== clientWidth) {\n\t            width -= getBordersSize(styles, 'left', 'right') + horizPad;\n\t        }\n\t\n\t        if (Math.round(height + vertPad) !== clientHeight) {\n\t            height -= getBordersSize(styles, 'top', 'bottom') + vertPad;\n\t        }\n\t    }\n\t\n\t    // Following steps can't be applied to the document's root element as its\n\t    // client[Width/Height] properties represent viewport area of the window.\n\t    // Besides, it's as well not necessary as the <html> itself neither has\n\t    // rendered scroll bars nor it can be clipped.\n\t    if (!isDocumentElement(target)) {\n\t        // In some browsers (only in Firefox, actually) CSS width & height\n\t        // include scroll bars size which can be removed at this step as scroll\n\t        // bars are the only difference between rounded dimensions + paddings\n\t        // and \"client\" properties, though that is not always true in Chrome.\n\t        var vertScrollbar = Math.round(width + horizPad) - clientWidth;\n\t        var horizScrollbar = Math.round(height + vertPad) - clientHeight;\n\t\n\t        // Chrome has a rather weird rounding of \"client\" properties.\n\t        // E.g. for an element with content width of 314.2px it sometimes gives\n\t        // the client width of 315px and for the width of 314.7px it may give\n\t        // 314px. And it doesn't happen all the time. So just ignore this delta\n\t        // as a non-relevant.\n\t        if (Math.abs(vertScrollbar) !== 1) {\n\t            width -= vertScrollbar;\n\t        }\n\t\n\t        if (Math.abs(horizScrollbar) !== 1) {\n\t            height -= horizScrollbar;\n\t        }\n\t    }\n\t\n\t    return createRectInit(paddings.left, paddings.top, width, height);\n\t}\n\t\n\t/**\r\n\t * Checks whether provided element is an instance of the SVGGraphicsElement.\r\n\t *\r\n\t * @param {Element} target - Element to be checked.\r\n\t * @returns {boolean}\r\n\t */\n\tvar isSVGGraphicsElement = (function () {\n\t    // Some browsers, namely IE and Edge, don't have the SVGGraphicsElement\n\t    // interface.\n\t    if (typeof SVGGraphicsElement !== 'undefined') {\n\t        return function (target) { return target instanceof getWindowOf(target).SVGGraphicsElement; };\n\t    }\n\t\n\t    // If it's so, then check that element is at least an instance of the\n\t    // SVGElement and that it has the \"getBBox\" method.\n\t    // eslint-disable-next-line no-extra-parens\n\t    return function (target) { return target instanceof getWindowOf(target).SVGElement && typeof target.getBBox === 'function'; };\n\t})();\n\t\n\t/**\r\n\t * Checks whether provided element is a document element (<html>).\r\n\t *\r\n\t * @param {Element} target - Element to be checked.\r\n\t * @returns {boolean}\r\n\t */\n\tfunction isDocumentElement(target) {\n\t    return target === getWindowOf(target).document.documentElement;\n\t}\n\t\n\t/**\r\n\t * Calculates an appropriate content rectangle for provided html or svg element.\r\n\t *\r\n\t * @param {Element} target - Element content rectangle of which needs to be calculated.\r\n\t * @returns {DOMRectInit}\r\n\t */\n\tfunction getContentRect(target) {\n\t    if (!isBrowser) {\n\t        return emptyRect;\n\t    }\n\t\n\t    if (isSVGGraphicsElement(target)) {\n\t        return getSVGContentRect(target);\n\t    }\n\t\n\t    return getHTMLElementContentRect(target);\n\t}\n\t\n\t/**\r\n\t * Creates rectangle with an interface of the DOMRectReadOnly.\r\n\t * Spec: https://drafts.fxtf.org/geometry/#domrectreadonly\r\n\t *\r\n\t * @param {DOMRectInit} rectInit - Object with rectangle's x/y coordinates and dimensions.\r\n\t * @returns {DOMRectReadOnly}\r\n\t */\n\tfunction createReadOnlyRect(ref) {\n\t    var x = ref.x;\n\t    var y = ref.y;\n\t    var width = ref.width;\n\t    var height = ref.height;\n\t\n\t    // If DOMRectReadOnly is available use it as a prototype for the rectangle.\n\t    var Constr = typeof DOMRectReadOnly !== 'undefined' ? DOMRectReadOnly : Object;\n\t    var rect = Object.create(Constr.prototype);\n\t\n\t    // Rectangle's properties are not writable and non-enumerable.\n\t    defineConfigurable(rect, {\n\t        x: x, y: y, width: width, height: height,\n\t        top: y,\n\t        right: x + width,\n\t        bottom: height + y,\n\t        left: x\n\t    });\n\t\n\t    return rect;\n\t}\n\t\n\t/**\r\n\t * Creates DOMRectInit object based on the provided dimensions and the x/y coordinates.\r\n\t * Spec: https://drafts.fxtf.org/geometry/#dictdef-domrectinit\r\n\t *\r\n\t * @param {number} x - X coordinate.\r\n\t * @param {number} y - Y coordinate.\r\n\t * @param {number} width - Rectangle's width.\r\n\t * @param {number} height - Rectangle's height.\r\n\t * @returns {DOMRectInit}\r\n\t */\n\tfunction createRectInit(x, y, width, height) {\n\t    return { x: x, y: y, width: width, height: height };\n\t}\n\t\n\t/**\r\n\t * Class that is responsible for computations of the content rectangle of\r\n\t * provided DOM element and for keeping track of it's changes.\r\n\t */\n\tvar ResizeObservation = function(target) {\n\t    this.broadcastWidth = 0;\n\t    this.broadcastHeight = 0;\n\t    this.contentRect_ = createRectInit(0, 0, 0, 0);\n\t\n\t    this.target = target;\n\t};\n\t\n\t/**\r\n\t * Updates content rectangle and tells whether it's width or height properties\r\n\t * have changed since the last broadcast.\r\n\t *\r\n\t * @returns {boolean}\r\n\t */\n\t\n\t\n\t/**\r\n\t * Reference to the last observed content rectangle.\r\n\t *\r\n\t * @private {DOMRectInit}\r\n\t */\n\t\n\t\n\t/**\r\n\t * Broadcasted width of content rectangle.\r\n\t *\r\n\t * @type {number}\r\n\t */\n\tResizeObservation.prototype.isActive = function () {\n\t    var rect = getContentRect(this.target);\n\t\n\t    this.contentRect_ = rect;\n\t\n\t    return rect.width !== this.broadcastWidth || rect.height !== this.broadcastHeight;\n\t};\n\t\n\t/**\r\n\t * Updates 'broadcastWidth' and 'broadcastHeight' properties with a data\r\n\t * from the corresponding properties of the last observed content rectangle.\r\n\t *\r\n\t * @returns {DOMRectInit} Last observed content rectangle.\r\n\t */\n\tResizeObservation.prototype.broadcastRect = function () {\n\t    var rect = this.contentRect_;\n\t\n\t    this.broadcastWidth = rect.width;\n\t    this.broadcastHeight = rect.height;\n\t\n\t    return rect;\n\t};\n\t\n\tvar ResizeObserverEntry = function(target, rectInit) {\n\t    var contentRect = createReadOnlyRect(rectInit);\n\t\n\t    // According to the specification following properties are not writable\n\t    // and are also not enumerable in the native implementation.\n\t    //\n\t    // Property accessors are not being used as they'd require to define a\n\t    // private WeakMap storage which may cause memory leaks in browsers that\n\t    // don't support this type of collections.\n\t    defineConfigurable(this, { target: target, contentRect: contentRect });\n\t};\n\t\n\tvar ResizeObserverSPI = function(callback, controller, callbackCtx) {\n\t    this.activeObservations_ = [];\n\t    this.observations_ = new MapShim();\n\t\n\t    if (typeof callback !== 'function') {\n\t        throw new TypeError('The callback provided as parameter 1 is not a function.');\n\t    }\n\t\n\t    this.callback_ = callback;\n\t    this.controller_ = controller;\n\t    this.callbackCtx_ = callbackCtx;\n\t};\n\t\n\t/**\r\n\t * Starts observing provided element.\r\n\t *\r\n\t * @param {Element} target - Element to be observed.\r\n\t * @returns {void}\r\n\t */\n\t\n\t\n\t/**\r\n\t * Registry of the ResizeObservation instances.\r\n\t *\r\n\t * @private {Map<Element, ResizeObservation>}\r\n\t */\n\t\n\t\n\t/**\r\n\t * Public ResizeObserver instance which will be passed to the callback\r\n\t * function and used as a value of it's \"this\" binding.\r\n\t *\r\n\t * @private {ResizeObserver}\r\n\t */\n\t\n\t/**\r\n\t * Collection of resize observations that have detected changes in dimensions\r\n\t * of elements.\r\n\t *\r\n\t * @private {Array<ResizeObservation>}\r\n\t */\n\tResizeObserverSPI.prototype.observe = function (target) {\n\t    if (!arguments.length) {\n\t        throw new TypeError('1 argument required, but only 0 present.');\n\t    }\n\t\n\t    // Do nothing if current environment doesn't have the Element interface.\n\t    if (typeof Element === 'undefined' || !(Element instanceof Object)) {\n\t        return;\n\t    }\n\t\n\t    if (!(target instanceof getWindowOf(target).Element)) {\n\t        throw new TypeError('parameter 1 is not of type \"Element\".');\n\t    }\n\t\n\t    var observations = this.observations_;\n\t\n\t    // Do nothing if element is already being observed.\n\t    if (observations.has(target)) {\n\t        return;\n\t    }\n\t\n\t    observations.set(target, new ResizeObservation(target));\n\t\n\t    this.controller_.addObserver(this);\n\t\n\t    // Force the update of observations.\n\t    this.controller_.refresh();\n\t};\n\t\n\t/**\r\n\t * Stops observing provided element.\r\n\t *\r\n\t * @param {Element} target - Element to stop observing.\r\n\t * @returns {void}\r\n\t */\n\tResizeObserverSPI.prototype.unobserve = function (target) {\n\t    if (!arguments.length) {\n\t        throw new TypeError('1 argument required, but only 0 present.');\n\t    }\n\t\n\t    // Do nothing if current environment doesn't have the Element interface.\n\t    if (typeof Element === 'undefined' || !(Element instanceof Object)) {\n\t        return;\n\t    }\n\t\n\t    if (!(target instanceof getWindowOf(target).Element)) {\n\t        throw new TypeError('parameter 1 is not of type \"Element\".');\n\t    }\n\t\n\t    var observations = this.observations_;\n\t\n\t    // Do nothing if element is not being observed.\n\t    if (!observations.has(target)) {\n\t        return;\n\t    }\n\t\n\t    observations.delete(target);\n\t\n\t    if (!observations.size) {\n\t        this.controller_.removeObserver(this);\n\t    }\n\t};\n\t\n\t/**\r\n\t * Stops observing all elements.\r\n\t *\r\n\t * @returns {void}\r\n\t */\n\tResizeObserverSPI.prototype.disconnect = function () {\n\t    this.clearActive();\n\t    this.observations_.clear();\n\t    this.controller_.removeObserver(this);\n\t};\n\t\n\t/**\r\n\t * Collects observation instances the associated element of which has changed\r\n\t * it's content rectangle.\r\n\t *\r\n\t * @returns {void}\r\n\t */\n\tResizeObserverSPI.prototype.gatherActive = function () {\n\t        var this$1 = this;\n\t\n\t    this.clearActive();\n\t\n\t    this.observations_.forEach(function (observation) {\n\t        if (observation.isActive()) {\n\t            this$1.activeObservations_.push(observation);\n\t        }\n\t    });\n\t};\n\t\n\t/**\r\n\t * Invokes initial callback function with a list of ResizeObserverEntry\r\n\t * instances collected from active resize observations.\r\n\t *\r\n\t * @returns {void}\r\n\t */\n\tResizeObserverSPI.prototype.broadcastActive = function () {\n\t    // Do nothing if observer doesn't have active observations.\n\t    if (!this.hasActive()) {\n\t        return;\n\t    }\n\t\n\t    var ctx = this.callbackCtx_;\n\t\n\t    // Create ResizeObserverEntry instance for every active observation.\n\t    var entries = this.activeObservations_.map(function (observation) {\n\t        return new ResizeObserverEntry(observation.target, observation.broadcastRect());\n\t    });\n\t\n\t    this.callback_.call(ctx, entries, ctx);\n\t    this.clearActive();\n\t};\n\t\n\t/**\r\n\t * Clears the collection of active observations.\r\n\t *\r\n\t * @returns {void}\r\n\t */\n\tResizeObserverSPI.prototype.clearActive = function () {\n\t    this.activeObservations_.splice(0);\n\t};\n\t\n\t/**\r\n\t * Tells whether observer has active observations.\r\n\t *\r\n\t * @returns {boolean}\r\n\t */\n\tResizeObserverSPI.prototype.hasActive = function () {\n\t    return this.activeObservations_.length > 0;\n\t};\n\t\n\t// Registry of internal observers. If WeakMap is not available use current shim\n\t// for the Map collection as it has all required methods and because WeakMap\n\t// can't be fully polyfilled anyway.\n\tvar observers = typeof WeakMap !== 'undefined' ? new WeakMap() : new MapShim();\n\t\n\t/**\r\n\t * ResizeObserver API. Encapsulates the ResizeObserver SPI implementation\r\n\t * exposing only those methods and properties that are defined in the spec.\r\n\t */\n\tvar ResizeObserver = function(callback) {\n\t    if (!(this instanceof ResizeObserver)) {\n\t        throw new TypeError('Cannot call a class as a function.');\n\t    }\n\t    if (!arguments.length) {\n\t        throw new TypeError('1 argument required, but only 0 present.');\n\t    }\n\t\n\t    var controller = ResizeObserverController.getInstance();\n\t    var observer = new ResizeObserverSPI(callback, controller, this);\n\t\n\t    observers.set(this, observer);\n\t};\n\t\n\t// Expose public methods of ResizeObserver.\n\t['observe', 'unobserve', 'disconnect'].forEach(function (method) {\n\t    ResizeObserver.prototype[method] = function () {\n\t        return (ref = observers.get(this))[method].apply(ref, arguments);\n\t        var ref;\n\t    };\n\t});\n\t\n\tvar index = (function () {\n\t    // Export existing implementation if available.\n\t    if (typeof global$1.ResizeObserver !== 'undefined') {\n\t        return global$1.ResizeObserver;\n\t    }\n\t\n\t    return ResizeObserver;\n\t})();\n\t\n\treturn index;\n\t\n\t})));\n\t\n\t/* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))\n\n/***/ }),\n/* 24 */\n/***/ (function(module, exports) {\n\n\tmodule.exports = __WEBPACK_EXTERNAL_MODULE_24__;\n\n/***/ }),\n/* 25 */\n/***/ (function(module, exports) {\n\n\tmodule.exports = __WEBPACK_EXTERNAL_MODULE_25__;\n\n/***/ }),\n/* 26 */\n/***/ (function(module, exports) {\n\n\tmodule.exports = __WEBPACK_EXTERNAL_MODULE_26__;\n\n/***/ }),\n/* 27 */\n/***/ (function(module, exports) {\n\n\tmodule.exports = __WEBPACK_EXTERNAL_MODULE_27__;\n\n/***/ })\n/******/ ])\n});\n;\n\n\n// WEBPACK FOOTER //\n// react-swipeable-tabs.js"," \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId])\n \t\t\treturn installedModules[moduleId].exports;\n\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\texports: {},\n \t\t\tid: moduleId,\n \t\t\tloaded: false\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.loaded = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"build/\";\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(0);\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap 46b23730527832422c7d","import React from 'react';\nimport Hammer from 'react-hammerjs';\nimport Measure from 'react-measure';\nimport { Motion, spring } from 'jnarwold-react-motion';\nimport differenceBy from 'lodash.differenceby';\nimport ListBorder from './ListBorder';\nimport TabList from './TabList';\nimport autoprefixer from './prefixer';\nimport Animator from './Animator';\nimport debounce from 'lodash.debounce';\n\nconst RESIZE_FREQUENCY = 150;\nexport default class Tabs extends React.Component {\n  static propTypes = {\n    /**\n     * Array of tabs to render.\n     */\n    items: React.PropTypes.arrayOf(React.PropTypes.element).isRequired,\n    /**\n     * When an item is clicked, this is called with `(item, index)`.\n     */\n    onItemClick: React.PropTypes.func.isRequired,\n    /**\n     * This is only useful if you want to control the active item index from outside.\n     */\n    activeItemIndex: React.PropTypes.number,\n    /**\n     * Item class name.\n     */\n    itemClassName: React.PropTypes.string,\n    /**\n     * Item style.\n     */\n    itemStyle: React.PropTypes.object,\n    /**\n     * Active item style.\n     */\n    activeStyle: React.PropTypes.object,\n    /**\n     * Whether or not to align center if items total width smaller than container width.\n     */\n    alignCenter: React.PropTypes.bool,\n    /**\n     * This option will fit all items on desktop\n     */\n    fitItems: React.PropTypes.bool,\n    /**\n     * This prop defines if the first item doesnt have left padding.\n     * We use this to calculate the border position for the first element.\n     */\n    noFirstLeftPadding: React.PropTypes.bool,\n    /**\n     * This prop defines if the last item doesnt have right padding.\n     * We use this to calculate the border position for the last element.\n     */\n    noLastRightPadding: React.PropTypes.bool,\n    /**\n     * Border position.\n     */\n    borderPosition: React.PropTypes.oneOf(['top', 'bottom']),\n    /**\n     * Border color.\n     */\n    borderColor: React.PropTypes.string,\n    /**\n     * Border thickness in pixels.\n     */\n    borderThickness: React.PropTypes.number,\n    /**\n     * Border width ratio from the tab width.\n     * Setting this to 1 will set border width to exactly the tab width.\n     */\n    borderWidthRatio: React.PropTypes.number,\n    /**\n     * This value is used when user tries to drag the tabs far to right or left.\n     * Setting this to 100 for example user will be able to  drag the tabs 100px\n     * far to right and left.\n     */\n    safeMargin: React.PropTypes.number,\n    /**\n     * Initial translation. Ignore this.\n     */\n    initialTranslation: React.PropTypes.number,\n    /**\n     * React motion configurations.\n     * [More about this here](https://github.com/chenglou/react-motion#--spring-val-number-config-springhelperconfig--opaqueconfig)\n     */\n    stiffness: React.PropTypes.number,\n    /**\n     * React motion configurations.\n     * [More about this here](https://github.com/chenglou/react-motion#--spring-val-number-config-springhelperconfig--opaqueconfig)\n     */\n    damping: React.PropTypes.number,\n    /**\n     * Drag resistance coeffiecent.\n     * Higher resitance tougher the user can drag the tabs.\n     */\n    resistanceCoeffiecent: React.PropTypes.number,\n    /**\n     * Gravity acceleration.\n     * Higher resitance tougher the user can drag the tabs.\n     */\n    gravityAccelarion: React.PropTypes.number,\n    /**\n     * [Learn more](https://en.wikipedia.org/wiki/Drag_coefficient)\n     */\n    dragCoefficient: React.PropTypes.number,\n  };\n\n  static defaultProps = {\n    resistanceCoeffiecent: 0.5,\n    gravityAccelarion: 9.8,\n    dragCoefficient: 0.04,\n    stiffness: 170,\n    damping: 26,\n\n    activeItemIndex: 0,\n    safeMargin: 100,\n    borderPosition: 'bottom',\n    borderColor: '#333',\n    borderThickness: 2,\n    borderWidthRatio: 1,\n    alignCenter: true,\n    activeStyle: {},\n    noFirstLeftPadding: false,\n    noLastRightPadding: false,\n    fitItems: false,\n    itemStyle: {},\n    initialTranslation: 0,\n  };\n\n  constructor(props) {\n    super(props);\n    this.currentFrame = {\n      translateX: 0,\n    };\n\n    const items = this.formatItems(this.props.items);\n\n    this.animator = new Animator(items);\n    this.updateAnimatorFromProps(this.props);\n\n    this.state = {\n      items,\n      activeItemIndex: this.props.activeItemIndex,\n      translateX: 0,\n      borderWidth: 0,\n      borderTranslateX: 0,\n    };\n\n    this.onWrapperResize();\n  }\n\n  componentDidMount() {\n    window.addEventListener('resize', this.onWrapperResize);\n  }\n\n  componentWillUnmount() {\n    window.removeEventListener('resize', this.onWrapperResize);\n  }\n\n  componentWillReceiveProps(nextProps) {\n    this.updateAnimatorFromProps(nextProps);\n\n    if(nextProps.activeItemIndex !== this.props.activeItemIndex) {\n      this.setState({ activeItemIndex: nextProps.activeItemIndex });\n    }\n\n    if(!this.checkEqualItems(nextProps.items, this.props.items)) {\n      const items = this.formatItems(nextProps.items);\n      this.animator.setItems(items);\n      this.setState({ items });\n    }\n  }\n\n  componentWillUpdate(nextProps, nextState) {\n    if(nextState.activeItemIndex !== this.state.activeItemIndex\n      || nextState.requestCenterActiveItem\n      || nextState.items !== this.state.items) {\n      // \n      this.setState({\n        ...this.getCenterItemState(nextState.items, nextState.activeItemIndex),\n        requestCenterActiveItem: false,\n      });\n    }\n  }\n\n  handleWrapperResize = () => {\n    this.detectRefContainerWidth();\n    \n    // Force center active item on resize\n    this.setState({\n      requestCenterActiveItem: true\n    });\n  }\n\n  onWrapperResize = debounce(this.handleWrapperResize, RESIZE_FREQUENCY);\n\n  formatItems = (items) => {\n    return items.map(element => ({ element, width: 0, left: 0}));\n  }\n\n  checkEqualItems = (items1, items2) => {\n    return items1 === items2;\n  }\n\n  onPanStart = (e) => {\n    this.animator.startDrag();\n  }\n\n  onPanEnd = (e) => {\n    this.animator.endDrag();\n\n    // \n    this.setState({\n      translateX: this.animator.calculateSwipeReleaseTranslateX(e.deltaX),\n    });\n  }\n\n  onPan = (e) => {\n    this.setState({\n      translateX: this.animator.calculateSwipeTranslateX(e.deltaX),\n    });\n  }\n\n  getTranslateStyle = (translateX) => {\n    this.animator.setCurrentTranslateX(translateX);\n    return {\n      transform: `translate(${translateX}px, 0)`\n    };\n  }\n\n  getWrapperStyle = () => {\n    return autoprefixer({\n      display: 'flex',\n      width: '100%',\n      overflow: 'hidden'\n    });\n    \n  }\n\n  getContainerStyle = () => {\n    return autoprefixer({\n      position: 'relative',\n      width: '100%',\n      overflow: 'hidden',\n      textAlign: 'center',\n    });\n  }\n\n  getCenterItemState = (items, activeItemIndex) => {\n    let item = items[activeItemIndex];\n    // If item doesnt exist then revert to the first item and call the onItemClick\n    if(! item) {\n      item = items[0];\n      this.onItemClick(item, activeItemIndex);\n    }\n    return {\n      borderWidth: this.animator.getBorderWidth(item),\n      translateX: this.animator.calculateItemTranslateX(item),\n      borderTranslateX: this.animator.calculateBorderTranslateX(item),\n    };\n  }\n\n  updateAnimatorFromProps = (props) => {\n    this.animator.setBorderWidthRatio(props.borderWidthRatio);\n    this.animator.setSafeMargin(props.safeMargin);\n    this.animator.setInitialTranslation(props.initialTranslation);\n    this.animator.setNoFirstLeftPadding(props.noFirstLeftPadding);\n    this.animator.setNoLastRightPadding(props.noLastRightPadding);\n    this.animator.setResistanceCoeffiecent(props.resistanceCoeffiecent);\n  }\n\n  getInitialFrame = () => {\n    return {\n      translateX: this.state.translateX,\n      borderWidth: this.state.borderWidth,\n      borderTranslateX: this.state.borderTranslateX,\n    };\n  }\n\n  calculateNextFrame = () => {\n    const options = {\n      stiffness: this.props.stiffness,\n      damping: this.props.damping,\n    };\n    return {\n      translateX: spring(this.state.translateX, options),\n      borderTranslateX: spring(this.state.borderTranslateX, options),\n      borderWidth: spring(this.state.borderWidth, options),\n    };\n  }\n\n  detectRefContainerWidth = () => {\n    if(this.refContainer) {\n      this.animator.setContainerWidth(this.refContainer\n        .parentElement.parentElement.clientWidth);\n    }\n  }\n\n  onItemClick = (item) => {\n    const index = this.getItemIndex(item);\n    this.setState({\n      requestToCenterItem: true,\n      activeItemIndex: index,\n    });\n    this.props.onItemClick(item, index);\n  }\n\n  onItemChange = (item, width, left) => {\n    const index = this.state.items.indexOf(item);\n\n    const items = [\n      ...this.state.items.slice(0, index),\n      { ...item, width, left },\n      ...this.state.items.slice(index + 1),\n    ];\n\n    this.animator.setItems(items);\n    this.setState({ items });\n  }\n\n  isItemActive = (item) => {\n    return this.state.activeItemIndex === this.getItemIndex(item);\n  }\n\n  getItemIndex = (item) => {\n    return this.state.items.indexOf(item);\n  }\n\n  renderList(translateX, borderTranslateX, borderWidth) {\n    const borderElement = (\n      <ListBorder\n        borderThickness={this.props.borderThickness}\n        borderColor={this.props.borderColor}\n        borderTranslateX={borderTranslateX}\n        borderWidth={borderWidth}\n      />\n    );\n\n    return (\n      <div style={this.getTranslateStyle(translateX)}>\n        {this.props.borderPosition === 'top' ? borderElement : null}\n\n        <TabList\n          items={this.state.items}\n          containerWidth={this.animator.getContainerWidth()}\n          alignCenter={this.props.alignCenter}\n          itemStyle={this.props.itemStyle}\n          fitItems={this.props.fitItems}\n          onItemClick={this.onItemClick}\n          onItemChange={this.onItemChange}\n          noFirstLeftPadding={this.props.noFirstLeftPadding}\n          noLastRightPadding={this.props.noLastRightPadding}\n          itemClassName={this.props.itemClassName}\n          activeStyle={this.props.activeStyle}\n          isItemActive={this.isItemActive}\n        />\n\n        {this.props.borderPosition === 'bottom' ? borderElement : null}\n      </div>\n    );\n  }\n\n  render() {\n    return (\n      <div\n        style={this.getWrapperStyle()}\n        ref={refWrapper => this.refWrapper = refWrapper}>\n        <Measure\n          bounds>\n          {({ measureRef }) => (\n            <div ref={measureRef}>\n              <Hammer\n                onPanStart={this.onPanStart}\n                onPanEnd={this.onPanEnd}\n                onPan={this.onPan}\n              >\n                <div\n                  ref={refContainer => this.refContainer = refContainer}\n                  style={this.getContainerStyle()}>\n                  <Motion\n                    defaultStyle={this.getInitialFrame()}\n                    style={this.calculateNextFrame()}>\n                    {({ translateX, borderTranslateX, borderWidth }) =>\n                      this.renderList(translateX, borderTranslateX, borderWidth)}\n                  </Motion>\n                </div>\n              </Hammer>\n            </div>\n          )}\n        </Measure>\n      </div>\n    );\n  }\n}\n\n\n// WEBPACK FOOTER //\n// ./src/Tabs/index.js","module.exports = __WEBPACK_EXTERNAL_MODULE_1__;\n\n\n//////////////////\n// WEBPACK FOOTER\n// external {\"root\":\"React\",\"amd\":\"react\",\"commonjs\":\"react\",\"commonjs2\":\"react\"}\n// module id = 1\n// module chunks = 0","// shim for using process in browser\nvar process = module.exports = {};\n\n// cached from whatever global is present so that test runners that stub it\n// don't break things.  But we need to wrap it in a try catch in case it is\n// wrapped in strict mode code which doesn't define any globals.  It's inside a\n// function because try/catches deoptimize in certain engines.\n\nvar cachedSetTimeout;\nvar cachedClearTimeout;\n\nfunction defaultSetTimout() {\n    throw new Error('setTimeout has not been defined');\n}\nfunction defaultClearTimeout () {\n    throw new Error('clearTimeout has not been defined');\n}\n(function () {\n    try {\n        if (typeof setTimeout === 'function') {\n            cachedSetTimeout = setTimeout;\n        } else {\n            cachedSetTimeout = defaultSetTimout;\n        }\n    } catch (e) {\n        cachedSetTimeout = defaultSetTimout;\n    }\n    try {\n        if (typeof clearTimeout === 'function') {\n            cachedClearTimeout = clearTimeout;\n        } else {\n            cachedClearTimeout = defaultClearTimeout;\n        }\n    } catch (e) {\n        cachedClearTimeout = defaultClearTimeout;\n    }\n} ())\nfunction runTimeout(fun) {\n    if (cachedSetTimeout === setTimeout) {\n        //normal enviroments in sane situations\n        return setTimeout(fun, 0);\n    }\n    // if setTimeout wasn't available but was latter defined\n    if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {\n        cachedSetTimeout = setTimeout;\n        return setTimeout(fun, 0);\n    }\n    try {\n        // when when somebody has screwed with setTimeout but no I.E. maddness\n        return cachedSetTimeout(fun, 0);\n    } catch(e){\n        try {\n            // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n            return cachedSetTimeout.call(null, fun, 0);\n        } catch(e){\n            // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error\n            return cachedSetTimeout.call(this, fun, 0);\n        }\n    }\n\n\n}\nfunction runClearTimeout(marker) {\n    if (cachedClearTimeout === clearTimeout) {\n        //normal enviroments in sane situations\n        return clearTimeout(marker);\n    }\n    // if clearTimeout wasn't available but was latter defined\n    if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {\n        cachedClearTimeout = clearTimeout;\n        return clearTimeout(marker);\n    }\n    try {\n        // when when somebody has screwed with setTimeout but no I.E. maddness\n        return cachedClearTimeout(marker);\n    } catch (e){\n        try {\n            // When we are in I.E. but the script has been evaled so I.E. doesn't  trust the global object when called normally\n            return cachedClearTimeout.call(null, marker);\n        } catch (e){\n            // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.\n            // Some versions of I.E. have different rules for clearTimeout vs setTimeout\n            return cachedClearTimeout.call(this, marker);\n        }\n    }\n\n\n\n}\nvar queue = [];\nvar draining = false;\nvar currentQueue;\nvar queueIndex = -1;\n\nfunction cleanUpNextTick() {\n    if (!draining || !currentQueue) {\n        return;\n    }\n    draining = false;\n    if (currentQueue.length) {\n        queue = currentQueue.concat(queue);\n    } else {\n        queueIndex = -1;\n    }\n    if (queue.length) {\n        drainQueue();\n    }\n}\n\nfunction drainQueue() {\n    if (draining) {\n        return;\n    }\n    var timeout = runTimeout(cleanUpNextTick);\n    draining = true;\n\n    var len = queue.length;\n    while(len) {\n        currentQueue = queue;\n        queue = [];\n        while (++queueIndex < len) {\n            if (currentQueue) {\n                currentQueue[queueIndex].run();\n            }\n        }\n        queueIndex = -1;\n        len = queue.length;\n    }\n    currentQueue = null;\n    draining = false;\n    runClearTimeout(timeout);\n}\n\nprocess.nextTick = function (fun) {\n    var args = new Array(arguments.length - 1);\n    if (arguments.length > 1) {\n        for (var i = 1; i < arguments.length; i++) {\n            args[i - 1] = arguments[i];\n        }\n    }\n    queue.push(new Item(fun, args));\n    if (queue.length === 1 && !draining) {\n        runTimeout(drainQueue);\n    }\n};\n\n// v8 likes predictible objects\nfunction Item(fun, array) {\n    this.fun = fun;\n    this.array = array;\n}\nItem.prototype.run = function () {\n    this.fun.apply(null, this.array);\n};\nprocess.title = 'browser';\nprocess.browser = true;\nprocess.env = {};\nprocess.argv = [];\nprocess.version = ''; // empty string to avoid regexp issues\nprocess.versions = {};\n\nfunction noop() {}\n\nprocess.on = noop;\nprocess.addListener = noop;\nprocess.once = noop;\nprocess.off = noop;\nprocess.removeListener = noop;\nprocess.removeAllListeners = noop;\nprocess.emit = noop;\nprocess.prependListener = noop;\nprocess.prependOnceListener = noop;\n\nprocess.listeners = function (name) { return [] }\n\nprocess.binding = function (name) {\n    throw new Error('process.binding is not supported');\n};\n\nprocess.cwd = function () { return '/' };\nprocess.chdir = function (dir) {\n    throw new Error('process.chdir is not supported');\n};\nprocess.umask = function() { return 0; };\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/process/browser.js\n// module id = 2\n// module chunks = 0","import Prefixer from 'inline-style-prefixer'\n\nconst prefixer = new Prefixer();\n\nexport default (styles) => prefixer.prefix(styles);\n\n\n// WEBPACK FOOTER //\n// ./src/Tabs/prefixer.js","\"use strict\";\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 */\n\nfunction makeEmptyFunction(arg) {\n  return function () {\n    return arg;\n  };\n}\n\n/**\n * This function accepts and discards inputs; it has no side effects. This is\n * primarily useful idiomatically for overridable function endpoints which\n * always need to be callable, since JS lacks a null-call idiom ala Cocoa.\n */\nvar emptyFunction = function emptyFunction() {};\n\nemptyFunction.thatReturns = makeEmptyFunction;\nemptyFunction.thatReturnsFalse = makeEmptyFunction(false);\nemptyFunction.thatReturnsTrue = makeEmptyFunction(true);\nemptyFunction.thatReturnsNull = makeEmptyFunction(null);\nemptyFunction.thatReturnsThis = function () {\n  return this;\n};\nemptyFunction.thatReturnsArgument = function (arg) {\n  return arg;\n};\n\nmodule.exports = emptyFunction;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/fbjs/lib/emptyFunction.js\n// module id = 4\n// module chunks = 0","/**\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\n'use strict';\n\n/**\n * Use invariant() to assert state which your program assumes to be true.\n *\n * Provide sprintf-style format (only %s is supported) and arguments\n * to provide information about what broke and what you were\n * expecting.\n *\n * The invariant message will be stripped in production, but the invariant\n * will remain to ensure logic does not differ in production.\n */\n\nvar validateFormat = function validateFormat(format) {};\n\nif (process.env.NODE_ENV !== 'production') {\n  validateFormat = function validateFormat(format) {\n    if (format === undefined) {\n      throw new Error('invariant requires an error message argument');\n    }\n  };\n}\n\nfunction invariant(condition, format, a, b, c, d, e, f) {\n  validateFormat(format);\n\n  if (!condition) {\n    var error;\n    if (format === undefined) {\n      error = new Error('Minified exception occurred; use the non-minified dev environment ' + 'for the full error message and additional helpful warnings.');\n    } else {\n      var args = [a, b, c, d, e, f];\n      var argIndex = 0;\n      error = new Error(format.replace(/%s/g, function () {\n        return args[argIndex++];\n      }));\n      error.name = 'Invariant Violation';\n    }\n\n    error.framesToPop = 1; // we don't care about invariant's own frame\n    throw error;\n  }\n}\n\nmodule.exports = invariant;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/fbjs/lib/invariant.js\n// module id = 5\n// module chunks = 0","/**\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\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/prop-types/lib/ReactPropTypesSecret.js\n// module id = 6\n// module chunks = 0","/**\n * Copyright (c) 2014-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\n'use strict';\n\nvar emptyFunction = require('./emptyFunction');\n\n/**\n * Similar to invariant but only logs a warning if the condition is not met.\n * This can be used to log issues in development environments in critical\n * paths. Removing the logging code for production environments will keep the\n * same logic and follow the same code paths.\n */\n\nvar warning = emptyFunction;\n\nif (process.env.NODE_ENV !== 'production') {\n  var printWarning = function printWarning(format) {\n    for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n      args[_key - 1] = arguments[_key];\n    }\n\n    var argIndex = 0;\n    var message = 'Warning: ' + format.replace(/%s/g, function () {\n      return args[argIndex++];\n    });\n    if (typeof console !== 'undefined') {\n      console.error(message);\n    }\n    try {\n      // --- Welcome to debugging React ---\n      // This error was thrown as a convenience so that you can use this stack\n      // to find the callsite that caused this warning to fire.\n      throw new Error(message);\n    } catch (x) {}\n  };\n\n  warning = function warning(condition, format) {\n    if (format === undefined) {\n      throw new Error('`warning(condition, format, ...args)` requires a warning ' + 'message argument');\n    }\n\n    if (format.indexOf('Failed Composite propType: ') === 0) {\n      return; // Ignore CompositeComponent proptype check.\n    }\n\n    if (!condition) {\n      for (var _len2 = arguments.length, args = Array(_len2 > 2 ? _len2 - 2 : 0), _key2 = 2; _key2 < _len2; _key2++) {\n        args[_key2 - 2] = arguments[_key2];\n      }\n\n      printWarning.apply(undefined, [format].concat(args));\n    }\n  };\n}\n\nmodule.exports = warning;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/fbjs/lib/warning.js\n// module id = 7\n// module chunks = 0","'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 _propTypes = require('prop-types');\n\nvar _propTypes2 = _interopRequireDefault(_propTypes);\n\nvar _resizeObserverPolyfill = require('resize-observer-polyfill');\n\nvar _resizeObserverPolyfill2 = _interopRequireDefault(_resizeObserverPolyfill);\n\nvar _getTypes = require('./get-types');\n\nvar _getTypes2 = _interopRequireDefault(_getTypes);\n\nvar _getContentRect = require('./get-content-rect');\n\nvar _getContentRect2 = _interopRequireDefault(_getContentRect);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\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\nfunction withContentRect(types) {\n  return function (WrappedComponent) {\n    var _class, _temp2;\n\n    return _temp2 = _class = function (_Component) {\n      _inherits(_class, _Component);\n\n      function _class() {\n        var _ref;\n\n        var _temp, _this, _ret;\n\n        _classCallCheck(this, _class);\n\n        for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n          args[_key] = arguments[_key];\n        }\n\n        return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref = _class.__proto__ || Object.getPrototypeOf(_class)).call.apply(_ref, [this].concat(args))), _this), _this.state = {\n          contentRect: {\n            entry: {},\n            client: {},\n            offset: {},\n            scroll: {},\n            bounds: {},\n            margin: {}\n          }\n        }, _this.measure = function (entries) {\n          var contentRect = (0, _getContentRect2.default)(_this._node, types || (0, _getTypes2.default)(_this.props));\n\n          if (entries) {\n            contentRect.entry = entries[0].contentRect;\n          }\n\n          _this.setState({ contentRect: contentRect });\n\n          if (typeof _this.props.onResize === 'function') {\n            _this.props.onResize(contentRect);\n          }\n        }, _this._handleRef = function (node) {\n          if (_this._resizeObserver) {\n            if (node) {\n              _this._resizeObserver.observe(node);\n            } else {\n              _this._resizeObserver.disconnect(_this._node);\n            }\n          }\n          _this._node = node;\n\n          if (typeof _this.props.innerRef === 'function') {\n            _this.props.innerRef(node);\n          }\n        }, _temp), _possibleConstructorReturn(_this, _ret);\n      }\n\n      _createClass(_class, [{\n        key: 'componentWillMount',\n        value: function componentWillMount() {\n          this._resizeObserver = new _resizeObserverPolyfill2.default(this.measure);\n        }\n      }, {\n        key: 'render',\n        value: function render() {\n          var _props = this.props,\n              innerRef = _props.innerRef,\n              onResize = _props.onResize,\n              props = _objectWithoutProperties(_props, ['innerRef', 'onResize']);\n\n          return (0, _react.createElement)(WrappedComponent, _extends({}, props, {\n            measureRef: this._handleRef,\n            measure: this.measure,\n            contentRect: this.state.contentRect\n          }));\n        }\n      }]);\n\n      return _class;\n    }(_react.Component), _class.propTypes = {\n      client: _propTypes2.default.bool,\n      offset: _propTypes2.default.bool,\n      scroll: _propTypes2.default.bool,\n      bounds: _propTypes2.default.bool,\n      margin: _propTypes2.default.bool,\n      innerRef: _propTypes2.default.func,\n      onResize: _propTypes2.default.func,\n      children: _propTypes2.default.func\n    }, _temp2;\n  };\n}\n\nexports.default = withContentRect;\nmodule.exports = exports['default'];\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-measure/lib/with-content-rect.js\n// module id = 8\n// module chunks = 0","const getCurrentMillis = () => new Date().getTime();\n\nexport default class Animator {\n\n  constructor(items) {\n    this.setItems(items);\n    // Give it initial value\n    this.containerWidth = 100;\n  }\n\n  setItems(items) {\n    this.items = items;\n  }\n\n  setContainerWidth(containerWidth) {\n    this.containerWidth = containerWidth;\n  }\n\n  getContainerWidth() {\n    return this.containerWidth;\n  }\n\n  setBorderWidthRatio(borderWidthRatio) {\n    this.borderWidthRatio = borderWidthRatio;\n  }\n\n  setSafeMargin(safeMargin) {\n    this.safeMargin = safeMargin;\n  }\n\n  setInitialTranslation(initialTranslation) {\n    this.initialTranslation = initialTranslation;\n  }\n\n  setNoFirstLeftPadding(noFirstLeftPadding) {\n    this.noFirstLeftPadding = noFirstLeftPadding;\n  }\n\n  setNoLastRightPadding(noLastRightPadding) {\n    this.noLastRightPadding = noLastRightPadding;\n  }\n\n  setResistanceCoeffiecent(resistanceCoeffiecent) {\n    this.resistanceCoeffiecent = resistanceCoeffiecent;\n  }\n\n  setCurrentTranslateX(translateX) {\n    this.currentTranslateX = translateX;\n  }\n\n  startDrag() {\n    this.startDragMillis = getCurrentMillis();\n    this.startTranslateX = this.currentTranslateX;\n  }\n\n  endDrag() {\n    this.endDragMillis = getCurrentMillis();\n  }\n\n\n  /**\n   * Calculate list width from its items\n   * @return {number}\n   */\n  getListWidth() {\n    let totalWidth = 0;\n    this.items.forEach(item => totalWidth += item.width);\n    return totalWidth;\n  }\n\n  getFirstItemLeft() {\n    return this.items[0].left;\n  }\n\n  getItemLeft(item) {\n    return this.isFirstItem(item) ? 0 : item.left - this.getFirstItemLeft();\n  }\n\n  getItemWidth(item) {\n    return item.width;\n  }\n\n  getBorderWidth(item) {\n    return this.getItemWidth(item) * this.borderWidthRatio;\n  }\n\n  /**\n   * Return true if the item is the first one in the list\n   * @param  {object}  item\n   * @return {Boolean}\n   */\n  isFirstItem(item) {\n    return this.items[0] === item;\n  }\n\n  /**\n   * Return true if the item is the last one\n   * @param  {object}  item\n   * @return {Boolean}\n   */\n  isLastItem(item) {\n    return this.items.indexOf(item) === this.items.length - 1;\n  }\n\n  /**\n   * Return true if the list has gone far left\n   * @return {Boolean}\n   */\n  isFarLeft(translateX, useSafeMargin = false) {\n    return translateX > (useSafeMargin ? this.safeMargin : 0);\n  }\n\n  /**\n   * Return true if the list has gone far right\n   * @param  {Boolean} useSafeMargin\n   * @return {Boolean}\n   */\n  isFarRight(translateX, useSafeMargin = false) {\n    const safeMargin = useSafeMargin ? this.safeMargin : 0;\n\n    // If the newtranslate + window width is more than list width then stop translating\n    return (translateX * -1) + this.containerWidth > (this.getListWidth() + safeMargin);\n  }\n\n  isListSmallerContainer() {\n    return this.getListWidth() < this.containerWidth;\n  }\n\n  getFarLeftTranslation(useSafeMargin) {\n    return this.initialTranslation + 0 + (useSafeMargin ? this.safeMargin : 0);\n  }\n\n  getFarRightTranslation(useSafeMargin) {\n    return this.initialTranslation - this.getListWidth() + this.containerWidth - (useSafeMargin ? this.safeMargin : 0);\n  }\n\n  checkAndGetTranslateX(translateX, useSafeMargin) {\n    if(this.isFarLeft(translateX, useSafeMargin)) {\n      return this.getFarLeftTranslation(useSafeMargin);\n    }\n\n    if(this.isFarRight(translateX, useSafeMargin)) {\n      return this.getFarRightTranslation(useSafeMargin);\n    }\n\n    return translateX;\n  }\n\n  calculateSwipeNextDistance(deltaX) {\n    // Swipping distance\n    const di = Math.abs(deltaX);\n    // Swipping time\n    const ti = this.endDragMillis - this.startDragMillis;\n    // Gravity acceleration (constant)\n    const g = 9.8;\n    // Drag coefficient (constant)\n    const u = 0.05;\n    // Initial acceleration (from swipping)\n    const ai = (2 * di) / (Math.pow(ti, 2));\n    // Result acceleration by removing the resistive force\n    // since F(resistive) = (drag coefficient) * F(norm)\n    // since F(norm) = m * g\n    const ar = Math.abs(ai - (g * u)) * -1;\n    // Initial velocity (which is the final velocity from the swipping)\n    const vi = (2 * di) / ti;\n    // We can calculate distance from this equation\n    // vf^2 = vi^2 + 2 * ar * distance\n    // Now knowing the final velocity is equal to zero (vf = 0)\n    const distance = (Math.pow(vi, 2) / (2 * ar)) * -1 * (1 / this.resistanceCoeffiecent);\n\n    return deltaX > 0 ? distance : -1 * distance;\n  }\n\n  /**\n   * Calculate active item translation\n   */\n  calculateItemTranslateX(item) {\n    if(this.isListSmallerContainer()) {\n      return 0;\n    }\n    const itemLeft = this.getItemLeft(item);\n    const halfContainerWidth = this.containerWidth / 2;\n    const halfItemWidth = this.getItemWidth(item) / 2;\n\n    let centerX = this.initialTranslation - itemLeft + halfContainerWidth - halfItemWidth;\n\n    return this.checkAndGetTranslateX(centerX, false);\n  }\n\n  calculateSwipeReleaseTranslateX(deltaX) {\n    if(this.isListSmallerContainer()) {\n      return this.currentTranslateX;\n    }\n    const distance = this.calculateSwipeNextDistance(deltaX);\n    return this.checkAndGetTranslateX(distance + this.currentTranslateX, false);\n  }\n\n  calculateBorderTranslateX(item) {\n    const itemWidth = this.getItemWidth(item);\n    const itemLeft = this.getItemLeft(item);\n    const borderWidth = this.getBorderWidth(item);\n\n    // If the first item is active and required not to add left padding for first item\n    // then the translateX = itemLeft\n    if(this.noFirstLeftPadding && this.isFirstItem(item)) {\n      return itemLeft;\n    }\n\n    // If the last item is active and required not to add right padding for last item\n    // then the translateX = itemLeft + itemWidth - borderWidth\n    else if(this.noLastRightPadding && this.isLastItem(item)) {\n      return itemLeft + itemWidth - borderWidth;\n    }\n\n    // Otherwise then center the border on the element\n    // translateX = itemLeft + half itemWidth - half borderWidth\n    return itemLeft + (itemWidth / 2) - (borderWidth / 2);\n  }\n\n  calculateSwipeTranslateX(deltaX) {\n    if(this.isListSmallerContainer()) {\n      return this.currentTranslateX;\n    }\n    return this.checkAndGetTranslateX(deltaX + this.startTranslateX, true);\n  }\n}\n\n\n// WEBPACK FOOTER //\n// ./src/Tabs/Animator.js","import React from 'react';\nimport autoprefixer from './prefixer';\n\nexport default class ListBorder extends React.Component {\n  static propTypes = {\n    borderThickness: React.PropTypes.number,\n    borderColor: React.PropTypes.string,\n    borderWidth: React.PropTypes.number,\n    borderTranslateX: React.PropTypes.number,\n  };\n\n  getBorderStyle() {\n    return autoprefixer({\n      height: this.props.borderThickness,\n      background: this.props.borderColor,\n      width: this.props.borderWidth,\n      transform: `translate(${this.props.borderTranslateX}px, 0)`,\n    });\n  }\n\n  render() {\n    return (\n      <div\n        style={this.getBorderStyle()}>\n      </div>\n    );\n  }\n}\n\n\n// WEBPACK FOOTER //\n// ./src/Tabs/ListBorder.js","import React from 'react';\nimport autoprefixer from './prefixer';\nimport TabListItem from './TabListItem';\n\nexport default class TabList extends React.Component {\n\n  static propTypes = {\n    items: React.PropTypes.arrayOf(React.PropTypes.shape({\n      element: React.PropTypes.element.isRequired,\n      width: React.PropTypes.number.isRequired,\n      left: React.PropTypes.number.isRequired,\n    })).isRequired,\n    alignCenter: React.PropTypes.bool,\n    onItemChange: React.PropTypes.func.isRequired,\n    itemStyle: React.PropTypes.object,\n    fitItems: React.PropTypes.bool,\n    onItemClick: React.PropTypes.func.isRequired,\n    noFirstLeftPadding: React.PropTypes.bool,\n    noLastRightPadding: React.PropTypes.bool,\n    itemClassName: React.PropTypes.string,\n    containerWidth: React.PropTypes.number,\n    activeStyle: React.PropTypes.object.isRequired,\n    isItemActive: React.PropTypes.func.isRequired,\n  };\n\n  /**\n   * Return true if the item is the first one in the list\n   * @param  {object}  item\n   * @return {Boolean}\n   */\n  isFirstItem(item) {\n    return this.props.items[0] === item;\n  }\n\n  /**\n   * Return true if the item is the last one\n   * @param  {object}  item\n   * @return {Boolean}\n   */\n  isLastItem(item) {\n    return this.props.items.indexOf(item) === this.props.items.length - 1;\n  }\n\n  /**\n   * Calculate list width from its elements\n   * @return {number}\n   */\n  getListWidth() {\n    let totalWidth = 0;\n    this.props.items.forEach(item => totalWidth += item.width);\n    return totalWidth;\n  }\n\n  /**\n   * Return true if the list width is smaller than window\n   * @return {Boolean}\n   */\n  isListSmallerThanWindow() {\n    return this.getListWidth() < this.props.containerWidth;\n  }\n\n  getListStyle() {\n    return autoprefixer({\n      listStyle: 'none',\n      display: 'flex',\n      flexDirection: 'row',\n      margin: 0,\n      padding: 0,\n      justifyContent: this.props.alignCenter && this.isListSmallerThanWindow() ? 'center' : undefined,\n    });\n  }\n\n  renderListItems() {\n    return this.props.items.map((item, key) => (\n      <TabListItem\n        key={key}\n        item={item}\n        style={this.props.itemStyle}\n        fitInContainer={this.props.fitItems}\n        onClick={this.props.onItemClick}\n        className={this.props.itemClassName}\n        noLeftPadding={this.props.noFirstLeftPadding && this.isFirstItem(item)}\n        noRightPadding={this.props.noLastRightPadding && this.isLastItem(item)}\n        onChange={this.props.onItemChange}\n        isItemActive={this.props.isItemActive}\n        activeStyle={this.props.activeStyle}\n      />\n    ));\n  }\n\n  render() {\n    return (\n      <ul style={this.getListStyle()}>\n        {this.renderListItems()}\n      </ul>\n    );\n  }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/Tabs/TabList.js","import React from 'react';\nimport autoprefixer from './prefixer';\n\nexport default class TabListItem extends React.Component {\n  static propTypes = {\n    item: React.PropTypes.shape({\n      element: React.PropTypes.element.isRequired,\n      width: React.PropTypes.number.isRequired,\n      left: React.PropTypes.number.isRequired,\n    }).isRequired,\n    onChange: React.PropTypes.func.isRequired,\n    style: React.PropTypes.object,\n    fitInContainer: React.PropTypes.bool,\n    onClick: React.PropTypes.func.isRequired,\n    noLeftPadding: React.PropTypes.bool,\n    noRightPadding: React.PropTypes.bool,\n    className: React.PropTypes.string,\n    isItemActive: React.PropTypes.func.isRequired,\n    activeStyle: React.PropTypes.object.isRequired,\n  };\n\n  checkChanged = (width, left) => {\n    return this.props.item.width !== width || this.props.item.left !== left;\n  }\n\n  refListItemDetector = (ref) => {\n    if(! ref) {\n      return;\n    }\n    // New change has happened\n    if(this.checkChanged(ref.clientWidth, ref.offsetLeft)) {\n      this.props.onChange(this.props.item, ref.clientWidth, ref.offsetLeft);\n    }\n  }\n\n  getItemStyle() {\n    let style = {...this.props.style};\n\n    // Fitting item in the container\n    if(this.props.fitInContainer) {\n      style.flexShrink = 1;\n      style.flexGrow = 1;\n    } else {\n      style.flexShrink = 0;\n    }\n\n    // Remove left padding\n    if(this.props.noLeftPadding) {\n      style.paddingLeft = 0;\n      style.justifyContent = 'flex-start';\n    }\n\n    // Remove right padding\n    if(this.props.noRightPadding) {\n      style.paddingRight = 0;\n      style.justifyContent = 'flex-end';\n    }\n\n    if(this.props.isItemActive(this.props.item)) {\n      style = { ...style, ...this.props.activeStyle };\n    }\n\n    const mainItemStyle = {\n      padding: '20px',\n      cursor: 'pointer',\n      userSelect: 'none',\n      display: 'flex',\n      alignItems: 'center',\n      justifyContent: 'center',\n    }\n\n    return autoprefixer({\n      ...mainItemStyle,\n      ...style,\n    });\n  }\n\n  render() {\n    return (\n      <li\n        ref={this.refListItemDetector.bind(this)}\n        onClick={() => this.props.onClick(this.props.item)}\n        style={this.getItemStyle()}\n        className={this.props.className}\n      >\n        {this.props.item.element}\n      </li>\n    );\n  }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/Tabs/TabListItem.js","/**\n * lodash (Custom Build) <https://lodash.com/>\n * Build: `lodash modularize exports=\"npm\" -o ./`\n * Copyright jQuery Foundation and other contributors <https://jquery.org/>\n * Released under MIT license <https://lodash.com/license>\n * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>\n * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n */\n\n/** Used as the `TypeError` message for \"Functions\" methods. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/** Used as references for various `Number` constants. */\nvar NAN = 0 / 0;\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\n\n/** Used to match leading and trailing whitespace. */\nvar reTrim = /^\\s+|\\s+$/g;\n\n/** Used to detect bad signed hexadecimal string values. */\nvar reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n/** Used to detect binary string values. */\nvar reIsBinary = /^0b[01]+$/i;\n\n/** Used to detect octal string values. */\nvar reIsOctal = /^0o[0-7]+$/i;\n\n/** Built-in method references without a dependency on `root`. */\nvar freeParseInt = parseInt;\n\n/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar objectToString = objectProto.toString;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max,\n    nativeMin = Math.min;\n\n/**\n * Gets the timestamp of the number of milliseconds that have elapsed since\n * the Unix epoch (1 January 1970 00:00:00 UTC).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Date\n * @returns {number} Returns the timestamp.\n * @example\n *\n * _.defer(function(stamp) {\n *   console.log(_.now() - stamp);\n * }, _.now());\n * // => Logs the number of milliseconds it took for the deferred invocation.\n */\nvar now = function() {\n  return root.Date.now();\n};\n\n/**\n * Creates a debounced function that delays invoking `func` until after `wait`\n * milliseconds have elapsed since the last time the debounced function was\n * invoked. The debounced function comes with a `cancel` method to cancel\n * delayed `func` invocations and a `flush` method to immediately invoke them.\n * Provide `options` to indicate whether `func` should be invoked on the\n * leading and/or trailing edge of the `wait` timeout. The `func` is invoked\n * with the last arguments provided to the debounced function. Subsequent\n * calls to the debounced function return the result of the last `func`\n * invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the debounced function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.debounce` and `_.throttle`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to debounce.\n * @param {number} [wait=0] The number of milliseconds to delay.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=false]\n *  Specify invoking on the leading edge of the timeout.\n * @param {number} [options.maxWait]\n *  The maximum time `func` is allowed to be delayed before it's invoked.\n * @param {boolean} [options.trailing=true]\n *  Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new debounced function.\n * @example\n *\n * // Avoid costly calculations while the window size is in flux.\n * jQuery(window).on('resize', _.debounce(calculateLayout, 150));\n *\n * // Invoke `sendMail` when clicked, debouncing subsequent calls.\n * jQuery(element).on('click', _.debounce(sendMail, 300, {\n *   'leading': true,\n *   'trailing': false\n * }));\n *\n * // Ensure `batchLog` is invoked once after 1 second of debounced calls.\n * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });\n * var source = new EventSource('/stream');\n * jQuery(source).on('message', debounced);\n *\n * // Cancel the trailing debounced invocation.\n * jQuery(window).on('popstate', debounced.cancel);\n */\nfunction debounce(func, wait, options) {\n  var lastArgs,\n      lastThis,\n      maxWait,\n      result,\n      timerId,\n      lastCallTime,\n      lastInvokeTime = 0,\n      leading = false,\n      maxing = false,\n      trailing = true;\n\n  if (typeof func != 'function') {\n    throw new TypeError(FUNC_ERROR_TEXT);\n  }\n  wait = toNumber(wait) || 0;\n  if (isObject(options)) {\n    leading = !!options.leading;\n    maxing = 'maxWait' in options;\n    maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;\n    trailing = 'trailing' in options ? !!options.trailing : trailing;\n  }\n\n  function invokeFunc(time) {\n    var args = lastArgs,\n        thisArg = lastThis;\n\n    lastArgs = lastThis = undefined;\n    lastInvokeTime = time;\n    result = func.apply(thisArg, args);\n    return result;\n  }\n\n  function leadingEdge(time) {\n    // Reset any `maxWait` timer.\n    lastInvokeTime = time;\n    // Start the timer for the trailing edge.\n    timerId = setTimeout(timerExpired, wait);\n    // Invoke the leading edge.\n    return leading ? invokeFunc(time) : result;\n  }\n\n  function remainingWait(time) {\n    var timeSinceLastCall = time - lastCallTime,\n        timeSinceLastInvoke = time - lastInvokeTime,\n        result = wait - timeSinceLastCall;\n\n    return maxing ? nativeMin(result, maxWait - timeSinceLastInvoke) : result;\n  }\n\n  function shouldInvoke(time) {\n    var timeSinceLastCall = time - lastCallTime,\n        timeSinceLastInvoke = time - lastInvokeTime;\n\n    // Either this is the first call, activity has stopped and we're at the\n    // trailing edge, the system time has gone backwards and we're treating\n    // it as the trailing edge, or we've hit the `maxWait` limit.\n    return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||\n      (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));\n  }\n\n  function timerExpired() {\n    var time = now();\n    if (shouldInvoke(time)) {\n      return trailingEdge(time);\n    }\n    // Restart the timer.\n    timerId = setTimeout(timerExpired, remainingWait(time));\n  }\n\n  function trailingEdge(time) {\n    timerId = undefined;\n\n    // Only invoke if we have `lastArgs` which means `func` has been\n    // debounced at least once.\n    if (trailing && lastArgs) {\n      return invokeFunc(time);\n    }\n    lastArgs = lastThis = undefined;\n    return result;\n  }\n\n  function cancel() {\n    if (timerId !== undefined) {\n      clearTimeout(timerId);\n    }\n    lastInvokeTime = 0;\n    lastArgs = lastCallTime = lastThis = timerId = undefined;\n  }\n\n  function flush() {\n    return timerId === undefined ? result : trailingEdge(now());\n  }\n\n  function debounced() {\n    var time = now(),\n        isInvoking = shouldInvoke(time);\n\n    lastArgs = arguments;\n    lastThis = this;\n    lastCallTime = time;\n\n    if (isInvoking) {\n      if (timerId === undefined) {\n        return leadingEdge(lastCallTime);\n      }\n      if (maxing) {\n        // Handle invocations in a tight loop.\n        timerId = setTimeout(timerExpired, wait);\n        return invokeFunc(lastCallTime);\n      }\n    }\n    if (timerId === undefined) {\n      timerId = setTimeout(timerExpired, wait);\n    }\n    return result;\n  }\n  debounced.cancel = cancel;\n  debounced.flush = flush;\n  return debounced;\n}\n\n/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n  var type = typeof value;\n  return !!value && (type == 'object' || type == 'function');\n}\n\n/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n  return !!value && typeof value == 'object';\n}\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol(value) {\n  return typeof value == 'symbol' ||\n    (isObjectLike(value) && objectToString.call(value) == symbolTag);\n}\n\n/**\n * Converts `value` to a number.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n * @example\n *\n * _.toNumber(3.2);\n * // => 3.2\n *\n * _.toNumber(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toNumber(Infinity);\n * // => Infinity\n *\n * _.toNumber('3.2');\n * // => 3.2\n */\nfunction toNumber(value) {\n  if (typeof value == 'number') {\n    return value;\n  }\n  if (isSymbol(value)) {\n    return NAN;\n  }\n  if (isObject(value)) {\n    var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n    value = isObject(other) ? (other + '') : other;\n  }\n  if (typeof value != 'string') {\n    return value === 0 ? value : +value;\n  }\n  value = value.replace(reTrim, '');\n  var isBinary = reIsBinary.test(value);\n  return (isBinary || reIsOctal.test(value))\n    ? freeParseInt(value.slice(2), isBinary ? 2 : 8)\n    : (reIsBadHex.test(value) ? NAN : +value);\n}\n\nmodule.exports = debounce;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/lodash.debounce/index.js\n// module id = 13\n// module chunks = 0","/*\nobject-assign\n(c) Sindre Sorhus\n@license MIT\n*/\n\n'use strict';\n/* eslint-disable no-unused-vars */\nvar getOwnPropertySymbols = Object.getOwnPropertySymbols;\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\nvar propIsEnumerable = Object.prototype.propertyIsEnumerable;\n\nfunction toObject(val) {\n\tif (val === null || val === undefined) {\n\t\tthrow new TypeError('Object.assign cannot be called with null or undefined');\n\t}\n\n\treturn Object(val);\n}\n\nfunction shouldUseNative() {\n\ttry {\n\t\tif (!Object.assign) {\n\t\t\treturn false;\n\t\t}\n\n\t\t// Detect buggy property enumeration order in older V8 versions.\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=4118\n\t\tvar test1 = new String('abc');  // eslint-disable-line no-new-wrappers\n\t\ttest1[5] = 'de';\n\t\tif (Object.getOwnPropertyNames(test1)[0] === '5') {\n\t\t\treturn false;\n\t\t}\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\t\tvar test2 = {};\n\t\tfor (var i = 0; i < 10; i++) {\n\t\t\ttest2['_' + String.fromCharCode(i)] = i;\n\t\t}\n\t\tvar order2 = Object.getOwnPropertyNames(test2).map(function (n) {\n\t\t\treturn test2[n];\n\t\t});\n\t\tif (order2.join('') !== '0123456789') {\n\t\t\treturn false;\n\t\t}\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\t\tvar test3 = {};\n\t\t'abcdefghijklmnopqrst'.split('').forEach(function (letter) {\n\t\t\ttest3[letter] = letter;\n\t\t});\n\t\tif (Object.keys(Object.assign({}, test3)).join('') !==\n\t\t\t\t'abcdefghijklmnopqrst') {\n\t\t\treturn false;\n\t\t}\n\n\t\treturn true;\n\t} catch (err) {\n\t\t// We don't expect any of the above to throw, but better to be safe.\n\t\treturn false;\n\t}\n}\n\nmodule.exports = shouldUseNative() ? Object.assign : function (target, source) {\n\tvar from;\n\tvar to = toObject(target);\n\tvar symbols;\n\n\tfor (var s = 1; s < arguments.length; s++) {\n\t\tfrom = Object(arguments[s]);\n\n\t\tfor (var key in from) {\n\t\t\tif (hasOwnProperty.call(from, key)) {\n\t\t\t\tto[key] = from[key];\n\t\t\t}\n\t\t}\n\n\t\tif (getOwnPropertySymbols) {\n\t\t\tsymbols = getOwnPropertySymbols(from);\n\t\t\tfor (var i = 0; i < symbols.length; i++) {\n\t\t\t\tif (propIsEnumerable.call(from, symbols[i])) {\n\t\t\t\t\tto[symbols[i]] = from[symbols[i]];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\treturn to;\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/object-assign/index.js\n// module id = 14\n// module chunks = 0","/**\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\nif (process.env.NODE_ENV !== 'production') {\n  var invariant = require('fbjs/lib/invariant');\n  var warning = require('fbjs/lib/warning');\n  var ReactPropTypesSecret = require('./lib/ReactPropTypesSecret');\n  var loggedTypeFailures = {};\n}\n\n/**\n * Assert that the values match with the type specs.\n * Error messages are memorized and will only be shown once.\n *\n * @param {object} typeSpecs Map of name to a ReactPropType\n * @param {object} values Runtime values that need to be type-checked\n * @param {string} location e.g. \"prop\", \"context\", \"child context\"\n * @param {string} componentName Name of the component for error messages.\n * @param {?Function} getStack Returns the component stack.\n * @private\n */\nfunction checkPropTypes(typeSpecs, values, location, componentName, getStack) {\n  if (process.env.NODE_ENV !== 'production') {\n    for (var typeSpecName in typeSpecs) {\n      if (typeSpecs.hasOwnProperty(typeSpecName)) {\n        var error;\n        // Prop type validation may throw. In case they do, we don't want to\n        // fail the render phase where it didn't fail before. So we log it.\n        // After these have been cleaned up, we'll let them throw.\n        try {\n          // This is intentionally an invariant that gets caught. It's the same\n          // behavior as without this statement except with a better message.\n          invariant(typeof typeSpecs[typeSpecName] === 'function', '%s: %s type `%s` is invalid; it must be a function, usually from ' + 'the `prop-types` package, but received `%s`.', componentName || 'React class', location, typeSpecName, typeof typeSpecs[typeSpecName]);\n          error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret);\n        } catch (ex) {\n          error = ex;\n        }\n        warning(!error || error instanceof Error, '%s: type specification of %s `%s` is invalid; the type checker ' + 'function must return `null` or an `Error` but returned a %s. ' + 'You may have forgotten to pass an argument to the type checker ' + 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' + 'shape all require an argument).', componentName || 'React class', location, typeSpecName, typeof error);\n        if (error instanceof Error && !(error.message in loggedTypeFailures)) {\n          // Only monitor this failure once because there tends to be a lot of the\n          // same error.\n          loggedTypeFailures[error.message] = true;\n\n          var stack = getStack ? getStack() : '';\n\n          warning(false, 'Failed %s type: %s%s', location, error.message, stack != null ? stack : '');\n        }\n      }\n    }\n  }\n}\n\nmodule.exports = checkPropTypes;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/prop-types/checkPropTypes.js\n// module id = 15\n// module chunks = 0","/**\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 emptyFunction = require('fbjs/lib/emptyFunction');\nvar invariant = require('fbjs/lib/invariant');\nvar ReactPropTypesSecret = require('./lib/ReactPropTypesSecret');\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    invariant(\n      false,\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  };\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    instanceOf: getShim,\n    node: shim,\n    objectOf: getShim,\n    oneOf: getShim,\n    oneOfType: getShim,\n    shape: getShim,\n    exact: getShim\n  };\n\n  ReactPropTypes.checkPropTypes = emptyFunction;\n  ReactPropTypes.PropTypes = ReactPropTypes;\n\n  return ReactPropTypes;\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/prop-types/factoryWithThrowingShims.js\n// module id = 16\n// module chunks = 0","/**\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 emptyFunction = require('fbjs/lib/emptyFunction');\nvar invariant = require('fbjs/lib/invariant');\nvar warning = require('fbjs/lib/warning');\nvar assign = require('object-assign');\n\nvar ReactPropTypesSecret = require('./lib/ReactPropTypesSecret');\nvar checkPropTypes = require('./checkPropTypes');\n\nmodule.exports = function(isValidElement, throwOnDirectAccess) {\n  /* global Symbol */\n  var ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;\n  var FAUX_ITERATOR_SYMBOL = '@@iterator'; // Before Symbol spec.\n\n  /**\n   * Returns the iterator method function contained on the iterable object.\n   *\n   * Be sure to invoke the function with the iterable as context:\n   *\n   *     var iteratorFn = getIteratorFn(myIterable);\n   *     if (iteratorFn) {\n   *       var iterator = iteratorFn.call(myIterable);\n   *       ...\n   *     }\n   *\n   * @param {?object} maybeIterable\n   * @return {?function}\n   */\n  function getIteratorFn(maybeIterable) {\n    var iteratorFn = maybeIterable && (ITERATOR_SYMBOL && maybeIterable[ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]);\n    if (typeof iteratorFn === 'function') {\n      return iteratorFn;\n    }\n  }\n\n  /**\n   * Collection of methods that allow declaration and validation of props that are\n   * supplied to React components. Example usage:\n   *\n   *   var Props = require('ReactPropTypes');\n   *   var MyArticle = React.createClass({\n   *     propTypes: {\n   *       // An optional string prop named \"description\".\n   *       description: Props.string,\n   *\n   *       // A required enum prop named \"category\".\n   *       category: Props.oneOf(['News','Photos']).isRequired,\n   *\n   *       // A prop named \"dialog\" that requires an instance of Dialog.\n   *       dialog: Props.instanceOf(Dialog).isRequired\n   *     },\n   *     render: function() { ... }\n   *   });\n   *\n   * A more formal specification of how these methods are used:\n   *\n   *   type := array|bool|func|object|number|string|oneOf([...])|instanceOf(...)\n   *   decl := ReactPropTypes.{type}(.isRequired)?\n   *\n   * Each and every declaration produces a function with the same signature. This\n   * allows the creation of custom validation functions. For example:\n   *\n   *  var MyLink = React.createClass({\n   *    propTypes: {\n   *      // An optional string or URI prop named \"href\".\n   *      href: function(props, propName, componentName) {\n   *        var propValue = props[propName];\n   *        if (propValue != null && typeof propValue !== 'string' &&\n   *            !(propValue instanceof URI)) {\n   *          return new Error(\n   *            'Expected a string or an URI for ' + propName + ' in ' +\n   *            componentName\n   *          );\n   *        }\n   *      }\n   *    },\n   *    render: function() {...}\n   *  });\n   *\n   * @internal\n   */\n\n  var ANONYMOUS = '<<anonymous>>';\n\n  // Important!\n  // Keep this list in sync with production version in `./factoryWithThrowingShims.js`.\n  var ReactPropTypes = {\n    array: createPrimitiveTypeChecker('array'),\n    bool: createPrimitiveTypeChecker('boolean'),\n    func: createPrimitiveTypeChecker('function'),\n    number: createPrimitiveTypeChecker('number'),\n    object: createPrimitiveTypeChecker('object'),\n    string: createPrimitiveTypeChecker('string'),\n    symbol: createPrimitiveTypeChecker('symbol'),\n\n    any: createAnyTypeChecker(),\n    arrayOf: createArrayOfTypeChecker,\n    element: createElementTypeChecker(),\n    instanceOf: createInstanceTypeChecker,\n    node: createNodeChecker(),\n    objectOf: createObjectOfTypeChecker,\n    oneOf: createEnumTypeChecker,\n    oneOfType: createUnionTypeChecker,\n    shape: createShapeTypeChecker,\n    exact: createStrictShapeTypeChecker,\n  };\n\n  /**\n   * inlined Object.is polyfill to avoid requiring consumers ship their own\n   * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is\n   */\n  /*eslint-disable no-self-compare*/\n  function is(x, y) {\n    // SameValue algorithm\n    if (x === y) {\n      // Steps 1-5, 7-10\n      // Steps 6.b-6.e: +0 != -0\n      return x !== 0 || 1 / x === 1 / y;\n    } else {\n      // Step 6.a: NaN == NaN\n      return x !== x && y !== y;\n    }\n  }\n  /*eslint-enable no-self-compare*/\n\n  /**\n   * We use an Error-like object for backward compatibility as people may call\n   * PropTypes directly and inspect their output. However, we don't use real\n   * Errors anymore. We don't inspect their stack anyway, and creating them\n   * is prohibitively expensive if they are created too often, such as what\n   * happens in oneOfType() for any type before the one that matched.\n   */\n  function PropTypeError(message) {\n    this.message = message;\n    this.stack = '';\n  }\n  // Make `instanceof Error` still work for returned errors.\n  PropTypeError.prototype = Error.prototype;\n\n  function createChainableTypeChecker(validate) {\n    if (process.env.NODE_ENV !== 'production') {\n      var manualPropTypeCallCache = {};\n      var manualPropTypeWarningCount = 0;\n    }\n    function checkType(isRequired, props, propName, componentName, location, propFullName, secret) {\n      componentName = componentName || ANONYMOUS;\n      propFullName = propFullName || propName;\n\n      if (secret !== ReactPropTypesSecret) {\n        if (throwOnDirectAccess) {\n          // New behavior only for users of `prop-types` package\n          invariant(\n            false,\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        } else if (process.env.NODE_ENV !== 'production' && typeof console !== 'undefined') {\n          // Old behavior for people using React.PropTypes\n          var cacheKey = componentName + ':' + propName;\n          if (\n            !manualPropTypeCallCache[cacheKey] &&\n            // Avoid spamming the console because they are often not actionable except for lib authors\n            manualPropTypeWarningCount < 3\n          ) {\n            warning(\n              false,\n              'You are manually calling a React.PropTypes validation ' +\n              'function for the `%s` prop on `%s`. This is deprecated ' +\n              'and will throw in the standalone `prop-types` package. ' +\n              'You may be seeing this warning due to a third-party PropTypes ' +\n              'library. See https://fb.me/react-warning-dont-call-proptypes ' + 'for details.',\n              propFullName,\n              componentName\n            );\n            manualPropTypeCallCache[cacheKey] = true;\n            manualPropTypeWarningCount++;\n          }\n        }\n      }\n      if (props[propName] == null) {\n        if (isRequired) {\n          if (props[propName] === null) {\n            return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required ' + ('in `' + componentName + '`, but its value is `null`.'));\n          }\n          return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required in ' + ('`' + componentName + '`, but its value is `undefined`.'));\n        }\n        return null;\n      } else {\n        return validate(props, propName, componentName, location, propFullName);\n      }\n    }\n\n    var chainedCheckType = checkType.bind(null, false);\n    chainedCheckType.isRequired = checkType.bind(null, true);\n\n    return chainedCheckType;\n  }\n\n  function createPrimitiveTypeChecker(expectedType) {\n    function validate(props, propName, componentName, location, propFullName, secret) {\n      var propValue = props[propName];\n      var propType = getPropType(propValue);\n      if (propType !== expectedType) {\n        // `propValue` being instance of, say, date/regexp, pass the 'object'\n        // check, but we can offer a more precise error message here rather than\n        // 'of type `object`'.\n        var preciseType = getPreciseType(propValue);\n\n        return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + preciseType + '` supplied to `' + componentName + '`, expected ') + ('`' + expectedType + '`.'));\n      }\n      return null;\n    }\n    return createChainableTypeChecker(validate);\n  }\n\n  function createAnyTypeChecker() {\n    return createChainableTypeChecker(emptyFunction.thatReturnsNull);\n  }\n\n  function createArrayOfTypeChecker(typeChecker) {\n    function validate(props, propName, componentName, location, propFullName) {\n      if (typeof typeChecker !== 'function') {\n        return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside arrayOf.');\n      }\n      var propValue = props[propName];\n      if (!Array.isArray(propValue)) {\n        var propType = getPropType(propValue);\n        return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an array.'));\n      }\n      for (var i = 0; i < propValue.length; i++) {\n        var error = typeChecker(propValue, i, componentName, location, propFullName + '[' + i + ']', ReactPropTypesSecret);\n        if (error instanceof Error) {\n          return error;\n        }\n      }\n      return null;\n    }\n    return createChainableTypeChecker(validate);\n  }\n\n  function createElementTypeChecker() {\n    function validate(props, propName, componentName, location, propFullName) {\n      var propValue = props[propName];\n      if (!isValidElement(propValue)) {\n        var propType = getPropType(propValue);\n        return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement.'));\n      }\n      return null;\n    }\n    return createChainableTypeChecker(validate);\n  }\n\n  function createInstanceTypeChecker(expectedClass) {\n    function validate(props, propName, componentName, location, propFullName) {\n      if (!(props[propName] instanceof expectedClass)) {\n        var expectedClassName = expectedClass.name || ANONYMOUS;\n        var actualClassName = getClassName(props[propName]);\n        return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + actualClassName + '` supplied to `' + componentName + '`, expected ') + ('instance of `' + expectedClassName + '`.'));\n      }\n      return null;\n    }\n    return createChainableTypeChecker(validate);\n  }\n\n  function createEnumTypeChecker(expectedValues) {\n    if (!Array.isArray(expectedValues)) {\n      process.env.NODE_ENV !== 'production' ? warning(false, 'Invalid argument supplied to oneOf, expected an instance of array.') : void 0;\n      return emptyFunction.thatReturnsNull;\n    }\n\n    function validate(props, propName, componentName, location, propFullName) {\n      var propValue = props[propName];\n      for (var i = 0; i < expectedValues.length; i++) {\n        if (is(propValue, expectedValues[i])) {\n          return null;\n        }\n      }\n\n      var valuesString = JSON.stringify(expectedValues);\n      return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of value `' + propValue + '` ' + ('supplied to `' + componentName + '`, expected one of ' + valuesString + '.'));\n    }\n    return createChainableTypeChecker(validate);\n  }\n\n  function createObjectOfTypeChecker(typeChecker) {\n    function validate(props, propName, componentName, location, propFullName) {\n      if (typeof typeChecker !== 'function') {\n        return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside objectOf.');\n      }\n      var propValue = props[propName];\n      var propType = getPropType(propValue);\n      if (propType !== 'object') {\n        return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an object.'));\n      }\n      for (var key in propValue) {\n        if (propValue.hasOwnProperty(key)) {\n          var error = typeChecker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);\n          if (error instanceof Error) {\n            return error;\n          }\n        }\n      }\n      return null;\n    }\n    return createChainableTypeChecker(validate);\n  }\n\n  function createUnionTypeChecker(arrayOfTypeCheckers) {\n    if (!Array.isArray(arrayOfTypeCheckers)) {\n      process.env.NODE_ENV !== 'production' ? warning(false, 'Invalid argument supplied to oneOfType, expected an instance of array.') : void 0;\n      return emptyFunction.thatReturnsNull;\n    }\n\n    for (var i = 0; i < arrayOfTypeCheckers.length; i++) {\n      var checker = arrayOfTypeCheckers[i];\n      if (typeof checker !== 'function') {\n        warning(\n          false,\n          'Invalid argument supplied to oneOfType. Expected an array of check functions, but ' +\n          'received %s at index %s.',\n          getPostfixForTypeWarning(checker),\n          i\n        );\n        return emptyFunction.thatReturnsNull;\n      }\n    }\n\n    function validate(props, propName, componentName, location, propFullName) {\n      for (var i = 0; i < arrayOfTypeCheckers.length; i++) {\n        var checker = arrayOfTypeCheckers[i];\n        if (checker(props, propName, componentName, location, propFullName, ReactPropTypesSecret) == null) {\n          return null;\n        }\n      }\n\n      return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`.'));\n    }\n    return createChainableTypeChecker(validate);\n  }\n\n  function createNodeChecker() {\n    function validate(props, propName, componentName, location, propFullName) {\n      if (!isNode(props[propName])) {\n        return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`, expected a ReactNode.'));\n      }\n      return null;\n    }\n    return createChainableTypeChecker(validate);\n  }\n\n  function createShapeTypeChecker(shapeTypes) {\n    function validate(props, propName, componentName, location, propFullName) {\n      var propValue = props[propName];\n      var propType = getPropType(propValue);\n      if (propType !== 'object') {\n        return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));\n      }\n      for (var key in shapeTypes) {\n        var checker = shapeTypes[key];\n        if (!checker) {\n          continue;\n        }\n        var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);\n        if (error) {\n          return error;\n        }\n      }\n      return null;\n    }\n    return createChainableTypeChecker(validate);\n  }\n\n  function createStrictShapeTypeChecker(shapeTypes) {\n    function validate(props, propName, componentName, location, propFullName) {\n      var propValue = props[propName];\n      var propType = getPropType(propValue);\n      if (propType !== 'object') {\n        return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));\n      }\n      // We need to check all keys in case some are required but missing from\n      // props.\n      var allKeys = assign({}, props[propName], shapeTypes);\n      for (var key in allKeys) {\n        var checker = shapeTypes[key];\n        if (!checker) {\n          return new PropTypeError(\n            'Invalid ' + location + ' `' + propFullName + '` key `' + key + '` supplied to `' + componentName + '`.' +\n            '\\nBad object: ' + JSON.stringify(props[propName], null, '  ') +\n            '\\nValid keys: ' +  JSON.stringify(Object.keys(shapeTypes), null, '  ')\n          );\n        }\n        var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);\n        if (error) {\n          return error;\n        }\n      }\n      return null;\n    }\n\n    return createChainableTypeChecker(validate);\n  }\n\n  function isNode(propValue) {\n    switch (typeof propValue) {\n      case 'number':\n      case 'string':\n      case 'undefined':\n        return true;\n      case 'boolean':\n        return !propValue;\n      case 'object':\n        if (Array.isArray(propValue)) {\n          return propValue.every(isNode);\n        }\n        if (propValue === null || isValidElement(propValue)) {\n          return true;\n        }\n\n        var iteratorFn = getIteratorFn(propValue);\n        if (iteratorFn) {\n          var iterator = iteratorFn.call(propValue);\n          var step;\n          if (iteratorFn !== propValue.entries) {\n            while (!(step = iterator.next()).done) {\n              if (!isNode(step.value)) {\n                return false;\n              }\n            }\n          } else {\n            // Iterator will provide entry [k,v] tuples rather than values.\n            while (!(step = iterator.next()).done) {\n              var entry = step.value;\n              if (entry) {\n                if (!isNode(entry[1])) {\n                  return false;\n                }\n              }\n            }\n          }\n        } else {\n          return false;\n        }\n\n        return true;\n      default:\n        return false;\n    }\n  }\n\n  function isSymbol(propType, propValue) {\n    // Native Symbol.\n    if (propType === 'symbol') {\n      return true;\n    }\n\n    // 19.4.3.5 Symbol.prototype[@@toStringTag] === 'Symbol'\n    if (propValue['@@toStringTag'] === 'Symbol') {\n      return true;\n    }\n\n    // Fallback for non-spec compliant Symbols which are polyfilled.\n    if (typeof Symbol === 'function' && propValue instanceof Symbol) {\n      return true;\n    }\n\n    return false;\n  }\n\n  // Equivalent of `typeof` but with special handling for array and regexp.\n  function getPropType(propValue) {\n    var propType = typeof propValue;\n    if (Array.isArray(propValue)) {\n      return 'array';\n    }\n    if (propValue instanceof RegExp) {\n      // Old webkits (at least until Android 4.0) return 'function' rather than\n      // 'object' for typeof a RegExp. We'll normalize this here so that /bla/\n      // passes PropTypes.object.\n      return 'object';\n    }\n    if (isSymbol(propType, propValue)) {\n      return 'symbol';\n    }\n    return propType;\n  }\n\n  // This handles more types than `getPropType`. Only used for error messages.\n  // See `createPrimitiveTypeChecker`.\n  function getPreciseType(propValue) {\n    if (typeof propValue === 'undefined' || propValue === null) {\n      return '' + propValue;\n    }\n    var propType = getPropType(propValue);\n    if (propType === 'object') {\n      if (propValue instanceof Date) {\n        return 'date';\n      } else if (propValue instanceof RegExp) {\n        return 'regexp';\n      }\n    }\n    return propType;\n  }\n\n  // Returns a string that is postfixed to a warning about an invalid type.\n  // For example, \"undefined\" or \"of type array\"\n  function getPostfixForTypeWarning(value) {\n    var type = getPreciseType(value);\n    switch (type) {\n      case 'array':\n      case 'object':\n        return 'an ' + type;\n      case 'boolean':\n      case 'date':\n      case 'regexp':\n        return 'a ' + type;\n      default:\n        return type;\n    }\n  }\n\n  // Returns class name of the object, if any.\n  function getClassName(propValue) {\n    if (!propValue.constructor || !propValue.constructor.name) {\n      return ANONYMOUS;\n    }\n    return propValue.constructor.name;\n  }\n\n  ReactPropTypes.checkPropTypes = checkPropTypes;\n  ReactPropTypes.PropTypes = ReactPropTypes;\n\n  return ReactPropTypes;\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/prop-types/factoryWithTypeCheckers.js\n// module id = 17\n// module chunks = 0","/**\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 REACT_ELEMENT_TYPE = (typeof Symbol === 'function' &&\n    Symbol.for &&\n    Symbol.for('react.element')) ||\n    0xeac7;\n\n  var isValidElement = function(object) {\n    return typeof object === 'object' &&\n      object !== null &&\n      object.$$typeof === REACT_ELEMENT_TYPE;\n  };\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')(isValidElement, 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\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/prop-types/index.js\n// module id = 18\n// module chunks = 0","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _react = require('react');\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _withContentRect = require('./with-content-rect');\n\nvar _withContentRect2 = _interopRequireDefault(_withContentRect);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction Measure(_ref) {\n  var measure = _ref.measure,\n      measureRef = _ref.measureRef,\n      contentRect = _ref.contentRect,\n      children = _ref.children;\n\n  return children({ measure: measure, measureRef: measureRef, contentRect: contentRect });\n}\n\nexports.default = (0, _withContentRect2.default)()(Measure);\nmodule.exports = exports['default'];\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-measure/lib/Measure.js\n// module id = 19\n// module chunks = 0","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\nfunction getContentRect(node, types) {\n  var calculations = {};\n\n  if (types.indexOf('client') > -1) {\n    calculations.client = {\n      top: node.clientTop,\n      left: node.clientLeft,\n      width: node.clientWidth,\n      height: node.clientHeight\n    };\n  }\n\n  if (types.indexOf('offset') > -1) {\n    calculations.offset = {\n      top: node.offsetTop,\n      left: node.offsetLeft,\n      width: node.offsetWidth,\n      height: node.offsetHeight\n    };\n  }\n\n  if (types.indexOf('scroll') > -1) {\n    calculations.scroll = {\n      top: node.scrollTop,\n      left: node.scrollLeft,\n      width: node.scrollWidth,\n      height: node.scrollHeight\n    };\n  }\n\n  if (types.indexOf('bounds') > -1) {\n    var rect = node.getBoundingClientRect();\n    calculations.bounds = {\n      top: rect.top,\n      right: rect.right,\n      bottom: rect.bottom,\n      left: rect.left,\n      width: rect.width,\n      height: rect.height\n    };\n  }\n\n  if (types.indexOf('margin') > -1) {\n    var styles = getComputedStyle(node);\n    calculations.margin = {\n      top: parseInt(styles.marginTop),\n      right: parseInt(styles.marginRight),\n      bottom: parseInt(styles.marginBottom),\n      left: parseInt(styles.marginLeft)\n    };\n  }\n\n  return calculations;\n}\n\nexports.default = getContentRect;\nmodule.exports = exports['default'];\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-measure/lib/get-content-rect.js\n// module id = 20\n// module chunks = 0","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\nexports.default = getTypes;\nvar types = ['client', 'offset', 'scroll', 'bounds', 'margin'];\n\nfunction getTypes(props) {\n  var allowedTypes = [];\n  types.forEach(function (type) {\n    if (props[type]) {\n      allowedTypes.push(type);\n    }\n  });\n  return allowedTypes;\n}\nmodule.exports = exports['default'];\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-measure/lib/get-types.js\n// module id = 21\n// module chunks = 0","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\nexports.withContentRect = exports.default = undefined;\n\nvar _Measure = require('./Measure');\n\nvar _Measure2 = _interopRequireDefault(_Measure);\n\nvar _withContentRect = require('./with-content-rect');\n\nvar _withContentRect2 = _interopRequireDefault(_withContentRect);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = _Measure2.default;\nexports.withContentRect = _withContentRect2.default;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/react-measure/lib/react-measure.js\n// module id = 22\n// module chunks = 0","(function (global, factory) {\n\ttypeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :\n\ttypeof define === 'function' && define.amd ? define(factory) :\n\t(global.ResizeObserver = factory());\n}(this, (function () { 'use strict';\n\n/**\r\n * A collection of shims that provide minimal functionality of the ES6 collections.\r\n *\r\n * These implementations are not meant to be used outside of the ResizeObserver\r\n * modules as they cover only a limited range of use cases.\r\n */\n/* eslint-disable require-jsdoc, valid-jsdoc */\nvar MapShim = (function () {\n    if (typeof Map !== 'undefined') {\n        return Map;\n    }\n\n    /**\r\n     * Returns index in provided array that matches the specified key.\r\n     *\r\n     * @param {Array<Array>} arr\r\n     * @param {*} key\r\n     * @returns {number}\r\n     */\n    function getIndex(arr, key) {\n        var result = -1;\n\n        arr.some(function (entry, index) {\n            if (entry[0] === key) {\n                result = index;\n\n                return true;\n            }\n\n            return false;\n        });\n\n        return result;\n    }\n\n    return (function () {\n        function anonymous() {\n            this.__entries__ = [];\n        }\n\n        var prototypeAccessors = { size: { configurable: true } };\n\n        /**\r\n         * @returns {boolean}\r\n         */\n        prototypeAccessors.size.get = function () {\n            return this.__entries__.length;\n        };\n\n        /**\r\n         * @param {*} key\r\n         * @returns {*}\r\n         */\n        anonymous.prototype.get = function (key) {\n            var index = getIndex(this.__entries__, key);\n            var entry = this.__entries__[index];\n\n            return entry && entry[1];\n        };\n\n        /**\r\n         * @param {*} key\r\n         * @param {*} value\r\n         * @returns {void}\r\n         */\n        anonymous.prototype.set = function (key, value) {\n            var index = getIndex(this.__entries__, key);\n\n            if (~index) {\n                this.__entries__[index][1] = value;\n            } else {\n                this.__entries__.push([key, value]);\n            }\n        };\n\n        /**\r\n         * @param {*} key\r\n         * @returns {void}\r\n         */\n        anonymous.prototype.delete = function (key) {\n            var entries = this.__entries__;\n            var index = getIndex(entries, key);\n\n            if (~index) {\n                entries.splice(index, 1);\n            }\n        };\n\n        /**\r\n         * @param {*} key\r\n         * @returns {void}\r\n         */\n        anonymous.prototype.has = function (key) {\n            return !!~getIndex(this.__entries__, key);\n        };\n\n        /**\r\n         * @returns {void}\r\n         */\n        anonymous.prototype.clear = function () {\n            this.__entries__.splice(0);\n        };\n\n        /**\r\n         * @param {Function} callback\r\n         * @param {*} [ctx=null]\r\n         * @returns {void}\r\n         */\n        anonymous.prototype.forEach = function (callback, ctx) {\n            var this$1 = this;\n            if ( ctx === void 0 ) ctx = null;\n\n            for (var i = 0, list = this$1.__entries__; i < list.length; i += 1) {\n                var entry = list[i];\n\n                callback.call(ctx, entry[1], entry[0]);\n            }\n        };\n\n        Object.defineProperties( anonymous.prototype, prototypeAccessors );\n\n        return anonymous;\n    }());\n})();\n\n/**\r\n * Detects whether window and document objects are available in current environment.\r\n */\nvar isBrowser = typeof window !== 'undefined' && typeof document !== 'undefined' && window.document === document;\n\n// Returns global object of a current environment.\nvar global$1 = (function () {\n    if (typeof global !== 'undefined' && global.Math === Math) {\n        return global;\n    }\n\n    if (typeof self !== 'undefined' && self.Math === Math) {\n        return self;\n    }\n\n    if (typeof window !== 'undefined' && window.Math === Math) {\n        return window;\n    }\n\n    // eslint-disable-next-line no-new-func\n    return Function('return this')();\n})();\n\n/**\r\n * A shim for the requestAnimationFrame which falls back to the setTimeout if\r\n * first one is not supported.\r\n *\r\n * @returns {number} Requests' identifier.\r\n */\nvar requestAnimationFrame$1 = (function () {\n    if (typeof requestAnimationFrame === 'function') {\n        // It's required to use a bounded function because IE sometimes throws\n        // an \"Invalid calling object\" error if rAF is invoked without the global\n        // object on the left hand side.\n        return requestAnimationFrame.bind(global$1);\n    }\n\n    return function (callback) { return setTimeout(function () { return callback(Date.now()); }, 1000 / 60); };\n})();\n\n// Defines minimum timeout before adding a trailing call.\nvar trailingTimeout = 2;\n\n/**\r\n * Creates a wrapper function which ensures that provided callback will be\r\n * invoked only once during the specified delay period.\r\n *\r\n * @param {Function} callback - Function to be invoked after the delay period.\r\n * @param {number} delay - Delay after which to invoke callback.\r\n * @returns {Function}\r\n */\nvar throttle = function (callback, delay) {\n    var leadingCall = false,\n        trailingCall = false,\n        lastCallTime = 0;\n\n    /**\r\n     * Invokes the original callback function and schedules new invocation if\r\n     * the \"proxy\" was called during current request.\r\n     *\r\n     * @returns {void}\r\n     */\n    function resolvePending() {\n        if (leadingCall) {\n            leadingCall = false;\n\n            callback();\n        }\n\n        if (trailingCall) {\n            proxy();\n        }\n    }\n\n    /**\r\n     * Callback invoked after the specified delay. It will further postpone\r\n     * invocation of the original function delegating it to the\r\n     * requestAnimationFrame.\r\n     *\r\n     * @returns {void}\r\n     */\n    function timeoutCallback() {\n        requestAnimationFrame$1(resolvePending);\n    }\n\n    /**\r\n     * Schedules invocation of the original function.\r\n     *\r\n     * @returns {void}\r\n     */\n    function proxy() {\n        var timeStamp = Date.now();\n\n        if (leadingCall) {\n            // Reject immediately following calls.\n            if (timeStamp - lastCallTime < trailingTimeout) {\n                return;\n            }\n\n            // Schedule new call to be in invoked when the pending one is resolved.\n            // This is important for \"transitions\" which never actually start\n            // immediately so there is a chance that we might miss one if change\n            // happens amids the pending invocation.\n            trailingCall = true;\n        } else {\n            leadingCall = true;\n            trailingCall = false;\n\n            setTimeout(timeoutCallback, delay);\n        }\n\n        lastCallTime = timeStamp;\n    }\n\n    return proxy;\n};\n\n// Minimum delay before invoking the update of observers.\nvar REFRESH_DELAY = 20;\n\n// A list of substrings of CSS properties used to find transition events that\n// might affect dimensions of observed elements.\nvar transitionKeys = ['top', 'right', 'bottom', 'left', 'width', 'height', 'size', 'weight'];\n\n// Check if MutationObserver is available.\nvar mutationObserverSupported = typeof MutationObserver !== 'undefined';\n\n/**\r\n * Singleton controller class which handles updates of ResizeObserver instances.\r\n */\nvar ResizeObserverController = function() {\n    this.connected_ = false;\n    this.mutationEventsAdded_ = false;\n    this.mutationsObserver_ = null;\n    this.observers_ = [];\n\n    this.onTransitionEnd_ = this.onTransitionEnd_.bind(this);\n    this.refresh = throttle(this.refresh.bind(this), REFRESH_DELAY);\n};\n\n/**\r\n * Adds observer to observers list.\r\n *\r\n * @param {ResizeObserverSPI} observer - Observer to be added.\r\n * @returns {void}\r\n */\n\n\n/**\r\n * Holds reference to the controller's instance.\r\n *\r\n * @private {ResizeObserverController}\r\n */\n\n\n/**\r\n * Keeps reference to the instance of MutationObserver.\r\n *\r\n * @private {MutationObserver}\r\n */\n\n/**\r\n * Indicates whether DOM listeners have been added.\r\n *\r\n * @private {boolean}\r\n */\nResizeObserverController.prototype.addObserver = function (observer) {\n    if (!~this.observers_.indexOf(observer)) {\n        this.observers_.push(observer);\n    }\n\n    // Add listeners if they haven't been added yet.\n    if (!this.connected_) {\n        this.connect_();\n    }\n};\n\n/**\r\n * Removes observer from observers list.\r\n *\r\n * @param {ResizeObserverSPI} observer - Observer to be removed.\r\n * @returns {void}\r\n */\nResizeObserverController.prototype.removeObserver = function (observer) {\n    var observers = this.observers_;\n    var index = observers.indexOf(observer);\n\n    // Remove observer if it's present in registry.\n    if (~index) {\n        observers.splice(index, 1);\n    }\n\n    // Remove listeners if controller has no connected observers.\n    if (!observers.length && this.connected_) {\n        this.disconnect_();\n    }\n};\n\n/**\r\n * Invokes the update of observers. It will continue running updates insofar\r\n * it detects changes.\r\n *\r\n * @returns {void}\r\n */\nResizeObserverController.prototype.refresh = function () {\n    var changesDetected = this.updateObservers_();\n\n    // Continue running updates if changes have been detected as there might\n    // be future ones caused by CSS transitions.\n    if (changesDetected) {\n        this.refresh();\n    }\n};\n\n/**\r\n * Updates every observer from observers list and notifies them of queued\r\n * entries.\r\n *\r\n * @private\r\n * @returns {boolean} Returns \"true\" if any observer has detected changes in\r\n *  dimensions of it's elements.\r\n */\nResizeObserverController.prototype.updateObservers_ = function () {\n    // Collect observers that have active observations.\n    var activeObservers = this.observers_.filter(function (observer) {\n        return observer.gatherActive(), observer.hasActive();\n    });\n\n    // Deliver notifications in a separate cycle in order to avoid any\n    // collisions between observers, e.g. when multiple instances of\n    // ResizeObserver are tracking the same element and the callback of one\n    // of them changes content dimensions of the observed target. Sometimes\n    // this may result in notifications being blocked for the rest of observers.\n    activeObservers.forEach(function (observer) { return observer.broadcastActive(); });\n\n    return activeObservers.length > 0;\n};\n\n/**\r\n * Initializes DOM listeners.\r\n *\r\n * @private\r\n * @returns {void}\r\n */\nResizeObserverController.prototype.connect_ = function () {\n    // Do nothing if running in a non-browser environment or if listeners\n    // have been already added.\n    if (!isBrowser || this.connected_) {\n        return;\n    }\n\n    // Subscription to the \"Transitionend\" event is used as a workaround for\n    // delayed transitions. This way it's possible to capture at least the\n    // final state of an element.\n    document.addEventListener('transitionend', this.onTransitionEnd_);\n\n    window.addEventListener('resize', this.refresh);\n\n    if (mutationObserverSupported) {\n        this.mutationsObserver_ = new MutationObserver(this.refresh);\n\n        this.mutationsObserver_.observe(document, {\n            attributes: true,\n            childList: true,\n            characterData: true,\n            subtree: true\n        });\n    } else {\n        document.addEventListener('DOMSubtreeModified', this.refresh);\n\n        this.mutationEventsAdded_ = true;\n    }\n\n    this.connected_ = true;\n};\n\n/**\r\n * Removes DOM listeners.\r\n *\r\n * @private\r\n * @returns {void}\r\n */\nResizeObserverController.prototype.disconnect_ = function () {\n    // Do nothing if running in a non-browser environment or if listeners\n    // have been already removed.\n    if (!isBrowser || !this.connected_) {\n        return;\n    }\n\n    document.removeEventListener('transitionend', this.onTransitionEnd_);\n    window.removeEventListener('resize', this.refresh);\n\n    if (this.mutationsObserver_) {\n        this.mutationsObserver_.disconnect();\n    }\n\n    if (this.mutationEventsAdded_) {\n        document.removeEventListener('DOMSubtreeModified', this.refresh);\n    }\n\n    this.mutationsObserver_ = null;\n    this.mutationEventsAdded_ = false;\n    this.connected_ = false;\n};\n\n/**\r\n * \"Transitionend\" event handler.\r\n *\r\n * @private\r\n * @param {TransitionEvent} event\r\n * @returns {void}\r\n */\nResizeObserverController.prototype.onTransitionEnd_ = function (ref) {\n        var propertyName = ref.propertyName; if ( propertyName === void 0 ) propertyName = '';\n\n    // Detect whether transition may affect dimensions of an element.\n    var isReflowProperty = transitionKeys.some(function (key) {\n        return !!~propertyName.indexOf(key);\n    });\n\n    if (isReflowProperty) {\n        this.refresh();\n    }\n};\n\n/**\r\n * Returns instance of the ResizeObserverController.\r\n *\r\n * @returns {ResizeObserverController}\r\n */\nResizeObserverController.getInstance = function () {\n    if (!this.instance_) {\n        this.instance_ = new ResizeObserverController();\n    }\n\n    return this.instance_;\n};\n\nResizeObserverController.instance_ = null;\n\n/**\r\n * Defines non-writable/enumerable properties of the provided target object.\r\n *\r\n * @param {Object} target - Object for which to define properties.\r\n * @param {Object} props - Properties to be defined.\r\n * @returns {Object} Target object.\r\n */\nvar defineConfigurable = (function (target, props) {\n    for (var i = 0, list = Object.keys(props); i < list.length; i += 1) {\n        var key = list[i];\n\n        Object.defineProperty(target, key, {\n            value: props[key],\n            enumerable: false,\n            writable: false,\n            configurable: true\n        });\n    }\n\n    return target;\n});\n\n/**\r\n * Returns the global object associated with provided element.\r\n *\r\n * @param {Object} target\r\n * @returns {Object}\r\n */\nvar getWindowOf = (function (target) {\n    // Assume that the element is an instance of Node, which means that it\n    // has the \"ownerDocument\" property from which we can retrieve a\n    // corresponding global object.\n    var ownerGlobal = target && target.ownerDocument && target.ownerDocument.defaultView;\n\n    // Return the local global object if it's not possible extract one from\n    // provided element.\n    return ownerGlobal || global$1;\n});\n\n// Placeholder of an empty content rectangle.\nvar emptyRect = createRectInit(0, 0, 0, 0);\n\n/**\r\n * Converts provided string to a number.\r\n *\r\n * @param {number|string} value\r\n * @returns {number}\r\n */\nfunction toFloat(value) {\n    return parseFloat(value) || 0;\n}\n\n/**\r\n * Extracts borders size from provided styles.\r\n *\r\n * @param {CSSStyleDeclaration} styles\r\n * @param {...string} positions - Borders positions (top, right, ...)\r\n * @returns {number}\r\n */\nfunction getBordersSize(styles) {\n    var positions = [], len = arguments.length - 1;\n    while ( len-- > 0 ) positions[ len ] = arguments[ len + 1 ];\n\n    return positions.reduce(function (size, position) {\n        var value = styles['border-' + position + '-width'];\n\n        return size + toFloat(value);\n    }, 0);\n}\n\n/**\r\n * Extracts paddings sizes from provided styles.\r\n *\r\n * @param {CSSStyleDeclaration} styles\r\n * @returns {Object} Paddings box.\r\n */\nfunction getPaddings(styles) {\n    var positions = ['top', 'right', 'bottom', 'left'];\n    var paddings = {};\n\n    for (var i = 0, list = positions; i < list.length; i += 1) {\n        var position = list[i];\n\n        var value = styles['padding-' + position];\n\n        paddings[position] = toFloat(value);\n    }\n\n    return paddings;\n}\n\n/**\r\n * Calculates content rectangle of provided SVG element.\r\n *\r\n * @param {SVGGraphicsElement} target - Element content rectangle of which needs\r\n *      to be calculated.\r\n * @returns {DOMRectInit}\r\n */\nfunction getSVGContentRect(target) {\n    var bbox = target.getBBox();\n\n    return createRectInit(0, 0, bbox.width, bbox.height);\n}\n\n/**\r\n * Calculates content rectangle of provided HTMLElement.\r\n *\r\n * @param {HTMLElement} target - Element for which to calculate the content rectangle.\r\n * @returns {DOMRectInit}\r\n */\nfunction getHTMLElementContentRect(target) {\n    // Client width & height properties can't be\n    // used exclusively as they provide rounded values.\n    var clientWidth = target.clientWidth;\n    var clientHeight = target.clientHeight;\n\n    // By this condition we can catch all non-replaced inline, hidden and\n    // detached elements. Though elements with width & height properties less\n    // than 0.5 will be discarded as well.\n    //\n    // Without it we would need to implement separate methods for each of\n    // those cases and it's not possible to perform a precise and performance\n    // effective test for hidden elements. E.g. even jQuery's ':visible' filter\n    // gives wrong results for elements with width & height less than 0.5.\n    if (!clientWidth && !clientHeight) {\n        return emptyRect;\n    }\n\n    var styles = getWindowOf(target).getComputedStyle(target);\n    var paddings = getPaddings(styles);\n    var horizPad = paddings.left + paddings.right;\n    var vertPad = paddings.top + paddings.bottom;\n\n    // Computed styles of width & height are being used because they are the\n    // only dimensions available to JS that contain non-rounded values. It could\n    // be possible to utilize the getBoundingClientRect if only it's data wasn't\n    // affected by CSS transformations let alone paddings, borders and scroll bars.\n    var width = toFloat(styles.width),\n        height = toFloat(styles.height);\n\n    // Width & height include paddings and borders when the 'border-box' box\n    // model is applied (except for IE).\n    if (styles.boxSizing === 'border-box') {\n        // Following conditions are required to handle Internet Explorer which\n        // doesn't include paddings and borders to computed CSS dimensions.\n        //\n        // We can say that if CSS dimensions + paddings are equal to the \"client\"\n        // properties then it's either IE, and thus we don't need to subtract\n        // anything, or an element merely doesn't have paddings/borders styles.\n        if (Math.round(width + horizPad) !== clientWidth) {\n            width -= getBordersSize(styles, 'left', 'right') + horizPad;\n        }\n\n        if (Math.round(height + vertPad) !== clientHeight) {\n            height -= getBordersSize(styles, 'top', 'bottom') + vertPad;\n        }\n    }\n\n    // Following steps can't be applied to the document's root element as its\n    // client[Width/Height] properties represent viewport area of the window.\n    // Besides, it's as well not necessary as the <html> itself neither has\n    // rendered scroll bars nor it can be clipped.\n    if (!isDocumentElement(target)) {\n        // In some browsers (only in Firefox, actually) CSS width & height\n        // include scroll bars size which can be removed at this step as scroll\n        // bars are the only difference between rounded dimensions + paddings\n        // and \"client\" properties, though that is not always true in Chrome.\n        var vertScrollbar = Math.round(width + horizPad) - clientWidth;\n        var horizScrollbar = Math.round(height + vertPad) - clientHeight;\n\n        // Chrome has a rather weird rounding of \"client\" properties.\n        // E.g. for an element with content width of 314.2px it sometimes gives\n        // the client width of 315px and for the width of 314.7px it may give\n        // 314px. And it doesn't happen all the time. So just ignore this delta\n        // as a non-relevant.\n        if (Math.abs(vertScrollbar) !== 1) {\n            width -= vertScrollbar;\n        }\n\n        if (Math.abs(horizScrollbar) !== 1) {\n            height -= horizScrollbar;\n        }\n    }\n\n    return createRectInit(paddings.left, paddings.top, width, height);\n}\n\n/**\r\n * Checks whether provided element is an instance of the SVGGraphicsElement.\r\n *\r\n * @param {Element} target - Element to be checked.\r\n * @returns {boolean}\r\n */\nvar isSVGGraphicsElement = (function () {\n    // Some browsers, namely IE and Edge, don't have the SVGGraphicsElement\n    // interface.\n    if (typeof SVGGraphicsElement !== 'undefined') {\n        return function (target) { return target instanceof getWindowOf(target).SVGGraphicsElement; };\n    }\n\n    // If it's so, then check that element is at least an instance of the\n    // SVGElement and that it has the \"getBBox\" method.\n    // eslint-disable-next-line no-extra-parens\n    return function (target) { return target instanceof getWindowOf(target).SVGElement && typeof target.getBBox === 'function'; };\n})();\n\n/**\r\n * Checks whether provided element is a document element (<html>).\r\n *\r\n * @param {Element} target - Element to be checked.\r\n * @returns {boolean}\r\n */\nfunction isDocumentElement(target) {\n    return target === getWindowOf(target).document.documentElement;\n}\n\n/**\r\n * Calculates an appropriate content rectangle for provided html or svg element.\r\n *\r\n * @param {Element} target - Element content rectangle of which needs to be calculated.\r\n * @returns {DOMRectInit}\r\n */\nfunction getContentRect(target) {\n    if (!isBrowser) {\n        return emptyRect;\n    }\n\n    if (isSVGGraphicsElement(target)) {\n        return getSVGContentRect(target);\n    }\n\n    return getHTMLElementContentRect(target);\n}\n\n/**\r\n * Creates rectangle with an interface of the DOMRectReadOnly.\r\n * Spec: https://drafts.fxtf.org/geometry/#domrectreadonly\r\n *\r\n * @param {DOMRectInit} rectInit - Object with rectangle's x/y coordinates and dimensions.\r\n * @returns {DOMRectReadOnly}\r\n */\nfunction createReadOnlyRect(ref) {\n    var x = ref.x;\n    var y = ref.y;\n    var width = ref.width;\n    var height = ref.height;\n\n    // If DOMRectReadOnly is available use it as a prototype for the rectangle.\n    var Constr = typeof DOMRectReadOnly !== 'undefined' ? DOMRectReadOnly : Object;\n    var rect = Object.create(Constr.prototype);\n\n    // Rectangle's properties are not writable and non-enumerable.\n    defineConfigurable(rect, {\n        x: x, y: y, width: width, height: height,\n        top: y,\n        right: x + width,\n        bottom: height + y,\n        left: x\n    });\n\n    return rect;\n}\n\n/**\r\n * Creates DOMRectInit object based on the provided dimensions and the x/y coordinates.\r\n * Spec: https://drafts.fxtf.org/geometry/#dictdef-domrectinit\r\n *\r\n * @param {number} x - X coordinate.\r\n * @param {number} y - Y coordinate.\r\n * @param {number} width - Rectangle's width.\r\n * @param {number} height - Rectangle's height.\r\n * @returns {DOMRectInit}\r\n */\nfunction createRectInit(x, y, width, height) {\n    return { x: x, y: y, width: width, height: height };\n}\n\n/**\r\n * Class that is responsible for computations of the content rectangle of\r\n * provided DOM element and for keeping track of it's changes.\r\n */\nvar ResizeObservation = function(target) {\n    this.broadcastWidth = 0;\n    this.broadcastHeight = 0;\n    this.contentRect_ = createRectInit(0, 0, 0, 0);\n\n    this.target = target;\n};\n\n/**\r\n * Updates content rectangle and tells whether it's width or height properties\r\n * have changed since the last broadcast.\r\n *\r\n * @returns {boolean}\r\n */\n\n\n/**\r\n * Reference to the last observed content rectangle.\r\n *\r\n * @private {DOMRectInit}\r\n */\n\n\n/**\r\n * Broadcasted width of content rectangle.\r\n *\r\n * @type {number}\r\n */\nResizeObservation.prototype.isActive = function () {\n    var rect = getContentRect(this.target);\n\n    this.contentRect_ = rect;\n\n    return rect.width !== this.broadcastWidth || rect.height !== this.broadcastHeight;\n};\n\n/**\r\n * Updates 'broadcastWidth' and 'broadcastHeight' properties with a data\r\n * from the corresponding properties of the last observed content rectangle.\r\n *\r\n * @returns {DOMRectInit} Last observed content rectangle.\r\n */\nResizeObservation.prototype.broadcastRect = function () {\n    var rect = this.contentRect_;\n\n    this.broadcastWidth = rect.width;\n    this.broadcastHeight = rect.height;\n\n    return rect;\n};\n\nvar ResizeObserverEntry = function(target, rectInit) {\n    var contentRect = createReadOnlyRect(rectInit);\n\n    // According to the specification following properties are not writable\n    // and are also not enumerable in the native implementation.\n    //\n    // Property accessors are not being used as they'd require to define a\n    // private WeakMap storage which may cause memory leaks in browsers that\n    // don't support this type of collections.\n    defineConfigurable(this, { target: target, contentRect: contentRect });\n};\n\nvar ResizeObserverSPI = function(callback, controller, callbackCtx) {\n    this.activeObservations_ = [];\n    this.observations_ = new MapShim();\n\n    if (typeof callback !== 'function') {\n        throw new TypeError('The callback provided as parameter 1 is not a function.');\n    }\n\n    this.callback_ = callback;\n    this.controller_ = controller;\n    this.callbackCtx_ = callbackCtx;\n};\n\n/**\r\n * Starts observing provided element.\r\n *\r\n * @param {Element} target - Element to be observed.\r\n * @returns {void}\r\n */\n\n\n/**\r\n * Registry of the ResizeObservation instances.\r\n *\r\n * @private {Map<Element, ResizeObservation>}\r\n */\n\n\n/**\r\n * Public ResizeObserver instance which will be passed to the callback\r\n * function and used as a value of it's \"this\" binding.\r\n *\r\n * @private {ResizeObserver}\r\n */\n\n/**\r\n * Collection of resize observations that have detected changes in dimensions\r\n * of elements.\r\n *\r\n * @private {Array<ResizeObservation>}\r\n */\nResizeObserverSPI.prototype.observe = function (target) {\n    if (!arguments.length) {\n        throw new TypeError('1 argument required, but only 0 present.');\n    }\n\n    // Do nothing if current environment doesn't have the Element interface.\n    if (typeof Element === 'undefined' || !(Element instanceof Object)) {\n        return;\n    }\n\n    if (!(target instanceof getWindowOf(target).Element)) {\n        throw new TypeError('parameter 1 is not of type \"Element\".');\n    }\n\n    var observations = this.observations_;\n\n    // Do nothing if element is already being observed.\n    if (observations.has(target)) {\n        return;\n    }\n\n    observations.set(target, new ResizeObservation(target));\n\n    this.controller_.addObserver(this);\n\n    // Force the update of observations.\n    this.controller_.refresh();\n};\n\n/**\r\n * Stops observing provided element.\r\n *\r\n * @param {Element} target - Element to stop observing.\r\n * @returns {void}\r\n */\nResizeObserverSPI.prototype.unobserve = function (target) {\n    if (!arguments.length) {\n        throw new TypeError('1 argument required, but only 0 present.');\n    }\n\n    // Do nothing if current environment doesn't have the Element interface.\n    if (typeof Element === 'undefined' || !(Element instanceof Object)) {\n        return;\n    }\n\n    if (!(target instanceof getWindowOf(target).Element)) {\n        throw new TypeError('parameter 1 is not of type \"Element\".');\n    }\n\n    var observations = this.observations_;\n\n    // Do nothing if element is not being observed.\n    if (!observations.has(target)) {\n        return;\n    }\n\n    observations.delete(target);\n\n    if (!observations.size) {\n        this.controller_.removeObserver(this);\n    }\n};\n\n/**\r\n * Stops observing all elements.\r\n *\r\n * @returns {void}\r\n */\nResizeObserverSPI.prototype.disconnect = function () {\n    this.clearActive();\n    this.observations_.clear();\n    this.controller_.removeObserver(this);\n};\n\n/**\r\n * Collects observation instances the associated element of which has changed\r\n * it's content rectangle.\r\n *\r\n * @returns {void}\r\n */\nResizeObserverSPI.prototype.gatherActive = function () {\n        var this$1 = this;\n\n    this.clearActive();\n\n    this.observations_.forEach(function (observation) {\n        if (observation.isActive()) {\n            this$1.activeObservations_.push(observation);\n        }\n    });\n};\n\n/**\r\n * Invokes initial callback function with a list of ResizeObserverEntry\r\n * instances collected from active resize observations.\r\n *\r\n * @returns {void}\r\n */\nResizeObserverSPI.prototype.broadcastActive = function () {\n    // Do nothing if observer doesn't have active observations.\n    if (!this.hasActive()) {\n        return;\n    }\n\n    var ctx = this.callbackCtx_;\n\n    // Create ResizeObserverEntry instance for every active observation.\n    var entries = this.activeObservations_.map(function (observation) {\n        return new ResizeObserverEntry(observation.target, observation.broadcastRect());\n    });\n\n    this.callback_.call(ctx, entries, ctx);\n    this.clearActive();\n};\n\n/**\r\n * Clears the collection of active observations.\r\n *\r\n * @returns {void}\r\n */\nResizeObserverSPI.prototype.clearActive = function () {\n    this.activeObservations_.splice(0);\n};\n\n/**\r\n * Tells whether observer has active observations.\r\n *\r\n * @returns {boolean}\r\n */\nResizeObserverSPI.prototype.hasActive = function () {\n    return this.activeObservations_.length > 0;\n};\n\n// Registry of internal observers. If WeakMap is not available use current shim\n// for the Map collection as it has all required methods and because WeakMap\n// can't be fully polyfilled anyway.\nvar observers = typeof WeakMap !== 'undefined' ? new WeakMap() : new MapShim();\n\n/**\r\n * ResizeObserver API. Encapsulates the ResizeObserver SPI implementation\r\n * exposing only those methods and properties that are defined in the spec.\r\n */\nvar ResizeObserver = function(callback) {\n    if (!(this instanceof ResizeObserver)) {\n        throw new TypeError('Cannot call a class as a function.');\n    }\n    if (!arguments.length) {\n        throw new TypeError('1 argument required, but only 0 present.');\n    }\n\n    var controller = ResizeObserverController.getInstance();\n    var observer = new ResizeObserverSPI(callback, controller, this);\n\n    observers.set(this, observer);\n};\n\n// Expose public methods of ResizeObserver.\n['observe', 'unobserve', 'disconnect'].forEach(function (method) {\n    ResizeObserver.prototype[method] = function () {\n        return (ref = observers.get(this))[method].apply(ref, arguments);\n        var ref;\n    };\n});\n\nvar index = (function () {\n    // Export existing implementation if available.\n    if (typeof global$1.ResizeObserver !== 'undefined') {\n        return global$1.ResizeObserver;\n    }\n\n    return ResizeObserver;\n})();\n\nreturn index;\n\n})));\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/resize-observer-polyfill/dist/ResizeObserver.js\n// module id = 23\n// module chunks = 0","module.exports = __WEBPACK_EXTERNAL_MODULE_24__;\n\n\n//////////////////\n// WEBPACK FOOTER\n// external {\"root\":\"Hammerjs\",\"amd\":\"react-hammerjs\",\"commonjs\":\"react-hammerjs\",\"commonjs2\":\"react-hammerjs\"}\n// module id = 24\n// module chunks = 0","module.exports = __WEBPACK_EXTERNAL_MODULE_25__;\n\n\n//////////////////\n// WEBPACK FOOTER\n// external {\"root\":\"InlineStylePrefixer\",\"amd\":\"inline-style-prefixer\",\"commonjs\":\"inline-style-prefixer\",\"commonjs2\":\"inline-style-prefixer\"}\n// module id = 25\n// module chunks = 0","module.exports = __WEBPACK_EXTERNAL_MODULE_26__;\n\n\n//////////////////\n// WEBPACK FOOTER\n// external {\"root\":\"JnarwoldReactMotion\",\"amd\":\"jnarwold-react-motion\",\"commonjs\":\"jnarwold-react-motion\",\"commonjs2\":\"jnarwold-react-motion\"}\n// module id = 26\n// module chunks = 0","module.exports = __WEBPACK_EXTERNAL_MODULE_27__;\n\n\n//////////////////\n// WEBPACK FOOTER\n// external {\"root\":\"LodashDifferenceBy\",\"amd\":\"lodash.differenceby\",\"commonjs\":\"lodash.differenceby\",\"commonjs2\":\"lodash.differenceby\"}\n// module id = 27\n// module chunks = 0"],"sourceRoot":""}