System.register([],function(_export,_context){"use strict";var t,s,o,l;function _callSuper(t,o,e){return o=_getPrototypeOf(o),_possibleConstructorReturn(t,_isNativeReflectConstruct()?Reflect.construct(o,e||[],_getPrototypeOf(t).constructor):o.apply(t,e));}function _possibleConstructorReturn(t,e){if(e&&("object"==_typeof(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized(t);}function _assertThisInitialized(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e;}function _isNativeReflectConstruct(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}));}catch(t){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!t;})();}function _superPropGet(t,o,e,r){var p=_get(_getPrototypeOf(1&r?t.prototype:t),o,e);return 2&r&&"function"==typeof p?function(t){return p.apply(e,t);}:p;}function _get(){return _get="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var p=_superPropBase(e,t);if(p){var n=Object.getOwnPropertyDescriptor(p,t);return n.get?n.get.call(arguments.length<3?e:r):n.value;}},_get.apply(null,arguments);}function _superPropBase(t,o){for(;!{}.hasOwnProperty.call(t,o)&&null!==(t=_getPrototypeOf(t)););return t;}function _getPrototypeOf(t){return _getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t);},_getPrototypeOf(t);}function _inherits(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&_setPrototypeOf(t,e);}function _setPrototypeOf(t,e){return _setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t;},_setPrototypeOf(t,e);}function _createForOfIteratorHelper(r,e){var t="undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(!t){if(Array.isArray(r)||(t=_unsupportedIterableToArray(r))||e&&r&&"number"==typeof r.length){t&&(r=t);var _n=0,F=function F(){};return{s:F,n:function n(){return _n>=r.length?{done:!0}:{done:!1,value:r[_n++]};},e:function e(r){throw r;},f:F};}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}var o,a=!0,u=!1;return{s:function s(){t=t.call(r);},n:function n(){var r=t.next();return a=r.done,r;},e:function e(r){u=!0,o=r;},f:function f(){try{a||null==t["return"]||t["return"]();}finally{if(u)throw o;}}};}function _toConsumableArray(r){return _arrayWithoutHoles(r)||_iterableToArray(r)||_unsupportedIterableToArray(r)||_nonIterableSpread();}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function _unsupportedIterableToArray(r,a){if(r){if("string"==typeof r)return _arrayLikeToArray(r,a);var t={}.toString.call(r).slice(8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(r,a):void 0;}}function _iterableToArray(r){if("undefined"!=typeof Symbol&&null!=r[Symbol.iterator]||null!=r["@@iterator"])return Array.from(r);}function _arrayWithoutHoles(r){if(Array.isArray(r))return _arrayLikeToArray(r);}function _arrayLikeToArray(r,a){(null==a||a>r.length)&&(a=r.length);for(var e=0,n=Array(a);e<a;e++)n[e]=r[e];return n;}function _defineProperty(e,r,t){return(r=_toPropertyKey(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e;}function _typeof(o){"@babel/helpers - typeof";return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o;}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o;},_typeof(o);}function _classCallCheck(a,n){if(!(a instanceof n))throw new TypeError("Cannot call a class as a function");}function _defineProperties(e,r){for(var t=0;t<r.length;t++){var o=r[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,_toPropertyKey(o.key),o);}}function _createClass(e,r,t){return r&&_defineProperties(e.prototype,r),t&&_defineProperties(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e;}function _toPropertyKey(t){var i=_toPrimitive(t,"string");return"symbol"==_typeof(i)?i:i+"";}function _toPrimitive(t,r){if("object"!=_typeof(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,r||"default");if("object"!=_typeof(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.");}return("string"===r?String:Number)(t);}/**
 * @license
 * Copyright 2021 Google LLC
 * SPDX-License-Identifier: BSD-3-Clause
 */function i(t){return"horizontal"===t?"width":"height";}/**
 * @license
 * Copyright 2021 Google LLC
 * SPDX-License-Identifier: BSD-3-Clause
 */function h(t){return"horizontal"===t?"marginLeft":"marginTop";}function e(t){return"horizontal"===t?"marginRight":"marginBottom";}function r(t){return"horizontal"===t?"xOffset":"yOffset";}function n(t,i){var s=[t,i].sort();return s[1]<=0?Math.min.apply(Math,_toConsumableArray(s)):s[0]>=0?Math.max.apply(Math,_toConsumableArray(s)):s[0]+s[1];}return{setters:[],execute:function execute(){/**
 * @license
 * Copyright 2021 Google LLC
 * SPDX-License-Identifier: BSD-3-Clause
 */t=/*#__PURE__*/function(){function t(_t){_classCallCheck(this,t);this._map=new Map(),this._roundAverageSize=!1,this.totalSize=0,!0===(_t===null||_t===void 0?void 0:_t.roundAverageSize)&&(this._roundAverageSize=!0);}return _createClass(t,[{key:"set",value:function set(_t2,i){var s=this._map.get(_t2)||0;this._map.set(_t2,i),this.totalSize+=i-s;}},{key:"averageSize",get:function get(){if(this._map.size>0){var _t3=this.totalSize/this._map.size;return this._roundAverageSize?Math.round(_t3):_t3;}return 0;}},{key:"getSize",value:function getSize(_t4){return this._map.get(_t4);}},{key:"clear",value:function clear(){this._map.clear(),this.totalSize=0;}}]);}();s=/*#__PURE__*/function(){function s(t,i){var _this=this;_classCallCheck(this,s);this._latestCoords={left:0,top:0},this._direction=null,this._viewportSize={width:0,height:0},this.totalScrollSize={width:0,height:0},this.offsetWithinScroller={left:0,top:0},this._pendingReflow=!1,this._pendingLayoutUpdate=!1,this._pin=null,this._firstVisible=0,this._lastVisible=0,this._physicalMin=0,this._physicalMax=0,this._first=-1,this._last=-1,this._sizeDim="height",this._secondarySizeDim="width",this._positionDim="top",this._secondaryPositionDim="left",this._scrollPosition=0,this._scrollError=0,this._items=[],this._scrollSize=1,this._overhang=1e3,this._hostSink=t,Promise.resolve().then(function(){return _this.config=i||_this._getDefaultConfig();});}return _createClass(s,[{key:"_getDefaultConfig",value:function _getDefaultConfig(){return{direction:"vertical"};}},{key:"config",get:function get(){return{direction:this.direction};},set:function set(t){Object.assign(this,Object.assign({},this._getDefaultConfig(),t));}},{key:"items",get:function get(){return this._items;},set:function set(t){this._setItems(t);}},{key:"_setItems",value:function _setItems(t){t!==this._items&&(this._items=t,this._scheduleReflow());}},{key:"direction",get:function get(){return this._direction;},set:function set(t){(t="horizontal"===t?t:"vertical")!==this._direction&&(this._direction=t,this._sizeDim="horizontal"===t?"width":"height",this._secondarySizeDim="horizontal"===t?"height":"width",this._positionDim="horizontal"===t?"left":"top",this._secondaryPositionDim="horizontal"===t?"top":"left",this._triggerReflow());}},{key:"viewportSize",get:function get(){return this._viewportSize;},set:function set(t){var i=this._viewDim1,_s=this._viewDim2;Object.assign(this._viewportSize,t),_s!==this._viewDim2?this._scheduleLayoutUpdate():i!==this._viewDim1&&this._checkThresholds();}},{key:"viewportScroll",get:function get(){return this._latestCoords;},set:function set(t){Object.assign(this._latestCoords,t);var i=this._scrollPosition;this._scrollPosition=this._latestCoords[this._positionDim];Math.abs(i-this._scrollPosition)>=1&&this._checkThresholds();}},{key:"reflowIfNeeded",value:function reflowIfNeeded(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:!1;(t||this._pendingReflow)&&(this._pendingReflow=!1,this._reflow());}},{key:"pin",get:function get(){if(null!==this._pin){var _this$_pin=this._pin,_t5=_this$_pin.index,_i=_this$_pin.block;return{index:Math.max(0,Math.min(_t5,this.items.length-1)),block:_i};}return null;},set:function set(t){this._pin=t,this._triggerReflow();}},{key:"_clampScrollPosition",value:function _clampScrollPosition(t){return Math.max(-this.offsetWithinScroller[this._positionDim],Math.min(t,this.totalScrollSize[i(this.direction)]-this._viewDim1));}},{key:"unpin",value:function unpin(){null!==this._pin&&(this._sendUnpinnedMessage(),this._pin=null);}},{key:"_updateLayout",value:function _updateLayout(){}},{key:"_viewDim1",get:function get(){return this._viewportSize[this._sizeDim];}},{key:"_viewDim2",get:function get(){return this._viewportSize[this._secondarySizeDim];}},{key:"_scheduleReflow",value:function _scheduleReflow(){this._pendingReflow=!0;}},{key:"_scheduleLayoutUpdate",value:function _scheduleLayoutUpdate(){this._pendingLayoutUpdate=!0,this._scheduleReflow();}},{key:"_triggerReflow",value:function _triggerReflow(){var _this2=this;this._scheduleLayoutUpdate(),Promise.resolve().then(function(){return _this2.reflowIfNeeded();});}},{key:"_reflow",value:function _reflow(){this._pendingLayoutUpdate&&(this._updateLayout(),this._pendingLayoutUpdate=!1),this._updateScrollSize(),this._setPositionFromPin(),this._getActiveItems(),this._updateVisibleIndices(),this._sendStateChangedMessage();}},{key:"_setPositionFromPin",value:function _setPositionFromPin(){if(null!==this.pin){var _t6=this._scrollPosition,_this$pin=this.pin,_i2=_this$pin.index,_s2=_this$pin.block;this._scrollPosition=this._calculateScrollIntoViewPosition({index:_i2,block:_s2||"start"})-this.offsetWithinScroller[this._positionDim],this._scrollError=_t6-this._scrollPosition;}}},{key:"_calculateScrollIntoViewPosition",value:function _calculateScrollIntoViewPosition(t){var i=t.block,_s3=Math.min(this.items.length,Math.max(0,t.index)),h=this._getItemPosition(_s3)[this._positionDim];var e=h;if("start"!==i){var _t7=this._getItemSize(_s3)[this._sizeDim];if("center"===i)e=h-.5*this._viewDim1+.5*_t7;else{var _s4=h-this._viewDim1+_t7;if("end"===i)e=_s4;else{var _t8=this._scrollPosition;e=Math.abs(_t8-h)<Math.abs(_t8-_s4)?h:_s4;}}}return e+=this.offsetWithinScroller[this._positionDim],this._clampScrollPosition(e);}},{key:"getScrollIntoViewCoordinates",value:function getScrollIntoViewCoordinates(t){return _defineProperty({},this._positionDim,this._calculateScrollIntoViewPosition(t));}},{key:"_sendUnpinnedMessage",value:function _sendUnpinnedMessage(){this._hostSink({type:"unpinned"});}},{key:"_sendVisibilityChangedMessage",value:function _sendVisibilityChangedMessage(){this._hostSink({type:"visibilityChanged",firstVisible:this._firstVisible,lastVisible:this._lastVisible});}},{key:"_sendStateChangedMessage",value:function _sendStateChangedMessage(){var t=new Map();if(-1!==this._first&&-1!==this._last)for(var _i3=this._first;_i3<=this._last;_i3++)t.set(_i3,this._getItemPosition(_i3));var i={type:"stateChanged",scrollSize:_defineProperty(_defineProperty({},this._sizeDim,this._scrollSize),this._secondarySizeDim,null),range:{first:this._first,last:this._last,firstVisible:this._firstVisible,lastVisible:this._lastVisible},childPositions:t};this._scrollError&&(i.scrollError=_defineProperty(_defineProperty({},this._positionDim,this._scrollError),this._secondaryPositionDim,0),this._scrollError=0),this._hostSink(i);}},{key:"_num",get:function get(){return-1===this._first||-1===this._last?0:this._last-this._first+1;}},{key:"_checkThresholds",value:function _checkThresholds(){if(0===this._viewDim1&&this._num>0||null!==this._pin)this._scheduleReflow();else{var _t9=Math.max(0,this._scrollPosition-this._overhang),_i4=Math.min(this._scrollSize,this._scrollPosition+this._viewDim1+this._overhang);this._physicalMin>_t9||this._physicalMax<_i4?this._scheduleReflow():this._updateVisibleIndices({emit:!0});}}},{key:"_updateVisibleIndices",value:function _updateVisibleIndices(t){if(-1===this._first||-1===this._last)return;var i=this._first;for(;i<this._last&&Math.round(this._getItemPosition(i)[this._positionDim]+this._getItemSize(i)[this._sizeDim])<=Math.round(this._scrollPosition);)i++;var _s5=this._last;for(;_s5>this._first&&Math.round(this._getItemPosition(_s5)[this._positionDim])>=Math.round(this._scrollPosition+this._viewDim1);)_s5--;i===this._firstVisible&&_s5===this._lastVisible||(this._firstVisible=i,this._lastVisible=_s5,t&&t.emit&&this._sendVisibilityChangedMessage());}}]);}();o=/*#__PURE__*/function(){function o(){_classCallCheck(this,o);this._childSizeCache=new t(),this._marginSizeCache=new t(),this._metricsCache=new Map();}return _createClass(o,[{key:"update",value:function update(t,s){var _this3=this;var r=new Set();Object.keys(t).forEach(function(h){var e=Number(h);_this3._metricsCache.set(e,t[e]),_this3._childSizeCache.set(e,t[e][i(s)]),r.add(e),r.add(e+1);});var _iterator=_createForOfIteratorHelper(r),_step;try{for(_iterator.s();!(_step=_iterator.n()).done;){var _this$_metricsCache$g,_this$_metricsCache$g2;var _t10=_step.value;var _i5=((_this$_metricsCache$g=this._metricsCache.get(_t10))===null||_this$_metricsCache$g===void 0?void 0:_this$_metricsCache$g[h(s)])||0,_r=((_this$_metricsCache$g2=this._metricsCache.get(_t10-1))===null||_this$_metricsCache$g2===void 0?void 0:_this$_metricsCache$g2[e(s)])||0;this._marginSizeCache.set(_t10,n(_i5,_r));}}catch(err){_iterator.e(err);}finally{_iterator.f();}}},{key:"averageChildSize",get:function get(){return this._childSizeCache.averageSize;}},{key:"totalChildSize",get:function get(){return this._childSizeCache.totalSize;}},{key:"averageMarginSize",get:function get(){return this._marginSizeCache.averageSize;}},{key:"totalMarginSize",get:function get(){return this._marginSizeCache.totalSize;}},{key:"getLeadingMarginValue",value:function getLeadingMarginValue(t,i){var _this$_metricsCache$g3;return((_this$_metricsCache$g3=this._metricsCache.get(t))===null||_this$_metricsCache$g3===void 0?void 0:_this$_metricsCache$g3[h(i)])||0;}},{key:"getChildSize",value:function getChildSize(t){return this._childSizeCache.getSize(t);}},{key:"getMarginSize",value:function getMarginSize(t){return this._marginSizeCache.getSize(t);}},{key:"clear",value:function clear(){this._childSizeCache.clear(),this._marginSizeCache.clear(),this._metricsCache.clear();}}]);}();_export("FlowLayout",l=/*#__PURE__*/function(_s6){function l(){var _this4;_classCallCheck(this,l);_this4=_callSuper(this,l,arguments),_this4._itemSize={width:100,height:100},_this4._physicalItems=new Map(),_this4._newPhysicalItems=new Map(),_this4._metricsCache=new o(),_this4._anchorIdx=null,_this4._anchorPos=null,_this4._stable=!0,_this4._measureChildren=!0,_this4._estimate=!0;return _this4;}_inherits(l,_s6);return _createClass(l,[{key:"measureChildren",get:function get(){return this._measureChildren;}},{key:"updateItemSizes",value:function updateItemSizes(t){this._metricsCache.update(t,this.direction),this._scheduleReflow();}},{key:"_getPhysicalItem",value:function _getPhysicalItem(t){var _this$_newPhysicalIte;return(_this$_newPhysicalIte=this._newPhysicalItems.get(t))!==null&&_this$_newPhysicalIte!==void 0?_this$_newPhysicalIte:this._physicalItems.get(t);}},{key:"_getSize",value:function _getSize(t){return this._getPhysicalItem(t)&&this._metricsCache.getChildSize(t);}},{key:"_getAverageSize",value:function _getAverageSize(){return this._metricsCache.averageChildSize||this._itemSize[this._sizeDim];}},{key:"_estimatePosition",value:function _estimatePosition(t){var i=this._metricsCache;if(-1===this._first||-1===this._last)return i.averageMarginSize+t*(i.averageMarginSize+this._getAverageSize());if(t<this._first){var _s7=this._first-t;return this._getPhysicalItem(this._first).pos-(i.getMarginSize(this._first-1)||i.averageMarginSize)-(_s7*i.averageChildSize+(_s7-1)*i.averageMarginSize);}{var _s8=t-this._last;return this._getPhysicalItem(this._last).pos+(i.getChildSize(this._last)||i.averageChildSize)+(i.getMarginSize(this._last)||i.averageMarginSize)+_s8*(i.averageChildSize+i.averageMarginSize);}}},{key:"_getPosition",value:function _getPosition(t){var _this$_metricsCache$g4;var i=this._getPhysicalItem(t),s=this._metricsCache.averageMarginSize;return 0===t?(_this$_metricsCache$g4=this._metricsCache.getMarginSize(0))!==null&&_this$_metricsCache$g4!==void 0?_this$_metricsCache$g4:s:i?i.pos:this._estimatePosition(t);}},{key:"_calculateAnchor",value:function _calculateAnchor(t,i){return t<=0?0:i>this._scrollSize-this._viewDim1?this.items.length-1:Math.max(0,Math.min(this.items.length-1,Math.floor((t+i)/2/this._delta)));}},{key:"_getAnchor",value:function _getAnchor(t,i){if(0===this._physicalItems.size)return this._calculateAnchor(t,i);if(this._first<0)return this._calculateAnchor(t,i);if(this._last<0)return this._calculateAnchor(t,i);var s=this._getPhysicalItem(this._first),h=this._getPhysicalItem(this._last),e=s.pos;if(h.pos+this._metricsCache.getChildSize(this._last)<t)return this._calculateAnchor(t,i);if(e>i)return this._calculateAnchor(t,i);var r=this._firstVisible-1,n=-1/0;for(;n<t;){n=this._getPhysicalItem(++r).pos+this._metricsCache.getChildSize(r);}return r;}},{key:"_getActiveItems",value:function _getActiveItems(){0===this._viewDim1||0===this.items.length?this._clearItems():this._getItems();}},{key:"_clearItems",value:function _clearItems(){this._first=-1,this._last=-1,this._physicalMin=0,this._physicalMax=0;var t=this._newPhysicalItems;this._newPhysicalItems=this._physicalItems,this._newPhysicalItems.clear(),this._physicalItems=t,this._stable=!0;}},{key:"_getItems",value:function _getItems(){var _this$_metricsCache$g5,_this$_metricsCache$g6;var t=this._newPhysicalItems;var i,s;if(this._stable=!0,null!==this.pin){var _t11=this.pin.index;this._anchorIdx=_t11,this._anchorPos=this._getPosition(_t11);}if(i=this._scrollPosition-this._overhang,s=this._scrollPosition+this._viewDim1+this._overhang,s<0||i>this._scrollSize)return void this._clearItems();null!==this._anchorIdx&&null!==this._anchorPos||(this._anchorIdx=this._getAnchor(i,s),this._anchorPos=this._getPosition(this._anchorIdx));var h=this._getSize(this._anchorIdx);void 0===h&&(this._stable=!1,h=this._getAverageSize());var e=(_this$_metricsCache$g5=this._metricsCache.getMarginSize(this._anchorIdx))!==null&&_this$_metricsCache$g5!==void 0?_this$_metricsCache$g5:this._metricsCache.averageMarginSize,r=(_this$_metricsCache$g6=this._metricsCache.getMarginSize(this._anchorIdx+1))!==null&&_this$_metricsCache$g6!==void 0?_this$_metricsCache$g6:this._metricsCache.averageMarginSize;0===this._anchorIdx&&(this._anchorPos=e),this._anchorIdx===this.items.length-1&&(this._anchorPos=this._scrollSize-r-h);var n=0;for(this._anchorPos+h+r<i&&(n=i-(this._anchorPos+h+r)),this._anchorPos-e>s&&(n=s-(this._anchorPos-e)),n&&(this._scrollPosition-=n,i-=n,s-=n,this._scrollError+=n),t.set(this._anchorIdx,{pos:this._anchorPos,size:h}),this._first=this._last=this._anchorIdx,this._physicalMin=this._anchorPos-e,this._physicalMax=this._anchorPos+h+r;this._physicalMin>i&&this._first>0;){var _i6=this._getSize(--this._first);void 0===_i6&&(this._stable=!1,_i6=this._getAverageSize());var _s9=this._metricsCache.getMarginSize(this._first);void 0===_s9&&(this._stable=!1,_s9=this._metricsCache.averageMarginSize),this._physicalMin-=_i6;var _h=this._physicalMin;if(t.set(this._first,{pos:_h,size:_i6}),this._physicalMin-=_s9,!1===this._stable&&!1===this._estimate)break;}for(;this._physicalMax<s&&this._last<this.items.length-1;){var _i7=this._getSize(++this._last);void 0===_i7&&(this._stable=!1,_i7=this._getAverageSize());var _s10=this._metricsCache.getMarginSize(this._last);void 0===_s10&&(this._stable=!1,_s10=this._metricsCache.averageMarginSize);var _h2=this._physicalMax;if(t.set(this._last,{pos:_h2,size:_i7}),this._physicalMax+=_i7+_s10,!this._stable&&!this._estimate)break;}var o=this._calculateError();o&&(this._physicalMin-=o,this._physicalMax-=o,this._anchorPos-=o,this._scrollPosition-=o,t.forEach(function(t){return t.pos-=o;}),this._scrollError+=o),this._stable&&(this._newPhysicalItems=this._physicalItems,this._newPhysicalItems.clear(),this._physicalItems=t);}},{key:"_calculateError",value:function _calculateError(){return 0===this._first?this._physicalMin:this._physicalMin<=0?this._physicalMin-this._first*this._delta:this._last===this.items.length-1?this._physicalMax-this._scrollSize:this._physicalMax>=this._scrollSize?this._physicalMax-this._scrollSize+(this.items.length-1-this._last)*this._delta:0;}},{key:"_reflow",value:function _reflow(){var t=this._first,i=this._last;_superPropGet(l,"_reflow",this,3)([]),(-1===this._first&&-1==this._last||this._first===t&&this._last===i)&&this._resetReflowState();}},{key:"_resetReflowState",value:function _resetReflowState(){this._anchorIdx=null,this._anchorPos=null,this._stable=!0;}},{key:"_updateScrollSize",value:function _updateScrollSize(){var t=this._metricsCache.averageMarginSize;this._scrollSize=Math.max(1,this.items.length*(t+this._getAverageSize())+t);}},{key:"_delta",get:function get(){var t=this._metricsCache.averageMarginSize;return this._getAverageSize()+t;}},{key:"_getItemPosition",value:function _getItemPosition(t){var _this$_metricsCache$g7;return _defineProperty(_defineProperty(_defineProperty({},this._positionDim,this._getPosition(t)),this._secondaryPositionDim,0),r(this.direction),-((_this$_metricsCache$g7=this._metricsCache.getLeadingMarginValue(t,this.direction))!==null&&_this$_metricsCache$g7!==void 0?_this$_metricsCache$g7:this._metricsCache.averageMarginSize));}},{key:"_getItemSize",value:function _getItemSize(t){return _defineProperty(_defineProperty({},this._sizeDim,this._getSize(t)||this._getAverageSize()),this._secondarySizeDim,this._itemSize[this._secondarySizeDim]);}},{key:"_viewDim2Changed",value:function _viewDim2Changed(){this._metricsCache.clear(),this._scheduleReflow();}}]);}(s));}};});
//# sourceMappingURL=flow-d0fa8803.cjs.js.map
