{"version":3,"sources":["webpack:///webpack/universalModuleDefinition","webpack:///react-virtualized.js","webpack:///webpack/bootstrap 5792e52091fe56c4d37a","webpack:///./source/index.js","webpack:///./source/ArrowKeyStepper/index.js","webpack:///./source/ArrowKeyStepper/ArrowKeyStepper.js","webpack:///external \"React\"","webpack:///external \"React.addons.shallowCompare\"","webpack:///./source/AutoSizer/index.js","webpack:///./source/AutoSizer/AutoSizer.js","webpack:///./source/vendor/detectElementResize.js","webpack:///./source/CellMeasurer/index.js","webpack:///./source/CellMeasurer/CellMeasurer.js","webpack:///external \"ReactDOM\"","webpack:///./source/Collection/index.js","webpack:///./source/Collection/Collection.js","webpack:///./source/Collection/CollectionView.js","webpack:///./~/classnames/index.js","webpack:///./source/utils/createCallbackMemoizer.js","webpack:///./~/dom-helpers/util/scrollbarSize.js","webpack:///./~/dom-helpers/util/inDOM.js","webpack:///./~/raf/index.js","webpack:///./~/performance-now/lib/performance-now.js","webpack:///./~/node-libs-browser/~/process/browser.js","webpack:///./source/Collection/utils/calculateSizeAndPositionData.js","webpack:///./source/Collection/SectionManager.js","webpack:///./source/Collection/Section.js","webpack:///./source/utils/getUpdatedOffsetForIndex.js","webpack:///./source/ColumnSizer/index.js","webpack:///./source/ColumnSizer/ColumnSizer.js","webpack:///./source/Grid/index.js","webpack:///./source/Grid/Grid.js","webpack:///./source/Grid/utils/calculateSizeAndPositionDataAndUpdateScrollOffset.js","webpack:///./source/Grid/utils/ScalingCellSizeAndPositionManager.js","webpack:///./source/Grid/utils/CellSizeAndPositionManager.js","webpack:///./source/Grid/utils/getOverscanIndices.js","webpack:///./source/Grid/utils/updateScrollIndexHelper.js","webpack:///./source/Grid/defaultCellRangeRenderer.js","webpack:///./source/FlexTable/index.js","webpack:///./source/FlexTable/FlexTable.js","webpack:///./source/FlexTable/FlexColumn.js","webpack:///./source/FlexTable/defaultHeaderRenderer.js","webpack:///./source/FlexTable/SortIndicator.js","webpack:///./source/FlexTable/SortDirection.js","webpack:///./source/FlexTable/defaultCellRenderer.js","webpack:///./source/FlexTable/defaultCellDataGetter.js","webpack:///./source/FlexTable/defaultRowRenderer.js","webpack:///./source/InfiniteLoader/index.js","webpack:///./source/InfiniteLoader/InfiniteLoader.js","webpack:///./source/ScrollSync/index.js","webpack:///./source/ScrollSync/ScrollSync.js","webpack:///./source/VirtualScroll/index.js","webpack:///./source/VirtualScroll/VirtualScroll.js","webpack:///./source/WindowScroller/index.js","webpack:///./source/WindowScroller/WindowScroller.js"],"names":["root","factory","exports","module","require","define","amd","this","__WEBPACK_EXTERNAL_MODULE_3__","__WEBPACK_EXTERNAL_MODULE_4__","__WEBPACK_EXTERNAL_MODULE_10__","modules","__webpack_require__","moduleId","installedModules","id","loaded","call","m","c","p","Object","defineProperty","value","_ArrowKeyStepper","enumerable","get","ArrowKeyStepper","_AutoSizer","AutoSizer","_CellMeasurer","CellMeasurer","_Collection","Collection","_ColumnSizer","ColumnSizer","_FlexTable","defaultRowRenderer","FlexTable","FlexColumn","SortDirection","SortIndicator","_Grid","defaultCellRangeRenderer","Grid","_InfiniteLoader","InfiniteLoader","_ScrollSync","ScrollSync","_VirtualScroll","VirtualScroll","_WindowScroller","WindowScroller","_interopRequireDefault","obj","__esModule","default","undefined","_ArrowKeyStepper2","_ArrowKeyStepper3","_classCallCheck","instance","Constructor","TypeError","_possibleConstructorReturn","self","ReferenceError","_inherits","subClass","superClass","prototype","create","constructor","writable","configurable","setPrototypeOf","__proto__","_createClass","defineProperties","target","props","i","length","descriptor","key","protoProps","staticProps","_react","_react2","_reactAddonsShallowCompare","_reactAddonsShallowCompare2","_Component","context","_this","getPrototypeOf","state","scrollToColumn","scrollToRow","_columnStartIndex","_columnStopIndex","_rowStartIndex","_rowStopIndex","_onKeyDown","bind","_onSectionRendered","_props","className","children","_state","createElement","onKeyDown","onSectionRendered","nextProps","nextState","event","_props2","columnCount","rowCount","preventDefault","setState","Math","min","max","_ref","columnStartIndex","columnStopIndex","rowStartIndex","rowStopIndex","Component","propTypes","PropTypes","func","isRequired","string","number","React","addons","shallowCompare","_AutoSizer2","_AutoSizer3","height","width","_onResize","_onScroll","_setRef","_detectElementResize","addResizeListener","_parentNode","removeResizeListener","disableHeight","disableWidth","outerStyle","overflow","ref","onScroll","style","onResize","boundingRect","getBoundingClientRect","getComputedStyle","paddingLeft","parseInt","paddingRight","paddingTop","paddingBottom","stopPropagation","autoSizer","parentNode","bool","defaultProps","_window","window","attachEvent","document","stylesCreated","requestFrame","raf","requestAnimationFrame","mozRequestAnimationFrame","webkitRequestAnimationFrame","fn","setTimeout","cancelFrame","cancel","cancelAnimationFrame","mozCancelAnimationFrame","webkitCancelAnimationFrame","clearTimeout","resetTriggers","element","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","position","innerHTML","addEventListener","push","detachEvent","splice","indexOf","removeEventListener","removeChild","_CellMeasurer2","_CellMeasurer3","_reactDom","_reactDom2","_cachedColumnWidths","_cachedRowHeights","getColumnWidth","getRowHeight","resetMeasurements","index","maxWidth","rowIndex","_measureCell2","_measureCell","clientWidth","columnIndex","_ref2","maxHeight","_measureCell3","clientHeight","_renderAndMount","_updateDivDimensions","_unmountContainer","container","findDOMNode","body","_ref3","_ref3$clientHeight","_ref3$clientWidth","cellRenderer","rendered","unstable_renderSubtreeIntoContainer","_div","measurements","unmountComponentAtNode","display","visibility","zIndex","_containerNode","_getContainerNode","_divHeight","_divWidth","oneOfType","node","_Collection2","_Collection3","_objectWithoutProperties","keys","hasOwnProperty","defaultCellGroupRenderer","_ref5","cellSizeAndPositionGetter","indices","isScrolling","map","cellMetadata","renderedCell","left","x","top","y","filter","_extends","assign","arguments","source","_CollectionView","_CollectionView2","_calculateSizeAndPositionData2","_calculateSizeAndPositionData3","_getUpdatedOffsetForIndex","_getUpdatedOffsetForIndex2","_cellMetadata","_lastRenderedCellIndices","_collectionView","recomputeCellSizesAndPositions","_this2","cellLayoutManager","cellCount","sectionSize","data","_sectionManager","sectionManager","_height","_width","align","cellIndex","cellOffset","cellSize","containerSize","currentOffset","targetIndex","_this3","cellGroupRenderer","getCellIndices","_ref4","getCellMetadata","aria-label","_classnames","_classnames2","_createCallbackMemoizer","_createCallbackMemoizer2","_scrollbarSize","_scrollbarSize2","_raf","_raf2","IS_SCROLLING_TIMEOUT","SCROLL_POSITION_CHANGE_REASONS","OBSERVED","REQUESTED","CollectionView","calculateSizeAndPositionDataOnNextUpdate","_onSectionRenderedMemoizer","_onScrollMemoizer","_invokeOnSectionRenderedHelper","_updateScrollPositionForScrollToCell","scrollToCell","_scrollbarSizeMeasured","_setScrollPosition","_cellLayoutManager$ge","getTotalSize","totalHeight","totalWidth","_invokeOnScrollMemoizer","prevProps","prevState","scrollPositionChangeReason","scrollToAlignment","_scrollingContainer","calculateSizeAndPositionData","_disablePointerEventsTimeoutId","_setNextStateAnimationFrameId","_props3","noContentRenderer","_state2","childrenToDisplay","cellRenderers","_cellLayoutManager$ge2","collectionStyle","verticalScrollBarSize","horizontalScrollBarSize","overflowX","overflowY","role","tabIndex","pointerEvents","_props4","callback","getLastRenderedIndices","_this4","_props5","_this5","newState","_props6","_state3","scrollPosition","getScrollPositionForCell","_enablePointerEventsAfterDelay","_props7","scrollbarSize","_cellLayoutManager$ge3","cancelable","_setNextState","object","oneOf","__WEBPACK_AMD_DEFINE_ARRAY__","__WEBPACK_AMD_DEFINE_RESULT__","classNames","classes","arg","argType","Array","isArray","apply","hasOwn","join","createCallbackMemoizer","requireAllKeys","cachedIndices","allInitialized","every","indexChanged","some","cachedValue","size","canUseDOM","recalc","scrollDiv","global","now","vendors","suffix","caf","last","queue","frameDuration","_now","next","cp","slice","cancelled","round","handle","polyfill","process","getNanoSeconds","hrtime","loadTime","performance","hr","Date","getTime","cleanUpNextTick","draining","currentQueue","concat","queueIndex","drainQueue","timeout","len","run","Item","fun","array","noop","nextTick","args","title","browser","env","argv","version","versions","on","addListener","once","off","removeListener","removeAllListeners","emit","binding","name","Error","cwd","chdir","dir","umask","_SectionManager2","cellMetadatum","isNaN","registerCell","_SectionManager","_Section","_Section2","SECTION_SIZE","SectionManager","_sectionSize","_sections","getSections","section","sectionXStart","floor","sectionXStop","sectionYStart","sectionYStop","sections","sectionX","sectionY","toString","addCellIndex","Section","_indexMap","_indices","getUpdatedOffsetForIndex","_ref$align","maxOffset","minOffset","_ColumnSizer2","_ColumnSizer3","_Grid2","_registerChild","columnMaxWidth","columnMinWidth","_registeredChild","recomputeGridSize","safeColumnMinWidth","safeColumnMaxWidth","columnWidth","adjustedWidth","registerChild","child","_Grid3","_defaultCellRangeRenderer2","_defaultCellRangeRenderer3","_calculateSizeAndPositionDataAndUpdateScrollOffset","_calculateSizeAndPositionDataAndUpdateScrollOffset2","_ScalingCellSizeAndPositionManager","_ScalingCellSizeAndPositionManager2","_getOverscanIndices","_getOverscanIndices2","_updateScrollIndexHelper","_updateScrollIndexHelper2","_defaultCellRangeRenderer","_onGridRenderedMemoizer","_enablePointerEventsAfterDelayCallback","_invokeOnGridRenderedHelper","_setNextStateCallback","_updateScrollLeftForScrollToColumn","_updateScrollTopForScrollToRow","_columnWidthGetter","_wrapSizeGetter","_rowHeightGetter","rowHeight","_columnSizeAndPositionManager","cellSizeGetter","estimatedCellSize","_getEstimatedColumnSize","_rowSizeAndPositionManager","_getEstimatedRowSize","_cellCache","getSizeAndPositionOfCell","_ref$columnIndex","_ref$rowIndex","resetCell","forceUpdate","totalColumnsWidth","totalRowsHeight","autoHeight","cellSizeAndPositionManager","previousCellsCount","previousCellSize","previousScrollToAlignment","previousScrollToIndex","previousSize","scrollOffset","scrollToIndex","updateScrollIndexCallback","_calculateChildrenToRender","configure","computeMetadataCallback","computeMetadataCallbackProps","nextCellsCount","nextCellSize","nextScrollToIndex","updateScrollOffsetForScrollToIndex","gridStyle","_childrenToDisplay","showNoContentRenderer","cellClassName","cellRangeRenderer","cellStyle","overscanColumnCount","overscanRowCount","visibleColumnIndices","getVisibleCellRange","offset","visibleRowIndices","horizontalOffsetAdjustment","getOffsetAdjustment","verticalOffsetAdjustment","_renderedColumnStartIndex","start","_renderedColumnStopIndex","stop","_renderedRowStartIndex","_renderedRowStopIndex","overscanColumnIndices","overscanCellsCount","startIndex","stopIndex","overscanRowIndices","overscanStartIndex","overscanStopIndex","cellCache","_wrapCellClassNameGetter","_wrapCellStyleGetter","columnSizeAndPositionManager","rowSizeAndPositionManager","estimatedColumnSize","estimatedRowSize","columnOverscanStartIndex","columnOverscanStopIndex","rowOverscanStartIndex","rowOverscanStopIndex","_nextState","_wrapPropertyGetter","Function","calculatedScrollLeft","calculatedScrollTop","calculateSizeAndPositionDataAndUpdateScrollOffset","DEFAULT_MAX_SCROLL_SIZE","_CellSizeAndPositionManager","_CellSizeAndPositionManager2","ScalingCellSizeAndPositionManager","_ref$maxScrollSize","maxScrollSize","params","_cellSizeAndPositionManager","_maxScrollSize","getCellCount","getEstimatedCellSize","getLastMeasuredIndex","totalSize","safeTotalSize","offsetPercentage","_getOffsetPercentage","getSizeAndPositionOfLastMeasuredCell","_ref3$align","_safeOffsetToOffset","_offsetToSafeOffset","_ref6","_ref7","CellSizeAndPositionManager","_cellSizeGetter","_cellCount","_estimatedCellSize","_cellSizeAndPositionData","_lastMeasuredIndex","lastMeasuredCellSizeAndPosition","_offset","_size","datum","idealOffset","_findNearestCell","high","low","middle","interval","_binarySearch","lastMeasuredIndex","_exponentialSearch","getOverscanIndices","updateScrollIndexHelper","hasScrollToIndex","sizeHasChanged","calculatedScrollOffset","renderedCells","rowDatum","columnDatum","cellStyleObject","_FlexTable2","_FlexTable3","_defaultRowRenderer2","_defaultRowRenderer3","_FlexColumn2","_FlexColumn3","_SortDirection2","_SortDirection3","_SortIndicator2","_SortIndicator3","_FlexColumn","_defaultRowRenderer","_SortDirection","scrollbarWidth","_cellClassName","_cellStyle","_createColumn","_createRow","measureAllCells","forceUpdateGrid","_setScrollbarWidth","disableHeader","gridClassName","headerHeight","noRowsRenderer","rowClassName","rowStyle","availableRowsHeight","rowClass","rowStyleObject","_cachedColumnStyles","Children","toArray","column","_getFlexStyleForColumn","_getRenderedHeaderRow","rowWrapperClassName","rowWrapperStyle","rowData","_column$props","cellDataGetter","columnData","dataKey","cellData","headerClassName","headerStyle","onHeaderClick","sort","sortBy","sortDirection","_column$props2","disableSort","headerRenderer","label","sortEnabled","FlexTable__sortableHeaderColumn","renderedHeader","a11yProps","newSortDirection","DESC","ASC","onClick","onRowClick","onRowDoubleClick","onRowMouseOver","onRowMouseOut","rowGetter","rowRenderer","columns","_getRowHeight","customStyle","flexValue","flexGrow","flexShrink","flex","msFlex","WebkitFlex","minWidth","items","_createHeader","_ref8","onRowsRendered","propName","componentName","_defaultHeaderRenderer","_defaultHeaderRenderer2","_defaultCellRenderer","_defaultCellRenderer2","_defaultCellDataGetter","_defaultCellDataGetter2","Column","any","defaultHeaderRenderer","showSortIndicator","_SortIndicator","FlexTable__sortableHeaderIcon--ASC","FlexTable__sortableHeaderIcon--DESC","viewBox","d","fill","defaultCellRenderer","cellDataKey","String","defaultCellDataGetter","onDoubleClick","onMouseOut","onMouseOver","_InfiniteLoader2","_InfiniteLoader3","isRangeVisible","lastRenderedStartIndex","lastRenderedStopIndex","scanForUnloadedRanges","isRowLoaded","minimumBatchSize","unloadedRanges","rangeStartIndex","rangeStopIndex","potentialStopIndex","_index","firstUnloadedRange","_index2","_onRowsRendered","loadMoreRows","threshold","_lastRenderedStartIndex","_lastRenderedStopIndex","unloadedRange","promise","then","registeredChild","_ScrollSync2","_ScrollSync3","_VirtualScroll2","_VirtualScroll3","_cellRenderer","_createRowClassNameGetter","_createRowStyleGetter","wrapped","_WindowScroller2","_WindowScroller3","_onScrollWindow","_onRes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B,MAElCnzB,KAAKgH;wBACH+K,cAAa;;;;gBrDo5KdlN,KAAK;gBACL7D,OAAO,SqDj5KO2F;oBAAO,IACd0C,WAAarJ,KAAKyE,MAAlB4E,UAEFhB,SAAS+B,OAAO8oB,eAAe;oBAErClzB,KAAKgH;wBAAWqB;wBAEhBgB;wBAAWhB;;;;gBrDq5KVxD,KAAK;gBACL7D,OAAO,SqDn5KO2F;oBAAO,IACdwC,WAAanJ,KAAKyE,MAAlB0E,UAGFiqB,UAAW,aAAahpB,SAC1BA,OAAOgpB,UACP9oB,SAAS+oB,gBAAgBrnB,WAEvBA,YAAY/E,KAAKE,IAAI,GAAGisB,UAAUpzB,KAAKizB;oBAEN,QAAnCjzB,KAAKmzB,+BACPnzB,KAAKmzB,6BAA6B7oB,SAAS6F,KAAK/G,MAAMuO;oBAEtDrN,SAAS6F,KAAK/G,MAAMuO,gBAAgB,QAEpC3X,KAAKuY;oBAGP,IAAM/S;wBACJuM,cAAa;wBACb/F;;oBAGGhM,KAAKwF,MAAMuM,cAGd/R,KAAK4Y,cAAcpT,SAFnBxF,KAAKgH,SAASxB,QAKhB2D;wBAAW6C;;;kBrDo5KLnJ;UACPmC,OAAOyC;QqDviLW5E,eACZ6E;YAMLtB,UAAUpB,OAAA2C,UAAUC,KAAKC;YAGzBwB,UAAUrE,OAAA2C,UAAUC,KAAKC;YAGzBsB,UAAUnE,OAAA2C,UAAUC,KAAKC;WAbRhF,eAgBZqH;YACLb,UAAU;YACVF,UAAU;WrDkiLbxJ,qBqDpjLoBkD","file":"react-virtualized.js","sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory(require(\"React\"), require(\"React.addons.shallowCompare\"), require(\"ReactDOM\"));\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([\"React\", \"React.addons.shallowCompare\", \"ReactDOM\"], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"ReactVirtualized\"] = factory(require(\"React\"), require(\"React.addons.shallowCompare\"), require(\"ReactDOM\"));\n\telse\n\t\troot[\"ReactVirtualized\"] = factory(root[\"React\"], root[\"React.addons.shallowCompare\"], root[\"ReactDOM\"]);\n})(this, function(__WEBPACK_EXTERNAL_MODULE_3__, __WEBPACK_EXTERNAL_MODULE_4__, __WEBPACK_EXTERNAL_MODULE_10__) {\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\"), require(\"React.addons.shallowCompare\"), require(\"ReactDOM\"));\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([\"React\", \"React.addons.shallowCompare\", \"ReactDOM\"], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"ReactVirtualized\"] = factory(require(\"React\"), require(\"React.addons.shallowCompare\"), require(\"ReactDOM\"));\n\telse\n\t\troot[\"ReactVirtualized\"] = factory(root[\"React\"], root[\"React.addons.shallowCompare\"], root[\"ReactDOM\"]);\n})(this, function(__WEBPACK_EXTERNAL_MODULE_3__, __WEBPACK_EXTERNAL_MODULE_4__, __WEBPACK_EXTERNAL_MODULE_10__) {\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 _ArrowKeyStepper = __webpack_require__(1);\n\t\n\tObject.defineProperty(exports, 'ArrowKeyStepper', {\n\t enumerable: true,\n\t get: function get() {\n\t return _ArrowKeyStepper.ArrowKeyStepper;\n\t }\n\t});\n\t\n\tvar _AutoSizer = __webpack_require__(5);\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 _CellMeasurer = __webpack_require__(8);\n\t\n\tObject.defineProperty(exports, 'CellMeasurer', {\n\t enumerable: true,\n\t get: function get() {\n\t return _CellMeasurer.CellMeasurer;\n\t }\n\t});\n\t\n\tvar _Collection = __webpack_require__(11);\n\t\n\tObject.defineProperty(exports, 'Collection', {\n\t enumerable: true,\n\t get: function get() {\n\t return _Collection.Collection;\n\t }\n\t});\n\t\n\tvar _ColumnSizer = __webpack_require__(25);\n\t\n\tObject.defineProperty(exports, 'ColumnSizer', {\n\t enumerable: true,\n\t get: function get() {\n\t return _ColumnSizer.ColumnSizer;\n\t }\n\t});\n\t\n\tvar _FlexTable = __webpack_require__(35);\n\t\n\tObject.defineProperty(exports, 'defaultFlexTableRowRenderer', {\n\t enumerable: true,\n\t get: function get() {\n\t return _FlexTable.defaultRowRenderer;\n\t }\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__(27);\n\t\n\tObject.defineProperty(exports, 'defaultCellRangeRenderer', {\n\t enumerable: true,\n\t get: function get() {\n\t return _Grid.defaultCellRangeRenderer;\n\t }\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__(44);\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 _ScrollSync = __webpack_require__(46);\n\t\n\tObject.defineProperty(exports, 'ScrollSync', {\n\t enumerable: true,\n\t get: function get() {\n\t return _ScrollSync.ScrollSync;\n\t }\n\t});\n\t\n\tvar _VirtualScroll = __webpack_require__(48);\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\t\n\tvar _WindowScroller = __webpack_require__(50);\n\t\n\tObject.defineProperty(exports, 'WindowScroller', {\n\t enumerable: true,\n\t get: function get() {\n\t return _WindowScroller.WindowScroller;\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\texports.ArrowKeyStepper = exports.default = undefined;\n\t\n\tvar _ArrowKeyStepper2 = __webpack_require__(2);\n\t\n\tvar _ArrowKeyStepper3 = _interopRequireDefault(_ArrowKeyStepper2);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\texports.default = _ArrowKeyStepper3.default;\n\texports.ArrowKeyStepper = _ArrowKeyStepper3.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 _react = __webpack_require__(3);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _reactAddonsShallowCompare = __webpack_require__(4);\n\t\n\tvar _reactAddonsShallowCompare2 = _interopRequireDefault(_reactAddonsShallowCompare);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\tvar ArrowKeyStepper = function (_Component) {\n\t _inherits(ArrowKeyStepper, _Component);\n\t\n\t function ArrowKeyStepper(props, context) {\n\t _classCallCheck(this, ArrowKeyStepper);\n\t\n\t var _this = _possibleConstructorReturn(this, Object.getPrototypeOf(ArrowKeyStepper).call(this, props, context));\n\t\n\t _this.state = {\n\t scrollToColumn: 0,\n\t scrollToRow: 0\n\t };\n\t\n\t _this._columnStartIndex = 0;\n\t _this._columnStopIndex = 0;\n\t _this._rowStartIndex = 0;\n\t _this._rowStopIndex = 0;\n\t\n\t _this._onKeyDown = _this._onKeyDown.bind(_this);\n\t _this._onSectionRendered = _this._onSectionRendered.bind(_this);\n\t return _this;\n\t }\n\t\n\t _createClass(ArrowKeyStepper, [{\n\t key: 'render',\n\t value: function render() {\n\t var _props = this.props;\n\t var className = _props.className;\n\t var children = _props.children;\n\t var _state = this.state;\n\t var scrollToColumn = _state.scrollToColumn;\n\t var scrollToRow = _state.scrollToRow;\n\t\n\t\n\t return _react2.default.createElement(\n\t 'div',\n\t {\n\t className: className,\n\t onKeyDown: this._onKeyDown\n\t },\n\t children({\n\t onSectionRendered: this._onSectionRendered,\n\t scrollToColumn: scrollToColumn,\n\t scrollToRow: scrollToRow\n\t })\n\t );\n\t }\n\t }, {\n\t key: 'shouldComponentUpdate',\n\t value: function shouldComponentUpdate(nextProps, nextState) {\n\t return (0, _reactAddonsShallowCompare2.default)(this, nextProps, nextState);\n\t }\n\t }, {\n\t key: '_onKeyDown',\n\t value: function _onKeyDown(event) {\n\t var _props2 = this.props;\n\t var columnCount = _props2.columnCount;\n\t var rowCount = _props2.rowCount;\n\t\n\t switch (event.key) {\n\t case 'ArrowDown':\n\t event.preventDefault();\n\t this.setState({\n\t scrollToRow: Math.min(this._rowStopIndex + 1, rowCount - 1)\n\t });\n\t break;\n\t case 'ArrowLeft':\n\t event.preventDefault();\n\t this.setState({\n\t scrollToColumn: Math.max(this._columnStartIndex - 1, 0)\n\t });\n\t break;\n\t case 'ArrowRight':\n\t event.preventDefault();\n\t this.setState({\n\t scrollToColumn: Math.min(this._columnStopIndex + 1, columnCount - 1)\n\t });\n\t break;\n\t case 'ArrowUp':\n\t event.preventDefault();\n\t this.setState({\n\t scrollToRow: Math.max(this._rowStartIndex - 1, 0)\n\t });\n\t break;\n\t }\n\t }\n\t }, {\n\t key: '_onSectionRendered',\n\t value: function _onSectionRendered(_ref) {\n\t var columnStartIndex = _ref.columnStartIndex;\n\t var columnStopIndex = _ref.columnStopIndex;\n\t var rowStartIndex = _ref.rowStartIndex;\n\t var rowStopIndex = _ref.rowStopIndex;\n\t\n\t this._columnStartIndex = columnStartIndex;\n\t this._columnStopIndex = columnStopIndex;\n\t this._rowStartIndex = rowStartIndex;\n\t this._rowStopIndex = rowStopIndex;\n\t }\n\t }]);\n\t\n\t return ArrowKeyStepper;\n\t}(_react.Component);\n\t\n\tArrowKeyStepper.propTypes = {\n\t children: _react.PropTypes.func.isRequired,\n\t className: _react.PropTypes.string,\n\t columnCount: _react.PropTypes.number.isRequired,\n\t rowCount: _react.PropTypes.number.isRequired\n\t};\n\texports.default = ArrowKeyStepper;\n\n/***/ },\n/* 3 */\n/***/ function(module, exports) {\n\n\tmodule.exports = __WEBPACK_EXTERNAL_MODULE_3__;\n\n/***/ },\n/* 4 */\n/***/ function(module, exports) {\n\n\tmodule.exports = React.addons.shallowCompare;\n\n/***/ },\n/* 5 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\texports.AutoSizer = exports.default = undefined;\n\t\n\tvar _AutoSizer2 = __webpack_require__(6);\n\t\n\tvar _AutoSizer3 = _interopRequireDefault(_AutoSizer2);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\texports.default = _AutoSizer3.default;\n\texports.AutoSizer = _AutoSizer3.default;\n\n/***/ },\n/* 6 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\t\n\tvar _react = __webpack_require__(3);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _reactAddonsShallowCompare = __webpack_require__(4);\n\t\n\tvar _reactAddonsShallowCompare2 = _interopRequireDefault(_reactAddonsShallowCompare);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\tvar AutoSizer = function (_Component) {\n\t _inherits(AutoSizer, _Component);\n\t\n\t function AutoSizer(props) {\n\t _classCallCheck(this, AutoSizer);\n\t\n\t var _this = _possibleConstructorReturn(this, Object.getPrototypeOf(AutoSizer).call(this, props));\n\t\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._onScroll = _this._onScroll.bind(_this);\n\t _this._setRef = _this._setRef.bind(_this);\n\t return _this;\n\t }\n\t\n\t _createClass(AutoSizer, [{\n\t key: 'componentDidMount',\n\t value: function componentDidMount() {\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 if (this._detectElementResize) {\n\t this._detectElementResize.removeResizeListener(this._parentNode, this._onResize);\n\t }\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 disableHeight = _props.disableHeight;\n\t var disableWidth = _props.disableWidth;\n\t var _state = this.state;\n\t var height = _state.height;\n\t var width = _state.width;\n\t\n\t var outerStyle = { overflow: 'visible' };\n\t\n\t if (!disableHeight) {\n\t outerStyle.height = 0;\n\t }\n\t\n\t if (!disableWidth) {\n\t outerStyle.width = 0;\n\t }\n\t\n\t return _react2.default.createElement(\n\t 'div',\n\t {\n\t ref: this._setRef,\n\t onScroll: this._onScroll,\n\t style: outerStyle\n\t },\n\t children({ height: height, width: width })\n\t );\n\t }\n\t }, {\n\t key: 'shouldComponentUpdate',\n\t value: function shouldComponentUpdate(nextProps, nextState) {\n\t return (0, _reactAddonsShallowCompare2.default)(this, nextProps, nextState);\n\t }\n\t }, {\n\t key: '_onResize',\n\t value: function _onResize() {\n\t var onResize = this.props.onResize;\n\t\n\t\n\t var boundingRect = this._parentNode.getBoundingClientRect();\n\t var height = boundingRect.height || 0;\n\t var width = boundingRect.width || 0;\n\t\n\t var style = getComputedStyle(this._parentNode);\n\t var paddingLeft = parseInt(style.paddingLeft, 10) || 0;\n\t var paddingRight = parseInt(style.paddingRight, 10) || 0;\n\t var paddingTop = parseInt(style.paddingTop, 10) || 0;\n\t var paddingBottom = parseInt(style.paddingBottom, 10) || 0;\n\t\n\t this.setState({\n\t height: height - paddingTop - paddingBottom,\n\t width: width - paddingLeft - paddingRight\n\t });\n\t\n\t onResize({ height: height, width: width });\n\t }\n\t }, {\n\t key: '_onScroll',\n\t value: function _onScroll(event) {\n\t event.stopPropagation();\n\t }\n\t }, {\n\t key: '_setRef',\n\t value: function _setRef(autoSizer) {\n\t this._parentNode = autoSizer && autoSizer.parentNode;\n\t }\n\t }]);\n\t\n\t return AutoSizer;\n\t}(_react.Component);\n\t\n\tAutoSizer.propTypes = {\n\t children: _react.PropTypes.func.isRequired,\n\t\n\t disableHeight: _react.PropTypes.bool,\n\t\n\t disableWidth: _react.PropTypes.bool,\n\t\n\t onResize: _react.PropTypes.func.isRequired\n\t};\n\tAutoSizer.defaultProps = {\n\t onResize: function onResize() {}\n\t};\n\texports.default = AutoSizer;\n\n/***/ },\n/* 7 */\n/***/ function(module, exports) {\n\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 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 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 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, true);\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\texports.CellMeasurer = exports.default = undefined;\n\t\n\tvar _CellMeasurer2 = __webpack_require__(9);\n\t\n\tvar _CellMeasurer3 = _interopRequireDefault(_CellMeasurer2);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\texports.default = _CellMeasurer3.default;\n\texports.CellMeasurer = _CellMeasurer3.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 _react = __webpack_require__(3);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _reactDom = __webpack_require__(10);\n\t\n\tvar _reactDom2 = _interopRequireDefault(_reactDom);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\tvar CellMeasurer = function (_Component) {\n\t _inherits(CellMeasurer, _Component);\n\t\n\t function CellMeasurer(props, state) {\n\t _classCallCheck(this, CellMeasurer);\n\t\n\t var _this = _possibleConstructorReturn(this, Object.getPrototypeOf(CellMeasurer).call(this, props, state));\n\t\n\t _this._cachedColumnWidths = {};\n\t _this._cachedRowHeights = {};\n\t\n\t _this.getColumnWidth = _this.getColumnWidth.bind(_this);\n\t _this.getRowHeight = _this.getRowHeight.bind(_this);\n\t _this.resetMeasurements = _this.resetMeasurements.bind(_this);\n\t return _this;\n\t }\n\t\n\t _createClass(CellMeasurer, [{\n\t key: 'getColumnWidth',\n\t value: function getColumnWidth(_ref) {\n\t var index = _ref.index;\n\t\n\t if (this._cachedColumnWidths[index]) {\n\t return this._cachedColumnWidths[index];\n\t }\n\t\n\t var rowCount = this.props.rowCount;\n\t\n\t\n\t var maxWidth = 0;\n\t\n\t for (var rowIndex = 0; rowIndex < rowCount; rowIndex++) {\n\t var _measureCell2 = this._measureCell({\n\t clientWidth: true,\n\t columnIndex: index,\n\t rowIndex: rowIndex\n\t });\n\t\n\t var width = _measureCell2.width;\n\t\n\t\n\t maxWidth = Math.max(maxWidth, width);\n\t }\n\t\n\t this._cachedColumnWidths[index] = maxWidth;\n\t\n\t return maxWidth;\n\t }\n\t }, {\n\t key: 'getRowHeight',\n\t value: function getRowHeight(_ref2) {\n\t var index = _ref2.index;\n\t\n\t if (this._cachedRowHeights[index]) {\n\t return this._cachedRowHeights[index];\n\t }\n\t\n\t var columnCount = this.props.columnCount;\n\t\n\t\n\t var maxHeight = 0;\n\t\n\t for (var columnIndex = 0; columnIndex < columnCount; columnIndex++) {\n\t var _measureCell3 = this._measureCell({\n\t clientHeight: true,\n\t columnIndex: columnIndex,\n\t rowIndex: index\n\t });\n\t\n\t var height = _measureCell3.height;\n\t\n\t\n\t maxHeight = Math.max(maxHeight, height);\n\t }\n\t\n\t this._cachedRowHeights[index] = maxHeight;\n\t\n\t return maxHeight;\n\t }\n\t }, {\n\t key: 'resetMeasurements',\n\t value: function resetMeasurements() {\n\t this._cachedColumnWidths = {};\n\t this._cachedRowHeights = {};\n\t }\n\t }, {\n\t key: 'componentDidMount',\n\t value: function componentDidMount() {\n\t this._renderAndMount();\n\t }\n\t }, {\n\t key: 'componentWillReceiveProps',\n\t value: function componentWillReceiveProps(nextProps) {\n\t this._updateDivDimensions(nextProps);\n\t }\n\t }, {\n\t key: 'componentWillUnmount',\n\t value: function componentWillUnmount() {\n\t this._unmountContainer();\n\t }\n\t }, {\n\t key: 'render',\n\t value: function render() {\n\t var children = this.props.children;\n\t\n\t\n\t return children({\n\t getColumnWidth: this.getColumnWidth,\n\t getRowHeight: this.getRowHeight,\n\t resetMeasurements: this.resetMeasurements\n\t });\n\t }\n\t }, {\n\t key: '_getContainerNode',\n\t value: function _getContainerNode(props) {\n\t var container = props.container;\n\t\n\t\n\t if (container) {\n\t return _reactDom2.default.findDOMNode(typeof container === 'function' ? container() : container);\n\t } else {\n\t return document.body;\n\t }\n\t }\n\t }, {\n\t key: '_measureCell',\n\t value: function _measureCell(_ref3) {\n\t var _ref3$clientHeight = _ref3.clientHeight;\n\t var clientHeight = _ref3$clientHeight === undefined ? false : _ref3$clientHeight;\n\t var _ref3$clientWidth = _ref3.clientWidth;\n\t var clientWidth = _ref3$clientWidth === undefined ? true : _ref3$clientWidth;\n\t var columnIndex = _ref3.columnIndex;\n\t var rowIndex = _ref3.rowIndex;\n\t var cellRenderer = this.props.cellRenderer;\n\t\n\t\n\t var rendered = cellRenderer({\n\t columnIndex: columnIndex,\n\t rowIndex: rowIndex\n\t });\n\t\n\t this._renderAndMount();\n\t\n\t _reactDom2.default.unstable_renderSubtreeIntoContainer(this, rendered, this._div);\n\t\n\t var measurements = {\n\t height: clientHeight && this._div.clientHeight,\n\t width: clientWidth && this._div.clientWidth\n\t };\n\t\n\t _reactDom2.default.unmountComponentAtNode(this._div);\n\t\n\t return measurements;\n\t }\n\t }, {\n\t key: '_renderAndMount',\n\t value: function _renderAndMount() {\n\t if (!this._div) {\n\t this._div = document.createElement('div');\n\t this._div.style.display = 'inline-block';\n\t this._div.style.position = 'absolute';\n\t this._div.style.visibility = 'hidden';\n\t this._div.style.zIndex = -1;\n\t\n\t this._updateDivDimensions(this.props);\n\t\n\t this._containerNode = this._getContainerNode(this.props);\n\t this._containerNode.appendChild(this._div);\n\t }\n\t }\n\t }, {\n\t key: '_unmountContainer',\n\t value: function _unmountContainer() {\n\t if (this._div) {\n\t this._containerNode.removeChild(this._div);\n\t\n\t this._div = null;\n\t }\n\t\n\t this._containerNode = null;\n\t }\n\t }, {\n\t key: '_updateDivDimensions',\n\t value: function _updateDivDimensions(props) {\n\t var height = props.height;\n\t var width = props.width;\n\t\n\t\n\t if (height && height !== this._divHeight) {\n\t this._divHeight = height;\n\t this._div.style.height = height + 'px';\n\t }\n\t\n\t if (width && width !== this._divWidth) {\n\t this._divWidth = width;\n\t this._div.style.width = width + 'px';\n\t }\n\t }\n\t }]);\n\t\n\t return CellMeasurer;\n\t}(_react.Component);\n\t\n\tCellMeasurer.propTypes = {\n\t cellRenderer: _react.PropTypes.func.isRequired,\n\t\n\t children: _react.PropTypes.func.isRequired,\n\t\n\t columnCount: _react.PropTypes.number.isRequired,\n\t\n\t container: _react2.default.PropTypes.oneOfType([_react2.default.PropTypes.func, _react2.default.PropTypes.node]),\n\t\n\t height: _react.PropTypes.number,\n\t\n\t rowCount: _react.PropTypes.number.isRequired,\n\t\n\t width: _react.PropTypes.number\n\t};\n\texports.default = CellMeasurer;\n\n/***/ },\n/* 10 */\n/***/ function(module, exports) {\n\n\tmodule.exports = __WEBPACK_EXTERNAL_MODULE_10__;\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\texports.Collection = exports.default = undefined;\n\t\n\tvar _Collection2 = __webpack_require__(12);\n\t\n\tvar _Collection3 = _interopRequireDefault(_Collection2);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\texports.default = _Collection3.default;\n\texports.Collection = _Collection3.default;\n\n/***/ },\n/* 12 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\t\n\tvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\t\n\tvar _react = __webpack_require__(3);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _CollectionView = __webpack_require__(13);\n\t\n\tvar _CollectionView2 = _interopRequireDefault(_CollectionView);\n\t\n\tvar _calculateSizeAndPositionData2 = __webpack_require__(21);\n\t\n\tvar _calculateSizeAndPositionData3 = _interopRequireDefault(_calculateSizeAndPositionData2);\n\t\n\tvar _getUpdatedOffsetForIndex = __webpack_require__(24);\n\t\n\tvar _getUpdatedOffsetForIndex2 = _interopRequireDefault(_getUpdatedOffsetForIndex);\n\t\n\tvar _reactAddonsShallowCompare = __webpack_require__(4);\n\t\n\tvar _reactAddonsShallowCompare2 = _interopRequireDefault(_reactAddonsShallowCompare);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\tvar Collection = function (_Component) {\n\t _inherits(Collection, _Component);\n\t\n\t function Collection(props, context) {\n\t _classCallCheck(this, Collection);\n\t\n\t var _this = _possibleConstructorReturn(this, Object.getPrototypeOf(Collection).call(this, props, context));\n\t\n\t _this._cellMetadata = [];\n\t _this._lastRenderedCellIndices = [];\n\t return _this;\n\t }\n\t\n\t _createClass(Collection, [{\n\t key: 'recomputeCellSizesAndPositions',\n\t value: function recomputeCellSizesAndPositions() {\n\t this._collectionView.recomputeCellSizesAndPositions();\n\t }\n\t }, {\n\t key: 'render',\n\t value: function render() {\n\t var _this2 = this;\n\t\n\t var props = _objectWithoutProperties(this.props, []);\n\t\n\t return _react2.default.createElement(_CollectionView2.default, _extends({\n\t cellLayoutManager: this,\n\t ref: function ref(_ref) {\n\t _this2._collectionView = _ref;\n\t }\n\t }, props));\n\t }\n\t }, {\n\t key: 'shouldComponentUpdate',\n\t value: function shouldComponentUpdate(nextProps, nextState) {\n\t return (0, _reactAddonsShallowCompare2.default)(this, nextProps, nextState);\n\t }\n\t }, {\n\t key: 'calculateSizeAndPositionData',\n\t value: function calculateSizeAndPositionData() {\n\t var _props = this.props;\n\t var cellCount = _props.cellCount;\n\t var cellSizeAndPositionGetter = _props.cellSizeAndPositionGetter;\n\t var sectionSize = _props.sectionSize;\n\t\n\t\n\t var data = (0, _calculateSizeAndPositionData3.default)({\n\t cellCount: cellCount,\n\t cellSizeAndPositionGetter: cellSizeAndPositionGetter,\n\t sectionSize: sectionSize\n\t });\n\t\n\t this._cellMetadata = data.cellMetadata;\n\t this._sectionManager = data.sectionManager;\n\t this._height = data.height;\n\t this._width = data.width;\n\t }\n\t }, {\n\t key: 'getLastRenderedIndices',\n\t value: function getLastRenderedIndices() {\n\t return this._lastRenderedCellIndices;\n\t }\n\t }, {\n\t key: 'getScrollPositionForCell',\n\t value: function getScrollPositionForCell(_ref2) {\n\t var align = _ref2.align;\n\t var cellIndex = _ref2.cellIndex;\n\t var height = _ref2.height;\n\t var scrollLeft = _ref2.scrollLeft;\n\t var scrollTop = _ref2.scrollTop;\n\t var width = _ref2.width;\n\t var cellCount = this.props.cellCount;\n\t\n\t\n\t if (cellIndex >= 0 && cellIndex < cellCount) {\n\t var cellMetadata = this._cellMetadata[cellIndex];\n\t\n\t scrollLeft = (0, _getUpdatedOffsetForIndex2.default)({\n\t align: align,\n\t cellOffset: cellMetadata.x,\n\t cellSize: cellMetadata.width,\n\t containerSize: width,\n\t currentOffset: scrollLeft,\n\t targetIndex: cellIndex\n\t });\n\t\n\t scrollTop = (0, _getUpdatedOffsetForIndex2.default)({\n\t align: align,\n\t cellOffset: cellMetadata.y,\n\t cellSize: cellMetadata.height,\n\t containerSize: height,\n\t currentOffset: scrollTop,\n\t targetIndex: cellIndex\n\t });\n\t }\n\t\n\t return {\n\t scrollLeft: scrollLeft,\n\t scrollTop: scrollTop\n\t };\n\t }\n\t }, {\n\t key: 'getTotalSize',\n\t value: function getTotalSize() {\n\t return {\n\t height: this._height,\n\t width: this._width\n\t };\n\t }\n\t }, {\n\t key: 'cellRenderers',\n\t value: function cellRenderers(_ref3) {\n\t var _this3 = this;\n\t\n\t var height = _ref3.height;\n\t var isScrolling = _ref3.isScrolling;\n\t var width = _ref3.width;\n\t var x = _ref3.x;\n\t var y = _ref3.y;\n\t var _props2 = this.props;\n\t var cellGroupRenderer = _props2.cellGroupRenderer;\n\t var cellRenderer = _props2.cellRenderer;\n\t\n\t this._lastRenderedCellIndices = this._sectionManager.getCellIndices({\n\t height: height,\n\t width: width,\n\t x: x,\n\t y: y\n\t });\n\t\n\t return cellGroupRenderer({\n\t cellRenderer: cellRenderer,\n\t cellSizeAndPositionGetter: function cellSizeAndPositionGetter(_ref4) {\n\t var index = _ref4.index;\n\t return _this3._sectionManager.getCellMetadata({ index: index });\n\t },\n\t indices: this._lastRenderedCellIndices,\n\t isScrolling: isScrolling\n\t });\n\t }\n\t }]);\n\t\n\t return Collection;\n\t}(_react.Component);\n\t\n\tCollection.propTypes = {\n\t 'aria-label': _react.PropTypes.string,\n\t\n\t cellCount: _react.PropTypes.number.isRequired,\n\t\n\t cellGroupRenderer: _react.PropTypes.func.isRequired,\n\t\n\t cellRenderer: _react.PropTypes.func.isRequired,\n\t\n\t cellSizeAndPositionGetter: _react.PropTypes.func.isRequired,\n\t\n\t sectionSize: _react.PropTypes.number\n\t};\n\tCollection.defaultProps = {\n\t 'aria-label': 'grid',\n\t cellGroupRenderer: defaultCellGroupRenderer\n\t};\n\texports.default = Collection;\n\t\n\t\n\tfunction defaultCellGroupRenderer(_ref5) {\n\t var cellRenderer = _ref5.cellRenderer;\n\t var cellSizeAndPositionGetter = _ref5.cellSizeAndPositionGetter;\n\t var indices = _ref5.indices;\n\t var isScrolling = _ref5.isScrolling;\n\t\n\t return indices.map(function (index) {\n\t var cellMetadata = cellSizeAndPositionGetter({ index: index });\n\t var renderedCell = cellRenderer({\n\t index: index,\n\t isScrolling: isScrolling\n\t });\n\t\n\t if (renderedCell == null || renderedCell === false) {\n\t return null;\n\t }\n\t\n\t return _react2.default.createElement(\n\t 'div',\n\t {\n\t className: 'Collection__cell',\n\t key: index,\n\t style: {\n\t height: cellMetadata.height,\n\t left: cellMetadata.x,\n\t top: cellMetadata.y,\n\t width: cellMetadata.width\n\t }\n\t },\n\t renderedCell\n\t );\n\t }).filter(function (renderedCell) {\n\t return !!renderedCell;\n\t });\n\t}\n\n/***/ },\n/* 13 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\t\n\tvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\t\n\tvar _react = __webpack_require__(3);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _classnames = __webpack_require__(14);\n\t\n\tvar _classnames2 = _interopRequireDefault(_classnames);\n\t\n\tvar _createCallbackMemoizer = __webpack_require__(15);\n\t\n\tvar _createCallbackMemoizer2 = _interopRequireDefault(_createCallbackMemoizer);\n\t\n\tvar _scrollbarSize = __webpack_require__(16);\n\t\n\tvar _scrollbarSize2 = _interopRequireDefault(_scrollbarSize);\n\t\n\tvar _raf = __webpack_require__(18);\n\t\n\tvar _raf2 = _interopRequireDefault(_raf);\n\t\n\tvar _reactAddonsShallowCompare = __webpack_require__(4);\n\t\n\tvar _reactAddonsShallowCompare2 = _interopRequireDefault(_reactAddonsShallowCompare);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\tvar IS_SCROLLING_TIMEOUT = 150;\n\t\n\tvar SCROLL_POSITION_CHANGE_REASONS = {\n\t OBSERVED: 'observed',\n\t REQUESTED: 'requested'\n\t};\n\t\n\tvar CollectionView = function (_Component) {\n\t _inherits(CollectionView, _Component);\n\t\n\t function CollectionView(props, context) {\n\t _classCallCheck(this, CollectionView);\n\t\n\t var _this = _possibleConstructorReturn(this, Object.getPrototypeOf(CollectionView).call(this, props, context));\n\t\n\t _this.state = {\n\t calculateSizeAndPositionDataOnNextUpdate: false,\n\t isScrolling: false,\n\t scrollLeft: 0,\n\t scrollTop: 0\n\t };\n\t\n\t _this._onSectionRenderedMemoizer = (0, _createCallbackMemoizer2.default)();\n\t _this._onScrollMemoizer = (0, _createCallbackMemoizer2.default)(false);\n\t\n\t _this._invokeOnSectionRenderedHelper = _this._invokeOnSectionRenderedHelper.bind(_this);\n\t _this._onScroll = _this._onScroll.bind(_this);\n\t _this._updateScrollPositionForScrollToCell = _this._updateScrollPositionForScrollToCell.bind(_this);\n\t return _this;\n\t }\n\t\n\t _createClass(CollectionView, [{\n\t key: 'recomputeCellSizesAndPositions',\n\t value: function recomputeCellSizesAndPositions() {\n\t this.setState({\n\t calculateSizeAndPositionDataOnNextUpdate: true\n\t });\n\t }\n\t }, {\n\t key: 'componentDidMount',\n\t value: function componentDidMount() {\n\t var _props = this.props;\n\t var cellLayoutManager = _props.cellLayoutManager;\n\t var scrollLeft = _props.scrollLeft;\n\t var scrollToCell = _props.scrollToCell;\n\t var scrollTop = _props.scrollTop;\n\t\n\t if (!this._scrollbarSizeMeasured) {\n\t this._scrollbarSize = (0, _scrollbarSize2.default)();\n\t this._scrollbarSizeMeasured = true;\n\t this.setState({});\n\t }\n\t\n\t if (scrollToCell >= 0) {\n\t this._updateScrollPositionForScrollToCell();\n\t } else if (scrollLeft >= 0 || scrollTop >= 0) {\n\t this._setScrollPosition({ scrollLeft: scrollLeft, scrollTop: scrollTop });\n\t }\n\t\n\t this._invokeOnSectionRenderedHelper();\n\t\n\t var _cellLayoutManager$ge = cellLayoutManager.getTotalSize();\n\t\n\t var totalHeight = _cellLayoutManager$ge.height;\n\t var totalWidth = _cellLayoutManager$ge.width;\n\t\n\t this._invokeOnScrollMemoizer({\n\t scrollLeft: scrollLeft || 0,\n\t scrollTop: scrollTop || 0,\n\t totalHeight: totalHeight,\n\t totalWidth: totalWidth\n\t });\n\t }\n\t }, {\n\t key: 'componentDidUpdate',\n\t value: function componentDidUpdate(prevProps, prevState) {\n\t var _props2 = this.props;\n\t var height = _props2.height;\n\t var scrollToCell = _props2.scrollToCell;\n\t var width = _props2.width;\n\t var _state = this.state;\n\t var scrollLeft = _state.scrollLeft;\n\t var scrollPositionChangeReason = _state.scrollPositionChangeReason;\n\t var scrollToAlignment = _state.scrollToAlignment;\n\t var scrollTop = _state.scrollTop;\n\t\n\t if (scrollPositionChangeReason === SCROLL_POSITION_CHANGE_REASONS.REQUESTED) {\n\t if (scrollLeft >= 0 && scrollLeft !== prevState.scrollLeft && scrollLeft !== this._scrollingContainer.scrollLeft) {\n\t this._scrollingContainer.scrollLeft = scrollLeft;\n\t }\n\t if (scrollTop >= 0 && scrollTop !== prevState.scrollTop && scrollTop !== this._scrollingContainer.scrollTop) {\n\t this._scrollingContainer.scrollTop = scrollTop;\n\t }\n\t }\n\t\n\t if (height !== prevProps.height || scrollToAlignment !== prevProps.scrollToAlignment || scrollToCell !== prevProps.scrollToCell || width !== prevProps.width) {\n\t this._updateScrollPositionForScrollToCell();\n\t }\n\t\n\t this._invokeOnSectionRenderedHelper();\n\t }\n\t }, {\n\t key: 'componentWillMount',\n\t value: function componentWillMount() {\n\t var cellLayoutManager = this.props.cellLayoutManager;\n\t\n\t\n\t cellLayoutManager.calculateSizeAndPositionData();\n\t\n\t this._scrollbarSize = (0, _scrollbarSize2.default)();\n\t if (this._scrollbarSize === undefined) {\n\t this._scrollbarSizeMeasured = false;\n\t this._scrollbarSize = 0;\n\t } else {\n\t this._scrollbarSizeMeasured = true;\n\t }\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\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.cellCount === 0 && (nextState.scrollLeft !== 0 || nextState.scrollTop !== 0)) {\n\t this._setScrollPosition({\n\t scrollLeft: 0,\n\t scrollTop: 0\n\t });\n\t } else if (nextProps.scrollLeft !== this.props.scrollLeft || nextProps.scrollTop !== this.props.scrollTop) {\n\t this._setScrollPosition({\n\t scrollLeft: nextProps.scrollLeft,\n\t scrollTop: nextProps.scrollTop\n\t });\n\t }\n\t\n\t if (nextProps.cellCount !== this.props.cellCount || nextProps.cellLayoutManager !== this.props.cellLayoutManager || nextState.calculateSizeAndPositionDataOnNextUpdate) {\n\t nextProps.cellLayoutManager.calculateSizeAndPositionData();\n\t }\n\t\n\t if (nextState.calculateSizeAndPositionDataOnNextUpdate) {\n\t this.setState({\n\t calculateSizeAndPositionDataOnNextUpdate: false\n\t });\n\t }\n\t }\n\t }, {\n\t key: 'render',\n\t value: function render() {\n\t var _this2 = this;\n\t\n\t var _props3 = this.props;\n\t var cellLayoutManager = _props3.cellLayoutManager;\n\t var className = _props3.className;\n\t var height = _props3.height;\n\t var noContentRenderer = _props3.noContentRenderer;\n\t var style = _props3.style;\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\n\t var childrenToDisplay = height > 0 && width > 0 ? cellLayoutManager.cellRenderers({\n\t height: height,\n\t isScrolling: isScrolling,\n\t width: width,\n\t x: scrollLeft,\n\t y: scrollTop\n\t }) : [];\n\t\n\t var _cellLayoutManager$ge2 = cellLayoutManager.getTotalSize();\n\t\n\t var totalHeight = _cellLayoutManager$ge2.height;\n\t var totalWidth = _cellLayoutManager$ge2.width;\n\t\n\t\n\t var collectionStyle = {\n\t height: height,\n\t width: width\n\t };\n\t\n\t var verticalScrollBarSize = totalHeight > height ? this._scrollbarSize : 0;\n\t var horizontalScrollBarSize = totalWidth > width ? this._scrollbarSize : 0;\n\t if (totalWidth + verticalScrollBarSize <= width) {\n\t collectionStyle.overflowX = 'hidden';\n\t }\n\t if (totalHeight + horizontalScrollBarSize <= height) {\n\t collectionStyle.overflowY = 'hidden';\n\t }\n\t\n\t return _react2.default.createElement(\n\t 'div',\n\t {\n\t ref: function ref(_ref) {\n\t _this2._scrollingContainer = _ref;\n\t },\n\t 'aria-label': this.props['aria-label'],\n\t className: (0, _classnames2.default)('Collection', className),\n\t onScroll: this._onScroll,\n\t role: 'grid',\n\t style: _extends({}, collectionStyle, style),\n\t tabIndex: 0\n\t },\n\t childrenToDisplay.length > 0 && _react2.default.createElement(\n\t 'div',\n\t {\n\t className: 'Collection__innerScrollContainer',\n\t style: {\n\t height: totalHeight,\n\t maxHeight: totalHeight,\n\t maxWidth: totalWidth,\n\t pointerEvents: isScrolling ? 'none' : 'auto',\n\t width: totalWidth\n\t }\n\t },\n\t childrenToDisplay\n\t ),\n\t childrenToDisplay.length === 0 && noContentRenderer()\n\t );\n\t }\n\t }, {\n\t key: 'shouldComponentUpdate',\n\t value: function shouldComponentUpdate(nextProps, nextState) {\n\t return (0, _reactAddonsShallowCompare2.default)(this, nextProps, nextState);\n\t }\n\t }, {\n\t key: '_enablePointerEventsAfterDelay',\n\t value: function _enablePointerEventsAfterDelay() {\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: '_invokeOnSectionRenderedHelper',\n\t value: function _invokeOnSectionRenderedHelper() {\n\t var _props4 = this.props;\n\t var cellLayoutManager = _props4.cellLayoutManager;\n\t var onSectionRendered = _props4.onSectionRendered;\n\t\n\t\n\t this._onSectionRenderedMemoizer({\n\t callback: onSectionRendered,\n\t indices: {\n\t indices: cellLayoutManager.getLastRenderedIndices()\n\t }\n\t });\n\t }\n\t }, {\n\t key: '_invokeOnScrollMemoizer',\n\t value: function _invokeOnScrollMemoizer(_ref2) {\n\t var _this4 = this;\n\t\n\t var scrollLeft = _ref2.scrollLeft;\n\t var scrollTop = _ref2.scrollTop;\n\t var totalHeight = _ref2.totalHeight;\n\t var totalWidth = _ref2.totalWidth;\n\t\n\t this._onScrollMemoizer({\n\t callback: function callback(_ref3) {\n\t var scrollLeft = _ref3.scrollLeft;\n\t var scrollTop = _ref3.scrollTop;\n\t var _props5 = _this4.props;\n\t var height = _props5.height;\n\t var onScroll = _props5.onScroll;\n\t var width = _props5.width;\n\t\n\t\n\t onScroll({\n\t clientHeight: height,\n\t clientWidth: width,\n\t scrollHeight: totalHeight,\n\t scrollLeft: scrollLeft,\n\t scrollTop: scrollTop,\n\t scrollWidth: totalWidth\n\t });\n\t },\n\t indices: {\n\t scrollLeft: scrollLeft,\n\t scrollTop: scrollTop\n\t }\n\t });\n\t }\n\t }, {\n\t key: '_setNextState',\n\t value: function _setNextState(state) {\n\t var _this5 = 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 _this5._setNextStateAnimationFrameId = null;\n\t _this5.setState(state);\n\t });\n\t }\n\t }, {\n\t key: '_setScrollPosition',\n\t value: function _setScrollPosition(_ref4) {\n\t var scrollLeft = _ref4.scrollLeft;\n\t var scrollTop = _ref4.scrollTop;\n\t\n\t var newState = {\n\t scrollPositionChangeReason: SCROLL_POSITION_CHANGE_REASONS.REQUESTED\n\t };\n\t\n\t if (scrollLeft >= 0) {\n\t newState.scrollLeft = scrollLeft;\n\t }\n\t\n\t if (scrollTop >= 0) {\n\t newState.scrollTop = scrollTop;\n\t }\n\t\n\t if (scrollLeft >= 0 && scrollLeft !== this.state.scrollLeft || scrollTop >= 0 && scrollTop !== this.state.scrollTop) {\n\t this.setState(newState);\n\t }\n\t }\n\t }, {\n\t key: '_updateScrollPositionForScrollToCell',\n\t value: function _updateScrollPositionForScrollToCell() {\n\t var _props6 = this.props;\n\t var cellLayoutManager = _props6.cellLayoutManager;\n\t var height = _props6.height;\n\t var scrollToAlignment = _props6.scrollToAlignment;\n\t var scrollToCell = _props6.scrollToCell;\n\t var width = _props6.width;\n\t var _state3 = this.state;\n\t var scrollLeft = _state3.scrollLeft;\n\t var scrollTop = _state3.scrollTop;\n\t\n\t\n\t if (scrollToCell >= 0) {\n\t var scrollPosition = cellLayoutManager.getScrollPositionForCell({\n\t align: scrollToAlignment,\n\t cellIndex: scrollToCell,\n\t height: height,\n\t scrollLeft: scrollLeft,\n\t scrollTop: scrollTop,\n\t width: width\n\t });\n\t\n\t if (scrollPosition.scrollLeft !== scrollLeft || scrollPosition.scrollTop !== scrollTop) {\n\t this._setScrollPosition(scrollPosition);\n\t }\n\t }\n\t }\n\t }, {\n\t key: '_onScroll',\n\t value: function _onScroll(event) {\n\t if (event.target !== this._scrollingContainer) {\n\t return;\n\t }\n\t\n\t this._enablePointerEventsAfterDelay();\n\t\n\t var _props7 = this.props;\n\t var cellLayoutManager = _props7.cellLayoutManager;\n\t var height = _props7.height;\n\t var width = _props7.width;\n\t\n\t var scrollbarSize = this._scrollbarSize;\n\t\n\t var _cellLayoutManager$ge3 = cellLayoutManager.getTotalSize();\n\t\n\t var totalHeight = _cellLayoutManager$ge3.height;\n\t var totalWidth = _cellLayoutManager$ge3.width;\n\t\n\t var scrollLeft = Math.max(0, Math.min(totalWidth - width + scrollbarSize, event.target.scrollLeft));\n\t var scrollTop = Math.max(0, Math.min(totalHeight - height + scrollbarSize, event.target.scrollTop));\n\t\n\t if (this.state.scrollLeft !== scrollLeft || this.state.scrollTop !== scrollTop) {\n\t var scrollPositionChangeReason = event.cancelable ? SCROLL_POSITION_CHANGE_REASONS.OBSERVED : SCROLL_POSITION_CHANGE_REASONS.REQUESTED;\n\t\n\t if (!this.state.isScrolling) {\n\t this.setState({\n\t isScrolling: true\n\t });\n\t }\n\t\n\t this._setNextState({\n\t isScrolling: true,\n\t scrollLeft: scrollLeft,\n\t scrollPositionChangeReason: scrollPositionChangeReason,\n\t scrollTop: scrollTop\n\t });\n\t }\n\t\n\t this._invokeOnScrollMemoizer({\n\t scrollLeft: scrollLeft,\n\t scrollTop: scrollTop,\n\t totalWidth: totalWidth,\n\t totalHeight: totalHeight\n\t });\n\t }\n\t }]);\n\t\n\t return CollectionView;\n\t}(_react.Component);\n\t\n\tCollectionView.propTypes = {\n\t 'aria-label': _react.PropTypes.string,\n\t\n\t cellCount: _react.PropTypes.number.isRequired,\n\t\n\t cellLayoutManager: _react.PropTypes.object.isRequired,\n\t\n\t className: _react.PropTypes.string,\n\t\n\t height: _react.PropTypes.number.isRequired,\n\t\n\t noContentRenderer: _react.PropTypes.func.isRequired,\n\t\n\t onScroll: _react.PropTypes.func.isRequired,\n\t\n\t onSectionRendered: _react.PropTypes.func.isRequired,\n\t\n\t scrollLeft: _react.PropTypes.number,\n\t\n\t scrollToAlignment: _react.PropTypes.oneOf(['auto', 'end', 'start', 'center']).isRequired,\n\t\n\t scrollToCell: _react.PropTypes.number,\n\t\n\t scrollTop: _react.PropTypes.number,\n\t\n\t style: _react.PropTypes.object,\n\t\n\t width: _react.PropTypes.number.isRequired\n\t};\n\tCollectionView.defaultProps = {\n\t 'aria-label': 'grid',\n\t noContentRenderer: function noContentRenderer() {\n\t return null;\n\t },\n\t onScroll: function onScroll() {\n\t return null;\n\t },\n\t onSectionRendered: function onSectionRendered() {\n\t return null;\n\t },\n\t scrollToAlignment: 'auto',\n\t style: {}\n\t};\n\texports.default = CollectionView;\n\n/***/ },\n/* 14 */\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/* 15 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\texports.default = createCallbackMemoizer;\n\tfunction createCallbackMemoizer() {\n\t var requireAllKeys = arguments.length <= 0 || arguments[0] === undefined ? true : arguments[0];\n\t\n\t var cachedIndices = {};\n\t\n\t return function (_ref) {\n\t var callback = _ref.callback;\n\t var indices = _ref.indices;\n\t\n\t var keys = Object.keys(indices);\n\t var allInitialized = !requireAllKeys || keys.every(function (key) {\n\t var value = indices[key];\n\t return Array.isArray(value) ? value.length > 0 : value >= 0;\n\t });\n\t var indexChanged = keys.length !== Object.keys(cachedIndices).length || keys.some(function (key) {\n\t var cachedValue = cachedIndices[key];\n\t var value = indices[key];\n\t\n\t return Array.isArray(value) ? cachedValue.join(',') !== value.join(',') : cachedValue !== value;\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\n/***/ },\n/* 16 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tvar canUseDOM = __webpack_require__(17);\n\t\n\tvar size;\n\t\n\tmodule.exports = function (recalc) {\n\t if (!size || recalc) {\n\t if (canUseDOM) {\n\t var scrollDiv = document.createElement('div');\n\t\n\t scrollDiv.style.position = 'absolute';\n\t scrollDiv.style.top = '-9999px';\n\t scrollDiv.style.width = '50px';\n\t scrollDiv.style.height = '50px';\n\t scrollDiv.style.overflow = 'scroll';\n\t\n\t document.body.appendChild(scrollDiv);\n\t size = scrollDiv.offsetWidth - scrollDiv.clientWidth;\n\t document.body.removeChild(scrollDiv);\n\t }\n\t }\n\t\n\t return size;\n\t};\n\n/***/ },\n/* 17 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\tmodule.exports = !!(typeof window !== 'undefined' && window.document && window.document.createElement);\n\n/***/ },\n/* 18 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/* WEBPACK VAR INJECTION */(function(global) {var now = __webpack_require__(19)\n\t , root = typeof window === 'undefined' ? global : window\n\t , vendors = ['moz', 'webkit']\n\t , suffix = 'AnimationFrame'\n\t , raf = root['request' + suffix]\n\t , caf = root['cancel' + suffix] || root['cancelRequest' + suffix]\n\t\n\tfor(var i = 0; !raf && i < vendors.length; i++) {\n\t raf = root[vendors[i] + 'Request' + suffix]\n\t caf = root[vendors[i] + 'Cancel' + suffix]\n\t || root[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(root, fn)\n\t}\n\tmodule.exports.cancel = function() {\n\t caf.apply(root, arguments)\n\t}\n\tmodule.exports.polyfill = function() {\n\t root.requestAnimationFrame = raf\n\t root.cancelAnimationFrame = caf\n\t}\n\t\n\t/* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))\n\n/***/ },\n/* 19 */\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__(20)))\n\n/***/ },\n/* 20 */\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 if (!draining || !currentQueue) {\n\t return;\n\t }\n\t draining = false;\n\t if (currentQueue.length) {\n\t queue = currentQueue.concat(queue);\n\t } else {\n\t queueIndex = -1;\n\t }\n\t if (queue.length) {\n\t drainQueue();\n\t }\n\t}\n\t\n\tfunction drainQueue() {\n\t if (draining) {\n\t return;\n\t }\n\t var timeout = 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/* 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\texports.default = calculateSizeAndPositionData;\n\t\n\tvar _SectionManager = __webpack_require__(22);\n\t\n\tvar _SectionManager2 = _interopRequireDefault(_SectionManager);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction calculateSizeAndPositionData(_ref) {\n\t var cellCount = _ref.cellCount;\n\t var cellSizeAndPositionGetter = _ref.cellSizeAndPositionGetter;\n\t var sectionSize = _ref.sectionSize;\n\t\n\t var cellMetadata = [];\n\t var sectionManager = new _SectionManager2.default(sectionSize);\n\t var height = 0;\n\t var width = 0;\n\t\n\t for (var index = 0; index < cellCount; index++) {\n\t var cellMetadatum = cellSizeAndPositionGetter({ index: index });\n\t\n\t if (cellMetadatum.height == null || isNaN(cellMetadatum.height) || cellMetadatum.width == null || isNaN(cellMetadatum.width) || cellMetadatum.x == null || isNaN(cellMetadatum.x) || cellMetadatum.y == null || isNaN(cellMetadatum.y)) {\n\t throw Error('Invalid metadata returned for cell ' + index + ':\\n x:' + cellMetadatum.x + ', y:' + cellMetadatum.y + ', width:' + cellMetadatum.width + ', height:' + cellMetadatum.height);\n\t }\n\t\n\t height = Math.max(height, cellMetadatum.y + cellMetadatum.height);\n\t width = Math.max(width, cellMetadatum.x + cellMetadatum.width);\n\t\n\t cellMetadata[index] = cellMetadatum;\n\t sectionManager.registerCell({\n\t cellMetadatum: cellMetadatum,\n\t index: index\n\t });\n\t }\n\t\n\t return {\n\t cellMetadata: cellMetadata,\n\t height: height,\n\t sectionManager: sectionManager,\n\t width: width\n\t };\n\t}\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 _Section = __webpack_require__(23);\n\t\n\tvar _Section2 = _interopRequireDefault(_Section);\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\tvar SECTION_SIZE = 100;\n\t\n\tvar SectionManager = function () {\n\t function SectionManager() {\n\t var sectionSize = arguments.length <= 0 || arguments[0] === undefined ? SECTION_SIZE : arguments[0];\n\t\n\t _classCallCheck(this, SectionManager);\n\t\n\t this._sectionSize = sectionSize;\n\t\n\t this._cellMetadata = [];\n\t this._sections = {};\n\t }\n\t\n\t _createClass(SectionManager, [{\n\t key: 'getCellIndices',\n\t value: function getCellIndices(_ref) {\n\t var height = _ref.height;\n\t var width = _ref.width;\n\t var x = _ref.x;\n\t var y = _ref.y;\n\t\n\t var indices = {};\n\t\n\t this.getSections({ height: height, width: width, x: x, y: y }).forEach(function (section) {\n\t return section.getCellIndices().forEach(function (index) {\n\t indices[index] = index;\n\t });\n\t });\n\t\n\t return Object.keys(indices).map(function (index) {\n\t return indices[index];\n\t });\n\t }\n\t }, {\n\t key: 'getCellMetadata',\n\t value: function getCellMetadata(_ref2) {\n\t var index = _ref2.index;\n\t\n\t return this._cellMetadata[index];\n\t }\n\t }, {\n\t key: 'getSections',\n\t value: function getSections(_ref3) {\n\t var height = _ref3.height;\n\t var width = _ref3.width;\n\t var x = _ref3.x;\n\t var y = _ref3.y;\n\t\n\t var sectionXStart = Math.floor(x / this._sectionSize);\n\t var sectionXStop = Math.floor((x + width - 1) / this._sectionSize);\n\t var sectionYStart = Math.floor(y / this._sectionSize);\n\t var sectionYStop = Math.floor((y + height - 1) / this._sectionSize);\n\t\n\t var sections = [];\n\t\n\t for (var sectionX = sectionXStart; sectionX <= sectionXStop; sectionX++) {\n\t for (var sectionY = sectionYStart; sectionY <= sectionYStop; sectionY++) {\n\t var key = sectionX + '.' + sectionY;\n\t\n\t if (!this._sections[key]) {\n\t this._sections[key] = new _Section2.default({\n\t height: this._sectionSize,\n\t width: this._sectionSize,\n\t x: sectionX * this._sectionSize,\n\t y: sectionY * this._sectionSize\n\t });\n\t }\n\t\n\t sections.push(this._sections[key]);\n\t }\n\t }\n\t\n\t return sections;\n\t }\n\t }, {\n\t key: 'getTotalSectionCount',\n\t value: function getTotalSectionCount() {\n\t return Object.keys(this._sections).length;\n\t }\n\t }, {\n\t key: 'toString',\n\t value: function toString() {\n\t var _this = this;\n\t\n\t return Object.keys(this._sections).map(function (index) {\n\t return _this._sections[index].toString();\n\t });\n\t }\n\t }, {\n\t key: 'registerCell',\n\t value: function registerCell(_ref4) {\n\t var cellMetadatum = _ref4.cellMetadatum;\n\t var index = _ref4.index;\n\t\n\t this._cellMetadata[index] = cellMetadatum;\n\t\n\t this.getSections(cellMetadatum).forEach(function (section) {\n\t return section.addCellIndex({ index: index });\n\t });\n\t }\n\t }]);\n\t\n\t return SectionManager;\n\t}();\n\t\n\texports.default = SectionManager;\n\n/***/ },\n/* 23 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tvar Section = function () {\n\t function Section(_ref) {\n\t var height = _ref.height;\n\t var width = _ref.width;\n\t var x = _ref.x;\n\t var y = _ref.y;\n\t\n\t _classCallCheck(this, Section);\n\t\n\t this.height = height;\n\t this.width = width;\n\t this.x = x;\n\t this.y = y;\n\t\n\t this._indexMap = {};\n\t this._indices = [];\n\t }\n\t\n\t _createClass(Section, [{\n\t key: 'addCellIndex',\n\t value: function addCellIndex(_ref2) {\n\t var index = _ref2.index;\n\t\n\t if (!this._indexMap[index]) {\n\t this._indexMap[index] = true;\n\t this._indices.push(index);\n\t }\n\t }\n\t }, {\n\t key: 'getCellIndices',\n\t value: function getCellIndices() {\n\t return this._indices;\n\t }\n\t }, {\n\t key: 'toString',\n\t value: function toString() {\n\t return this.x + ',' + this.y + ' ' + this.width + 'x' + this.height;\n\t }\n\t }]);\n\t\n\t return Section;\n\t}();\n\t\n\texports.default = Section;\n\n/***/ },\n/* 24 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\texports.default = getUpdatedOffsetForIndex;\n\tfunction getUpdatedOffsetForIndex(_ref) {\n\t var _ref$align = _ref.align;\n\t var align = _ref$align === undefined ? 'auto' : _ref$align;\n\t var cellOffset = _ref.cellOffset;\n\t var cellSize = _ref.cellSize;\n\t var containerSize = _ref.containerSize;\n\t var currentOffset = _ref.currentOffset;\n\t\n\t var maxOffset = cellOffset;\n\t var minOffset = maxOffset - containerSize + cellSize;\n\t\n\t switch (align) {\n\t case 'start':\n\t return maxOffset;\n\t case 'end':\n\t return minOffset;\n\t case 'center':\n\t return maxOffset - (containerSize - cellSize) / 2;\n\t default:\n\t return Math.max(minOffset, Math.min(maxOffset, currentOffset));\n\t }\n\t}\n\n/***/ },\n/* 25 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\texports.ColumnSizer = exports.default = undefined;\n\t\n\tvar _ColumnSizer2 = __webpack_require__(26);\n\t\n\tvar _ColumnSizer3 = _interopRequireDefault(_ColumnSizer2);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\texports.default = _ColumnSizer3.default;\n\texports.ColumnSizer = _ColumnSizer3.default;\n\n/***/ },\n/* 26 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\t\n\tvar _react = __webpack_require__(3);\n\t\n\tvar _reactAddonsShallowCompare = __webpack_require__(4);\n\t\n\tvar _reactAddonsShallowCompare2 = _interopRequireDefault(_reactAddonsShallowCompare);\n\t\n\tvar _Grid = __webpack_require__(27);\n\t\n\tvar _Grid2 = _interopRequireDefault(_Grid);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\tvar ColumnSizer = function (_Component) {\n\t _inherits(ColumnSizer, _Component);\n\t\n\t function ColumnSizer(props, context) {\n\t _classCallCheck(this, ColumnSizer);\n\t\n\t var _this = _possibleConstructorReturn(this, Object.getPrototypeOf(ColumnSizer).call(this, props, context));\n\t\n\t _this._registerChild = _this._registerChild.bind(_this);\n\t return _this;\n\t }\n\t\n\t _createClass(ColumnSizer, [{\n\t key: 'componentDidUpdate',\n\t value: function componentDidUpdate(prevProps, prevState) {\n\t var _props = this.props;\n\t var columnMaxWidth = _props.columnMaxWidth;\n\t var columnMinWidth = _props.columnMinWidth;\n\t var columnCount = _props.columnCount;\n\t var width = _props.width;\n\t\n\t\n\t if (columnMaxWidth !== prevProps.columnMaxWidth || columnMinWidth !== prevProps.columnMinWidth || columnCount !== prevProps.columnCount || width !== prevProps.width) {\n\t if (this._registeredChild) {\n\t this._registeredChild.recomputeGridSize();\n\t }\n\t }\n\t }\n\t }, {\n\t key: 'render',\n\t value: function render() {\n\t var _props2 = this.props;\n\t var children = _props2.children;\n\t var columnMaxWidth = _props2.columnMaxWidth;\n\t var columnMinWidth = _props2.columnMinWidth;\n\t var columnCount = _props2.columnCount;\n\t var width = _props2.width;\n\t\n\t\n\t var safeColumnMinWidth = columnMinWidth || 1;\n\t\n\t var safeColumnMaxWidth = columnMaxWidth ? Math.min(columnMaxWidth, width) : width;\n\t\n\t var columnWidth = width / columnCount;\n\t columnWidth = Math.max(safeColumnMinWidth, columnWidth);\n\t columnWidth = Math.min(safeColumnMaxWidth, columnWidth);\n\t columnWidth = Math.floor(columnWidth);\n\t\n\t var adjustedWidth = Math.min(width, columnWidth * columnCount);\n\t\n\t return children({\n\t adjustedWidth: adjustedWidth,\n\t getColumnWidth: function getColumnWidth() {\n\t return columnWidth;\n\t },\n\t registerChild: this._registerChild\n\t });\n\t }\n\t }, {\n\t key: 'shouldComponentUpdate',\n\t value: function shouldComponentUpdate(nextProps, nextState) {\n\t return (0, _reactAddonsShallowCompare2.default)(this, nextProps, nextState);\n\t }\n\t }, {\n\t key: '_registerChild',\n\t value: function _registerChild(child) {\n\t if (child !== null && !(child instanceof _Grid2.default)) {\n\t throw Error('Unexpected child type registered; only Grid children are supported.');\n\t }\n\t\n\t this._registeredChild = child;\n\t\n\t if (this._registeredChild) {\n\t this._registeredChild.recomputeGridSize();\n\t }\n\t }\n\t }]);\n\t\n\t return ColumnSizer;\n\t}(_react.Component);\n\t\n\tColumnSizer.propTypes = {\n\t children: _react.PropTypes.func.isRequired,\n\t\n\t columnMaxWidth: _react.PropTypes.number,\n\t\n\t columnMinWidth: _react.PropTypes.number,\n\t\n\t columnCount: _react.PropTypes.number.isRequired,\n\t\n\t width: _react.PropTypes.number.isRequired\n\t};\n\texports.default = ColumnSizer;\n\n/***/ },\n/* 27 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\texports.defaultCellRangeRenderer = exports.Grid = exports.default = undefined;\n\t\n\tvar _Grid2 = __webpack_require__(28);\n\t\n\tvar _Grid3 = _interopRequireDefault(_Grid2);\n\t\n\tvar _defaultCellRangeRenderer2 = __webpack_require__(34);\n\t\n\tvar _defaultCellRangeRenderer3 = _interopRequireDefault(_defaultCellRangeRenderer2);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\texports.default = _Grid3.default;\n\texports.Grid = _Grid3.default;\n\texports.defaultCellRangeRenderer = _defaultCellRangeRenderer3.default;\n\n/***/ },\n/* 28 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\t\n\tvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\t\n\tvar _react = __webpack_require__(3);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _classnames = __webpack_require__(14);\n\t\n\tvar _classnames2 = _interopRequireDefault(_classnames);\n\t\n\tvar _calculateSizeAndPositionDataAndUpdateScrollOffset = __webpack_require__(29);\n\t\n\tvar _calculateSizeAndPositionDataAndUpdateScrollOffset2 = _interopRequireDefault(_calculateSizeAndPositionDataAndUpdateScrollOffset);\n\t\n\tvar _ScalingCellSizeAndPositionManager = __webpack_require__(30);\n\t\n\tvar _ScalingCellSizeAndPositionManager2 = _interopRequireDefault(_ScalingCellSizeAndPositionManager);\n\t\n\tvar _createCallbackMemoizer = __webpack_require__(15);\n\t\n\tvar _createCallbackMemoizer2 = _interopRequireDefault(_createCallbackMemoizer);\n\t\n\tvar _getOverscanIndices = __webpack_require__(32);\n\t\n\tvar _getOverscanIndices2 = _interopRequireDefault(_getOverscanIndices);\n\t\n\tvar _scrollbarSize = __webpack_require__(16);\n\t\n\tvar _scrollbarSize2 = _interopRequireDefault(_scrollbarSize);\n\t\n\tvar _raf = __webpack_require__(18);\n\t\n\tvar _raf2 = _interopRequireDefault(_raf);\n\t\n\tvar _reactAddonsShallowCompare = __webpack_require__(4);\n\t\n\tvar _reactAddonsShallowCompare2 = _interopRequireDefault(_reactAddonsShallowCompare);\n\t\n\tvar _updateScrollIndexHelper = __webpack_require__(33);\n\t\n\tvar _updateScrollIndexHelper2 = _interopRequireDefault(_updateScrollIndexHelper);\n\t\n\tvar _defaultCellRangeRenderer = __webpack_require__(34);\n\t\n\tvar _defaultCellRangeRenderer2 = _interopRequireDefault(_defaultCellRangeRenderer);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\tvar IS_SCROLLING_TIMEOUT = 150;\n\t\n\tvar SCROLL_POSITION_CHANGE_REASONS = {\n\t OBSERVED: 'observed',\n\t REQUESTED: 'requested'\n\t};\n\t\n\tvar Grid = function (_Component) {\n\t _inherits(Grid, _Component);\n\t\n\t function Grid(props, context) {\n\t _classCallCheck(this, Grid);\n\t\n\t var _this = _possibleConstructorReturn(this, Object.getPrototypeOf(Grid).call(this, props, context));\n\t\n\t _this.state = {\n\t isScrolling: false,\n\t scrollLeft: 0,\n\t scrollTop: 0\n\t };\n\t\n\t _this._onGridRenderedMemoizer = (0, _createCallbackMemoizer2.default)();\n\t _this._onScrollMemoizer = (0, _createCallbackMemoizer2.default)(false);\n\t\n\t _this._enablePointerEventsAfterDelayCallback = _this._enablePointerEventsAfterDelayCallback.bind(_this);\n\t _this._invokeOnGridRenderedHelper = _this._invokeOnGridRenderedHelper.bind(_this);\n\t _this._onScroll = _this._onScroll.bind(_this);\n\t _this._setNextStateCallback = _this._setNextStateCallback.bind(_this);\n\t _this._updateScrollLeftForScrollToColumn = _this._updateScrollLeftForScrollToColumn.bind(_this);\n\t _this._updateScrollTopForScrollToRow = _this._updateScrollTopForScrollToRow.bind(_this);\n\t\n\t _this._columnWidthGetter = _this._wrapSizeGetter(props.columnWidth);\n\t _this._rowHeightGetter = _this._wrapSizeGetter(props.rowHeight);\n\t\n\t _this._columnSizeAndPositionManager = new _ScalingCellSizeAndPositionManager2.default({\n\t cellCount: props.columnCount,\n\t cellSizeGetter: function cellSizeGetter(index) {\n\t return _this._columnWidthGetter(index);\n\t },\n\t estimatedCellSize: _this._getEstimatedColumnSize(props)\n\t });\n\t _this._rowSizeAndPositionManager = new _ScalingCellSizeAndPositionManager2.default({\n\t cellCount: props.rowCount,\n\t cellSizeGetter: function cellSizeGetter(index) {\n\t return _this._rowHeightGetter(index);\n\t },\n\t estimatedCellSize: _this._getEstimatedRowSize(props)\n\t });\n\t\n\t _this._cellCache = {};\n\t return _this;\n\t }\n\t\n\t _createClass(Grid, [{\n\t key: 'measureAllCells',\n\t value: function measureAllCells() {\n\t var _props = this.props;\n\t var columnCount = _props.columnCount;\n\t var rowCount = _props.rowCount;\n\t\n\t\n\t this._columnSizeAndPositionManager.getSizeAndPositionOfCell(columnCount - 1);\n\t this._rowSizeAndPositionManager.getSizeAndPositionOfCell(rowCount - 1);\n\t }\n\t }, {\n\t key: 'recomputeGridSize',\n\t value: function recomputeGridSize() {\n\t var _ref = arguments.length <= 0 || arguments[0] === undefined ? {} : arguments[0];\n\t\n\t var _ref$columnIndex = _ref.columnIndex;\n\t var columnIndex = _ref$columnIndex === undefined ? 0 : _ref$columnIndex;\n\t var _ref$rowIndex = _ref.rowIndex;\n\t var rowIndex = _ref$rowIndex === undefined ? 0 : _ref$rowIndex;\n\t\n\t this._columnSizeAndPositionManager.resetCell(columnIndex);\n\t this._rowSizeAndPositionManager.resetCell(rowIndex);\n\t this.forceUpdate();\n\t }\n\t }, {\n\t key: 'componentDidMount',\n\t value: function componentDidMount() {\n\t var _props2 = this.props;\n\t var scrollLeft = _props2.scrollLeft;\n\t var scrollToColumn = _props2.scrollToColumn;\n\t var scrollTop = _props2.scrollTop;\n\t var scrollToRow = _props2.scrollToRow;\n\t\n\t if (!this._scrollbarSizeMeasured) {\n\t this._scrollbarSize = (0, _scrollbarSize2.default)();\n\t this._scrollbarSizeMeasured = true;\n\t this.setState({});\n\t }\n\t\n\t if (scrollLeft >= 0 || scrollTop >= 0) {\n\t this._setScrollPosition({ scrollLeft: scrollLeft, scrollTop: scrollTop });\n\t }\n\t\n\t if (scrollToColumn >= 0 || scrollToRow >= 0) {\n\t this._updateScrollLeftForScrollToColumn();\n\t this._updateScrollTopForScrollToRow();\n\t }\n\t\n\t this._invokeOnGridRenderedHelper();\n\t\n\t this._invokeOnScrollMemoizer({\n\t scrollLeft: scrollLeft || 0,\n\t scrollTop: scrollTop || 0,\n\t totalColumnsWidth: this._columnSizeAndPositionManager.getTotalSize(),\n\t totalRowsHeight: this._rowSizeAndPositionManager.getTotalSize()\n\t });\n\t }\n\t }, {\n\t key: 'componentDidUpdate',\n\t value: function componentDidUpdate(prevProps, prevState) {\n\t var _this2 = this;\n\t\n\t var _props3 = this.props;\n\t var autoHeight = _props3.autoHeight;\n\t var height = _props3.height;\n\t var scrollToAlignment = _props3.scrollToAlignment;\n\t var scrollToColumn = _props3.scrollToColumn;\n\t var scrollToRow = _props3.scrollToRow;\n\t var width = _props3.width;\n\t var _state = this.state;\n\t var scrollLeft = _state.scrollLeft;\n\t var scrollPositionChangeReason = _state.scrollPositionChangeReason;\n\t var scrollTop = _state.scrollTop;\n\t\n\t if (scrollPositionChangeReason === SCROLL_POSITION_CHANGE_REASONS.REQUESTED) {\n\t if (scrollLeft >= 0 && scrollLeft !== prevState.scrollLeft && scrollLeft !== this._scrollingContainer.scrollLeft) {\n\t this._scrollingContainer.scrollLeft = scrollLeft;\n\t }\n\t\n\t if (!autoHeight && scrollTop >= 0 && scrollTop !== prevState.scrollTop && scrollTop !== this._scrollingContainer.scrollTop) {\n\t this._scrollingContainer.scrollTop = scrollTop;\n\t }\n\t }\n\t\n\t (0, _updateScrollIndexHelper2.default)({\n\t cellSizeAndPositionManager: this._columnSizeAndPositionManager,\n\t previousCellsCount: prevProps.columnCount,\n\t previousCellSize: prevProps.columnWidth,\n\t previousScrollToAlignment: prevProps.scrollToAlignment,\n\t previousScrollToIndex: prevProps.scrollToColumn,\n\t previousSize: prevProps.width,\n\t scrollOffset: scrollLeft,\n\t scrollToAlignment: scrollToAlignment,\n\t scrollToIndex: scrollToColumn,\n\t size: width,\n\t updateScrollIndexCallback: function updateScrollIndexCallback(scrollToColumn) {\n\t return _this2._updateScrollLeftForScrollToColumn(_extends({}, _this2.props, { scrollToColumn: scrollToColumn }));\n\t }\n\t });\n\t (0, _updateScrollIndexHelper2.default)({\n\t cellSizeAndPositionManager: this._rowSizeAndPositionManager,\n\t previousCellsCount: prevProps.rowCount,\n\t previousCellSize: prevProps.rowHeight,\n\t previousScrollToAlignment: prevProps.scrollToAlignment,\n\t previousScrollToIndex: prevProps.scrollToRow,\n\t previousSize: prevProps.height,\n\t scrollOffset: scrollTop,\n\t scrollToAlignment: scrollToAlignment,\n\t scrollToIndex: scrollToRow,\n\t size: height,\n\t updateScrollIndexCallback: function updateScrollIndexCallback(scrollToRow) {\n\t return _this2._updateScrollTopForScrollToRow(_extends({}, _this2.props, { scrollToRow: scrollToRow }));\n\t }\n\t });\n\t\n\t this._invokeOnGridRenderedHelper();\n\t }\n\t }, {\n\t key: 'componentWillMount',\n\t value: function componentWillMount() {\n\t this._scrollbarSize = (0, _scrollbarSize2.default)();\n\t if (this._scrollbarSize === undefined) {\n\t this._scrollbarSizeMeasured = false;\n\t this._scrollbarSize = 0;\n\t } else {\n\t this._scrollbarSizeMeasured = true;\n\t }\n\t\n\t this._calculateChildrenToRender();\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\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 var _this3 = this;\n\t\n\t if (nextProps.columnCount === 0 && nextState.scrollLeft !== 0 || nextProps.rowCount === 0 && nextState.scrollTop !== 0) {\n\t this._setScrollPosition({\n\t scrollLeft: 0,\n\t scrollTop: 0\n\t });\n\t } else if (nextProps.scrollLeft !== this.props.scrollLeft || nextProps.scrollTop !== this.props.scrollTop) {\n\t this._setScrollPosition({\n\t scrollLeft: nextProps.scrollLeft,\n\t scrollTop: nextProps.scrollTop\n\t });\n\t }\n\t\n\t this._columnWidthGetter = this._wrapSizeGetter(nextProps.columnWidth);\n\t this._rowHeightGetter = this._wrapSizeGetter(nextProps.rowHeight);\n\t\n\t this._columnSizeAndPositionManager.configure({\n\t cellCount: nextProps.columnCount,\n\t estimatedCellSize: this._getEstimatedColumnSize(nextProps)\n\t });\n\t this._rowSizeAndPositionManager.configure({\n\t cellCount: nextProps.rowCount,\n\t estimatedCellSize: this._getEstimatedRowSize(nextProps)\n\t });\n\t\n\t (0, _calculateSizeAndPositionDataAndUpdateScrollOffset2.default)({\n\t cellCount: this.props.columnCount,\n\t cellSize: this.props.columnWidth,\n\t computeMetadataCallback: function computeMetadataCallback() {\n\t return _this3._columnSizeAndPositionManager.resetCell(0);\n\t },\n\t computeMetadataCallbackProps: nextProps,\n\t nextCellsCount: nextProps.columnCount,\n\t nextCellSize: nextProps.columnWidth,\n\t nextScrollToIndex: nextProps.scrollToColumn,\n\t scrollToIndex: this.props.scrollToColumn,\n\t updateScrollOffsetForScrollToIndex: function updateScrollOffsetForScrollToIndex() {\n\t return _this3._updateScrollLeftForScrollToColumn(nextProps, nextState);\n\t }\n\t });\n\t (0, _calculateSizeAndPositionDataAndUpdateScrollOffset2.default)({\n\t cellCount: this.props.rowCount,\n\t cellSize: this.props.rowHeight,\n\t computeMetadataCallback: function computeMetadataCallback() {\n\t return _this3._rowSizeAndPositionManager.resetCell(0);\n\t },\n\t computeMetadataCallbackProps: nextProps,\n\t nextCellsCount: nextProps.rowCount,\n\t nextCellSize: nextProps.rowHeight,\n\t nextScrollToIndex: nextProps.scrollToRow,\n\t scrollToIndex: this.props.scrollToRow,\n\t updateScrollOffsetForScrollToIndex: function updateScrollOffsetForScrollToIndex() {\n\t return _this3._updateScrollTopForScrollToRow(nextProps, nextState);\n\t }\n\t });\n\t\n\t this._calculateChildrenToRender(nextProps, nextState);\n\t }\n\t }, {\n\t key: 'render',\n\t value: function render() {\n\t var _this4 = this;\n\t\n\t var _props4 = this.props;\n\t var autoHeight = _props4.autoHeight;\n\t var className = _props4.className;\n\t var columnCount = _props4.columnCount;\n\t var height = _props4.height;\n\t var noContentRenderer = _props4.noContentRenderer;\n\t var style = _props4.style;\n\t var tabIndex = _props4.tabIndex;\n\t var width = _props4.width;\n\t var isScrolling = this.state.isScrolling;\n\t\n\t\n\t var gridStyle = {\n\t height: autoHeight ? 'auto' : height,\n\t width: width\n\t };\n\t\n\t var totalColumnsWidth = this._columnSizeAndPositionManager.getTotalSize();\n\t var totalRowsHeight = this._rowSizeAndPositionManager.getTotalSize();\n\t\n\t var verticalScrollBarSize = totalRowsHeight > height ? this._scrollbarSize : 0;\n\t var horizontalScrollBarSize = totalColumnsWidth > width ? this._scrollbarSize : 0;\n\t\n\t gridStyle.overflowX = totalColumnsWidth + verticalScrollBarSize <= width ? 'hidden' : 'auto';\n\t gridStyle.overflowY = totalRowsHeight + horizontalScrollBarSize <= height ? 'hidden' : 'auto';\n\t\n\t var childrenToDisplay = this._childrenToDisplay;\n\t\n\t var showNoContentRenderer = childrenToDisplay.length === 0 && height > 0 && width > 0;\n\t\n\t return _react2.default.createElement(\n\t 'div',\n\t {\n\t ref: function ref(_ref2) {\n\t _this4._scrollingContainer = _ref2;\n\t },\n\t 'aria-label': this.props['aria-label'],\n\t className: (0, _classnames2.default)('Grid', className),\n\t onScroll: this._onScroll,\n\t role: 'grid',\n\t style: _extends({}, gridStyle, style),\n\t tabIndex: tabIndex\n\t },\n\t childrenToDisplay.length > 0 && _react2.default.createElement(\n\t 'div',\n\t {\n\t className: 'Grid__innerScrollContainer',\n\t style: {\n\t width: columnCount === 1 ? 'auto' : totalColumnsWidth,\n\t height: totalRowsHeight,\n\t maxWidth: totalColumnsWidth,\n\t maxHeight: totalRowsHeight,\n\t pointerEvents: isScrolling ? 'none' : 'auto'\n\t }\n\t },\n\t childrenToDisplay\n\t ),\n\t showNoContentRenderer && noContentRenderer()\n\t );\n\t }\n\t }, {\n\t key: 'shouldComponentUpdate',\n\t value: function shouldComponentUpdate(nextProps, nextState) {\n\t return (0, _reactAddonsShallowCompare2.default)(this, nextProps, nextState);\n\t }\n\t }, {\n\t key: '_calculateChildrenToRender',\n\t value: function _calculateChildrenToRender() {\n\t var props = arguments.length <= 0 || arguments[0] === undefined ? this.props : arguments[0];\n\t var state = arguments.length <= 1 || arguments[1] === undefined ? this.state : arguments[1];\n\t var cellClassName = props.cellClassName;\n\t var cellRenderer = props.cellRenderer;\n\t var cellRangeRenderer = props.cellRangeRenderer;\n\t var cellStyle = props.cellStyle;\n\t var columnCount = props.columnCount;\n\t var height = props.height;\n\t var overscanColumnCount = props.overscanColumnCount;\n\t var overscanRowCount = props.overscanRowCount;\n\t var rowCount = props.rowCount;\n\t var width = props.width;\n\t var isScrolling = state.isScrolling;\n\t var scrollLeft = state.scrollLeft;\n\t var scrollTop = state.scrollTop;\n\t\n\t\n\t this._childrenToDisplay = [];\n\t\n\t if (height > 0 && width > 0) {\n\t var visibleColumnIndices = this._columnSizeAndPositionManager.getVisibleCellRange({\n\t containerSize: width,\n\t offset: scrollLeft\n\t });\n\t var visibleRowIndices = this._rowSizeAndPositionManager.getVisibleCellRange({\n\t containerSize: height,\n\t offset: scrollTop\n\t });\n\t\n\t var horizontalOffsetAdjustment = this._columnSizeAndPositionManager.getOffsetAdjustment({\n\t containerSize: width,\n\t offset: scrollLeft\n\t });\n\t var verticalOffsetAdjustment = this._rowSizeAndPositionManager.getOffsetAdjustment({\n\t containerSize: height,\n\t offset: scrollTop\n\t });\n\t\n\t this._renderedColumnStartIndex = visibleColumnIndices.start;\n\t this._renderedColumnStopIndex = visibleColumnIndices.stop;\n\t this._renderedRowStartIndex = visibleRowIndices.start;\n\t this._renderedRowStopIndex = visibleRowIndices.stop;\n\t\n\t var overscanColumnIndices = (0, _getOverscanIndices2.default)({\n\t cellCount: columnCount,\n\t overscanCellsCount: overscanColumnCount,\n\t startIndex: this._renderedColumnStartIndex,\n\t stopIndex: this._renderedColumnStopIndex\n\t });\n\t\n\t var overscanRowIndices = (0, _getOverscanIndices2.default)({\n\t cellCount: rowCount,\n\t overscanCellsCount: overscanRowCount,\n\t startIndex: this._renderedRowStartIndex,\n\t stopIndex: this._renderedRowStopIndex\n\t });\n\t\n\t this._columnStartIndex = overscanColumnIndices.overscanStartIndex;\n\t this._columnStopIndex = overscanColumnIndices.overscanStopIndex;\n\t this._rowStartIndex = overscanRowIndices.overscanStartIndex;\n\t this._rowStopIndex = overscanRowIndices.overscanStopIndex;\n\t\n\t this._childrenToDisplay = cellRangeRenderer({\n\t cellCache: this._cellCache,\n\t cellClassName: this._wrapCellClassNameGetter(cellClassName),\n\t cellRenderer: cellRenderer,\n\t cellStyle: this._wrapCellStyleGetter(cellStyle),\n\t columnSizeAndPositionManager: this._columnSizeAndPositionManager,\n\t columnStartIndex: this._columnStartIndex,\n\t columnStopIndex: this._columnStopIndex,\n\t horizontalOffsetAdjustment: horizontalOffsetAdjustment,\n\t isScrolling: isScrolling,\n\t rowSizeAndPositionManager: this._rowSizeAndPositionManager,\n\t rowStartIndex: this._rowStartIndex,\n\t rowStopIndex: this._rowStopIndex,\n\t scrollLeft: scrollLeft,\n\t scrollTop: scrollTop,\n\t verticalOffsetAdjustment: verticalOffsetAdjustment\n\t });\n\t }\n\t }\n\t }, {\n\t key: '_enablePointerEventsAfterDelay',\n\t value: function _enablePointerEventsAfterDelay() {\n\t if (this._disablePointerEventsTimeoutId) {\n\t clearTimeout(this._disablePointerEventsTimeoutId);\n\t }\n\t\n\t this._disablePointerEventsTimeoutId = setTimeout(this._enablePointerEventsAfterDelayCallback, IS_SCROLLING_TIMEOUT);\n\t }\n\t }, {\n\t key: '_enablePointerEventsAfterDelayCallback',\n\t value: function _enablePointerEventsAfterDelayCallback() {\n\t this._disablePointerEventsTimeoutId = null;\n\t\n\t this._cellCache = {};\n\t\n\t this.setState({\n\t isScrolling: false\n\t });\n\t }\n\t }, {\n\t key: '_getEstimatedColumnSize',\n\t value: function _getEstimatedColumnSize(props) {\n\t return typeof props.columnWidth === 'number' ? props.columnWidth : props.estimatedColumnSize;\n\t }\n\t }, {\n\t key: '_getEstimatedRowSize',\n\t value: function _getEstimatedRowSize(props) {\n\t return typeof props.rowHeight === 'number' ? props.rowHeight : props.estimatedRowSize;\n\t }\n\t }, {\n\t key: '_invokeOnGridRenderedHelper',\n\t value: function _invokeOnGridRenderedHelper() {\n\t var onSectionRendered = this.props.onSectionRendered;\n\t\n\t\n\t this._onGridRenderedMemoizer({\n\t callback: onSectionRendered,\n\t indices: {\n\t columnOverscanStartIndex: this._columnStartIndex,\n\t columnOverscanStopIndex: this._columnStopIndex,\n\t columnStartIndex: this._renderedColumnStartIndex,\n\t columnStopIndex: this._renderedColumnStopIndex,\n\t rowOverscanStartIndex: this._rowStartIndex,\n\t rowOverscanStopIndex: this._rowStopIndex,\n\t rowStartIndex: this._renderedRowStartIndex,\n\t rowStopIndex: this._renderedRowStopIndex\n\t }\n\t });\n\t }\n\t }, {\n\t key: '_invokeOnScrollMemoizer',\n\t value: function _invokeOnScrollMemoizer(_ref3) {\n\t var _this5 = this;\n\t\n\t var scrollLeft = _ref3.scrollLeft;\n\t var scrollTop = _ref3.scrollTop;\n\t var totalColumnsWidth = _ref3.totalColumnsWidth;\n\t var totalRowsHeight = _ref3.totalRowsHeight;\n\t\n\t this._onScrollMemoizer({\n\t callback: function callback(_ref4) {\n\t var scrollLeft = _ref4.scrollLeft;\n\t var scrollTop = _ref4.scrollTop;\n\t var _props5 = _this5.props;\n\t var height = _props5.height;\n\t var onScroll = _props5.onScroll;\n\t var width = _props5.width;\n\t\n\t\n\t onScroll({\n\t clientHeight: height,\n\t clientWidth: width,\n\t scrollHeight: totalRowsHeight,\n\t scrollLeft: scrollLeft,\n\t scrollTop: scrollTop,\n\t scrollWidth: totalColumnsWidth\n\t });\n\t },\n\t indices: {\n\t scrollLeft: scrollLeft,\n\t scrollTop: scrollTop\n\t }\n\t });\n\t }\n\t }, {\n\t key: '_setNextState',\n\t value: function _setNextState(state) {\n\t this._nextState = state;\n\t\n\t if (!this._setNextStateAnimationFrameId) {\n\t this._setNextStateAnimationFrameId = (0, _raf2.default)(this._setNextStateCallback);\n\t }\n\t }\n\t }, {\n\t key: '_setNextStateCallback',\n\t value: function _setNextStateCallback() {\n\t var state = this._nextState;\n\t\n\t this._setNextStateAnimationFrameId = null;\n\t this._nextState = null;\n\t\n\t this.setState(state);\n\t }\n\t }, {\n\t key: '_setScrollPosition',\n\t value: function _setScrollPosition(_ref5) {\n\t var scrollLeft = _ref5.scrollLeft;\n\t var scrollTop = _ref5.scrollTop;\n\t\n\t var newState = {\n\t scrollPositionChangeReason: SCROLL_POSITION_CHANGE_REASONS.REQUESTED\n\t };\n\t\n\t if (scrollLeft >= 0) {\n\t newState.scrollLeft = scrollLeft;\n\t }\n\t\n\t if (scrollTop >= 0) {\n\t newState.scrollTop = scrollTop;\n\t }\n\t\n\t if (scrollLeft >= 0 && scrollLeft !== this.state.scrollLeft || scrollTop >= 0 && scrollTop !== this.state.scrollTop) {\n\t this.setState(newState);\n\t }\n\t }\n\t }, {\n\t key: '_wrapCellClassNameGetter',\n\t value: function _wrapCellClassNameGetter(className) {\n\t return this._wrapPropertyGetter(className);\n\t }\n\t }, {\n\t key: '_wrapCellStyleGetter',\n\t value: function _wrapCellStyleGetter(style) {\n\t return this._wrapPropertyGetter(style);\n\t }\n\t }, {\n\t key: '_wrapPropertyGetter',\n\t value: function _wrapPropertyGetter(value) {\n\t return value instanceof Function ? value : function () {\n\t return value;\n\t };\n\t }\n\t }, {\n\t key: '_wrapSizeGetter',\n\t value: function _wrapSizeGetter(size) {\n\t return this._wrapPropertyGetter(size);\n\t }\n\t }, {\n\t key: '_updateScrollLeftForScrollToColumn',\n\t value: function _updateScrollLeftForScrollToColumn() {\n\t var props = arguments.length <= 0 || arguments[0] === undefined ? this.props : arguments[0];\n\t var state = arguments.length <= 1 || arguments[1] === undefined ? this.state : arguments[1];\n\t var columnCount = props.columnCount;\n\t var scrollToAlignment = props.scrollToAlignment;\n\t var scrollToColumn = props.scrollToColumn;\n\t var width = props.width;\n\t var scrollLeft = state.scrollLeft;\n\t\n\t\n\t if (scrollToColumn >= 0 && columnCount > 0) {\n\t var targetIndex = Math.max(0, Math.min(columnCount - 1, scrollToColumn));\n\t\n\t var calculatedScrollLeft = this._columnSizeAndPositionManager.getUpdatedOffsetForIndex({\n\t align: scrollToAlignment,\n\t containerSize: width,\n\t currentOffset: scrollLeft,\n\t targetIndex: targetIndex\n\t });\n\t\n\t if (scrollLeft !== calculatedScrollLeft) {\n\t this._setScrollPosition({\n\t scrollLeft: calculatedScrollLeft\n\t });\n\t }\n\t }\n\t }\n\t }, {\n\t key: '_updateScrollTopForScrollToRow',\n\t value: function _updateScrollTopForScrollToRow() {\n\t var props = arguments.length <= 0 || arguments[0] === undefined ? this.props : arguments[0];\n\t var state = arguments.length <= 1 || arguments[1] === undefined ? this.state : arguments[1];\n\t var height = props.height;\n\t var rowCount = props.rowCount;\n\t var scrollToAlignment = props.scrollToAlignment;\n\t var scrollToRow = props.scrollToRow;\n\t var scrollTop = state.scrollTop;\n\t\n\t\n\t if (scrollToRow >= 0 && rowCount > 0) {\n\t var targetIndex = Math.max(0, Math.min(rowCount - 1, scrollToRow));\n\t\n\t var calculatedScrollTop = this._rowSizeAndPositionManager.getUpdatedOffsetForIndex({\n\t align: scrollToAlignment,\n\t containerSize: height,\n\t currentOffset: scrollTop,\n\t targetIndex: targetIndex\n\t });\n\t\n\t if (scrollTop !== calculatedScrollTop) {\n\t this._setScrollPosition({\n\t scrollTop: calculatedScrollTop\n\t });\n\t }\n\t }\n\t }\n\t }, {\n\t key: '_onScroll',\n\t value: function _onScroll(event) {\n\t if (event.target !== this._scrollingContainer) {\n\t return;\n\t }\n\t\n\t this._enablePointerEventsAfterDelay();\n\t\n\t var _props6 = this.props;\n\t var height = _props6.height;\n\t var width = _props6.width;\n\t\n\t var scrollbarSize = this._scrollbarSize;\n\t var totalRowsHeight = this._rowSizeAndPositionManager.getTotalSize();\n\t var totalColumnsWidth = this._columnSizeAndPositionManager.getTotalSize();\n\t var scrollLeft = Math.min(Math.max(0, totalColumnsWidth - width + scrollbarSize), event.target.scrollLeft);\n\t var scrollTop = Math.min(Math.max(0, totalRowsHeight - height + scrollbarSize), event.target.scrollTop);\n\t\n\t if (this.state.scrollLeft !== scrollLeft || this.state.scrollTop !== scrollTop) {\n\t var scrollPositionChangeReason = event.cancelable ? SCROLL_POSITION_CHANGE_REASONS.OBSERVED : SCROLL_POSITION_CHANGE_REASONS.REQUESTED;\n\t\n\t if (!this.state.isScrolling) {\n\t this.setState({\n\t isScrolling: true\n\t });\n\t }\n\t\n\t this._setNextState({\n\t isScrolling: true,\n\t scrollLeft: scrollLeft,\n\t scrollPositionChangeReason: scrollPositionChangeReason,\n\t scrollTop: scrollTop\n\t });\n\t }\n\t\n\t this._invokeOnScrollMemoizer({ scrollLeft: scrollLeft, scrollTop: scrollTop, totalColumnsWidth: totalColumnsWidth, totalRowsHeight: totalRowsHeight });\n\t }\n\t }]);\n\t\n\t return Grid;\n\t}(_react.Component);\n\t\n\tGrid.propTypes = {\n\t 'aria-label': _react.PropTypes.string,\n\t\n\t autoHeight: _react.PropTypes.bool,\n\t\n\t cellClassName: _react.PropTypes.oneOfType([_react.PropTypes.string, _react.PropTypes.func]),\n\t\n\t cellStyle: _react.PropTypes.oneOfType([_react.PropTypes.object, _react.PropTypes.func]),\n\t\n\t cellRenderer: _react.PropTypes.func.isRequired,\n\t\n\t cellRangeRenderer: _react.PropTypes.func.isRequired,\n\t\n\t className: _react.PropTypes.string,\n\t\n\t columnCount: _react.PropTypes.number.isRequired,\n\t\n\t columnWidth: _react.PropTypes.oneOfType([_react.PropTypes.number, _react.PropTypes.func]).isRequired,\n\t\n\t estimatedColumnSize: _react.PropTypes.number.isRequired,\n\t\n\t estimatedRowSize: _react.PropTypes.number.isRequired,\n\t\n\t height: _react.PropTypes.number.isRequired,\n\t\n\t noContentRenderer: _react.PropTypes.func.isRequired,\n\t\n\t onScroll: _react.PropTypes.func.isRequired,\n\t\n\t onSectionRendered: _react.PropTypes.func.isRequired,\n\t\n\t overscanColumnCount: _react.PropTypes.number.isRequired,\n\t\n\t overscanRowCount: _react.PropTypes.number.isRequired,\n\t\n\t rowHeight: _react.PropTypes.oneOfType([_react.PropTypes.number, _react.PropTypes.func]).isRequired,\n\t\n\t rowCount: _react.PropTypes.number.isRequired,\n\t\n\t scrollLeft: _react.PropTypes.number,\n\t\n\t scrollToAlignment: _react.PropTypes.oneOf(['auto', 'end', 'start', 'center']).isRequired,\n\t\n\t scrollToColumn: _react.PropTypes.number,\n\t\n\t scrollTop: _react.PropTypes.number,\n\t\n\t scrollToRow: _react.PropTypes.number,\n\t\n\t style: _react.PropTypes.object,\n\t\n\t tabIndex: _react.PropTypes.number,\n\t\n\t width: _react.PropTypes.number.isRequired\n\t};\n\tGrid.defaultProps = {\n\t 'aria-label': 'grid',\n\t cellStyle: {},\n\t cellRangeRenderer: _defaultCellRangeRenderer2.default,\n\t estimatedColumnSize: 100,\n\t estimatedRowSize: 30,\n\t noContentRenderer: function noContentRenderer() {\n\t return null;\n\t },\n\t onScroll: function onScroll() {\n\t return null;\n\t },\n\t onSectionRendered: function onSectionRendered() {\n\t return null;\n\t },\n\t overscanColumnCount: 0,\n\t overscanRowCount: 10,\n\t scrollToAlignment: 'auto',\n\t style: {},\n\t tabIndex: 0\n\t};\n\texports.default = Grid;\n\n/***/ },\n/* 29 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\texports.default = calculateSizeAndPositionDataAndUpdateScrollOffset;\n\tfunction calculateSizeAndPositionDataAndUpdateScrollOffset(_ref) {\n\t var cellCount = _ref.cellCount;\n\t var cellSize = _ref.cellSize;\n\t var computeMetadataCallback = _ref.computeMetadataCallback;\n\t var computeMetadataCallbackProps = _ref.computeMetadataCallbackProps;\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 if (cellCount !== nextCellsCount || (typeof cellSize === 'number' || typeof nextCellSize === 'number') && cellSize !== nextCellSize) {\n\t computeMetadataCallback(computeMetadataCallbackProps);\n\t\n\t if (scrollToIndex >= 0 && scrollToIndex === nextScrollToIndex) {\n\t updateScrollOffsetForScrollToIndex();\n\t }\n\t }\n\t}\n\n/***/ },\n/* 30 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\texports.DEFAULT_MAX_SCROLL_SIZE = undefined;\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 _CellSizeAndPositionManager = __webpack_require__(31);\n\t\n\tvar _CellSizeAndPositionManager2 = _interopRequireDefault(_CellSizeAndPositionManager);\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\tvar DEFAULT_MAX_SCROLL_SIZE = exports.DEFAULT_MAX_SCROLL_SIZE = 10000000;\n\t\n\tvar ScalingCellSizeAndPositionManager = function () {\n\t function ScalingCellSizeAndPositionManager(_ref) {\n\t var _ref$maxScrollSize = _ref.maxScrollSize;\n\t var maxScrollSize = _ref$maxScrollSize === undefined ? DEFAULT_MAX_SCROLL_SIZE : _ref$maxScrollSize;\n\t\n\t var params = _objectWithoutProperties(_ref, ['maxScrollSize']);\n\t\n\t _classCallCheck(this, ScalingCellSizeAndPositionManager);\n\t\n\t this._cellSizeAndPositionManager = new _CellSizeAndPositionManager2.default(params);\n\t this._maxScrollSize = maxScrollSize;\n\t }\n\t\n\t _createClass(ScalingCellSizeAndPositionManager, [{\n\t key: 'configure',\n\t value: function configure(params) {\n\t this._cellSizeAndPositionManager.configure(params);\n\t }\n\t }, {\n\t key: 'getCellCount',\n\t value: function getCellCount() {\n\t return this._cellSizeAndPositionManager.getCellCount();\n\t }\n\t }, {\n\t key: 'getEstimatedCellSize',\n\t value: function getEstimatedCellSize() {\n\t return this._cellSizeAndPositionManager.getEstimatedCellSize();\n\t }\n\t }, {\n\t key: 'getLastMeasuredIndex',\n\t value: function getLastMeasuredIndex() {\n\t return this._cellSizeAndPositionManager.getLastMeasuredIndex();\n\t }\n\t }, {\n\t key: 'getOffsetAdjustment',\n\t value: function getOffsetAdjustment(_ref2) {\n\t var containerSize = _ref2.containerSize;\n\t var offset = _ref2.offset;\n\t\n\t var totalSize = this._cellSizeAndPositionManager.getTotalSize();\n\t var safeTotalSize = this.getTotalSize();\n\t var offsetPercentage = this._getOffsetPercentage({\n\t containerSize: containerSize,\n\t offset: offset,\n\t totalSize: safeTotalSize\n\t });\n\t\n\t return Math.round(offsetPercentage * (safeTotalSize - totalSize));\n\t }\n\t }, {\n\t key: 'getSizeAndPositionOfCell',\n\t value: function getSizeAndPositionOfCell(index) {\n\t return this._cellSizeAndPositionManager.getSizeAndPositionOfCell(index);\n\t }\n\t }, {\n\t key: 'getSizeAndPositionOfLastMeasuredCell',\n\t value: function getSizeAndPositionOfLastMeasuredCell() {\n\t return this._cellSizeAndPositionManager.getSizeAndPositionOfLastMeasuredCell();\n\t }\n\t }, {\n\t key: 'getTotalSize',\n\t value: function getTotalSize() {\n\t return Math.min(this._maxScrollSize, this._cellSizeAndPositionManager.getTotalSize());\n\t }\n\t }, {\n\t key: 'getUpdatedOffsetForIndex',\n\t value: function getUpdatedOffsetForIndex(_ref3) {\n\t var _ref3$align = _ref3.align;\n\t var align = _ref3$align === undefined ? 'auto' : _ref3$align;\n\t var containerSize = _ref3.containerSize;\n\t var currentOffset = _ref3.currentOffset;\n\t var targetIndex = _ref3.targetIndex;\n\t var totalSize = _ref3.totalSize;\n\t\n\t currentOffset = this._safeOffsetToOffset({\n\t containerSize: containerSize,\n\t offset: currentOffset\n\t });\n\t\n\t var offset = this._cellSizeAndPositionManager.getUpdatedOffsetForIndex({\n\t align: align,\n\t containerSize: containerSize,\n\t currentOffset: currentOffset,\n\t targetIndex: targetIndex,\n\t totalSize: totalSize\n\t });\n\t\n\t return this._offsetToSafeOffset({\n\t containerSize: containerSize,\n\t offset: offset\n\t });\n\t }\n\t }, {\n\t key: 'getVisibleCellRange',\n\t value: function getVisibleCellRange(_ref4) {\n\t var containerSize = _ref4.containerSize;\n\t var offset = _ref4.offset;\n\t\n\t offset = this._safeOffsetToOffset({\n\t containerSize: containerSize,\n\t offset: offset\n\t });\n\t\n\t return this._cellSizeAndPositionManager.getVisibleCellRange({\n\t containerSize: containerSize,\n\t offset: offset\n\t });\n\t }\n\t }, {\n\t key: 'resetCell',\n\t value: function resetCell(index) {\n\t this._cellSizeAndPositionManager.resetCell(index);\n\t }\n\t }, {\n\t key: '_getOffsetPercentage',\n\t value: function _getOffsetPercentage(_ref5) {\n\t var containerSize = _ref5.containerSize;\n\t var offset = _ref5.offset;\n\t var totalSize = _ref5.totalSize;\n\t\n\t return totalSize <= containerSize ? 0 : offset / (totalSize - containerSize);\n\t }\n\t }, {\n\t key: '_offsetToSafeOffset',\n\t value: function _offsetToSafeOffset(_ref6) {\n\t var containerSize = _ref6.containerSize;\n\t var offset = _ref6.offset;\n\t\n\t var totalSize = this._cellSizeAndPositionManager.getTotalSize();\n\t var safeTotalSize = this.getTotalSize();\n\t\n\t if (totalSize === safeTotalSize) {\n\t return offset;\n\t } else {\n\t var offsetPercentage = this._getOffsetPercentage({\n\t containerSize: containerSize,\n\t offset: offset,\n\t totalSize: totalSize\n\t });\n\t\n\t return Math.round(offsetPercentage * (safeTotalSize - containerSize));\n\t }\n\t }\n\t }, {\n\t key: '_safeOffsetToOffset',\n\t value: function _safeOffsetToOffset(_ref7) {\n\t var containerSize = _ref7.containerSize;\n\t var offset = _ref7.offset;\n\t\n\t var totalSize = this._cellSizeAndPositionManager.getTotalSize();\n\t var safeTotalSize = this.getTotalSize();\n\t\n\t if (totalSize === safeTotalSize) {\n\t return offset;\n\t } else {\n\t var offsetPercentage = this._getOffsetPercentage({\n\t containerSize: containerSize,\n\t offset: offset,\n\t totalSize: safeTotalSize\n\t });\n\t\n\t return Math.round(offsetPercentage * (totalSize - containerSize));\n\t }\n\t }\n\t }]);\n\t\n\t return ScalingCellSizeAndPositionManager;\n\t}();\n\t\n\texports.default = ScalingCellSizeAndPositionManager;\n\n/***/ },\n/* 31 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tvar CellSizeAndPositionManager = function () {\n\t function CellSizeAndPositionManager(_ref) {\n\t var cellCount = _ref.cellCount;\n\t var cellSizeGetter = _ref.cellSizeGetter;\n\t var estimatedCellSize = _ref.estimatedCellSize;\n\t\n\t _classCallCheck(this, CellSizeAndPositionManager);\n\t\n\t this._cellSizeGetter = cellSizeGetter;\n\t this._cellCount = cellCount;\n\t this._estimatedCellSize = estimatedCellSize;\n\t\n\t this._cellSizeAndPositionData = {};\n\t\n\t this._lastMeasuredIndex = -1;\n\t }\n\t\n\t _createClass(CellSizeAndPositionManager, [{\n\t key: 'configure',\n\t value: function configure(_ref2) {\n\t var cellCount = _ref2.cellCount;\n\t var estimatedCellSize = _ref2.estimatedCellSize;\n\t\n\t this._cellCount = cellCount;\n\t this._estimatedCellSize = estimatedCellSize;\n\t }\n\t }, {\n\t key: 'getCellCount',\n\t value: function getCellCount() {\n\t return this._cellCount;\n\t }\n\t }, {\n\t key: 'getEstimatedCellSize',\n\t value: function getEstimatedCellSize() {\n\t return this._estimatedCellSize;\n\t }\n\t }, {\n\t key: 'getLastMeasuredIndex',\n\t value: function getLastMeasuredIndex() {\n\t return this._lastMeasuredIndex;\n\t }\n\t }, {\n\t key: 'getSizeAndPositionOfCell',\n\t value: function getSizeAndPositionOfCell(index) {\n\t if (index < 0 || index >= this._cellCount) {\n\t throw Error('Requested index ' + index + ' is outside of range 0..' + this._cellCount);\n\t }\n\t\n\t if (index > this._lastMeasuredIndex) {\n\t var lastMeasuredCellSizeAndPosition = this.getSizeAndPositionOfLastMeasuredCell();\n\t var _offset = lastMeasuredCellSizeAndPosition.offset + lastMeasuredCellSizeAndPosition.size;\n\t\n\t for (var i = this._lastMeasuredIndex + 1; i <= index; i++) {\n\t var _size = this._cellSizeGetter({ index: i });\n\t\n\t if (_size == null || isNaN(_size)) {\n\t throw Error('Invalid size returned for cell ' + i + ' of value ' + _size);\n\t }\n\t\n\t this._cellSizeAndPositionData[i] = {\n\t offset: _offset,\n\t size: _size\n\t };\n\t\n\t _offset += _size;\n\t }\n\t\n\t this._lastMeasuredIndex = index;\n\t }\n\t\n\t return this._cellSizeAndPositionData[index];\n\t }\n\t }, {\n\t key: 'getSizeAndPositionOfLastMeasuredCell',\n\t value: function getSizeAndPositionOfLastMeasuredCell() {\n\t return this._lastMeasuredIndex >= 0 ? this._cellSizeAndPositionData[this._lastMeasuredIndex] : {\n\t offset: 0,\n\t size: 0\n\t };\n\t }\n\t }, {\n\t key: 'getTotalSize',\n\t value: function getTotalSize() {\n\t var lastMeasuredCellSizeAndPosition = this.getSizeAndPositionOfLastMeasuredCell();\n\t\n\t return lastMeasuredCellSizeAndPosition.offset + lastMeasuredCellSizeAndPosition.size + (this._cellCount - this._lastMeasuredIndex - 1) * this._estimatedCellSize;\n\t }\n\t }, {\n\t key: 'getUpdatedOffsetForIndex',\n\t value: function getUpdatedOffsetForIndex(_ref3) {\n\t var _ref3$align = _ref3.align;\n\t var align = _ref3$align === undefined ? 'auto' : _ref3$align;\n\t var containerSize = _ref3.containerSize;\n\t var currentOffset = _ref3.currentOffset;\n\t var targetIndex = _ref3.targetIndex;\n\t\n\t var datum = this.getSizeAndPositionOfCell(targetIndex);\n\t var maxOffset = datum.offset;\n\t var minOffset = maxOffset - containerSize + datum.size;\n\t\n\t var idealOffset = void 0;\n\t\n\t switch (align) {\n\t case 'start':\n\t idealOffset = maxOffset;\n\t break;\n\t case 'end':\n\t idealOffset = minOffset;\n\t break;\n\t case 'center':\n\t idealOffset = maxOffset - (containerSize - datum.size) / 2;\n\t break;\n\t default:\n\t idealOffset = Math.max(minOffset, Math.min(maxOffset, currentOffset));\n\t break;\n\t }\n\t\n\t var totalSize = this.getTotalSize();\n\t\n\t return Math.max(0, Math.min(totalSize - containerSize, idealOffset));\n\t }\n\t }, {\n\t key: 'getVisibleCellRange',\n\t value: function getVisibleCellRange(_ref4) {\n\t var containerSize = _ref4.containerSize;\n\t var offset = _ref4.offset;\n\t\n\t var totalSize = this.getTotalSize();\n\t\n\t if (totalSize === 0) {\n\t return {};\n\t }\n\t\n\t var maxOffset = offset + containerSize;\n\t var start = this._findNearestCell(offset);\n\t\n\t var datum = this.getSizeAndPositionOfCell(start);\n\t offset = datum.offset + datum.size;\n\t\n\t var stop = start;\n\t\n\t while (offset < maxOffset && stop < this._cellCount - 1) {\n\t stop++;\n\t\n\t offset += this.getSizeAndPositionOfCell(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 key: 'resetCell',\n\t value: function resetCell(index) {\n\t this._lastMeasuredIndex = Math.min(this._lastMeasuredIndex, index - 1);\n\t }\n\t }, {\n\t key: '_binarySearch',\n\t value: function _binarySearch(_ref5) {\n\t var high = _ref5.high;\n\t var low = _ref5.low;\n\t var offset = _ref5.offset;\n\t\n\t var middle = void 0;\n\t var currentOffset = void 0;\n\t\n\t while (low <= high) {\n\t middle = low + Math.floor((high - low) / 2);\n\t currentOffset = this.getSizeAndPositionOfCell(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 (low > 0) {\n\t return low - 1;\n\t }\n\t }\n\t }, {\n\t key: '_exponentialSearch',\n\t value: function _exponentialSearch(_ref6) {\n\t var index = _ref6.index;\n\t var offset = _ref6.offset;\n\t\n\t var interval = 1;\n\t\n\t while (index < this._cellCount && this.getSizeAndPositionOfCell(index).offset < offset) {\n\t index += interval;\n\t interval *= 2;\n\t }\n\t\n\t return this._binarySearch({\n\t high: Math.min(index, this._cellCount - 1),\n\t low: Math.floor(index / 2),\n\t offset: offset\n\t });\n\t }\n\t }, {\n\t key: '_findNearestCell',\n\t value: function _findNearestCell(offset) {\n\t if (isNaN(offset)) {\n\t throw Error('Invalid offset ' + offset + ' specified');\n\t }\n\t\n\t offset = Math.max(0, offset);\n\t\n\t var lastMeasuredCellSizeAndPosition = this.getSizeAndPositionOfLastMeasuredCell();\n\t var lastMeasuredIndex = Math.max(0, this._lastMeasuredIndex);\n\t\n\t if (lastMeasuredCellSizeAndPosition.offset >= offset) {\n\t return this._binarySearch({\n\t high: lastMeasuredIndex,\n\t low: 0,\n\t offset: offset\n\t });\n\t } else {\n\t return this._exponentialSearch({\n\t index: lastMeasuredIndex,\n\t offset: offset\n\t });\n\t }\n\t }\n\t }]);\n\t\n\t return CellSizeAndPositionManager;\n\t}();\n\t\n\texports.default = CellSizeAndPositionManager;\n\n/***/ },\n/* 32 */\n/***/ function(module, exports) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\texports.default = getOverscanIndices;\n\tfunction getOverscanIndices(_ref) {\n\t var cellCount = _ref.cellCount;\n\t var overscanCellsCount = _ref.overscanCellsCount;\n\t var startIndex = _ref.startIndex;\n\t var stopIndex = _ref.stopIndex;\n\t\n\t return {\n\t overscanStartIndex: Math.max(0, startIndex - overscanCellsCount),\n\t overscanStopIndex: Math.min(cellCount - 1, stopIndex + overscanCellsCount)\n\t };\n\t}\n\n/***/ },\n/* 33 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\texports.default = updateScrollIndexHelper;\n\tfunction updateScrollIndexHelper(_ref) {\n\t var cellSize = _ref.cellSize;\n\t var cellSizeAndPositionManager = _ref.cellSizeAndPositionManager;\n\t var previousCellsCount = _ref.previousCellsCount;\n\t var previousCellSize = _ref.previousCellSize;\n\t var previousScrollToAlignment = _ref.previousScrollToAlignment;\n\t var previousScrollToIndex = _ref.previousScrollToIndex;\n\t var previousSize = _ref.previousSize;\n\t var scrollOffset = _ref.scrollOffset;\n\t var scrollToAlignment = _ref.scrollToAlignment;\n\t var scrollToIndex = _ref.scrollToIndex;\n\t var size = _ref.size;\n\t var updateScrollIndexCallback = _ref.updateScrollIndexCallback;\n\t\n\t var cellCount = cellSizeAndPositionManager.getCellCount();\n\t var hasScrollToIndex = scrollToIndex >= 0 && scrollToIndex < cellCount;\n\t var sizeHasChanged = size !== previousSize || !previousCellSize || typeof cellSize === 'number' && cellSize !== previousCellSize;\n\t\n\t if (hasScrollToIndex && (sizeHasChanged || scrollToAlignment !== previousScrollToAlignment || scrollToIndex !== previousScrollToIndex)) {\n\t updateScrollIndexCallback(scrollToIndex);\n\t } else if (!hasScrollToIndex && cellCount > 0 && (size < previousSize || cellCount < previousCellsCount)) {\n\t scrollToIndex = cellCount - 1;\n\t\n\t var calculatedScrollOffset = cellSizeAndPositionManager.getUpdatedOffsetForIndex({\n\t containerSize: size,\n\t currentOffset: scrollOffset,\n\t targetIndex: scrollToIndex\n\t });\n\t\n\t if (calculatedScrollOffset < scrollOffset) {\n\t updateScrollIndexCallback(cellCount - 1);\n\t }\n\t }\n\t}\n\n/***/ },\n/* 34 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\t\n\texports.default = defaultCellRangeRenderer;\n\t\n\tvar _react = __webpack_require__(3);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _classnames = __webpack_require__(14);\n\t\n\tvar _classnames2 = _interopRequireDefault(_classnames);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction defaultCellRangeRenderer(_ref) {\n\t var cellCache = _ref.cellCache;\n\t var cellClassName = _ref.cellClassName;\n\t var cellRenderer = _ref.cellRenderer;\n\t var cellStyle = _ref.cellStyle;\n\t var columnSizeAndPositionManager = _ref.columnSizeAndPositionManager;\n\t var columnStartIndex = _ref.columnStartIndex;\n\t var columnStopIndex = _ref.columnStopIndex;\n\t var horizontalOffsetAdjustment = _ref.horizontalOffsetAdjustment;\n\t var isScrolling = _ref.isScrolling;\n\t var rowSizeAndPositionManager = _ref.rowSizeAndPositionManager;\n\t var rowStartIndex = _ref.rowStartIndex;\n\t var rowStopIndex = _ref.rowStopIndex;\n\t var scrollLeft = _ref.scrollLeft;\n\t var scrollTop = _ref.scrollTop;\n\t var verticalOffsetAdjustment = _ref.verticalOffsetAdjustment;\n\t\n\t var renderedCells = [];\n\t\n\t for (var rowIndex = rowStartIndex; rowIndex <= rowStopIndex; rowIndex++) {\n\t var rowDatum = rowSizeAndPositionManager.getSizeAndPositionOfCell(rowIndex);\n\t\n\t for (var columnIndex = columnStartIndex; columnIndex <= columnStopIndex; columnIndex++) {\n\t var columnDatum = columnSizeAndPositionManager.getSizeAndPositionOfCell(columnIndex);\n\t var key = rowIndex + '-' + columnIndex;\n\t var cellStyleObject = cellStyle({ rowIndex: rowIndex, columnIndex: columnIndex });\n\t var renderedCell = void 0;\n\t\n\t if (isScrolling) {\n\t if (!cellCache[key]) {\n\t cellCache[key] = cellRenderer({\n\t columnIndex: columnIndex,\n\t isScrolling: isScrolling,\n\t rowIndex: rowIndex\n\t });\n\t }\n\t renderedCell = cellCache[key];\n\t } else {\n\t renderedCell = cellRenderer({\n\t columnIndex: columnIndex,\n\t isScrolling: isScrolling,\n\t rowIndex: rowIndex\n\t });\n\t }\n\t\n\t if (renderedCell == null || renderedCell === false) {\n\t continue;\n\t }\n\t\n\t var className = cellClassName({ columnIndex: columnIndex, rowIndex: rowIndex });\n\t\n\t var child = _react2.default.createElement(\n\t 'div',\n\t {\n\t key: key,\n\t className: (0, _classnames2.default)('Grid__cell', className),\n\t style: _extends({\n\t height: rowDatum.size,\n\t left: columnDatum.offset + horizontalOffsetAdjustment,\n\t top: rowDatum.offset + verticalOffsetAdjustment,\n\t width: columnDatum.size\n\t }, cellStyleObject)\n\t },\n\t renderedCell\n\t );\n\t\n\t renderedCells.push(child);\n\t }\n\t }\n\t\n\t return renderedCells;\n\t}\n\n/***/ },\n/* 35 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\texports.SortIndicator = exports.SortDirection = exports.FlexColumn = exports.FlexTable = exports.defaultRowRenderer = exports.default = undefined;\n\t\n\tvar _FlexTable2 = __webpack_require__(36);\n\t\n\tvar _FlexTable3 = _interopRequireDefault(_FlexTable2);\n\t\n\tvar _defaultRowRenderer2 = __webpack_require__(43);\n\t\n\tvar _defaultRowRenderer3 = _interopRequireDefault(_defaultRowRenderer2);\n\t\n\tvar _FlexColumn2 = __webpack_require__(37);\n\t\n\tvar _FlexColumn3 = _interopRequireDefault(_FlexColumn2);\n\t\n\tvar _SortDirection2 = __webpack_require__(40);\n\t\n\tvar _SortDirection3 = _interopRequireDefault(_SortDirection2);\n\t\n\tvar _SortIndicator2 = __webpack_require__(39);\n\t\n\tvar _SortIndicator3 = _interopRequireDefault(_SortIndicator2);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\texports.default = _FlexTable3.default;\n\texports.defaultRowRenderer = _defaultRowRenderer3.default;\n\texports.FlexTable = _FlexTable3.default;\n\texports.FlexColumn = _FlexColumn3.default;\n\texports.SortDirection = _SortDirection3.default;\n\texports.SortIndicator = _SortIndicator3.default;\n\n/***/ },\n/* 36 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\t\n\tvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\t\n\tvar _classnames = __webpack_require__(14);\n\t\n\tvar _classnames2 = _interopRequireDefault(_classnames);\n\t\n\tvar _FlexColumn = __webpack_require__(37);\n\t\n\tvar _FlexColumn2 = _interopRequireDefault(_FlexColumn);\n\t\n\tvar _react = __webpack_require__(3);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _reactDom = __webpack_require__(10);\n\t\n\tvar _reactAddonsShallowCompare = __webpack_require__(4);\n\t\n\tvar _reactAddonsShallowCompare2 = _interopRequireDefault(_reactAddonsShallowCompare);\n\t\n\tvar _Grid = __webpack_require__(27);\n\t\n\tvar _Grid2 = _interopRequireDefault(_Grid);\n\t\n\tvar _defaultRowRenderer = __webpack_require__(43);\n\t\n\tvar _defaultRowRenderer2 = _interopRequireDefault(_defaultRowRenderer);\n\t\n\tvar _SortDirection = __webpack_require__(40);\n\t\n\tvar _SortDirection2 = _interopRequireDefault(_SortDirection);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\tvar FlexTable = function (_Component) {\n\t _inherits(FlexTable, _Component);\n\t\n\t function FlexTable(props) {\n\t _classCallCheck(this, FlexTable);\n\t\n\t var _this = _possibleConstructorReturn(this, Object.getPrototypeOf(FlexTable).call(this, props));\n\t\n\t _this.state = {\n\t scrollbarWidth: 0\n\t };\n\t\n\t _this._cellClassName = _this._cellClassName.bind(_this);\n\t _this._cellStyle = _this._cellStyle.bind(_this);\n\t _this._createColumn = _this._createColumn.bind(_this);\n\t _this._createRow = _this._createRow.bind(_this);\n\t _this._onScroll = _this._onScroll.bind(_this);\n\t _this._onSectionRendered = _this._onSectionRendered.bind(_this);\n\t return _this;\n\t }\n\t\n\t _createClass(FlexTable, [{\n\t key: 'forceUpdateGrid',\n\t value: function forceUpdateGrid() {\n\t this.Grid.forceUpdate();\n\t }\n\t }, {\n\t key: 'measureAllRows',\n\t value: function measureAllRows() {\n\t this.Grid.measureAllCells();\n\t }\n\t }, {\n\t key: 'recomputeRowHeights',\n\t value: function recomputeRowHeights() {\n\t var index = arguments.length <= 0 || arguments[0] === undefined ? 0 : arguments[0];\n\t\n\t this.Grid.recomputeGridSize({\n\t rowIndex: index\n\t });\n\t this.forceUpdateGrid();\n\t }\n\t }, {\n\t key: 'componentDidMount',\n\t value: function componentDidMount() {\n\t this._setScrollbarWidth();\n\t }\n\t }, {\n\t key: 'componentDidUpdate',\n\t value: function componentDidUpdate() {\n\t this._setScrollbarWidth();\n\t }\n\t }, {\n\t key: 'render',\n\t value: function render() {\n\t var _this2 = this;\n\t\n\t var _props = this.props;\n\t var children = _props.children;\n\t var className = _props.className;\n\t var disableHeader = _props.disableHeader;\n\t var gridClassName = _props.gridClassName;\n\t var gridStyle = _props.gridStyle;\n\t var headerHeight = _props.headerHeight;\n\t var height = _props.height;\n\t var noRowsRenderer = _props.noRowsRenderer;\n\t var rowClassName = _props.rowClassName;\n\t var rowStyle = _props.rowStyle;\n\t var scrollToIndex = _props.scrollToIndex;\n\t var style = _props.style;\n\t var width = _props.width;\n\t var scrollbarWidth = this.state.scrollbarWidth;\n\t\n\t\n\t var availableRowsHeight = height - headerHeight;\n\t\n\t var rowClass = rowClassName instanceof Function ? rowClassName({ index: -1 }) : rowClassName;\n\t var rowStyleObject = rowStyle instanceof Function ? rowStyle({ index: -1 }) : rowStyle;\n\t\n\t this._cachedColumnStyles = [];\n\t _react2.default.Children.toArray(children).forEach(function (column, index) {\n\t _this2._cachedColumnStyles[index] = _this2._getFlexStyleForColumn(column, column.props.style);\n\t });\n\t\n\t return _react2.default.createElement(\n\t 'div',\n\t {\n\t className: (0, _classnames2.default)('FlexTable', className),\n\t style: style\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: _extends({}, rowStyleObject, {\n\t height: headerHeight,\n\t paddingRight: scrollbarWidth,\n\t width: width\n\t })\n\t },\n\t this._getRenderedHeaderRow()\n\t ),\n\t _react2.default.createElement(_Grid2.default, _extends({}, this.props, {\n\t className: (0, _classnames2.default)('FlexTable__Grid', gridClassName),\n\t cellClassName: this._cellClassName,\n\t cellRenderer: this._createRow,\n\t cellStyle: this._cellStyle,\n\t columnWidth: width,\n\t columnCount: 1,\n\t height: availableRowsHeight,\n\t noContentRenderer: noRowsRenderer,\n\t onScroll: this._onScroll,\n\t onSectionRendered: this._onSectionRendered,\n\t ref: function ref(_ref) {\n\t _this2.Grid = _ref;\n\t },\n\t scrollbarWidth: scrollbarWidth,\n\t scrollToRow: scrollToIndex,\n\t style: gridStyle\n\t }))\n\t );\n\t }\n\t }, {\n\t key: 'shouldComponentUpdate',\n\t value: function shouldComponentUpdate(nextProps, nextState) {\n\t return (0, _reactAddonsShallowCompare2.default)(this, nextProps, nextState);\n\t }\n\t }, {\n\t key: '_cellClassName',\n\t value: function _cellClassName(_ref2) {\n\t var rowIndex = _ref2.rowIndex;\n\t var rowWrapperClassName = this.props.rowWrapperClassName;\n\t\n\t\n\t return rowWrapperClassName instanceof Function ? rowWrapperClassName({ index: rowIndex - 1 }) : rowWrapperClassName;\n\t }\n\t }, {\n\t key: '_cellStyle',\n\t value: function _cellStyle(_ref3) {\n\t var rowIndex = _ref3.rowIndex;\n\t var rowWrapperStyle = this.props.rowWrapperStyle;\n\t\n\t\n\t return rowWrapperStyle instanceof Function ? rowWrapperStyle({ index: rowIndex - 1 }) : rowWrapperStyle;\n\t }\n\t }, {\n\t key: '_createColumn',\n\t value: function _createColumn(_ref4) {\n\t var column = _ref4.column;\n\t var columnIndex = _ref4.columnIndex;\n\t var isScrolling = _ref4.isScrolling;\n\t var rowData = _ref4.rowData;\n\t var rowIndex = _ref4.rowIndex;\n\t var _column$props = column.props;\n\t var cellDataGetter = _column$props.cellDataGetter;\n\t var cellRenderer = _column$props.cellRenderer;\n\t var className = _column$props.className;\n\t var columnData = _column$props.columnData;\n\t var dataKey = _column$props.dataKey;\n\t\n\t\n\t var cellData = cellDataGetter({ columnData: columnData, dataKey: dataKey, rowData: rowData });\n\t var renderedCell = cellRenderer({ cellData: cellData, columnData: columnData, dataKey: dataKey, isScrolling: isScrolling, rowData: rowData, rowIndex: rowIndex });\n\t\n\t var style = this._cachedColumnStyles[columnIndex];\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', className),\n\t style: style,\n\t title: title\n\t },\n\t renderedCell\n\t );\n\t }\n\t }, {\n\t key: '_createHeader',\n\t value: function _createHeader(_ref5) {\n\t var column = _ref5.column;\n\t var index = _ref5.index;\n\t var _props2 = this.props;\n\t var headerClassName = _props2.headerClassName;\n\t var headerStyle = _props2.headerStyle;\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 headerRenderer = _column$props2.headerRenderer;\n\t var label = _column$props2.label;\n\t var columnData = _column$props2.columnData;\n\t\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 style = this._getFlexStyleForColumn(column, headerStyle);\n\t\n\t var renderedHeader = headerRenderer({\n\t columnData: columnData,\n\t dataKey: dataKey,\n\t disableSort: disableSort,\n\t label: label,\n\t sortBy: sortBy,\n\t sortDirection: sortDirection\n\t });\n\t\n\t var a11yProps = {};\n\t\n\t if (sortEnabled || onHeaderClick) {\n\t (function () {\n\t var newSortDirection = sortBy !== dataKey || sortDirection === _SortDirection2.default.DESC ? _SortDirection2.default.ASC : _SortDirection2.default.DESC;\n\t\n\t var onClick = function onClick() {\n\t sortEnabled && sort({\n\t sortBy: dataKey,\n\t sortDirection: newSortDirection\n\t });\n\t onHeaderClick && onHeaderClick({ columnData: columnData, dataKey: dataKey });\n\t };\n\t\n\t var onKeyDown = function onKeyDown(event) {\n\t if (event.key === 'Enter' || event.key === ' ') {\n\t onClick();\n\t }\n\t };\n\t\n\t a11yProps['aria-label'] = column.props['aria-label'] || label || dataKey;\n\t a11yProps.role = 'rowheader';\n\t a11yProps.tabIndex = 0;\n\t a11yProps.onClick = onClick;\n\t a11yProps.onKeyDown = onKeyDown;\n\t })();\n\t }\n\t\n\t return _react2.default.createElement(\n\t 'div',\n\t _extends({}, a11yProps, {\n\t key: 'Header-Col' + index,\n\t className: classNames,\n\t style: style\n\t }),\n\t renderedHeader\n\t );\n\t }\n\t }, {\n\t key: '_createRow',\n\t value: function _createRow(_ref6) {\n\t var _this3 = this;\n\t\n\t var index = _ref6.rowIndex;\n\t var isScrolling = _ref6.isScrolling;\n\t var _props3 = this.props;\n\t var children = _props3.children;\n\t var onRowClick = _props3.onRowClick;\n\t var onRowDoubleClick = _props3.onRowDoubleClick;\n\t var onRowMouseOver = _props3.onRowMouseOver;\n\t var onRowMouseOut = _props3.onRowMouseOut;\n\t var rowClassName = _props3.rowClassName;\n\t var rowGetter = _props3.rowGetter;\n\t var rowRenderer = _props3.rowRenderer;\n\t var rowStyle = _props3.rowStyle;\n\t var scrollbarWidth = this.state.scrollbarWidth;\n\t\n\t\n\t var rowClass = rowClassName instanceof Function ? rowClassName({ index: index }) : rowClassName;\n\t var rowStyleObject = rowStyle instanceof Function ? rowStyle({ index: index }) : rowStyle;\n\t var rowData = rowGetter({ index: index });\n\t\n\t var columns = _react2.default.Children.toArray(children).map(function (column, columnIndex) {\n\t return _this3._createColumn({\n\t column: column,\n\t columnIndex: columnIndex,\n\t isScrolling: isScrolling,\n\t rowData: rowData,\n\t rowIndex: index,\n\t scrollbarWidth: scrollbarWidth\n\t });\n\t });\n\t\n\t var className = (0, _classnames2.default)('FlexTable__row', rowClass);\n\t var style = _extends({}, rowStyleObject, {\n\t height: this._getRowHeight(index),\n\t paddingRight: scrollbarWidth\n\t });\n\t\n\t return rowRenderer({\n\t className: className,\n\t columns: columns,\n\t index: index,\n\t isScrolling: isScrolling,\n\t onRowClick: onRowClick,\n\t onRowDoubleClick: onRowDoubleClick,\n\t onRowMouseOver: onRowMouseOver,\n\t onRowMouseOut: onRowMouseOut,\n\t rowData: rowData,\n\t style: style\n\t });\n\t }\n\t }, {\n\t key: '_getFlexStyleForColumn',\n\t value: function _getFlexStyleForColumn(column) {\n\t var customStyle = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1];\n\t\n\t var flexValue = column.props.flexGrow + ' ' + column.props.flexShrink + ' ' + column.props.width + 'px';\n\t\n\t var style = _extends({}, customStyle, {\n\t flex: flexValue,\n\t msFlex: flexValue,\n\t WebkitFlex: flexValue\n\t });\n\t\n\t if (column.props.maxWidth) {\n\t style.maxWidth = column.props.maxWidth;\n\t }\n\t\n\t if (column.props.minWidth) {\n\t style.minWidth = column.props.minWidth;\n\t }\n\t\n\t return style;\n\t }\n\t }, {\n\t key: '_getRenderedHeaderRow',\n\t value: function _getRenderedHeaderRow() {\n\t var _this4 = 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 ? [] : _react2.default.Children.toArray(children);\n\t\n\t return items.map(function (column, index) {\n\t return _this4._createHeader({ column: column, index: index });\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\n\t return rowHeight instanceof Function ? rowHeight({ index: rowIndex }) : rowHeight;\n\t }\n\t }, {\n\t key: '_onScroll',\n\t value: function _onScroll(_ref7) {\n\t var clientHeight = _ref7.clientHeight;\n\t var scrollHeight = _ref7.scrollHeight;\n\t var scrollTop = _ref7.scrollTop;\n\t var onScroll = this.props.onScroll;\n\t\n\t\n\t onScroll({ clientHeight: clientHeight, scrollHeight: scrollHeight, scrollTop: scrollTop });\n\t }\n\t }, {\n\t key: '_onSectionRendered',\n\t value: function _onSectionRendered(_ref8) {\n\t var rowOverscanStartIndex = _ref8.rowOverscanStartIndex;\n\t var rowOverscanStopIndex = _ref8.rowOverscanStopIndex;\n\t var rowStartIndex = _ref8.rowStartIndex;\n\t var rowStopIndex = _ref8.rowStopIndex;\n\t var onRowsRendered = this.props.onRowsRendered;\n\t\n\t\n\t onRowsRendered({\n\t overscanStartIndex: rowOverscanStartIndex,\n\t overscanStopIndex: rowOverscanStopIndex,\n\t startIndex: rowStartIndex,\n\t stopIndex: rowStopIndex\n\t });\n\t }\n\t }, {\n\t key: '_setScrollbarWidth',\n\t value: function _setScrollbarWidth() {\n\t var Grid = (0, _reactDom.findDOMNode)(this.Grid);\n\t var clientWidth = Grid.clientWidth || 0;\n\t var offsetWidth = Grid.offsetWidth || 0;\n\t var scrollbarWidth = offsetWidth - clientWidth;\n\t\n\t this.setState({ scrollbarWidth: scrollbarWidth });\n\t }\n\t }]);\n\t\n\t return FlexTable;\n\t}(_react.Component);\n\t\n\tFlexTable.propTypes = {\n\t 'aria-label': _react.PropTypes.string,\n\t\n\t autoHeight: _react.PropTypes.bool,\n\t\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\n\t className: _react.PropTypes.string,\n\t\n\t disableHeader: _react.PropTypes.bool,\n\t\n\t estimatedRowSize: _react.PropTypes.number.isRequired,\n\t\n\t gridClassName: _react.PropTypes.string,\n\t\n\t gridStyle: _react.PropTypes.object,\n\t\n\t headerClassName: _react.PropTypes.string,\n\t\n\t headerHeight: _react.PropTypes.number.isRequired,\n\t\n\t height: _react.PropTypes.number.isRequired,\n\t\n\t noRowsRenderer: _react.PropTypes.func,\n\t\n\t onHeaderClick: _react.PropTypes.func,\n\t\n\t headerStyle: _react.PropTypes.object,\n\t\n\t onRowClick: _react.PropTypes.func,\n\t\n\t onRowDoubleClick: _react.PropTypes.func,\n\t\n\t onRowMouseOut: _react.PropTypes.func,\n\t\n\t onRowMouseOver: _react.PropTypes.func,\n\t\n\t onRowsRendered: _react.PropTypes.func,\n\t\n\t onScroll: _react.PropTypes.func.isRequired,\n\t\n\t overscanRowCount: _react.PropTypes.number.isRequired,\n\t\n\t rowClassName: _react.PropTypes.oneOfType([_react.PropTypes.string, _react.PropTypes.func]),\n\t\n\t rowGetter: _react.PropTypes.func.isRequired,\n\t\n\t rowHeight: _react.PropTypes.oneOfType([_react.PropTypes.number, _react.PropTypes.func]).isRequired,\n\t\n\t rowCount: _react.PropTypes.number.isRequired,\n\t\n\t rowRenderer: _react.PropTypes.func,\n\t\n\t rowStyle: _react.PropTypes.oneOfType([_react.PropTypes.object, _react.PropTypes.func]).isRequired,\n\t\n\t rowWrapperClassName: _react.PropTypes.oneOfType([_react.PropTypes.string, _react.PropTypes.func]),\n\t\n\t rowWrapperStyle: _react.PropTypes.oneOfType([_react.PropTypes.object, _react.PropTypes.func]),\n\t\n\t scrollToAlignment: _react.PropTypes.oneOf(['auto', 'end', 'start', 'center']).isRequired,\n\t\n\t scrollToIndex: _react.PropTypes.number,\n\t\n\t scrollTop: _react.PropTypes.number,\n\t\n\t sort: _react.PropTypes.func,\n\t\n\t sortBy: _react.PropTypes.string,\n\t\n\t sortDirection: _react.PropTypes.oneOf([_SortDirection2.default.ASC, _SortDirection2.default.DESC]),\n\t\n\t style: _react.PropTypes.object,\n\t\n\t tabIndex: _react.PropTypes.number,\n\t\n\t width: _react.PropTypes.number.isRequired\n\t};\n\tFlexTable.defaultProps = {\n\t disableHeader: false,\n\t estimatedRowSize: 30,\n\t headerHeight: 0,\n\t headerStyle: {},\n\t noRowsRenderer: function noRowsRenderer() {\n\t return null;\n\t },\n\t onRowsRendered: function onRowsRendered() {\n\t return null;\n\t },\n\t onScroll: function onScroll() {\n\t return null;\n\t },\n\t overscanRowCount: 10,\n\t rowRenderer: _defaultRowRenderer2.default,\n\t rowStyle: {},\n\t scrollToAlignment: 'auto',\n\t style: {}\n\t};\n\texports.default = FlexTable;\n\n/***/ },\n/* 37 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _react = __webpack_require__(3);\n\t\n\tvar _defaultHeaderRenderer = __webpack_require__(38);\n\t\n\tvar _defaultHeaderRenderer2 = _interopRequireDefault(_defaultHeaderRenderer);\n\t\n\tvar _defaultCellRenderer = __webpack_require__(41);\n\t\n\tvar _defaultCellRenderer2 = _interopRequireDefault(_defaultCellRenderer);\n\t\n\tvar _defaultCellDataGetter = __webpack_require__(42);\n\t\n\tvar _defaultCellDataGetter2 = _interopRequireDefault(_defaultCellDataGetter);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\tvar Column = function (_Component) {\n\t _inherits(Column, _Component);\n\t\n\t function Column() {\n\t _classCallCheck(this, Column);\n\t\n\t return _possibleConstructorReturn(this, Object.getPrototypeOf(Column).apply(this, arguments));\n\t }\n\t\n\t return Column;\n\t}(_react.Component);\n\t\n\tColumn.defaultProps = {\n\t cellDataGetter: _defaultCellDataGetter2.default,\n\t cellRenderer: _defaultCellRenderer2.default,\n\t cellStyle: {},\n\t flexGrow: 0,\n\t flexShrink: 1,\n\t headerRenderer: _defaultHeaderRenderer2.default\n\t};\n\tColumn.propTypes = {\n\t 'aria-label': _react.PropTypes.string,\n\t\n\t cellDataGetter: _react.PropTypes.func,\n\t\n\t cellRenderer: _react.PropTypes.func,\n\t\n\t className: _react.PropTypes.string,\n\t\n\t columnData: _react.PropTypes.object,\n\t\n\t dataKey: _react.PropTypes.any.isRequired,\n\t\n\t disableSort: _react.PropTypes.bool,\n\t\n\t flexGrow: _react.PropTypes.number,\n\t\n\t flexShrink: _react.PropTypes.number,\n\t\n\t headerClassName: _react.PropTypes.string,\n\t\n\t headerRenderer: _react.PropTypes.func.isRequired,\n\t\n\t label: _react.PropTypes.string,\n\t\n\t maxWidth: _react.PropTypes.number,\n\t\n\t minWidth: _react.PropTypes.number,\n\t\n\t style: _react.PropTypes.object,\n\t\n\t width: _react.PropTypes.number.isRequired\n\t};\n\texports.default = Column;\n\n/***/ },\n/* 38 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\texports.default = defaultHeaderRenderer;\n\t\n\tvar _react = __webpack_require__(3);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _SortIndicator = __webpack_require__(39);\n\t\n\tvar _SortIndicator2 = _interopRequireDefault(_SortIndicator);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction defaultHeaderRenderer(_ref) {\n\t var columnData = _ref.columnData;\n\t var dataKey = _ref.dataKey;\n\t var disableSort = _ref.disableSort;\n\t var label = _ref.label;\n\t var sortBy = _ref.sortBy;\n\t var sortDirection = _ref.sortDirection;\n\t\n\t var showSortIndicator = sortBy === dataKey;\n\t var children = [_react2.default.createElement(\n\t 'span',\n\t {\n\t className: 'FlexTable__headerTruncatedText',\n\t key: 'label',\n\t title: label\n\t },\n\t label\n\t )];\n\t\n\t if (showSortIndicator) {\n\t children.push(_react2.default.createElement(_SortIndicator2.default, {\n\t key: 'SortIndicator',\n\t sortDirection: sortDirection\n\t }));\n\t }\n\t\n\t return children;\n\t}\n\n/***/ },\n/* 39 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\texports.default = SortIndicator;\n\t\n\tvar _react = __webpack_require__(3);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _classnames = __webpack_require__(14);\n\t\n\tvar _classnames2 = _interopRequireDefault(_classnames);\n\t\n\tvar _SortDirection = __webpack_require__(40);\n\t\n\tvar _SortDirection2 = _interopRequireDefault(_SortDirection);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\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 === _SortDirection2.default.ASC,\n\t 'FlexTable__sortableHeaderIcon--DESC': sortDirection === _SortDirection2.default.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 },\n\t sortDirection === _SortDirection2.default.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\tSortIndicator.propTypes = {\n\t sortDirection: _react.PropTypes.oneOf([_SortDirection2.default.ASC, _SortDirection2.default.DESC])\n\t};\n\n/***/ },\n/* 40 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\tvar SortDirection = {\n\t ASC: 'ASC',\n\t\n\t DESC: 'DESC'\n\t};\n\t\n\texports.default = SortDirection;\n\n/***/ },\n/* 41 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\texports.default = defaultCellRenderer;\n\tfunction defaultCellRenderer(_ref) {\n\t var cellData = _ref.cellData;\n\t var cellDataKey = _ref.cellDataKey;\n\t var columnData = _ref.columnData;\n\t var rowData = _ref.rowData;\n\t var rowIndex = _ref.rowIndex;\n\t\n\t if (cellData == null) {\n\t return '';\n\t } else {\n\t return String(cellData);\n\t }\n\t}\n\n/***/ },\n/* 42 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\texports.default = defaultCellDataGetter;\n\tfunction defaultCellDataGetter(_ref) {\n\t var columnData = _ref.columnData;\n\t var dataKey = _ref.dataKey;\n\t var rowData = _ref.rowData;\n\t\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\n/***/ },\n/* 43 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\t\n\texports.default = defaultRowRenderer;\n\t\n\tvar _react = __webpack_require__(3);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction defaultRowRenderer(_ref) {\n\t var className = _ref.className;\n\t var columns = _ref.columns;\n\t var index = _ref.index;\n\t var isScrolling = _ref.isScrolling;\n\t var onRowClick = _ref.onRowClick;\n\t var onRowDoubleClick = _ref.onRowDoubleClick;\n\t var onRowMouseOver = _ref.onRowMouseOver;\n\t var onRowMouseOut = _ref.onRowMouseOut;\n\t var rowData = _ref.rowData;\n\t var style = _ref.style;\n\t\n\t var a11yProps = {};\n\t\n\t if (onRowClick || onRowDoubleClick || onRowMouseOver || onRowMouseOut) {\n\t a11yProps['aria-label'] = 'row';\n\t a11yProps.role = 'row';\n\t a11yProps.tabIndex = 0;\n\t\n\t if (onRowClick) {\n\t a11yProps.onClick = function () {\n\t return onRowClick({ index: index });\n\t };\n\t }\n\t if (onRowDoubleClick) {\n\t a11yProps.onDoubleClick = function () {\n\t return onRowDoubleClick({ index: index });\n\t };\n\t }\n\t if (onRowMouseOut) {\n\t a11yProps.onMouseOut = function () {\n\t return onRowMouseOut({ index: index });\n\t };\n\t }\n\t if (onRowMouseOver) {\n\t a11yProps.onMouseOver = function () {\n\t return onRowMouseOver({ index: index });\n\t };\n\t }\n\t }\n\t\n\t return _react2.default.createElement(\n\t 'div',\n\t _extends({}, a11yProps, {\n\t className: className,\n\t style: style\n\t }),\n\t columns\n\t );\n\t}\n\n/***/ },\n/* 44 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\texports.InfiniteLoader = exports.default = undefined;\n\t\n\tvar _InfiniteLoader2 = __webpack_require__(45);\n\t\n\tvar _InfiniteLoader3 = _interopRequireDefault(_InfiniteLoader2);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\texports.default = _InfiniteLoader3.default;\n\texports.InfiniteLoader = _InfiniteLoader3.default;\n\n/***/ },\n/* 45 */\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\texports.isRangeVisible = isRangeVisible;\n\texports.scanForUnloadedRanges = scanForUnloadedRanges;\n\t\n\tvar _react = __webpack_require__(3);\n\t\n\tvar _reactAddonsShallowCompare = __webpack_require__(4);\n\t\n\tvar _reactAddonsShallowCompare2 = _interopRequireDefault(_reactAddonsShallowCompare);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\tvar InfiniteLoader = function (_Component) {\n\t _inherits(InfiniteLoader, _Component);\n\t\n\t function InfiniteLoader(props, context) {\n\t _classCallCheck(this, InfiniteLoader);\n\t\n\t var _this = _possibleConstructorReturn(this, Object.getPrototypeOf(InfiniteLoader).call(this, props, context));\n\t\n\t _this._onRowsRendered = _this._onRowsRendered.bind(_this);\n\t _this._registerChild = _this._registerChild.bind(_this);\n\t return _this;\n\t }\n\t\n\t _createClass(InfiniteLoader, [{\n\t key: 'render',\n\t value: function render() {\n\t var children = this.props.children;\n\t\n\t\n\t return children({\n\t onRowsRendered: this._onRowsRendered,\n\t registerChild: this._registerChild\n\t });\n\t }\n\t }, {\n\t key: 'shouldComponentUpdate',\n\t value: function shouldComponentUpdate(nextProps, nextState) {\n\t return (0, _reactAddonsShallowCompare2.default)(this, nextProps, nextState);\n\t }\n\t }, {\n\t key: '_onRowsRendered',\n\t value: function _onRowsRendered(_ref) {\n\t var _this2 = this;\n\t\n\t var startIndex = _ref.startIndex;\n\t var stopIndex = _ref.stopIndex;\n\t var _props = this.props;\n\t var isRowLoaded = _props.isRowLoaded;\n\t var loadMoreRows = _props.loadMoreRows;\n\t var minimumBatchSize = _props.minimumBatchSize;\n\t var rowCount = _props.rowCount;\n\t var threshold = _props.threshold;\n\t\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 minimumBatchSize: minimumBatchSize,\n\t rowCount: rowCount,\n\t startIndex: Math.max(0, startIndex - threshold),\n\t stopIndex: Math.min(rowCount - 1, 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 if (isRangeVisible({\n\t lastRenderedStartIndex: _this2._lastRenderedStartIndex,\n\t lastRenderedStopIndex: _this2._lastRenderedStopIndex,\n\t startIndex: unloadedRange.startIndex,\n\t stopIndex: unloadedRange.stopIndex\n\t })) {\n\t if (_this2._registeredChild) {\n\t _this2._registeredChild.forceUpdate();\n\t }\n\t }\n\t });\n\t }\n\t });\n\t }\n\t }, {\n\t key: '_registerChild',\n\t value: function _registerChild(registeredChild) {\n\t this._registeredChild = registeredChild;\n\t }\n\t }]);\n\t\n\t return InfiniteLoader;\n\t}(_react.Component);\n\t\n\tInfiniteLoader.propTypes = {\n\t children: _react.PropTypes.func.isRequired,\n\t\n\t isRowLoaded: _react.PropTypes.func.isRequired,\n\t\n\t loadMoreRows: _react.PropTypes.func.isRequired,\n\t\n\t minimumBatchSize: _react.PropTypes.number.isRequired,\n\t\n\t rowCount: _react.PropTypes.number.isRequired,\n\t\n\t threshold: _react.PropTypes.number.isRequired\n\t};\n\tInfiniteLoader.defaultProps = {\n\t minimumBatchSize: 10,\n\t rowCount: 0,\n\t threshold: 15\n\t};\n\texports.default = InfiniteLoader;\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\tfunction scanForUnloadedRanges(_ref3) {\n\t var isRowLoaded = _ref3.isRowLoaded;\n\t var minimumBatchSize = _ref3.minimumBatchSize;\n\t var rowCount = _ref3.rowCount;\n\t var startIndex = _ref3.startIndex;\n\t var stopIndex = _ref3.stopIndex;\n\t\n\t var unloadedRanges = [];\n\t\n\t var rangeStartIndex = null;\n\t var rangeStopIndex = null;\n\t\n\t for (var index = startIndex; index <= stopIndex; index++) {\n\t var loaded = isRowLoaded({ index: index });\n\t\n\t if (!loaded) {\n\t rangeStopIndex = index;\n\t if (rangeStartIndex === null) {\n\t rangeStartIndex = index;\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 var potentialStopIndex = Math.min(Math.max(rangeStopIndex, rangeStartIndex + minimumBatchSize - 1), rowCount - 1);\n\t\n\t for (var _index = rangeStopIndex + 1; _index <= potentialStopIndex; _index++) {\n\t if (!isRowLoaded({ index: _index })) {\n\t rangeStopIndex = _index;\n\t } else {\n\t break;\n\t }\n\t }\n\t\n\t unloadedRanges.push({\n\t startIndex: rangeStartIndex,\n\t stopIndex: rangeStopIndex\n\t });\n\t }\n\t\n\t if (unloadedRanges.length) {\n\t var firstUnloadedRange = unloadedRanges[0];\n\t\n\t while (firstUnloadedRange.stopIndex - firstUnloadedRange.startIndex + 1 < minimumBatchSize && firstUnloadedRange.startIndex > 0) {\n\t var _index2 = firstUnloadedRange.startIndex - 1;\n\t\n\t if (!isRowLoaded({ index: _index2 })) {\n\t firstUnloadedRange.startIndex = _index2;\n\t } else {\n\t break;\n\t }\n\t }\n\t }\n\t\n\t return unloadedRanges;\n\t}\n\n/***/ },\n/* 46 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\texports.ScrollSync = exports.default = undefined;\n\t\n\tvar _ScrollSync2 = __webpack_require__(47);\n\t\n\tvar _ScrollSync3 = _interopRequireDefault(_ScrollSync2);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\texports.default = _ScrollSync3.default;\n\texports.ScrollSync = _ScrollSync3.default;\n\n/***/ },\n/* 47 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\t\n\tvar _react = __webpack_require__(3);\n\t\n\tvar _reactAddonsShallowCompare = __webpack_require__(4);\n\t\n\tvar _reactAddonsShallowCompare2 = _interopRequireDefault(_reactAddonsShallowCompare);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\tvar ScrollSync = function (_Component) {\n\t _inherits(ScrollSync, _Component);\n\t\n\t function ScrollSync(props, context) {\n\t _classCallCheck(this, ScrollSync);\n\t\n\t var _this = _possibleConstructorReturn(this, Object.getPrototypeOf(ScrollSync).call(this, props, context));\n\t\n\t _this.state = {\n\t clientHeight: 0,\n\t clientWidth: 0,\n\t scrollHeight: 0,\n\t scrollLeft: 0,\n\t scrollTop: 0,\n\t scrollWidth: 0\n\t };\n\t\n\t _this._onScroll = _this._onScroll.bind(_this);\n\t return _this;\n\t }\n\t\n\t _createClass(ScrollSync, [{\n\t key: 'render',\n\t value: function render() {\n\t var children = this.props.children;\n\t var _state = this.state;\n\t var clientHeight = _state.clientHeight;\n\t var clientWidth = _state.clientWidth;\n\t var scrollHeight = _state.scrollHeight;\n\t var scrollLeft = _state.scrollLeft;\n\t var scrollTop = _state.scrollTop;\n\t var scrollWidth = _state.scrollWidth;\n\t\n\t\n\t return children({\n\t clientHeight: clientHeight,\n\t clientWidth: clientWidth,\n\t onScroll: this._onScroll,\n\t scrollHeight: scrollHeight,\n\t scrollLeft: scrollLeft,\n\t scrollTop: scrollTop,\n\t scrollWidth: scrollWidth\n\t });\n\t }\n\t }, {\n\t key: 'shouldComponentUpdate',\n\t value: function shouldComponentUpdate(nextProps, nextState) {\n\t return (0, _reactAddonsShallowCompare2.default)(this, nextProps, nextState);\n\t }\n\t }, {\n\t key: '_onScroll',\n\t value: function _onScroll(_ref) {\n\t var clientHeight = _ref.clientHeight;\n\t var clientWidth = _ref.clientWidth;\n\t var scrollHeight = _ref.scrollHeight;\n\t var scrollLeft = _ref.scrollLeft;\n\t var scrollTop = _ref.scrollTop;\n\t var scrollWidth = _ref.scrollWidth;\n\t\n\t this.setState({ clientHeight: clientHeight, clientWidth: clientWidth, scrollHeight: scrollHeight, scrollLeft: scrollLeft, scrollTop: scrollTop, scrollWidth: scrollWidth });\n\t }\n\t }]);\n\t\n\t return ScrollSync;\n\t}(_react.Component);\n\t\n\tScrollSync.propTypes = {\n\t children: _react.PropTypes.func.isRequired\n\t};\n\texports.default = ScrollSync;\n\n/***/ },\n/* 48 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\texports.VirtualScroll = exports.default = undefined;\n\t\n\tvar _VirtualScroll2 = __webpack_require__(49);\n\t\n\tvar _VirtualScroll3 = _interopRequireDefault(_VirtualScroll2);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\texports.default = _VirtualScroll3.default;\n\texports.VirtualScroll = _VirtualScroll3.default;\n\n/***/ },\n/* 49 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\t\n\tvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\t\n\tvar _Grid = __webpack_require__(27);\n\t\n\tvar _Grid2 = _interopRequireDefault(_Grid);\n\t\n\tvar _react = __webpack_require__(3);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _classnames = __webpack_require__(14);\n\t\n\tvar _classnames2 = _interopRequireDefault(_classnames);\n\t\n\tvar _reactAddonsShallowCompare = __webpack_require__(4);\n\t\n\tvar _reactAddonsShallowCompare2 = _interopRequireDefault(_reactAddonsShallowCompare);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\tvar VirtualScroll = function (_Component) {\n\t _inherits(VirtualScroll, _Component);\n\t\n\t function VirtualScroll(props, context) {\n\t _classCallCheck(this, VirtualScroll);\n\t\n\t var _this = _possibleConstructorReturn(this, Object.getPrototypeOf(VirtualScroll).call(this, props, context));\n\t\n\t _this._cellRenderer = _this._cellRenderer.bind(_this);\n\t _this._createRowClassNameGetter = _this._createRowClassNameGetter.bind(_this);\n\t _this._createRowStyleGetter = _this._createRowStyleGetter.bind(_this);\n\t _this._onScroll = _this._onScroll.bind(_this);\n\t _this._onSectionRendered = _this._onSectionRendered.bind(_this);\n\t return _this;\n\t }\n\t\n\t _createClass(VirtualScroll, [{\n\t key: 'forceUpdateGrid',\n\t value: function forceUpdateGrid() {\n\t this.Grid.forceUpdate();\n\t }\n\t }, {\n\t key: 'measureAllRows',\n\t value: function measureAllRows() {\n\t this.Grid.measureAllCells();\n\t }\n\t }, {\n\t key: 'recomputeRowHeights',\n\t value: function recomputeRowHeights() {\n\t var index = arguments.length <= 0 || arguments[0] === undefined ? 0 : arguments[0];\n\t\n\t this.Grid.recomputeGridSize({\n\t rowIndex: index\n\t });\n\t this.forceUpdateGrid();\n\t }\n\t }, {\n\t key: 'render',\n\t value: function render() {\n\t var _this2 = this;\n\t\n\t var _props = this.props;\n\t var className = _props.className;\n\t var noRowsRenderer = _props.noRowsRenderer;\n\t var scrollToIndex = _props.scrollToIndex;\n\t var width = _props.width;\n\t\n\t\n\t var classNames = (0, _classnames2.default)('VirtualScroll', className);\n\t\n\t return _react2.default.createElement(_Grid2.default, _extends({}, this.props, {\n\t cellRenderer: this._cellRenderer,\n\t cellClassName: this._createRowClassNameGetter(),\n\t cellStyle: this._createRowStyleGetter(),\n\t className: classNames,\n\t columnWidth: width,\n\t columnCount: 1,\n\t noContentRenderer: noRowsRenderer,\n\t onScroll: this._onScroll,\n\t onSectionRendered: this._onSectionRendered,\n\t ref: function ref(_ref) {\n\t _this2.Grid = _ref;\n\t },\n\t scrollToRow: scrollToIndex\n\t }));\n\t }\n\t }, {\n\t key: 'shouldComponentUpdate',\n\t value: function shouldComponentUpdate(nextProps, nextState) {\n\t return (0, _reactAddonsShallowCompare2.default)(this, nextProps, nextState);\n\t }\n\t }, {\n\t key: '_cellRenderer',\n\t value: function _cellRenderer(_ref2) {\n\t var columnIndex = _ref2.columnIndex;\n\t var isScrolling = _ref2.isScrolling;\n\t var rowIndex = _ref2.rowIndex;\n\t var rowRenderer = this.props.rowRenderer;\n\t\n\t\n\t return rowRenderer({\n\t index: rowIndex,\n\t isScrolling: isScrolling\n\t });\n\t }\n\t }, {\n\t key: '_createRowClassNameGetter',\n\t value: function _createRowClassNameGetter() {\n\t var rowClassName = this.props.rowClassName;\n\t\n\t\n\t return rowClassName instanceof Function ? function (_ref3) {\n\t var rowIndex = _ref3.rowIndex;\n\t return rowClassName({ index: rowIndex });\n\t } : function () {\n\t return rowClassName;\n\t };\n\t }\n\t }, {\n\t key: '_createRowStyleGetter',\n\t value: function _createRowStyleGetter() {\n\t var rowStyle = this.props.rowStyle;\n\t\n\t\n\t var wrapped = rowStyle instanceof Function ? rowStyle : function () {\n\t return rowStyle;\n\t };\n\t\n\t return function (_ref4) {\n\t var rowIndex = _ref4.rowIndex;\n\t return _extends({\n\t width: '100%'\n\t }, wrapped({ index: rowIndex }));\n\t };\n\t }\n\t }, {\n\t key: '_onScroll',\n\t value: function _onScroll(_ref5) {\n\t var clientHeight = _ref5.clientHeight;\n\t var scrollHeight = _ref5.scrollHeight;\n\t var scrollTop = _ref5.scrollTop;\n\t var onScroll = this.props.onScroll;\n\t\n\t\n\t onScroll({ clientHeight: clientHeight, scrollHeight: scrollHeight, scrollTop: scrollTop });\n\t }\n\t }, {\n\t key: '_onSectionRendered',\n\t value: function _onSectionRendered(_ref6) {\n\t var rowOverscanStartIndex = _ref6.rowOverscanStartIndex;\n\t var rowOverscanStopIndex = _ref6.rowOverscanStopIndex;\n\t var rowStartIndex = _ref6.rowStartIndex;\n\t var rowStopIndex = _ref6.rowStopIndex;\n\t var onRowsRendered = this.props.onRowsRendered;\n\t\n\t\n\t onRowsRendered({\n\t overscanStartIndex: rowOverscanStartIndex,\n\t overscanStopIndex: rowOverscanStopIndex,\n\t startIndex: rowStartIndex,\n\t stopIndex: rowStopIndex\n\t });\n\t }\n\t }]);\n\t\n\t return VirtualScroll;\n\t}(_react.Component);\n\t\n\tVirtualScroll.propTypes = {\n\t 'aria-label': _react.PropTypes.string,\n\t\n\t autoHeight: _react.PropTypes.bool,\n\t\n\t className: _react.PropTypes.string,\n\t\n\t estimatedRowSize: _react.PropTypes.number.isRequired,\n\t\n\t height: _react.PropTypes.number.isRequired,\n\t\n\t noRowsRenderer: _react.PropTypes.func.isRequired,\n\t\n\t onRowsRendered: _react.PropTypes.func.isRequired,\n\t\n\t overscanRowCount: _react.PropTypes.number.isRequired,\n\t\n\t onScroll: _react.PropTypes.func.isRequired,\n\t\n\t rowHeight: _react.PropTypes.oneOfType([_react.PropTypes.number, _react.PropTypes.func]).isRequired,\n\t\n\t rowRenderer: _react.PropTypes.func.isRequired,\n\t\n\t rowClassName: _react.PropTypes.oneOfType([_react.PropTypes.string, _react.PropTypes.func]),\n\t\n\t rowCount: _react.PropTypes.number.isRequired,\n\t\n\t rowStyle: _react.PropTypes.oneOfType([_react.PropTypes.object, _react.PropTypes.func]),\n\t\n\t scrollToAlignment: _react.PropTypes.oneOf(['auto', 'end', 'start', 'center']).isRequired,\n\t\n\t scrollToIndex: _react.PropTypes.number,\n\t\n\t scrollTop: _react.PropTypes.number,\n\t\n\t style: _react.PropTypes.object,\n\t\n\t tabIndex: _react.PropTypes.number,\n\t\n\t width: _react.PropTypes.number.isRequired\n\t};\n\tVirtualScroll.defaultProps = {\n\t estimatedRowSize: 30,\n\t noRowsRenderer: function noRowsRenderer() {\n\t return null;\n\t },\n\t onRowsRendered: function onRowsRendered() {\n\t return null;\n\t },\n\t onScroll: function onScroll() {\n\t return null;\n\t },\n\t overscanRowCount: 10,\n\t scrollToAlignment: 'auto',\n\t style: {}\n\t};\n\texports.default = VirtualScroll;\n\n/***/ },\n/* 50 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\texports.WindowScroller = exports.default = undefined;\n\t\n\tvar _WindowScroller2 = __webpack_require__(51);\n\t\n\tvar _WindowScroller3 = _interopRequireDefault(_WindowScroller2);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\texports.default = _WindowScroller3.default;\n\texports.WindowScroller = _WindowScroller3.default;\n\n/***/ },\n/* 51 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\t\n\tvar _react = __webpack_require__(3);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _reactDom = __webpack_require__(10);\n\t\n\tvar _reactDom2 = _interopRequireDefault(_reactDom);\n\t\n\tvar _reactAddonsShallowCompare = __webpack_require__(4);\n\t\n\tvar _reactAddonsShallowCompare2 = _interopRequireDefault(_reactAddonsShallowCompare);\n\t\n\tvar _raf = __webpack_require__(18);\n\t\n\tvar _raf2 = _interopRequireDefault(_raf);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\t\n\tfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\t\n\tvar IS_SCROLLING_TIMEOUT = 150;\n\t\n\tvar WindowScroller = function (_Component) {\n\t _inherits(WindowScroller, _Component);\n\t\n\t function WindowScroller(props) {\n\t _classCallCheck(this, WindowScroller);\n\t\n\t var _this = _possibleConstructorReturn(this, Object.getPrototypeOf(WindowScroller).call(this, props));\n\t\n\t _this.state = {\n\t isScrolling: false,\n\t height: 0,\n\t scrollTop: 0\n\t };\n\t\n\t _this._onScrollWindow = _this._onScrollWindow.bind(_this);\n\t _this._onResizeWindow = _this._onResizeWindow.bind(_this);\n\t _this._enablePointerEventsAfterDelayCallback = _this._enablePointerEventsAfterDelayCallback.bind(_this);\n\t return _this;\n\t }\n\t\n\t _createClass(WindowScroller, [{\n\t key: 'componentDidMount',\n\t value: function componentDidMount() {\n\t this._positionFromTop = _reactDom2.default.findDOMNode(this).getBoundingClientRect().top;\n\t\n\t this.setState({ height: window.innerHeight });\n\t\n\t window.addEventListener('scroll', this._onScrollWindow, false);\n\t window.addEventListener('resize', this._onResizeWindow, false);\n\t }\n\t }, {\n\t key: 'componentWillUnmount',\n\t value: function componentWillUnmount() {\n\t window.removeEventListener('scroll', this._onScrollWindow, false);\n\t window.removeEventListener('resize', this._onResizeWindow, false);\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: 'render',\n\t value: function render() {\n\t var children = this.props.children;\n\t var _state = this.state;\n\t var isScrolling = _state.isScrolling;\n\t var scrollTop = _state.scrollTop;\n\t var height = _state.height;\n\t\n\t\n\t return _react2.default.createElement(\n\t 'div',\n\t null,\n\t children({\n\t height: height,\n\t isScrolling: isScrolling,\n\t scrollTop: scrollTop\n\t })\n\t );\n\t }\n\t }, {\n\t key: 'shouldComponentUpdate',\n\t value: function shouldComponentUpdate(nextProps, nextState) {\n\t return (0, _reactAddonsShallowCompare2.default)(this, nextProps, nextState);\n\t }\n\t }, {\n\t key: '_enablePointerEventsAfterDelay',\n\t value: function _enablePointerEventsAfterDelay() {\n\t if (this._disablePointerEventsTimeoutId) {\n\t clearTimeout(this._disablePointerEventsTimeoutId);\n\t }\n\t\n\t this._disablePointerEventsTimeoutId = setTimeout(this._enablePointerEventsAfterDelayCallback, IS_SCROLLING_TIMEOUT);\n\t }\n\t }, {\n\t key: '_enablePointerEventsAfterDelayCallback',\n\t value: function _enablePointerEventsAfterDelayCallback() {\n\t this._disablePointerEventsTimeoutId = null;\n\t\n\t document.body.style.pointerEvents = this._originalBodyPointerEvents;\n\t\n\t this._originalBodyPointerEvents = null;\n\t\n\t this.setState({\n\t isScrolling: false\n\t });\n\t }\n\t }, {\n\t key: '_onResizeWindow',\n\t value: function _onResizeWindow(event) {\n\t var onResize = this.props.onResize;\n\t\n\t\n\t var height = window.innerHeight || 0;\n\t\n\t this.setState({ height: height });\n\t\n\t onResize({ height: height });\n\t }\n\t }, {\n\t key: '_onScrollWindow',\n\t value: function _onScrollWindow(event) {\n\t var onScroll = this.props.onScroll;\n\t\n\t var scrollY = 'scrollY' in window ? window.scrollY : document.documentElement.scrollTop;\n\t\n\t var scrollTop = Math.max(0, scrollY - this._positionFromTop);\n\t\n\t if (this._originalBodyPointerEvents == null) {\n\t this._originalBodyPointerEvents = document.body.style.pointerEvents;\n\t\n\t document.body.style.pointerEvents = 'none';\n\t\n\t this._enablePointerEventsAfterDelay();\n\t }\n\t\n\t var state = {\n\t isScrolling: true,\n\t scrollTop: scrollTop\n\t };\n\t\n\t if (!this.state.isScrolling) {\n\t this.setState(state);\n\t } else {\n\t this._setNextState(state);\n\t }\n\t\n\t onScroll({ scrollTop: scrollTop });\n\t }\n\t }]);\n\t\n\t return WindowScroller;\n\t}(_react.Component);\n\t\n\tWindowScroller.propTypes = {\n\t children: _react.PropTypes.func.isRequired,\n\t\n\t onResize: _react.PropTypes.func.isRequired,\n\t\n\t onScroll: _react.PropTypes.func.isRequired\n\t};\n\tWindowScroller.defaultProps = {\n\t onResize: function onResize() {},\n\t onScroll: function onScroll() {}\n\t};\n\texports.default = WindowScroller;\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 5792e52091fe56c4d37a\n **/","/* @flow */\nexport { ArrowKeyStepper } from './ArrowKeyStepper'\nexport { AutoSizer } from './AutoSizer'\nexport { CellMeasurer } from './CellMeasurer'\nexport { Collection } from './Collection'\nexport { ColumnSizer } from './ColumnSizer'\nexport {\n defaultRowRenderer as defaultFlexTableRowRenderer,\n FlexTable,\n FlexColumn,\n SortDirection,\n SortIndicator\n} from './FlexTable'\nexport {\n defaultCellRangeRenderer,\n Grid\n} from './Grid'\nexport { InfiniteLoader } from './InfiniteLoader'\nexport { ScrollSync } from './ScrollSync'\nexport { VirtualScroll } from './VirtualScroll'\nexport { WindowScroller } from './WindowScroller'\n\n\n\n/** WEBPACK FOOTER **\n ** ./source/index.js\n **/","export default from './ArrowKeyStepper'\nexport ArrowKeyStepper from './ArrowKeyStepper'\n\n\n\n/** WEBPACK FOOTER **\n ** ./source/ArrowKeyStepper/index.js\n **/","/** @flow */\nimport React, { Component, PropTypes } from 'react'\nimport shallowCompare from 'react-addons-shallow-compare'\n\n/**\n * This HOC decorates a virtualized component and responds to arrow-key events by scrolling one row or column at a time.\n */\nexport default class ArrowKeyStepper extends Component {\n static propTypes = {\n children: PropTypes.func.isRequired,\n className: PropTypes.string,\n columnCount: PropTypes.number.isRequired,\n rowCount: PropTypes.number.isRequired\n }\n\n constructor (props, context) {\n super(props, context)\n\n this.state = {\n scrollToColumn: 0,\n scrollToRow: 0\n }\n\n this._columnStartIndex = 0\n this._columnStopIndex = 0\n this._rowStartIndex = 0\n this._rowStopIndex = 0\n\n this._onKeyDown = this._onKeyDown.bind(this)\n this._onSectionRendered = this._onSectionRendered.bind(this)\n }\n\n render () {\n const { className, children } = this.props\n const { scrollToColumn, scrollToRow } = this.state\n\n return (\n \n {children({\n onSectionRendered: this._onSectionRendered,\n scrollToColumn,\n scrollToRow\n })}\n \n )\n }\n\n shouldComponentUpdate (nextProps, nextState) {\n return shallowCompare(this, nextProps, nextState)\n }\n\n _onKeyDown (event) {\n const { columnCount, rowCount } = this.props\n\n // The above cases all prevent default event event behavior.\n // This is to keep the grid from scrolling after the snap-to update.\n switch (event.key) {\n case 'ArrowDown':\n event.preventDefault()\n this.setState({\n scrollToRow: Math.min(this._rowStopIndex + 1, rowCount - 1)\n })\n break\n case 'ArrowLeft':\n event.preventDefault()\n this.setState({\n scrollToColumn: Math.max(this._columnStartIndex - 1, 0)\n })\n break\n case 'ArrowRight':\n event.preventDefault()\n this.setState({\n scrollToColumn: Math.min(this._columnStopIndex + 1, columnCount - 1)\n })\n break\n case 'ArrowUp':\n event.preventDefault()\n this.setState({\n scrollToRow: Math.max(this._rowStartIndex - 1, 0)\n })\n break\n }\n }\n\n _onSectionRendered ({ columnStartIndex, columnStopIndex, rowStartIndex, rowStopIndex }) {\n this._columnStartIndex = columnStartIndex\n this._columnStopIndex = columnStopIndex\n this._rowStartIndex = rowStartIndex\n this._rowStopIndex = rowStopIndex\n }\n}\n\n\n\n/** WEBPACK FOOTER **\n ** ./source/ArrowKeyStepper/ArrowKeyStepper.js\n **/","module.exports = __WEBPACK_EXTERNAL_MODULE_3__;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** external \"React\"\n ** module id = 3\n ** module chunks = 0\n **/","module.exports = React.addons.shallowCompare;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** external \"React.addons.shallowCompare\"\n ** module id = 4\n ** module chunks = 0\n **/","export default from './AutoSizer'\nexport AutoSizer from './AutoSizer'\n\n\n\n/** WEBPACK FOOTER **\n ** ./source/AutoSizer/index.js\n **/","/** @flow */\nimport React, { Component, PropTypes } from 'react'\nimport shallowCompare from 'react-addons-shallow-compare'\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 static propTypes = {\n /**\n * Function respondible for rendering children.\n * This function should implement the following signature:\n * ({ height, width }) => PropTypes.element\n */\n children: PropTypes.func.isRequired,\n\n /** Disable dynamic :height property */\n disableHeight: PropTypes.bool,\n\n /** Disable dynamic :width property */\n disableWidth: PropTypes.bool,\n\n /** Callback to be invoked on-resize: ({ height, width }) */\n onResize: PropTypes.func.isRequired\n }\n\n static defaultProps = {\n onResize: () => {}\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._onScroll = this._onScroll.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 if (this._detectElementResize) {\n this._detectElementResize.removeResizeListener(this._parentNode, this._onResize)\n }\n }\n\n render () {\n const { children, disableHeight, disableWidth } = this.props\n const { height, width } = this.state\n\n // Outer div should not force width/height since that may prevent containers from shrinking.\n // Inner component should overflow and use calculated width/height.\n // See issue #68 for more information.\n const outerStyle = { overflow: 'visible' }\n\n if (!disableHeight) {\n outerStyle.height = 0\n }\n\n if (!disableWidth) {\n outerStyle.width = 0\n }\n\n return (\n \n {children({ height, width })}\n \n )\n }\n\n shouldComponentUpdate (nextProps, nextState) {\n return shallowCompare(this, nextProps, nextState)\n }\n\n _onResize () {\n const { onResize } = this.props\n\n // Gaurd against AutoSizer component being removed from the DOM immediately after being added.\n // This can result in invalid style values which can result in NaN values if we don't handle them.\n // See issue #150 for more context.\n\n const boundingRect = this._parentNode.getBoundingClientRect()\n const height = boundingRect.height || 0\n const width = boundingRect.width || 0\n\n const style = getComputedStyle(this._parentNode)\n const paddingLeft = parseInt(style.paddingLeft, 10) || 0\n const paddingRight = parseInt(style.paddingRight, 10) || 0\n const paddingTop = parseInt(style.paddingTop, 10) || 0\n const paddingBottom = parseInt(style.paddingBottom, 10) || 0\n\n this.setState({\n height: height - paddingTop - paddingBottom,\n width: width - paddingLeft - paddingRight\n })\n\n onResize({ height, width })\n }\n\n _onScroll (event) {\n // Prevent detectElementResize library from being triggered by this scroll event.\n event.stopPropagation()\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* 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, true);\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 **/","export default from './CellMeasurer'\nexport CellMeasurer from './CellMeasurer'\n\n\n\n/** WEBPACK FOOTER **\n ** ./source/CellMeasurer/index.js\n **/","/** @flow */\nimport React, { Component, PropTypes } from 'react'\nimport ReactDOM from 'react-dom'\n\n/**\n * Measures a Grid cell's contents by rendering them in a way that is not visible to the user.\n * Either a fixed width or height may be provided if it is desirable to measure only in one direction.\n */\nexport default class CellMeasurer extends Component {\n\n static propTypes = {\n /**\n * Renders a cell given its indices.\n * Should implement the following interface: ({ columnIndex: number, rowIndex: number }): PropTypes.node\n */\n cellRenderer: PropTypes.func.isRequired,\n\n /**\n * Function respondible for rendering a virtualized component.\n * This function should implement the following signature:\n * ({ getColumnWidth, getRowHeight, resetMeasurements }) => PropTypes.element\n */\n children: PropTypes.func.isRequired,\n\n /**\n * Number of columns in grid.\n */\n columnCount: PropTypes.number.isRequired,\n\n /**\n * A Node, Component instance, or function that returns either.\n * If this property is not specified the document body will be used.\n */\n container: React.PropTypes.oneOfType([\n React.PropTypes.func,\n React.PropTypes.node\n ]),\n\n /**\n * Assign a fixed :height in order to measure dynamic text :width only.\n */\n height: PropTypes.number,\n\n /**\n * Number of rows in grid.\n */\n rowCount: PropTypes.number.isRequired,\n\n /**\n * Assign a fixed :width in order to measure dynamic text :height only.\n */\n width: PropTypes.number\n };\n\n constructor (props, state) {\n super(props, state)\n\n this._cachedColumnWidths = {}\n this._cachedRowHeights = {}\n\n this.getColumnWidth = this.getColumnWidth.bind(this)\n this.getRowHeight = this.getRowHeight.bind(this)\n this.resetMeasurements = this.resetMeasurements.bind(this)\n }\n\n getColumnWidth ({ index }) {\n if (this._cachedColumnWidths[index]) {\n return this._cachedColumnWidths[index]\n }\n\n const { rowCount } = this.props\n\n let maxWidth = 0\n\n for (let rowIndex = 0; rowIndex < rowCount; rowIndex++) {\n let { width } = this._measureCell({\n clientWidth: true,\n columnIndex: index,\n rowIndex\n })\n\n maxWidth = Math.max(maxWidth, width)\n }\n\n this._cachedColumnWidths[index] = maxWidth\n\n return maxWidth\n }\n\n getRowHeight ({ index }) {\n if (this._cachedRowHeights[index]) {\n return this._cachedRowHeights[index]\n }\n\n const { columnCount } = this.props\n\n let maxHeight = 0\n\n for (let columnIndex = 0; columnIndex < columnCount; columnIndex++) {\n let { height } = this._measureCell({\n clientHeight: true,\n columnIndex,\n rowIndex: index\n })\n\n maxHeight = Math.max(maxHeight, height)\n }\n\n this._cachedRowHeights[index] = maxHeight\n\n return maxHeight\n }\n\n resetMeasurements () {\n this._cachedColumnWidths = {}\n this._cachedRowHeights = {}\n }\n\n componentDidMount () {\n this._renderAndMount()\n }\n\n componentWillReceiveProps (nextProps) {\n this._updateDivDimensions(nextProps)\n }\n\n componentWillUnmount () {\n this._unmountContainer()\n }\n\n render () {\n const { children } = this.props\n\n return children({\n getColumnWidth: this.getColumnWidth,\n getRowHeight: this.getRowHeight,\n resetMeasurements: this.resetMeasurements\n })\n }\n\n _getContainerNode (props) {\n const { container } = props\n\n if (container) {\n return ReactDOM.findDOMNode(\n typeof container === 'function'\n ? container()\n : container\n )\n } else {\n return document.body\n }\n }\n\n _measureCell ({\n clientHeight = false,\n clientWidth = true,\n columnIndex,\n rowIndex\n }) {\n const { cellRenderer } = this.props\n\n const rendered = cellRenderer({\n columnIndex,\n rowIndex\n })\n\n // Handle edge case where this method is called before the CellMeasurer has completed its initial render (and mounted).\n this._renderAndMount()\n\n // @TODO Keep an eye on this for future React updates as the interface may change:\n // https://twitter.com/soprano/status/737316379712331776\n ReactDOM.unstable_renderSubtreeIntoContainer(this, rendered, this._div)\n\n const measurements = {\n height: clientHeight && this._div.clientHeight,\n width: clientWidth && this._div.clientWidth\n }\n\n ReactDOM.unmountComponentAtNode(this._div)\n\n return measurements\n }\n\n _renderAndMount () {\n if (!this._div) {\n this._div = document.createElement('div')\n this._div.style.display = 'inline-block'\n this._div.style.position = 'absolute'\n this._div.style.visibility = 'hidden'\n this._div.style.zIndex = -1\n\n this._updateDivDimensions(this.props)\n\n this._containerNode = this._getContainerNode(this.props)\n this._containerNode.appendChild(this._div)\n }\n }\n\n _unmountContainer () {\n if (this._div) {\n this._containerNode.removeChild(this._div)\n\n this._div = null\n }\n\n this._containerNode = null\n }\n\n _updateDivDimensions (props) {\n const { height, width } = props\n\n if (\n height &&\n height !== this._divHeight\n ) {\n this._divHeight = height\n this._div.style.height = `${height}px`\n }\n\n if (\n width &&\n width !== this._divWidth\n ) {\n this._divWidth = width\n this._div.style.width = `${width}px`\n }\n }\n}\n\n\n\n/** WEBPACK FOOTER **\n ** ./source/CellMeasurer/CellMeasurer.js\n **/","module.exports = __WEBPACK_EXTERNAL_MODULE_10__;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** external \"ReactDOM\"\n ** module id = 10\n ** module chunks = 0\n **/","/** @flow */\nexport default from './Collection'\nexport Collection from './Collection'\n\n\n\n/** WEBPACK FOOTER **\n ** ./source/Collection/index.js\n **/","import React, { Component, PropTypes } from 'react'\nimport CollectionView from './CollectionView'\nimport calculateSizeAndPositionData from './utils/calculateSizeAndPositionData'\nimport getUpdatedOffsetForIndex from '../utils/getUpdatedOffsetForIndex'\nimport shallowCompare from 'react-addons-shallow-compare'\nimport type { ScrollPosition, SizeInfo } from './types'\n\n/**\n * Renders scattered or non-linear data.\n * Unlike Grid, which renders checkerboard data, Collection can render arbitrarily positioned- even overlapping- data.\n */\nexport default class Collection extends Component {\n\n static propTypes = {\n 'aria-label': PropTypes.string,\n\n /**\n * Number of cells in Collection.\n */\n cellCount: PropTypes.number.isRequired,\n\n /**\n * Responsible for rendering a group of cells given their indices.\n * Should implement the following interface: ({\n * cellSizeAndPositionGetter:Function,\n * indices: Array,\n * cellRenderer: Function\n * }): Array\n */\n cellGroupRenderer: PropTypes.func.isRequired,\n\n /**\n * Responsible for rendering a cell given an row and column index.\n * Should implement the following interface: ({ index: number }): PropTypes.element\n */\n cellRenderer: PropTypes.func.isRequired,\n\n /**\n * Callback responsible for returning size and offset/position information for a given cell (index).\n * ({ index: number }): { height: number, width: number, x: number, y: number }\n */\n cellSizeAndPositionGetter: PropTypes.func.isRequired,\n\n /**\n * Optionally override the size of the sections a Collection's cells are split into.\n */\n sectionSize: PropTypes.number\n };\n\n static defaultProps = {\n 'aria-label': 'grid',\n cellGroupRenderer: defaultCellGroupRenderer\n };\n\n constructor (props, context) {\n super(props, context)\n\n this._cellMetadata = []\n this._lastRenderedCellIndices = []\n }\n\n /** See Collection#recomputeCellSizesAndPositions */\n recomputeCellSizesAndPositions () {\n this._collectionView.recomputeCellSizesAndPositions()\n }\n\n /** React lifecycle methods */\n\n render () {\n const { ...props } = this.props\n\n return (\n {\n this._collectionView = ref\n }}\n {...props}\n />\n )\n }\n\n shouldComponentUpdate (nextProps, nextState) {\n return shallowCompare(this, nextProps, nextState)\n }\n\n /** CellLayoutManager interface */\n\n calculateSizeAndPositionData () {\n const { cellCount, cellSizeAndPositionGetter, sectionSize } = this.props\n\n const data = calculateSizeAndPositionData({\n cellCount,\n cellSizeAndPositionGetter,\n sectionSize\n })\n\n this._cellMetadata = data.cellMetadata\n this._sectionManager = data.sectionManager\n this._height = data.height\n this._width = data.width\n }\n\n /**\n * Returns the most recently rendered set of cell indices.\n */\n getLastRenderedIndices () {\n return this._lastRenderedCellIndices\n }\n\n /**\n * Calculates the minimum amount of change from the current scroll position to ensure the specified cell is (fully) visible.\n */\n getScrollPositionForCell ({\n align,\n cellIndex,\n height,\n scrollLeft,\n scrollTop,\n width\n }): ScrollPosition {\n const { cellCount } = this.props\n\n if (\n cellIndex >= 0 &&\n cellIndex < cellCount\n ) {\n const cellMetadata = this._cellMetadata[cellIndex]\n\n scrollLeft = getUpdatedOffsetForIndex({\n align,\n cellOffset: cellMetadata.x,\n cellSize: cellMetadata.width,\n containerSize: width,\n currentOffset: scrollLeft,\n targetIndex: cellIndex\n })\n\n scrollTop = getUpdatedOffsetForIndex({\n align,\n cellOffset: cellMetadata.y,\n cellSize: cellMetadata.height,\n containerSize: height,\n currentOffset: scrollTop,\n targetIndex: cellIndex\n })\n }\n\n return {\n scrollLeft,\n scrollTop\n }\n }\n\n getTotalSize (): SizeInfo {\n return {\n height: this._height,\n width: this._width\n }\n }\n\n cellRenderers ({\n height,\n isScrolling,\n width,\n x,\n y\n }) {\n const { cellGroupRenderer, cellRenderer } = this.props\n\n // Store for later calls to getLastRenderedIndices()\n this._lastRenderedCellIndices = this._sectionManager.getCellIndices({\n height,\n width,\n x,\n y\n })\n\n return cellGroupRenderer({\n cellRenderer,\n cellSizeAndPositionGetter: ({ index }) => this._sectionManager.getCellMetadata({ index }),\n indices: this._lastRenderedCellIndices,\n isScrolling\n })\n }\n}\n\nfunction defaultCellGroupRenderer ({\n cellRenderer,\n cellSizeAndPositionGetter,\n indices,\n isScrolling\n}) {\n return indices\n .map((index) => {\n const cellMetadata = cellSizeAndPositionGetter({ index })\n const renderedCell = cellRenderer({\n index,\n isScrolling\n })\n\n if (renderedCell == null || renderedCell === false) {\n return null\n }\n\n return (\n \n {renderedCell}\n \n )\n })\n .filter((renderedCell) => !!renderedCell)\n}\n\n\n\n/** WEBPACK FOOTER **\n ** ./source/Collection/Collection.js\n **/","/** @flow */\nimport React, { Component, PropTypes } from 'react'\nimport cn from 'classnames'\nimport createCallbackMemoizer from '../utils/createCallbackMemoizer'\nimport getScrollbarSize from 'dom-helpers/util/scrollbarSize'\nimport raf from 'raf'\nimport shallowCompare from 'react-addons-shallow-compare'\n\n// @TODO It would be nice to refactor Grid to use this code as well.\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 * Controls whether the Grid updates the DOM element's scrollLeft/scrollTop based on the current state or just observes it.\n * This prevents Grid from interrupting mouse-wheel animations (see issue #2).\n */\nconst SCROLL_POSITION_CHANGE_REASONS = {\n OBSERVED: 'observed',\n REQUESTED: 'requested'\n}\n\n/**\n * Monitors changes in properties (eg. cellCount) and state (eg. scroll offsets) to determine when rendering needs to occur.\n * This component does not render any visible content itself; it defers to the specified :cellLayoutManager.\n */\nexport default class CollectionView extends Component {\n static propTypes = {\n 'aria-label': PropTypes.string,\n\n /**\n * Number of cells in collection.\n */\n cellCount: PropTypes.number.isRequired,\n\n /**\n * Calculates cell sizes and positions and manages rendering the appropriate cells given a specified window.\n */\n cellLayoutManager: PropTypes.object.isRequired,\n\n /**\n * Optional custom CSS class name to attach to root Collection element.\n */\n className: PropTypes.string,\n\n /**\n * Height of Collection; 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 :rowCount or :cellCount is 0.\n */\n noContentRenderer: PropTypes.func.isRequired,\n\n /**\n * Callback invoked whenever the scroll offset changes within the inner scrollable region.\n * This callback can be used to sync scrolling between lists, tables, or grids.\n * ({ clientHeight, clientWidth, scrollHeight, scrollLeft, scrollTop, scrollWidth }): void\n */\n onScroll: PropTypes.func.isRequired,\n\n /**\n * Callback invoked with information about the section of the Collection that was just rendered.\n * This callback is passed a named :indices parameter which is an Array of the most recently rendered section indices.\n */\n onSectionRendered: PropTypes.func.isRequired,\n\n /**\n * Horizontal offset.\n */\n scrollLeft: PropTypes.number,\n\n /**\n * Controls scroll-to-cell behavior of the Grid.\n * The default (\"auto\") scrolls the least amount possible to ensure that the specified cell is fully visible.\n * Use \"start\" to align cells to the top/left of the Grid and \"end\" to align bottom/right.\n */\n scrollToAlignment: PropTypes.oneOf(['auto', 'end', 'start', 'center']).isRequired,\n\n /**\n * Cell index to ensure visible (by forcefully scrolling if necessary).\n */\n scrollToCell: PropTypes.number,\n\n /**\n * Vertical offset.\n */\n scrollTop: PropTypes.number,\n\n /**\n * Optional custom inline style to attach to root Collection element.\n */\n style: PropTypes.object,\n\n /**\n * Width of Collection; this property determines the number of visible (vs virtualized) columns.\n */\n width: PropTypes.number.isRequired\n };\n\n static defaultProps = {\n 'aria-label': 'grid',\n noContentRenderer: () => null,\n onScroll: () => null,\n onSectionRendered: () => null,\n scrollToAlignment: 'auto',\n style: {}\n };\n\n constructor (props, context) {\n super(props, context)\n\n this.state = {\n calculateSizeAndPositionDataOnNextUpdate: false,\n isScrolling: false,\n scrollLeft: 0,\n scrollTop: 0\n }\n\n // Invokes callbacks only when their values have changed.\n this._onSectionRenderedMemoizer = createCallbackMemoizer()\n this._onScrollMemoizer = createCallbackMemoizer(false)\n\n // Bind functions to instance so they don't lose context when passed around.\n this._invokeOnSectionRenderedHelper = this._invokeOnSectionRenderedHelper.bind(this)\n this._onScroll = this._onScroll.bind(this)\n this._updateScrollPositionForScrollToCell = this._updateScrollPositionForScrollToCell.bind(this)\n }\n\n /**\n * Forced recompute of cell sizes and positions.\n * This function should be called if cell sizes have changed but nothing else has.\n * Since cell positions are calculated by callbacks, the collection view has no way of detecting when the underlying data has changed.\n */\n recomputeCellSizesAndPositions () {\n this.setState({\n calculateSizeAndPositionDataOnNextUpdate: true\n })\n }\n\n /* ---------------------------- Component lifecycle methods ---------------------------- */\n\n componentDidMount () {\n const { cellLayoutManager, scrollLeft, scrollToCell, scrollTop } = this.props\n\n // If this component was first rendered server-side, scrollbar size will be undefined.\n // In that event we need to remeasure.\n if (!this._scrollbarSizeMeasured) {\n this._scrollbarSize = getScrollbarSize()\n this._scrollbarSizeMeasured = true\n this.setState({})\n }\n\n if (scrollToCell >= 0) {\n this._updateScrollPositionForScrollToCell()\n } else if (scrollLeft >= 0 || scrollTop >= 0) {\n this._setScrollPosition({ scrollLeft, scrollTop })\n }\n\n // Update onSectionRendered callback.\n this._invokeOnSectionRenderedHelper()\n\n const {\n height: totalHeight,\n width: totalWidth\n } = cellLayoutManager.getTotalSize()\n\n // Initialize onScroll callback.\n this._invokeOnScrollMemoizer({\n scrollLeft: scrollLeft || 0,\n scrollTop: scrollTop || 0,\n totalHeight,\n totalWidth\n })\n }\n\n componentDidUpdate (prevProps, prevState) {\n const { height, scrollToCell, width } = this.props\n const { scrollLeft, scrollPositionChangeReason, scrollToAlignment, scrollTop } = this.state\n\n // Make sure requested changes to :scrollLeft or :scrollTop get applied.\n // Assigning to scrollLeft/scrollTop tells the browser to interrupt any running scroll animations,\n // And to discard any pending async changes to the scroll position that may have happened in the meantime (e.g. on a separate scrolling thread).\n // So we only set these when we require an adjustment of the scroll position.\n // See issue #2 for more information.\n if (scrollPositionChangeReason === SCROLL_POSITION_CHANGE_REASONS.REQUESTED) {\n if (\n scrollLeft >= 0 &&\n scrollLeft !== prevState.scrollLeft &&\n scrollLeft !== this._scrollingContainer.scrollLeft\n ) {\n this._scrollingContainer.scrollLeft = scrollLeft\n }\n if (\n scrollTop >= 0 &&\n scrollTop !== prevState.scrollTop &&\n scrollTop !== this._scrollingContainer.scrollTop\n ) {\n this._scrollingContainer.scrollTop = scrollTop\n }\n }\n\n // Update scroll offsets if the current :scrollToCell values requires it\n if (\n height !== prevProps.height ||\n scrollToAlignment !== prevProps.scrollToAlignment ||\n scrollToCell !== prevProps.scrollToCell ||\n width !== prevProps.width\n ) {\n this._updateScrollPositionForScrollToCell()\n }\n\n // Update onRowsRendered callback if start/stop indices have changed\n this._invokeOnSectionRenderedHelper()\n }\n\n componentWillMount () {\n const { cellLayoutManager } = this.props\n\n cellLayoutManager.calculateSizeAndPositionData()\n\n // If this component is being rendered server-side, getScrollbarSize() will return undefined.\n // We handle this case in componentDidMount()\n this._scrollbarSize = getScrollbarSize()\n if (this._scrollbarSize === undefined) {\n this._scrollbarSizeMeasured = false\n this._scrollbarSize = 0\n } else {\n this._scrollbarSizeMeasured = true\n }\n }\n\n componentWillUnmount () {\n if (this._disablePointerEventsTimeoutId) {\n clearTimeout(this._disablePointerEventsTimeoutId)\n }\n\n if (this._setNextStateAnimationFrameId) {\n raf.cancel(this._setNextStateAnimationFrameId)\n }\n }\n\n /**\n * @private\n * This method updates scrollLeft/scrollTop in state for the following conditions:\n * 1) Empty content (0 rows or columns)\n * 2) New scroll props overriding the current state\n * 3) Cells-count or cells-size has changed, making previous scroll offsets invalid\n */\n componentWillUpdate (nextProps, nextState) {\n if (\n nextProps.cellCount === 0 &&\n (\n nextState.scrollLeft !== 0 ||\n nextState.scrollTop !== 0\n )\n ) {\n this._setScrollPosition({\n scrollLeft: 0,\n scrollTop: 0\n })\n } else if (\n nextProps.scrollLeft !== this.props.scrollLeft ||\n nextProps.scrollTop !== this.props.scrollTop\n ) {\n this._setScrollPosition({\n scrollLeft: nextProps.scrollLeft,\n scrollTop: nextProps.scrollTop\n })\n }\n\n if (\n nextProps.cellCount !== this.props.cellCount ||\n nextProps.cellLayoutManager !== this.props.cellLayoutManager ||\n nextState.calculateSizeAndPositionDataOnNextUpdate\n ) {\n nextProps.cellLayoutManager.calculateSizeAndPositionData()\n }\n\n if (nextState.calculateSizeAndPositionDataOnNextUpdate) {\n this.setState({\n calculateSizeAndPositionDataOnNextUpdate: false\n })\n }\n }\n\n render () {\n const {\n cellLayoutManager,\n className,\n height,\n noContentRenderer,\n style,\n width\n } = this.props\n\n const {\n isScrolling,\n scrollLeft,\n scrollTop\n } = this.state\n\n const childrenToDisplay = height > 0 && width > 0\n ? cellLayoutManager.cellRenderers({\n height,\n isScrolling,\n width,\n x: scrollLeft,\n y: scrollTop\n }) : []\n\n const {\n height: totalHeight,\n width: totalWidth\n } = cellLayoutManager.getTotalSize()\n\n const collectionStyle = {\n height,\n width\n }\n\n // Force browser to hide scrollbars when we know they aren't necessary.\n // Otherwise once scrollbars appear they may not disappear again.\n // For more info see issue #116\n const verticalScrollBarSize = totalHeight > height ? this._scrollbarSize : 0\n const horizontalScrollBarSize = totalWidth > width ? this._scrollbarSize : 0\n if (totalWidth + verticalScrollBarSize <= width) {\n collectionStyle.overflowX = 'hidden'\n }\n if (totalHeight + horizontalScrollBarSize <= height) {\n collectionStyle.overflowY = 'hidden'\n }\n\n return (\n {\n this._scrollingContainer = ref\n }}\n aria-label={this.props['aria-label']}\n className={cn('Collection', className)}\n onScroll={this._onScroll}\n role='grid'\n style={{\n ...collectionStyle,\n ...style\n }}\n tabIndex={0}\n >\n {childrenToDisplay.length > 0 &&\n \n {childrenToDisplay}\n \n }\n {childrenToDisplay.length === 0 &&\n noContentRenderer()\n }\n \n )\n }\n\n shouldComponentUpdate (nextProps, nextState) {\n return shallowCompare(this, nextProps, nextState)\n }\n\n /* ---------------------------- Helper methods ---------------------------- */\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 Collection.\n * This prevents jerky/stuttery mouse-wheel scrolling.\n */\n _enablePointerEventsAfterDelay () {\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 _invokeOnSectionRenderedHelper () {\n const { cellLayoutManager, onSectionRendered } = this.props\n\n this._onSectionRenderedMemoizer({\n callback: onSectionRendered,\n indices: {\n indices: cellLayoutManager.getLastRenderedIndices()\n }\n })\n }\n\n _invokeOnScrollMemoizer ({ scrollLeft, scrollTop, totalHeight, totalWidth }) {\n this._onScrollMemoizer({\n callback: ({ scrollLeft, scrollTop }) => {\n const { height, onScroll, width } = this.props\n\n onScroll({\n clientHeight: height,\n clientWidth: width,\n scrollHeight: totalHeight,\n scrollLeft,\n scrollTop,\n scrollWidth: totalWidth\n })\n },\n indices: {\n scrollLeft,\n scrollTop\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 onScroll).\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 _setScrollPosition ({ scrollLeft, scrollTop }) {\n const newState = {\n scrollPositionChangeReason: SCROLL_POSITION_CHANGE_REASONS.REQUESTED\n }\n\n if (scrollLeft >= 0) {\n newState.scrollLeft = scrollLeft\n }\n\n if (scrollTop >= 0) {\n newState.scrollTop = scrollTop\n }\n\n if (\n (\n scrollLeft >= 0 &&\n scrollLeft !== this.state.scrollLeft\n ) ||\n (\n scrollTop >= 0 &&\n scrollTop !== this.state.scrollTop\n )\n ) {\n this.setState(newState)\n }\n }\n\n _updateScrollPositionForScrollToCell () {\n const { cellLayoutManager, height, scrollToAlignment, scrollToCell, width } = this.props\n const { scrollLeft, scrollTop } = this.state\n\n if (scrollToCell >= 0) {\n const scrollPosition = cellLayoutManager.getScrollPositionForCell({\n align: scrollToAlignment,\n cellIndex: scrollToCell,\n height,\n scrollLeft,\n scrollTop,\n width\n })\n\n if (\n scrollPosition.scrollLeft !== scrollLeft ||\n scrollPosition.scrollTop !== scrollTop\n ) {\n this._setScrollPosition(scrollPosition)\n }\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._scrollingContainer) {\n return\n }\n\n // Prevent pointer events from interrupting a smooth scroll\n this._enablePointerEventsAfterDelay()\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 { cellLayoutManager, height, width } = this.props\n const scrollbarSize = this._scrollbarSize\n const {\n height: totalHeight,\n width: totalWidth\n } = cellLayoutManager.getTotalSize()\n const scrollLeft = Math.max(0, Math.min(totalWidth - width + scrollbarSize, event.target.scrollLeft))\n const scrollTop = Math.max(0, Math.min(totalHeight - height + scrollbarSize, event.target.scrollTop))\n\n // Certain devices (like Apple touchpad) rapid-fire duplicate events.\n // Don't force a re-render if this is the case.\n // The mouse may move faster then the animation frame does.\n // Use requestAnimationFrame to avoid over-updating.\n if (\n this.state.scrollLeft !== scrollLeft ||\n this.state.scrollTop !== scrollTop\n ) {\n // Browsers with cancelable scroll events (eg. Firefox) interrupt scrolling animations if scrollTop/scrollLeft is set.\n // Other browsers (eg. Safari) don't scroll as well without the help under certain conditions (DOM or style changes during scrolling).\n // All things considered, this seems to be the best current work around that I'm aware of.\n // For more information see https://github.com/bvaughn/react-virtualized/pull/124\n const scrollPositionChangeReason = event.cancelable\n ? SCROLL_POSITION_CHANGE_REASONS.OBSERVED\n : SCROLL_POSITION_CHANGE_REASONS.REQUESTED\n\n // Synchronously set :isScrolling the first time (since _setNextState will reschedule its animation frame each time it's called)\n if (!this.state.isScrolling) {\n this.setState({\n isScrolling: true\n })\n }\n\n this._setNextState({\n isScrolling: true,\n scrollLeft,\n scrollPositionChangeReason,\n scrollTop\n })\n }\n\n this._invokeOnScrollMemoizer({\n scrollLeft,\n scrollTop,\n totalWidth,\n totalHeight\n })\n }\n}\n\n\n\n/** WEBPACK FOOTER **\n ** ./source/Collection/CollectionView.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 = 14\n ** module chunks = 0\n **/","/**\n * Helper utility that updates the specified callback whenever any of the specified indices have changed.\n */\nexport default function createCallbackMemoizer (requireAllKeys = true) {\n let cachedIndices = {}\n\n return ({\n callback,\n indices\n }) => {\n const keys = Object.keys(indices)\n const allInitialized = !requireAllKeys || keys.every(key => {\n const value = indices[key]\n return Array.isArray(value)\n ? value.length > 0\n : value >= 0\n })\n const indexChanged =\n keys.length !== Object.keys(cachedIndices).length ||\n keys.some(key => {\n const cachedValue = cachedIndices[key]\n const value = indices[key]\n\n return Array.isArray(value)\n ? cachedValue.join(',') !== value.join(',')\n : cachedValue !== value\n })\n\n cachedIndices = indices\n\n if (allInitialized && indexChanged) {\n callback(indices)\n }\n }\n}\n\n\n\n/** WEBPACK FOOTER **\n ** ./source/utils/createCallbackMemoizer.js\n **/","'use strict';\n\nvar canUseDOM = require('./inDOM');\n\nvar size;\n\nmodule.exports = function (recalc) {\n if (!size || recalc) {\n if (canUseDOM) {\n var scrollDiv = document.createElement('div');\n\n scrollDiv.style.position = 'absolute';\n scrollDiv.style.top = '-9999px';\n scrollDiv.style.width = '50px';\n scrollDiv.style.height = '50px';\n scrollDiv.style.overflow = 'scroll';\n\n document.body.appendChild(scrollDiv);\n size = scrollDiv.offsetWidth - scrollDiv.clientWidth;\n document.body.removeChild(scrollDiv);\n }\n }\n\n return size;\n};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/dom-helpers/util/scrollbarSize.js\n ** module id = 16\n ** module chunks = 0\n **/","'use strict';\nmodule.exports = !!(typeof window !== 'undefined' && window.document && window.document.createElement);\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/dom-helpers/util/inDOM.js\n ** module id = 17\n ** module chunks = 0\n **/","var now = require('performance-now')\n , root = typeof window === 'undefined' ? global : window\n , vendors = ['moz', 'webkit']\n , suffix = 'AnimationFrame'\n , raf = root['request' + suffix]\n , caf = root['cancel' + suffix] || root['cancelRequest' + suffix]\n\nfor(var i = 0; !raf && i < vendors.length; i++) {\n raf = root[vendors[i] + 'Request' + suffix]\n caf = root[vendors[i] + 'Cancel' + suffix]\n || root[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(root, fn)\n}\nmodule.exports.cancel = function() {\n caf.apply(root, arguments)\n}\nmodule.exports.polyfill = function() {\n root.requestAnimationFrame = raf\n root.cancelAnimationFrame = caf\n}\n\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/raf/index.js\n ** module id = 18\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 = 19\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 if (!draining || !currentQueue) {\n return;\n }\n draining = false;\n if (currentQueue.length) {\n queue = currentQueue.concat(queue);\n } else {\n queueIndex = -1;\n }\n if (queue.length) {\n drainQueue();\n }\n}\n\nfunction drainQueue() {\n if (draining) {\n return;\n }\n var timeout = 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 = 20\n ** module chunks = 0\n **/","import SectionManager from '../SectionManager'\n\nexport default function calculateSizeAndPositionData ({\n cellCount,\n cellSizeAndPositionGetter,\n sectionSize\n}) {\n const cellMetadata = []\n const sectionManager = new SectionManager(sectionSize)\n let height = 0\n let width = 0\n\n for (let index = 0; index < cellCount; index++) {\n const cellMetadatum = cellSizeAndPositionGetter({ index })\n\n if (\n cellMetadatum.height == null || isNaN(cellMetadatum.height) ||\n cellMetadatum.width == null || isNaN(cellMetadatum.width) ||\n cellMetadatum.x == null || isNaN(cellMetadatum.x) ||\n cellMetadatum.y == null || isNaN(cellMetadatum.y)\n ) {\n throw Error(\n `Invalid metadata returned for cell ${index}:\n x:${cellMetadatum.x}, y:${cellMetadatum.y}, width:${cellMetadatum.width}, height:${cellMetadatum.height}`\n )\n }\n\n height = Math.max(height, cellMetadatum.y + cellMetadatum.height)\n width = Math.max(width, cellMetadatum.x + cellMetadatum.width)\n\n cellMetadata[index] = cellMetadatum\n sectionManager.registerCell({\n cellMetadatum,\n index\n })\n }\n\n return {\n cellMetadata,\n height,\n sectionManager,\n width\n }\n}\n\n\n\n/** WEBPACK FOOTER **\n ** ./source/Collection/utils/calculateSizeAndPositionData.js\n **/","/**\n * Window Sections are used to group nearby cells.\n * This enables us to more quickly determine which cells to display in a given region of the Window.\n * @flow\n */\nimport Section from './Section'\nimport type { Index, SizeAndPositionInfo } from './types'\n\nconst SECTION_SIZE = 100\n\ntype RegisterCellParams = {\n cellMetadatum: SizeAndPositionInfo,\n index: number\n};\n\n/**\n * Contains 0 to many Sections.\n * Grows (and adds Sections) dynamically as cells are registered.\n * Automatically adds cells to the appropriate Section(s).\n */\nexport default class SectionManager {\n constructor (sectionSize = SECTION_SIZE) {\n this._sectionSize = sectionSize\n\n this._cellMetadata = []\n this._sections = {}\n }\n\n /**\n * Gets all cell indices contained in the specified region.\n * A region may encompass 1 or more Sections.\n */\n getCellIndices ({\n height,\n width,\n x,\n y\n }: SizeAndPositionInfo): Array {\n const indices = {}\n\n this.getSections({ height, width, x, y })\n .forEach(\n (section) => section.getCellIndices().forEach(\n (index) => {\n indices[index] = index\n }\n )\n )\n\n // Object keys are strings; this function returns numbers\n return Object.keys(indices).map((index) => indices[index])\n }\n\n /** Get size and position information for the cell specified. */\n getCellMetadata ({\n index\n }: Index): SizeAndPositionInfo {\n return this._cellMetadata[index]\n }\n\n /** Get all Sections overlapping the specified region. */\n getSections ({\n height,\n width,\n x,\n y\n }: SizeAndPositionInfo): Array
{\n const sectionXStart = Math.floor(x / this._sectionSize)\n const sectionXStop = Math.floor((x + width - 1) / this._sectionSize)\n const sectionYStart = Math.floor(y / this._sectionSize)\n const sectionYStop = Math.floor((y + height - 1) / this._sectionSize)\n\n const sections = []\n\n for (let sectionX = sectionXStart; sectionX <= sectionXStop; sectionX++) {\n for (let sectionY = sectionYStart; sectionY <= sectionYStop; sectionY++) {\n const key = `${sectionX}.${sectionY}`\n\n if (!this._sections[key]) {\n this._sections[key] = new Section({\n height: this._sectionSize,\n width: this._sectionSize,\n x: sectionX * this._sectionSize,\n y: sectionY * this._sectionSize\n })\n }\n\n sections.push(this._sections[key])\n }\n }\n\n return sections\n }\n\n /** Total number of Sections based on the currently registered cells. */\n getTotalSectionCount () {\n return Object.keys(this._sections).length\n }\n\n /** Intended for debugger/test purposes only */\n toString () {\n return Object.keys(this._sections).map(\n (index) => this._sections[index].toString()\n )\n }\n\n /** Adds a cell to the appropriate Sections and registers it metadata for later retrievable. */\n registerCell ({\n cellMetadatum,\n index\n }: RegisterCellParams) {\n this._cellMetadata[index] = cellMetadatum\n\n this.getSections(cellMetadatum)\n .forEach((section) => section.addCellIndex({ index }))\n }\n}\n\n\n\n/** WEBPACK FOOTER **\n ** ./source/Collection/SectionManager.js\n **/","/** @rlow */\nimport type { Index, SizeAndPositionInfo } from './types'\n\n/**\n * A section of the Window.\n * Window Sections are used to group nearby cells.\n * This enables us to more quickly determine which cells to display in a given region of the Window.\n * Sections have a fixed size and contain 0 to many cells (tracked by their indices).\n */\nexport default class Section {\n constructor ({\n height,\n width,\n x,\n y\n }: SizeAndPositionInfo) {\n this.height = height\n this.width = width\n this.x = x\n this.y = y\n\n this._indexMap = {}\n this._indices = []\n }\n\n /** Add a cell to this section. */\n addCellIndex ({\n index\n }: Index) {\n if (!this._indexMap[index]) {\n this._indexMap[index] = true\n this._indices.push(index)\n }\n }\n\n /** Get all cell indices that have been added to this section. */\n getCellIndices (): Array {\n return this._indices\n }\n\n /** Intended for debugger/test purposes only */\n toString () {\n return `${this.x},${this.y} ${this.width}x${this.height}`\n }\n}\n\n\n\n/** WEBPACK FOOTER **\n ** ./source/Collection/Section.js\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 align Desired alignment within container; one of \"auto\" (default), \"start\", or \"end\"\n * @param cellOffset Offset (x or y) position for cell\n * @param cellSize Size (width or height) of cell\n * @param containerSize Total size (width or height) of the container\n * @param currentOffset Container's current (x or y) offset\n * @return Offset to use to ensure the specified cell is visible\n */\nexport default function getUpdatedOffsetForIndex ({\n align = 'auto',\n cellOffset,\n cellSize,\n containerSize,\n currentOffset\n}) {\n const maxOffset = cellOffset\n const minOffset = maxOffset - containerSize + cellSize\n\n switch (align) {\n case 'start':\n return maxOffset\n case 'end':\n return minOffset\n case 'center':\n return maxOffset - ((containerSize - cellSize) / 2)\n default:\n return Math.max(minOffset, Math.min(maxOffset, currentOffset))\n }\n}\n\n\n\n/** WEBPACK FOOTER **\n ** ./source/utils/getUpdatedOffsetForIndex.js\n **/","/** @flow */\nexport default from './ColumnSizer'\nexport ColumnSizer from './ColumnSizer'\n\n\n\n/** WEBPACK FOOTER **\n ** ./source/ColumnSizer/index.js\n **/","/** @flow */\nimport { Component, PropTypes } from 'react'\nimport shallowCompare from 'react-addons-shallow-compare'\nimport Grid from '../Grid'\n\n/**\n * High-order component that auto-calculates column-widths for `Grid` cells.\n */\nexport default class ColumnSizer extends Component {\n static propTypes = {\n /**\n * Function respondible for rendering a virtualized Grid.\n * This function should implement the following signature:\n * ({ adjustedWidth, getColumnWidth, registerChild }) => PropTypes.element\n *\n * The specified :getColumnWidth function should be passed to the Grid's :columnWidth property.\n * The :registerChild should be passed to the Grid's :ref property.\n * The :adjustedWidth property is optional; it reflects the lesser of the overall width or the width of all columns.\n */\n children: PropTypes.func.isRequired,\n\n /** Optional maximum allowed column width */\n columnMaxWidth: PropTypes.number,\n\n /** Optional minimum allowed column width */\n columnMinWidth: PropTypes.number,\n\n /** Number of columns in Grid or FlexTable child */\n columnCount: PropTypes.number.isRequired,\n\n /** Width of Grid or FlexTable child */\n width: PropTypes.number.isRequired\n }\n\n constructor (props, context) {\n super(props, context)\n\n this._registerChild = this._registerChild.bind(this)\n }\n\n componentDidUpdate (prevProps, prevState) {\n const {\n columnMaxWidth,\n columnMinWidth,\n columnCount,\n width\n } = this.props\n\n if (\n columnMaxWidth !== prevProps.columnMaxWidth ||\n columnMinWidth !== prevProps.columnMinWidth ||\n columnCount !== prevProps.columnCount ||\n width !== prevProps.width\n ) {\n if (this._registeredChild) {\n this._registeredChild.recomputeGridSize()\n }\n }\n }\n\n render () {\n const {\n children,\n columnMaxWidth,\n columnMinWidth,\n columnCount,\n width\n } = this.props\n\n const safeColumnMinWidth = columnMinWidth || 1\n\n const safeColumnMaxWidth = columnMaxWidth\n ? Math.min(columnMaxWidth, width)\n : width\n\n let columnWidth = width / columnCount\n columnWidth = Math.max(safeColumnMinWidth, columnWidth)\n columnWidth = Math.min(safeColumnMaxWidth, columnWidth)\n columnWidth = Math.floor(columnWidth)\n\n let adjustedWidth = Math.min(width, columnWidth * columnCount)\n\n return children({\n adjustedWidth,\n getColumnWidth: () => columnWidth,\n registerChild: this._registerChild\n })\n }\n\n shouldComponentUpdate (nextProps, nextState) {\n return shallowCompare(this, nextProps, nextState)\n }\n\n _registerChild (child) {\n if (child !== null && !(child instanceof Grid)) {\n throw Error('Unexpected child type registered; only Grid children are supported.')\n }\n\n this._registeredChild = child\n\n if (this._registeredChild) {\n this._registeredChild.recomputeGridSize()\n }\n }\n}\n\n\n\n/** WEBPACK FOOTER **\n ** ./source/ColumnSizer/ColumnSizer.js\n **/","/** @flow */\nexport default from './Grid'\nexport Grid from './Grid'\nexport defaultCellRangeRenderer from './defaultCellRangeRenderer'\n\n\n\n/** WEBPACK FOOTER **\n ** ./source/Grid/index.js\n **/","/** @flow */\nimport React, { Component, PropTypes } from 'react'\nimport cn from 'classnames'\nimport calculateSizeAndPositionDataAndUpdateScrollOffset from './utils/calculateSizeAndPositionDataAndUpdateScrollOffset'\nimport ScalingCellSizeAndPositionManager from './utils/ScalingCellSizeAndPositionManager'\nimport createCallbackMemoizer from '../utils/createCallbackMemoizer'\nimport getOverscanIndices from './utils/getOverscanIndices'\nimport getScrollbarSize from 'dom-helpers/util/scrollbarSize'\nimport raf from 'raf'\nimport shallowCompare from 'react-addons-shallow-compare'\nimport updateScrollIndexHelper from './utils/updateScrollIndexHelper'\nimport defaultCellRangeRenderer from './defaultCellRangeRenderer'\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 * Controls whether the Grid updates the DOM element's scrollLeft/scrollTop based on the current state or just observes it.\n * This prevents Grid from interrupting mouse-wheel animations (see issue #2).\n */\nconst SCROLL_POSITION_CHANGE_REASONS = {\n OBSERVED: 'observed',\n REQUESTED: 'requested'\n}\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 static propTypes = {\n 'aria-label': PropTypes.string,\n\n /**\n * Removes fixed height from the scrollingContainer so that the total height\n * of rows can stretch the window. Intended for use with WindowScroller\n */\n autoHeight: PropTypes.bool,\n\n /** Optional custom CSS class for individual cells */\n cellClassName: PropTypes.oneOfType([PropTypes.string, PropTypes.func]),\n\n /** Optional custom styles for individual cells */\n cellStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.func]),\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 cellRenderer: PropTypes.func.isRequired,\n\n /**\n * Responsible for rendering a group of cells given their index ranges.\n * Should implement the following interface: ({\n * cellCache: Map,\n * cellRenderer: Function,\n * columnSizeAndPositionManager: CellSizeAndPositionManager,\n * columnStartIndex: number,\n * columnStopIndex: number,\n * isScrolling: boolean,\n * rowSizeAndPositionManager: CellSizeAndPositionManager,\n * rowStartIndex: number,\n * rowStopIndex: number,\n * scrollLeft: number,\n * scrollTop: number\n * }): Array\n */\n cellRangeRenderer: PropTypes.func.isRequired,\n\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 columnCount: 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 * Used to estimate the total width of a Grid before all of its columns have actually been measured.\n * The estimated total width is adjusted as columns are rendered.\n */\n estimatedColumnSize: PropTypes.number.isRequired,\n\n /**\n * Used to estimate the total height of a Grid before all of its rows have actually been measured.\n * The estimated total height is adjusted as rows are rendered.\n */\n estimatedRowSize: PropTypes.number.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 :rowCount or :columnCount is 0.\n */\n noContentRenderer: PropTypes.func.isRequired,\n\n /**\n * Callback invoked whenever the scroll offset changes within the inner scrollable region.\n * This callback can be used to sync scrolling between lists, tables, or grids.\n * ({ clientHeight, clientWidth, scrollHeight, scrollLeft, scrollTop, scrollWidth }): void\n */\n onScroll: 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 * Number of columns to render before/after the visible section of the grid.\n * These columns can help for smoother scrolling on touch devices or browsers that send scroll events infrequently.\n */\n overscanColumnCount: PropTypes.number.isRequired,\n\n /**\n * Number of rows to render above/below the visible section of the grid.\n * These rows can help for smoother scrolling on touch devices or browsers that send scroll events infrequently.\n */\n overscanRowCount: PropTypes.number.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 rowCount: PropTypes.number.isRequired,\n\n /** Horizontal offset. */\n scrollLeft: PropTypes.number,\n\n /**\n * Controls scroll-to-cell behavior of the Grid.\n * The default (\"auto\") scrolls the least amount possible to ensure that the specified cell is fully visible.\n * Use \"start\" to align cells to the top/left of the Grid and \"end\" to align bottom/right.\n */\n scrollToAlignment: PropTypes.oneOf(['auto', 'end', 'start', 'center']).isRequired,\n\n /**\n * Column index to ensure visible (by forcefully scrolling if necessary)\n */\n scrollToColumn: PropTypes.number,\n\n /** Vertical offset. */\n scrollTop: PropTypes.number,\n\n /**\n * Row index to ensure visible (by forcefully scrolling if necessary)\n */\n scrollToRow: PropTypes.number,\n\n /** Optional inline style */\n style: PropTypes.object,\n\n /** Tab index for focus */\n tabIndex: 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 'aria-label': 'grid',\n cellStyle: {},\n cellRangeRenderer: defaultCellRangeRenderer,\n estimatedColumnSize: 100,\n estimatedRowSize: 30,\n noContentRenderer: () => null,\n onScroll: () => null,\n onSectionRendered: () => null,\n overscanColumnCount: 0,\n overscanRowCount: 10,\n scrollToAlignment: 'auto',\n style: {},\n tabIndex: 0\n };\n\n constructor (props, context) {\n super(props, context)\n\n this.state = {\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._onGridRenderedMemoizer = createCallbackMemoizer()\n this._onScrollMemoizer = createCallbackMemoizer(false)\n\n // Bind functions to instance so they don't lose context when passed around\n this._enablePointerEventsAfterDelayCallback = this._enablePointerEventsAfterDelayCallback.bind(this)\n this._invokeOnGridRenderedHelper = this._invokeOnGridRenderedHelper.bind(this)\n this._onScroll = this._onScroll.bind(this)\n this._setNextStateCallback = this._setNextStateCallback.bind(this)\n this._updateScrollLeftForScrollToColumn = this._updateScrollLeftForScrollToColumn.bind(this)\n this._updateScrollTopForScrollToRow = this._updateScrollTopForScrollToRow.bind(this)\n\n this._columnWidthGetter = this._wrapSizeGetter(props.columnWidth)\n this._rowHeightGetter = this._wrapSizeGetter(props.rowHeight)\n\n this._columnSizeAndPositionManager = new ScalingCellSizeAndPositionManager({\n cellCount: props.columnCount,\n cellSizeGetter: (index) => this._columnWidthGetter(index),\n estimatedCellSize: this._getEstimatedColumnSize(props)\n })\n this._rowSizeAndPositionManager = new ScalingCellSizeAndPositionManager({\n cellCount: props.rowCount,\n cellSizeGetter: (index) => this._rowHeightGetter(index),\n estimatedCellSize: this._getEstimatedRowSize(props)\n })\n\n // See defaultCellRangeRenderer() for more information on the usage of this cache\n this._cellCache = {}\n }\n\n /**\n * Pre-measure all columns and rows in a Grid.\n * Typically cells are only measured as needed and estimated sizes are used for cells that have not yet been measured.\n * This method ensures that the next call to getTotalSize() returns an exact size (as opposed to just an estimated one).\n */\n measureAllCells () {\n const { columnCount, rowCount } = this.props\n\n this._columnSizeAndPositionManager.getSizeAndPositionOfCell(columnCount - 1)\n this._rowSizeAndPositionManager.getSizeAndPositionOfCell(rowCount - 1)\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 :columnCount and :rowCount it has no way of detecting when the underlying data changes.\n */\n recomputeGridSize ({\n columnIndex = 0,\n rowIndex = 0\n } = {}) {\n this._columnSizeAndPositionManager.resetCell(columnIndex)\n this._rowSizeAndPositionManager.resetCell(rowIndex)\n this.forceUpdate()\n }\n\n componentDidMount () {\n const { scrollLeft, scrollToColumn, scrollTop, scrollToRow } = this.props\n\n // If this component was first rendered server-side, scrollbar size will be undefined.\n // In that event we need to remeasure.\n if (!this._scrollbarSizeMeasured) {\n this._scrollbarSize = getScrollbarSize()\n this._scrollbarSizeMeasured = true\n this.setState({})\n }\n\n if (scrollLeft >= 0 || scrollTop >= 0) {\n this._setScrollPosition({ scrollLeft, scrollTop })\n }\n\n if (scrollToColumn >= 0 || scrollToRow >= 0) {\n this._updateScrollLeftForScrollToColumn()\n this._updateScrollTopForScrollToRow()\n }\n\n // Update onRowsRendered callback\n this._invokeOnGridRenderedHelper()\n\n // Initialize onScroll callback\n this._invokeOnScrollMemoizer({\n scrollLeft: scrollLeft || 0,\n scrollTop: scrollTop || 0,\n totalColumnsWidth: this._columnSizeAndPositionManager.getTotalSize(),\n totalRowsHeight: this._rowSizeAndPositionManager.getTotalSize()\n })\n }\n\n /**\n * @private\n * This method updates scrollLeft/scrollTop in state for the following conditions:\n * 1) New scroll-to-cell props have been set\n */\n componentDidUpdate (prevProps, prevState) {\n const { autoHeight, height, scrollToAlignment, scrollToColumn, scrollToRow, width } = this.props\n const { scrollLeft, scrollPositionChangeReason, scrollTop } = this.state\n\n // Make sure requested changes to :scrollLeft or :scrollTop get applied.\n // Assigning to scrollLeft/scrollTop tells the browser to interrupt any running scroll animations,\n // And to discard any pending async changes to the scroll position that may have happened in the meantime (e.g. on a separate scrolling thread).\n // So we only set these when we require an adjustment of the scroll position.\n // See issue #2 for more information.\n if (scrollPositionChangeReason === SCROLL_POSITION_CHANGE_REASONS.REQUESTED) {\n if (\n scrollLeft >= 0 &&\n scrollLeft !== prevState.scrollLeft &&\n scrollLeft !== this._scrollingContainer.scrollLeft\n ) {\n this._scrollingContainer.scrollLeft = scrollLeft\n }\n\n // @TRICKY :autoHeight property instructs Grid to leave :scrollTop management to an external HOC (eg WindowScroller).\n // In this case we should avoid checking scrollingContainer.scrollTop since it forces layout/flow.\n if (\n !autoHeight &&\n scrollTop >= 0 &&\n scrollTop !== prevState.scrollTop &&\n scrollTop !== this._scrollingContainer.scrollTop\n ) {\n this._scrollingContainer.scrollTop = scrollTop\n }\n }\n\n // Update scroll offsets if the current :scrollToColumn or :scrollToRow values requires it\n // @TODO Do we also need this check or can the one in componentWillUpdate() suffice?\n updateScrollIndexHelper({\n cellSizeAndPositionManager: this._columnSizeAndPositionManager,\n previousCellsCount: prevProps.columnCount,\n previousCellSize: prevProps.columnWidth,\n previousScrollToAlignment: prevProps.scrollToAlignment,\n previousScrollToIndex: prevProps.scrollToColumn,\n previousSize: prevProps.width,\n scrollOffset: scrollLeft,\n scrollToAlignment,\n scrollToIndex: scrollToColumn,\n size: width,\n updateScrollIndexCallback: (scrollToColumn) => this._updateScrollLeftForScrollToColumn({ ...this.props, scrollToColumn })\n })\n updateScrollIndexHelper({\n cellSizeAndPositionManager: this._rowSizeAndPositionManager,\n previousCellsCount: prevProps.rowCount,\n previousCellSize: prevProps.rowHeight,\n previousScrollToAlignment: prevProps.scrollToAlignment,\n previousScrollToIndex: prevProps.scrollToRow,\n previousSize: prevProps.height,\n scrollOffset: scrollTop,\n scrollToAlignment,\n scrollToIndex: scrollToRow,\n size: height,\n updateScrollIndexCallback: (scrollToRow) => this._updateScrollTopForScrollToRow({ ...this.props, scrollToRow })\n })\n\n // Update onRowsRendered callback if start/stop indices have changed\n this._invokeOnGridRenderedHelper()\n }\n\n componentWillMount () {\n // If this component is being rendered server-side, getScrollbarSize() will return undefined.\n // We handle this case in componentDidMount()\n this._scrollbarSize = getScrollbarSize()\n if (this._scrollbarSize === undefined) {\n this._scrollbarSizeMeasured = false\n this._scrollbarSize = 0\n } else {\n this._scrollbarSizeMeasured = true\n }\n\n this._calculateChildrenToRender()\n }\n\n componentWillUnmount () {\n if (this._disablePointerEventsTimeoutId) {\n clearTimeout(this._disablePointerEventsTimeoutId)\n }\n\n if (this._setNextStateAnimationFrameId) {\n raf.cancel(this._setNextStateAnimationFrameId)\n }\n }\n\n /**\n * @private\n * This method updates scrollLeft/scrollTop in state for the following conditions:\n * 1) Empty content (0 rows or columns)\n * 2) New scroll props overriding the current state\n * 3) Cells-count or cells-size has changed, making previous scroll offsets invalid\n */\n componentWillUpdate (nextProps, nextState) {\n if (\n nextProps.columnCount === 0 &&\n nextState.scrollLeft !== 0 ||\n nextProps.rowCount === 0 &&\n nextState.scrollTop !== 0\n ) {\n this._setScrollPosition({\n scrollLeft: 0,\n scrollTop: 0\n })\n } else if (\n nextProps.scrollLeft !== this.props.scrollLeft ||\n nextProps.scrollTop !== this.props.scrollTop\n ) {\n this._setScrollPosition({\n scrollLeft: nextProps.scrollLeft,\n scrollTop: nextProps.scrollTop\n })\n }\n\n this._columnWidthGetter = this._wrapSizeGetter(nextProps.columnWidth)\n this._rowHeightGetter = this._wrapSizeGetter(nextProps.rowHeight)\n\n this._columnSizeAndPositionManager.configure({\n cellCount: nextProps.columnCount,\n estimatedCellSize: this._getEstimatedColumnSize(nextProps)\n })\n this._rowSizeAndPositionManager.configure({\n cellCount: nextProps.rowCount,\n estimatedCellSize: this._getEstimatedRowSize(nextProps)\n })\n\n // Update scroll offsets if the size or number of cells have changed, invalidating the previous value\n calculateSizeAndPositionDataAndUpdateScrollOffset({\n cellCount: this.props.columnCount,\n cellSize: this.props.columnWidth,\n computeMetadataCallback: () => this._columnSizeAndPositionManager.resetCell(0),\n computeMetadataCallbackProps: nextProps,\n nextCellsCount: nextProps.columnCount,\n nextCellSize: nextProps.columnWidth,\n nextScrollToIndex: nextProps.scrollToColumn,\n scrollToIndex: this.props.scrollToColumn,\n updateScrollOffsetForScrollToIndex: () => this._updateScrollLeftForScrollToColumn(nextProps, nextState)\n })\n calculateSizeAndPositionDataAndUpdateScrollOffset({\n cellCount: this.props.rowCount,\n cellSize: this.props.rowHeight,\n computeMetadataCallback: () => this._rowSizeAndPositionManager.resetCell(0),\n computeMetadataCallbackProps: nextProps,\n nextCellsCount: nextProps.rowCount,\n nextCellSize: nextProps.rowHeight,\n nextScrollToIndex: nextProps.scrollToRow,\n scrollToIndex: this.props.scrollToRow,\n updateScrollOffsetForScrollToIndex: () => this._updateScrollTopForScrollToRow(nextProps, nextState)\n })\n\n this._calculateChildrenToRender(nextProps, nextState)\n }\n\n render () {\n const {\n autoHeight,\n className,\n columnCount,\n height,\n noContentRenderer,\n style,\n tabIndex,\n width\n } = this.props\n\n const { isScrolling } = this.state\n\n const gridStyle = {\n height: autoHeight ? 'auto' : height,\n width\n }\n\n const totalColumnsWidth = this._columnSizeAndPositionManager.getTotalSize()\n const totalRowsHeight = this._rowSizeAndPositionManager.getTotalSize()\n\n // Force browser to hide scrollbars when we know they aren't necessary.\n // Otherwise once scrollbars appear they may not disappear again.\n // For more info see issue #116\n const verticalScrollBarSize = totalRowsHeight > height ? this._scrollbarSize : 0\n const horizontalScrollBarSize = totalColumnsWidth > width ? this._scrollbarSize : 0\n\n // Also explicitly init styles to 'auto' if scrollbars are required.\n // This works around an obscure edge case where external CSS styles have not yet been loaded,\n // But an initial scroll index of offset is set as an external prop.\n // Without this style, Grid would render the correct range of cells but would NOT update its internal offset.\n // This was originally reported via clauderic/react-infinite-calendar/issues/23\n gridStyle.overflowX = totalColumnsWidth + verticalScrollBarSize <= width\n ? 'hidden'\n : 'auto'\n gridStyle.overflowY = totalRowsHeight + horizontalScrollBarSize <= height\n ? 'hidden'\n : 'auto'\n\n const childrenToDisplay = this._childrenToDisplay\n\n const showNoContentRenderer = (\n childrenToDisplay.length === 0 &&\n height > 0 &&\n width > 0\n )\n\n return (\n {\n this._scrollingContainer = ref\n }}\n aria-label={this.props['aria-label']}\n className={cn('Grid', className)}\n onScroll={this._onScroll}\n role='grid'\n style={{\n ...gridStyle,\n ...style\n }}\n tabIndex={tabIndex}\n >\n {childrenToDisplay.length > 0 &&\n \n {childrenToDisplay}\n \n }\n {showNoContentRenderer &&\n noContentRenderer()\n }\n \n )\n }\n\n shouldComponentUpdate (nextProps, nextState) {\n return shallowCompare(this, nextProps, nextState)\n }\n\n /* ---------------------------- Helper methods ---------------------------- */\n\n _calculateChildrenToRender (props = this.props, state = this.state) {\n const {\n cellClassName,\n cellRenderer,\n cellRangeRenderer,\n cellStyle,\n columnCount,\n height,\n overscanColumnCount,\n overscanRowCount,\n rowCount,\n width\n } = props\n\n const {\n isScrolling,\n scrollLeft,\n scrollTop\n } = state\n\n this._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 visibleColumnIndices = this._columnSizeAndPositionManager.getVisibleCellRange({\n containerSize: width,\n offset: scrollLeft\n })\n const visibleRowIndices = this._rowSizeAndPositionManager.getVisibleCellRange({\n containerSize: height,\n offset: scrollTop\n })\n\n const horizontalOffsetAdjustment = this._columnSizeAndPositionManager.getOffsetAdjustment({\n containerSize: width,\n offset: scrollLeft\n })\n const verticalOffsetAdjustment = this._rowSizeAndPositionManager.getOffsetAdjustment({\n containerSize: height,\n offset: scrollTop\n })\n\n // Store for _invokeOnGridRenderedHelper()\n this._renderedColumnStartIndex = visibleColumnIndices.start\n this._renderedColumnStopIndex = visibleColumnIndices.stop\n this._renderedRowStartIndex = visibleRowIndices.start\n this._renderedRowStopIndex = visibleRowIndices.stop\n\n const overscanColumnIndices = getOverscanIndices({\n cellCount: columnCount,\n overscanCellsCount: overscanColumnCount,\n startIndex: this._renderedColumnStartIndex,\n stopIndex: this._renderedColumnStopIndex\n })\n\n const overscanRowIndices = getOverscanIndices({\n cellCount: rowCount,\n overscanCellsCount: overscanRowCount,\n startIndex: this._renderedRowStartIndex,\n stopIndex: this._renderedRowStopIndex\n })\n\n // Store for _invokeOnGridRenderedHelper()\n this._columnStartIndex = overscanColumnIndices.overscanStartIndex\n this._columnStopIndex = overscanColumnIndices.overscanStopIndex\n this._rowStartIndex = overscanRowIndices.overscanStartIndex\n this._rowStopIndex = overscanRowIndices.overscanStopIndex\n\n this._childrenToDisplay = cellRangeRenderer({\n cellCache: this._cellCache,\n cellClassName: this._wrapCellClassNameGetter(cellClassName),\n cellRenderer,\n cellStyle: this._wrapCellStyleGetter(cellStyle),\n columnSizeAndPositionManager: this._columnSizeAndPositionManager,\n columnStartIndex: this._columnStartIndex,\n columnStopIndex: this._columnStopIndex,\n horizontalOffsetAdjustment,\n isScrolling,\n rowSizeAndPositionManager: this._rowSizeAndPositionManager,\n rowStartIndex: this._rowStartIndex,\n rowStopIndex: this._rowStopIndex,\n scrollLeft,\n scrollTop,\n verticalOffsetAdjustment\n })\n }\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 _enablePointerEventsAfterDelay () {\n if (this._disablePointerEventsTimeoutId) {\n clearTimeout(this._disablePointerEventsTimeoutId)\n }\n\n this._disablePointerEventsTimeoutId = setTimeout(\n this._enablePointerEventsAfterDelayCallback,\n IS_SCROLLING_TIMEOUT\n )\n }\n\n _enablePointerEventsAfterDelayCallback () {\n this._disablePointerEventsTimeoutId = null\n\n // Throw away cell cache once scrolling is complete\n this._cellCache = {}\n\n this.setState({\n isScrolling: false\n })\n }\n\n _getEstimatedColumnSize (props) {\n return typeof props.columnWidth === 'number'\n ? props.columnWidth\n : props.estimatedColumnSize\n }\n\n _getEstimatedRowSize (props) {\n return typeof props.rowHeight === 'number'\n ? props.rowHeight\n : props.estimatedRowSize\n }\n\n _invokeOnGridRenderedHelper () {\n const { onSectionRendered } = this.props\n\n this._onGridRenderedMemoizer({\n callback: onSectionRendered,\n indices: {\n columnOverscanStartIndex: this._columnStartIndex,\n columnOverscanStopIndex: this._columnStopIndex,\n columnStartIndex: this._renderedColumnStartIndex,\n columnStopIndex: this._renderedColumnStopIndex,\n rowOverscanStartIndex: this._rowStartIndex,\n rowOverscanStopIndex: this._rowStopIndex,\n rowStartIndex: this._renderedRowStartIndex,\n rowStopIndex: this._renderedRowStopIndex\n }\n })\n }\n\n _invokeOnScrollMemoizer ({ scrollLeft, scrollTop, totalColumnsWidth, totalRowsHeight }) {\n this._onScrollMemoizer({\n callback: ({ scrollLeft, scrollTop }) => {\n const { height, onScroll, width } = this.props\n\n onScroll({\n clientHeight: height,\n clientWidth: width,\n scrollHeight: totalRowsHeight,\n scrollLeft,\n scrollTop,\n scrollWidth: totalColumnsWidth\n })\n },\n indices: {\n scrollLeft,\n scrollTop\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 onScroll).\n */\n _setNextState (state) {\n this._nextState = state\n\n if (!this._setNextStateAnimationFrameId) {\n this._setNextStateAnimationFrameId = raf(this._setNextStateCallback)\n }\n }\n\n _setNextStateCallback () {\n const state = this._nextState\n\n this._setNextStateAnimationFrameId = null\n this._nextState = null\n\n this.setState(state)\n }\n\n _setScrollPosition ({ scrollLeft, scrollTop }) {\n const newState = {\n scrollPositionChangeReason: SCROLL_POSITION_CHANGE_REASONS.REQUESTED\n }\n\n if (scrollLeft >= 0) {\n newState.scrollLeft = scrollLeft\n }\n\n if (scrollTop >= 0) {\n newState.scrollTop = scrollTop\n }\n\n if (\n scrollLeft >= 0 && scrollLeft !== this.state.scrollLeft ||\n scrollTop >= 0 && scrollTop !== this.state.scrollTop\n ) {\n this.setState(newState)\n }\n }\n\n _wrapCellClassNameGetter (className) {\n return this._wrapPropertyGetter(className)\n }\n\n _wrapCellStyleGetter (style) {\n return this._wrapPropertyGetter(style)\n }\n\n _wrapPropertyGetter (value) {\n return value instanceof Function\n ? value\n : () => value\n }\n\n _wrapSizeGetter (size) {\n return this._wrapPropertyGetter(size)\n }\n\n _updateScrollLeftForScrollToColumn (props = this.props, state = this.state) {\n const { columnCount, scrollToAlignment, scrollToColumn, width } = props\n const { scrollLeft } = state\n\n if (scrollToColumn >= 0 && columnCount > 0) {\n const targetIndex = Math.max(0, Math.min(columnCount - 1, scrollToColumn))\n\n const calculatedScrollLeft = this._columnSizeAndPositionManager.getUpdatedOffsetForIndex({\n align: scrollToAlignment,\n containerSize: width,\n currentOffset: scrollLeft,\n targetIndex\n })\n\n if (scrollLeft !== calculatedScrollLeft) {\n this._setScrollPosition({\n scrollLeft: calculatedScrollLeft\n })\n }\n }\n }\n\n _updateScrollTopForScrollToRow (props = this.props, state = this.state) {\n const { height, rowCount, scrollToAlignment, scrollToRow } = props\n const { scrollTop } = state\n\n if (scrollToRow >= 0 && rowCount > 0) {\n const targetIndex = Math.max(0, Math.min(rowCount - 1, scrollToRow))\n\n const calculatedScrollTop = this._rowSizeAndPositionManager.getUpdatedOffsetForIndex({\n align: scrollToAlignment,\n containerSize: height,\n currentOffset: scrollTop,\n targetIndex\n })\n\n if (scrollTop !== calculatedScrollTop) {\n this._setScrollPosition({\n scrollTop: calculatedScrollTop\n })\n }\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._scrollingContainer) {\n return\n }\n\n // Prevent pointer events from interrupting a smooth scroll\n this._enablePointerEventsAfterDelay()\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 scrollbarSize = this._scrollbarSize\n const totalRowsHeight = this._rowSizeAndPositionManager.getTotalSize()\n const totalColumnsWidth = this._columnSizeAndPositionManager.getTotalSize()\n const scrollLeft = Math.min(Math.max(0, totalColumnsWidth - width + scrollbarSize), event.target.scrollLeft)\n const scrollTop = Math.min(Math.max(0, totalRowsHeight - height + scrollbarSize), event.target.scrollTop)\n\n // Certain devices (like Apple touchpad) rapid-fire duplicate events.\n // Don't force a re-render if this is the case.\n // The mouse may move faster then the animation frame does.\n // Use requestAnimationFrame to avoid over-updating.\n if (\n this.state.scrollLeft !== scrollLeft ||\n this.state.scrollTop !== scrollTop\n ) {\n // Browsers with cancelable scroll events (eg. Firefox) interrupt scrolling animations if scrollTop/scrollLeft is set.\n // Other browsers (eg. Safari) don't scroll as well without the help under certain conditions (DOM or style changes during scrolling).\n // All things considered, this seems to be the best current work around that I'm aware of.\n // For more information see https://github.com/bvaughn/react-virtualized/pull/124\n const scrollPositionChangeReason = event.cancelable\n ? SCROLL_POSITION_CHANGE_REASONS.OBSERVED\n : SCROLL_POSITION_CHANGE_REASONS.REQUESTED\n\n if (!this.state.isScrolling) {\n this.setState({\n isScrolling: true\n })\n }\n\n this._setNextState({\n isScrolling: true,\n scrollLeft,\n scrollPositionChangeReason,\n scrollTop\n })\n }\n\n this._invokeOnScrollMemoizer({ scrollLeft, scrollTop, totalColumnsWidth, totalRowsHeight })\n }\n}\n\n\n\n/** WEBPACK FOOTER **\n ** ./source/Grid/Grid.js\n **/","/**\n * Helper method that determines when to recalculate row or column metadata.\n *\n * @param cellCount 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 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 default function calculateSizeAndPositionDataAndUpdateScrollOffset ({\n cellCount,\n cellSize,\n computeMetadataCallback,\n computeMetadataCallbackProps,\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 cellCount !== 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\n/** WEBPACK FOOTER **\n ** ./source/Grid/utils/calculateSizeAndPositionDataAndUpdateScrollOffset.js\n **/","/** @flow */\nimport CellSizeAndPositionManager from './CellSizeAndPositionManager'\n\n/**\n * Browsers have scroll offset limitations (eg Chrome stops scrolling at ~33.5M pixels).\n * After a certain position, the browser won't allow the user to scroll further (even via JavaScript scroll offset adjustments).\n * This util picks a lower ceiling for max size and artificially adjusts positions within to make it transparent for users.\n */\nexport const DEFAULT_MAX_SCROLL_SIZE = 10000000\n\n/**\n * Extends CellSizeAndPositionManager and adds scaling behavior for lists that are too large to fit within a browser's native limits.\n */\nexport default class ScalingCellSizeAndPositionManager {\n constructor ({\n maxScrollSize = DEFAULT_MAX_SCROLL_SIZE,\n ...params\n }) {\n // Favor composition over inheritance to simplify IE10 support\n this._cellSizeAndPositionManager = new CellSizeAndPositionManager(params)\n this._maxScrollSize = maxScrollSize\n }\n\n configure (params): void {\n this._cellSizeAndPositionManager.configure(params)\n }\n\n getCellCount (): number {\n return this._cellSizeAndPositionManager.getCellCount()\n }\n\n getEstimatedCellSize (): number {\n return this._cellSizeAndPositionManager.getEstimatedCellSize()\n }\n\n getLastMeasuredIndex (): number {\n return this._cellSizeAndPositionManager.getLastMeasuredIndex()\n }\n\n /**\n * Number of pixels a cell at the given position (offset) should be shifted in order to fit within the scaled container.\n * The offset passed to this function is scalled (safe) as well.\n */\n getOffsetAdjustment ({\n containerSize,\n offset // safe\n }: ContainerSizeAndOffset): number {\n const totalSize = this._cellSizeAndPositionManager.getTotalSize()\n const safeTotalSize = this.getTotalSize()\n const offsetPercentage = this._getOffsetPercentage({\n containerSize,\n offset,\n totalSize: safeTotalSize\n })\n\n return Math.round(offsetPercentage * (safeTotalSize - totalSize))\n }\n\n getSizeAndPositionOfCell (index: number) {\n return this._cellSizeAndPositionManager.getSizeAndPositionOfCell(index)\n }\n\n getSizeAndPositionOfLastMeasuredCell () {\n return this._cellSizeAndPositionManager.getSizeAndPositionOfLastMeasuredCell()\n }\n\n /** See CellSizeAndPositionManager#getTotalSize */\n getTotalSize (): number {\n return Math.min(this._maxScrollSize, this._cellSizeAndPositionManager.getTotalSize())\n }\n\n /** See CellSizeAndPositionManager#getUpdatedOffsetForIndex */\n getUpdatedOffsetForIndex ({\n align = 'auto',\n containerSize,\n currentOffset, // safe\n targetIndex,\n totalSize\n }) {\n currentOffset = this._safeOffsetToOffset({\n containerSize,\n offset: currentOffset\n })\n\n const offset = this._cellSizeAndPositionManager.getUpdatedOffsetForIndex({\n align,\n containerSize,\n currentOffset,\n targetIndex,\n totalSize\n })\n\n return this._offsetToSafeOffset({\n containerSize,\n offset\n })\n }\n\n /** See CellSizeAndPositionManager#getVisibleCellRange */\n getVisibleCellRange ({\n containerSize,\n offset // safe\n }: ContainerSizeAndOffset): VisibleCellRange {\n offset = this._safeOffsetToOffset({\n containerSize,\n offset\n })\n\n return this._cellSizeAndPositionManager.getVisibleCellRange({\n containerSize,\n offset\n })\n }\n\n resetCell (index: number): void {\n this._cellSizeAndPositionManager.resetCell(index)\n }\n\n _getOffsetPercentage ({\n containerSize,\n offset, // safe\n totalSize\n }) {\n return totalSize <= containerSize\n ? 0\n : offset / (totalSize - containerSize)\n }\n\n _offsetToSafeOffset ({\n containerSize,\n offset // unsafe\n }: ContainerSizeAndOffset): number {\n const totalSize = this._cellSizeAndPositionManager.getTotalSize()\n const safeTotalSize = this.getTotalSize()\n\n if (totalSize === safeTotalSize) {\n return offset\n } else {\n const offsetPercentage = this._getOffsetPercentage({\n containerSize,\n offset,\n totalSize\n })\n\n return Math.round(offsetPercentage * (safeTotalSize - containerSize))\n }\n }\n\n _safeOffsetToOffset ({\n containerSize,\n offset // safe\n }: ContainerSizeAndOffset): number {\n const totalSize = this._cellSizeAndPositionManager.getTotalSize()\n const safeTotalSize = this.getTotalSize()\n\n if (totalSize === safeTotalSize) {\n return offset\n } else {\n const offsetPercentage = this._getOffsetPercentage({\n containerSize,\n offset,\n totalSize: safeTotalSize\n })\n\n return Math.round(offsetPercentage * (totalSize - containerSize))\n }\n }\n}\n\ntype ContainerSizeAndOffset = {\n containerSize: number,\n offset: number\n};\n\ntype VisibleCellRange = {\n start: ?number,\n stop: ?number\n};\n\n\n\n/** WEBPACK FOOTER **\n ** ./source/Grid/utils/ScalingCellSizeAndPositionManager.js\n **/","/** @flow */\n\n/**\n * Just-in-time calculates and caches size and position information for a collection of cells.\n */\nexport default class CellSizeAndPositionManager {\n constructor ({\n cellCount,\n cellSizeGetter,\n estimatedCellSize\n }: CellSizeAndPositionManagerConstructorParams) {\n this._cellSizeGetter = cellSizeGetter\n this._cellCount = cellCount\n this._estimatedCellSize = estimatedCellSize\n\n // Cache of size and position data for cells, mapped by cell index.\n // Note that invalid values may exist in this map so only rely on cells up to this._lastMeasuredIndex\n this._cellSizeAndPositionData = {}\n\n // Measurements for cells up to this index can be trusted; cells afterward should be estimated.\n this._lastMeasuredIndex = -1\n }\n\n configure ({\n cellCount,\n estimatedCellSize\n }: ConfigureParams): void {\n this._cellCount = cellCount\n this._estimatedCellSize = estimatedCellSize\n }\n\n getCellCount (): number {\n return this._cellCount\n }\n\n getEstimatedCellSize (): number {\n return this._estimatedCellSize\n }\n\n getLastMeasuredIndex (): number {\n return this._lastMeasuredIndex\n }\n\n /**\n * This method returns the size and position for the cell at the specified index.\n * It just-in-time calculates (or used cached values) for cells leading up to the index.\n */\n getSizeAndPositionOfCell (index: number): SizeAndPositionData {\n if (index < 0 || index >= this._cellCount) {\n throw Error(`Requested index ${index} is outside of range 0..${this._cellCount}`)\n }\n\n if (index > this._lastMeasuredIndex) {\n let lastMeasuredCellSizeAndPosition = this.getSizeAndPositionOfLastMeasuredCell()\n let offset = lastMeasuredCellSizeAndPosition.offset + lastMeasuredCellSizeAndPosition.size\n\n for (var i = this._lastMeasuredIndex + 1; i <= index; i++) {\n let size = this._cellSizeGetter({ index: i })\n\n if (size == null || isNaN(size)) {\n throw Error(`Invalid size returned for cell ${i} of value ${size}`)\n }\n\n this._cellSizeAndPositionData[i] = {\n offset,\n size\n }\n\n offset += size\n }\n\n this._lastMeasuredIndex = index\n }\n\n return this._cellSizeAndPositionData[index]\n }\n\n getSizeAndPositionOfLastMeasuredCell (): SizeAndPositionData {\n return this._lastMeasuredIndex >= 0\n ? this._cellSizeAndPositionData[this._lastMeasuredIndex]\n : {\n offset: 0,\n size: 0\n }\n }\n\n /**\n * Total size of all cells being measured.\n * This value will be completedly estimated initially.\n * As cells as measured the estimate will be updated.\n */\n getTotalSize (): number {\n const lastMeasuredCellSizeAndPosition = this.getSizeAndPositionOfLastMeasuredCell()\n\n return lastMeasuredCellSizeAndPosition.offset + lastMeasuredCellSizeAndPosition.size + (this._cellCount - this._lastMeasuredIndex - 1) * this._estimatedCellSize\n }\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 align Desired alignment within container; one of \"auto\" (default), \"start\", or \"end\"\n * @param containerSize Size (width or height) of the container viewport\n * @param currentOffset Container's current (x or y) offset\n * @param totalSize Total size (width or height) of all cells\n * @return Offset to use to ensure the specified cell is visible\n */\n getUpdatedOffsetForIndex ({\n align = 'auto',\n containerSize,\n currentOffset,\n targetIndex\n }) {\n const datum = this.getSizeAndPositionOfCell(targetIndex)\n const maxOffset = datum.offset\n const minOffset = maxOffset - containerSize + datum.size\n\n let idealOffset\n\n switch (align) {\n case 'start':\n idealOffset = maxOffset\n break\n case 'end':\n idealOffset = minOffset\n break\n case 'center':\n idealOffset = maxOffset - ((containerSize - datum.size) / 2)\n break\n default:\n idealOffset = Math.max(minOffset, Math.min(maxOffset, currentOffset))\n break\n }\n\n const totalSize = this.getTotalSize()\n\n return Math.max(0, Math.min(totalSize - containerSize, idealOffset))\n }\n\n getVisibleCellRange ({\n containerSize,\n offset\n }: GetVisibleCellRangeParams): VisibleCellRange {\n const totalSize = this.getTotalSize()\n\n if (totalSize === 0) {\n return {}\n }\n\n const maxOffset = offset + containerSize\n const start = this._findNearestCell(offset)\n\n const datum = this.getSizeAndPositionOfCell(start)\n offset = datum.offset + datum.size\n\n let stop = start\n\n while (offset < maxOffset && stop < this._cellCount - 1) {\n stop++\n\n offset += this.getSizeAndPositionOfCell(stop).size\n }\n\n return {\n start,\n stop\n }\n }\n\n /**\n * Clear all cached values for cells after the specified index.\n * This method should be called for any cell that has changed its size.\n * It will not immediately perform any calculations; they'll be performed the next time getSizeAndPositionOfCell() is called.\n */\n resetCell (index: number): void {\n this._lastMeasuredIndex = Math.min(this._lastMeasuredIndex, index - 1)\n }\n\n _binarySearch ({\n high,\n low,\n offset\n }): number {\n let middle\n let currentOffset\n\n while (low <= high) {\n middle = low + Math.floor((high - low) / 2)\n currentOffset = this.getSizeAndPositionOfCell(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 (low > 0) {\n return low - 1\n }\n }\n\n _exponentialSearch ({\n index,\n offset\n }): number {\n let interval = 1\n\n while (\n index < this._cellCount &&\n this.getSizeAndPositionOfCell(index).offset < offset\n ) {\n index += interval\n interval *= 2\n }\n\n return this._binarySearch({\n high: Math.min(index, this._cellCount - 1),\n low: Math.floor(index / 2),\n offset\n })\n }\n\n /**\n * Searches for the cell (index) nearest the specified offset.\n *\n * If no exact match is found the next lowest cell index will be returned.\n * This allows partially visible cells (with offsets just before/above the fold) to be visible.\n */\n _findNearestCell (offset: number): number {\n if (isNaN(offset)) {\n throw Error(`Invalid offset ${offset} specified`)\n }\n\n // Our search algorithms find the nearest match at or below the specified offset.\n // So make sure the offset is at least 0 or no match will be found.\n offset = Math.max(0, offset)\n\n const lastMeasuredCellSizeAndPosition = this.getSizeAndPositionOfLastMeasuredCell()\n const lastMeasuredIndex = Math.max(0, this._lastMeasuredIndex)\n\n if (lastMeasuredCellSizeAndPosition.offset >= offset) {\n // If we've already measured cells within this range just use a binary search as it's faster.\n return this._binarySearch({\n high: lastMeasuredIndex,\n low: 0,\n offset\n })\n } else {\n // If we haven't yet measured this high, fallback to an exponential search with an inner binary search.\n // The exponential search avoids pre-computing sizes for the full set of cells as a binary search would.\n // The overall complexity for this approach is O(log n).\n return this._exponentialSearch({\n index: lastMeasuredIndex,\n offset\n })\n }\n }\n}\n\ntype CellSizeAndPositionManagerConstructorParams = {\n cellCount: number,\n cellSizeGetter: Function,\n estimatedCellSize: number\n};\n\ntype ConfigureParams = {\n cellCount: number,\n estimatedCellSize: number\n};\n\ntype GetVisibleCellRangeParams = {\n containerSize: number,\n offset: number\n};\n\ntype SizeAndPositionData = {\n offset: number,\n size: number\n};\n\ntype VisibleCellRange = {\n start: ?number,\n stop: ?number\n};\n\n\n\n/** WEBPACK FOOTER **\n ** ./source/Grid/utils/CellSizeAndPositionManager.js\n **/","/**\n * Calculates the number of cells to overscan before and after a specified range.\n * This function ensures that overscanning doesn't exceed the available cells.\n *\n * @param cellCount Number of rows or columns in the current axis\n * @param overscanCellsCount Maximum number of cells to over-render in either direction\n * @param startIndex Begin of range of visible cells\n * @param stopIndex End of range of visible cells\n */\nexport default function getOverscanIndices ({ cellCount, overscanCellsCount, startIndex, stopIndex }) {\n return {\n overscanStartIndex: Math.max(0, startIndex - overscanCellsCount),\n overscanStopIndex: Math.min(cellCount - 1, stopIndex + overscanCellsCount)\n }\n}\n\n\n\n/** WEBPACK FOOTER **\n ** ./source/Grid/utils/getOverscanIndices.js\n **/","/**\n * Helper function that determines when to update scroll offsets to ensure that a scroll-to-index remains visible.\n * This function also ensures that the scroll ofset isn't past the last column/row of cells.\n *\n * @param cellsSize Width or height of cells for the current axis\n * @param cellSizeAndPositionManager Manages size and position metadata of cells\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 scroll-to-index value\n */\nexport default function updateScrollIndexHelper ({\n cellSize,\n cellSizeAndPositionManager,\n previousCellsCount,\n previousCellSize,\n previousScrollToAlignment,\n previousScrollToIndex,\n previousSize,\n scrollOffset,\n scrollToAlignment,\n scrollToIndex,\n size,\n updateScrollIndexCallback\n}) {\n const cellCount = cellSizeAndPositionManager.getCellCount()\n const hasScrollToIndex = scrollToIndex >= 0 && scrollToIndex < cellCount\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 (\n hasScrollToIndex &&\n (\n sizeHasChanged ||\n scrollToAlignment !== previousScrollToAlignment ||\n scrollToIndex !== previousScrollToIndex\n )\n ) {\n updateScrollIndexCallback(scrollToIndex)\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 (\n !hasScrollToIndex &&\n cellCount > 0 &&\n (\n size < previousSize ||\n cellCount < previousCellsCount\n )\n ) {\n scrollToIndex = cellCount - 1\n\n const calculatedScrollOffset = cellSizeAndPositionManager.getUpdatedOffsetForIndex({\n containerSize: size,\n currentOffset: scrollOffset,\n targetIndex: scrollToIndex\n })\n\n // Only adjust the scroll position if we've scrolled below the last set of rows.\n if (calculatedScrollOffset < scrollOffset) {\n updateScrollIndexCallback(cellCount - 1)\n }\n }\n}\n\n\n\n/** WEBPACK FOOTER **\n ** ./source/Grid/utils/updateScrollIndexHelper.js\n **/","/** @flow */\nimport React from 'react'\nimport cn from 'classnames'\n\n/**\n * Default implementation of cellRangeRenderer used by Grid.\n * This renderer supports cell-caching while the user is scrolling.\n */\nexport default function defaultCellRangeRenderer ({\n cellCache,\n cellClassName,\n cellRenderer,\n cellStyle,\n columnSizeAndPositionManager,\n columnStartIndex,\n columnStopIndex,\n horizontalOffsetAdjustment,\n isScrolling,\n rowSizeAndPositionManager,\n rowStartIndex,\n rowStopIndex,\n scrollLeft,\n scrollTop,\n verticalOffsetAdjustment\n}: DefaultCellRangeRendererParams) {\n const renderedCells = []\n\n for (let rowIndex = rowStartIndex; rowIndex <= rowStopIndex; rowIndex++) {\n let rowDatum = rowSizeAndPositionManager.getSizeAndPositionOfCell(rowIndex)\n\n for (let columnIndex = columnStartIndex; columnIndex <= columnStopIndex; columnIndex++) {\n let columnDatum = columnSizeAndPositionManager.getSizeAndPositionOfCell(columnIndex)\n let key = `${rowIndex}-${columnIndex}`\n let cellStyleObject = cellStyle({ rowIndex, columnIndex })\n let renderedCell\n\n // Avoid re-creating cells while scrolling.\n // This can lead to the same cell being created many times and can cause performance issues for \"heavy\" cells.\n // If a scroll is in progress- cache and reuse cells.\n // This cache will be thrown away once scrolling complets.\n if (isScrolling) {\n if (!cellCache[key]) {\n cellCache[key] = cellRenderer({\n columnIndex,\n isScrolling,\n rowIndex\n })\n }\n renderedCell = cellCache[key]\n // If the user is no longer scrolling, don't cache cells.\n // This makes dynamic cell content difficult for users and would also lead to a heavier memory footprint.\n } else {\n renderedCell = cellRenderer({\n columnIndex,\n isScrolling,\n rowIndex\n })\n }\n\n if (renderedCell == null || renderedCell === false) {\n continue\n }\n\n const className = cellClassName({ columnIndex, rowIndex })\n\n let child = (\n \n {renderedCell}\n \n )\n\n renderedCells.push(child)\n }\n }\n\n return renderedCells\n}\n\ntype DefaultCellRangeRendererParams = {\n cellCache: Object,\n cellClassName: Function,\n cellRenderer: Function,\n cellStyle: Function,\n columnSizeAndPositionManager: Object,\n columnStartIndex: number,\n columnStopIndex: number,\n horizontalOffsetAdjustment: number,\n isScrolling: boolean,\n rowSizeAndPositionManager: Object,\n rowStartIndex: number,\n rowStopIndex: number,\n scrollLeft: number,\n scrollTop: number,\n verticalOffsetAdjustment: number\n};\n\n\n\n/** WEBPACK FOOTER **\n ** ./source/Grid/defaultCellRangeRenderer.js\n **/","/* @flow */\nexport default from './FlexTable'\nexport defaultRowRenderer from './defaultRowRenderer'\nexport FlexTable from './FlexTable'\nexport FlexColumn from './FlexColumn'\nexport SortDirection from './SortDirection'\nexport SortIndicator from './SortIndicator'\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 { findDOMNode } from 'react-dom'\nimport shallowCompare from 'react-addons-shallow-compare'\nimport Grid from '../Grid'\nimport defaultRowRenderer from './defaultRowRenderer'\nimport SortDirection from './SortDirection'\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 static propTypes = {\n 'aria-label': PropTypes.string,\n\n /**\n * Removes fixed height from the scrollingContainer so that the total height\n * of rows can stretch the window. Intended for use with WindowScroller\n */\n autoHeight: PropTypes.bool,\n\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\n /** Optional CSS class name */\n className: PropTypes.string,\n\n /** Disable rendering the header at all */\n disableHeader: PropTypes.bool,\n\n /**\n * Used to estimate the total height of a FlexTable before all of its rows have actually been measured.\n * The estimated total height is adjusted as rows are rendered.\n */\n estimatedRowSize: PropTypes.number.isRequired,\n\n /** Optional custom CSS class name to attach to inner Grid element. */\n gridClassName: PropTypes.string,\n\n /** Optional inline style to attach to inner Grid element. */\n gridStyle: PropTypes.object,\n\n /** Optional CSS class to apply to all column headers */\n headerClassName: PropTypes.string,\n\n /** Fixed height of header row */\n headerHeight: PropTypes.number.isRequired,\n\n /** Fixed/available height for out DOM element */\n height: PropTypes.number.isRequired,\n\n /** Optional renderer to be used in place of table body rows when rowCount is 0 */\n noRowsRenderer: PropTypes.func,\n\n /**\n * Optional callback when a column's header is clicked.\n * ({ columnData: any, dataKey: string }): void\n */\n onHeaderClick: PropTypes.func,\n\n /** Optional custom inline style to attach to table header columns. */\n headerStyle: PropTypes.object,\n\n /**\n * Callback invoked when a user clicks on a table row.\n * ({ index: number }): void\n */\n onRowClick: PropTypes.func,\n\n /**\n * Callback invoked when a user double-clicks on a table row.\n * ({ index: number }): void\n */\n onRowDoubleClick: PropTypes.func,\n\n /**\n * Callback invoked when the mouse leaves a table row.\n * ({ index: number }): void\n */\n onRowMouseOut: PropTypes.func,\n\n /**\n * Callback invoked when a user moves the mouse over a table row.\n * ({ index: number }): void\n */\n onRowMouseOver: PropTypes.func,\n\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 /**\n * Callback invoked whenever the scroll offset changes within the inner scrollable region.\n * This callback can be used to sync scrolling between lists, tables, or grids.\n * ({ clientHeight, scrollHeight, scrollTop }): void\n */\n onScroll: PropTypes.func.isRequired,\n\n /**\n * Number of rows to render above/below the visible bounds of the list.\n * These rows can help for smoother scrolling on touch devices.\n */\n overscanRowCount: PropTypes.number.isRequired,\n\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: ({ index: number }): string\n */\n rowClassName: PropTypes.oneOfType([PropTypes.string, PropTypes.func]),\n\n /**\n * Callback responsible for returning a data row given an index.\n * ({ index: number }): any\n */\n rowGetter: 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 * ({ index: number }): number\n */\n rowHeight: PropTypes.oneOfType([PropTypes.number, PropTypes.func]).isRequired,\n\n /** Number of rows in table. */\n rowCount: PropTypes.number.isRequired,\n\n /**\n * Responsible for rendering a table row given an array of columns:\n * Should implement the following interface: ({\n * className: string,\n * columns: Array,\n * index: number,\n * isScrolling: boolean,\n * onRowClick: ?Function,\n * onRowDoubleClick: ?Function,\n * onRowMouseOver: ?Function,\n * onRowMouseOut: ?Function,\n * rowData: any,\n * style: any\n * }): PropTypes.node\n */\n rowRenderer: PropTypes.func,\n\n /** Optional custom inline style to attach to table rows. */\n rowStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.func]).isRequired,\n\n /** Optional custom CSS class for individual rows */\n rowWrapperClassName: PropTypes.oneOfType([PropTypes.string, PropTypes.func]),\n\n /** Optional custom CSS class for individual rows */\n rowWrapperStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.func]),\n\n /** See Grid#scrollToAlignment */\n scrollToAlignment: PropTypes.oneOf(['auto', 'end', 'start', 'center']).isRequired,\n\n /** Row index to ensure visible (by forcefully scrolling if necessary) */\n scrollToIndex: PropTypes.number,\n\n /** Vertical offset. */\n scrollTop: PropTypes.number,\n\n /**\n * Sort function to be called if a sortable header is clicked.\n * ({ sortBy: string, sortDirection: SortDirection }): void\n */\n sort: PropTypes.func,\n\n /** FlexTable data is currently sorted by this :dataKey (if it is sorted at all) */\n sortBy: PropTypes.string,\n\n /** FlexTable data is currently sorted in this direction (if it is sorted at all) */\n sortDirection: PropTypes.oneOf([SortDirection.ASC, SortDirection.DESC]),\n\n /** Optional inline style */\n style: PropTypes.object,\n\n /** Tab index for focus */\n tabIndex: PropTypes.number,\n\n /** Width of list */\n width: PropTypes.number.isRequired\n }\n\n static defaultProps = {\n disableHeader: false,\n estimatedRowSize: 30,\n headerHeight: 0,\n headerStyle: {},\n noRowsRenderer: () => null,\n onRowsRendered: () => null,\n onScroll: () => null,\n overscanRowCount: 10,\n rowRenderer: defaultRowRenderer,\n rowStyle: {},\n scrollToAlignment: 'auto',\n style: {}\n }\n\n constructor (props) {\n super(props)\n\n this.state = {\n scrollbarWidth: 0\n }\n\n this._cellClassName = this._cellClassName.bind(this)\n this._cellStyle = this._cellStyle.bind(this)\n this._createColumn = this._createColumn.bind(this)\n this._createRow = this._createRow.bind(this)\n this._onScroll = this._onScroll.bind(this)\n this._onSectionRendered = this._onSectionRendered.bind(this)\n }\n\n forceUpdateGrid () {\n this.Grid.forceUpdate()\n }\n\n /** See Grid#measureAllCells */\n measureAllRows () {\n this.Grid.measureAllCells()\n }\n\n /** See Grid#recomputeGridSize */\n recomputeRowHeights (index = 0) {\n this.Grid.recomputeGridSize({\n rowIndex: index\n })\n this.forceUpdateGrid()\n }\n\n componentDidMount () {\n this._setScrollbarWidth()\n }\n\n componentDidUpdate () {\n this._setScrollbarWidth()\n }\n\n render () {\n const {\n children,\n className,\n disableHeader,\n gridClassName,\n gridStyle,\n headerHeight,\n height,\n noRowsRenderer,\n rowClassName,\n rowStyle,\n scrollToIndex,\n style,\n width\n } = this.props\n const { scrollbarWidth } = this.state\n\n const availableRowsHeight = height - headerHeight\n\n const rowClass = rowClassName instanceof Function ? rowClassName({ index: -1 }) : rowClassName\n const rowStyleObject = rowStyle instanceof Function ? rowStyle({ index: -1 }) : rowStyle\n\n // Precompute and cache column styles before rendering rows and columns to speed things up\n this._cachedColumnStyles = []\n React.Children.toArray(children).forEach((column, index) => {\n this._cachedColumnStyles[index] = this._getFlexStyleForColumn(column, column.props.style)\n })\n\n // Note that we specify :numChildren, :scrollbarWidth, :sortBy, and :sortDirection as properties on Grid even though these have nothing to do with Grid.\n // This is done because Grid is a pure component and won't update unless its properties or state has changed.\n // Any property that should trigger a re-render of Grid then is specified here to avoid a stale display.\n return (\n \n {!disableHeader && (\n \n {this._getRenderedHeaderRow()}\n \n )}\n\n {\n this.Grid = ref\n }}\n scrollbarWidth={scrollbarWidth}\n scrollToRow={scrollToIndex}\n style={gridStyle}\n />\n \n )\n }\n\n shouldComponentUpdate (nextProps, nextState) {\n return shallowCompare(this, nextProps, nextState)\n }\n\n _cellClassName ({ rowIndex }) {\n const { rowWrapperClassName } = this.props\n\n return rowWrapperClassName instanceof Function\n ? rowWrapperClassName({ index: rowIndex - 1 })\n : rowWrapperClassName\n }\n\n _cellStyle ({ rowIndex }) {\n const { rowWrapperStyle } = this.props\n\n return rowWrapperStyle instanceof Function\n ? rowWrapperStyle({ index: rowIndex - 1 })\n : rowWrapperStyle\n }\n\n _createColumn ({\n column,\n columnIndex,\n isScrolling,\n rowData,\n rowIndex\n }) {\n const {\n cellDataGetter,\n cellRenderer,\n className,\n columnData,\n dataKey\n } = column.props\n\n const cellData = cellDataGetter({ columnData, dataKey, rowData })\n const renderedCell = cellRenderer({ cellData, columnData, dataKey, isScrolling, rowData, rowIndex })\n\n const style = this._cachedColumnStyles[columnIndex]\n\n const title = typeof renderedCell === 'string'\n ? renderedCell\n : null\n\n return (\n \n {renderedCell}\n \n )\n }\n\n _createHeader ({ column, index }) {\n const { headerClassName, headerStyle, onHeaderClick, sort, sortBy, sortDirection } = this.props\n const { dataKey, disableSort, headerRenderer, label, columnData } = column.props\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 style = this._getFlexStyleForColumn(column, headerStyle)\n\n const renderedHeader = headerRenderer({\n columnData,\n dataKey,\n disableSort,\n label,\n sortBy,\n sortDirection\n })\n\n const a11yProps = {}\n\n if (sortEnabled || onHeaderClick) {\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\n const onClick = () => {\n sortEnabled && sort({\n sortBy: dataKey,\n sortDirection: newSortDirection\n })\n onHeaderClick && onHeaderClick({ columnData, dataKey })\n }\n\n const onKeyDown = (event) => {\n if (event.key === 'Enter' || event.key === ' ') {\n onClick()\n }\n }\n\n a11yProps['aria-label'] = column.props['aria-label'] || label || dataKey\n a11yProps.role = 'rowheader'\n a11yProps.tabIndex = 0\n a11yProps.onClick = onClick\n a11yProps.onKeyDown = onKeyDown\n }\n\n return (\n \n {renderedHeader}\n \n )\n }\n\n _createRow ({\n rowIndex: index,\n isScrolling\n }) {\n const {\n children,\n onRowClick,\n onRowDoubleClick,\n onRowMouseOver,\n onRowMouseOut,\n rowClassName,\n rowGetter,\n rowRenderer,\n rowStyle\n } = this.props\n\n const { scrollbarWidth } = this.state\n\n const rowClass = rowClassName instanceof Function ? rowClassName({ index }) : rowClassName\n const rowStyleObject = rowStyle instanceof Function ? rowStyle({ index }) : rowStyle\n const rowData = rowGetter({ index })\n\n const columns = React.Children.toArray(children).map(\n (column, columnIndex) => this._createColumn({\n column,\n columnIndex,\n isScrolling,\n rowData,\n rowIndex: index,\n scrollbarWidth\n })\n )\n\n const className = cn('FlexTable__row', rowClass)\n const style = {\n ...rowStyleObject,\n height: this._getRowHeight(index),\n paddingRight: scrollbarWidth\n }\n\n return rowRenderer({\n className,\n columns,\n index,\n isScrolling,\n onRowClick,\n onRowDoubleClick,\n onRowMouseOver,\n onRowMouseOut,\n rowData,\n style\n })\n }\n\n /**\n * Determines the flex-shrink, flex-grow, and width values for a cell (header or column).\n */\n _getFlexStyleForColumn (column, customStyle = {}) {\n const flexValue = `${column.props.flexGrow} ${column.props.flexShrink} ${column.props.width}px`\n\n const style = {\n ...customStyle,\n flex: flexValue,\n msFlex: flexValue,\n WebkitFlex: flexValue\n }\n\n if (column.props.maxWidth) {\n style.maxWidth = column.props.maxWidth\n }\n\n if (column.props.minWidth) {\n style.minWidth = column.props.minWidth\n }\n\n return style\n }\n\n _getRenderedHeaderRow () {\n const { children, disableHeader } = this.props\n const items = disableHeader ? [] : React.Children.toArray(children)\n\n return items.map((column, index) =>\n this._createHeader({ column, index })\n )\n }\n\n _getRowHeight (rowIndex) {\n const { rowHeight } = this.props\n\n return rowHeight instanceof Function\n ? rowHeight({ index: rowIndex })\n : rowHeight\n }\n\n _onScroll ({ clientHeight, scrollHeight, scrollTop }) {\n const { onScroll } = this.props\n\n onScroll({ clientHeight, scrollHeight, scrollTop })\n }\n\n _onSectionRendered ({ rowOverscanStartIndex, rowOverscanStopIndex, rowStartIndex, rowStopIndex }) {\n const { onRowsRendered } = this.props\n\n onRowsRendered({\n overscanStartIndex: rowOverscanStartIndex,\n overscanStopIndex: rowOverscanStopIndex,\n startIndex: rowStartIndex,\n stopIndex: rowStopIndex\n })\n }\n\n _setScrollbarWidth () {\n const Grid = findDOMNode(this.Grid)\n const clientWidth = Grid.clientWidth || 0\n const offsetWidth = Grid.offsetWidth || 0\n const scrollbarWidth = offsetWidth - clientWidth\n\n this.setState({ scrollbarWidth })\n }\n}\n\n\n\n/** WEBPACK FOOTER **\n ** ./source/FlexTable/FlexTable.js\n **/","/** @flow */\nimport { Component, PropTypes } from 'react'\nimport defaultHeaderRenderer from './defaultHeaderRenderer'\nimport defaultCellRenderer from './defaultCellRenderer'\nimport defaultCellDataGetter from './defaultCellDataGetter'\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 cellStyle: {},\n flexGrow: 0,\n flexShrink: 1,\n headerRenderer: defaultHeaderRenderer\n }\n\n static propTypes = {\n /** Optional aria-label value to set on the column header */\n 'aria-label': PropTypes.string,\n\n /**\n * Callback responsible for returning a cell's data, given its :dataKey\n * ({ columnData: any, dataKey: string, rowData: any }): any\n */\n cellDataGetter: PropTypes.func,\n\n /**\n * Callback responsible for rendering a cell's contents.\n * ({ cellData: any, columnData: any, dataKey: string, rowData: any, rowIndex: number }): node\n */\n cellRenderer: PropTypes.func,\n\n /** Optional CSS class to apply to cell */\n className: PropTypes.string,\n\n /** Optional additional data passed to this column's :cellDataGetter */\n columnData: PropTypes.object,\n\n /** Uniquely identifies the row-data attribute correspnding to this cell */\n dataKey: PropTypes.any.isRequired,\n\n /** If sort is enabled for the table at large, disable it for this column */\n disableSort: PropTypes.bool,\n\n /** Flex grow style; defaults to 0 */\n flexGrow: PropTypes.number,\n\n /** Flex shrink style; defaults to 1 */\n flexShrink: PropTypes.number,\n\n /** Optional CSS class to apply to this column's header */\n headerClassName: PropTypes.string,\n\n /**\n * Optional callback responsible for rendering a column header contents.\n * ({ columnData: object, dataKey: string, disableSort: boolean, label: string, sortBy: string, sortDirection: string }): PropTypes.node\n */\n headerRenderer: PropTypes.func.isRequired,\n\n /** Header label for this column */\n label: PropTypes.string,\n\n /** Maximum width of column; this property will only be used if :flexGrow is > 0. */\n maxWidth: PropTypes.number,\n\n /** Minimum width of column. */\n minWidth: PropTypes.number,\n\n /** Optional inline style to apply to cell */\n style: PropTypes.object,\n\n /** Flex basis (width) for this column; This value can grow or shrink based on :flexGrow and :flexShrink properties. */\n width: PropTypes.number.isRequired\n }\n}\n\n\n\n/** WEBPACK FOOTER **\n ** ./source/FlexTable/FlexColumn.js\n **/","/** @flow */\nimport React from 'react'\nimport SortIndicator from './SortIndicator'\nimport type { HeaderRendererParams } from './types'\n\n/**\n * Default table header renderer.\n */\nexport default function defaultHeaderRenderer ({\n columnData,\n dataKey,\n disableSort,\n label,\n sortBy,\n sortDirection\n}: HeaderRendererParams) {\n const showSortIndicator = sortBy === dataKey\n const children = [\n \n {label}\n \n ]\n\n if (showSortIndicator) {\n children.push(\n \n )\n }\n\n return children\n}\n\n\n\n/** WEBPACK FOOTER **\n ** ./source/FlexTable/defaultHeaderRenderer.js\n **/","import React, { PropTypes } from 'react'\nimport cn from 'classnames'\nimport SortDirection from './SortDirection'\n\n/**\n * Displayed beside a header to indicate that a FlexTable is currently sorted by this column.\n */\nexport default 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/SortIndicator.js\n **/","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\nexport default SortDirection\n\n\n\n/** WEBPACK FOOTER **\n ** ./source/FlexTable/SortDirection.js\n **/","/** @flow */\nimport type { CellRendererParams } from './types'\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 default function defaultCellRenderer ({\n cellData,\n cellDataKey,\n columnData,\n rowData,\n rowIndex\n}: CellRendererParams): string {\n if (cellData == null) {\n return ''\n } else {\n return String(cellData)\n }\n}\n\n\n\n/** WEBPACK FOOTER **\n ** ./source/FlexTable/defaultCellRenderer.js\n **/","/** @flow */\nimport type { CellDataGetterParams } from './types'\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 default function defaultCellDataGetter ({\n columnData,\n dataKey,\n rowData\n}: CellDataGetterParams) {\n if (rowData.get instanceof Function) {\n return rowData.get(dataKey)\n } else {\n return rowData[dataKey]\n }\n}\n\n\n\n/** WEBPACK FOOTER **\n ** ./source/FlexTable/defaultCellDataGetter.js\n **/","/** @flow */\nimport React from 'react'\nimport type { RowRendererParams } from './types'\n\n/**\n * Default row renderer for FlexTable.\n */\nexport default function defaultRowRenderer ({\n className,\n columns,\n index,\n isScrolling,\n onRowClick,\n onRowDoubleClick,\n onRowMouseOver,\n onRowMouseOut,\n rowData,\n style\n}: RowRendererParams) {\n const a11yProps = {}\n\n if (\n onRowClick ||\n onRowDoubleClick ||\n onRowMouseOver ||\n onRowMouseOut\n ) {\n a11yProps['aria-label'] = 'row'\n a11yProps.role = 'row'\n a11yProps.tabIndex = 0\n\n if (onRowClick) {\n a11yProps.onClick = () => onRowClick({ index })\n }\n if (onRowDoubleClick) {\n a11yProps.onDoubleClick = () => onRowDoubleClick({ index })\n }\n if (onRowMouseOut) {\n a11yProps.onMouseOut = () => onRowMouseOut({ index })\n }\n if (onRowMouseOver) {\n a11yProps.onMouseOver = () => onRowMouseOver({ index })\n }\n }\n\n return (\n \n {columns}\n \n )\n}\n\n\n\n/** WEBPACK FOOTER **\n ** ./source/FlexTable/defaultRowRenderer.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 { Component, PropTypes } from 'react'\nimport shallowCompare from 'react-addons-shallow-compare'\n\n/**\n * Higher-order component that manages lazy-loading for \"infinite\" data.\n * This component decorates a virtual component and just-in-time prefetches rows as a user scrolls.\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 static propTypes = {\n /**\n * Function respondible for rendering a virtualized component.\n * This function should implement the following signature:\n * ({ onRowsRendered, registerChild }) => PropTypes.element\n *\n * The specified :onRowsRendered function should be passed through to the child's :onRowsRendered property.\n * The :registerChild callback should be set as the virtualized component's :ref.\n */\n children: PropTypes.func.isRequired,\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.isRequired,\n\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 /**\n * Minimum number of rows to be loaded at a time.\n * This property can be used to batch requests to reduce HTTP requests.\n */\n minimumBatchSize: PropTypes.number.isRequired,\n\n /**\n * Number of rows in list; can be arbitrary high number if actual number is unknown.\n */\n rowCount: PropTypes.number.isRequired,\n\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.isRequired\n }\n\n static defaultProps = {\n minimumBatchSize: 10,\n rowCount: 0,\n threshold: 15\n }\n\n constructor (props, context) {\n super(props, context)\n\n this._onRowsRendered = this._onRowsRendered.bind(this)\n this._registerChild = this._registerChild.bind(this)\n }\n\n render () {\n const { children } = this.props\n\n return children({\n onRowsRendered: this._onRowsRendered,\n registerChild: this._registerChild\n })\n }\n\n shouldComponentUpdate (nextProps, nextState) {\n return shallowCompare(this, nextProps, nextState)\n }\n\n _onRowsRendered ({ startIndex, stopIndex }) {\n const { isRowLoaded, loadMoreRows, minimumBatchSize, rowCount, threshold } = this.props\n\n this._lastRenderedStartIndex = startIndex\n this._lastRenderedStopIndex = stopIndex\n\n const unloadedRanges = scanForUnloadedRanges({\n isRowLoaded,\n minimumBatchSize,\n rowCount,\n startIndex: Math.max(0, startIndex - threshold),\n stopIndex: Math.min(rowCount - 1, 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 // Otherwise they will remain in their unloaded visual state.\n if (\n isRangeVisible({\n lastRenderedStartIndex: this._lastRenderedStartIndex,\n lastRenderedStopIndex: this._lastRenderedStopIndex,\n startIndex: unloadedRange.startIndex,\n stopIndex: unloadedRange.stopIndex\n })\n ) {\n if (this._registeredChild) {\n this._registeredChild.forceUpdate()\n }\n }\n })\n }\n })\n }\n\n _registerChild (registeredChild) {\n this._registeredChild = registeredChild\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 ({\n isRowLoaded,\n minimumBatchSize,\n rowCount,\n startIndex,\n stopIndex\n}) {\n const unloadedRanges = []\n\n let rangeStartIndex = null\n let rangeStopIndex = null\n\n for (let index = startIndex; index <= stopIndex; index++) {\n let loaded = isRowLoaded({ index })\n\n if (!loaded) {\n rangeStopIndex = index\n if (rangeStartIndex === null) {\n rangeStartIndex = index\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 is not null it means we haven't ran out of unloaded rows.\n // Scan forward to try filling our :minimumBatchSize.\n if (rangeStopIndex !== null) {\n const potentialStopIndex = Math.min(\n Math.max(\n rangeStopIndex,\n rangeStartIndex + minimumBatchSize - 1\n ),\n rowCount - 1\n )\n\n for (let index = rangeStopIndex + 1; index <= potentialStopIndex; index++) {\n if (!isRowLoaded({ index })) {\n rangeStopIndex = index\n } else {\n break\n }\n }\n\n unloadedRanges.push({\n startIndex: rangeStartIndex,\n stopIndex: rangeStopIndex\n })\n }\n\n // Check to see if our first range ended prematurely.\n // In this case we should scan backwards to try filling our :minimumBatchSize.\n if (unloadedRanges.length) {\n const firstUnloadedRange = unloadedRanges[0]\n\n while (\n firstUnloadedRange.stopIndex - firstUnloadedRange.startIndex + 1 < minimumBatchSize &&\n firstUnloadedRange.startIndex > 0\n ) {\n let index = firstUnloadedRange.startIndex - 1\n\n if (!isRowLoaded({ index })) {\n firstUnloadedRange.startIndex = index\n } else {\n break\n }\n }\n }\n\n return unloadedRanges\n}\n\n\n\n/** WEBPACK FOOTER **\n ** ./source/InfiniteLoader/InfiniteLoader.js\n **/","/** @flow */\nexport default from './ScrollSync'\nexport ScrollSync from './ScrollSync'\n\n\n\n/** WEBPACK FOOTER **\n ** ./source/ScrollSync/index.js\n **/","import { Component, PropTypes } from 'react'\nimport shallowCompare from 'react-addons-shallow-compare'\n\n/**\n * HOC that simplifies the process of synchronizing scrolling between two or more virtualized components.\n */\nexport default class ScrollSync extends Component {\n static propTypes = {\n /**\n * Function respondible for rendering 2 or more virtualized components.\n * This function should implement the following signature:\n * ({ onScroll, scrollLeft, scrollTop }) => PropTypes.element\n */\n children: PropTypes.func.isRequired\n }\n\n constructor (props, context) {\n super(props, context)\n\n this.state = {\n clientHeight: 0,\n clientWidth: 0,\n scrollHeight: 0,\n scrollLeft: 0,\n scrollTop: 0,\n scrollWidth: 0\n }\n\n this._onScroll = this._onScroll.bind(this)\n }\n\n render () {\n const { children } = this.props\n const { clientHeight, clientWidth, scrollHeight, scrollLeft, scrollTop, scrollWidth } = this.state\n\n return children({\n clientHeight,\n clientWidth,\n onScroll: this._onScroll,\n scrollHeight,\n scrollLeft,\n scrollTop,\n scrollWidth\n })\n }\n\n shouldComponentUpdate (nextProps, nextState) {\n return shallowCompare(this, nextProps, nextState)\n }\n\n _onScroll ({ clientHeight, clientWidth, scrollHeight, scrollLeft, scrollTop, scrollWidth }) {\n this.setState({ clientHeight, clientWidth, scrollHeight, scrollLeft, scrollTop, scrollWidth })\n }\n}\n\n\n\n/** WEBPACK FOOTER **\n ** ./source/ScrollSync/ScrollSync.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 Grid from '../Grid'\nimport React, { Component, PropTypes } from 'react'\nimport cn from 'classnames'\nimport shallowCompare from 'react-addons-shallow-compare'\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 static propTypes = {\n 'aria-label': PropTypes.string,\n\n /**\n * Removes fixed height from the scrollingContainer so that the total height\n * of rows can stretch the window. Intended for use with WindowScroller\n */\n autoHeight: PropTypes.bool,\n\n /** Optional CSS class name */\n className: PropTypes.string,\n\n /**\n * Used to estimate the total height of a VirtualScroll before all of its rows have actually been measured.\n * The estimated total height is adjusted as rows are rendered.\n */\n estimatedRowSize: PropTypes.number.isRequired,\n\n /** Height constraint for list (determines how many actual rows are rendered) */\n height: PropTypes.number.isRequired,\n\n /** Optional renderer to be used in place of rows when rowCount is 0 */\n noRowsRenderer: PropTypes.func.isRequired,\n\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 /**\n * Number of rows to render above/below the visible bounds of the list.\n * These rows can help for smoother scrolling on touch devices.\n */\n overscanRowCount: PropTypes.number.isRequired,\n\n /**\n * Callback invoked whenever the scroll offset changes within the inner scrollable region.\n * This callback can be used to sync scrolling between lists, tables, or grids.\n * ({ clientHeight, scrollHeight, scrollTop }): void\n */\n onScroll: 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 * ({ index: number }): number\n */\n rowHeight: PropTypes.oneOfType([PropTypes.number, PropTypes.func]).isRequired,\n\n /** Responsbile for rendering a row given an index; ({ index: number }): node */\n rowRenderer: PropTypes.func.isRequired,\n\n /** Optional custom CSS class for individual rows */\n rowClassName: PropTypes.oneOfType([PropTypes.string, PropTypes.func]),\n\n /** Number of rows in list. */\n rowCount: PropTypes.number.isRequired,\n\n /** Optional custom styles for individual cells */\n rowStyle: PropTypes.oneOfType([PropTypes.object, PropTypes.func]),\n\n /** See Grid#scrollToAlignment */\n scrollToAlignment: PropTypes.oneOf(['auto', 'end', 'start', 'center']).isRequired,\n\n /** Row index to ensure visible (by forcefully scrolling if necessary) */\n scrollToIndex: PropTypes.number,\n\n /** Vertical offset. */\n scrollTop: PropTypes.number,\n\n /** Optional inline style */\n style: PropTypes.object,\n\n /** Tab index for focus */\n tabIndex: PropTypes.number,\n\n /** Width of list */\n width: PropTypes.number.isRequired\n }\n\n static defaultProps = {\n estimatedRowSize: 30,\n noRowsRenderer: () => null,\n onRowsRendered: () => null,\n onScroll: () => null,\n overscanRowCount: 10,\n scrollToAlignment: 'auto',\n style: {}\n }\n\n constructor (props, context) {\n super(props, context)\n\n this._cellRenderer = this._cellRenderer.bind(this)\n this._createRowClassNameGetter = this._createRowClassNameGetter.bind(this)\n this._createRowStyleGetter = this._createRowStyleGetter.bind(this)\n this._onScroll = this._onScroll.bind(this)\n this._onSectionRendered = this._onSectionRendered.bind(this)\n }\n\n forceUpdateGrid () {\n this.Grid.forceUpdate()\n }\n\n /** See Grid#measureAllCells */\n measureAllRows () {\n this.Grid.measureAllCells()\n }\n\n /** See Grid#recomputeGridSize */\n recomputeRowHeights (index = 0) {\n this.Grid.recomputeGridSize({\n rowIndex: index\n })\n this.forceUpdateGrid()\n }\n\n render () {\n const {\n className,\n noRowsRenderer,\n scrollToIndex,\n width\n } = this.props\n\n const classNames = cn('VirtualScroll', className)\n\n return (\n {\n this.Grid = ref\n }}\n scrollToRow={scrollToIndex}\n />\n )\n }\n\n shouldComponentUpdate (nextProps, nextState) {\n return shallowCompare(this, nextProps, nextState)\n }\n\n _cellRenderer ({ columnIndex, isScrolling, rowIndex }) {\n const { rowRenderer } = this.props\n\n return rowRenderer({\n index: rowIndex,\n isScrolling\n })\n }\n\n _createRowClassNameGetter () {\n const { rowClassName } = this.props\n\n return rowClassName instanceof Function\n ? ({ rowIndex }) => rowClassName({ index: rowIndex })\n : () => rowClassName\n }\n\n _createRowStyleGetter () {\n const { rowStyle } = this.props\n\n const wrapped = rowStyle instanceof Function\n ? rowStyle\n : () => rowStyle\n\n // Default width to 100% to prevent list rows from flowing under the vertical scrollbar\n return ({ rowIndex }) => ({\n width: '100%',\n ...wrapped({ index: rowIndex })\n })\n }\n\n _onScroll ({ clientHeight, scrollHeight, scrollTop }) {\n const { onScroll } = this.props\n\n onScroll({ clientHeight, scrollHeight, scrollTop })\n }\n\n _onSectionRendered ({ rowOverscanStartIndex, rowOverscanStopIndex, rowStartIndex, rowStopIndex }) {\n const { onRowsRendered } = this.props\n\n onRowsRendered({\n overscanStartIndex: rowOverscanStartIndex,\n overscanStopIndex: rowOverscanStopIndex,\n startIndex: rowStartIndex,\n stopIndex: rowStopIndex\n })\n }\n}\n\n\n\n/** WEBPACK FOOTER **\n ** ./source/VirtualScroll/VirtualScroll.js\n **/","export default from './WindowScroller'\nexport WindowScroller from './WindowScroller'\n\n\n\n/** WEBPACK FOOTER **\n ** ./source/WindowScroller/index.js\n **/","/** @flow */\nimport React, { Component, PropTypes } from 'react'\nimport ReactDOM from 'react-dom'\nimport shallowCompare from 'react-addons-shallow-compare'\nimport raf from 'raf'\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\nexport default class WindowScroller extends Component {\n static propTypes = {\n /**\n * Function respondible for rendering children.\n * This function should implement the following signature:\n * ({ height, scrollTop }) => PropTypes.element\n */\n children: PropTypes.func.isRequired,\n\n /** Callback to be invoked on-resize: ({ height }) */\n onResize: PropTypes.func.isRequired,\n\n /** Callback to be invoked on-scroll: ({ scrollTop }) */\n onScroll: PropTypes.func.isRequired\n }\n\n static defaultProps = {\n onResize: () => {},\n onScroll: () => {}\n }\n\n constructor (props) {\n super(props)\n\n this.state = {\n isScrolling: false,\n height: 0,\n scrollTop: 0\n }\n\n this._onScrollWindow = this._onScrollWindow.bind(this)\n this._onResizeWindow = this._onResizeWindow.bind(this)\n this._enablePointerEventsAfterDelayCallback = this._enablePointerEventsAfterDelayCallback.bind(this)\n }\n\n componentDidMount () {\n this._positionFromTop = ReactDOM.findDOMNode(this).getBoundingClientRect().top\n\n this.setState({ height: window.innerHeight })\n\n window.addEventListener('scroll', this._onScrollWindow, false)\n window.addEventListener('resize', this._onResizeWindow, false)\n }\n\n componentWillUnmount () {\n window.removeEventListener('scroll', this._onScrollWindow, false)\n window.removeEventListener('resize', this._onResizeWindow, false)\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 onScroll).\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 render () {\n const { children } = this.props\n const { isScrolling, scrollTop, height } = this.state\n\n return (\n
\n {children({\n height,\n isScrolling,\n scrollTop\n })}\n
\n )\n }\n\n shouldComponentUpdate (nextProps, nextState) {\n return shallowCompare(this, nextProps, nextState)\n }\n\n _enablePointerEventsAfterDelay () {\n if (this._disablePointerEventsTimeoutId) {\n clearTimeout(this._disablePointerEventsTimeoutId)\n }\n\n this._disablePointerEventsTimeoutId = setTimeout(\n this._enablePointerEventsAfterDelayCallback,\n IS_SCROLLING_TIMEOUT\n )\n }\n\n _enablePointerEventsAfterDelayCallback () {\n this._disablePointerEventsTimeoutId = null\n\n document.body.style.pointerEvents = this._originalBodyPointerEvents\n\n this._originalBodyPointerEvents = null\n\n this.setState({\n isScrolling: false\n })\n }\n\n _onResizeWindow (event) {\n const { onResize } = this.props\n\n const height = window.innerHeight || 0\n\n this.setState({ height })\n\n onResize({ height })\n }\n\n _onScrollWindow (event) {\n const { onScroll } = this.props\n\n // In IE10+ scrollY is undefined, so we replace that with the latter\n const scrollY = ('scrollY' in window)\n ? window.scrollY\n : document.documentElement.scrollTop\n\n const scrollTop = Math.max(0, scrollY - this._positionFromTop)\n\n if (this._originalBodyPointerEvents == null) {\n this._originalBodyPointerEvents = document.body.style.pointerEvents\n\n document.body.style.pointerEvents = 'none'\n\n this._enablePointerEventsAfterDelay()\n }\n\n const state = {\n isScrolling: true,\n scrollTop\n }\n\n if (!this.state.isScrolling) {\n this.setState(state)\n } else {\n this._setNextState(state)\n }\n\n onScroll({ scrollTop })\n }\n}\n\n\n\n/** WEBPACK FOOTER **\n ** ./source/WindowScroller/WindowScroller.js\n **/"],"sourceRoot":""}