{"version":3,"sources":["webpack:///webpack/universalModuleDefinition","webpack:///react-virtualized.js","webpack:///webpack/bootstrap a0ea9121a713cf2a4403","webpack:///./source/index.js","webpack:///./source/AutoSizer/index.js","webpack:///./source/AutoSizer/AutoSizer.js","webpack:///./~/classnames/index.js","webpack:///external {\"commonjs\":\"react\",\"commonjs2\":\"react\",\"amd\":\"react\",\"root\":\"React\"}","webpack:///./~/react-pure-render/function.js","webpack:///./~/react-pure-render/shallowEqual.js","webpack:///./source/vendor/detectElementResize.js","webpack:///./source/FlexTable/index.js","webpack:///./source/FlexTable/FlexTable.js","webpack:///./source/FlexTable/FlexColumn.js","webpack:///./source/VirtualScroll/index.js","webpack:///./source/VirtualScroll/VirtualScroll.js","webpack:///./~/timers-browserify/main.js","webpack:///./~/timers-browserify/~/process/browser.js","webpack:///./source/utils.js","webpack:///./~/raf/index.js","webpack:///./~/performance-now/lib/performance-now.js","webpack:///./~/node-libs-browser/~/process/browser.js","webpack:///./source/Grid/index.js","webpack:///./source/Grid/Grid.js","webpack:///./source/InfiniteLoader/index.js","webpack:///./source/InfiniteLoader/InfiniteLoader.js"],"names":["root","factory","exports","module","require","define","amd","this","__WEBPACK_EXTERNAL_MODULE_4__","modules","__webpack_require__","moduleId","installedModules","id","loaded","call","m","c","p","Object","defineProperty","value","_AutoSizer","enumerable","get","AutoSizer","_FlexTable","FlexTable","FlexColumn","SortDirection","SortIndicator","_Grid","Grid","_InfiniteLoader","InfiniteLoader","_VirtualScroll","VirtualScroll","_interopRequireDefault","obj","__esModule","default","_AutoSizer2","_AutoSizer3","_AutoSizer4","_objectWithoutProperties","keys","target","i","indexOf","prototype","hasOwnProperty","_classCallCheck","instance","Constructor","TypeError","_inherits","subClass","superClass","create","constructor","writable","configurable","setPrototypeOf","__proto__","_createClass","defineProperties","props","length","descriptor","key","protoProps","staticProps","_get","_x","_x2","_x3","_again","object","property","receiver","Function","desc","getOwnPropertyDescriptor","undefined","getter","parent","getPrototypeOf","_classnames","_classnames2","_react","_react2","_reactPureRenderFunction","_reactPureRenderFunction2","_Component","shouldComponentUpdate","state","height","width","_onResize","bind","_setRef","children","PropTypes","element","className","string","disableHeight","bool","disableWidth","_detectElementResize","addResizeListener","_parentNode","removeResizeListener","_props","_state","childProps","child","Children","only","cloneElement","createElement","ref","style","_parentNode$getBoundingClientRect","getBoundingClientRect","setState","autoSizer","parentNode","Component","__WEBPACK_AMD_DEFINE_ARRAY__","__WEBPACK_AMD_DEFINE_RESULT__","classNames","classes","arguments","arg","argType","push","Array","isArray","apply","hasOwn","join","shouldPureComponentUpdate","nextProps","nextState","_shallowEqual2","_shallowEqual","shallowEqual","objA","objB","keysA","keysB","bHasOwnProperty","_window","window","self","attachEvent","document","stylesCreated","requestFrame","raf","requestAnimationFrame","mozRequestAnimationFrame","webkitRequestAnimationFrame","fn","setTimeout","cancelFrame","cancel","cancelAnimationFrame","mozCancelAnimationFrame","webkitCancelAnimationFrame","clearTimeout","resetTriggers","triggers","__resizeTriggers__","expand","firstElementChild","contract","lastElementChild","expandChild","scrollLeft","scrollWidth","scrollTop","scrollHeight","offsetWidth","offsetHeight","checkTriggers","__resizeLast__","scrollListener","e","__resizeRAF__","__resizeListeners__","forEach","animation","animationstring","keyframeprefix","animationstartevent","domPrefixes","split","startEvents","pfx","elm","animationName","toLowerCase","animationKeyframes","animationStyle","createStyles","css","head","getElementsByTagName","type","styleSheet","cssText","appendChild","createTextNode","getComputedStyle","position","innerHTML","addEventListener","detachEvent","splice","removeEventListener","removeChild","_FlexTable2","_FlexTable3","_FlexTable4","_FlexColumn2","_FlexColumn3","_ref","sortDirection","FlexTable__sortableHeaderIcon--ASC","ASC","FlexTable__sortableHeaderIcon--DESC","DESC","viewBox","xmlns","d","fill","_FlexColumn","_VirtualScroll2","_createRow","propName","componentName","toArray","Error","disableHeader","headerClassName","headerHeight","number","isRequired","horizontalPadding","noRowsRenderer","func","onHeaderClick","onRowClick","onRowsRendered","rowClassName","oneOfType","rowGetter","rowHeight","rowsCount","sort","sortBy","oneOf","verticalPadding","refs","recomputeRowHeights","scrollToIndex","scrollToRow","_this","availableRowsHeight","rowRenderer","index","rowClass","_getRenderedHeaderRow","column","columnIndex","rowData","rowIndex","_column$props","cellClassName","cellDataGetter","columnData","dataKey","cellRenderer","cellData","renderedCell","flex","_getFlexStyleForColumn","title","_props2","_column$props2","disableSort","label","showSortIndicator","sortEnabled","FlexTable__sortableHeaderColumn","newSortDirection","onClick","_this2","_props3","renderedRow","map","_createColumn","_getRowHeight","flexGrow","flexShrink","_this3","_props4","items","_createHeader","propTypes","defaultCellRenderer","cellDataKey","String","defaultCellDataGetter","Column","any","_VirtualScroll3","_VirtualScroll4","setImmediate","clearImmediate","_utils","_raf","_raf2","IS_SCROLLING_TIMEOUT","context","computeCellMetadataOnNextUpdate","isScrolling","_OnRowsRenderedHelper","initOnSectionRenderedHelper","_computeCellMetadata","_invokeOnRowsRenderedHelper","_onKeyPress","_onScroll","_onWheel","_updateScrollTopForScrollToIndex","_scrollTopId","prevProps","prevState","scrollingContainer","updateScrollIndexHelper","cellMetadata","_cellMetadata","cellsCount","cellSize","previousCellsCount","previousCellSize","previousScrollToIndex","previousSize","scrollOffset","size","updateScrollIndexCallback","_disablePointerEventsTimeoutId","_setNextStateAnimationFrameId","computeCellMetadataAndUpdateScrollOffsetHelper","computeMetadataCallback","computeMetadataCallbackProps","computeMetadataOnNextUpdate","nextCellsCount","nextCellSize","nextScrollToIndex","updateScrollOffsetForScrollToIndex","childrenToDisplay","_getVisibleCellIndices","getVisibleCellIndices","cellCount","containerSize","currentOffset","start","_stop","stop","_renderedStartIndex","_renderedStopIndex","datum","top","offset","onKeyDown","onScroll","onWheel","tabIndex","overflow","outline","_getTotalRowsHeight","maxHeight","pointerEvents","boxSizing","overflowX","overflowY","initCellMetadata","callback","indices","startIndex","stopIndex","_temporarilyDisablePointerEvents","_setNextState","event","preventDefault","stopPropagation","scrollToIndexOverride","calculatedScrollTop","getUpdatedOffsetForIndex","targetIndex","newScrollTop","_stopEvent","Math","min","max","totalRowsHeight","_setNextStateForScrollHelper","Timeout","clearFn","_id","_clearFn","nextTick","slice","immediateIds","nextImmediateId","setInterval","clearInterval","timeout","close","unref","enroll","item","msecs","_idleTimeoutId","_idleTimeout","unenroll","_unrefActive","active","_onTimeout","args","cleanUpNextTick","draining","currentQueue","queue","concat","queueIndex","drainQueue","len","run","Item","fun","array","noop","process","browser","env","argv","version","versions","on","addListener","once","off","removeListener","removeAllListeners","emit","binding","name","cwd","chdir","dir","umask","findNearestCell","_ref2","mode","high","low","middle","floor","EQUAL_OR_LOWER","EQUAL_OR_HIGHER","_ref3","maxOffset","minOffset","newOffset","_ref4","_ref5","sizeGetter","_size","Number","isNaN","cachedIndices","_ref6","allInitialized","every","indexChanged","some","_ref7","hasScrollToIndex","sizeHasChanged","calculatedScrollOffset","now","global","vendors","suffix","caf","last","frameDuration","_now","next","cp","cancelled","round","handle","getNanoSeconds","hrtime","loadTime","performance","hr","Date","getTime","_Grid2","_Grid3","_Grid4","computeGridMetadataOnNextUpdate","_OnGridRenderedHelper","_computeGridMetadata","_invokeOnGridRenderedHelper","_updateScrollLeftForScrollToColumn","_updateScrollTopForScrollToRow","columnsCount","columnWidth","noContentRenderer","onSectionRendered","renderCell","scrollToColumn","_setImmediateId","_columnMetadata","_rowMetadata","_state2","columnStartIndex","columnStopIndex","_getVisibleCellIndices2","rowStartIndex","rowStopIndex","_renderedColumnStartIndex","_renderedColumnStopIndex","_renderedRowStartIndex","_renderedRowStopIndex","rowDatum","columnDatum","left","_getColumnWidth","_getTotalColumnsWidth","maxWidth","scrollToColumnOverride","calculatedScrollLeft","scrollToRowOverride","_state3","newScrollLeft","scrollToCell","_props5","totalColumnsWidth","_InfiniteLoader2","_InfiniteLoader3","_InfiniteLoader4","isRangeVisible","lastRenderedStartIndex","lastRenderedStopIndex","scanForUnloadedRanges","isRowLoaded","unloadedRanges","rangeStartIndex","rangeStopIndex","_onRowsRendered","error","loadMoreRows","threshold","previousProps","_originalOnRowsR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M;wBACvBC,WACFA,QAAQC,KAAK;;4BAGTlB;gCACEC,wBAAwBnS,MAAKgT;gCAC7BZ,uBAAuBpS,MAAKiT;gCAC5BtL,YAAYuL,cAAcvL;gCAC1BC,WAAWsL,cAActL;kCAIvB5H,MAAKJ,KAAKrO,iBACZyO,MAAKJ,KAAKrO,cAAc8hB;;wBAO9B3jB,KAAKqjB,2BACPrjB,KAAKqjB;wBAA0BpL;wBAAYC;;;kBAlH5BvW;UxBi0GjBuD,OAAOuC;QAEV9H,QAAQ,awBn0GYgC","file":"react-virtualized.js","sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory(require(\"react\"));\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([\"react\"], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"react-virtualized\"] = factory(require(\"react\"));\n\telse\n\t\troot[\"react-virtualized\"] = factory(root[\"React\"]);\n})(this, function(__WEBPACK_EXTERNAL_MODULE_4__) {\nreturn \n\n\n/** WEBPACK FOOTER **\n ** webpack/universalModuleDefinition\n **/","(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory(require(\"react\"));\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([\"react\"], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"react-virtualized\"] = factory(require(\"react\"));\n\telse\n\t\troot[\"react-virtualized\"] = factory(root[\"React\"]);\n})(this, function(__WEBPACK_EXTERNAL_MODULE_4__) {\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 = \"\";\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 _AutoSizer = __webpack_require__(1);\n\t\n\tObject.defineProperty(exports, 'AutoSizer', {\n\t enumerable: true,\n\t get: function get() {\n\t return _AutoSizer.AutoSizer;\n\t }\n\t});\n\t\n\tvar _FlexTable = __webpack_require__(8);\n\t\n\tObject.defineProperty(exports, 'FlexTable', {\n\t enumerable: true,\n\t get: function get() {\n\t return _FlexTable.FlexTable;\n\t }\n\t});\n\tObject.defineProperty(exports, 'FlexColumn', {\n\t enumerable: true,\n\t get: function get() {\n\t return _FlexTable.FlexColumn;\n\t }\n\t});\n\tObject.defineProperty(exports, 'SortDirection', {\n\t enumerable: true,\n\t get: function get() {\n\t return _FlexTable.SortDirection;\n\t }\n\t});\n\tObject.defineProperty(exports, 'SortIndicator', {\n\t enumerable: true,\n\t get: function get() {\n\t return _FlexTable.SortIndicator;\n\t }\n\t});\n\t\n\tvar _Grid = __webpack_require__(19);\n\t\n\tObject.defineProperty(exports, 'Grid', {\n\t enumerable: true,\n\t get: function get() {\n\t return _Grid.Grid;\n\t }\n\t});\n\t\n\tvar _InfiniteLoader = __webpack_require__(21);\n\t\n\tObject.defineProperty(exports, 'InfiniteLoader', {\n\t enumerable: true,\n\t get: function get() {\n\t return _InfiniteLoader.InfiniteLoader;\n\t }\n\t});\n\t\n\tvar _VirtualScroll = __webpack_require__(11);\n\t\n\tObject.defineProperty(exports, 'VirtualScroll', {\n\t enumerable: true,\n\t get: function get() {\n\t return _VirtualScroll.VirtualScroll;\n\t }\n\t});\n\n/***/ },\n/* 1 */\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\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\t\n\tvar _AutoSizer2 = __webpack_require__(2);\n\t\n\tvar _AutoSizer3 = _interopRequireDefault(_AutoSizer2);\n\t\n\texports['default'] = _AutoSizer3['default'];\n\t\n\tvar _AutoSizer4 = _interopRequireDefault(_AutoSizer2);\n\t\n\texports.AutoSizer = _AutoSizer4['default'];\n\n/***/ },\n/* 2 */\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 _get = function get(_x, _x2, _x3) { var _again = true; _function: while (_again) { var object = _x, property = _x2, receiver = _x3; _again = false; if (object === null) object = Function.prototype; var desc = Object.getOwnPropertyDescriptor(object, property); if (desc === undefined) { var parent = Object.getPrototypeOf(object); if (parent === null) { return undefined; } else { _x = parent; _x2 = property; _x3 = receiver; _again = true; desc = parent = undefined; continue _function; } } else if ('value' in desc) { return desc.value; } else { var getter = desc.get; if (getter === undefined) { return undefined; } return getter.call(receiver); } } };\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 _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 _classnames = __webpack_require__(3);\n\t\n\tvar _classnames2 = _interopRequireDefault(_classnames);\n\t\n\tvar _react = __webpack_require__(4);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _reactPureRenderFunction = __webpack_require__(5);\n\t\n\tvar _reactPureRenderFunction2 = _interopRequireDefault(_reactPureRenderFunction);\n\t\n\t/**\n\t * Decorator component that automatically adjusts the width and height of a single child.\n\t * Child component should not be declared as a child but should rather be specified by a `ChildComponent` property.\n\t * All other properties will be passed through to the child component.\n\t */\n\t\n\tvar AutoSizer = (function (_Component) {\n\t _inherits(AutoSizer, _Component);\n\t\n\t _createClass(AutoSizer, null, [{\n\t key: 'propTypes',\n\t value: {\n\t /** Component to manage width/height of */\n\t children: _react.PropTypes.element,\n\t /** Optional CSS class name */\n\t className: _react.PropTypes.string,\n\t /** Disable dynamic :height property */\n\t disableHeight: _react.PropTypes.bool,\n\t /** Disable dynamic :width property */\n\t disableWidth: _react.PropTypes.bool\n\t },\n\t enumerable: true\n\t }]);\n\t\n\t function AutoSizer(props) {\n\t _classCallCheck(this, AutoSizer);\n\t\n\t _get(Object.getPrototypeOf(AutoSizer.prototype), 'constructor', this).call(this, props);\n\t\n\t this.shouldComponentUpdate = _reactPureRenderFunction2['default'];\n\t this.state = {\n\t height: 0,\n\t width: 0\n\t };\n\t\n\t this._onResize = this._onResize.bind(this);\n\t this._setRef = this._setRef.bind(this);\n\t }\n\t\n\t _createClass(AutoSizer, [{\n\t key: 'componentDidMount',\n\t value: function componentDidMount() {\n\t // Defer requiring resize handler in order to support server-side rendering.\n\t // See issue #41\n\t this._detectElementResize = __webpack_require__(7);\n\t this._detectElementResize.addResizeListener(this._parentNode, this._onResize);\n\t\n\t this._onResize();\n\t }\n\t }, {\n\t key: 'componentWillUnmount',\n\t value: function componentWillUnmount() {\n\t this._detectElementResize.removeResizeListener(this._parentNode, this._onResize);\n\t }\n\t }, {\n\t key: 'render',\n\t value: function render() {\n\t var _props = this.props;\n\t var children = _props.children;\n\t var className = _props.className;\n\t var disableHeight = _props.disableHeight;\n\t var disableWidth = _props.disableWidth;\n\t\n\t var props = _objectWithoutProperties(_props, ['children', 'className', 'disableHeight', 'disableWidth']);\n\t\n\t var _state = this.state;\n\t var height = _state.height;\n\t var width = _state.width;\n\t\n\t var childProps = {};\n\t\n\t if (!disableHeight) {\n\t childProps.height = height;\n\t }\n\t\n\t if (!disableWidth) {\n\t childProps.width = width;\n\t }\n\t\n\t var child = _react2['default'].Children.only(children);\n\t child = _react2['default'].cloneElement(child, childProps);\n\t\n\t return _react2['default'].createElement(\n\t 'div',\n\t {\n\t ref: this._setRef,\n\t className: (0, _classnames2['default'])('AutoSizer', className),\n\t style: {\n\t width: '100%',\n\t height: '100%'\n\t }\n\t },\n\t child\n\t );\n\t }\n\t }, {\n\t key: '_onResize',\n\t value: function _onResize() {\n\t var _parentNode$getBoundingClientRect = this._parentNode.getBoundingClientRect();\n\t\n\t var height = _parentNode$getBoundingClientRect.height;\n\t var width = _parentNode$getBoundingClientRect.width;\n\t\n\t this.setState({\n\t height: height,\n\t width: width\n\t });\n\t }\n\t }, {\n\t key: '_setRef',\n\t value: function _setRef(autoSizer) {\n\t // In case the component has been unmounted\n\t this._parentNode = autoSizer && autoSizer.parentNode;\n\t }\n\t }]);\n\t\n\t return AutoSizer;\n\t})(_react.Component);\n\t\n\texports['default'] = AutoSizer;\n\tmodule.exports = exports['default'];\n\n/***/ },\n/* 3 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!\n\t Copyright (c) 2016 Jed Watson.\n\t Licensed under the MIT License (MIT), see\n\t http://jedwatson.github.io/classnames\n\t*/\n\t/* global define */\n\t\n\t(function () {\n\t\t'use strict';\n\t\n\t\tvar hasOwn = {}.hasOwnProperty;\n\t\n\t\tfunction classNames () {\n\t\t\tvar classes = [];\n\t\n\t\t\tfor (var i = 0; i < arguments.length; i++) {\n\t\t\t\tvar arg = arguments[i];\n\t\t\t\tif (!arg) continue;\n\t\n\t\t\t\tvar argType = typeof arg;\n\t\n\t\t\t\tif (argType === 'string' || argType === 'number') {\n\t\t\t\t\tclasses.push(arg);\n\t\t\t\t} else if (Array.isArray(arg)) {\n\t\t\t\t\tclasses.push(classNames.apply(null, arg));\n\t\t\t\t} else if (argType === 'object') {\n\t\t\t\t\tfor (var key in arg) {\n\t\t\t\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\t\t\t\tclasses.push(key);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\n\t\t\treturn classes.join(' ');\n\t\t}\n\t\n\t\tif (typeof module !== 'undefined' && module.exports) {\n\t\t\tmodule.exports = classNames;\n\t\t} else if (true) {\n\t\t\t// register as 'classnames', consistent with npm package name\n\t\t\t!(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = function () {\n\t\t\t\treturn classNames;\n\t\t\t}.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\t\t} else {\n\t\t\twindow.classNames = classNames;\n\t\t}\n\t}());\n\n\n/***/ },\n/* 4 */\n/***/ function(module, exports) {\n\n\tmodule.exports = __WEBPACK_EXTERNAL_MODULE_4__;\n\n/***/ },\n/* 5 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\texports['default'] = shouldPureComponentUpdate;\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\t\n\tvar _shallowEqual = __webpack_require__(6);\n\t\n\tvar _shallowEqual2 = _interopRequireDefault(_shallowEqual);\n\t\n\tfunction shouldPureComponentUpdate(nextProps, nextState) {\n\t return !(0, _shallowEqual2['default'])(this.props, nextProps) || !(0, _shallowEqual2['default'])(this.state, nextState);\n\t}\n\t\n\tmodule.exports = exports['default'];\n\n/***/ },\n/* 6 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\texports['default'] = shallowEqual;\n\t\n\tfunction shallowEqual(objA, objB) {\n\t if (objA === objB) {\n\t return true;\n\t }\n\t\n\t if (typeof objA !== 'object' || objA === null || typeof objB !== 'object' || objB === null) {\n\t return false;\n\t }\n\t\n\t var keysA = Object.keys(objA);\n\t var keysB = Object.keys(objB);\n\t\n\t if (keysA.length !== keysB.length) {\n\t return false;\n\t }\n\t\n\t // Test for A's keys different from B.\n\t var bHasOwnProperty = Object.prototype.hasOwnProperty.bind(objB);\n\t for (var i = 0; i < keysA.length; i++) {\n\t if (!bHasOwnProperty(keysA[i]) || objA[keysA[i]] !== objB[keysA[i]]) {\n\t return false;\n\t }\n\t }\n\t\n\t return true;\n\t}\n\t\n\tmodule.exports = exports['default'];\n\n/***/ },\n/* 7 */\n/***/ function(module, exports) {\n\n\t/**\n\t* Detect Element Resize.\n\t* Forked in order to guard against unsafe 'window' and 'document' references.\n\t*\n\t* https://github.com/sdecima/javascript-detect-element-resize\n\t* Sebastian Decima\n\t*\n\t* version: 0.5.3\n\t**/\n\t\n\t// Check `document` and `window` in case of server-side rendering\n\t'use strict';\n\t\n\tvar _window;\n\tif (typeof window !== 'undefined') {\n\t _window = window;\n\t} else if (typeof self !== 'undefined') {\n\t _window = self;\n\t} else {\n\t _window = undefined;\n\t}\n\t\n\tvar attachEvent = typeof document !== 'undefined' && document.attachEvent;\n\tvar stylesCreated = false;\n\t\n\tif (!attachEvent) {\n\t var requestFrame = (function () {\n\t var raf = _window.requestAnimationFrame || _window.mozRequestAnimationFrame || _window.webkitRequestAnimationFrame || function (fn) {\n\t return _window.setTimeout(fn, 20);\n\t };\n\t return function (fn) {\n\t return raf(fn);\n\t };\n\t })();\n\t\n\t var cancelFrame = (function () {\n\t var cancel = _window.cancelAnimationFrame || _window.mozCancelAnimationFrame || _window.webkitCancelAnimationFrame || _window.clearTimeout;\n\t return function (id) {\n\t return cancel(id);\n\t };\n\t })();\n\t\n\t var resetTriggers = function resetTriggers(element) {\n\t var triggers = element.__resizeTriggers__,\n\t expand = triggers.firstElementChild,\n\t contract = triggers.lastElementChild,\n\t expandChild = expand.firstElementChild;\n\t contract.scrollLeft = contract.scrollWidth;\n\t contract.scrollTop = contract.scrollHeight;\n\t expandChild.style.width = expand.offsetWidth + 1 + 'px';\n\t expandChild.style.height = expand.offsetHeight + 1 + 'px';\n\t expand.scrollLeft = expand.scrollWidth;\n\t expand.scrollTop = expand.scrollHeight;\n\t };\n\t\n\t var checkTriggers = function checkTriggers(element) {\n\t return element.offsetWidth != element.__resizeLast__.width || element.offsetHeight != element.__resizeLast__.height;\n\t };\n\t\n\t var scrollListener = function scrollListener(e) {\n\t var element = this;\n\t resetTriggers(this);\n\t if (this.__resizeRAF__) cancelFrame(this.__resizeRAF__);\n\t this.__resizeRAF__ = requestFrame(function () {\n\t if (checkTriggers(element)) {\n\t element.__resizeLast__.width = element.offsetWidth;\n\t element.__resizeLast__.height = element.offsetHeight;\n\t element.__resizeListeners__.forEach(function (fn) {\n\t fn.call(element, e);\n\t });\n\t }\n\t });\n\t };\n\t\n\t /* Detect CSS Animations support to detect element display/re-attach */\n\t var animation = false,\n\t animationstring = 'animation',\n\t keyframeprefix = '',\n\t animationstartevent = 'animationstart',\n\t domPrefixes = 'Webkit Moz O ms'.split(' '),\n\t startEvents = 'webkitAnimationStart animationstart oAnimationStart MSAnimationStart'.split(' '),\n\t pfx = '';\n\t {\n\t var elm = document.createElement('fakeelement');\n\t if (elm.style.animationName !== undefined) {\n\t animation = true;\n\t }\n\t\n\t if (animation === false) {\n\t for (var i = 0; i < domPrefixes.length; i++) {\n\t if (elm.style[domPrefixes[i] + 'AnimationName'] !== undefined) {\n\t pfx = domPrefixes[i];\n\t animationstring = pfx + 'Animation';\n\t keyframeprefix = '-' + pfx.toLowerCase() + '-';\n\t animationstartevent = startEvents[i];\n\t animation = true;\n\t break;\n\t }\n\t }\n\t }\n\t }\n\t\n\t var animationName = 'resizeanim';\n\t var animationKeyframes = '@' + keyframeprefix + 'keyframes ' + animationName + ' { from { opacity: 0; } to { opacity: 0; } } ';\n\t var animationStyle = keyframeprefix + 'animation: 1ms ' + animationName + '; ';\n\t}\n\t\n\tvar createStyles = function createStyles() {\n\t if (!stylesCreated) {\n\t //opacity:0 works around a chrome bug https://code.google.com/p/chromium/issues/detail?id=286360\n\t var css = (animationKeyframes ? animationKeyframes : '') + '.resize-triggers { ' + (animationStyle ? animationStyle : '') + 'visibility: hidden; opacity: 0; } ' + '.resize-triggers, .resize-triggers > div, .contract-trigger:before { content: \\\" \\\"; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',\n\t head = document.head || document.getElementsByTagName('head')[0],\n\t style = document.createElement('style');\n\t\n\t style.type = 'text/css';\n\t if (style.styleSheet) {\n\t style.styleSheet.cssText = css;\n\t } else {\n\t style.appendChild(document.createTextNode(css));\n\t }\n\t\n\t head.appendChild(style);\n\t stylesCreated = true;\n\t }\n\t};\n\t\n\tvar addResizeListener = function addResizeListener(element, fn) {\n\t if (attachEvent) element.attachEvent('onresize', fn);else {\n\t if (!element.__resizeTriggers__) {\n\t if (getComputedStyle(element).position == 'static') element.style.position = 'relative';\n\t createStyles();\n\t element.__resizeLast__ = {};\n\t element.__resizeListeners__ = [];\n\t (element.__resizeTriggers__ = document.createElement('div')).className = 'resize-triggers';\n\t element.__resizeTriggers__.innerHTML = '
' + '
';\n\t element.appendChild(element.__resizeTriggers__);\n\t resetTriggers(element);\n\t element.addEventListener('scroll', scrollListener, true);\n\t\n\t /* Listen for a css animation to detect element display/re-attach */\n\t animationstartevent && element.__resizeTriggers__.addEventListener(animationstartevent, function (e) {\n\t if (e.animationName == animationName) resetTriggers(element);\n\t });\n\t }\n\t element.__resizeListeners__.push(fn);\n\t }\n\t};\n\t\n\tvar removeResizeListener = function removeResizeListener(element, fn) {\n\t if (attachEvent) element.detachEvent('onresize', fn);else {\n\t element.__resizeListeners__.splice(element.__resizeListeners__.indexOf(fn), 1);\n\t if (!element.__resizeListeners__.length) {\n\t element.removeEventListener('scroll', scrollListener);\n\t element.__resizeTriggers__ = !element.removeChild(element.__resizeTriggers__);\n\t }\n\t }\n\t};\n\t\n\tmodule.exports = {\n\t addResizeListener: addResizeListener,\n\t removeResizeListener: removeResizeListener\n\t};\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\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\t\n\tvar _FlexTable2 = __webpack_require__(9);\n\t\n\tvar _FlexTable3 = _interopRequireDefault(_FlexTable2);\n\t\n\texports['default'] = _FlexTable3['default'];\n\t\n\tvar _FlexTable4 = _interopRequireDefault(_FlexTable2);\n\t\n\texports.FlexTable = _FlexTable4['default'];\n\tObject.defineProperty(exports, 'SortDirection', {\n\t enumerable: true,\n\t get: function get() {\n\t return _FlexTable2.SortDirection;\n\t }\n\t});\n\tObject.defineProperty(exports, 'SortIndicator', {\n\t enumerable: true,\n\t get: function get() {\n\t return _FlexTable2.SortIndicator;\n\t }\n\t});\n\t\n\tvar _FlexColumn2 = __webpack_require__(10);\n\t\n\tvar _FlexColumn3 = _interopRequireDefault(_FlexColumn2);\n\t\n\texports.FlexColumn = _FlexColumn3['default'];\n\n/***/ },\n/* 9 */\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 _get = function get(_x, _x2, _x3) { var _again = true; _function: while (_again) { var object = _x, property = _x2, receiver = _x3; _again = false; if (object === null) object = Function.prototype; var desc = Object.getOwnPropertyDescriptor(object, property); if (desc === undefined) { var parent = Object.getPrototypeOf(object); if (parent === null) { return undefined; } else { _x = parent; _x2 = property; _x3 = receiver; _again = true; desc = parent = undefined; continue _function; } } else if ('value' in desc) { return desc.value; } else { var getter = desc.get; if (getter === undefined) { return undefined; } return getter.call(receiver); } } };\n\t\n\texports.SortIndicator = SortIndicator;\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 _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 _classnames = __webpack_require__(3);\n\t\n\tvar _classnames2 = _interopRequireDefault(_classnames);\n\t\n\tvar _FlexColumn = __webpack_require__(10);\n\t\n\tvar _FlexColumn2 = _interopRequireDefault(_FlexColumn);\n\t\n\tvar _react = __webpack_require__(4);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _reactPureRenderFunction = __webpack_require__(5);\n\t\n\tvar _reactPureRenderFunction2 = _interopRequireDefault(_reactPureRenderFunction);\n\t\n\tvar _VirtualScroll = __webpack_require__(11);\n\t\n\tvar _VirtualScroll2 = _interopRequireDefault(_VirtualScroll);\n\t\n\tvar SortDirection = {\n\t /**\n\t * Sort items in ascending order.\n\t * This means arranging from the lowest value to the highest (e.g. a-z, 0-9).\n\t */\n\t ASC: 'ASC',\n\t\n\t /**\n\t * Sort items in descending order.\n\t * This means arranging from the highest value to the lowest (e.g. z-a, 9-0).\n\t */\n\t DESC: 'DESC'\n\t};\n\t\n\texports.SortDirection = SortDirection;\n\t/**\n\t * Table component with fixed headers and virtualized rows for improved performance with large data sets.\n\t * This component expects explicit width, height, and padding parameters.\n\t */\n\t\n\tvar FlexTable = (function (_Component) {\n\t _inherits(FlexTable, _Component);\n\t\n\t _createClass(FlexTable, null, [{\n\t key: 'propTypes',\n\t value: {\n\t /** One or more FlexColumns describing the data displayed in this row */\n\t children: function children(props, propName, componentName) {\n\t var children = _react2['default'].Children.toArray(props.children);\n\t for (var i = 0; i < children.length; i++) {\n\t if (children[i].type !== _FlexColumn2['default']) {\n\t return new Error('FlexTable only accepts children of type FlexColumn');\n\t }\n\t }\n\t },\n\t /** Optional CSS class name */\n\t className: _react.PropTypes.string,\n\t /** Disable rendering the header at all */\n\t disableHeader: _react.PropTypes.bool,\n\t /** Optional CSS class to apply to all column headers */\n\t headerClassName: _react.PropTypes.string,\n\t /** Fixed height of header row */\n\t headerHeight: _react.PropTypes.number.isRequired,\n\t /** Fixed/available height for out DOM element */\n\t height: _react.PropTypes.number.isRequired,\n\t /** Horizontal padding of outer DOM element */\n\t horizontalPadding: _react.PropTypes.number,\n\t /** Optional renderer to be used in place of table body rows when rowsCount is 0 */\n\t noRowsRenderer: _react.PropTypes.func,\n\t /**\n\t * Optional callback when a column's header is clicked.\n\t * (dataKey: string): void\n\t */\n\t onHeaderClick: _react.PropTypes.func,\n\t /**\n\t * Callback invoked when a user clicks on a table row.\n\t * (rowIndex: number): void\n\t */\n\t\n\t onRowClick: _react.PropTypes.func,\n\t /**\n\t * Callback invoked with information about the slice of rows that were just rendered.\n\t * ({ startIndex, stopIndex }): void\n\t */\n\t onRowsRendered: _react.PropTypes.func,\n\t /**\n\t * Optional CSS class to apply to all table rows (including the header row).\n\t * This property can be a CSS class name (string) or a function that returns a class name.\n\t * If a function is provided its signature should be: (rowIndex: number): string\n\t */\n\t rowClassName: _react.PropTypes.oneOfType([_react.PropTypes.string, _react.PropTypes.func]),\n\t /**\n\t * Callback responsible for returning a data row given an index.\n\t * (index: number): any\n\t */\n\t rowGetter: _react.PropTypes.func.isRequired,\n\t /**\n\t * Either a fixed row height (number) or a function that returns the height of a row given its index.\n\t * (index: number): number\n\t */\n\t rowHeight: _react.PropTypes.oneOfType([_react.PropTypes.number, _react.PropTypes.func]).isRequired,\n\t /** Number of rows in table. */\n\t rowsCount: _react.PropTypes.number.isRequired,\n\t /**\n\t * Sort function to be called if a sortable header is clicked.\n\t * (dataKey: string, sortDirection: SortDirection): void\n\t */\n\t sort: _react.PropTypes.func,\n\t /** FlexTable data is currently sorted by this :dataKey (if it is sorted at all) */\n\t sortBy: _react.PropTypes.string,\n\t /** FlexTable data is currently sorted in this direction (if it is sorted at all) */\n\t sortDirection: _react.PropTypes.oneOf([SortDirection.ASC, SortDirection.DESC]),\n\t /** Vertical padding of outer DOM element */\n\t verticalPadding: _react.PropTypes.number\n\t },\n\t enumerable: true\n\t }, {\n\t key: 'defaultProps',\n\t value: {\n\t disableHeader: false,\n\t horizontalPadding: 0,\n\t noRowsRenderer: function noRowsRenderer() {\n\t return null;\n\t },\n\t onHeaderClick: function onHeaderClick() {\n\t return null;\n\t },\n\t onRowClick: function onRowClick() {\n\t return null;\n\t },\n\t onRowsRendered: function onRowsRendered() {\n\t return null;\n\t },\n\t verticalPadding: 0\n\t },\n\t enumerable: true\n\t }]);\n\t\n\t function FlexTable(props) {\n\t _classCallCheck(this, FlexTable);\n\t\n\t _get(Object.getPrototypeOf(FlexTable.prototype), 'constructor', this).call(this, props);\n\t\n\t this.shouldComponentUpdate = _reactPureRenderFunction2['default'];\n\t this._createRow = this._createRow.bind(this);\n\t }\n\t\n\t /**\n\t * Displayed beside a header to indicate that a FlexTable is currently sorted by this column.\n\t */\n\t\n\t /**\n\t * See VirtualScroll#recomputeRowHeights\n\t */\n\t\n\t _createClass(FlexTable, [{\n\t key: 'recomputeRowHeights',\n\t value: function recomputeRowHeights() {\n\t this.refs.VirtualScroll.recomputeRowHeights();\n\t }\n\t\n\t /**\n\t * See VirtualScroll#scrollToRow\n\t */\n\t }, {\n\t key: 'scrollToRow',\n\t value: function scrollToRow(scrollToIndex) {\n\t this.refs.VirtualScroll.scrollToRow(scrollToIndex);\n\t }\n\t }, {\n\t key: 'render',\n\t value: function render() {\n\t var _this = this;\n\t\n\t var _props = this.props;\n\t var className = _props.className;\n\t var disableHeader = _props.disableHeader;\n\t var headerHeight = _props.headerHeight;\n\t var height = _props.height;\n\t var noRowsRenderer = _props.noRowsRenderer;\n\t var onRowsRendered = _props.onRowsRendered;\n\t var rowClassName = _props.rowClassName;\n\t var rowHeight = _props.rowHeight;\n\t var rowsCount = _props.rowsCount;\n\t var verticalPadding = _props.verticalPadding;\n\t\n\t var availableRowsHeight = height - headerHeight - verticalPadding;\n\t\n\t // This row-renderer wrapper function is necessary in order to trigger re-render when the\n\t // sort-by or sort-direction have changed (else VirtualScroll will not see any props changes)\n\t var rowRenderer = function rowRenderer(index) {\n\t return _this._createRow(index);\n\t };\n\t\n\t var rowClass = rowClassName instanceof Function ? rowClassName(-1) : rowClassName;\n\t\n\t return _react2['default'].createElement(\n\t 'div',\n\t {\n\t className: (0, _classnames2['default'])('FlexTable', className)\n\t },\n\t !disableHeader && _react2['default'].createElement(\n\t 'div',\n\t {\n\t className: (0, _classnames2['default'])('FlexTable__headerRow', rowClass),\n\t style: {\n\t height: headerHeight\n\t }\n\t },\n\t this._getRenderedHeaderRow()\n\t ),\n\t _react2['default'].createElement(_VirtualScroll2['default'], {\n\t ref: 'VirtualScroll',\n\t height: availableRowsHeight,\n\t noRowsRenderer: noRowsRenderer,\n\t onRowsRendered: onRowsRendered,\n\t rowHeight: rowHeight,\n\t rowRenderer: rowRenderer,\n\t rowsCount: rowsCount\n\t })\n\t );\n\t }\n\t }, {\n\t key: '_createColumn',\n\t value: function _createColumn(column, columnIndex, rowData, rowIndex) {\n\t var _column$props = column.props;\n\t var cellClassName = _column$props.cellClassName;\n\t var cellDataGetter = _column$props.cellDataGetter;\n\t var columnData = _column$props.columnData;\n\t var dataKey = _column$props.dataKey;\n\t var cellRenderer = _column$props.cellRenderer;\n\t\n\t var cellData = cellDataGetter(dataKey, rowData, columnData);\n\t var renderedCell = cellRenderer(cellData, dataKey, rowData, rowIndex, columnData);\n\t\n\t var flex = this._getFlexStyleForColumn(column);\n\t var style = {\n\t flex: flex // TODO\n\t };\n\t\n\t var title = typeof renderedCell === 'string' ? renderedCell : null;\n\t\n\t return _react2['default'].createElement(\n\t 'div',\n\t {\n\t key: 'Row' + rowIndex + '-Col' + columnIndex,\n\t className: (0, _classnames2['default'])('FlexTable__rowColumn', cellClassName),\n\t style: style\n\t },\n\t _react2['default'].createElement(\n\t 'div',\n\t {\n\t className: 'FlexTable__truncatedColumnText',\n\t title: title\n\t },\n\t renderedCell\n\t )\n\t );\n\t }\n\t }, {\n\t key: '_createHeader',\n\t value: function _createHeader(column, columnIndex) {\n\t var _props2 = this.props;\n\t var headerClassName = _props2.headerClassName;\n\t var onHeaderClick = _props2.onHeaderClick;\n\t var sort = _props2.sort;\n\t var sortBy = _props2.sortBy;\n\t var sortDirection = _props2.sortDirection;\n\t var _column$props2 = column.props;\n\t var dataKey = _column$props2.dataKey;\n\t var disableSort = _column$props2.disableSort;\n\t var label = _column$props2.label;\n\t var columnData = _column$props2.columnData;\n\t\n\t var showSortIndicator = sortBy === dataKey;\n\t var sortEnabled = !disableSort && sort;\n\t\n\t var classNames = (0, _classnames2['default'])('FlexTable__headerColumn', headerClassName, column.props.headerClassName, {\n\t 'FlexTable__sortableHeaderColumn': sortEnabled\n\t });\n\t var flex = this._getFlexStyleForColumn(column);\n\t var style = {\n\t flex: flex // TODO\n\t };\n\t\n\t // If this is a sortable header, clicking it should update the table data's sorting.\n\t var newSortDirection = sortBy !== dataKey || sortDirection === SortDirection.DESC ? SortDirection.ASC : SortDirection.DESC;\n\t var onClick = function onClick() {\n\t sortEnabled && sort(dataKey, newSortDirection);\n\t onHeaderClick(dataKey, columnData);\n\t };\n\t\n\t return _react2['default'].createElement(\n\t 'div',\n\t {\n\t key: 'Header-Col' + columnIndex,\n\t className: classNames,\n\t style: style,\n\t onClick: onClick\n\t },\n\t _react2['default'].createElement(\n\t 'div',\n\t {\n\t className: 'FlexTable__headerTruncatedText',\n\t title: label\n\t },\n\t label\n\t ),\n\t showSortIndicator && _react2['default'].createElement(SortIndicator, { sortDirection: sortDirection })\n\t );\n\t }\n\t }, {\n\t key: '_createRow',\n\t value: function _createRow(rowIndex) {\n\t var _this2 = this;\n\t\n\t var _props3 = this.props;\n\t var children = _props3.children;\n\t var onRowClick = _props3.onRowClick;\n\t var rowClassName = _props3.rowClassName;\n\t var rowGetter = _props3.rowGetter;\n\t\n\t var rowClass = rowClassName instanceof Function ? rowClassName(rowIndex) : rowClassName;\n\t\n\t var renderedRow = _react2['default'].Children.map(children, function (column, columnIndex) {\n\t return _this2._createColumn(column, columnIndex, rowGetter(rowIndex), rowIndex);\n\t });\n\t\n\t return _react2['default'].createElement(\n\t 'div',\n\t {\n\t key: rowIndex,\n\t className: (0, _classnames2['default'])('FlexTable__row', rowClass),\n\t onClick: function () {\n\t return onRowClick(rowIndex);\n\t },\n\t style: {\n\t height: this._getRowHeight(rowIndex)\n\t }\n\t },\n\t renderedRow\n\t );\n\t }\n\t\n\t /**\n\t * Determines the flex-shrink, flex-grow, and width values for a cell (header or column).\n\t */\n\t }, {\n\t key: '_getFlexStyleForColumn',\n\t value: function _getFlexStyleForColumn(column) {\n\t var flex = [];\n\t flex.push(column.props.flexGrow);\n\t flex.push(column.props.flexShrink);\n\t flex.push(column.props.width ? column.props.width + 'px' : 'auto');\n\t\n\t return flex.join(' ');\n\t }\n\t }, {\n\t key: '_getRenderedHeaderRow',\n\t value: function _getRenderedHeaderRow() {\n\t var _this3 = this;\n\t\n\t var _props4 = this.props;\n\t var children = _props4.children;\n\t var disableHeader = _props4.disableHeader;\n\t\n\t var items = disableHeader ? [] : children;\n\t return _react2['default'].Children.map(items, function (column, columnIndex) {\n\t return _this3._createHeader(column, columnIndex);\n\t });\n\t }\n\t }, {\n\t key: '_getRowHeight',\n\t value: function _getRowHeight(rowIndex) {\n\t var rowHeight = this.props.rowHeight;\n\t\n\t return rowHeight instanceof Function ? rowHeight(rowIndex) : rowHeight;\n\t }\n\t }]);\n\t\n\t return FlexTable;\n\t})(_react.Component);\n\t\n\texports['default'] = FlexTable;\n\t\n\tfunction SortIndicator(_ref) {\n\t var sortDirection = _ref.sortDirection;\n\t\n\t var classNames = (0, _classnames2['default'])('FlexTable__sortableHeaderIcon', {\n\t 'FlexTable__sortableHeaderIcon--ASC': sortDirection === SortDirection.ASC,\n\t 'FlexTable__sortableHeaderIcon--DESC': sortDirection === SortDirection.DESC\n\t });\n\t\n\t return _react2['default'].createElement(\n\t 'svg',\n\t {\n\t className: classNames,\n\t width: 18,\n\t height: 18,\n\t viewBox: '0 0 24 24',\n\t xmlns: 'http://www.w3.org/2000/svg'\n\t },\n\t sortDirection === SortDirection.ASC ? _react2['default'].createElement('path', { d: 'M7 14l5-5 5 5z' }) : _react2['default'].createElement('path', { d: 'M7 10l5 5 5-5z' }),\n\t _react2['default'].createElement('path', { d: 'M0 0h24v24H0z', fill: 'none' })\n\t );\n\t}\n\t\n\tSortIndicator.propTypes = {\n\t sortDirection: _react.PropTypes.oneOf([SortDirection.ASC, SortDirection.DESC])\n\t};\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 _get = function get(_x, _x2, _x3) { var _again = true; _function: while (_again) { var object = _x, property = _x2, receiver = _x3; _again = false; if (object === null) object = Function.prototype; var desc = Object.getOwnPropertyDescriptor(object, property); if (desc === undefined) { var parent = Object.getPrototypeOf(object); if (parent === null) { return undefined; } else { _x = parent; _x2 = property; _x3 = receiver; _again = true; desc = parent = undefined; continue _function; } } else if ('value' in desc) { return desc.value; } else { var getter = desc.get; if (getter === undefined) { return undefined; } return getter.call(receiver); } } };\n\t\n\texports.defaultCellRenderer = defaultCellRenderer;\n\texports.defaultCellDataGetter = defaultCellDataGetter;\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 _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 _react = __webpack_require__(4);\n\t\n\t/**\n\t * Default cell renderer that displays an attribute as a simple string\n\t * You should override the column's cellRenderer if your data is some other type of object.\n\t */\n\t\n\tfunction defaultCellRenderer(cellData, cellDataKey, rowData, rowIndex, columnData) {\n\t if (cellData === null || cellData === undefined) {\n\t return '';\n\t } else {\n\t return String(cellData);\n\t }\n\t}\n\t\n\t/**\n\t * Default accessor for returning a cell value for a given attribute.\n\t * This function expects to operate on either a vanilla Object or an Immutable Map.\n\t * You should override the column's cellDataGetter if your data is some other type of object.\n\t */\n\t\n\tfunction defaultCellDataGetter(dataKey, rowData, columnData) {\n\t if (rowData.get instanceof Function) {\n\t return rowData.get(dataKey);\n\t } else {\n\t return rowData[dataKey];\n\t }\n\t}\n\t\n\t/**\n\t * Describes the header and cell contents of a table column.\n\t */\n\t\n\tvar Column = (function (_Component) {\n\t _inherits(Column, _Component);\n\t\n\t function Column() {\n\t _classCallCheck(this, Column);\n\t\n\t _get(Object.getPrototypeOf(Column.prototype), 'constructor', this).apply(this, arguments);\n\t }\n\t\n\t _createClass(Column, null, [{\n\t key: 'defaultProps',\n\t value: {\n\t cellDataGetter: defaultCellDataGetter,\n\t cellRenderer: defaultCellRenderer,\n\t flexGrow: 0,\n\t flexShrink: 1\n\t },\n\t enumerable: true\n\t }, {\n\t key: 'propTypes',\n\t value: {\n\t /** Optional CSS class to apply to cell */\n\t cellClassName: _react.PropTypes.string,\n\t /**\n\t * Callback responsible for returning a cell's data, given its :dataKey\n\t * (dataKey: string, rowData: any): any\n\t */\n\t cellDataGetter: _react.PropTypes.func,\n\t /**\n\t * Callback responsible for rendering a cell's contents.\n\t * (cellData: any, cellDataKey: string, rowData: any, rowIndex: number, columnData: any): element\n\t */\n\t cellRenderer: _react.PropTypes.func,\n\t /** Optional additional data passed to this column's :cellDataGetter */\n\t columnData: _react.PropTypes.object,\n\t /** Uniquely identifies the row-data attribute correspnding to this cell */\n\t dataKey: _react.PropTypes.any.isRequired,\n\t /** If sort is enabled for the table at large, disable it for this column */\n\t disableSort: _react.PropTypes.bool,\n\t /** Flex grow style; defaults to 0 */\n\t flexGrow: _react.PropTypes.number,\n\t /** Flex shrink style; defaults to 1 */\n\t flexShrink: _react.PropTypes.number,\n\t /** Optional CSS class to apply to this column's header */\n\t headerClassName: _react.PropTypes.string,\n\t /** Header label for this column */\n\t label: _react.PropTypes.string,\n\t /** Optional fixed width for this column */\n\t width: _react.PropTypes.number\n\t },\n\t enumerable: true\n\t }]);\n\t\n\t return Column;\n\t})(_react.Component);\n\t\n\texports['default'] = Column;\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\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\t\n\tvar _VirtualScroll2 = __webpack_require__(12);\n\t\n\tvar _VirtualScroll3 = _interopRequireDefault(_VirtualScroll2);\n\t\n\texports['default'] = _VirtualScroll3['default'];\n\t\n\tvar _VirtualScroll4 = _interopRequireDefault(_VirtualScroll2);\n\t\n\texports.VirtualScroll = _VirtualScroll4['default'];\n\n/***/ },\n/* 12 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/* WEBPACK VAR INJECTION */(function(setImmediate, clearImmediate) {'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 _get = function get(_x, _x2, _x3) { var _again = true; _function: while (_again) { var object = _x, property = _x2, receiver = _x3; _again = false; if (object === null) object = Function.prototype; var desc = Object.getOwnPropertyDescriptor(object, property); if (desc === undefined) { var parent = Object.getPrototypeOf(object); if (parent === null) { return undefined; } else { _x = parent; _x2 = property; _x3 = receiver; _again = true; desc = parent = undefined; continue _function; } } else if ('value' in desc) { return desc.value; } else { var getter = desc.get; if (getter === undefined) { return undefined; } return getter.call(receiver); } } };\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 _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 _utils = __webpack_require__(15);\n\t\n\tvar _classnames = __webpack_require__(3);\n\t\n\tvar _classnames2 = _interopRequireDefault(_classnames);\n\t\n\tvar _raf = __webpack_require__(16);\n\t\n\tvar _raf2 = _interopRequireDefault(_raf);\n\t\n\tvar _react = __webpack_require__(4);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _reactPureRenderFunction = __webpack_require__(5);\n\t\n\tvar _reactPureRenderFunction2 = _interopRequireDefault(_reactPureRenderFunction);\n\t\n\t/**\n\t * Specifies the number of miliseconds during which to disable pointer events while a scroll is in progress.\n\t * This improves performance and makes scrolling smoother.\n\t */\n\tvar IS_SCROLLING_TIMEOUT = 150;\n\t\n\t/**\n\t * It is inefficient to create and manage a large list of DOM elements within a scrolling container\n\t * if only a few of those elements are visible. The primary purpose of this component is to improve\n\t * performance by only rendering the DOM nodes that a user is able to see based on their current\n\t * scroll position.\n\t *\n\t * This component renders a virtualized list of elements with either fixed or dynamic heights.\n\t */\n\t\n\tvar VirtualScroll = (function (_Component) {\n\t _inherits(VirtualScroll, _Component);\n\t\n\t _createClass(VirtualScroll, null, [{\n\t key: 'propTypes',\n\t value: {\n\t /** Optional CSS class name */\n\t className: _react.PropTypes.string,\n\t /** Height constraint for list (determines how many actual rows are rendered) */\n\t height: _react.PropTypes.number.isRequired,\n\t /** Optional renderer to be used in place of rows when rowsCount is 0 */\n\t noRowsRenderer: _react.PropTypes.func.isRequired,\n\t /**\n\t * Callback invoked with information about the slice of rows that were just rendered.\n\t * ({ startIndex, stopIndex }): void\n\t */\n\t onRowsRendered: _react.PropTypes.func.isRequired,\n\t /**\n\t * Either a fixed row height (number) or a function that returns the height of a row given its index.\n\t * (index: number): number\n\t */\n\t rowHeight: _react.PropTypes.oneOfType([_react.PropTypes.number, _react.PropTypes.func]).isRequired,\n\t /** Responsbile for rendering a row given an index */\n\t rowRenderer: _react.PropTypes.func.isRequired,\n\t /** Number of rows in list. */\n\t rowsCount: _react.PropTypes.number.isRequired,\n\t /** Row index to ensure visible (by forcefully scrolling if necessary) */\n\t scrollToIndex: _react.PropTypes.number\n\t },\n\t enumerable: true\n\t }, {\n\t key: 'defaultProps',\n\t value: {\n\t noRowsRenderer: function noRowsRenderer() {\n\t return null;\n\t },\n\t onRowsRendered: function onRowsRendered() {\n\t return null;\n\t }\n\t },\n\t enumerable: true\n\t }]);\n\t\n\t function VirtualScroll(props, context) {\n\t _classCallCheck(this, VirtualScroll);\n\t\n\t _get(Object.getPrototypeOf(VirtualScroll.prototype), 'constructor', this).call(this, props, context);\n\t\n\t this.shouldComponentUpdate = _reactPureRenderFunction2['default'];\n\t this.state = {\n\t computeCellMetadataOnNextUpdate: false,\n\t isScrolling: false,\n\t scrollTop: 0\n\t };\n\t\n\t // Invokes onRowsRendered callback only when start/stop row indices change\n\t this._OnRowsRenderedHelper = (0, _utils.initOnSectionRenderedHelper)();\n\t\n\t // Bind functions to instance so they don't lose context when passed around\n\t this._computeCellMetadata = this._computeCellMetadata.bind(this);\n\t this._invokeOnRowsRenderedHelper = this._invokeOnRowsRenderedHelper.bind(this);\n\t this._onKeyPress = this._onKeyPress.bind(this);\n\t this._onScroll = this._onScroll.bind(this);\n\t this._onWheel = this._onWheel.bind(this);\n\t this._updateScrollTopForScrollToIndex = this._updateScrollTopForScrollToIndex.bind(this);\n\t }\n\t\n\t /**\n\t * Forced recompute of row heights.\n\t * This function should be called if dynamic row heights have changed but nothing else has.\n\t * Since VirtualScroll receives a :rowsCount it has no way of knowing if the underlying list data has changed.\n\t */\n\t\n\t _createClass(VirtualScroll, [{\n\t key: 'recomputeRowHeights',\n\t value: function recomputeRowHeights() {\n\t this.setState({\n\t computeCellMetadataOnNextUpdate: true\n\t });\n\t }\n\t\n\t /**\n\t * Scroll the list to ensure the row at the specified index is visible.\n\t * This method exists so that a user can forcefully scroll to the same row twice.\n\t * (The :scrollToIndex property would not change in that case, so it would not be picked up by the component.)\n\t */\n\t }, {\n\t key: 'scrollToRow',\n\t value: function scrollToRow(scrollToIndex) {\n\t this._updateScrollTopForScrollToIndex(scrollToIndex);\n\t }\n\t }, {\n\t key: 'componentDidMount',\n\t value: function componentDidMount() {\n\t var _this = this;\n\t\n\t var scrollToIndex = this.props.scrollToIndex;\n\t\n\t if (scrollToIndex >= 0) {\n\t // Without setImmediate() the initial scrollingContainer.scrollTop assignment doesn't work\n\t this._scrollTopId = setImmediate(function () {\n\t _this._scrollTopId = null;\n\t _this._updateScrollTopForScrollToIndex();\n\t });\n\t }\n\t\n\t // Update onRowsRendered callback\n\t this._invokeOnRowsRenderedHelper();\n\t }\n\t }, {\n\t key: 'componentDidUpdate',\n\t value: function componentDidUpdate(prevProps, prevState) {\n\t var _props = this.props;\n\t var height = _props.height;\n\t var rowsCount = _props.rowsCount;\n\t var rowHeight = _props.rowHeight;\n\t var scrollToIndex = _props.scrollToIndex;\n\t var scrollTop = this.state.scrollTop;\n\t\n\t // Make sure any changes to :scrollTop (from :scrollToIndex) get applied\n\t if (scrollTop >= 0 && scrollTop !== prevState.scrollTop) {\n\t this.refs.scrollingContainer.scrollTop = scrollTop;\n\t }\n\t\n\t // Update scrollTop if appropriate\n\t (0, _utils.updateScrollIndexHelper)({\n\t cellMetadata: this._cellMetadata,\n\t cellsCount: rowsCount,\n\t cellSize: rowHeight,\n\t previousCellsCount: prevProps.rowsCount,\n\t previousCellSize: prevProps.rowHeight,\n\t previousScrollToIndex: prevProps.scrollToIndex,\n\t previousSize: prevProps.height,\n\t scrollOffset: scrollTop,\n\t scrollToIndex: scrollToIndex,\n\t size: height,\n\t updateScrollIndexCallback: this._updateScrollTopForScrollToIndex\n\t });\n\t\n\t // Update onRowsRendered callback if start/stop indices have changed\n\t this._invokeOnRowsRenderedHelper();\n\t }\n\t }, {\n\t key: 'componentWillMount',\n\t value: function componentWillMount() {\n\t this._computeCellMetadata(this.props);\n\t }\n\t }, {\n\t key: 'componentWillUnmount',\n\t value: function componentWillUnmount() {\n\t if (this._disablePointerEventsTimeoutId) {\n\t clearTimeout(this._disablePointerEventsTimeoutId);\n\t }\n\t if (this._scrollTopId) {\n\t clearImmediate(this._scrollTopId);\n\t }\n\t if (this._setNextStateAnimationFrameId) {\n\t _raf2['default'].cancel(this._setNextStateAnimationFrameId);\n\t }\n\t }\n\t }, {\n\t key: 'componentWillUpdate',\n\t value: function componentWillUpdate(nextProps, nextState) {\n\t if (nextProps.rowsCount === 0 && nextState.scrollTop !== 0) {\n\t this.setState({ scrollTop: 0 });\n\t }\n\t\n\t (0, _utils.computeCellMetadataAndUpdateScrollOffsetHelper)({\n\t cellsCount: this.props.rowsCount,\n\t cellSize: this.props.rowHeight,\n\t computeMetadataCallback: this._computeCellMetadata,\n\t computeMetadataCallbackProps: nextProps,\n\t computeMetadataOnNextUpdate: nextState.computeCellMetadataOnNextUpdate,\n\t nextCellsCount: nextProps.rowsCount,\n\t nextCellSize: nextProps.rowHeight,\n\t nextScrollToIndex: nextProps.scrollToIndex,\n\t scrollToIndex: this.props.scrollToIndex,\n\t updateScrollOffsetForScrollToIndex: this._updateScrollTopForScrollToIndex\n\t });\n\t\n\t this.setState({\n\t computeCellMetadataOnNextUpdate: false\n\t });\n\t }\n\t }, {\n\t key: 'render',\n\t value: function render() {\n\t var _props2 = this.props;\n\t var className = _props2.className;\n\t var height = _props2.height;\n\t var noRowsRenderer = _props2.noRowsRenderer;\n\t var rowsCount = _props2.rowsCount;\n\t var rowRenderer = _props2.rowRenderer;\n\t var _state = this.state;\n\t var isScrolling = _state.isScrolling;\n\t var scrollTop = _state.scrollTop;\n\t\n\t var childrenToDisplay = [];\n\t\n\t // Render only enough rows to cover the visible (vertical) area of the table.\n\t if (height > 0) {\n\t var _getVisibleCellIndices = (0, _utils.getVisibleCellIndices)({\n\t cellCount: rowsCount,\n\t cellMetadata: this._cellMetadata,\n\t containerSize: height,\n\t currentOffset: scrollTop\n\t });\n\t\n\t var start = _getVisibleCellIndices.start;\n\t var _stop = _getVisibleCellIndices.stop;\n\t\n\t // Store for onRowsRendered callback in componentDidUpdate\n\t this._renderedStartIndex = start;\n\t this._renderedStopIndex = _stop;\n\t\n\t for (var i = start; i <= _stop; i++) {\n\t var datum = this._cellMetadata[i];\n\t var child = rowRenderer(i);\n\t child = _react2['default'].createElement(\n\t 'div',\n\t {\n\t key: i,\n\t style: {\n\t position: 'absolute',\n\t top: datum.offset,\n\t width: '100%',\n\t height: this._getRowHeight(i)\n\t }\n\t },\n\t child\n\t );\n\t\n\t childrenToDisplay.push(child);\n\t }\n\t }\n\t\n\t return _react2['default'].createElement(\n\t 'div',\n\t {\n\t ref: 'scrollingContainer',\n\t className: (0, _classnames2['default'])('VirtualScroll', className),\n\t onKeyDown: this._onKeyPress,\n\t onScroll: this._onScroll,\n\t onWheel: this._onWheel,\n\t tabIndex: 0,\n\t style: {\n\t position: 'relative',\n\t overflow: 'auto',\n\t height: height,\n\t outline: 0\n\t }\n\t },\n\t rowsCount > 0 && _react2['default'].createElement(\n\t 'div',\n\t {\n\t style: {\n\t height: this._getTotalRowsHeight(),\n\t maxHeight: this._getTotalRowsHeight(),\n\t pointerEvents: isScrolling ? 'none' : 'auto',\n\t boxSizing: 'border-box',\n\t overflowX: 'auto',\n\t overflowY: 'hidden'\n\t }\n\t },\n\t childrenToDisplay\n\t ),\n\t rowsCount === 0 && noRowsRenderer()\n\t );\n\t }\n\t\n\t /* ---------------------------- Helper methods ---------------------------- */\n\t\n\t }, {\n\t key: '_computeCellMetadata',\n\t value: function _computeCellMetadata(props) {\n\t var rowHeight = props.rowHeight;\n\t var rowsCount = props.rowsCount;\n\t\n\t this._cellMetadata = (0, _utils.initCellMetadata)({\n\t cellCount: rowsCount,\n\t size: rowHeight\n\t });\n\t }\n\t }, {\n\t key: '_getRowHeight',\n\t value: function _getRowHeight(index) {\n\t var rowHeight = this.props.rowHeight;\n\t\n\t return rowHeight instanceof Function ? rowHeight(index) : rowHeight;\n\t }\n\t }, {\n\t key: '_getTotalRowsHeight',\n\t value: function _getTotalRowsHeight() {\n\t if (this._cellMetadata.length === 0) {\n\t return 0;\n\t }\n\t\n\t var datum = this._cellMetadata[this._cellMetadata.length - 1];\n\t return datum.offset + datum.size;\n\t }\n\t }, {\n\t key: '_invokeOnRowsRenderedHelper',\n\t value: function _invokeOnRowsRenderedHelper() {\n\t var onRowsRendered = this.props.onRowsRendered;\n\t\n\t this._OnRowsRenderedHelper({\n\t callback: onRowsRendered,\n\t indices: {\n\t startIndex: this._renderedStartIndex,\n\t stopIndex: this._renderedStopIndex\n\t }\n\t });\n\t }\n\t\n\t /**\n\t * Updates the state during the next animation frame.\n\t * Use this method to avoid multiple renders in a small span of time.\n\t * This helps performance for bursty events (like onWheel).\n\t */\n\t }, {\n\t key: '_setNextState',\n\t value: function _setNextState(state) {\n\t var _this2 = this;\n\t\n\t if (this._setNextStateAnimationFrameId) {\n\t _raf2['default'].cancel(this._setNextStateAnimationFrameId);\n\t }\n\t\n\t this._setNextStateAnimationFrameId = (0, _raf2['default'])(function () {\n\t _this2._setNextStateAnimationFrameId = null;\n\t _this2.setState(state);\n\t });\n\t }\n\t }, {\n\t key: '_setNextStateForScrollHelper',\n\t value: function _setNextStateForScrollHelper(_ref) {\n\t var scrollTop = _ref.scrollTop;\n\t\n\t // Certain devices (like Apple touchpad) rapid-fire duplicate events.\n\t // Don't force a re-render if this is the case.\n\t if (this.state.scrollTop === scrollTop) {\n\t return;\n\t }\n\t\n\t // Prevent pointer events from interrupting a smooth scroll\n\t this._temporarilyDisablePointerEvents();\n\t\n\t // The mouse may move faster then the animation frame does.\n\t // Use requestAnimationFrame to avoid over-updating.\n\t this._setNextState({\n\t isScrolling: true,\n\t scrollTop: scrollTop\n\t });\n\t }\n\t }, {\n\t key: '_stopEvent',\n\t value: function _stopEvent(event) {\n\t event.preventDefault();\n\t event.stopPropagation();\n\t }\n\t\n\t /**\n\t * Sets an :isScrolling flag for a small window of time.\n\t * This flag is used to disable pointer events on the scrollable portion of the table (the rows).\n\t * This prevents jerky/stuttery mouse-wheel scrolling.\n\t */\n\t }, {\n\t key: '_temporarilyDisablePointerEvents',\n\t value: function _temporarilyDisablePointerEvents() {\n\t var _this3 = this;\n\t\n\t if (this._disablePointerEventsTimeoutId) {\n\t clearTimeout(this._disablePointerEventsTimeoutId);\n\t }\n\t\n\t this._disablePointerEventsTimeoutId = setTimeout(function () {\n\t _this3._disablePointerEventsTimeoutId = null;\n\t _this3.setState({\n\t isScrolling: false\n\t });\n\t }, IS_SCROLLING_TIMEOUT);\n\t }\n\t\n\t /**\n\t * Calculates and adjusts scrollTop if necessary to ensure that the row at the specified index is visible.\n\t */\n\t }, {\n\t key: '_updateScrollTopForScrollToIndex',\n\t value: function _updateScrollTopForScrollToIndex(scrollToIndexOverride) {\n\t var scrollToIndex = scrollToIndexOverride !== undefined ? scrollToIndexOverride : this.props.scrollToIndex;\n\t\n\t var height = this.props.height;\n\t var scrollTop = this.state.scrollTop;\n\t\n\t if (scrollToIndex >= 0) {\n\t var calculatedScrollTop = (0, _utils.getUpdatedOffsetForIndex)({\n\t cellMetadata: this._cellMetadata,\n\t containerSize: height,\n\t currentOffset: scrollTop,\n\t targetIndex: scrollToIndex\n\t });\n\t\n\t if (scrollTop !== calculatedScrollTop) {\n\t this.setState({ scrollTop: calculatedScrollTop });\n\t }\n\t }\n\t }\n\t\n\t /* ---------------------------- Event Handlers ---------------------------- */\n\t\n\t }, {\n\t key: '_onKeyPress',\n\t value: function _onKeyPress(event) {\n\t var _props3 = this.props;\n\t var height = _props3.height;\n\t var rowsCount = _props3.rowsCount;\n\t var scrollTop = this.state.scrollTop;\n\t\n\t var start = undefined,\n\t datum = undefined,\n\t newScrollTop = undefined;\n\t\n\t if (rowsCount === 0) {\n\t return;\n\t }\n\t\n\t switch (event.key) {\n\t case 'ArrowDown':\n\t this._stopEvent(event); // Prevent key from also scrolling surrounding window\n\t\n\t start = (0, _utils.getVisibleCellIndices)({\n\t cellCount: rowsCount,\n\t cellMetadata: this._cellMetadata,\n\t containerSize: height,\n\t currentOffset: scrollTop\n\t }).start;\n\t datum = this._cellMetadata[start];\n\t newScrollTop = Math.min(this._getTotalRowsHeight() - height, scrollTop + datum.size);\n\t\n\t this.setState({\n\t scrollTop: newScrollTop\n\t });\n\t break;\n\t case 'ArrowUp':\n\t this._stopEvent(event); // Prevent key from also scrolling surrounding window\n\t\n\t start = (0, _utils.getVisibleCellIndices)({\n\t cellCount: rowsCount,\n\t cellMetadata: this._cellMetadata,\n\t containerSize: height,\n\t currentOffset: scrollTop\n\t }).start;\n\t\n\t this.scrollToRow(Math.max(0, start - 1));\n\t break;\n\t }\n\t }\n\t }, {\n\t key: '_onScroll',\n\t value: function _onScroll(event) {\n\t // In certain edge-cases React dispatches an onScroll event with an invalid target.scrollTop.\n\t // This invalid event can be detected by comparing event.target to this component's scrollable DOM element.\n\t // See issue #404 for more information.\n\t if (event.target !== this.refs.scrollingContainer) {\n\t return;\n\t }\n\t\n\t // When this component is shrunk drastically, React dispatches a series of back-to-back scroll events,\n\t // Gradually converging on a scrollTop that is within the bounds of the new, smaller height.\n\t // This causes a series of rapid renders that is slow for long lists.\n\t // We can avoid that by doing some simple bounds checking to ensure that scrollTop never exceeds the total height.\n\t var height = this.props.height;\n\t\n\t var totalRowsHeight = this._getTotalRowsHeight();\n\t var scrollTop = Math.min(totalRowsHeight - height, event.target.scrollTop);\n\t\n\t this._setNextStateForScrollHelper({ scrollTop: scrollTop });\n\t }\n\t }, {\n\t key: '_onWheel',\n\t value: function _onWheel(event) {\n\t var scrollTop = this.refs.scrollingContainer.scrollTop;\n\t\n\t this._setNextStateForScrollHelper({ scrollTop: scrollTop });\n\t }\n\t }]);\n\t\n\t return VirtualScroll;\n\t})(_react.Component);\n\t\n\texports['default'] = VirtualScroll;\n\tmodule.exports = exports['default'];\n\t/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(13).setImmediate, __webpack_require__(13).clearImmediate))\n\n/***/ },\n/* 13 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/* WEBPACK VAR INJECTION */(function(setImmediate, clearImmediate) {var nextTick = __webpack_require__(14).nextTick;\n\tvar apply = Function.prototype.apply;\n\tvar slice = Array.prototype.slice;\n\tvar immediateIds = {};\n\tvar nextImmediateId = 0;\n\t\n\t// DOM APIs, for completeness\n\t\n\texports.setTimeout = function() {\n\t return new Timeout(apply.call(setTimeout, window, arguments), clearTimeout);\n\t};\n\texports.setInterval = function() {\n\t return new Timeout(apply.call(setInterval, window, arguments), clearInterval);\n\t};\n\texports.clearTimeout =\n\texports.clearInterval = function(timeout) { timeout.close(); };\n\t\n\tfunction Timeout(id, clearFn) {\n\t this._id = id;\n\t this._clearFn = clearFn;\n\t}\n\tTimeout.prototype.unref = Timeout.prototype.ref = function() {};\n\tTimeout.prototype.close = function() {\n\t this._clearFn.call(window, this._id);\n\t};\n\t\n\t// Does not start the time, just sets up the members needed.\n\texports.enroll = function(item, msecs) {\n\t clearTimeout(item._idleTimeoutId);\n\t item._idleTimeout = msecs;\n\t};\n\t\n\texports.unenroll = function(item) {\n\t clearTimeout(item._idleTimeoutId);\n\t item._idleTimeout = -1;\n\t};\n\t\n\texports._unrefActive = exports.active = function(item) {\n\t clearTimeout(item._idleTimeoutId);\n\t\n\t var msecs = item._idleTimeout;\n\t if (msecs >= 0) {\n\t item._idleTimeoutId = setTimeout(function onTimeout() {\n\t if (item._onTimeout)\n\t item._onTimeout();\n\t }, msecs);\n\t }\n\t};\n\t\n\t// That's not how node.js implements it but the exposed api is the same.\n\texports.setImmediate = typeof setImmediate === \"function\" ? setImmediate : function(fn) {\n\t var id = nextImmediateId++;\n\t var args = arguments.length < 2 ? false : slice.call(arguments, 1);\n\t\n\t immediateIds[id] = true;\n\t\n\t nextTick(function onNextTick() {\n\t if (immediateIds[id]) {\n\t // fn.call() is faster so we optimize for the common use-case\n\t // @see http://jsperf.com/call-apply-segu\n\t if (args) {\n\t fn.apply(null, args);\n\t } else {\n\t fn.call(null);\n\t }\n\t // Prevent ids from leaking\n\t exports.clearImmediate(id);\n\t }\n\t });\n\t\n\t return id;\n\t};\n\t\n\texports.clearImmediate = typeof clearImmediate === \"function\" ? clearImmediate : function(id) {\n\t delete immediateIds[id];\n\t};\n\t/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(13).setImmediate, __webpack_require__(13).clearImmediate))\n\n/***/ },\n/* 14 */\n/***/ function(module, exports) {\n\n\t// shim for using process in browser\n\t\n\tvar process = module.exports = {};\n\tvar queue = [];\n\tvar draining = false;\n\tvar currentQueue;\n\tvar queueIndex = -1;\n\t\n\tfunction cleanUpNextTick() {\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 = setTimeout(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 clearTimeout(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 setTimeout(drainQueue, 0);\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\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/* 15 */\n/***/ function(module, exports) {\n\n\t/**\n\t * Helper method that determines when to recalculate row or column metadata.\n\t *\n\t * @param cellsCount Number of rows or columns in the current axis\n\t * @param cellsSize Width or height of cells for the current axis\n\t * @param computeMetadataCallback Method to invoke if cell metadata should be recalculated\n\t * @param computeMetadataCallbackProps Parameters to pass to :computeMetadataCallback\n\t * @param computeMetadataOnNextUpdate Flag specifying that metadata should be recalculated\n\t * @param nextCellsCount Newly updated number of rows or columns in the current axis\n\t * @param nextCellsSize Newly updated width or height of cells for the current axis\n\t * @param nextScrollToIndex Newly updated scroll-to-index\n\t * @param scrollToIndex Scroll-to-index\n\t * @param updateScrollOffsetForScrollToIndex Callback to invoke if the scroll position should be recalculated\n\t */\n\t'use strict';\n\t\n\tObject.defineProperty(exports, '__esModule', {\n\t value: true\n\t});\n\texports.computeCellMetadataAndUpdateScrollOffsetHelper = computeCellMetadataAndUpdateScrollOffsetHelper;\n\texports.findNearestCell = findNearestCell;\n\texports.getUpdatedOffsetForIndex = getUpdatedOffsetForIndex;\n\texports.getVisibleCellIndices = getVisibleCellIndices;\n\texports.initCellMetadata = initCellMetadata;\n\texports.initOnSectionRenderedHelper = initOnSectionRenderedHelper;\n\texports.updateScrollIndexHelper = updateScrollIndexHelper;\n\t\n\tfunction computeCellMetadataAndUpdateScrollOffsetHelper(_ref) {\n\t var cellsCount = _ref.cellsCount;\n\t var cellSize = _ref.cellSize;\n\t var computeMetadataCallback = _ref.computeMetadataCallback;\n\t var computeMetadataCallbackProps = _ref.computeMetadataCallbackProps;\n\t var computeMetadataOnNextUpdate = _ref.computeMetadataOnNextUpdate;\n\t var nextCellsCount = _ref.nextCellsCount;\n\t var nextCellSize = _ref.nextCellSize;\n\t var nextScrollToIndex = _ref.nextScrollToIndex;\n\t var scrollToIndex = _ref.scrollToIndex;\n\t var updateScrollOffsetForScrollToIndex = _ref.updateScrollOffsetForScrollToIndex;\n\t\n\t // Don't compare cell sizes if they are functions because inline functions would cause infinite loops.\n\t // In that event users should use the manual recompute methods to inform of changes.\n\t if (computeMetadataOnNextUpdate || cellsCount !== nextCellsCount || (typeof cellSize === 'number' || typeof nextCellSize === 'number') && cellSize !== nextCellSize) {\n\t computeMetadataCallback(computeMetadataCallbackProps);\n\t\n\t // Updated cell metadata may have hidden the previous scrolled-to item.\n\t // In this case we should also update the scrollTop to ensure it stays visible.\n\t if (scrollToIndex >= 0 && scrollToIndex === nextScrollToIndex) {\n\t updateScrollOffsetForScrollToIndex();\n\t }\n\t }\n\t}\n\t\n\t/**\n\t * Binary search function inspired by react-infinite.\n\t */\n\t\n\tfunction findNearestCell(_ref2) {\n\t var cellMetadata = _ref2.cellMetadata;\n\t var mode = _ref2.mode;\n\t var offset = _ref2.offset;\n\t\n\t var high = cellMetadata.length - 1;\n\t var low = 0;\n\t var middle = undefined;\n\t var currentOffset = undefined;\n\t\n\t while (low <= high) {\n\t middle = low + Math.floor((high - low) / 2);\n\t currentOffset = cellMetadata[middle].offset;\n\t\n\t if (currentOffset === offset) {\n\t return middle;\n\t } else if (currentOffset < offset) {\n\t low = middle + 1;\n\t } else if (currentOffset > offset) {\n\t high = middle - 1;\n\t }\n\t }\n\t\n\t if (mode === findNearestCell.EQUAL_OR_LOWER && low > 0) {\n\t return low - 1;\n\t } else if (mode === findNearestCell.EQUAL_OR_HIGHER && high < cellMetadata.length - 1) {\n\t return high + 1;\n\t }\n\t}\n\t\n\tfindNearestCell.EQUAL_OR_LOWER = 1;\n\tfindNearestCell.EQUAL_OR_HIGHER = 2;\n\t\n\t/**\n\t * Determines a new offset that ensures a certain cell is visible, given the current offset.\n\t * If the cell is already visible then the current offset will be returned.\n\t * If the current offset is too great or small, it will be adjusted just enough to ensure the specified index is visible.\n\t *\n\t * @param cellMetadata Metadata initially computed by initCellMetadata()\n\t * @param containerSize Total size (width or height) of the container\n\t * @param currentOffset Container's current (x or y) offset\n\t * @param targetIndex Index of target cell\n\t * @return Offset to use to ensure the specified cell is visible\n\t */\n\t\n\tfunction getUpdatedOffsetForIndex(_ref3) {\n\t var cellMetadata = _ref3.cellMetadata;\n\t var containerSize = _ref3.containerSize;\n\t var currentOffset = _ref3.currentOffset;\n\t var targetIndex = _ref3.targetIndex;\n\t\n\t if (cellMetadata.length === 0) {\n\t return 0;\n\t }\n\t\n\t targetIndex = Math.max(0, Math.min(cellMetadata.length - 1, targetIndex));\n\t\n\t var datum = cellMetadata[targetIndex];\n\t var maxOffset = datum.offset;\n\t var minOffset = maxOffset - containerSize + datum.size;\n\t var newOffset = Math.max(minOffset, Math.min(maxOffset, currentOffset));\n\t\n\t return newOffset;\n\t}\n\t\n\t/**\n\t * Determines the range of cells to display for a given offset in order to fill the specified container.\n\t *\n\t * @param cellCount Total number of cells.\n\t * @param cellMetadata Metadata initially computed by initCellMetadata()\n\t * @param containerSize Total size (width or height) of the container\n\t * @param currentOffset Container's current (x or y) offset\n\t * @return An object containing :start and :stop attributes, each specifying a cell index\n\t */\n\t\n\tfunction getVisibleCellIndices(_ref4) {\n\t var cellCount = _ref4.cellCount;\n\t var cellMetadata = _ref4.cellMetadata;\n\t var containerSize = _ref4.containerSize;\n\t var currentOffset = _ref4.currentOffset;\n\t\n\t if (cellCount === 0) {\n\t return {};\n\t }\n\t\n\t currentOffset = Math.max(0, currentOffset);\n\t\n\t var maxOffset = currentOffset + containerSize;\n\t\n\t var start = findNearestCell({\n\t cellMetadata: cellMetadata,\n\t mode: findNearestCell.EQUAL_OR_LOWER,\n\t offset: currentOffset\n\t });\n\t\n\t var datum = cellMetadata[start];\n\t currentOffset = datum.offset + datum.size;\n\t\n\t var stop = start;\n\t\n\t while (currentOffset < maxOffset && stop < cellCount - 1) {\n\t stop++;\n\t\n\t currentOffset += cellMetadata[stop].size;\n\t }\n\t\n\t return {\n\t start: start,\n\t stop: stop\n\t };\n\t}\n\t\n\t/**\n\t * Initializes metadata for an axis and its cells.\n\t * This data is used to determine which cells are visible given a container size and scroll position.\n\t *\n\t * @param cellCount Total number of cells.\n\t * @param size Either a fixed size or a function that returns the size for a given given an index.\n\t * @return Object mapping cell index to cell metadata (size, offset)\n\t */\n\t\n\tfunction initCellMetadata(_ref5) {\n\t var cellCount = _ref5.cellCount;\n\t var size = _ref5.size;\n\t\n\t var sizeGetter = size instanceof Function ? size : function (index) {\n\t return size;\n\t };\n\t\n\t var cellMetadata = [];\n\t var offset = 0;\n\t\n\t for (var i = 0; i < cellCount; i++) {\n\t var _size = sizeGetter(i);\n\t\n\t if (_size == null || Number.isNaN(_size)) {\n\t throw Error('Invalid size returned for cell ' + i + ' of value ' + _size);\n\t }\n\t\n\t cellMetadata[i] = {\n\t size: _size,\n\t offset: offset\n\t };\n\t\n\t offset += _size;\n\t }\n\t\n\t return cellMetadata;\n\t}\n\t\n\t/**\n\t * Helper utility that updates the specified callback whenever any of the specified indices have changed.\n\t */\n\t\n\tfunction initOnSectionRenderedHelper() {\n\t var cachedIndices = {};\n\t\n\t return function (_ref6) {\n\t var callback = _ref6.callback;\n\t var indices = _ref6.indices;\n\t\n\t var keys = Object.keys(indices);\n\t var allInitialized = keys.every(function (key) {\n\t return indices[key] >= 0;\n\t });\n\t var indexChanged = keys.some(function (key) {\n\t return cachedIndices[key] !== indices[key];\n\t });\n\t\n\t cachedIndices = indices;\n\t\n\t if (allInitialized && indexChanged) {\n\t callback(indices);\n\t }\n\t };\n\t}\n\t\n\t/**\n\t * Helper function that determines when to update scroll offsets to ensure that a scroll-to-index remains visible.\n\t *\n\t * @param cellMetadata Metadata initially computed by initCellMetadata()\n\t * @param cellsCount Number of rows or columns in the current axis\n\t * @param cellsSize Width or height of cells for the current axis\n\t * @param previousCellsCount Previous number of rows or columns\n\t * @param previousCellsSize Previous width or height of cells\n\t * @param previousScrollToIndex Previous scroll-to-index\n\t * @param previousSize Previous width or height of the virtualized container\n\t * @param scrollOffset Current scrollLeft or scrollTop\n\t * @param scrollToIndex Scroll-to-index\n\t * @param size Width or height of the virtualized container\n\t * @param updateScrollIndexCallback Callback to invoke with an optional scroll-to-index override\n\t */\n\t\n\tfunction updateScrollIndexHelper(_ref7) {\n\t var cellMetadata = _ref7.cellMetadata;\n\t var cellsCount = _ref7.cellsCount;\n\t var cellSize = _ref7.cellSize;\n\t var previousCellsCount = _ref7.previousCellsCount;\n\t var previousCellSize = _ref7.previousCellSize;\n\t var previousScrollToIndex = _ref7.previousScrollToIndex;\n\t var previousSize = _ref7.previousSize;\n\t var scrollOffset = _ref7.scrollOffset;\n\t var scrollToIndex = _ref7.scrollToIndex;\n\t var size = _ref7.size;\n\t var updateScrollIndexCallback = _ref7.updateScrollIndexCallback;\n\t\n\t var hasScrollToIndex = scrollToIndex >= 0 && scrollToIndex < cellsCount;\n\t var sizeHasChanged = size !== previousSize || !previousCellSize || typeof cellSize === 'number' && cellSize !== previousCellSize;\n\t\n\t // If we have a new scroll target OR if height/row-height has changed,\n\t // We should ensure that the scroll target is visible.\n\t if (hasScrollToIndex && (sizeHasChanged || scrollToIndex !== previousScrollToIndex)) {\n\t updateScrollIndexCallback();\n\t\n\t // If we don't have a selected item but list size or number of children have decreased,\n\t // Make sure we aren't scrolled too far past the current content.\n\t } else if (!hasScrollToIndex && (size < previousSize || cellsCount < previousCellsCount)) {\n\t var calculatedScrollOffset = getUpdatedOffsetForIndex({\n\t cellMetadata: cellMetadata,\n\t containerSize: size,\n\t currentOffset: scrollOffset,\n\t targetIndex: cellsCount - 1\n\t });\n\t\n\t // Only adjust the scroll position if we've scrolled below the last set of rows.\n\t if (calculatedScrollOffset < scrollOffset) {\n\t updateScrollIndexCallback(cellsCount - 1);\n\t }\n\t }\n\t}\n\n/***/ },\n/* 16 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar now = __webpack_require__(17)\n\t , global = typeof window === 'undefined' ? {} : window\n\t , vendors = ['moz', 'webkit']\n\t , suffix = 'AnimationFrame'\n\t , raf = global['request' + suffix]\n\t , caf = global['cancel' + suffix] || global['cancelRequest' + suffix]\n\t\n\tfor(var i = 0; i < vendors.length && !raf; i++) {\n\t raf = global[vendors[i] + 'Request' + suffix]\n\t caf = global[vendors[i] + 'Cancel' + suffix]\n\t || global[vendors[i] + 'CancelRequest' + suffix]\n\t}\n\t\n\t// Some versions of FF have rAF but not cAF\n\tif(!raf || !caf) {\n\t var last = 0\n\t , id = 0\n\t , queue = []\n\t , frameDuration = 1000 / 60\n\t\n\t raf = function(callback) {\n\t if(queue.length === 0) {\n\t var _now = now()\n\t , next = Math.max(0, frameDuration - (_now - last))\n\t last = next + _now\n\t setTimeout(function() {\n\t var cp = queue.slice(0)\n\t // Clear queue here to prevent\n\t // callbacks from appending listeners\n\t // to the current frame's queue\n\t queue.length = 0\n\t for(var i = 0; i < cp.length; i++) {\n\t if(!cp[i].cancelled) {\n\t try{\n\t cp[i].callback(last)\n\t } catch(e) {\n\t setTimeout(function() { throw e }, 0)\n\t }\n\t }\n\t }\n\t }, Math.round(next))\n\t }\n\t queue.push({\n\t handle: ++id,\n\t callback: callback,\n\t cancelled: false\n\t })\n\t return id\n\t }\n\t\n\t caf = function(handle) {\n\t for(var i = 0; i < queue.length; i++) {\n\t if(queue[i].handle === handle) {\n\t queue[i].cancelled = true\n\t }\n\t }\n\t }\n\t}\n\t\n\tmodule.exports = function(fn) {\n\t // Wrap in a new function to prevent\n\t // `cancel` potentially being assigned\n\t // to the native rAF function\n\t return raf.call(global, fn)\n\t}\n\tmodule.exports.cancel = function() {\n\t caf.apply(global, arguments)\n\t}\n\n\n/***/ },\n/* 17 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/* WEBPACK VAR INJECTION */(function(process) {// Generated by CoffeeScript 1.7.1\n\t(function() {\n\t var getNanoSeconds, hrtime, loadTime;\n\t\n\t if ((typeof performance !== \"undefined\" && performance !== null) && performance.now) {\n\t module.exports = function() {\n\t return performance.now();\n\t };\n\t } else if ((typeof process !== \"undefined\" && process !== null) && process.hrtime) {\n\t module.exports = function() {\n\t return (getNanoSeconds() - loadTime) / 1e6;\n\t };\n\t hrtime = process.hrtime;\n\t getNanoSeconds = function() {\n\t var hr;\n\t hr = hrtime();\n\t return hr[0] * 1e9 + hr[1];\n\t };\n\t loadTime = getNanoSeconds();\n\t } else if (Date.now) {\n\t module.exports = function() {\n\t return Date.now() - loadTime;\n\t };\n\t loadTime = Date.now();\n\t } else {\n\t module.exports = function() {\n\t return new Date().getTime() - loadTime;\n\t };\n\t loadTime = new Date().getTime();\n\t }\n\t\n\t}).call(this);\n\t\n\t/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(18)))\n\n/***/ },\n/* 18 */\n/***/ function(module, exports) {\n\n\t// shim for using process in browser\n\t\n\tvar process = module.exports = {};\n\tvar queue = [];\n\tvar draining = false;\n\tvar currentQueue;\n\tvar queueIndex = -1;\n\t\n\tfunction cleanUpNextTick() {\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 = setTimeout(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 clearTimeout(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 setTimeout(drainQueue, 0);\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\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/* 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\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\t\n\tvar _Grid2 = __webpack_require__(20);\n\t\n\tvar _Grid3 = _interopRequireDefault(_Grid2);\n\t\n\texports['default'] = _Grid3['default'];\n\t\n\tvar _Grid4 = _interopRequireDefault(_Grid2);\n\t\n\texports.Grid = _Grid4['default'];\n\n/***/ },\n/* 20 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/* WEBPACK VAR INJECTION */(function(setImmediate, clearImmediate) {'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 _get = function get(_x, _x2, _x3) { var _again = true; _function: while (_again) { var object = _x, property = _x2, receiver = _x3; _again = false; if (object === null) object = Function.prototype; var desc = Object.getOwnPropertyDescriptor(object, property); if (desc === undefined) { var parent = Object.getPrototypeOf(object); if (parent === null) { return undefined; } else { _x = parent; _x2 = property; _x3 = receiver; _again = true; desc = parent = undefined; continue _function; } } else if ('value' in desc) { return desc.value; } else { var getter = desc.get; if (getter === undefined) { return undefined; } return getter.call(receiver); } } };\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 _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 _utils = __webpack_require__(15);\n\t\n\tvar _classnames = __webpack_require__(3);\n\t\n\tvar _classnames2 = _interopRequireDefault(_classnames);\n\t\n\tvar _raf = __webpack_require__(16);\n\t\n\tvar _raf2 = _interopRequireDefault(_raf);\n\t\n\tvar _react = __webpack_require__(4);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _reactPureRenderFunction = __webpack_require__(5);\n\t\n\tvar _reactPureRenderFunction2 = _interopRequireDefault(_reactPureRenderFunction);\n\t\n\t/**\n\t * Specifies the number of miliseconds during which to disable pointer events while a scroll is in progress.\n\t * This improves performance and makes scrolling smoother.\n\t */\n\tvar IS_SCROLLING_TIMEOUT = 150;\n\t\n\t/**\n\t * Renders tabular data with virtualization along the vertical and horizontal axes.\n\t * Row heights and column widths must be known ahead of time and specified as properties.\n\t */\n\t\n\tvar Grid = (function (_Component) {\n\t _inherits(Grid, _Component);\n\t\n\t _createClass(Grid, null, [{\n\t key: 'propTypes',\n\t value: {\n\t /**\n\t * Optional custom CSS class name to attach to root Grid element.\n\t */\n\t className: _react.PropTypes.string,\n\t\n\t /**\n\t * Number of columns in grid.\n\t */\n\t columnsCount: _react.PropTypes.number.isRequired,\n\t\n\t /**\n\t * Either a fixed column width (number) or a function that returns the width of a column given its index.\n\t * Should implement the following interface: (index: number): number\n\t */\n\t columnWidth: _react.PropTypes.oneOfType([_react.PropTypes.number, _react.PropTypes.func]).isRequired,\n\t\n\t /**\n\t * Height of Grid; this property determines the number of visible (vs virtualized) rows.\n\t */\n\t height: _react.PropTypes.number.isRequired,\n\t\n\t /**\n\t * Optional renderer to be used in place of rows when either :rowsCount or :columnsCount is 0.\n\t */\n\t noContentRenderer: _react.PropTypes.func.isRequired,\n\t\n\t /**\n\t * Callback invoked with information about the section of the Grid that was just rendered.\n\t * ({ columnStartIndex, columnStopIndex, rowStartIndex, rowStopIndex }): void\n\t */\n\t onSectionRendered: _react.PropTypes.func.isRequired,\n\t\n\t /**\n\t * Responsible for rendering a cell given an row and column index.\n\t * Should implement the following interface: ({ columnIndex: number, rowIndex: number }): PropTypes.node\n\t */\n\t renderCell: _react.PropTypes.func.isRequired,\n\t\n\t /**\n\t * Either a fixed row height (number) or a function that returns the height of a row given its index.\n\t * Should implement the following interface: (index: number): number\n\t */\n\t rowHeight: _react.PropTypes.oneOfType([_react.PropTypes.number, _react.PropTypes.func]).isRequired,\n\t\n\t /**\n\t * Number of rows in grid.\n\t */\n\t rowsCount: _react.PropTypes.number.isRequired,\n\t\n\t /**\n\t * Column index to ensure visible (by forcefully scrolling if necessary)\n\t */\n\t scrollToColumn: _react.PropTypes.number,\n\t\n\t /**\n\t * Row index to ensure visible (by forcefully scrolling if necessary)\n\t */\n\t scrollToRow: _react.PropTypes.number,\n\t\n\t /**\n\t * Width of Grid; this property determines the number of visible (vs virtualized) columns.\n\t */\n\t width: _react.PropTypes.number.isRequired\n\t },\n\t enumerable: true\n\t }, {\n\t key: 'defaultProps',\n\t value: {\n\t noContentRenderer: function noContentRenderer() {\n\t return null;\n\t },\n\t onSectionRendered: function onSectionRendered() {\n\t return null;\n\t }\n\t },\n\t enumerable: true\n\t }]);\n\t\n\t function Grid(props, context) {\n\t _classCallCheck(this, Grid);\n\t\n\t _get(Object.getPrototypeOf(Grid.prototype), 'constructor', this).call(this, props, context);\n\t\n\t this.shouldComponentUpdate = _reactPureRenderFunction2['default'];\n\t this.state = {\n\t computeGridMetadataOnNextUpdate: false,\n\t isScrolling: false,\n\t scrollLeft: 0,\n\t scrollTop: 0\n\t };\n\t\n\t // Invokes onSectionRendered callback only when start/stop row or column indices change\n\t this._OnGridRenderedHelper = (0, _utils.initOnSectionRenderedHelper)();\n\t\n\t // Bind functions to instance so they don't lose context when passed around\n\t this._computeGridMetadata = this._computeGridMetadata.bind(this);\n\t this._invokeOnGridRenderedHelper = this._invokeOnGridRenderedHelper.bind(this);\n\t this._onKeyPress = this._onKeyPress.bind(this);\n\t this._onScroll = this._onScroll.bind(this);\n\t this._onWheel = this._onWheel.bind(this);\n\t this._updateScrollLeftForScrollToColumn = this._updateScrollLeftForScrollToColumn.bind(this);\n\t this._updateScrollTopForScrollToRow = this._updateScrollTopForScrollToRow.bind(this);\n\t }\n\t\n\t /**\n\t * Forced recompute of row heights and column widths.\n\t * This function should be called if dynamic column or row sizes have changed but nothing else has.\n\t * Since Grid only receives :columnsCount and :rowsCount it has no way of detecting when the underlying data changes.\n\t */\n\t\n\t _createClass(Grid, [{\n\t key: 'recomputeGridSize',\n\t value: function recomputeGridSize() {\n\t this.setState({\n\t computeGridMetadataOnNextUpdate: true\n\t });\n\t }\n\t\n\t /**\n\t * Updates the Grid to ensure the cell at the specified row and column indices is visible.\n\t * This method exists so that a user can forcefully scroll to the same cell twice.\n\t * (The :scrollToColumn and :scrollToRow properties would not change in that case so it would not be picked up by the component.)\n\t */\n\t }, {\n\t key: 'scrollToCell',\n\t value: function scrollToCell(_ref) {\n\t var scrollToColumn = _ref.scrollToColumn;\n\t var scrollToRow = _ref.scrollToRow;\n\t\n\t this._updateScrollLeftForScrollToColumn(scrollToColumn);\n\t this._updateScrollTopForScrollToRow(scrollToRow);\n\t }\n\t }, {\n\t key: 'componentDidMount',\n\t value: function componentDidMount() {\n\t var _this = this;\n\t\n\t var _props = this.props;\n\t var scrollToColumn = _props.scrollToColumn;\n\t var scrollToRow = _props.scrollToRow;\n\t\n\t if (scrollToColumn >= 0 || scrollToRow >= 0) {\n\t // Without setImmediate() the initial scrollingContainer.scrollTop assignment doesn't work\n\t this._setImmediateId = setImmediate(function () {\n\t _this._setImmediateId = null;\n\t _this._updateScrollLeftForScrollToColumn();\n\t _this._updateScrollTopForScrollToRow();\n\t });\n\t }\n\t\n\t // Update onRowsRendered callback\n\t this._invokeOnGridRenderedHelper();\n\t }\n\t }, {\n\t key: 'componentDidUpdate',\n\t value: function componentDidUpdate(prevProps, prevState) {\n\t var _props2 = this.props;\n\t var columnsCount = _props2.columnsCount;\n\t var columnWidth = _props2.columnWidth;\n\t var height = _props2.height;\n\t var rowHeight = _props2.rowHeight;\n\t var rowsCount = _props2.rowsCount;\n\t var scrollToColumn = _props2.scrollToColumn;\n\t var scrollToRow = _props2.scrollToRow;\n\t var width = _props2.width;\n\t var _state = this.state;\n\t var scrollLeft = _state.scrollLeft;\n\t var scrollTop = _state.scrollTop;\n\t\n\t // Make sure any changes to :scrollLeft or :scrollTop get applied\n\t if (scrollLeft >= 0 && scrollLeft !== prevState.scrollLeft || scrollTop >= 0 && scrollTop !== prevState.scrollTop) {\n\t this.refs.scrollingContainer.scrollLeft = scrollLeft;\n\t this.refs.scrollingContainer.scrollTop = scrollTop;\n\t }\n\t\n\t // Update scrollLeft if appropriate\n\t (0, _utils.updateScrollIndexHelper)({\n\t cellMetadata: this._columnMetadata,\n\t cellsCount: columnsCount,\n\t cellSize: columnWidth,\n\t previousCellsCount: prevProps.columnsCount,\n\t previousCellSize: prevProps.columnWidth,\n\t previousScrollToIndex: prevProps.scrollToColumn,\n\t previousSize: prevProps.width,\n\t scrollOffset: scrollLeft,\n\t scrollToIndex: scrollToColumn,\n\t size: width,\n\t updateScrollIndexCallback: this._updateScrollLeftForScrollToColumn\n\t });\n\t\n\t // Update scrollTop if appropriate\n\t (0, _utils.updateScrollIndexHelper)({\n\t cellMetadata: this._rowMetadata,\n\t cellsCount: rowsCount,\n\t cellSize: rowHeight,\n\t previousCellsCount: prevProps.rowsCount,\n\t previousCellSize: prevProps.rowHeight,\n\t previousScrollToIndex: prevProps.scrollToRow,\n\t previousSize: prevProps.height,\n\t scrollOffset: scrollTop,\n\t scrollToIndex: scrollToRow,\n\t size: height,\n\t updateScrollIndexCallback: this._updateScrollTopForScrollToRow\n\t });\n\t\n\t // Update onRowsRendered callback if start/stop indices have changed\n\t this._invokeOnGridRenderedHelper();\n\t }\n\t }, {\n\t key: 'componentWillMount',\n\t value: function componentWillMount() {\n\t this._computeGridMetadata(this.props);\n\t }\n\t }, {\n\t key: 'componentWillUnmount',\n\t value: function componentWillUnmount() {\n\t if (this._disablePointerEventsTimeoutId) {\n\t clearTimeout(this._disablePointerEventsTimeoutId);\n\t }\n\t if (this._setImmediateId) {\n\t clearImmediate(this._setImmediateId);\n\t }\n\t if (this._setNextStateAnimationFrameId) {\n\t _raf2['default'].cancel(this._setNextStateAnimationFrameId);\n\t }\n\t }\n\t }, {\n\t key: 'componentWillUpdate',\n\t value: function componentWillUpdate(nextProps, nextState) {\n\t if (nextProps.columnsCount === 0 && nextState.scrollLeft !== 0) {\n\t this.setState({ scrollLeft: 0 });\n\t }\n\t\n\t if (nextProps.rowsCount === 0 && nextState.scrollTop !== 0) {\n\t this.setState({ scrollTop: 0 });\n\t }\n\t\n\t (0, _utils.computeCellMetadataAndUpdateScrollOffsetHelper)({\n\t cellsCount: this.props.columnsCount,\n\t cellSize: this.props.columnWidth,\n\t computeMetadataCallback: this._computeGridMetadata,\n\t computeMetadataCallbackProps: nextProps,\n\t computeMetadataOnNextUpdate: nextState.computeGridMetadataOnNextUpdate,\n\t nextCellsCount: nextProps.columnsCount,\n\t nextCellSize: nextProps.columnWidth,\n\t nextScrollToIndex: nextProps.scrollToColumn,\n\t scrollToIndex: this.props.scrollToColumn,\n\t updateScrollOffsetForScrollToIndex: this._updateScrollLeftForScrollToColumn\n\t });\n\t\n\t (0, _utils.computeCellMetadataAndUpdateScrollOffsetHelper)({\n\t cellsCount: this.props.rowsCount,\n\t cellSize: this.props.rowHeight,\n\t computeMetadataCallback: this._computeGridMetadata,\n\t computeMetadataCallbackProps: nextProps,\n\t computeMetadataOnNextUpdate: nextState.computeGridMetadataOnNextUpdate,\n\t nextCellsCount: nextProps.rowsCount,\n\t nextCellSize: nextProps.rowHeight,\n\t nextScrollToIndex: nextProps.scrollToRow,\n\t scrollToIndex: this.props.scrollToRow,\n\t updateScrollOffsetForScrollToIndex: this._updateScrollTopForScrollToRow\n\t });\n\t\n\t this.setState({\n\t computeGridMetadataOnNextUpdate: false\n\t });\n\t }\n\t }, {\n\t key: 'render',\n\t value: function render() {\n\t var _props3 = this.props;\n\t var className = _props3.className;\n\t var columnsCount = _props3.columnsCount;\n\t var height = _props3.height;\n\t var noContentRenderer = _props3.noContentRenderer;\n\t var renderCell = _props3.renderCell;\n\t var rowsCount = _props3.rowsCount;\n\t var width = _props3.width;\n\t var _state2 = this.state;\n\t var isScrolling = _state2.isScrolling;\n\t var scrollLeft = _state2.scrollLeft;\n\t var scrollTop = _state2.scrollTop;\n\t\n\t var childrenToDisplay = [];\n\t\n\t // Render only enough columns and rows to cover the visible area of the grid.\n\t if (height > 0 && width > 0) {\n\t var _getVisibleCellIndices = (0, _utils.getVisibleCellIndices)({\n\t cellCount: columnsCount,\n\t cellMetadata: this._columnMetadata,\n\t containerSize: width,\n\t currentOffset: scrollLeft\n\t });\n\t\n\t var columnStartIndex = _getVisibleCellIndices.start;\n\t var columnStopIndex = _getVisibleCellIndices.stop;\n\t\n\t var _getVisibleCellIndices2 = (0, _utils.getVisibleCellIndices)({\n\t cellCount: rowsCount,\n\t cellMetadata: this._rowMetadata,\n\t containerSize: height,\n\t currentOffset: scrollTop\n\t });\n\t\n\t var rowStartIndex = _getVisibleCellIndices2.start;\n\t var rowStopIndex = _getVisibleCellIndices2.stop;\n\t\n\t // Store for :onSectionRendered callback in componentDidUpdate\n\t this._renderedColumnStartIndex = columnStartIndex;\n\t this._renderedColumnStopIndex = columnStopIndex;\n\t this._renderedRowStartIndex = rowStartIndex;\n\t this._renderedRowStopIndex = rowStopIndex;\n\t\n\t for (var rowIndex = rowStartIndex; rowIndex <= rowStopIndex; rowIndex++) {\n\t var rowDatum = this._rowMetadata[rowIndex];\n\t\n\t for (var columnIndex = columnStartIndex; columnIndex <= columnStopIndex; columnIndex++) {\n\t var columnDatum = this._columnMetadata[columnIndex];\n\t var child = renderCell({ columnIndex: columnIndex, rowIndex: rowIndex });\n\t\n\t child = _react2['default'].createElement(\n\t 'div',\n\t {\n\t key: 'row:' + rowIndex + ', column:' + columnIndex,\n\t style: {\n\t position: 'absolute',\n\t left: columnDatum.offset,\n\t top: rowDatum.offset,\n\t height: this._getRowHeight(rowIndex),\n\t width: this._getColumnWidth(columnIndex)\n\t }\n\t },\n\t child\n\t );\n\t\n\t childrenToDisplay.push(child);\n\t }\n\t }\n\t }\n\t\n\t return _react2['default'].createElement(\n\t 'div',\n\t {\n\t ref: 'scrollingContainer',\n\t className: (0, _classnames2['default'])('Grid', className),\n\t onKeyDown: this._onKeyPress,\n\t onScroll: this._onScroll,\n\t onWheel: this._onWheel,\n\t tabIndex: 0,\n\t style: {\n\t position: 'relative',\n\t overflow: 'auto',\n\t height: height,\n\t width: width,\n\t outline: 0\n\t }\n\t },\n\t childrenToDisplay.length > 0 && _react2['default'].createElement(\n\t 'div',\n\t {\n\t style: {\n\t width: this._getTotalColumnsWidth(),\n\t height: this._getTotalRowsHeight(),\n\t maxWidth: this._getTotalColumnsWidth(),\n\t maxHeight: this._getTotalRowsHeight(),\n\t pointerEvents: isScrolling ? 'none' : 'auto',\n\t boxSizing: 'border-box',\n\t overflowX: 'auto',\n\t overflowY: 'hidden'\n\t }\n\t },\n\t childrenToDisplay\n\t ),\n\t childrenToDisplay.length === 0 && noContentRenderer()\n\t );\n\t }\n\t\n\t /* ---------------------------- Helper methods ---------------------------- */\n\t\n\t }, {\n\t key: '_computeGridMetadata',\n\t value: function _computeGridMetadata(props) {\n\t var columnsCount = props.columnsCount;\n\t var columnWidth = props.columnWidth;\n\t var rowHeight = props.rowHeight;\n\t var rowsCount = props.rowsCount;\n\t\n\t this._columnMetadata = (0, _utils.initCellMetadata)({\n\t cellCount: columnsCount,\n\t size: columnWidth\n\t });\n\t this._rowMetadata = (0, _utils.initCellMetadata)({\n\t cellCount: rowsCount,\n\t size: rowHeight\n\t });\n\t }\n\t }, {\n\t key: '_getColumnWidth',\n\t value: function _getColumnWidth(index) {\n\t var columnWidth = this.props.columnWidth;\n\t\n\t return columnWidth instanceof Function ? columnWidth(index) : columnWidth;\n\t }\n\t }, {\n\t key: '_getRowHeight',\n\t value: function _getRowHeight(index) {\n\t var rowHeight = this.props.rowHeight;\n\t\n\t return rowHeight instanceof Function ? rowHeight(index) : rowHeight;\n\t }\n\t }, {\n\t key: '_getTotalColumnsWidth',\n\t value: function _getTotalColumnsWidth() {\n\t if (this._columnMetadata.length === 0) {\n\t return 0;\n\t }\n\t\n\t var datum = this._columnMetadata[this._columnMetadata.length - 1];\n\t return datum.offset + datum.size;\n\t }\n\t }, {\n\t key: '_getTotalRowsHeight',\n\t value: function _getTotalRowsHeight() {\n\t if (this._rowMetadata.length === 0) {\n\t return 0;\n\t }\n\t\n\t var datum = this._rowMetadata[this._rowMetadata.length - 1];\n\t return datum.offset + datum.size;\n\t }\n\t }, {\n\t key: '_invokeOnGridRenderedHelper',\n\t value: function _invokeOnGridRenderedHelper() {\n\t var onSectionRendered = this.props.onSectionRendered;\n\t\n\t this._OnGridRenderedHelper({\n\t callback: onSectionRendered,\n\t indices: {\n\t columnStartIndex: this._renderedColumnStartIndex,\n\t columnStopIndex: this._renderedColumnStopIndex,\n\t rowStartIndex: this._renderedRowStartIndex,\n\t rowStopIndex: this._renderedRowStopIndex\n\t }\n\t });\n\t }\n\t\n\t /**\n\t * Updates the state during the next animation frame.\n\t * Use this method to avoid multiple renders in a small span of time.\n\t * This helps performance for bursty events (like onWheel).\n\t */\n\t }, {\n\t key: '_setNextState',\n\t value: function _setNextState(state) {\n\t var _this2 = this;\n\t\n\t if (this._setNextStateAnimationFrameId) {\n\t _raf2['default'].cancel(this._setNextStateAnimationFrameId);\n\t }\n\t\n\t this._setNextStateAnimationFrameId = (0, _raf2['default'])(function () {\n\t _this2._setNextStateAnimationFrameId = null;\n\t _this2.setState(state);\n\t });\n\t }\n\t }, {\n\t key: '_setNextStateForScrollHelper',\n\t value: function _setNextStateForScrollHelper(_ref2) {\n\t var scrollLeft = _ref2.scrollLeft;\n\t var scrollTop = _ref2.scrollTop;\n\t\n\t // Certain devices (like Apple touchpad) rapid-fire duplicate events.\n\t // Don't force a re-render if this is the case.\n\t if (this.state.scrollLeft === scrollLeft && this.state.scrollTop === scrollTop) {\n\t return;\n\t }\n\t\n\t // Prevent pointer events from interrupting a smooth scroll\n\t this._temporarilyDisablePointerEvents();\n\t\n\t // The mouse may move faster then the animation frame does.\n\t // Use requestAnimationFrame to avoid over-updating.\n\t this._setNextState({\n\t isScrolling: true,\n\t scrollLeft: scrollLeft,\n\t scrollTop: scrollTop\n\t });\n\t }\n\t }, {\n\t key: '_stopEvent',\n\t value: function _stopEvent(event) {\n\t event.preventDefault();\n\t event.stopPropagation();\n\t }\n\t\n\t /**\n\t * Sets an :isScrolling flag for a small window of time.\n\t * This flag is used to disable pointer events on the scrollable portion of the Grid.\n\t * This prevents jerky/stuttery mouse-wheel scrolling.\n\t */\n\t }, {\n\t key: '_temporarilyDisablePointerEvents',\n\t value: function _temporarilyDisablePointerEvents() {\n\t var _this3 = this;\n\t\n\t if (this._disablePointerEventsTimeoutId) {\n\t clearTimeout(this._disablePointerEventsTimeoutId);\n\t }\n\t\n\t this._disablePointerEventsTimeoutId = setTimeout(function () {\n\t _this3._disablePointerEventsTimeoutId = null;\n\t _this3.setState({\n\t isScrolling: false\n\t });\n\t }, IS_SCROLLING_TIMEOUT);\n\t }\n\t }, {\n\t key: '_updateScrollLeftForScrollToColumn',\n\t value: function _updateScrollLeftForScrollToColumn(scrollToColumnOverride) {\n\t var scrollToColumn = scrollToColumnOverride != null ? scrollToColumnOverride : this.props.scrollToColumn;\n\t\n\t var width = this.props.width;\n\t var scrollLeft = this.state.scrollLeft;\n\t\n\t if (scrollToColumn >= 0) {\n\t var calculatedScrollLeft = (0, _utils.getUpdatedOffsetForIndex)({\n\t cellMetadata: this._columnMetadata,\n\t containerSize: width,\n\t currentOffset: scrollLeft,\n\t targetIndex: scrollToColumn\n\t });\n\t\n\t if (scrollLeft !== calculatedScrollLeft) {\n\t this.setState({ scrollLeft: calculatedScrollLeft });\n\t }\n\t }\n\t }\n\t }, {\n\t key: '_updateScrollTopForScrollToRow',\n\t value: function _updateScrollTopForScrollToRow(scrollToRowOverride) {\n\t var scrollToRow = scrollToRowOverride != null ? scrollToRowOverride : this.props.scrollToRow;\n\t\n\t var height = this.props.height;\n\t var scrollTop = this.state.scrollTop;\n\t\n\t if (scrollToRow >= 0) {\n\t var calculatedScrollTop = (0, _utils.getUpdatedOffsetForIndex)({\n\t cellMetadata: this._rowMetadata,\n\t containerSize: height,\n\t currentOffset: scrollTop,\n\t targetIndex: scrollToRow\n\t });\n\t\n\t if (scrollTop !== calculatedScrollTop) {\n\t this.setState({ scrollTop: calculatedScrollTop });\n\t }\n\t }\n\t }\n\t\n\t /* ---------------------------- Event handlers ---------------------------- */\n\t\n\t }, {\n\t key: '_onKeyPress',\n\t value: function _onKeyPress(event) {\n\t var _props4 = this.props;\n\t var columnsCount = _props4.columnsCount;\n\t var height = _props4.height;\n\t var rowsCount = _props4.rowsCount;\n\t var width = _props4.width;\n\t var _state3 = this.state;\n\t var scrollLeft = _state3.scrollLeft;\n\t var scrollTop = _state3.scrollTop;\n\t\n\t var start = undefined,\n\t datum = undefined,\n\t newScrollLeft = undefined,\n\t newScrollTop = undefined;\n\t\n\t if (columnsCount === 0 || rowsCount === 0) {\n\t return;\n\t }\n\t\n\t switch (event.key) {\n\t case 'ArrowDown':\n\t this._stopEvent(event); // Prevent key from also scrolling surrounding window\n\t\n\t start = (0, _utils.getVisibleCellIndices)({\n\t cellCount: rowsCount,\n\t cellMetadata: this._rowMetadata,\n\t containerSize: height,\n\t currentOffset: scrollTop\n\t }).start;\n\t datum = this._rowMetadata[start];\n\t newScrollTop = Math.min(this._getTotalRowsHeight() - height, scrollTop + datum.size);\n\t\n\t this.setState({\n\t scrollTop: newScrollTop\n\t });\n\t break;\n\t case 'ArrowLeft':\n\t this._stopEvent(event); // Prevent key from also scrolling surrounding window\n\t\n\t start = (0, _utils.getVisibleCellIndices)({\n\t cellCount: columnsCount,\n\t cellMetadata: this._columnMetadata,\n\t containerSize: width,\n\t currentOffset: scrollLeft\n\t }).start;\n\t\n\t this.scrollToCell({\n\t scrollToColumn: Math.max(0, start - 1),\n\t scrollToRow: this.props.scrollToRow\n\t });\n\t break;\n\t case 'ArrowRight':\n\t this._stopEvent(event); // Prevent key from also scrolling surrounding window\n\t\n\t start = (0, _utils.getVisibleCellIndices)({\n\t cellCount: columnsCount,\n\t cellMetadata: this._columnMetadata,\n\t containerSize: width,\n\t currentOffset: scrollLeft\n\t }).start;\n\t datum = this._columnMetadata[start];\n\t newScrollLeft = Math.min(this._getTotalColumnsWidth() - width, scrollLeft + datum.size);\n\t\n\t this.setState({\n\t scrollLeft: newScrollLeft\n\t });\n\t break;\n\t case 'ArrowUp':\n\t this._stopEvent(event); // Prevent key from also scrolling surrounding window\n\t\n\t start = (0, _utils.getVisibleCellIndices)({\n\t cellCount: rowsCount,\n\t cellMetadata: this._rowMetadata,\n\t containerSize: height,\n\t currentOffset: scrollTop\n\t }).start;\n\t\n\t this.scrollToCell({\n\t scrollToColumn: this.props.scrollToColumn,\n\t scrollToRow: Math.max(0, start - 1)\n\t });\n\t break;\n\t }\n\t }\n\t }, {\n\t key: '_onScroll',\n\t value: function _onScroll(event) {\n\t // In certain edge-cases React dispatches an onScroll event with an invalid target.scrollLeft / target.scrollTop.\n\t // This invalid event can be detected by comparing event.target to this component's scrollable DOM element.\n\t // See issue #404 for more information.\n\t if (event.target !== this.refs.scrollingContainer) {\n\t return;\n\t }\n\t\n\t // When this component is shrunk drastically, React dispatches a series of back-to-back scroll events,\n\t // Gradually converging on a scrollTop that is within the bounds of the new, smaller height.\n\t // This causes a series of rapid renders that is slow for long lists.\n\t // We can avoid that by doing some simple bounds checking to ensure that scrollTop never exceeds the total height.\n\t var _props5 = this.props;\n\t var height = _props5.height;\n\t var width = _props5.width;\n\t\n\t var totalRowsHeight = this._getTotalRowsHeight();\n\t var totalColumnsWidth = this._getTotalColumnsWidth();\n\t var scrollLeft = Math.min(totalColumnsWidth - width, event.target.scrollLeft);\n\t var scrollTop = Math.min(totalRowsHeight - height, event.target.scrollTop);\n\t\n\t this._setNextStateForScrollHelper({ scrollLeft: scrollLeft, scrollTop: scrollTop });\n\t }\n\t }, {\n\t key: '_onWheel',\n\t value: function _onWheel(event) {\n\t var scrollLeft = this.refs.scrollingContainer.scrollLeft;\n\t var scrollTop = this.refs.scrollingContainer.scrollTop;\n\t\n\t this._setNextStateForScrollHelper({ scrollLeft: scrollLeft, scrollTop: scrollTop });\n\t }\n\t }]);\n\t\n\t return Grid;\n\t})(_react.Component);\n\t\n\texports['default'] = Grid;\n\tmodule.exports = exports['default'];\n\t/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(13).setImmediate, __webpack_require__(13).clearImmediate))\n\n/***/ },\n/* 21 */\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\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\t\n\tvar _InfiniteLoader2 = __webpack_require__(22);\n\t\n\tvar _InfiniteLoader3 = _interopRequireDefault(_InfiniteLoader2);\n\t\n\texports['default'] = _InfiniteLoader3['default'];\n\t\n\tvar _InfiniteLoader4 = _interopRequireDefault(_InfiniteLoader2);\n\t\n\texports.InfiniteLoader = _InfiniteLoader4['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\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 _get = function get(_x, _x2, _x3) { var _again = true; _function: while (_again) { var object = _x, property = _x2, receiver = _x3; _again = false; if (object === null) object = Function.prototype; var desc = Object.getOwnPropertyDescriptor(object, property); if (desc === undefined) { var parent = Object.getPrototypeOf(object); if (parent === null) { return undefined; } else { _x = parent; _x2 = property; _x3 = receiver; _again = true; desc = parent = undefined; continue _function; } } else if ('value' in desc) { return desc.value; } else { var getter = desc.get; if (getter === undefined) { return undefined; } return getter.call(receiver); } } };\n\t\n\texports.isRangeVisible = isRangeVisible;\n\texports.scanForUnloadedRanges = scanForUnloadedRanges;\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 _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 _FlexTable = __webpack_require__(8);\n\t\n\tvar _FlexTable2 = _interopRequireDefault(_FlexTable);\n\t\n\tvar _react = __webpack_require__(4);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _reactPureRenderFunction = __webpack_require__(5);\n\t\n\tvar _reactPureRenderFunction2 = _interopRequireDefault(_reactPureRenderFunction);\n\t\n\tvar _VirtualScroll = __webpack_require__(11);\n\t\n\tvar _VirtualScroll2 = _interopRequireDefault(_VirtualScroll);\n\t\n\t/**\n\t * Higher-order component that manages lazy-loading for \"infinite\" data.\n\t * This component decorates a FlexTable or VirtualScroll and prefetches rows as a user scrolls to J.I.T. load data.\n\t * It is intended as a convenience component; fork it if you'd like finer-grained control over data-loading.\n\t */\n\t\n\tvar InfiniteLoader = (function (_Component) {\n\t _inherits(InfiniteLoader, _Component);\n\t\n\t _createClass(InfiniteLoader, null, [{\n\t key: 'propTypes',\n\t value: {\n\t /** Children must be either FlexTable or VirtualScroll */\n\t children: function children(props, propName, componentName) {\n\t var error = undefined;\n\t _react2['default'].Children.forEach(props.children, function (child) {\n\t if (!(child.type === _FlexTable2['default'] || child.type === _VirtualScroll2['default'])) {\n\t error = new Error('InfiniteLoader only accepts children of types FlexTable or VirtualScroll not ' + child.type);\n\t }\n\t });\n\t return error;\n\t },\n\t /**\n\t * Function responsible for tracking the loaded state of each row.\n\t * It should implement the following signature: (index: number): boolean\n\t */\n\t isRowLoaded: _react.PropTypes.func,\n\t /**\n\t * Callback to be invoked when more rows must be loaded.\n\t * It should implement the following signature: ({ startIndex, stopIndex }): Promise\n\t * The returned Promise should be resolved once row data has finished loading.\n\t * It will be used to determine when to refresh the list with the newly-loaded data.\n\t * This callback may be called multiple times in reaction to a single scroll event.\n\t */\n\t loadMoreRows: _react.PropTypes.func.isRequired,\n\t /**\n\t * Number of rows in list; can be arbitrary high number if actual number is unknown.\n\t */\n\t rowsCount: _react.PropTypes.number,\n\t /**\n\t * Threshold at which to pre-fetch data.\n\t * A threshold X means that data will start loading when a user scrolls within X rows.\n\t * This value defaults to 15.\n\t */\n\t threshold: _react.PropTypes.number\n\t },\n\t enumerable: true\n\t }, {\n\t key: 'defaultProps',\n\t value: {\n\t threshold: 15\n\t },\n\t enumerable: true\n\t }]);\n\t\n\t function InfiniteLoader(props) {\n\t _classCallCheck(this, InfiniteLoader);\n\t\n\t _get(Object.getPrototypeOf(InfiniteLoader.prototype), 'constructor', this).call(this, props);\n\t\n\t this.shouldComponentUpdate = _reactPureRenderFunction2['default'];\n\t this._onRowsRendered = this._onRowsRendered.bind(this);\n\t }\n\t\n\t /**\n\t * Determines if the specified start/stop range is visible based on the most recently rendered range.\n\t */\n\t\n\t _createClass(InfiniteLoader, [{\n\t key: 'componentDidReceiveProps',\n\t value: function componentDidReceiveProps(previousProps) {\n\t var children = this.props.children;\n\t\n\t if (previousProps.children !== children) {\n\t var child = _react2['default'].Children.only(children);\n\t this._originalOnRowsRendered = child.props.onRowsRendered;\n\t }\n\t }\n\t }, {\n\t key: 'componentWillMount',\n\t value: function componentWillMount() {\n\t var children = this.props.children;\n\t\n\t var child = _react2['default'].Children.only(children);\n\t this._originalOnRowsRendered = child.props.onRowsRendered;\n\t }\n\t }, {\n\t key: 'render',\n\t value: function render() {\n\t var _props = this.props;\n\t var children = _props.children;\n\t\n\t var props = _objectWithoutProperties(_props, ['children']);\n\t\n\t var child = _react2['default'].Children.only(children);\n\t\n\t child = _react2['default'].cloneElement(child, {\n\t onRowsRendered: this._onRowsRendered,\n\t ref: 'VirtualScroll'\n\t });\n\t\n\t return child;\n\t }\n\t }, {\n\t key: '_onRowsRendered',\n\t value: function _onRowsRendered(_ref) {\n\t var _this = this;\n\t\n\t var startIndex = _ref.startIndex;\n\t var stopIndex = _ref.stopIndex;\n\t var _props2 = this.props;\n\t var isRowLoaded = _props2.isRowLoaded;\n\t var loadMoreRows = _props2.loadMoreRows;\n\t var rowsCount = _props2.rowsCount;\n\t var threshold = _props2.threshold;\n\t\n\t this._lastRenderedStartIndex = startIndex;\n\t this._lastRenderedStopIndex = stopIndex;\n\t\n\t var unloadedRanges = scanForUnloadedRanges({\n\t isRowLoaded: isRowLoaded,\n\t startIndex: Math.max(0, startIndex - threshold),\n\t stopIndex: Math.min(rowsCount, stopIndex + threshold)\n\t });\n\t\n\t unloadedRanges.forEach(function (unloadedRange) {\n\t var promise = loadMoreRows(unloadedRange);\n\t if (promise) {\n\t promise.then(function () {\n\t // Refresh the visible rows if any of them have just been loaded\n\t if (isRangeVisible({\n\t lastRenderedStartIndex: _this._lastRenderedStartIndex,\n\t lastRenderedStopIndex: _this._lastRenderedStopIndex,\n\t startIndex: unloadedRange.startIndex,\n\t stopIndex: unloadedRange.stopIndex\n\t })) {\n\t // In case the component has been unmounted since the range was loaded\n\t if (_this.refs.VirtualScroll) {\n\t _this.refs.VirtualScroll.forceUpdate();\n\t }\n\t }\n\t });\n\t }\n\t });\n\t\n\t if (this._originalOnRowsRendered) {\n\t this._originalOnRowsRendered({ startIndex: startIndex, stopIndex: stopIndex });\n\t }\n\t }\n\t }]);\n\t\n\t return InfiniteLoader;\n\t})(_react.Component);\n\t\n\texports['default'] = InfiniteLoader;\n\t\n\tfunction isRangeVisible(_ref2) {\n\t var lastRenderedStartIndex = _ref2.lastRenderedStartIndex;\n\t var lastRenderedStopIndex = _ref2.lastRenderedStopIndex;\n\t var startIndex = _ref2.startIndex;\n\t var stopIndex = _ref2.stopIndex;\n\t\n\t return !(startIndex > lastRenderedStopIndex || stopIndex < lastRenderedStartIndex);\n\t}\n\t\n\t/**\n\t * Returns all of the ranges within a larger range that contain unloaded rows.\n\t */\n\t\n\tfunction scanForUnloadedRanges(_ref3) {\n\t var isRowLoaded = _ref3.isRowLoaded;\n\t var startIndex = _ref3.startIndex;\n\t var stopIndex = _ref3.stopIndex;\n\t\n\t var unloadedRanges = [];\n\t var rangeStartIndex = null;\n\t var rangeStopIndex = null;\n\t\n\t for (var i = startIndex; i <= stopIndex; i++) {\n\t var loaded = isRowLoaded(i);\n\t\n\t if (!loaded) {\n\t rangeStopIndex = i;\n\t if (rangeStartIndex === null) {\n\t rangeStartIndex = i;\n\t }\n\t } else if (rangeStopIndex !== null) {\n\t unloadedRanges.push({\n\t startIndex: rangeStartIndex,\n\t stopIndex: rangeStopIndex\n\t });\n\t\n\t rangeStartIndex = rangeStopIndex = null;\n\t }\n\t }\n\t\n\t if (rangeStopIndex !== null) {\n\t unloadedRanges.push({\n\t startIndex: rangeStartIndex,\n\t stopIndex: rangeStopIndex\n\t });\n\t }\n\t\n\t return unloadedRanges;\n\t}\n\n/***/ }\n/******/ ])\n});\n;\n\n\n/** WEBPACK FOOTER **\n ** react-virtualized.js\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 = \"\";\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(0);\n\n\n\n/** WEBPACK FOOTER **\n ** webpack/bootstrap a0ea9121a713cf2a4403\n **/","/* @flow */\nexport { AutoSizer } from './AutoSizer'\nexport { FlexTable, FlexColumn, SortDirection, SortIndicator } from './FlexTable'\nexport { Grid } from './Grid'\nexport { InfiniteLoader } from './InfiniteLoader'\nexport { VirtualScroll } from './VirtualScroll'\n\n\n\n/** WEBPACK FOOTER **\n ** ./source/index.js\n **/","export default from './AutoSizer'\nexport AutoSizer from './AutoSizer'\n\n\n\n/** WEBPACK FOOTER **\n ** ./source/AutoSizer/index.js\n **/","/** @flow */\nimport cn from 'classnames'\nimport React, { Component, PropTypes } from 'react'\nimport shouldPureComponentUpdate from 'react-pure-render/function'\n\n/**\n * Decorator component that automatically adjusts the width and height of a single child.\n * Child component should not be declared as a child but should rather be specified by a `ChildComponent` property.\n * All other properties will be passed through to the child component.\n */\nexport default class AutoSizer extends Component {\n shouldComponentUpdate = shouldPureComponentUpdate\n\n static propTypes = {\n /** Component to manage width/height of */\n children: PropTypes.element,\n /** Optional CSS class name */\n className: PropTypes.string,\n /** Disable dynamic :height property */\n disableHeight: PropTypes.bool,\n /** Disable dynamic :width property */\n disableWidth: PropTypes.bool\n }\n\n constructor (props) {\n super(props)\n\n this.state = {\n height: 0,\n width: 0\n }\n\n this._onResize = this._onResize.bind(this)\n this._setRef = this._setRef.bind(this)\n }\n\n componentDidMount () {\n // Defer requiring resize handler in order to support server-side rendering.\n // See issue #41\n this._detectElementResize = require('../vendor/detectElementResize')\n this._detectElementResize.addResizeListener(this._parentNode, this._onResize)\n\n this._onResize()\n }\n\n componentWillUnmount () {\n this._detectElementResize.removeResizeListener(this._parentNode, this._onResize)\n }\n\n render () {\n const { children, className, disableHeight, disableWidth, ...props } = this.props\n const { height, width } = this.state\n\n const childProps = {}\n\n if (!disableHeight) {\n childProps.height = height\n }\n\n if (!disableWidth) {\n childProps.width = width\n }\n\n let child = React.Children.only(children)\n child = React.cloneElement(child, childProps)\n\n return (\n \n {child}\n \n )\n }\n\n _onResize () {\n const { height, width } = this._parentNode.getBoundingClientRect()\n\n this.setState({\n height: height,\n width: width\n })\n }\n\n _setRef (autoSizer) {\n // In case the component has been unmounted\n this._parentNode = autoSizer && autoSizer.parentNode\n }\n}\n\n\n\n/** WEBPACK FOOTER **\n ** ./source/AutoSizer/AutoSizer.js\n **/","/*!\n Copyright (c) 2016 Jed Watson.\n Licensed under the MIT License (MIT), see\n http://jedwatson.github.io/classnames\n*/\n/* global define */\n\n(function () {\n\t'use strict';\n\n\tvar hasOwn = {}.hasOwnProperty;\n\n\tfunction classNames () {\n\t\tvar classes = [];\n\n\t\tfor (var i = 0; i < arguments.length; i++) {\n\t\t\tvar arg = arguments[i];\n\t\t\tif (!arg) continue;\n\n\t\t\tvar argType = typeof arg;\n\n\t\t\tif (argType === 'string' || argType === 'number') {\n\t\t\t\tclasses.push(arg);\n\t\t\t} else if (Array.isArray(arg)) {\n\t\t\t\tclasses.push(classNames.apply(null, arg));\n\t\t\t} else if (argType === 'object') {\n\t\t\t\tfor (var key in arg) {\n\t\t\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\t\t\tclasses.push(key);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn classes.join(' ');\n\t}\n\n\tif (typeof module !== 'undefined' && module.exports) {\n\t\tmodule.exports = classNames;\n\t} else if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {\n\t\t// register as 'classnames', consistent with npm package name\n\t\tdefine('classnames', [], function () {\n\t\t\treturn classNames;\n\t\t});\n\t} else {\n\t\twindow.classNames = classNames;\n\t}\n}());\n\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/classnames/index.js\n ** module id = 3\n ** module chunks = 0\n **/","module.exports = __WEBPACK_EXTERNAL_MODULE_4__;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** external {\"commonjs\":\"react\",\"commonjs2\":\"react\",\"amd\":\"react\",\"root\":\"React\"}\n ** module id = 4\n ** module chunks = 0\n **/","'use strict';\n\nexports.__esModule = true;\nexports['default'] = shouldPureComponentUpdate;\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\nvar _shallowEqual = require('./shallowEqual');\n\nvar _shallowEqual2 = _interopRequireDefault(_shallowEqual);\n\nfunction shouldPureComponentUpdate(nextProps, nextState) {\n return !(0, _shallowEqual2['default'])(this.props, nextProps) || !(0, _shallowEqual2['default'])(this.state, nextState);\n}\n\nmodule.exports = exports['default'];\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-pure-render/function.js\n ** module id = 5\n ** module chunks = 0\n **/","'use strict';\n\nexports.__esModule = true;\nexports['default'] = shallowEqual;\n\nfunction shallowEqual(objA, objB) {\n if (objA === objB) {\n return true;\n }\n\n if (typeof objA !== 'object' || objA === null || typeof objB !== 'object' || objB === null) {\n return false;\n }\n\n var keysA = Object.keys(objA);\n var keysB = Object.keys(objB);\n\n if (keysA.length !== keysB.length) {\n return false;\n }\n\n // Test for A's keys different from B.\n var bHasOwnProperty = Object.prototype.hasOwnProperty.bind(objB);\n for (var i = 0; i < keysA.length; i++) {\n if (!bHasOwnProperty(keysA[i]) || objA[keysA[i]] !== objB[keysA[i]]) {\n return false;\n }\n }\n\n return true;\n}\n\nmodule.exports = exports['default'];\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-pure-render/shallowEqual.js\n ** module id = 6\n ** module chunks = 0\n **/","/**\n* Detect Element Resize.\n* Forked in order to guard against unsafe 'window' and 'document' references.\n*\n* https://github.com/sdecima/javascript-detect-element-resize\n* Sebastian Decima\n*\n* version: 0.5.3\n**/\n\n// Check `document` and `window` in case of server-side rendering\nvar _window\nif (typeof window !== 'undefined') {\n _window = window\n} else if (typeof self !== 'undefined') {\n _window = self\n} else {\n _window = this\n}\n\nvar attachEvent = typeof document !== 'undefined' && document.attachEvent;\nvar stylesCreated = false;\n\nif (!attachEvent) {\n var requestFrame = (function(){\n var raf = _window.requestAnimationFrame || _window.mozRequestAnimationFrame || _window.webkitRequestAnimationFrame ||\n function(fn){ return _window.setTimeout(fn, 20); };\n return function(fn){ return raf(fn); };\n })();\n\n var cancelFrame = (function(){\n var cancel = _window.cancelAnimationFrame || _window.mozCancelAnimationFrame || _window.webkitCancelAnimationFrame ||\n _window.clearTimeout;\n return function(id){ return cancel(id); };\n })();\n\n var resetTriggers = function(element){\n var triggers = element.__resizeTriggers__,\n expand = triggers.firstElementChild,\n contract = triggers.lastElementChild,\n expandChild = expand.firstElementChild;\n contract.scrollLeft = contract.scrollWidth;\n contract.scrollTop = contract.scrollHeight;\n expandChild.style.width = expand.offsetWidth + 1 + 'px';\n expandChild.style.height = expand.offsetHeight + 1 + 'px';\n expand.scrollLeft = expand.scrollWidth;\n expand.scrollTop = expand.scrollHeight;\n };\n\n var checkTriggers = function(element){\n return element.offsetWidth != element.__resizeLast__.width ||\n element.offsetHeight != element.__resizeLast__.height;\n }\n\n var scrollListener = function(e){\n var element = this;\n resetTriggers(this);\n if (this.__resizeRAF__) cancelFrame(this.__resizeRAF__);\n this.__resizeRAF__ = requestFrame(function(){\n if (checkTriggers(element)) {\n element.__resizeLast__.width = element.offsetWidth;\n element.__resizeLast__.height = element.offsetHeight;\n element.__resizeListeners__.forEach(function(fn){\n fn.call(element, e);\n });\n }\n });\n };\n\n /* Detect CSS Animations support to detect element display/re-attach */\n var animation = false,\n animationstring = 'animation',\n keyframeprefix = '',\n animationstartevent = 'animationstart',\n domPrefixes = 'Webkit Moz O ms'.split(' '),\n startEvents = 'webkitAnimationStart animationstart oAnimationStart MSAnimationStart'.split(' '),\n pfx = '';\n {\n var elm = document.createElement('fakeelement');\n if( elm.style.animationName !== undefined ) { animation = true; }\n\n if( animation === false ) {\n for( var i = 0; i < domPrefixes.length; i++ ) {\n if( elm.style[ domPrefixes[i] + 'AnimationName' ] !== undefined ) {\n pfx = domPrefixes[ i ];\n animationstring = pfx + 'Animation';\n keyframeprefix = '-' + pfx.toLowerCase() + '-';\n animationstartevent = startEvents[ i ];\n animation = true;\n break;\n }\n }\n }\n }\n\n var animationName = 'resizeanim';\n var animationKeyframes = '@' + keyframeprefix + 'keyframes ' + animationName + ' { from { opacity: 0; } to { opacity: 0; } } ';\n var animationStyle = keyframeprefix + 'animation: 1ms ' + animationName + '; ';\n}\n\nvar createStyles = function() {\n if (!stylesCreated) {\n //opacity:0 works around a chrome bug https://code.google.com/p/chromium/issues/detail?id=286360\n var css = (animationKeyframes ? animationKeyframes : '') +\n '.resize-triggers { ' + (animationStyle ? animationStyle : '') + 'visibility: hidden; opacity: 0; } ' +\n '.resize-triggers, .resize-triggers > div, .contract-trigger:before { content: \\\" \\\"; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',\n head = document.head || document.getElementsByTagName('head')[0],\n style = document.createElement('style');\n\n style.type = 'text/css';\n if (style.styleSheet) {\n style.styleSheet.cssText = css;\n } else {\n style.appendChild(document.createTextNode(css));\n }\n\n head.appendChild(style);\n stylesCreated = true;\n }\n}\n\nvar addResizeListener = function(element, fn){\n if (attachEvent) element.attachEvent('onresize', fn);\n else {\n if (!element.__resizeTriggers__) {\n if (getComputedStyle(element).position == 'static') element.style.position = 'relative';\n createStyles();\n element.__resizeLast__ = {};\n element.__resizeListeners__ = [];\n (element.__resizeTriggers__ = document.createElement('div')).className = 'resize-triggers';\n element.__resizeTriggers__.innerHTML = '
' +\n '
';\n element.appendChild(element.__resizeTriggers__);\n resetTriggers(element);\n element.addEventListener('scroll', scrollListener, true);\n\n /* Listen for a css animation to detect element display/re-attach */\n animationstartevent && element.__resizeTriggers__.addEventListener(animationstartevent, function(e) {\n if(e.animationName == animationName)\n resetTriggers(element);\n });\n }\n element.__resizeListeners__.push(fn);\n }\n};\n\nvar removeResizeListener = function(element, fn){\n if (attachEvent) element.detachEvent('onresize', fn);\n else {\n element.__resizeListeners__.splice(element.__resizeListeners__.indexOf(fn), 1);\n if (!element.__resizeListeners__.length) {\n element.removeEventListener('scroll', scrollListener);\n element.__resizeTriggers__ = !element.removeChild(element.__resizeTriggers__);\n }\n }\n}\n\nmodule.exports = {\n addResizeListener : addResizeListener,\n removeResizeListener : removeResizeListener\n};\n\n\n\n/** WEBPACK FOOTER **\n ** ./source/vendor/detectElementResize.js\n **/","/* @flow */\nexport default from './FlexTable'\nexport FlexTable, { SortDirection, SortIndicator } from './FlexTable'\nexport FlexColumn from './FlexColumn'\n\n\n\n/** WEBPACK FOOTER **\n ** ./source/FlexTable/index.js\n **/","/** @flow */\nimport cn from 'classnames'\nimport FlexColumn from './FlexColumn'\nimport React, { Component, PropTypes } from 'react'\nimport shouldPureComponentUpdate from 'react-pure-render/function'\nimport VirtualScroll from '../VirtualScroll'\n\nexport const SortDirection = {\n /**\n * Sort items in ascending order.\n * This means arranging from the lowest value to the highest (e.g. a-z, 0-9).\n */\n ASC: 'ASC',\n\n /**\n * Sort items in descending order.\n * This means arranging from the highest value to the lowest (e.g. z-a, 9-0).\n */\n DESC: 'DESC'\n}\n\n/**\n * Table component with fixed headers and virtualized rows for improved performance with large data sets.\n * This component expects explicit width, height, and padding parameters.\n */\nexport default class FlexTable extends Component {\n shouldComponentUpdate = shouldPureComponentUpdate\n\n static propTypes = {\n /** One or more FlexColumns describing the data displayed in this row */\n children: (props, propName, componentName) => {\n const children = React.Children.toArray(props.children)\n for (let i = 0; i < children.length; i++) {\n if (children[i].type !== FlexColumn) {\n return new Error(`FlexTable only accepts children of type FlexColumn`)\n }\n }\n },\n /** Optional CSS class name */\n className: PropTypes.string,\n /** Disable rendering the header at all */\n disableHeader: PropTypes.bool,\n /** Optional CSS class to apply to all column headers */\n headerClassName: PropTypes.string,\n /** Fixed height of header row */\n headerHeight: PropTypes.number.isRequired,\n /** Fixed/available height for out DOM element */\n height: PropTypes.number.isRequired,\n /** Horizontal padding of outer DOM element */\n horizontalPadding: PropTypes.number,\n /** Optional renderer to be used in place of table body rows when rowsCount is 0 */\n noRowsRenderer: PropTypes.func,\n /**\n * Optional callback when a column's header is clicked.\n * (dataKey: string): void\n */\n onHeaderClick: PropTypes.func,\n /**\n * Callback invoked when a user clicks on a table row.\n * (rowIndex: number): void\n */\n\n onRowClick: PropTypes.func,\n /**\n * Callback invoked with information about the slice of rows that were just rendered.\n * ({ startIndex, stopIndex }): void\n */\n onRowsRendered: PropTypes.func,\n /**\n * Optional CSS class to apply to all table rows (including the header row).\n * This property can be a CSS class name (string) or a function that returns a class name.\n * If a function is provided its signature should be: (rowIndex: number): string\n */\n rowClassName: PropTypes.oneOfType([PropTypes.string, PropTypes.func]),\n /**\n * Callback responsible for returning a data row given an index.\n * (index: number): any\n */\n rowGetter: PropTypes.func.isRequired,\n /**\n * Either a fixed row height (number) or a function that returns the height of a row given its index.\n * (index: number): number\n */\n rowHeight: PropTypes.oneOfType([PropTypes.number, PropTypes.func]).isRequired,\n /** Number of rows in table. */\n rowsCount: PropTypes.number.isRequired,\n /**\n * Sort function to be called if a sortable header is clicked.\n * (dataKey: string, sortDirection: SortDirection): void\n */\n sort: PropTypes.func,\n /** FlexTable data is currently sorted by this :dataKey (if it is sorted at all) */\n sortBy: PropTypes.string,\n /** FlexTable data is currently sorted in this direction (if it is sorted at all) */\n sortDirection: PropTypes.oneOf([SortDirection.ASC, SortDirection.DESC]),\n /** Vertical padding of outer DOM element */\n verticalPadding: PropTypes.number\n }\n\n static defaultProps = {\n disableHeader: false,\n horizontalPadding: 0,\n noRowsRenderer: () => null,\n onHeaderClick: () => null,\n onRowClick: () => null,\n onRowsRendered: () => null,\n verticalPadding: 0\n }\n\n constructor (props) {\n super(props)\n\n this._createRow = this._createRow.bind(this)\n }\n\n /**\n * See VirtualScroll#recomputeRowHeights\n */\n recomputeRowHeights () {\n this.refs.VirtualScroll.recomputeRowHeights()\n }\n\n /**\n * See VirtualScroll#scrollToRow\n */\n scrollToRow (scrollToIndex) {\n this.refs.VirtualScroll.scrollToRow(scrollToIndex)\n }\n\n render () {\n const {\n className,\n disableHeader,\n headerHeight,\n height,\n noRowsRenderer,\n onRowsRendered,\n rowClassName,\n rowHeight,\n rowsCount,\n verticalPadding\n } = this.props\n\n const availableRowsHeight = height - headerHeight - verticalPadding\n\n // This row-renderer wrapper function is necessary in order to trigger re-render when the\n // sort-by or sort-direction have changed (else VirtualScroll will not see any props changes)\n const rowRenderer = index => {\n return this._createRow(index)\n }\n\n const rowClass = rowClassName instanceof Function ? rowClassName(-1) : rowClassName\n\n return (\n \n {!disableHeader && (\n \n {this._getRenderedHeaderRow()}\n \n )}\n\n \n \n )\n }\n\n _createColumn (column, columnIndex, rowData, rowIndex) {\n const {\n cellClassName,\n cellDataGetter,\n columnData,\n dataKey,\n cellRenderer\n } = column.props\n const cellData = cellDataGetter(dataKey, rowData, columnData)\n const renderedCell = cellRenderer(cellData, dataKey, rowData, rowIndex, columnData)\n\n const flex = this._getFlexStyleForColumn(column)\n const style = {\n flex // TODO\n }\n\n const title = typeof renderedCell === 'string'\n ? renderedCell\n : null\n\n return (\n \n \n {renderedCell}\n \n \n )\n }\n\n _createHeader (column, columnIndex) {\n const { headerClassName, onHeaderClick, sort, sortBy, sortDirection } = this.props\n const { dataKey, disableSort, label, columnData } = column.props\n const showSortIndicator = sortBy === dataKey\n const sortEnabled = !disableSort && sort\n\n const classNames = cn(\n 'FlexTable__headerColumn',\n headerClassName,\n column.props.headerClassName,\n {\n 'FlexTable__sortableHeaderColumn': sortEnabled\n }\n )\n const flex = this._getFlexStyleForColumn(column)\n const style = {\n flex // TODO\n }\n\n // If this is a sortable header, clicking it should update the table data's sorting.\n const newSortDirection = sortBy !== dataKey || sortDirection === SortDirection.DESC\n ? SortDirection.ASC\n : SortDirection.DESC\n const onClick = () => {\n sortEnabled && sort(dataKey, newSortDirection)\n onHeaderClick(dataKey, columnData)\n }\n\n return (\n \n \n {label}\n \n {showSortIndicator &&\n \n }\n \n )\n }\n\n _createRow (rowIndex) {\n const {\n children,\n onRowClick,\n rowClassName,\n rowGetter\n } = this.props\n\n const rowClass = rowClassName instanceof Function ? rowClassName(rowIndex) : rowClassName\n\n const renderedRow = React.Children.map(\n children,\n (column, columnIndex) => this._createColumn(\n column,\n columnIndex,\n rowGetter(rowIndex),\n rowIndex\n )\n )\n\n return (\n onRowClick(rowIndex)}\n style={{\n height: this._getRowHeight(rowIndex)\n }}\n >\n {renderedRow}\n \n )\n }\n\n /**\n * Determines the flex-shrink, flex-grow, and width values for a cell (header or column).\n */\n _getFlexStyleForColumn (column) {\n const flex = []\n flex.push(column.props.flexGrow)\n flex.push(column.props.flexShrink)\n flex.push(\n column.props.width\n ? `${column.props.width}px`\n : 'auto'\n )\n\n return flex.join(' ')\n }\n\n _getRenderedHeaderRow () {\n const { children, disableHeader } = this.props\n const items = disableHeader ? [] : children\n return React.Children.map(items, (column, columnIndex) =>\n this._createHeader(column, columnIndex)\n )\n }\n _getRowHeight (rowIndex) {\n const { rowHeight } = this.props\n\n return rowHeight instanceof Function\n ? rowHeight(rowIndex)\n : rowHeight\n }\n}\n\n/**\n * Displayed beside a header to indicate that a FlexTable is currently sorted by this column.\n */\nexport function SortIndicator ({ sortDirection }) {\n const classNames = cn('FlexTable__sortableHeaderIcon', {\n 'FlexTable__sortableHeaderIcon--ASC': sortDirection === SortDirection.ASC,\n 'FlexTable__sortableHeaderIcon--DESC': sortDirection === SortDirection.DESC\n })\n\n return (\n \n {sortDirection === SortDirection.ASC\n ? \n : \n }\n \n \n )\n}\nSortIndicator.propTypes = {\n sortDirection: PropTypes.oneOf([SortDirection.ASC, SortDirection.DESC])\n}\n\n\n\n/** WEBPACK FOOTER **\n ** ./source/FlexTable/FlexTable.js\n **/","/** @flow */\nimport { Component, PropTypes } from 'react'\n\n/**\n * Default cell renderer that displays an attribute as a simple string\n * You should override the column's cellRenderer if your data is some other type of object.\n */\nexport function defaultCellRenderer (\n cellData: any,\n cellDataKey: string,\n rowData: any,\n rowIndex: number,\n columnData: any\n): string {\n if (cellData === null || cellData === undefined) {\n return ''\n } else {\n return String(cellData)\n }\n}\n\n/**\n * Default accessor for returning a cell value for a given attribute.\n * This function expects to operate on either a vanilla Object or an Immutable Map.\n * You should override the column's cellDataGetter if your data is some other type of object.\n */\nexport function defaultCellDataGetter (\n dataKey: string,\n rowData: any,\n columnData: any\n) {\n if (rowData.get instanceof Function) {\n return rowData.get(dataKey)\n } else {\n return rowData[dataKey]\n }\n}\n\n/**\n * Describes the header and cell contents of a table column.\n */\nexport default class Column extends Component {\n\n static defaultProps = {\n cellDataGetter: defaultCellDataGetter,\n cellRenderer: defaultCellRenderer,\n flexGrow: 0,\n flexShrink: 1\n }\n\n static propTypes = {\n /** Optional CSS class to apply to cell */\n cellClassName: PropTypes.string,\n /**\n * Callback responsible for returning a cell's data, given its :dataKey\n * (dataKey: string, rowData: any): any\n */\n cellDataGetter: PropTypes.func,\n /**\n * Callback responsible for rendering a cell's contents.\n * (cellData: any, cellDataKey: string, rowData: any, rowIndex: number, columnData: any): element\n */\n cellRenderer: PropTypes.func,\n /** Optional additional data passed to this column's :cellDataGetter */\n columnData: PropTypes.object,\n /** Uniquely identifies the row-data attribute correspnding to this cell */\n dataKey: PropTypes.any.isRequired,\n /** If sort is enabled for the table at large, disable it for this column */\n disableSort: PropTypes.bool,\n /** Flex grow style; defaults to 0 */\n flexGrow: PropTypes.number,\n /** Flex shrink style; defaults to 1 */\n flexShrink: PropTypes.number,\n /** Optional CSS class to apply to this column's header */\n headerClassName: PropTypes.string,\n /** Header label for this column */\n label: PropTypes.string,\n /** Optional fixed width for this column */\n width: PropTypes.number\n }\n}\n\n\n\n/** WEBPACK FOOTER **\n ** ./source/FlexTable/FlexColumn.js\n **/","/** @flow */\nexport default from './VirtualScroll'\nexport VirtualScroll from './VirtualScroll'\n\n\n\n/** WEBPACK FOOTER **\n ** ./source/VirtualScroll/index.js\n **/","/** @flow */\nimport {\n computeCellMetadataAndUpdateScrollOffsetHelper,\n getUpdatedOffsetForIndex,\n getVisibleCellIndices,\n initCellMetadata,\n initOnSectionRenderedHelper,\n updateScrollIndexHelper\n} from '../utils'\nimport cn from 'classnames'\nimport raf from 'raf'\nimport React, { Component, PropTypes } from 'react'\nimport shouldPureComponentUpdate from 'react-pure-render/function'\n\n/**\n * Specifies the number of miliseconds during which to disable pointer events while a scroll is in progress.\n * This improves performance and makes scrolling smoother.\n */\nconst IS_SCROLLING_TIMEOUT = 150\n\n/**\n * It is inefficient to create and manage a large list of DOM elements within a scrolling container\n * if only a few of those elements are visible. The primary purpose of this component is to improve\n * performance by only rendering the DOM nodes that a user is able to see based on their current\n * scroll position.\n *\n * This component renders a virtualized list of elements with either fixed or dynamic heights.\n */\nexport default class VirtualScroll extends Component {\n shouldComponentUpdate = shouldPureComponentUpdate\n\n static propTypes = {\n /** Optional CSS class name */\n className: PropTypes.string,\n /** Height constraint for list (determines how many actual rows are rendered) */\n height: PropTypes.number.isRequired,\n /** Optional renderer to be used in place of rows when rowsCount is 0 */\n noRowsRenderer: PropTypes.func.isRequired,\n /**\n * Callback invoked with information about the slice of rows that were just rendered.\n * ({ startIndex, stopIndex }): void\n */\n onRowsRendered: PropTypes.func.isRequired,\n /**\n * Either a fixed row height (number) or a function that returns the height of a row given its index.\n * (index: number): number\n */\n rowHeight: PropTypes.oneOfType([PropTypes.number, PropTypes.func]).isRequired,\n /** Responsbile for rendering a row given an index */\n rowRenderer: PropTypes.func.isRequired,\n /** Number of rows in list. */\n rowsCount: PropTypes.number.isRequired,\n /** Row index to ensure visible (by forcefully scrolling if necessary) */\n scrollToIndex: PropTypes.number\n }\n\n static defaultProps = {\n noRowsRenderer: () => null,\n onRowsRendered: () => null\n }\n\n constructor (props, context) {\n super(props, context)\n\n this.state = {\n computeCellMetadataOnNextUpdate: false,\n isScrolling: false,\n scrollTop: 0\n }\n\n // Invokes onRowsRendered callback only when start/stop row indices change\n this._OnRowsRenderedHelper = initOnSectionRenderedHelper()\n\n // Bind functions to instance so they don't lose context when passed around\n this._computeCellMetadata = this._computeCellMetadata.bind(this)\n this._invokeOnRowsRenderedHelper = this._invokeOnRowsRenderedHelper.bind(this)\n this._onKeyPress = this._onKeyPress.bind(this)\n this._onScroll = this._onScroll.bind(this)\n this._onWheel = this._onWheel.bind(this)\n this._updateScrollTopForScrollToIndex = this._updateScrollTopForScrollToIndex.bind(this)\n }\n\n /**\n * Forced recompute of row heights.\n * This function should be called if dynamic row heights have changed but nothing else has.\n * Since VirtualScroll receives a :rowsCount it has no way of knowing if the underlying list data has changed.\n */\n recomputeRowHeights () {\n this.setState({\n computeCellMetadataOnNextUpdate: true\n })\n }\n\n /**\n * Scroll the list to ensure the row at the specified index is visible.\n * This method exists so that a user can forcefully scroll to the same row twice.\n * (The :scrollToIndex property would not change in that case, so it would not be picked up by the component.)\n */\n scrollToRow (scrollToIndex) {\n this._updateScrollTopForScrollToIndex(scrollToIndex)\n }\n\n componentDidMount () {\n const { scrollToIndex } = this.props\n\n if (scrollToIndex >= 0) {\n // Without setImmediate() the initial scrollingContainer.scrollTop assignment doesn't work\n this._scrollTopId = setImmediate(() => {\n this._scrollTopId = null\n this._updateScrollTopForScrollToIndex()\n })\n }\n\n // Update onRowsRendered callback\n this._invokeOnRowsRenderedHelper()\n }\n\n componentDidUpdate (prevProps, prevState) {\n const { height, rowsCount, rowHeight, scrollToIndex } = this.props\n const { scrollTop } = this.state\n\n // Make sure any changes to :scrollTop (from :scrollToIndex) get applied\n if (scrollTop >= 0 && scrollTop !== prevState.scrollTop) {\n this.refs.scrollingContainer.scrollTop = scrollTop\n }\n\n // Update scrollTop if appropriate\n updateScrollIndexHelper({\n cellMetadata: this._cellMetadata,\n cellsCount: rowsCount,\n cellSize: rowHeight,\n previousCellsCount: prevProps.rowsCount,\n previousCellSize: prevProps.rowHeight,\n previousScrollToIndex: prevProps.scrollToIndex,\n previousSize: prevProps.height,\n scrollOffset: scrollTop,\n scrollToIndex,\n size: height,\n updateScrollIndexCallback: this._updateScrollTopForScrollToIndex\n })\n\n // Update onRowsRendered callback if start/stop indices have changed\n this._invokeOnRowsRenderedHelper()\n }\n\n componentWillMount () {\n this._computeCellMetadata(this.props)\n }\n\n componentWillUnmount () {\n if (this._disablePointerEventsTimeoutId) {\n clearTimeout(this._disablePointerEventsTimeoutId)\n }\n if (this._scrollTopId) {\n clearImmediate(this._scrollTopId)\n }\n if (this._setNextStateAnimationFrameId) {\n raf.cancel(this._setNextStateAnimationFrameId)\n }\n }\n\n componentWillUpdate (nextProps, nextState) {\n if (\n nextProps.rowsCount === 0 &&\n nextState.scrollTop !== 0\n ) {\n this.setState({ scrollTop: 0 })\n }\n\n computeCellMetadataAndUpdateScrollOffsetHelper({\n cellsCount: this.props.rowsCount,\n cellSize: this.props.rowHeight,\n computeMetadataCallback: this._computeCellMetadata,\n computeMetadataCallbackProps: nextProps,\n computeMetadataOnNextUpdate: nextState.computeCellMetadataOnNextUpdate,\n nextCellsCount: nextProps.rowsCount,\n nextCellSize: nextProps.rowHeight,\n nextScrollToIndex: nextProps.scrollToIndex,\n scrollToIndex: this.props.scrollToIndex,\n updateScrollOffsetForScrollToIndex: this._updateScrollTopForScrollToIndex\n })\n\n this.setState({\n computeCellMetadataOnNextUpdate: false\n })\n }\n\n render () {\n const {\n className,\n height,\n noRowsRenderer,\n rowsCount,\n rowRenderer\n } = this.props\n\n const {\n isScrolling,\n scrollTop\n } = this.state\n\n let childrenToDisplay = []\n\n // Render only enough rows to cover the visible (vertical) area of the table.\n if (height > 0) {\n const {\n start,\n stop\n } = getVisibleCellIndices({\n cellCount: rowsCount,\n cellMetadata: this._cellMetadata,\n containerSize: height,\n currentOffset: scrollTop\n })\n\n // Store for onRowsRendered callback in componentDidUpdate\n this._renderedStartIndex = start\n this._renderedStopIndex = stop\n\n for (let i = start; i <= stop; i++) {\n let datum = this._cellMetadata[i]\n let child = rowRenderer(i)\n child = (\n \n {child}\n \n )\n\n childrenToDisplay.push(child)\n }\n }\n\n return (\n \n {rowsCount > 0 &&\n \n {childrenToDisplay}\n \n }\n {rowsCount === 0 &&\n noRowsRenderer()\n }\n \n )\n }\n\n /* ---------------------------- Helper methods ---------------------------- */\n\n _computeCellMetadata (props) {\n const { rowHeight, rowsCount } = props\n\n this._cellMetadata = initCellMetadata({\n cellCount: rowsCount,\n size: rowHeight\n })\n }\n\n _getRowHeight (index) {\n const { rowHeight } = this.props\n\n return rowHeight instanceof Function\n ? rowHeight(index)\n : rowHeight\n }\n\n _getTotalRowsHeight () {\n if (this._cellMetadata.length === 0) {\n return 0\n }\n\n const datum = this._cellMetadata[this._cellMetadata.length - 1]\n return datum.offset + datum.size\n }\n\n _invokeOnRowsRenderedHelper () {\n const { onRowsRendered } = this.props\n\n this._OnRowsRenderedHelper({\n callback: onRowsRendered,\n indices: {\n startIndex: this._renderedStartIndex,\n stopIndex: this._renderedStopIndex\n }\n })\n }\n\n /**\n * Updates the state during the next animation frame.\n * Use this method to avoid multiple renders in a small span of time.\n * This helps performance for bursty events (like onWheel).\n */\n _setNextState (state) {\n if (this._setNextStateAnimationFrameId) {\n raf.cancel(this._setNextStateAnimationFrameId)\n }\n\n this._setNextStateAnimationFrameId = raf(() => {\n this._setNextStateAnimationFrameId = null\n this.setState(state)\n })\n }\n\n _setNextStateForScrollHelper ({ scrollTop }) {\n // Certain devices (like Apple touchpad) rapid-fire duplicate events.\n // Don't force a re-render if this is the case.\n if (this.state.scrollTop === scrollTop) {\n return\n }\n\n // Prevent pointer events from interrupting a smooth scroll\n this._temporarilyDisablePointerEvents()\n\n // The mouse may move faster then the animation frame does.\n // Use requestAnimationFrame to avoid over-updating.\n this._setNextState({\n isScrolling: true,\n scrollTop\n })\n }\n\n _stopEvent (event) {\n event.preventDefault()\n event.stopPropagation()\n }\n\n /**\n * Sets an :isScrolling flag for a small window of time.\n * This flag is used to disable pointer events on the scrollable portion of the table (the rows).\n * This prevents jerky/stuttery mouse-wheel scrolling.\n */\n _temporarilyDisablePointerEvents () {\n if (this._disablePointerEventsTimeoutId) {\n clearTimeout(this._disablePointerEventsTimeoutId)\n }\n\n this._disablePointerEventsTimeoutId = setTimeout(() => {\n this._disablePointerEventsTimeoutId = null\n this.setState({\n isScrolling: false\n })\n }, IS_SCROLLING_TIMEOUT)\n }\n\n /**\n * Calculates and adjusts scrollTop if necessary to ensure that the row at the specified index is visible.\n */\n _updateScrollTopForScrollToIndex (scrollToIndexOverride) {\n const scrollToIndex = scrollToIndexOverride !== undefined\n ? scrollToIndexOverride\n : this.props.scrollToIndex\n\n const { height } = this.props\n const { scrollTop } = this.state\n\n if (scrollToIndex >= 0) {\n const calculatedScrollTop = getUpdatedOffsetForIndex({\n cellMetadata: this._cellMetadata,\n containerSize: height,\n currentOffset: scrollTop,\n targetIndex: scrollToIndex\n })\n\n if (scrollTop !== calculatedScrollTop) {\n this.setState({ scrollTop: calculatedScrollTop })\n }\n }\n }\n\n /* ---------------------------- Event Handlers ---------------------------- */\n\n _onKeyPress (event) {\n const { height, rowsCount } = this.props\n const { scrollTop } = this.state\n\n let start, datum, newScrollTop\n\n if (rowsCount === 0) {\n return\n }\n\n switch (event.key) {\n case 'ArrowDown':\n this._stopEvent(event) // Prevent key from also scrolling surrounding window\n\n start = getVisibleCellIndices({\n cellCount: rowsCount,\n cellMetadata: this._cellMetadata,\n containerSize: height,\n currentOffset: scrollTop\n }).start\n datum = this._cellMetadata[start]\n newScrollTop = Math.min(\n this._getTotalRowsHeight() - height,\n scrollTop + datum.size\n )\n\n this.setState({\n scrollTop: newScrollTop\n })\n break\n case 'ArrowUp':\n this._stopEvent(event) // Prevent key from also scrolling surrounding window\n\n start = getVisibleCellIndices({\n cellCount: rowsCount,\n cellMetadata: this._cellMetadata,\n containerSize: height,\n currentOffset: scrollTop\n }).start\n\n this.scrollToRow(Math.max(0, start - 1))\n break\n }\n }\n\n _onScroll (event) {\n // In certain edge-cases React dispatches an onScroll event with an invalid target.scrollTop.\n // This invalid event can be detected by comparing event.target to this component's scrollable DOM element.\n // See issue #404 for more information.\n if (event.target !== this.refs.scrollingContainer) {\n return\n }\n\n // When this component is shrunk drastically, React dispatches a series of back-to-back scroll events,\n // Gradually converging on a scrollTop that is within the bounds of the new, smaller height.\n // This causes a series of rapid renders that is slow for long lists.\n // We can avoid that by doing some simple bounds checking to ensure that scrollTop never exceeds the total height.\n const { height } = this.props\n const totalRowsHeight = this._getTotalRowsHeight()\n const scrollTop = Math.min(totalRowsHeight - height, event.target.scrollTop)\n\n this._setNextStateForScrollHelper({ scrollTop })\n }\n\n _onWheel (event) {\n const scrollTop = this.refs.scrollingContainer.scrollTop\n\n this._setNextStateForScrollHelper({ scrollTop })\n }\n}\n\n\n\n/** WEBPACK FOOTER **\n ** ./source/VirtualScroll/VirtualScroll.js\n **/","var nextTick = require('process/browser.js').nextTick;\nvar apply = Function.prototype.apply;\nvar slice = Array.prototype.slice;\nvar immediateIds = {};\nvar nextImmediateId = 0;\n\n// DOM APIs, for completeness\n\nexports.setTimeout = function() {\n return new Timeout(apply.call(setTimeout, window, arguments), clearTimeout);\n};\nexports.setInterval = function() {\n return new Timeout(apply.call(setInterval, window, arguments), clearInterval);\n};\nexports.clearTimeout =\nexports.clearInterval = function(timeout) { timeout.close(); };\n\nfunction Timeout(id, clearFn) {\n this._id = id;\n this._clearFn = clearFn;\n}\nTimeout.prototype.unref = Timeout.prototype.ref = function() {};\nTimeout.prototype.close = function() {\n this._clearFn.call(window, this._id);\n};\n\n// Does not start the time, just sets up the members needed.\nexports.enroll = function(item, msecs) {\n clearTimeout(item._idleTimeoutId);\n item._idleTimeout = msecs;\n};\n\nexports.unenroll = function(item) {\n clearTimeout(item._idleTimeoutId);\n item._idleTimeout = -1;\n};\n\nexports._unrefActive = exports.active = function(item) {\n clearTimeout(item._idleTimeoutId);\n\n var msecs = item._idleTimeout;\n if (msecs >= 0) {\n item._idleTimeoutId = setTimeout(function onTimeout() {\n if (item._onTimeout)\n item._onTimeout();\n }, msecs);\n }\n};\n\n// That's not how node.js implements it but the exposed api is the same.\nexports.setImmediate = typeof setImmediate === \"function\" ? setImmediate : function(fn) {\n var id = nextImmediateId++;\n var args = arguments.length < 2 ? false : slice.call(arguments, 1);\n\n immediateIds[id] = true;\n\n nextTick(function onNextTick() {\n if (immediateIds[id]) {\n // fn.call() is faster so we optimize for the common use-case\n // @see http://jsperf.com/call-apply-segu\n if (args) {\n fn.apply(null, args);\n } else {\n fn.call(null);\n }\n // Prevent ids from leaking\n exports.clearImmediate(id);\n }\n });\n\n return id;\n};\n\nexports.clearImmediate = typeof clearImmediate === \"function\" ? clearImmediate : function(id) {\n delete immediateIds[id];\n};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/timers-browserify/main.js\n ** module id = 13\n ** module chunks = 0\n **/","// shim for using process in browser\n\nvar process = module.exports = {};\nvar queue = [];\nvar draining = false;\nvar currentQueue;\nvar queueIndex = -1;\n\nfunction cleanUpNextTick() {\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 = setTimeout(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 clearTimeout(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 setTimeout(drainQueue, 0);\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;\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 ** ./~/timers-browserify/~/process/browser.js\n ** module id = 14\n ** module chunks = 0\n **/","/**\n * Helper method that determines when to recalculate row or column metadata.\n *\n * @param cellsCount Number of rows or columns in the current axis\n * @param cellsSize Width or height of cells for the current axis\n * @param computeMetadataCallback Method to invoke if cell metadata should be recalculated\n * @param computeMetadataCallbackProps Parameters to pass to :computeMetadataCallback\n * @param computeMetadataOnNextUpdate Flag specifying that metadata should be recalculated\n * @param nextCellsCount Newly updated number of rows or columns in the current axis\n * @param nextCellsSize Newly updated width or height of cells for the current axis\n * @param nextScrollToIndex Newly updated scroll-to-index\n * @param scrollToIndex Scroll-to-index\n * @param updateScrollOffsetForScrollToIndex Callback to invoke if the scroll position should be recalculated\n */\nexport function computeCellMetadataAndUpdateScrollOffsetHelper ({\n cellsCount,\n cellSize,\n computeMetadataCallback,\n computeMetadataCallbackProps,\n computeMetadataOnNextUpdate,\n nextCellsCount,\n nextCellSize,\n nextScrollToIndex,\n scrollToIndex,\n updateScrollOffsetForScrollToIndex\n}) {\n // Don't compare cell sizes if they are functions because inline functions would cause infinite loops.\n // In that event users should use the manual recompute methods to inform of changes.\n if (\n computeMetadataOnNextUpdate ||\n cellsCount !== nextCellsCount ||\n (\n (\n typeof cellSize === 'number' ||\n typeof nextCellSize === 'number'\n ) &&\n cellSize !== nextCellSize\n )\n ) {\n computeMetadataCallback(computeMetadataCallbackProps)\n\n // Updated cell metadata may have hidden the previous scrolled-to item.\n // In this case we should also update the scrollTop to ensure it stays visible.\n if (scrollToIndex >= 0 && scrollToIndex === nextScrollToIndex) {\n updateScrollOffsetForScrollToIndex()\n }\n }\n}\n\n/**\n * Binary search function inspired by react-infinite.\n */\nexport function findNearestCell ({\n cellMetadata,\n mode,\n offset\n}) {\n let high = cellMetadata.length - 1\n let low = 0\n let middle\n let currentOffset\n\n while (low <= high) {\n middle = low + Math.floor((high - low) / 2)\n currentOffset = cellMetadata[middle].offset\n\n if (currentOffset === offset) {\n return middle\n } else if (currentOffset < offset) {\n low = middle + 1\n } else if (currentOffset > offset) {\n high = middle - 1\n }\n }\n\n if (mode === findNearestCell.EQUAL_OR_LOWER && low > 0) {\n return low - 1\n } else if (mode === findNearestCell.EQUAL_OR_HIGHER && high < cellMetadata.length - 1) {\n return high + 1\n }\n}\n\nfindNearestCell.EQUAL_OR_LOWER = 1\nfindNearestCell.EQUAL_OR_HIGHER = 2\n\n/**\n * Determines a new offset that ensures a certain cell is visible, given the current offset.\n * If the cell is already visible then the current offset will be returned.\n * If the current offset is too great or small, it will be adjusted just enough to ensure the specified index is visible.\n *\n * @param cellMetadata Metadata initially computed by initCellMetadata()\n * @param containerSize Total size (width or height) of the container\n * @param currentOffset Container's current (x or y) offset\n * @param targetIndex Index of target cell\n * @return Offset to use to ensure the specified cell is visible\n */\nexport function getUpdatedOffsetForIndex ({\n cellMetadata,\n containerSize,\n currentOffset,\n targetIndex\n}) {\n if (cellMetadata.length === 0) {\n return 0\n }\n\n targetIndex = Math.max(0, Math.min(cellMetadata.length - 1, targetIndex))\n\n const datum = cellMetadata[targetIndex]\n const maxOffset = datum.offset\n const minOffset = maxOffset - containerSize + datum.size\n const newOffset = Math.max(minOffset, Math.min(maxOffset, currentOffset))\n\n return newOffset\n}\n\n/**\n * Determines the range of cells to display for a given offset in order to fill the specified container.\n *\n * @param cellCount Total number of cells.\n * @param cellMetadata Metadata initially computed by initCellMetadata()\n * @param containerSize Total size (width or height) of the container\n * @param currentOffset Container's current (x or y) offset\n * @return An object containing :start and :stop attributes, each specifying a cell index\n */\nexport function getVisibleCellIndices ({\n cellCount,\n cellMetadata,\n containerSize,\n currentOffset\n}) {\n if (cellCount === 0) {\n return {}\n }\n\n currentOffset = Math.max(0, currentOffset)\n\n const maxOffset = currentOffset + containerSize\n\n let start = findNearestCell({\n cellMetadata,\n mode: findNearestCell.EQUAL_OR_LOWER,\n offset: currentOffset\n })\n\n let datum = cellMetadata[start]\n currentOffset = datum.offset + datum.size\n\n let stop = start\n\n while (currentOffset < maxOffset && stop < cellCount - 1) {\n stop++\n\n currentOffset += cellMetadata[stop].size\n }\n\n return {\n start,\n stop\n }\n}\n\n/**\n * Initializes metadata for an axis and its cells.\n * This data is used to determine which cells are visible given a container size and scroll position.\n *\n * @param cellCount Total number of cells.\n * @param size Either a fixed size or a function that returns the size for a given given an index.\n * @return Object mapping cell index to cell metadata (size, offset)\n */\nexport function initCellMetadata ({\n cellCount,\n size\n}) {\n const sizeGetter = size instanceof Function\n ? size\n : index => size\n\n const cellMetadata = []\n let offset = 0\n\n for (var i = 0; i < cellCount; i++) {\n let size = sizeGetter(i)\n\n if (size == null || Number.isNaN(size)) {\n throw Error(`Invalid size returned for cell ${i} of value ${size}`)\n }\n\n cellMetadata[i] = {\n size,\n offset\n }\n\n offset += size\n }\n\n return cellMetadata\n}\n\n/**\n * Helper utility that updates the specified callback whenever any of the specified indices have changed.\n */\nexport function initOnSectionRenderedHelper () {\n let cachedIndices = {}\n\n return ({\n callback,\n indices\n }) => {\n const keys = Object.keys(indices)\n const allInitialized = keys.every(key => indices[key] >= 0)\n const indexChanged = keys.some(key => cachedIndices[key] !== indices[key])\n\n cachedIndices = indices\n\n if (allInitialized && indexChanged) {\n callback(indices)\n }\n }\n}\n\n/**\n * Helper function that determines when to update scroll offsets to ensure that a scroll-to-index remains visible.\n *\n * @param cellMetadata Metadata initially computed by initCellMetadata()\n * @param cellsCount Number of rows or columns in the current axis\n * @param cellsSize Width or height of cells for the current axis\n * @param previousCellsCount Previous number of rows or columns\n * @param previousCellsSize Previous width or height of cells\n * @param previousScrollToIndex Previous scroll-to-index\n * @param previousSize Previous width or height of the virtualized container\n * @param scrollOffset Current scrollLeft or scrollTop\n * @param scrollToIndex Scroll-to-index\n * @param size Width or height of the virtualized container\n * @param updateScrollIndexCallback Callback to invoke with an optional scroll-to-index override\n */\nexport function updateScrollIndexHelper ({\n cellMetadata,\n cellsCount,\n cellSize,\n previousCellsCount,\n previousCellSize,\n previousScrollToIndex,\n previousSize,\n scrollOffset,\n scrollToIndex,\n size,\n updateScrollIndexCallback\n}) {\n const hasScrollToIndex = scrollToIndex >= 0 && scrollToIndex < cellsCount\n const sizeHasChanged = (\n size !== previousSize ||\n !previousCellSize ||\n (\n typeof cellSize === 'number' &&\n cellSize !== previousCellSize\n )\n )\n\n // If we have a new scroll target OR if height/row-height has changed,\n // We should ensure that the scroll target is visible.\n if (hasScrollToIndex && (sizeHasChanged || scrollToIndex !== previousScrollToIndex)) {\n updateScrollIndexCallback()\n\n // If we don't have a selected item but list size or number of children have decreased,\n // Make sure we aren't scrolled too far past the current content.\n } else if (!hasScrollToIndex && (size < previousSize || cellsCount < previousCellsCount)) {\n const calculatedScrollOffset = getUpdatedOffsetForIndex({\n cellMetadata,\n containerSize: size,\n currentOffset: scrollOffset,\n targetIndex: cellsCount - 1\n })\n\n // Only adjust the scroll position if we've scrolled below the last set of rows.\n if (calculatedScrollOffset < scrollOffset) {\n updateScrollIndexCallback(cellsCount - 1)\n }\n }\n}\n\n\n\n/** WEBPACK FOOTER **\n ** ./source/utils.js\n **/","var now = require('performance-now')\n , global = typeof window === 'undefined' ? {} : window\n , vendors = ['moz', 'webkit']\n , suffix = 'AnimationFrame'\n , raf = global['request' + suffix]\n , caf = global['cancel' + suffix] || global['cancelRequest' + suffix]\n\nfor(var i = 0; i < vendors.length && !raf; i++) {\n raf = global[vendors[i] + 'Request' + suffix]\n caf = global[vendors[i] + 'Cancel' + suffix]\n || global[vendors[i] + 'CancelRequest' + suffix]\n}\n\n// Some versions of FF have rAF but not cAF\nif(!raf || !caf) {\n var last = 0\n , id = 0\n , queue = []\n , frameDuration = 1000 / 60\n\n raf = function(callback) {\n if(queue.length === 0) {\n var _now = now()\n , next = Math.max(0, frameDuration - (_now - last))\n last = next + _now\n setTimeout(function() {\n var cp = queue.slice(0)\n // Clear queue here to prevent\n // callbacks from appending listeners\n // to the current frame's queue\n queue.length = 0\n for(var i = 0; i < cp.length; i++) {\n if(!cp[i].cancelled) {\n try{\n cp[i].callback(last)\n } catch(e) {\n setTimeout(function() { throw e }, 0)\n }\n }\n }\n }, Math.round(next))\n }\n queue.push({\n handle: ++id,\n callback: callback,\n cancelled: false\n })\n return id\n }\n\n caf = function(handle) {\n for(var i = 0; i < queue.length; i++) {\n if(queue[i].handle === handle) {\n queue[i].cancelled = true\n }\n }\n }\n}\n\nmodule.exports = function(fn) {\n // Wrap in a new function to prevent\n // `cancel` potentially being assigned\n // to the native rAF function\n return raf.call(global, fn)\n}\nmodule.exports.cancel = function() {\n caf.apply(global, arguments)\n}\n\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/raf/index.js\n ** module id = 16\n ** module chunks = 0\n **/","// Generated by CoffeeScript 1.7.1\n(function() {\n var getNanoSeconds, hrtime, loadTime;\n\n if ((typeof performance !== \"undefined\" && performance !== null) && performance.now) {\n module.exports = function() {\n return performance.now();\n };\n } else if ((typeof process !== \"undefined\" && process !== null) && process.hrtime) {\n module.exports = function() {\n return (getNanoSeconds() - loadTime) / 1e6;\n };\n hrtime = process.hrtime;\n getNanoSeconds = function() {\n var hr;\n hr = hrtime();\n return hr[0] * 1e9 + hr[1];\n };\n loadTime = getNanoSeconds();\n } else if (Date.now) {\n module.exports = function() {\n return Date.now() - loadTime;\n };\n loadTime = Date.now();\n } else {\n module.exports = function() {\n return new Date().getTime() - loadTime;\n };\n loadTime = new Date().getTime();\n }\n\n}).call(this);\n\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/performance-now/lib/performance-now.js\n ** module id = 17\n ** module chunks = 0\n **/","// shim for using process in browser\n\nvar process = module.exports = {};\nvar queue = [];\nvar draining = false;\nvar currentQueue;\nvar queueIndex = -1;\n\nfunction cleanUpNextTick() {\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 = setTimeout(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 clearTimeout(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 setTimeout(drainQueue, 0);\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;\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 ** ./~/node-libs-browser/~/process/browser.js\n ** module id = 18\n ** module chunks = 0\n **/","/** @flow */\nexport default from './Grid'\nexport Grid from './Grid'\n\n\n\n/** WEBPACK FOOTER **\n ** ./source/Grid/index.js\n **/","/** @flow */\nimport {\n computeCellMetadataAndUpdateScrollOffsetHelper,\n getUpdatedOffsetForIndex,\n getVisibleCellIndices,\n initCellMetadata,\n initOnSectionRenderedHelper,\n updateScrollIndexHelper\n} from '../utils'\nimport cn from 'classnames'\nimport raf from 'raf'\nimport React, { Component, PropTypes } from 'react'\nimport shouldPureComponentUpdate from 'react-pure-render/function'\n\n/**\n * Specifies the number of miliseconds during which to disable pointer events while a scroll is in progress.\n * This improves performance and makes scrolling smoother.\n */\nconst IS_SCROLLING_TIMEOUT = 150\n\n/**\n * Renders tabular data with virtualization along the vertical and horizontal axes.\n * Row heights and column widths must be known ahead of time and specified as properties.\n */\nexport default class Grid extends Component {\n shouldComponentUpdate = shouldPureComponentUpdate\n\n static propTypes = {\n /**\n * Optional custom CSS class name to attach to root Grid element.\n */\n className: PropTypes.string,\n\n /**\n * Number of columns in grid.\n */\n columnsCount: PropTypes.number.isRequired,\n\n /**\n * Either a fixed column width (number) or a function that returns the width of a column given its index.\n * Should implement the following interface: (index: number): number\n */\n columnWidth: PropTypes.oneOfType([PropTypes.number, PropTypes.func]).isRequired,\n\n /**\n * Height of Grid; this property determines the number of visible (vs virtualized) rows.\n */\n height: PropTypes.number.isRequired,\n\n /**\n * Optional renderer to be used in place of rows when either :rowsCount or :columnsCount is 0.\n */\n noContentRenderer: PropTypes.func.isRequired,\n\n /**\n * Callback invoked with information about the section of the Grid that was just rendered.\n * ({ columnStartIndex, columnStopIndex, rowStartIndex, rowStopIndex }): void\n */\n onSectionRendered: PropTypes.func.isRequired,\n\n /**\n * Responsible for rendering a cell given an row and column index.\n * Should implement the following interface: ({ columnIndex: number, rowIndex: number }): PropTypes.node\n */\n renderCell: PropTypes.func.isRequired,\n\n /**\n * Either a fixed row height (number) or a function that returns the height of a row given its index.\n * Should implement the following interface: (index: number): number\n */\n rowHeight: PropTypes.oneOfType([PropTypes.number, PropTypes.func]).isRequired,\n\n /**\n * Number of rows in grid.\n */\n rowsCount: PropTypes.number.isRequired,\n\n /**\n * Column index to ensure visible (by forcefully scrolling if necessary)\n */\n scrollToColumn: PropTypes.number,\n\n /**\n * Row index to ensure visible (by forcefully scrolling if necessary)\n */\n scrollToRow: PropTypes.number,\n\n /**\n * Width of Grid; this property determines the number of visible (vs virtualized) columns.\n */\n width: PropTypes.number.isRequired\n }\n\n static defaultProps = {\n noContentRenderer: () => null,\n onSectionRendered: () => null\n }\n\n constructor (props, context) {\n super(props, context)\n\n this.state = {\n computeGridMetadataOnNextUpdate: false,\n isScrolling: false,\n scrollLeft: 0,\n scrollTop: 0\n }\n\n // Invokes onSectionRendered callback only when start/stop row or column indices change\n this._OnGridRenderedHelper = initOnSectionRenderedHelper()\n\n // Bind functions to instance so they don't lose context when passed around\n this._computeGridMetadata = this._computeGridMetadata.bind(this)\n this._invokeOnGridRenderedHelper = this._invokeOnGridRenderedHelper.bind(this)\n this._onKeyPress = this._onKeyPress.bind(this)\n this._onScroll = this._onScroll.bind(this)\n this._onWheel = this._onWheel.bind(this)\n this._updateScrollLeftForScrollToColumn = this._updateScrollLeftForScrollToColumn.bind(this)\n this._updateScrollTopForScrollToRow = this._updateScrollTopForScrollToRow.bind(this)\n }\n\n /**\n * Forced recompute of row heights and column widths.\n * This function should be called if dynamic column or row sizes have changed but nothing else has.\n * Since Grid only receives :columnsCount and :rowsCount it has no way of detecting when the underlying data changes.\n */\n recomputeGridSize () {\n this.setState({\n computeGridMetadataOnNextUpdate: true\n })\n }\n\n /**\n * Updates the Grid to ensure the cell at the specified row and column indices is visible.\n * This method exists so that a user can forcefully scroll to the same cell twice.\n * (The :scrollToColumn and :scrollToRow properties would not change in that case so it would not be picked up by the component.)\n */\n scrollToCell ({ scrollToColumn, scrollToRow }) {\n this._updateScrollLeftForScrollToColumn(scrollToColumn)\n this._updateScrollTopForScrollToRow(scrollToRow)\n }\n\n componentDidMount () {\n const { scrollToColumn, scrollToRow } = this.props\n\n if (scrollToColumn >= 0 || scrollToRow >= 0) {\n // Without setImmediate() the initial scrollingContainer.scrollTop assignment doesn't work\n this._setImmediateId = setImmediate(() => {\n this._setImmediateId = null\n this._updateScrollLeftForScrollToColumn()\n this._updateScrollTopForScrollToRow()\n })\n }\n\n // Update onRowsRendered callback\n this._invokeOnGridRenderedHelper()\n }\n\n componentDidUpdate (prevProps, prevState) {\n const { columnsCount, columnWidth, height, rowHeight, rowsCount, scrollToColumn, scrollToRow, width } = this.props\n const { scrollLeft, scrollTop } = this.state\n\n // Make sure any changes to :scrollLeft or :scrollTop get applied\n if (\n (scrollLeft >= 0 && scrollLeft !== prevState.scrollLeft) ||\n (scrollTop >= 0 && scrollTop !== prevState.scrollTop)\n ) {\n this.refs.scrollingContainer.scrollLeft = scrollLeft\n this.refs.scrollingContainer.scrollTop = scrollTop\n }\n\n // Update scrollLeft if appropriate\n updateScrollIndexHelper({\n cellMetadata: this._columnMetadata,\n cellsCount: columnsCount,\n cellSize: columnWidth,\n previousCellsCount: prevProps.columnsCount,\n previousCellSize: prevProps.columnWidth,\n previousScrollToIndex: prevProps.scrollToColumn,\n previousSize: prevProps.width,\n scrollOffset: scrollLeft,\n scrollToIndex: scrollToColumn,\n size: width,\n updateScrollIndexCallback: this._updateScrollLeftForScrollToColumn\n })\n\n // Update scrollTop if appropriate\n updateScrollIndexHelper({\n cellMetadata: this._rowMetadata,\n cellsCount: rowsCount,\n cellSize: rowHeight,\n previousCellsCount: prevProps.rowsCount,\n previousCellSize: prevProps.rowHeight,\n previousScrollToIndex: prevProps.scrollToRow,\n previousSize: prevProps.height,\n scrollOffset: scrollTop,\n scrollToIndex: scrollToRow,\n size: height,\n updateScrollIndexCallback: this._updateScrollTopForScrollToRow\n })\n\n // Update onRowsRendered callback if start/stop indices have changed\n this._invokeOnGridRenderedHelper()\n }\n\n componentWillMount () {\n this._computeGridMetadata(this.props)\n }\n\n componentWillUnmount () {\n if (this._disablePointerEventsTimeoutId) {\n clearTimeout(this._disablePointerEventsTimeoutId)\n }\n if (this._setImmediateId) {\n clearImmediate(this._setImmediateId)\n }\n if (this._setNextStateAnimationFrameId) {\n raf.cancel(this._setNextStateAnimationFrameId)\n }\n }\n\n componentWillUpdate (nextProps, nextState) {\n if (\n nextProps.columnsCount === 0 &&\n nextState.scrollLeft !== 0\n ) {\n this.setState({ scrollLeft: 0 })\n }\n\n if (\n nextProps.rowsCount === 0 &&\n nextState.scrollTop !== 0\n ) {\n this.setState({ scrollTop: 0 })\n }\n\n computeCellMetadataAndUpdateScrollOffsetHelper({\n cellsCount: this.props.columnsCount,\n cellSize: this.props.columnWidth,\n computeMetadataCallback: this._computeGridMetadata,\n computeMetadataCallbackProps: nextProps,\n computeMetadataOnNextUpdate: nextState.computeGridMetadataOnNextUpdate,\n nextCellsCount: nextProps.columnsCount,\n nextCellSize: nextProps.columnWidth,\n nextScrollToIndex: nextProps.scrollToColumn,\n scrollToIndex: this.props.scrollToColumn,\n updateScrollOffsetForScrollToIndex: this._updateScrollLeftForScrollToColumn\n })\n\n computeCellMetadataAndUpdateScrollOffsetHelper({\n cellsCount: this.props.rowsCount,\n cellSize: this.props.rowHeight,\n computeMetadataCallback: this._computeGridMetadata,\n computeMetadataCallbackProps: nextProps,\n computeMetadataOnNextUpdate: nextState.computeGridMetadataOnNextUpdate,\n nextCellsCount: nextProps.rowsCount,\n nextCellSize: nextProps.rowHeight,\n nextScrollToIndex: nextProps.scrollToRow,\n scrollToIndex: this.props.scrollToRow,\n updateScrollOffsetForScrollToIndex: this._updateScrollTopForScrollToRow\n })\n\n this.setState({\n computeGridMetadataOnNextUpdate: false\n })\n }\n\n render () {\n const {\n className,\n columnsCount,\n height,\n noContentRenderer,\n renderCell,\n rowsCount,\n width\n } = this.props\n\n const {\n isScrolling,\n scrollLeft,\n scrollTop\n } = this.state\n\n let childrenToDisplay = []\n\n // Render only enough columns and rows to cover the visible area of the grid.\n if (height > 0 && width > 0) {\n const {\n start: columnStartIndex,\n stop: columnStopIndex\n } = getVisibleCellIndices({\n cellCount: columnsCount,\n cellMetadata: this._columnMetadata,\n containerSize: width,\n currentOffset: scrollLeft\n })\n\n const {\n start: rowStartIndex,\n stop: rowStopIndex\n } = getVisibleCellIndices({\n cellCount: rowsCount,\n cellMetadata: this._rowMetadata,\n containerSize: height,\n currentOffset: scrollTop\n })\n\n // Store for :onSectionRendered callback in componentDidUpdate\n this._renderedColumnStartIndex = columnStartIndex\n this._renderedColumnStopIndex = columnStopIndex\n this._renderedRowStartIndex = rowStartIndex\n this._renderedRowStopIndex = rowStopIndex\n\n for (let rowIndex = rowStartIndex; rowIndex <= rowStopIndex; rowIndex++) {\n let rowDatum = this._rowMetadata[rowIndex]\n\n for (let columnIndex = columnStartIndex; columnIndex <= columnStopIndex; columnIndex++) {\n let columnDatum = this._columnMetadata[columnIndex]\n let child = renderCell({ columnIndex, rowIndex })\n\n child = (\n \n {child}\n \n )\n\n childrenToDisplay.push(child)\n }\n }\n }\n\n return (\n \n {childrenToDisplay.length > 0 &&\n \n {childrenToDisplay}\n \n }\n {childrenToDisplay.length === 0 &&\n noContentRenderer()\n }\n \n )\n }\n\n /* ---------------------------- Helper methods ---------------------------- */\n\n _computeGridMetadata (props) {\n const { columnsCount, columnWidth, rowHeight, rowsCount } = props\n\n this._columnMetadata = initCellMetadata({\n cellCount: columnsCount,\n size: columnWidth\n })\n this._rowMetadata = initCellMetadata({\n cellCount: rowsCount,\n size: rowHeight\n })\n }\n\n _getColumnWidth (index) {\n const { columnWidth } = this.props\n\n return columnWidth instanceof Function\n ? columnWidth(index)\n : columnWidth\n }\n\n _getRowHeight (index) {\n const { rowHeight } = this.props\n\n return rowHeight instanceof Function\n ? rowHeight(index)\n : rowHeight\n }\n\n _getTotalColumnsWidth () {\n if (this._columnMetadata.length === 0) {\n return 0\n }\n\n const datum = this._columnMetadata[this._columnMetadata.length - 1]\n return datum.offset + datum.size\n }\n\n _getTotalRowsHeight () {\n if (this._rowMetadata.length === 0) {\n return 0\n }\n\n const datum = this._rowMetadata[this._rowMetadata.length - 1]\n return datum.offset + datum.size\n }\n\n _invokeOnGridRenderedHelper () {\n const { onSectionRendered } = this.props\n\n this._OnGridRenderedHelper({\n callback: onSectionRendered,\n indices: {\n columnStartIndex: this._renderedColumnStartIndex,\n columnStopIndex: this._renderedColumnStopIndex,\n rowStartIndex: this._renderedRowStartIndex,\n rowStopIndex: this._renderedRowStopIndex\n }\n })\n }\n\n /**\n * Updates the state during the next animation frame.\n * Use this method to avoid multiple renders in a small span of time.\n * This helps performance for bursty events (like onWheel).\n */\n _setNextState (state) {\n if (this._setNextStateAnimationFrameId) {\n raf.cancel(this._setNextStateAnimationFrameId)\n }\n\n this._setNextStateAnimationFrameId = raf(() => {\n this._setNextStateAnimationFrameId = null\n this.setState(state)\n })\n }\n\n _setNextStateForScrollHelper ({ scrollLeft, scrollTop }) {\n // Certain devices (like Apple touchpad) rapid-fire duplicate events.\n // Don't force a re-render if this is the case.\n if (\n this.state.scrollLeft === scrollLeft &&\n this.state.scrollTop === scrollTop\n ) {\n return\n }\n\n // Prevent pointer events from interrupting a smooth scroll\n this._temporarilyDisablePointerEvents()\n\n // The mouse may move faster then the animation frame does.\n // Use requestAnimationFrame to avoid over-updating.\n this._setNextState({\n isScrolling: true,\n scrollLeft,\n scrollTop\n })\n }\n\n _stopEvent (event) {\n event.preventDefault()\n event.stopPropagation()\n }\n\n /**\n * Sets an :isScrolling flag for a small window of time.\n * This flag is used to disable pointer events on the scrollable portion of the Grid.\n * This prevents jerky/stuttery mouse-wheel scrolling.\n */\n _temporarilyDisablePointerEvents () {\n if (this._disablePointerEventsTimeoutId) {\n clearTimeout(this._disablePointerEventsTimeoutId)\n }\n\n this._disablePointerEventsTimeoutId = setTimeout(() => {\n this._disablePointerEventsTimeoutId = null\n this.setState({\n isScrolling: false\n })\n }, IS_SCROLLING_TIMEOUT)\n }\n\n _updateScrollLeftForScrollToColumn (scrollToColumnOverride) {\n const scrollToColumn = scrollToColumnOverride != null\n ? scrollToColumnOverride\n : this.props.scrollToColumn\n\n const { width } = this.props\n const { scrollLeft } = this.state\n\n if (scrollToColumn >= 0) {\n const calculatedScrollLeft = getUpdatedOffsetForIndex({\n cellMetadata: this._columnMetadata,\n containerSize: width,\n currentOffset: scrollLeft,\n targetIndex: scrollToColumn\n })\n\n if (scrollLeft !== calculatedScrollLeft) {\n this.setState({ scrollLeft: calculatedScrollLeft })\n }\n }\n }\n\n _updateScrollTopForScrollToRow (scrollToRowOverride) {\n const scrollToRow = scrollToRowOverride != null\n ? scrollToRowOverride\n : this.props.scrollToRow\n\n const { height } = this.props\n const { scrollTop } = this.state\n\n if (scrollToRow >= 0) {\n const calculatedScrollTop = getUpdatedOffsetForIndex({\n cellMetadata: this._rowMetadata,\n containerSize: height,\n currentOffset: scrollTop,\n targetIndex: scrollToRow\n })\n\n if (scrollTop !== calculatedScrollTop) {\n this.setState({ scrollTop: calculatedScrollTop })\n }\n }\n }\n\n /* ---------------------------- Event handlers ---------------------------- */\n\n _onKeyPress (event) {\n const { columnsCount, height, rowsCount, width } = this.props\n const { scrollLeft, scrollTop } = this.state\n\n let start, datum, newScrollLeft, newScrollTop\n\n if (columnsCount === 0 || rowsCount === 0) {\n return\n }\n\n switch (event.key) {\n case 'ArrowDown':\n this._stopEvent(event) // Prevent key from also scrolling surrounding window\n\n start = getVisibleCellIndices({\n cellCount: rowsCount,\n cellMetadata: this._rowMetadata,\n containerSize: height,\n currentOffset: scrollTop\n }).start\n datum = this._rowMetadata[start]\n newScrollTop = Math.min(\n this._getTotalRowsHeight() - height,\n scrollTop + datum.size\n )\n\n this.setState({\n scrollTop: newScrollTop\n })\n break\n case 'ArrowLeft':\n this._stopEvent(event) // Prevent key from also scrolling surrounding window\n\n start = getVisibleCellIndices({\n cellCount: columnsCount,\n cellMetadata: this._columnMetadata,\n containerSize: width,\n currentOffset: scrollLeft\n }).start\n\n this.scrollToCell({\n scrollToColumn: Math.max(0, start - 1),\n scrollToRow: this.props.scrollToRow\n })\n break\n case 'ArrowRight':\n this._stopEvent(event) // Prevent key from also scrolling surrounding window\n\n start = getVisibleCellIndices({\n cellCount: columnsCount,\n cellMetadata: this._columnMetadata,\n containerSize: width,\n currentOffset: scrollLeft\n }).start\n datum = this._columnMetadata[start]\n newScrollLeft = Math.min(\n this._getTotalColumnsWidth() - width,\n scrollLeft + datum.size\n )\n\n this.setState({\n scrollLeft: newScrollLeft\n })\n break\n case 'ArrowUp':\n this._stopEvent(event) // Prevent key from also scrolling surrounding window\n\n start = getVisibleCellIndices({\n cellCount: rowsCount,\n cellMetadata: this._rowMetadata,\n containerSize: height,\n currentOffset: scrollTop\n }).start\n\n this.scrollToCell({\n scrollToColumn: this.props.scrollToColumn,\n scrollToRow: Math.max(0, start - 1)\n })\n break\n }\n }\n\n _onScroll (event) {\n // In certain edge-cases React dispatches an onScroll event with an invalid target.scrollLeft / target.scrollTop.\n // This invalid event can be detected by comparing event.target to this component's scrollable DOM element.\n // See issue #404 for more information.\n if (event.target !== this.refs.scrollingContainer) {\n return\n }\n\n // When this component is shrunk drastically, React dispatches a series of back-to-back scroll events,\n // Gradually converging on a scrollTop that is within the bounds of the new, smaller height.\n // This causes a series of rapid renders that is slow for long lists.\n // We can avoid that by doing some simple bounds checking to ensure that scrollTop never exceeds the total height.\n const { height, width } = this.props\n const totalRowsHeight = this._getTotalRowsHeight()\n const totalColumnsWidth = this._getTotalColumnsWidth()\n const scrollLeft = Math.min(totalColumnsWidth - width, event.target.scrollLeft)\n const scrollTop = Math.min(totalRowsHeight - height, event.target.scrollTop)\n\n this._setNextStateForScrollHelper({ scrollLeft, scrollTop })\n }\n\n _onWheel (event) {\n const scrollLeft = this.refs.scrollingContainer.scrollLeft\n const scrollTop = this.refs.scrollingContainer.scrollTop\n\n this._setNextStateForScrollHelper({ scrollLeft, scrollTop })\n }\n}\n\n\n\n/** WEBPACK FOOTER **\n ** ./source/Grid/Grid.js\n **/","/** @flow */\nexport default from './InfiniteLoader'\nexport InfiniteLoader from './InfiniteLoader'\n\n\n\n/** WEBPACK FOOTER **\n ** ./source/InfiniteLoader/index.js\n **/","/** @flow */\nimport FlexTable from '../FlexTable'\nimport React, { Component, PropTypes } from 'react'\nimport shouldPureComponentUpdate from 'react-pure-render/function'\nimport VirtualScroll from '../VirtualScroll'\n\n/**\n * Higher-order component that manages lazy-loading for \"infinite\" data.\n * This component decorates a FlexTable or VirtualScroll and prefetches rows as a user scrolls to J.I.T. load data.\n * It is intended as a convenience component; fork it if you'd like finer-grained control over data-loading.\n */\nexport default class InfiniteLoader extends Component {\n shouldComponentUpdate = shouldPureComponentUpdate\n\n static propTypes = {\n /** Children must be either FlexTable or VirtualScroll */\n children (props, propName, componentName) {\n let error\n React.Children.forEach(props.children, child => {\n if (!(child.type === FlexTable || child.type === VirtualScroll)) {\n error = new Error(`InfiniteLoader only accepts children of types FlexTable or VirtualScroll not ${child.type}`)\n }\n })\n return error\n },\n /**\n * Function responsible for tracking the loaded state of each row.\n * It should implement the following signature: (index: number): boolean\n */\n isRowLoaded: PropTypes.func,\n /**\n * Callback to be invoked when more rows must be loaded.\n * It should implement the following signature: ({ startIndex, stopIndex }): Promise\n * The returned Promise should be resolved once row data has finished loading.\n * It will be used to determine when to refresh the list with the newly-loaded data.\n * This callback may be called multiple times in reaction to a single scroll event.\n */\n loadMoreRows: PropTypes.func.isRequired,\n /**\n * Number of rows in list; can be arbitrary high number if actual number is unknown.\n */\n rowsCount: PropTypes.number,\n /**\n * Threshold at which to pre-fetch data.\n * A threshold X means that data will start loading when a user scrolls within X rows.\n * This value defaults to 15.\n */\n threshold: PropTypes.number\n }\n\n static defaultProps = {\n threshold: 15\n }\n\n constructor (props) {\n super(props)\n\n this._onRowsRendered = this._onRowsRendered.bind(this)\n }\n\n componentDidReceiveProps (previousProps) {\n const { children } = this.props\n if (previousProps.children !== children) {\n let child = React.Children.only(children)\n this._originalOnRowsRendered = child.props.onRowsRendered\n }\n }\n\n componentWillMount () {\n const { children } = this.props\n let child = React.Children.only(children)\n this._originalOnRowsRendered = child.props.onRowsRendered\n }\n\n render () {\n const { children, ...props } = this.props\n\n let child = React.Children.only(children)\n\n child = React.cloneElement(\n child,\n {\n onRowsRendered: this._onRowsRendered,\n ref: 'VirtualScroll'\n }\n )\n\n return child\n }\n\n _onRowsRendered ({ startIndex, stopIndex }) {\n const { isRowLoaded, loadMoreRows, rowsCount, threshold } = this.props\n\n this._lastRenderedStartIndex = startIndex\n this._lastRenderedStopIndex = stopIndex\n\n const unloadedRanges = scanForUnloadedRanges({\n isRowLoaded,\n startIndex: Math.max(0, startIndex - threshold),\n stopIndex: Math.min(rowsCount, stopIndex + threshold)\n })\n\n unloadedRanges.forEach(unloadedRange => {\n let promise = loadMoreRows(unloadedRange)\n if (promise) {\n promise.then(() => {\n // Refresh the visible rows if any of them have just been loaded\n if (\n isRangeVisible({\n lastRenderedStartIndex: this._lastRenderedStartIndex,\n lastRenderedStopIndex: this._lastRenderedStopIndex,\n startIndex: unloadedRange.startIndex,\n stopIndex: unloadedRange.stopIndex\n })\n ) {\n // In case the component has been unmounted since the range was loaded\n if (this.refs.VirtualScroll) {\n this.refs.VirtualScroll.forceUpdate()\n }\n }\n })\n }\n })\n\n if (this._originalOnRowsRendered) {\n this._originalOnRowsRendered({ startIndex, stopIndex })\n }\n }\n}\n\n/**\n * Determines if the specified start/stop range is visible based on the most recently rendered range.\n */\nexport function isRangeVisible ({\n lastRenderedStartIndex,\n lastRenderedStopIndex,\n startIndex,\n stopIndex\n}) {\n return !(startIndex > lastRenderedStopIndex || stopIndex < lastRenderedStartIndex)\n}\n\n/**\n * Returns all of the ranges within a larger range that contain unloaded rows.\n */\nexport function scanForUnloadedRanges ({ isRowLoaded, startIndex, stopIndex }) {\n const unloadedRanges = []\n let rangeStartIndex = null\n let rangeStopIndex = null\n\n for (let i = startIndex; i <= stopIndex; i++) {\n let loaded = isRowLoaded(i)\n\n if (!loaded) {\n rangeStopIndex = i\n if (rangeStartIndex === null) {\n rangeStartIndex = i\n }\n } else if (rangeStopIndex !== null) {\n unloadedRanges.push({\n startIndex: rangeStartIndex,\n stopIndex: rangeStopIndex\n })\n\n rangeStartIndex = rangeStopIndex = null\n }\n }\n\n if (rangeStopIndex !== null) {\n unloadedRanges.push({\n startIndex: rangeStartIndex,\n stopIndex: rangeStopIndex\n })\n }\n\n return unloadedRanges\n}\n\n\n\n/** WEBPACK FOOTER **\n ** ./source/InfiniteLoader/InfiniteLoader.js\n **/"],"sourceRoot":""}