@knapsack/app
Version:
Build Design Systems on top of knapsack, by Basalt
2 lines • 62.9 kB
JavaScript
(window.webpackJsonp=window.webpackJsonp||[]).push([["vendors~bad-route-2mkgt~custom-page-KXWAf~graphiql-page-QvAQg~home-page-WyKJQ~page-with-sidebar-I1Yd~001696dc"],{"../node_modules/react-virtualized/dist/es/ArrowKeyStepper/index.js":function(e,t,o){var l=o("../node_modules/babel-runtime/core-js/object/get-prototype-of.js"),i=o.n(l),n=o("../node_modules/babel-runtime/helpers/classCallCheck.js"),r=o.n(n),s=o("../node_modules/babel-runtime/helpers/createClass.js"),a=o.n(s),c=o("../node_modules/babel-runtime/helpers/possibleConstructorReturn.js"),d=o.n(c),u=o("../node_modules/babel-runtime/helpers/inherits.js"),h=o.n(u),p=o("react"),f=o("../node_modules/react-lifecycles-compat/react-lifecycles-compat.es.js"),S=(o("../node_modules/react-virtualized/dist/es/Grid/index.js"),o("../node_modules/prop-types/index.js"),function(e){function ArrowKeyStepper(){var e,t,o,l;r()(this,ArrowKeyStepper);for(var n=arguments.length,s=Array(n),a=0;a<n;a++)s[a]=arguments[a];return t=o=d()(this,(e=ArrowKeyStepper.__proto__||i()(ArrowKeyStepper)).call.apply(e,[this].concat(s))),o.state={scrollToColumn:0,scrollToRow:0},o._columnStartIndex=0,o._columnStopIndex=0,o._rowStartIndex=0,o._rowStopIndex=0,o._onKeyDown=function(e){var t=o.props,l=t.columnCount,i=t.disabled,n=t.mode,r=t.rowCount;if(!i){var s=o._getScrollState(),a=s.scrollToColumn,c=s.scrollToRow,d=o._getScrollState(),u=d.scrollToColumn,h=d.scrollToRow;switch(e.key){case"ArrowDown":h="cells"===n?Math.min(h+1,r-1):Math.min(o._rowStopIndex+1,r-1);break;case"ArrowLeft":u="cells"===n?Math.max(u-1,0):Math.max(o._columnStartIndex-1,0);break;case"ArrowRight":u="cells"===n?Math.min(u+1,l-1):Math.min(o._columnStopIndex+1,l-1);break;case"ArrowUp":h="cells"===n?Math.max(h-1,0):Math.max(o._rowStartIndex-1,0)}u===a&&h===c||(e.preventDefault(),o._updateScrollState({scrollToColumn:u,scrollToRow:h}))}},o._onSectionRendered=function(e){var t=e.columnStartIndex,l=e.columnStopIndex,i=e.rowStartIndex,n=e.rowStopIndex;o._columnStartIndex=t,o._columnStopIndex=l,o._rowStartIndex=i,o._rowStopIndex=n},l=t,d()(o,l)}return h()(ArrowKeyStepper,e),a()(ArrowKeyStepper,[{key:"setScrollIndexes",value:function setScrollIndexes(e){var t=e.scrollToColumn,o=e.scrollToRow;this.setState({scrollToRow:o,scrollToColumn:t})}},{key:"render",value:function render(){var e=this.props,t=e.className,o=e.children,l=this._getScrollState(),i=l.scrollToColumn,n=l.scrollToRow;return p.createElement("div",{className:t,onKeyDown:this._onKeyDown},o({onSectionRendered:this._onSectionRendered,scrollToColumn:i,scrollToRow:n}))}},{key:"_getScrollState",value:function _getScrollState(){return this.props.isControlled?this.props:this.state}},{key:"_updateScrollState",value:function _updateScrollState(e){var t=e.scrollToColumn,o=e.scrollToRow,l=this.props,i=l.isControlled,n=l.onScrollToChange;"function"==typeof n&&n({scrollToColumn:t,scrollToRow:o}),i||this.setState({scrollToColumn:t,scrollToRow:o})}}],[{key:"getDerivedStateFromProps",value:function getDerivedStateFromProps(e,t){return e.isControlled?null:e.scrollToColumn!==t.scrollToColumn||e.scrollToRow!==t.scrollToRow?{scrollToColumn:e.scrollToColumn,scrollToRow:e.scrollToRow}:null}}]),ArrowKeyStepper}(p.PureComponent));S.defaultProps={disabled:!1,isControlled:!1,mode:"edges",scrollToColumn:0,scrollToRow:0},S.propTypes=null,Object(f.polyfill)(S)},"../node_modules/react-virtualized/dist/es/AutoSizer/index.js":function(e,t,o){o.d(t,"a",(function(){return _}));var l=o("../node_modules/babel-runtime/helpers/extends.js"),i=o.n(l),n=o("../node_modules/babel-runtime/core-js/object/get-prototype-of.js"),r=o.n(n),s=o("../node_modules/babel-runtime/helpers/classCallCheck.js"),a=o.n(s),c=o("../node_modules/babel-runtime/helpers/createClass.js"),d=o.n(c),u=o("../node_modules/babel-runtime/helpers/possibleConstructorReturn.js"),h=o.n(u),p=o("../node_modules/babel-runtime/helpers/inherits.js"),f=o.n(p),S=o("react"),g=o("../node_modules/react-virtualized/dist/es/vendor/detectElementResize.js"),m=(o("../node_modules/prop-types/index.js"),function(e){function AutoSizer(){var e,t,o,l;a()(this,AutoSizer);for(var i=arguments.length,n=Array(i),s=0;s<i;s++)n[s]=arguments[s];return t=o=h()(this,(e=AutoSizer.__proto__||r()(AutoSizer)).call.apply(e,[this].concat(n))),o.state={height:o.props.defaultHeight||0,width:o.props.defaultWidth||0},o._onResize=function(){var e=o.props,t=e.disableHeight,l=e.disableWidth,i=e.onResize;if(o._parentNode){var n=o._parentNode.offsetHeight||0,r=o._parentNode.offsetWidth||0,s=(o._window||window).getComputedStyle(o._parentNode)||{},a=parseInt(s.paddingLeft,10)||0,c=parseInt(s.paddingRight,10)||0,d=parseInt(s.paddingTop,10)||0,u=parseInt(s.paddingBottom,10)||0,h=n-d-u,p=r-a-c;(!t&&o.state.height!==h||!l&&o.state.width!==p)&&(o.setState({height:n-d-u,width:r-a-c}),i({height:n,width:r}))}},o._setRef=function(e){o._autoSizer=e},l=t,h()(o,l)}return f()(AutoSizer,e),d()(AutoSizer,[{key:"componentDidMount",value:function componentDidMount(){var e=this.props.nonce;this._autoSizer&&this._autoSizer.parentNode&&this._autoSizer.parentNode.ownerDocument&&this._autoSizer.parentNode.ownerDocument.defaultView&&this._autoSizer.parentNode instanceof this._autoSizer.parentNode.ownerDocument.defaultView.HTMLElement&&(this._parentNode=this._autoSizer.parentNode,this._window=this._autoSizer.parentNode.ownerDocument.defaultView,this._detectElementResize=Object(g.a)(e,this._window),this._detectElementResize.addResizeListener(this._parentNode,this._onResize),this._onResize())}},{key:"componentWillUnmount",value:function componentWillUnmount(){this._detectElementResize&&this._parentNode&&this._detectElementResize.removeResizeListener(this._parentNode,this._onResize)}},{key:"render",value:function render(){var e=this.props,t=e.children,o=e.className,l=e.disableHeight,n=e.disableWidth,r=e.style,s=this.state,a=s.height,c=s.width,d={overflow:"visible"},u={};return l||(d.height=0,u.height=a),n||(d.width=0,u.width=c),S.createElement("div",{className:o,ref:this._setRef,style:i()({},d,r)},t(u))}}]),AutoSizer}(S.PureComponent));m.defaultProps={onResize:function onResize(){},disableHeight:!1,disableWidth:!1,style:{}},m.propTypes=null;var _=m},"../node_modules/react-virtualized/dist/es/CellMeasurer/index.js":function(e,t,o){var l=o("../node_modules/babel-runtime/core-js/object/get-prototype-of.js"),i=o.n(l),n=o("../node_modules/babel-runtime/helpers/classCallCheck.js"),r=o.n(n),s=o("../node_modules/babel-runtime/helpers/createClass.js"),a=o.n(s),c=o("../node_modules/babel-runtime/helpers/possibleConstructorReturn.js"),d=o.n(c),u=o("../node_modules/babel-runtime/helpers/inherits.js"),h=o.n(u),p=o("react"),f=o("../node_modules/react-dom/index.js"),S=(o("../node_modules/prop-types/index.js"),function(e){function CellMeasurer(){var e,t,o,l;r()(this,CellMeasurer);for(var n=arguments.length,s=Array(n),a=0;a<n;a++)s[a]=arguments[a];return t=o=d()(this,(e=CellMeasurer.__proto__||i()(CellMeasurer)).call.apply(e,[this].concat(s))),o._measure=function(){var e=o.props,t=e.cache,l=e.columnIndex,i=void 0===l?0:l,n=e.parent,r=e.rowIndex,s=void 0===r?o.props.index||0:r,a=o._getCellMeasurements(),c=a.height,d=a.width;c===t.getHeight(s,i)&&d===t.getWidth(s,i)||(t.set(s,i,d,c),n&&"function"==typeof n.recomputeGridSize&&n.recomputeGridSize({columnIndex:i,rowIndex:s}))},l=t,d()(o,l)}return h()(CellMeasurer,e),a()(CellMeasurer,[{key:"componentDidMount",value:function componentDidMount(){this._maybeMeasureCell()}},{key:"componentDidUpdate",value:function componentDidUpdate(){this._maybeMeasureCell()}},{key:"render",value:function render(){var e=this.props.children;return"function"==typeof e?e({measure:this._measure}):e}},{key:"_getCellMeasurements",value:function _getCellMeasurements(){var e=this.props.cache,t=Object(f.findDOMNode)(this);if(t&&t.ownerDocument&&t.ownerDocument.defaultView&&t instanceof t.ownerDocument.defaultView.HTMLElement){var o=t.style.width,l=t.style.height;e.hasFixedWidth()||(t.style.width="auto"),e.hasFixedHeight()||(t.style.height="auto");var i=Math.ceil(t.offsetHeight),n=Math.ceil(t.offsetWidth);return o&&(t.style.width=o),l&&(t.style.height=l),{height:i,width:n}}return{height:0,width:0}}},{key:"_maybeMeasureCell",value:function _maybeMeasureCell(){var e=this.props,t=e.cache,o=e.columnIndex,l=void 0===o?0:o,i=e.parent,n=e.rowIndex,r=void 0===n?this.props.index||0:n;if(!t.has(r,l)){var s=this._getCellMeasurements(),a=s.height,c=s.width;t.set(r,l,c,a),i&&"function"==typeof i.invalidateCellSizeAfterRender&&i.invalidateCellSizeAfterRender({columnIndex:l,rowIndex:r})}}}]),CellMeasurer}(p.PureComponent));S.__internalCellMeasurerFlag=!1,S.propTypes=null;var g=30,m=100;!function(){function CellMeasurerCache(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};r()(this,CellMeasurerCache),this._cellHeightCache={},this._cellWidthCache={},this._columnWidthCache={},this._rowHeightCache={},this._columnCount=0,this._rowCount=0,this.columnWidth=function(t){var o=t.index,l=e._keyMapper(0,o);return e._columnWidthCache.hasOwnProperty(l)?e._columnWidthCache[l]:e._defaultWidth},this.rowHeight=function(t){var o=t.index,l=e._keyMapper(o,0);return e._rowHeightCache.hasOwnProperty(l)?e._rowHeightCache[l]:e._defaultHeight};var o=t.defaultHeight,l=t.defaultWidth,i=t.fixedHeight,n=t.fixedWidth,s=t.keyMapper,a=t.minHeight,c=t.minWidth;this._hasFixedHeight=!0===i,this._hasFixedWidth=!0===n,this._minHeight=a||0,this._minWidth=c||0,this._keyMapper=s||defaultKeyMapper,this._defaultHeight=Math.max(this._minHeight,"number"==typeof o?o:g),this._defaultWidth=Math.max(this._minWidth,"number"==typeof l?l:m)}a()(CellMeasurerCache,[{key:"clear",value:function clear(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,o=this._keyMapper(e,t);delete this._cellHeightCache[o],delete this._cellWidthCache[o],this._updateCachedColumnAndRowSizes(e,t)}},{key:"clearAll",value:function clearAll(){this._cellHeightCache={},this._cellWidthCache={},this._columnWidthCache={},this._rowHeightCache={},this._rowCount=0,this._columnCount=0}},{key:"hasFixedHeight",value:function hasFixedHeight(){return this._hasFixedHeight}},{key:"hasFixedWidth",value:function hasFixedWidth(){return this._hasFixedWidth}},{key:"getHeight",value:function getHeight(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(this._hasFixedHeight)return this._defaultHeight;var o=this._keyMapper(e,t);return this._cellHeightCache.hasOwnProperty(o)?Math.max(this._minHeight,this._cellHeightCache[o]):this._defaultHeight}},{key:"getWidth",value:function getWidth(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(this._hasFixedWidth)return this._defaultWidth;var o=this._keyMapper(e,t);return this._cellWidthCache.hasOwnProperty(o)?Math.max(this._minWidth,this._cellWidthCache[o]):this._defaultWidth}},{key:"has",value:function has(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,o=this._keyMapper(e,t);return this._cellHeightCache.hasOwnProperty(o)}},{key:"set",value:function set(e,t,o,l){var i=this._keyMapper(e,t);t>=this._columnCount&&(this._columnCount=t+1),e>=this._rowCount&&(this._rowCount=e+1),this._cellHeightCache[i]=l,this._cellWidthCache[i]=o,this._updateCachedColumnAndRowSizes(e,t)}},{key:"_updateCachedColumnAndRowSizes",value:function _updateCachedColumnAndRowSizes(e,t){if(!this._hasFixedWidth){for(var o=0,l=0;l<this._rowCount;l++)o=Math.max(o,this.getWidth(l,t));var i=this._keyMapper(0,t);this._columnWidthCache[i]=o}if(!this._hasFixedHeight){for(var n=0,r=0;r<this._columnCount;r++)n=Math.max(n,this.getHeight(e,r));var s=this._keyMapper(e,0);this._rowHeightCache[s]=n}}},{key:"defaultHeight",get:function get(){return this._defaultHeight}},{key:"defaultWidth",get:function get(){return this._defaultWidth}}])}();function defaultKeyMapper(e,t){return e+"-"+t}},"../node_modules/react-virtualized/dist/es/Collection/index.js":function(e,t,o){var l=o("../node_modules/babel-runtime/helpers/extends.js"),i=o.n(l),n=o("../node_modules/babel-runtime/helpers/objectWithoutProperties.js"),r=o.n(n),s=o("../node_modules/babel-runtime/core-js/object/get-prototype-of.js"),a=o.n(s),c=o("../node_modules/babel-runtime/helpers/classCallCheck.js"),d=o.n(c),u=o("../node_modules/babel-runtime/helpers/createClass.js"),h=o.n(u),p=o("../node_modules/babel-runtime/helpers/possibleConstructorReturn.js"),f=o.n(p),S=o("../node_modules/babel-runtime/helpers/inherits.js"),g=o.n(S),m=(o("../node_modules/prop-types/index.js"),o("react")),_=o("../node_modules/clsx/dist/clsx.m.js"),C=o("../node_modules/react-lifecycles-compat/react-lifecycles-compat.es.js"),v=o("../node_modules/react-virtualized/dist/es/utils/createCallbackMemoizer.js"),z=o("../node_modules/react-virtualized/node_modules/dom-helpers/esm/scrollbarSize.js"),x={OBSERVED:"observed",REQUESTED:"requested"},w=function(e){function CollectionView(){var e;d()(this,CollectionView);for(var t=arguments.length,o=Array(t),l=0;l<t;l++)o[l]=arguments[l];var i=f()(this,(e=CollectionView.__proto__||a()(CollectionView)).call.apply(e,[this].concat(o)));return i.state={isScrolling:!1,scrollLeft:0,scrollTop:0},i._calculateSizeAndPositionDataOnNextUpdate=!1,i._onSectionRenderedMemoizer=Object(v.a)(),i._onScrollMemoizer=Object(v.a)(!1),i._invokeOnSectionRenderedHelper=function(){var e=i.props,t=e.cellLayoutManager,o=e.onSectionRendered;i._onSectionRenderedMemoizer({callback:o,indices:{indices:t.getLastRenderedIndices()}})},i._setScrollingContainerRef=function(e){i._scrollingContainer=e},i._updateScrollPositionForScrollToCell=function(){var e=i.props,t=e.cellLayoutManager,o=e.height,l=e.scrollToAlignment,n=e.scrollToCell,r=e.width,s=i.state,a=s.scrollLeft,c=s.scrollTop;if(n>=0){var d=t.getScrollPositionForCell({align:l,cellIndex:n,height:o,scrollLeft:a,scrollTop:c,width:r});d.scrollLeft===a&&d.scrollTop===c||i._setScrollPosition(d)}},i._onScroll=function(e){if(e.target===i._scrollingContainer){i._enablePointerEventsAfterDelay();var t=i.props,o=t.cellLayoutManager,l=t.height,n=t.isScrollingChange,r=t.width,s=i._scrollbarSize,a=o.getTotalSize(),c=a.height,d=a.width,u=Math.max(0,Math.min(d-r+s,e.target.scrollLeft)),h=Math.max(0,Math.min(c-l+s,e.target.scrollTop));if(i.state.scrollLeft!==u||i.state.scrollTop!==h){var p=e.cancelable?x.OBSERVED:x.REQUESTED;i.state.isScrolling||n(!0),i.setState({isScrolling:!0,scrollLeft:u,scrollPositionChangeReason:p,scrollTop:h})}i._invokeOnScrollMemoizer({scrollLeft:u,scrollTop:h,totalWidth:d,totalHeight:c})}},i._scrollbarSize=Object(z.a)(),void 0===i._scrollbarSize?(i._scrollbarSizeMeasured=!1,i._scrollbarSize=0):i._scrollbarSizeMeasured=!0,i}return g()(CollectionView,e),h()(CollectionView,[{key:"recomputeCellSizesAndPositions",value:function recomputeCellSizesAndPositions(){this._calculateSizeAndPositionDataOnNextUpdate=!0,this.forceUpdate()}},{key:"componentDidMount",value:function componentDidMount(){var e=this.props,t=e.cellLayoutManager,o=e.scrollLeft,l=e.scrollToCell,i=e.scrollTop;this._scrollbarSizeMeasured||(this._scrollbarSize=Object(z.a)(),this._scrollbarSizeMeasured=!0,this.setState({})),l>=0?this._updateScrollPositionForScrollToCell():(o>=0||i>=0)&&this._setScrollPosition({scrollLeft:o,scrollTop:i}),this._invokeOnSectionRenderedHelper();var n=t.getTotalSize(),r=n.height,s=n.width;this._invokeOnScrollMemoizer({scrollLeft:o||0,scrollTop:i||0,totalHeight:r,totalWidth:s})}},{key:"componentDidUpdate",value:function componentDidUpdate(e,t){var o=this.props,l=o.height,i=o.scrollToAlignment,n=o.scrollToCell,r=o.width,s=this.state,a=s.scrollLeft,c=s.scrollPositionChangeReason,d=s.scrollTop;c===x.REQUESTED&&(a>=0&&a!==t.scrollLeft&&a!==this._scrollingContainer.scrollLeft&&(this._scrollingContainer.scrollLeft=a),d>=0&&d!==t.scrollTop&&d!==this._scrollingContainer.scrollTop&&(this._scrollingContainer.scrollTop=d)),l===e.height&&i===e.scrollToAlignment&&n===e.scrollToCell&&r===e.width||this._updateScrollPositionForScrollToCell(),this._invokeOnSectionRenderedHelper()}},{key:"componentWillUnmount",value:function componentWillUnmount(){this._disablePointerEventsTimeoutId&&clearTimeout(this._disablePointerEventsTimeoutId)}},{key:"render",value:function render(){var e=this.props,t=e.autoHeight,o=e.cellCount,l=e.cellLayoutManager,n=e.className,r=e.height,s=e.horizontalOverscanSize,a=e.id,c=e.noContentRenderer,d=e.style,u=e.verticalOverscanSize,h=e.width,p=this.state,f=p.isScrolling,S=p.scrollLeft,g=p.scrollTop;(this._lastRenderedCellCount!==o||this._lastRenderedCellLayoutManager!==l||this._calculateSizeAndPositionDataOnNextUpdate)&&(this._lastRenderedCellCount=o,this._lastRenderedCellLayoutManager=l,this._calculateSizeAndPositionDataOnNextUpdate=!1,l.calculateSizeAndPositionData());var C=l.getTotalSize(),v=C.height,z=C.width,x=Math.max(0,S-s),w=Math.max(0,g-u),T=Math.min(z,S+h+s),y=Math.min(v,g+r+u),b=r>0&&h>0?l.cellRenderers({height:y-w,isScrolling:f,width:T-x,x:x,y:w}):[],M={boxSizing:"border-box",direction:"ltr",height:t?"auto":r,position:"relative",WebkitOverflowScrolling:"touch",width:h,willChange:"transform"},I=v>r?this._scrollbarSize:0,R=z>h?this._scrollbarSize:0;return M.overflowX=z+I<=h?"hidden":"auto",M.overflowY=v+R<=r?"hidden":"auto",m.createElement("div",{ref:this._setScrollingContainerRef,"aria-label":this.props["aria-label"],className:Object(_.a)("ReactVirtualized__Collection",n),id:a,onScroll:this._onScroll,role:"grid",style:i()({},M,d),tabIndex:0},o>0&&m.createElement("div",{className:"ReactVirtualized__Collection__innerScrollContainer",style:{height:v,maxHeight:v,maxWidth:z,overflow:"hidden",pointerEvents:f?"none":"",width:z}},b),0===o&&c())}},{key:"_enablePointerEventsAfterDelay",value:function _enablePointerEventsAfterDelay(){var e=this;this._disablePointerEventsTimeoutId&&clearTimeout(this._disablePointerEventsTimeoutId),this._disablePointerEventsTimeoutId=setTimeout((function(){(0,e.props.isScrollingChange)(!1),e._disablePointerEventsTimeoutId=null,e.setState({isScrolling:!1})}),150)}},{key:"_invokeOnScrollMemoizer",value:function _invokeOnScrollMemoizer(e){var t=this,o=e.scrollLeft,l=e.scrollTop,i=e.totalHeight,n=e.totalWidth;this._onScrollMemoizer({callback:function callback(e){var o=e.scrollLeft,l=e.scrollTop,r=t.props,s=r.height;(0,r.onScroll)({clientHeight:s,clientWidth:r.width,scrollHeight:i,scrollLeft:o,scrollTop:l,scrollWidth:n})},indices:{scrollLeft:o,scrollTop:l}})}},{key:"_setScrollPosition",value:function _setScrollPosition(e){var t=e.scrollLeft,o=e.scrollTop,l={scrollPositionChangeReason:x.REQUESTED};t>=0&&(l.scrollLeft=t),o>=0&&(l.scrollTop=o),(t>=0&&t!==this.state.scrollLeft||o>=0&&o!==this.state.scrollTop)&&this.setState(l)}}],[{key:"getDerivedStateFromProps",value:function getDerivedStateFromProps(e,t){return 0!==e.cellCount||0===t.scrollLeft&&0===t.scrollTop?e.scrollLeft!==t.scrollLeft||e.scrollTop!==t.scrollTop?{scrollLeft:null!=e.scrollLeft?e.scrollLeft:t.scrollLeft,scrollTop:null!=e.scrollTop?e.scrollTop:t.scrollTop}:null:{scrollLeft:0,scrollTop:0}}}]),CollectionView}(m.PureComponent);w.defaultProps={"aria-label":"grid",horizontalOverscanSize:0,noContentRenderer:function noContentRenderer(){return null},onScroll:function onScroll(){return null},onSectionRendered:function onSectionRendered(){return null},scrollToAlignment:"auto",scrollToCell:-1,style:{},verticalOverscanSize:0},w.propTypes={},Object(C.polyfill)(w);var T=w,y=o("../node_modules/babel-runtime/core-js/object/keys.js"),b=o.n(y),M=function(){function Section(e){var t=e.height,o=e.width,l=e.x,i=e.y;d()(this,Section),this.height=t,this.width=o,this.x=l,this.y=i,this._indexMap={},this._indices=[]}return h()(Section,[{key:"addCellIndex",value:function addCellIndex(e){var t=e.index;this._indexMap[t]||(this._indexMap[t]=!0,this._indices.push(t))}},{key:"getCellIndices",value:function getCellIndices(){return this._indices}},{key:"toString",value:function toString(){return this.x+","+this.y+" "+this.width+"x"+this.height}}]),Section}(),I=100,R=function(){function SectionManager(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:I;d()(this,SectionManager),this._sectionSize=e,this._cellMetadata=[],this._sections={}}return h()(SectionManager,[{key:"getCellIndices",value:function getCellIndices(e){var t=e.height,o=e.width,l=e.x,i=e.y,n={};return this.getSections({height:t,width:o,x:l,y:i}).forEach((function(e){return e.getCellIndices().forEach((function(e){n[e]=e}))})),b()(n).map((function(e){return n[e]}))}},{key:"getCellMetadata",value:function getCellMetadata(e){var t=e.index;return this._cellMetadata[t]}},{key:"getSections",value:function getSections(e){for(var t=e.height,o=e.width,l=e.x,i=e.y,n=Math.floor(l/this._sectionSize),r=Math.floor((l+o-1)/this._sectionSize),s=Math.floor(i/this._sectionSize),a=Math.floor((i+t-1)/this._sectionSize),c=[],d=n;d<=r;d++)for(var u=s;u<=a;u++){var h=d+"."+u;this._sections[h]||(this._sections[h]=new M({height:this._sectionSize,width:this._sectionSize,x:d*this._sectionSize,y:u*this._sectionSize})),c.push(this._sections[h])}return c}},{key:"getTotalSectionCount",value:function getTotalSectionCount(){return b()(this._sections).length}},{key:"toString",value:function toString(){var e=this;return b()(this._sections).map((function(t){return e._sections[t].toString()}))}},{key:"registerCell",value:function registerCell(e){var t=e.cellMetadatum,o=e.index;this._cellMetadata[o]=t,this.getSections(t).forEach((function(e){return e.addCellIndex({index:o})}))}}]),SectionManager}();var P=o("../node_modules/react-virtualized/dist/es/utils/getUpdatedOffsetForIndex.js"),k=function(e){function Collection(e,t){d()(this,Collection);var o=f()(this,(Collection.__proto__||a()(Collection)).call(this,e,t));return o._cellMetadata=[],o._lastRenderedCellIndices=[],o._cellCache=[],o._isScrollingChange=o._isScrollingChange.bind(o),o._setCollectionViewRef=o._setCollectionViewRef.bind(o),o}return g()(Collection,e),h()(Collection,[{key:"forceUpdate",value:function forceUpdate(){void 0!==this._collectionView&&this._collectionView.forceUpdate()}},{key:"recomputeCellSizesAndPositions",value:function recomputeCellSizesAndPositions(){this._cellCache=[],this._collectionView.recomputeCellSizesAndPositions()}},{key:"render",value:function render(){var e=r()(this.props,[]);return m.createElement(T,i()({cellLayoutManager:this,isScrollingChange:this._isScrollingChange,ref:this._setCollectionViewRef},e))}},{key:"calculateSizeAndPositionData",value:function calculateSizeAndPositionData(){var e=this.props,t=function calculateSizeAndPositionData_calculateSizeAndPositionData(e){for(var t=e.cellCount,o=e.cellSizeAndPositionGetter,l=e.sectionSize,i=[],n=new R(l),r=0,s=0,a=0;a<t;a++){var c=o({index:a});if(null==c.height||isNaN(c.height)||null==c.width||isNaN(c.width)||null==c.x||isNaN(c.x)||null==c.y||isNaN(c.y))throw Error("Invalid metadata returned for cell "+a+":\n x:"+c.x+", y:"+c.y+", width:"+c.width+", height:"+c.height);r=Math.max(r,c.y+c.height),s=Math.max(s,c.x+c.width),i[a]=c,n.registerCell({cellMetadatum:c,index:a})}return{cellMetadata:i,height:r,sectionManager:n,width:s}}({cellCount:e.cellCount,cellSizeAndPositionGetter:e.cellSizeAndPositionGetter,sectionSize:e.sectionSize});this._cellMetadata=t.cellMetadata,this._sectionManager=t.sectionManager,this._height=t.height,this._width=t.width}},{key:"getLastRenderedIndices",value:function getLastRenderedIndices(){return this._lastRenderedCellIndices}},{key:"getScrollPositionForCell",value:function getScrollPositionForCell(e){var t=e.align,o=e.cellIndex,l=e.height,i=e.scrollLeft,n=e.scrollTop,r=e.width,s=this.props.cellCount;if(o>=0&&o<s){var a=this._cellMetadata[o];i=Object(P.a)({align:t,cellOffset:a.x,cellSize:a.width,containerSize:r,currentOffset:i,targetIndex:o}),n=Object(P.a)({align:t,cellOffset:a.y,cellSize:a.height,containerSize:l,currentOffset:n,targetIndex:o})}return{scrollLeft:i,scrollTop:n}}},{key:"getTotalSize",value:function getTotalSize(){return{height:this._height,width:this._width}}},{key:"cellRenderers",value:function cellRenderers(e){var t=this,o=e.height,l=e.isScrolling,i=e.width,n=e.x,r=e.y,s=this.props,a=s.cellGroupRenderer,c=s.cellRenderer;return this._lastRenderedCellIndices=this._sectionManager.getCellIndices({height:o,width:i,x:n,y:r}),a({cellCache:this._cellCache,cellRenderer:c,cellSizeAndPositionGetter:function cellSizeAndPositionGetter(e){var o=e.index;return t._sectionManager.getCellMetadata({index:o})},indices:this._lastRenderedCellIndices,isScrolling:l})}},{key:"_isScrollingChange",value:function _isScrollingChange(e){e||(this._cellCache=[])}},{key:"_setCollectionViewRef",value:function _setCollectionViewRef(e){this._collectionView=e}}]),Collection}(m.PureComponent);k.defaultProps={"aria-label":"grid",cellGroupRenderer:function defaultCellGroupRenderer(e){var t=e.cellCache,o=e.cellRenderer,l=e.cellSizeAndPositionGetter,i=e.indices,n=e.isScrolling;return i.map((function(e){var i=l({index:e}),r={index:e,isScrolling:n,key:e,style:{height:i.height,left:i.x,position:"absolute",top:i.y,width:i.width}};return n?(e in t||(t[e]=o(r)),t[e]):o(r)})).filter((function(e){return!!e}))}};k.propTypes={}},"../node_modules/react-virtualized/dist/es/ColumnSizer/index.js":function(e,t,o){var l=o("../node_modules/babel-runtime/core-js/object/get-prototype-of.js"),i=o.n(l),n=o("../node_modules/babel-runtime/helpers/classCallCheck.js"),r=o.n(n),s=o("../node_modules/babel-runtime/helpers/createClass.js"),a=o.n(s),c=o("../node_modules/babel-runtime/helpers/possibleConstructorReturn.js"),d=o.n(c),u=o("../node_modules/babel-runtime/helpers/inherits.js"),h=o.n(u),p=(o("../node_modules/prop-types/index.js"),function(e){function ColumnSizer(e,t){r()(this,ColumnSizer);var o=d()(this,(ColumnSizer.__proto__||i()(ColumnSizer)).call(this,e,t));return o._registerChild=o._registerChild.bind(o),o}return h()(ColumnSizer,e),a()(ColumnSizer,[{key:"componentDidUpdate",value:function componentDidUpdate(e){var t=this.props,o=t.columnMaxWidth,l=t.columnMinWidth,i=t.columnCount,n=t.width;o===e.columnMaxWidth&&l===e.columnMinWidth&&i===e.columnCount&&n===e.width||this._registeredChild&&this._registeredChild.recomputeGridSize()}},{key:"render",value:function render(){var e=this.props,t=e.children,o=e.columnMaxWidth,l=e.columnMinWidth,i=e.columnCount,n=e.width,r=l||1,s=o?Math.min(o,n):n,a=n/i;return a=Math.max(r,a),a=Math.min(s,a),a=Math.floor(a),t({adjustedWidth:Math.min(n,a*i),columnWidth:a,getColumnWidth:function getColumnWidth(){return a},registerChild:this._registerChild})}},{key:"_registerChild",value:function _registerChild(e){if(e&&"function"!=typeof e.recomputeGridSize)throw Error("Unexpected child type registered; only Grid/MultiGrid children are supported.");this._registeredChild=e,this._registeredChild&&this._registeredChild.recomputeGridSize()}}]),ColumnSizer}(o("react").PureComponent));p.propTypes={}},"../node_modules/react-virtualized/dist/es/Grid/index.js":function(e,t,o){o.d(t,"b",(function(){return A})),o.d(t,"a",(function(){return accessibilityOverscanIndicesGetter_defaultOverscanIndicesGetter}));var l=o("../node_modules/babel-runtime/core-js/object/assign.js"),i=o.n(l),n=o("../node_modules/babel-runtime/helpers/extends.js"),r=o.n(n),s=o("../node_modules/babel-runtime/core-js/object/get-prototype-of.js"),a=o.n(s),c=o("../node_modules/babel-runtime/helpers/classCallCheck.js"),d=o.n(c),u=o("../node_modules/babel-runtime/helpers/createClass.js"),h=o.n(u),p=o("../node_modules/babel-runtime/helpers/possibleConstructorReturn.js"),f=o.n(p),S=o("../node_modules/babel-runtime/helpers/inherits.js"),g=o.n(S),m=o("react"),_=o("../node_modules/clsx/dist/clsx.m.js");function calculateSizeAndPositionDataAndUpdateScrollOffset(e){var t=e.cellCount,o=e.cellSize,l=e.computeMetadataCallback,i=e.computeMetadataCallbackProps,n=e.nextCellsCount,r=e.nextCellSize,s=e.nextScrollToIndex,a=e.scrollToIndex,c=e.updateScrollOffsetForScrollToIndex;t===n&&("number"!=typeof o&&"number"!=typeof r||o===r)||(l(i),a>=0&&a===s&&c())}var C=o("../node_modules/babel-runtime/helpers/objectWithoutProperties.js"),v=o.n(C),z=(o("../node_modules/prop-types/index.js"),function(){function CellSizeAndPositionManager(e){var t=e.cellCount,o=e.cellSizeGetter,l=e.estimatedCellSize;d()(this,CellSizeAndPositionManager),this._cellSizeAndPositionData={},this._lastMeasuredIndex=-1,this._lastBatchedIndex=-1,this._cellSizeGetter=o,this._cellCount=t,this._estimatedCellSize=l}return h()(CellSizeAndPositionManager,[{key:"areOffsetsAdjusted",value:function areOffsetsAdjusted(){return!1}},{key:"configure",value:function configure(e){var t=e.cellCount,o=e.estimatedCellSize,l=e.cellSizeGetter;this._cellCount=t,this._estimatedCellSize=o,this._cellSizeGetter=l}},{key:"getCellCount",value:function getCellCount(){return this._cellCount}},{key:"getEstimatedCellSize",value:function getEstimatedCellSize(){return this._estimatedCellSize}},{key:"getLastMeasuredIndex",value:function getLastMeasuredIndex(){return this._lastMeasuredIndex}},{key:"getOffsetAdjustment",value:function getOffsetAdjustment(){return 0}},{key:"getSizeAndPositionOfCell",value:function getSizeAndPositionOfCell(e){if(e<0||e>=this._cellCount)throw Error("Requested index "+e+" is outside of range 0.."+this._cellCount);if(e>this._lastMeasuredIndex)for(var t=this.getSizeAndPositionOfLastMeasuredCell(),o=t.offset+t.size,l=this._lastMeasuredIndex+1;l<=e;l++){var i=this._cellSizeGetter({index:l});if(void 0===i||isNaN(i))throw Error("Invalid size returned for cell "+l+" of value "+i);null===i?(this._cellSizeAndPositionData[l]={offset:o,size:0},this._lastBatchedIndex=e):(this._cellSizeAndPositionData[l]={offset:o,size:i},o+=i,this._lastMeasuredIndex=e)}return this._cellSizeAndPositionData[e]}},{key:"getSizeAndPositionOfLastMeasuredCell",value:function getSizeAndPositionOfLastMeasuredCell(){return this._lastMeasuredIndex>=0?this._cellSizeAndPositionData[this._lastMeasuredIndex]:{offset:0,size:0}}},{key:"getTotalSize",value:function getTotalSize(){var e=this.getSizeAndPositionOfLastMeasuredCell();return e.offset+e.size+(this._cellCount-this._lastMeasuredIndex-1)*this._estimatedCellSize}},{key:"getUpdatedOffsetForIndex",value:function getUpdatedOffsetForIndex(e){var t=e.align,o=void 0===t?"auto":t,l=e.containerSize,i=e.currentOffset,n=e.targetIndex;if(l<=0)return 0;var r=this.getSizeAndPositionOfCell(n),s=r.offset,a=s-l+r.size,c=void 0;switch(o){case"start":c=s;break;case"end":c=a;break;case"center":c=s-(l-r.size)/2;break;default:c=Math.max(a,Math.min(s,i))}var d=this.getTotalSize();return Math.max(0,Math.min(d-l,c))}},{key:"getVisibleCellRange",value:function getVisibleCellRange(e){var t=e.containerSize,o=e.offset;if(0===this.getTotalSize())return{};var l=o+t,i=this._findNearestCell(o),n=this.getSizeAndPositionOfCell(i);o=n.offset+n.size;for(var r=i;o<l&&r<this._cellCount-1;)r++,o+=this.getSizeAndPositionOfCell(r).size;return{start:i,stop:r}}},{key:"resetCell",value:function resetCell(e){this._lastMeasuredIndex=Math.min(this._lastMeasuredIndex,e-1)}},{key:"_binarySearch",value:function _binarySearch(e,t,o){for(;t<=e;){var l=t+Math.floor((e-t)/2),i=this.getSizeAndPositionOfCell(l).offset;if(i===o)return l;i<o?t=l+1:i>o&&(e=l-1)}return t>0?t-1:0}},{key:"_exponentialSearch",value:function _exponentialSearch(e,t){for(var o=1;e<this._cellCount&&this.getSizeAndPositionOfCell(e).offset<t;)e+=o,o*=2;return this._binarySearch(Math.min(e,this._cellCount-1),Math.floor(e/2),t)}},{key:"_findNearestCell",value:function _findNearestCell(e){if(isNaN(e))throw Error("Invalid offset "+e+" specified");e=Math.max(0,e);var t=this.getSizeAndPositionOfLastMeasuredCell(),o=Math.max(0,this._lastMeasuredIndex);return t.offset>=e?this._binarySearch(o,0,e):this._exponentialSearch(o,e)}}]),CellSizeAndPositionManager}()),x=function getMaxElementSize(){return function isBrowser(){return"undefined"!=typeof window}()&&function isChrome(){return!!window.chrome}()?16777100:15e5},w=function(){function ScalingCellSizeAndPositionManager(e){var t=e.maxScrollSize,o=void 0===t?x():t,l=v()(e,["maxScrollSize"]);d()(this,ScalingCellSizeAndPositionManager),this._cellSizeAndPositionManager=new z(l),this._maxScrollSize=o}return h()(ScalingCellSizeAndPositionManager,[{key:"areOffsetsAdjusted",value:function areOffsetsAdjusted(){return this._cellSizeAndPositionManager.getTotalSize()>this._maxScrollSize}},{key:"configure",value:function configure(e){this._cellSizeAndPositionManager.configure(e)}},{key:"getCellCount",value:function getCellCount(){return this._cellSizeAndPositionManager.getCellCount()}},{key:"getEstimatedCellSize",value:function getEstimatedCellSize(){return this._cellSizeAndPositionManager.getEstimatedCellSize()}},{key:"getLastMeasuredIndex",value:function getLastMeasuredIndex(){return this._cellSizeAndPositionManager.getLastMeasuredIndex()}},{key:"getOffsetAdjustment",value:function getOffsetAdjustment(e){var t=e.containerSize,o=e.offset,l=this._cellSizeAndPositionManager.getTotalSize(),i=this.getTotalSize(),n=this._getOffsetPercentage({containerSize:t,offset:o,totalSize:i});return Math.round(n*(i-l))}},{key:"getSizeAndPositionOfCell",value:function getSizeAndPositionOfCell(e){return this._cellSizeAndPositionManager.getSizeAndPositionOfCell(e)}},{key:"getSizeAndPositionOfLastMeasuredCell",value:function getSizeAndPositionOfLastMeasuredCell(){return this._cellSizeAndPositionManager.getSizeAndPositionOfLastMeasuredCell()}},{key:"getTotalSize",value:function getTotalSize(){return Math.min(this._maxScrollSize,this._cellSizeAndPositionManager.getTotalSize())}},{key:"getUpdatedOffsetForIndex",value:function getUpdatedOffsetForIndex(e){var t=e.align,o=void 0===t?"auto":t,l=e.containerSize,i=e.currentOffset,n=e.targetIndex;i=this._safeOffsetToOffset({containerSize:l,offset:i});var r=this._cellSizeAndPositionManager.getUpdatedOffsetForIndex({align:o,containerSize:l,currentOffset:i,targetIndex:n});return this._offsetToSafeOffset({containerSize:l,offset:r})}},{key:"getVisibleCellRange",value:function getVisibleCellRange(e){var t=e.containerSize,o=e.offset;return o=this._safeOffsetToOffset({containerSize:t,offset:o}),this._cellSizeAndPositionManager.getVisibleCellRange({containerSize:t,offset:o})}},{key:"resetCell",value:function resetCell(e){this._cellSizeAndPositionManager.resetCell(e)}},{key:"_getOffsetPercentage",value:function _getOffsetPercentage(e){var t=e.containerSize,o=e.offset,l=e.totalSize;return l<=t?0:o/(l-t)}},{key:"_offsetToSafeOffset",value:function _offsetToSafeOffset(e){var t=e.containerSize,o=e.offset,l=this._cellSizeAndPositionManager.getTotalSize(),i=this.getTotalSize();if(l===i)return o;var n=this._getOffsetPercentage({containerSize:t,offset:o,totalSize:l});return Math.round(n*(i-t))}},{key:"_safeOffsetToOffset",value:function _safeOffsetToOffset(e){var t=e.containerSize,o=e.offset,l=this._cellSizeAndPositionManager.getTotalSize(),i=this.getTotalSize();if(l===i)return o;var n=this._getOffsetPercentage({containerSize:t,offset:o,totalSize:i});return Math.round(n*(l-t))}}]),ScalingCellSizeAndPositionManager}(),T=o("../node_modules/react-virtualized/dist/es/utils/createCallbackMemoizer.js"),y=1;function updateScrollIndexHelper(e){var t=e.cellSize,o=e.cellSizeAndPositionManager,l=e.previousCellsCount,i=e.previousCellSize,n=e.previousScrollToAlignment,r=e.previousScrollToIndex,s=e.previousSize,a=e.scrollOffset,c=e.scrollToAlignment,d=e.scrollToIndex,u=e.size,h=e.sizeJustIncreasedFromZero,p=e.updateScrollIndexCallback,f=o.getCellCount(),S=d>=0&&d<f;S&&(u!==s||h||!i||"number"==typeof t&&t!==i||c!==n||d!==r)?p(d):!S&&f>0&&(u<s||f<l)&&a>o.getTotalSize()-u&&p(f-1)}var b=o("../node_modules/react-virtualized/node_modules/dom-helpers/esm/scrollbarSize.js"),M=o("../node_modules/react-lifecycles-compat/react-lifecycles-compat.es.js"),I=o("../node_modules/react-virtualized/dist/es/utils/requestAnimationTimeout.js"),R="observed",P="requested",k=function(e){function Grid(e){d()(this,Grid);var t=f()(this,(Grid.__proto__||a()(Grid)).call(this,e));t._onGridRenderedMemoizer=Object(T.a)(),t._onScrollMemoizer=Object(T.a)(!1),t._deferredInvalidateColumnIndex=null,t._deferredInvalidateRowIndex=null,t._recomputeScrollLeftFlag=!1,t._recomputeScrollTopFlag=!1,t._horizontalScrollBarSize=0,t._verticalScrollBarSize=0,t._scrollbarPresenceChanged=!1,t._renderedColumnStartIndex=0,t._renderedColumnStopIndex=0,t._renderedRowStartIndex=0,t._renderedRowStopIndex=0,t._styleCache={},t._cellCache={},t._debounceScrollEndedCallback=function(){t._disablePointerEventsTimeoutId=null,t.setState({isScrolling:!1,needToResetStyleCache:!1})},t._invokeOnGridRenderedHelper=function(){var e=t.props.onSectionRendered;t._onGridRenderedMemoizer({callback:e,indices:{columnOverscanStartIndex:t._columnStartIndex,columnOverscanStopIndex:t._columnStopIndex,columnStartIndex:t._renderedColumnStartIndex,columnStopIndex:t._renderedColumnStopIndex,rowOverscanStartIndex:t._rowStartIndex,rowOverscanStopIndex:t._rowStopIndex,rowStartIndex:t._renderedRowStartIndex,rowStopIndex:t._renderedRowStopIndex}})},t._setScrollingContainerRef=function(e){t._scrollingContainer=e},t._onScroll=function(e){e.target===t._scrollingContainer&&t.handleScrollEvent(e.target)};var o=new w({cellCount:e.columnCount,cellSizeGetter:function cellSizeGetter(t){return Grid._wrapSizeGetter(e.columnWidth)(t)},estimatedCellSize:Grid._getEstimatedColumnSize(e)}),l=new w({cellCount:e.rowCount,cellSizeGetter:function cellSizeGetter(t){return Grid._wrapSizeGetter(e.rowHeight)(t)},estimatedCellSize:Grid._getEstimatedRowSize(e)});return t.state={instanceProps:{columnSizeAndPositionManager:o,rowSizeAndPositionManager:l,prevColumnWidth:e.columnWidth,prevRowHeight:e.rowHeight,prevColumnCount:e.columnCount,prevRowCount:e.rowCount,prevIsScrolling:!0===e.isScrolling,prevScrollToColumn:e.scrollToColumn,prevScrollToRow:e.scrollToRow,scrollbarSize:0,scrollbarSizeMeasured:!1},isScrolling:!1,scrollDirectionHorizontal:y,scrollDirectionVertical:y,scrollLeft:0,scrollTop:0,scrollPositionChangeReason:null,needToResetStyleCache:!1},e.scrollToRow>0&&(t._initialScrollTop=t._getCalculatedScrollTop(e,t.state)),e.scrollToColumn>0&&(t._initialScrollLeft=t._getCalculatedScrollLeft(e,t.state)),t}return g()(Grid,e),h()(Grid,[{key:"getOffsetForCell",value:function getOffsetForCell(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.alignment,o=void 0===t?this.props.scrollToAlignment:t,l=e.columnIndex,i=void 0===l?this.props.scrollToColumn:l,n=e.rowIndex,s=void 0===n?this.props.scrollToRow:n,a=r()({},this.props,{scrollToAlignment:o,scrollToColumn:i,scrollToRow:s});return{scrollLeft:this._getCalculatedScrollLeft(a),scrollTop:this._getCalculatedScrollTop(a)}}},{key:"getTotalRowsHeight",value:function getTotalRowsHeight(){return this.state.instanceProps.rowSizeAndPositionManager.getTotalSize()}},{key:"getTotalColumnsWidth",value:function getTotalColumnsWidth(){return this.state.instanceProps.columnSizeAndPositionManager.getTotalSize()}},{key:"handleScrollEvent",value:function handleScrollEvent(e){var t=e.scrollLeft,o=void 0===t?0:t,l=e.scrollTop,i=void 0===l?0:l;if(!(i<0)){this._debounceScrollEnded();var n=this.props,r=n.autoHeight,s=n.autoWidth,a=n.height,c=n.width,d=this.state.instanceProps,u=d.scrollbarSize,h=d.rowSizeAndPositionManager.getTotalSize(),p=d.columnSizeAndPositionManager.getTotalSize(),f=Math.min(Math.max(0,p-c+u),o),S=Math.min(Math.max(0,h-a+u),i);if(this.state.scrollLeft!==f||this.state.scrollTop!==S){var g={isScrolling:!0,scrollDirectionHorizontal:f!==this.state.scrollLeft?f>this.state.scrollLeft?y:-1:this.state.scrollDirectionHorizontal,scrollDirectionVertical:S!==this.state.scrollTop?S>this.state.scrollTop?y:-1:this.state.scrollDirectionVertical,scrollPositionChangeReason:R};r||(g.scrollTop=S),s||(g.scrollLeft=f),g.needToResetStyleCache=!1,this.setState(g)}this._invokeOnScrollMemoizer({scrollLeft:f,scrollTop:S,totalColumnsWidth:p,totalRowsHeight:h})}}},{key:"invalidateCellSizeAfterRender",value:function invalidateCellSizeAfterRender(e){var t=e.columnIndex,o=e.rowIndex;this._deferredInvalidateColumnIndex="number"==typeof this._deferredInvalidateColumnIndex?Math.min(this._deferredInvalidateColumnIndex,t):t,this._deferredInvalidateRowIndex="number"==typeof this._deferredInvalidateRowIndex?Math.min(this._deferredInvalidateRowIndex,o):o}},{key:"measureAllCells",value:function measureAllCells(){var e=this.props,t=e.columnCount,o=e.rowCount,l=this.state.instanceProps;l.columnSizeAndPositionManager.getSizeAndPositionOfCell(t-1),l.rowSizeAndPositionManager.getSizeAndPositionOfCell(o-1)}},{key:"recomputeGridSize",value:function recomputeGridSize(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.columnIndex,o=void 0===t?0:t,l=e.rowIndex,i=void 0===l?0:l,n=this.props,r=n.scrollToColumn,s=n.scrollToRow,a=this.state.instanceProps;a.columnSizeAndPositionManager.resetCell(o),a.rowSizeAndPositionManager.resetCell(i),this._recomputeScrollLeftFlag=r>=0&&(this.state.scrollDirectionHorizontal===y?o<=r:o>=r),this._recomputeScrollTopFlag=s>=0&&(this.state.scrollDirectionVertical===y?i<=s:i>=s),this._styleCache={},this._cellCache={},this.forceUpdate()}},{key:"scrollToCell",value:function scrollToCell(e){var t=e.columnIndex,o=e.rowIndex,l=this.props.columnCount,i=this.props;l>1&&void 0!==t&&this._updateScrollLeftForScrollToColumn(r()({},i,{scrollToColumn:t})),void 0!==o&&this._updateScrollTopForScrollToRow(r()({},i,{scrollToRow:o}))}},{key:"componentDidMount",value:function componentDidMount(){var e=this.props,t=e.getScrollbarSize,o=e.height,l=e.scrollLeft,i=e.scrollToColumn,n=e.scrollTop,s=e.scrollToRow,a=e.width,c=this.state.instanceProps;if(this._initialScrollTop=0,this._initialScrollLeft=0,this._handleInvalidatedGridSize(),c.scrollbarSizeMeasured||this.setState((function(e){var o=r()({},e,{needToResetStyleCache:!1});return o.instanceProps.scrollbarSize=t(),o.instanceProps.scrollbarSizeMeasured=!0,o})),"number"==typeof l&&l>=0||"number"==typeof n&&n>=0){var d=Grid._getScrollToPositionStateUpdate({prevState:this.state,scrollLeft:l,scrollTop:n});d&&(d.needToResetStyleCache=!1,this.setState(d))}this._scrollingContainer&&(this._scrollingContainer.scrollLeft!==this.state.scrollLeft&&(this._scrollingContainer.scrollLeft=this.state.scrollLeft),this._scrollingContainer.scrollTop!==this.state.scrollTop&&(this._scrollingContainer.scrollTop=this.state.scrollTop));var u=o>0&&a>0;i>=0&&u&&this._updateScrollLeftForScrollToColumn(),s>=0&&u&&this._updateScrollTopForScrollToRow(),this._invokeOnGridRenderedHelper(),this._invokeOnScrollMemoizer({scrollLeft:l||0,scrollTop:n||0,totalColumnsWidth:c.columnSizeAndPositionManager.getTotalSize(),totalRowsHeight:c.rowSizeAndPositionManager.getTotalSize()}),this._maybeCallOnScrollbarPresenceChange()}},{key:"componentDidUpdate",value:function componentDidUpdate(e,t){var o=this,l=this.props,i=l.autoHeight,n=l.autoWidth,r=l.columnCount,s=l.height,a=l.rowCount,c=l.scrollToAlignment,d=l.scrollToColumn,u=l.scrollToRow,h=l.width,p=this.state,f=p.scrollLeft,S=p.scrollPositionChangeReason,g=p.scrollTop,m=p.instanceProps;this._handleInvalidatedGridSize();var _=r>0&&0===e.columnCount||a>0&&0===e.rowCount;S===P&&(!n&&f>=0&&(f!==this._scrollingContainer.scrollLeft||_)&&(this._scrollingContainer.scrollLeft=f),!i&&g>=0&&(g!==this._scrollingContainer.scrollTop||_)&&(this._scrollingContainer.scrollTop=g));var C=(0===e.width||0===e.height)&&s>0&&h>0;if(this._recomputeScrollLeftFlag?(this._recomputeScrollLeftFlag=!1,this._updateScrollLeftForScrollToColumn(this.props)):updateScrollIndexHelper({cellSizeAndPositionManager:m.columnSizeAndPositionManager,previousCellsCount:e.columnCount,previousCellSize:e.columnWidth,previousScrollToAlignment:e.scrollToAlignment,previousScrollToIndex:e.scrollToColumn,previousSize:e.width,scrollOffset:f,scrollToAlignment:c,scrollToIndex:d,size:h,sizeJustIncreasedFromZero:C,updateScrollIndexCallback:function updateScrollIndexCallback(){return o._updateScrollLeftForScrollToColumn(o.props)}}),this._recomputeScrollTopFlag?(this._recomputeScrollTopFlag=!1,this._updateScrollTopForScrollToRow(this.props)):updateScrollIndexHelper({cellSizeAndPositionManager:m.rowSizeAndPositionManager,previousCellsCount:e.rowCount,previousCellSize:e.rowHeight,previousScrollToAlignment:e.scrollToAlignment,previousScrollToIndex:e.scrollToRow,previousSize:e.height,scrollOffset:g,scrollToAlignment:c,scrollToIndex:u,size:s,sizeJustIncreasedFromZero:C,updateScrollIndexCallback:function updateScrollIndexCallback(){return o._updateScrollTopForScrollToRow(o.props)}}),this._invokeOnGridRenderedHelper(),f!==t.scrollLeft||g!==t.scrollTop){var v=m.rowSizeAndPositionManager.getTotalSize(),z=m.columnSizeAndPositionManager.getTotalSize();this._invokeOnScrollMemoizer({scrollLeft:f,scrollTop:g,totalColumnsWidth:z,totalRowsHeight:v})}this._maybeCallOnScrollbarPresenceChange()}},{key:"componentWillUnmount",value:function componentWillUnmount(){this._disablePointerEventsTimeoutId&&Object(I.a)(this._disablePointerEventsTimeoutId)}},{key:"render",value:function render(){var e=this.props,t=e.autoContainerWidth,o=e.autoHeight,l=e.autoWidth,i=e.className,n=e.containerProps,s=e.containerRole,a=e.containerStyle,c=e.height,d=e.id,u=e.noContentRenderer,h=e.role,p=e.style,f=e.tabIndex,S=e.width,g=this.state,C=g.instanceProps,v=g.needToResetStyleCache,z=this._isScrolling(),x={boxSizing:"border-box",direction:"ltr",height:o?"auto":c,position:"relative",width:l?"auto":S,WebkitOverflowScrolling:"touch",willChange:"transform"};v&&(this._styleCache={}),this.state.isScrolling||this._resetStyleCache(),this._calculateChildrenToRender(this.props,this.state);var w=C.columnSizeAndPositionManager.getTotalSize(),T=C.rowSizeAndPositionManager.getTotalSize(),y=T>c?C.scrollbarSize:0,b=w>S?C.scrollbarSize:0;b===this._horizontalScrollBarSize&&y===this._verticalScrollBarSize||(this._horizontalScrollBarSize=b,this._verticalScrollBarSize=y,this._scrollbarPresenceChanged=!0),x.overflowX=w+y<=S?"hidden":"auto",x.overflowY=T+b<=c?"hidden":"auto";var M=this._childrenToDisplay,I=0===M.length&&c>0&&S>0;return m.createElement("div",r()({ref:this._setScrollingContainerRef},n,{"aria-label":this.props["aria-label"],"aria-readonly":this.props["aria-readonly"],className:Object(_.a)("ReactVirtualized__Grid",i),id:d,onScroll:this._onScroll,role:h,style:r()({},x,p),tabIndex:f}),M.length>0&&m.createElement("div",{className:"ReactVirtualized__Grid__innerScrollContainer",role:s,style:r()({width:t?"auto":w,height:T,maxWidth:w,maxHeight:T,overflow:"hidden",pointerEvents:z?"none":"",position:"relative"},a)},M),I&&u())}},{key:"_calculateChildrenToRender",value:function _calculateChildrenToRender(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,o=e.cellRenderer,l=e.cellRangeRenderer,i=e.columnCount,n=e.deferredMeasurementCache,r=e.height,s=e.overscanColumnCount,a=e.overscanIndicesGetter,c=e.overscanRowCount,d=e.rowCount,u=e.width,h=e.isScrollingOptOut,p=t.scrollDirectionHorizontal,f=t.scrollDirectionVertical,S=t.instanceProps,g=this._initialScrollTop>0?this._initialScrollTop:t.scrollTop,m=this._initialScrollLeft>0?this._initialScrollLeft:t.scrollLeft,_=this._isScrolling(e,t);if(this._childrenToDisplay=[],r>0&&u>0){var C=S.columnSizeAndPositionManager.getVisibleCellRange({containerSize:u,offset:m}),v=S.rowSizeAndPositionManager.getVisibleCellRange({containerSize:r,offset:g}),z=S.columnSizeAndPositionManager.getOffsetAdjustment({containerSize:u,offset:m}),x=S.rowSizeAndPositionManager.getOffsetAdjustment({containerSize:r,offset:g});this._renderedColumnStartIndex=C.start,this._renderedColumnStopIndex=C.stop,this._renderedRowStartIndex=v.start,this._renderedRowStopIndex=v.stop;var w=a({direction:"horizontal",cellCount:i,overscanCellsCount:s,scrollDirection:p,startIndex:"number"==typeof C.start?C.start:0,stopIndex:"number"==typeof C.stop?C.stop:-1}),T=a({direction:"vertical",cellCount:d,overscanCellsCount:c,scrollDirection:f,startIndex:"number"==typeof v.start?v.start:0,stopIndex:"number"==typeof v.stop?v.stop:-1}),y=w.overscanStartIndex,b=w.overscanStopIndex,M=T.overscanStartIndex,I=T.overscanStopIndex;if(n){if(!n.hasFixedHeight())for(var R=M;R<=I;R++)if(!n.has(R,0)){y=0,b=i-1;break}if(!n.hasFixedWidth())for(var P=y;P<=b;P++)if(!n.has(0,P)){M=0,I=d-1;break}}this._childrenToDisplay=l({cellCache:this._cellCache,cellRenderer:o,columnSizeAndPositionManager:S.columnSizeAndPositionManager,columnStartIndex:y,columnStopIndex:b,deferredMeasurementCache:n,horizontalOffsetAdjustment:z,isScrolling:_,isScrollingOptOut:h,parent:this,rowSizeAndPositionManager:S.rowSizeAndPositionManager,rowStartIndex:M,rowStopIndex:I,scrollLeft:m,scrollTop:g,styleCache:this._styleCache,verticalOffsetAdjustment:x,visibleColumnIndices:C,visibleRowIndices:v}),this._columnStartIndex=y,this._columnStopIndex=b,this._rowStartIndex=M,this._rowStopIndex=I}}},{key:"_debounceScrollEnded",value:function _debounceScrollEnded(){var e=this.props.scrollingResetTimeInterval;this._disablePointerEventsTimeoutId&&Object(I.a)(this._disablePointerEventsTimeoutId),this._disablePointerEventsTimeoutId=Object(I.b)(this._debounceScrollEndedCallback,e)}},{key:"_handleInvalidatedGridSize",value:function _handleInvalidatedGridSize(){if("number"==typeof this._deferredInvalidateColumnIndex&&"number"==typeof this._deferredInvalidateRowIndex){var e=this._deferredInvalidateColumnIndex,t=this._deferredInvalidateRowIndex;this._deferredInvalidateColumnIndex=null,this._deferredInvalidateRowIndex=null,this.recomputeGridSize({columnIndex:e,rowIndex:t})}}},{key:"_invokeOnScrollMemoizer",value:function _invokeOnScrollMemoizer(e){var t=this,o=e.scrollLeft,l=e.scrollTop,i=e.totalColumnsWidth,n=e.totalRowsHeight;this._onScrollMemoizer({callback:function callback(e){var o=e.scrollLeft,l=e.scrollTop,r=t.props,s=r.height;(0,r.onScroll)({clientHeight:s,clientWidth:r.width,scrollHeight:n,scrollLeft:o,scrollTop:l,scrollWidth:i})},indices:{scrollLeft:o,scrollTop:l}})}},{key:"_isScrolling",value:function _isScrolling(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return Object.hasOwnProperty.call(e,"isScrolling")?Boolean(e.isScrolling):Boolean(t.isScrolling)}},{key:"_maybeCallOnScrollbarPresenceChange",value:function _maybeCallOnScrollbarPresenceChange(){if(this._scrollbarPresenceChanged){var e=this.props.onScrollbarPresenceChange;this._scrollbarPresenceChanged=!1,e({horizontal:this._horizontalScrollBarSize>0,size:this.state.instanceProps.scrollbarSize,vertical:this._verticalScrollBarSize>0})}}},{key:"scrollToPosition",value:function scrollToPosition(e){var t=e.scrollLeft,o=e.scrollTop,l=Grid._getScrollToPositionStateUpdate({prevState:this.state,scrollLeft:t,scrollTop:o});l&&(l.needToResetStyleCache=!1,this.setState(l))}},{key:"_getCalculatedScrollLeft",value:function _getCalculatedScrollLeft(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return Grid._getCalculatedScrollLeft(e,t)}},{key:"_updateScrollLeftForScrollToColumn",value:function _updateScrollLeftForScrollToColumn(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,o=Grid._getScrollLeftForScrollToColumnStateUpdate(e,t);o&&(o.needToResetStyleCache=!1,this.setState(o))}},{key:"_getCalculatedScrollTop",value:function _getCalculatedScrollTop(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return Grid._getCalculatedScrollTop(e,t)}},{key:"_resetStyleCache",value:function _resetStyleCache(){var e=this._styleCache,t=this._cellCache,o=this.props.isScrollingOptOut;this._cellCache={},this._styleCache={};for(var l=this._rowStartIndex;l<=this._rowStopIndex;l++)for(var i=this._columnStartIndex;i<=this._columnStopIndex;i++){var n=l+"-"+i;this._styleCache[n]=e[n],o&&(this._cellCache[n]=t[n])}}},{key:"_updateScrollTopForScrollToRow",value:function _updateScrollTopForScrollToRow(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,o=Grid._getScrollTopForScrollToRowStateUpdate(e,t);o&&(o.needToResetStyleCache=!1,this.setState(o))}}],[{key:"getDerivedStateFromProps",value:function getDerivedStateFromProps(e,t){var o={};0===e.columnCount&&0!==t.scrollLeft||0===e.rowCount&&0!==t.scrollTop?(o.scrollLeft=0,o.scrollTop=0):(e.scrollLeft!==t.scrollLeft&&e.scrollToColumn<0||e.scrollTop!==t.scrollTop&&e.scrollToRow<0)&&i()(o,Grid._getScrollToPositionStateUpdate({prevState:t,scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}));var l=t.instanceProps;o.needToResetStyleCache=!1,e.columnWidth===l.prevColumnWidth&&e.rowHeight===l.prevRowHeight||(o.needToResetStyleCache=!0),l.columnSizeAndPositionManager.configure({cellCount:e.columnCount,estimatedCellSize:Grid._getEstimatedColumnSize(e),cellSizeGetter:Grid._wrapSizeGetter(e.columnWidth)}),l.rowSizeAndPositionManager.configure({cellCount:e.rowCount,estimatedCellSize:Grid._getEstimatedRowSize(e),cellSizeGetter:Grid._wrapSizeGetter(e.rowHeight)}),0!==l.prevColumnCount&&0!==l.prevRowCount||(l.prevColumnCount=0,l.prevRowCount=0),e.autoHeight&&!1===e.isScrolling&&!0===l.prevIsScrolling&&i()(o,{isScrolling:!1});var n=void 0,s=void 0;return calculateSizeAndPositionDataAndUpdateScrollOffset({cellCount:l.prevColumnCount,cellSize:"number"==typeof l.prevColumnWidth?l.prevColumnWidth:null,computeMetadataCallback:function computeMetadataCallback(){return l.columnSizeAndPositionManager.resetCell(0)},computeMetadataCallbackProps:e,nextCellsCount:e.columnCount,nextCellSize:"number"==typeof e.columnWidth?e.columnWidth:null,nextScrollToIndex:e.scrollToColumn,scrollToIndex:l.prevScrollToColumn,updateScrollOffsetForScrollToIndex:function updateScrollOffsetForScrollToIndex(){n=Grid._getScrollLeftForScrollToColumnStateUpdate(e,t)}}),calculateSizeAndPositionDataAndUpdateScrollOffset({cellCount:l.prevRowCount,cellSize:"number"==typeof l.prevRowHeight?l.prevRowHeight:null,computeMetadataCallback:function computeMetadataCallback(){return l.rowSizeAndPositionManager.resetCell(0)},computeMetadataCallbackProps:e,nextCellsCount:e.rowCount,nextCellSize:"number"==typeof e.rowHeight?e.rowHeight:null,nextScrollToIndex:e.scrollToRow,scrollToIndex:l.prevScrollToRow,updateScrollOffsetForScrollToIndex:function updateScrollOffsetForScrollToIndex(){s=Grid._getScrollTopForScrollToRowStateUpdate(e,t)}}),l.prevColumnCount=e.columnCount,l.prevColumnWidth=e.columnWidth,l.prevIsScrolling=!0===e.isScrolling,l.prevRowCount=e.rowCount,l.prevRowHeight=e.rowHeight,l.prevScrollToColumn=e.scrollToColumn,l.prevScrollToRow=e.scrollToRow,l.scrollbarSize=e.getScrollbarSize(),void 0===l.scrollbarSize?(l.scrollbarSizeMeasured=!1,l.scrollbarSize=0):l.scrollbarSizeMeasured=!0,o.instanceProps=l,r()({},o,n,s)}},{key:"_getEstimatedColumnSize",value:function _getEstimatedColumnSize(e){return"number"==typeof e.columnWidth?e.columnWidth:e.estimatedColumnSize}},{key:"_getEstimatedRowSize",value:function _getEstimatedRowSize(e){return"number"==typeof e.rowHeight?e.rowHeight:e.estimatedRowSize}},{key:"_getScrollToPositionStateUpdate",value:function _getScrollToPositionStateUpdate(e){var t=e.prevState,o=e.scrollLeft,l=e.scrollTop,i={scrollPositionChangeReason:P};return"number"==typeof o&&o>=0&&(i.scrollDirectionHorizontal=o>t.scrollLeft?y:-1,i.scrollLeft=o),"number"==typeof l&&l>=0&&(i.scrollDirectionVertical=l>t.scrollTop?y:-1,i.scrollTop=l),"number"==typeof o&&o>=0&&o!==t.scrollLeft||"number"==typeof l&&l>=0&&l!==t.scrollTop?i:null}},{key:"_wrapSizeGetter",value:function _wrapSizeGetter(e){return"function"==typeof e?e:function(){return e}}},{key:"_getCalculatedScrollLeft",value:function _getCalculatedScrollLeft(e,t){var o=e.columnCount,l=e.height,i=e.scrollToAlignment,n=e.scrollToColumn,r=e.width,s=t.scrollLeft,a=t.instanceProps;if(o>0){var c=o-1,d=n<0?c:Math.min(c,n),u=a.rowSizeAndPositionManager.getTotalSize(),h=a.scrollbarSizeMeasured&&u>l?a.scrollbarSize:0;return a.columnSizeAndPositionManager.getUpdatedOffsetForIndex({align:i,containerSize:r-h,currentOffset:s,targetIndex:d})}return 0}},{key:"_getScrollLeftForScrollToColumnStateUpdate",value:function _getScrollLeftForScrollToColumnStateUpdate(e,t){var o=t.scrollLeft,l=Grid._getCalculatedScrollLeft(e,t);return"number"==typeof l&&l>=0&&o!==l?Grid._getScrollToPositionStateUpdate({prevState:t,scrollLeft:l,scrollTop:-1}):null}},{key:"_getCalculatedScrollTop",value:function _getCalculatedScrollTop(e,t){var o=e.height,l=e.rowCount,i=e.scrollToAlignment,n=e.scrollToRow,r=e.width,s=t.scrollTop,a=t.instanceProps;if(l>0){var c=l-1,d=n<0?c:Math.min(c,n),u=a.columnSizeAndPositionManager.getTotalSize(),h=a.scrollbarSizeMeasured&&u>r?a.scrollbarSize:0;return a.rowSizeAndPositionManager.getUpdatedOffsetForIndex({align:i,containerSize:o-h,currentOffset:s,targetIndex:d})}return 0}},{key:"_getScrollTopForScrollToRowStateUpdate",value:function _getScrollTopForScrollToRowStateUpdate(e,t){var o=t.scrollTop,l=Grid._getCalculatedScrollTop(e,t);return"number"==typeof l&&l>=0&&o!==l?Grid._getScrollToPositionStateUpdate({prevState:t,scrollLeft:-1,scrollTop:l}):null}}]),Grid}(m.PureComponent);k.defaultProps={"aria-label":"grid","aria-readonly":!0,autoContainerWidth:!1,autoHeight:!1,autoWidth:!1,cellRangeRenderer:function defaultCellRangeRenderer(e){for(var t=e.cellCache,o=e.cellRenderer,l=e.columnSizeAndPositionManager,i=e.columnStartIndex,n=e.columnStopIndex,r=e.deferredMeasurementCache,s=e.horizontalOffsetAdjustment,a=e.isScrolling,c=e.isScrollingOptOut,d=e.parent,u=e.rowSizeAndPositionManager,h=e.rowStartIndex,p=e.rowStopIndex,f=e.styleCache,S=e.verticalOffsetAdjustment,g=e.visibleColumnIndices,m=e.visibleRowIndices,_=[],C=l.areOffsetsAdjusted()||u.areOffsetsAdjusted(),v=!a&&!C,z=h;z<=p;z++)for(var x=u.getSizeAndPositionOfCell(z),w=i;w<=n;w++){var T=l.getSizeAndPositionOfCell(w),y=w>=g.start&&w<=g.stop&&z>=m.start&&z<=m.stop,b=z+"-"+w,M=void 0;v&&f[b]?M=f[b]:r&&!r.has(z,w)?M={height:"auto",left:0,position:"absolute",top:0,width:"auto"}:(M={height:x.size,left:T.offset+s,position:"absolute",top:x.offset+S,width:T.size},f[b]=M);var I={columnIndex:w,isScrolling:a,isVisible:y,key:b,parent:d,rowIndex:z,style:M},R=void 0;!c&&!a||s||S?R=o(I):(t[b]||(t[b]=o(I)),R=t[b]),null!=R&&!1!==R&&_.push(R)}return _},containerRole:"rowgroup",containerStyle:{},estimatedColumnSize:100,estimatedRowSize:30,getScrollbarSize:b.a,noContentRenderer:function renderNull(){return null},onScroll:function onScroll(){},onScrollbarPresenceChange:function onScrollbarPresenceChange(){},onSectionRendered:function onSectionRendered(){},overscanColumnCount:0,overscanIndicesGetter:function defaultOverscanIndicesGetter(e){var t=e.cellCount,o=e.overscanCellsCount,l=e.scrollDirection,i=e.startIndex,n=e.stopIndex;return l===y?{overscanStartIndex:Math.max(0,i),overscanStopIndex:Math.min(t-1,n+o)}:{overscanStartIndex:Math.max(0,i-o),overscanStopIndex:Math.min(t-1,n)}},overscanRowCount:10,role:"grid",scrollingResetTimeInterval:150,scrollToAlignment:"auto",scrollToColumn:-1,scrollToRow:-1,style:{},tabIndex:0,isScrollingOptOut:!1},k.propTypes=null,Object(M.polyfill)(k);var A=k,O=1;function accessibilityOverscanIndicesGetter_defaultOverscanIndicesGetter(e){var t=e.cellCount,o=e.overscanCellsCount,l=e.scrollDirection,i=e.startIndex,n=e.stopIndex;return o=Math.max(1,o),l===O?{overscanStartIndex:Math.max(0,i-1),overscanStopIndex:Math.min(t-1,n+o)}:{overscanStartIndex:Math.max(0,i-o),overscanStopIndex:Math.min(t-1,n+1)}}},"../node_modules/react-virtualized/dist/es/InfiniteLoader/index.js":function(e,t,o){var l=o("../node_modules/babel-runtime/helpers/toConsumableArray.js"),i=o.n(l),n=o("../node_modules/babel-runtime/core-js/object/get-prototype-of.js"),r=o.n(n),s=o("../node_modules/babel-runtime/helpers/classCallCheck.js"),a=o.n(s),c=o("../node_modules/babel-runtime/helpers/createClass.js"),d=o.n(c),u=o("../node_modules/babel-runtime/helpers/possibleConstructorReturn.js"),h=o.n(u),p=o("../node_modules/babel-runtime/helpers/inherits.js"),f=o.n(p),S=o("react"),g=(o("../node_modules/prop-types/index.js"),o("../node_modules/react-virtualized/dist/es/utils/createCallbackMemoizer.js")),m=function(e){function InfiniteLoader(e,t){a()(this,InfiniteLoader);var o=h()(this,(InfiniteLoader.__proto__||r()(InfiniteLoader)).call(this,e,t));return o._loadMoreRowsMemoizer=Object(g.a)(),o._onRowsRendered=o._onRowsRendered.bind(o),o._registerChild=o._registerChild.bind(o),o}return f()(InfiniteLoader,e),d()(InfiniteLoader,[{key:"resetLoadMoreRowsCache",value:function resetLoadMoreRowsCache(e){this._loadMoreRowsMemoizer=Object(g.a)(),e&&this._doStuff(this._lastRenderedStartIndex,this._lastRenderedStopIndex)}},{key:"render",value:function render(){return(0,this.props.children)({onRowsRendered:this._onRowsRendered,registerChild:this._registerChild})}},{key:"_loadUnloadedRanges",value:function _loadUnloadedRanges(e){var t=this,o=this.props.loadMoreRows;e.forEach((function(e){var l=o(e);l&&l.then((function(){(function isRangeVisible(e){var t=e.lastRenderedStartIndex,o=e.lastRenderedStopIndex,l=e.startIndex,i=e.stopIndex;return!(l>o||i<t)})({lastRenderedStartIndex:t._lastRenderedStartIndex,lastRenderedStopIndex:t._lastRenderedStopIndex,startIndex:e.startIndex,stopIndex:e.stopIndex})&&t._registeredChild&&function forceUpdateReactVirtualizedComponent(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,o="function"==typeof e.recomputeGridSize?e.recomputeGridSize:e.recomputeRowHeights;o?o.call(e,t):e.forceUpdate()}(t._registeredChild,t._lastRenderedStartIndex)}))}))}},{key:"_onRowsRendered",value:function _onRowsRendered(e){var t=e.startIndex,o=e.stopIndex;this._lastRenderedStartIndex=t,this._lastRenderedStopIndex=o,this._doStuff(t,o)}},{key:"_doStuff",value:function _doStuff(e,t){var o,l=this,n=this.props,r=n.isRowLoaded,s=n.minimumBatchSize,a=n.rowCount,c=n.threshold,d=function scanForUnloadedRanges(e){for(var t=e.isRowLoaded,o=e.minimumBatchSize,l=e.rowCount,i=e.startIndex,n=e.stopIndex,r=[],s=null,a=null,c=i;c<=n;c++){t({index:c})?null!==a&&(r.push({startIndex:s,stopIndex:a}),s=a=null):(a=c,null===s&&(s=c))}if(null!==a){for(var d=Math.min(Math.max(a,s+o-1),l-1),u=a+1;u<=d&&!t({index:u});u++)a=u;r.push({startIndex:s,stopIndex:a})}if(r.length)for(var h=r[0];h.stopIndex-h.startIndex+1<o&&h.startIndex>0;){var p=h.startIndex-1;if(t({index:p}))break;h.startIndex=p}return r}({isRowLoaded:r,minimumBatchSize:s,rowCount:a,startIndex:Math.max(0,e-c),stopIndex:Math.min(a-1,t+c)}),u=(o=[]).concat.apply(o,i()(d.map((function(e){return[e.startIndex,e.stopIndex]}))));this._loadMoreRowsMemoizer({callback:function callback(){l._loadUnloadedRanges(d)},indices:{squashedUnloadedRanges:u}})}},{key:"_registerChild",value:function _registerChild(e){this._registeredChild=e}}]),InfiniteLoader}(S.PureComponent);m.defaultProps={minimumBatchSize:10,rowCount:0,threshold:15};m.propTypes={}}}]);
//# sourceMappingURL=vendors~bad-route-2mkgt~custom-page-KXWAf~graphiql-page-QvAQg~home-page-WyKJQ~page-with-sidebar-I1Yd~001696dc.chunk.eaa5497fb7f7db0479e3.js.map