@mongodb-js/compass-web 0.30.2 → 0.30.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/120.mjs +2 -0
- package/dist/305.mjs +1 -1
- package/dist/737.mjs +352 -0
- package/dist/752.mjs +2 -0
- package/dist/790.mjs +1 -1
- package/dist/858.mjs +2 -0
- package/dist/compass-web.mjs +11 -11
- package/package.json +34 -34
- package/dist/267.mjs +0 -352
- package/dist/276.mjs +0 -2
- package/dist/36.mjs +0 -2
- package/dist/876.mjs +0 -2
- /package/dist/{876.mjs.LICENSE.txt → 120.mjs.LICENSE.txt} +0 -0
- /package/dist/{267.mjs.LICENSE.txt → 737.mjs.LICENSE.txt} +0 -0
- /package/dist/{276.mjs.LICENSE.txt → 752.mjs.LICENSE.txt} +0 -0
- /package/dist/{36.mjs.LICENSE.txt → 858.mjs.LICENSE.txt} +0 -0
package/dist/276.mjs
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/*! For license information please see 276.mjs.LICENSE.txt */
|
|
2
|
-
export const __webpack_esm_id__=276;export const __webpack_esm_ids__=[276];export const __webpack_esm_modules__={470:(t,e,o)=>{var i=o(81367).DecisionState,n=o(7842).Ij,r=o(66346).Hash;function s(t,e){if(null===t){var o={state:null,alt:null,context:null,semanticContext:null};return e&&(o.reachesIntoOuterContext=0),o}var i={};return i.state=t.state||null,i.alt=void 0===t.alt?null:t.alt,i.context=t.context||null,i.semanticContext=t.semanticContext||null,e&&(i.reachesIntoOuterContext=t.reachesIntoOuterContext||0,i.precedenceFilterSuppressed=t.precedenceFilterSuppressed||!1),i}function a(t,e){return this.checkContext(t,e),t=s(t),e=s(e,!0),this.state=null!==t.state?t.state:e.state,this.alt=null!==t.alt?t.alt:e.alt,this.context=null!==t.context?t.context:e.context,this.semanticContext=null!==t.semanticContext?t.semanticContext:null!==e.semanticContext?e.semanticContext:n.NONE,this.reachesIntoOuterContext=e.reachesIntoOuterContext,this.precedenceFilterSuppressed=e.precedenceFilterSuppressed,this}function l(t,e){a.call(this,t,e);var o=t.lexerActionExecutor||null;return this.lexerActionExecutor=o||(null!==e?e.lexerActionExecutor:null),this.passedThroughNonGreedyDecision=null!==e&&this.checkNonGreedyDecision(e,this.state),this}a.prototype.checkContext=function(t,e){null!==t.context&&void 0!==t.context||null!==e&&null!==e.context&&void 0!==e.context||(this.context=null)},a.prototype.hashCode=function(){var t=new r;return this.updateHashCode(t),t.finish()},a.prototype.updateHashCode=function(t){t.update(this.state.stateNumber,this.alt,this.context,this.semanticContext)},a.prototype.equals=function(t){return this===t||t instanceof a&&this.state.stateNumber===t.state.stateNumber&&this.alt===t.alt&&(null===this.context?null===t.context:this.context.equals(t.context))&&this.semanticContext.equals(t.semanticContext)&&this.precedenceFilterSuppressed===t.precedenceFilterSuppressed},a.prototype.hashCodeForConfigSet=function(){var t=new r;return t.update(this.state.stateNumber,this.alt,this.semanticContext),t.finish()},a.prototype.equalsForConfigSet=function(t){return this===t||t instanceof a&&this.state.stateNumber===t.state.stateNumber&&this.alt===t.alt&&this.semanticContext.equals(t.semanticContext)},a.prototype.toString=function(){return"("+this.state+","+this.alt+(null!==this.context?",["+this.context.toString()+"]":"")+(this.semanticContext!==n.NONE?","+this.semanticContext.toString():"")+(this.reachesIntoOuterContext>0?",up="+this.reachesIntoOuterContext:"")+")"},l.prototype=Object.create(a.prototype),l.prototype.constructor=l,l.prototype.updateHashCode=function(t){t.update(this.state.stateNumber,this.alt,this.context,this.semanticContext,this.passedThroughNonGreedyDecision,this.lexerActionExecutor)},l.prototype.equals=function(t){return this===t||t instanceof l&&this.passedThroughNonGreedyDecision==t.passedThroughNonGreedyDecision&&(this.lexerActionExecutor?this.lexerActionExecutor.equals(t.lexerActionExecutor):!t.lexerActionExecutor)&&a.prototype.equals.call(this,t)},l.prototype.hashCodeForConfigSet=l.prototype.hashCode,l.prototype.equalsForConfigSet=l.prototype.equals,l.prototype.checkNonGreedyDecision=function(t,e){return t.passedThroughNonGreedyDecision||e instanceof i&&e.nonGreedy},e.G=a,e.I=l},663:function(t,e,o){var i=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},n=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r=o(72493),s=o(55e3),a=o(44081),l=function(){function t(){}return t.prototype.postConstruct=function(){this.doingTreeData=this.gridOptionsWrapper.isTreeData()},t.prototype.filter=function(t){var e=this.filterManager.isAnyFilterPresent();this.filterNodes(e,t)},t.prototype.filterNodes=function(t,e){var o=this,i=function(e,i){e.hasChildren()?(e.childrenAfterFilter=t&&!i?e.childrenAfterGroup.filter((function(t){var e=t.childrenAfterFilter&&t.childrenAfterFilter.length>0,i=t.data&&o.filterManager.doesRowPassFilter(t);return e||i})):e.childrenAfterGroup,o.setAllChildrenCount(e)):(e.childrenAfterFilter=e.childrenAfterGroup,e.setAllChildrenCount(null))};if(this.doingTreeDataFiltering()){var n=function(t,e){if(t.childrenAfterGroup)for(var r=0;r<t.childrenAfterGroup.length;r++){var s=t.childrenAfterGroup[r],a=e||o.filterManager.doesRowPassFilter(s);s.childrenAfterGroup?n(t.childrenAfterGroup[r],a):i(s,a)}i(t,e)};e.executeFromRootNode((function(t){return n(t,!1)}))}else e.forEachChangedNodeDepthFirst((function(t){return i(t,!1)}),!0)},t.prototype.setAllChildrenCountTreeData=function(t){var e=0;t.childrenAfterFilter.forEach((function(t){e++,e+=t.allChildrenCount})),t.setAllChildrenCount(e)},t.prototype.setAllChildrenCountGridGrouping=function(t){var e=0;t.childrenAfterFilter.forEach((function(t){t.group?e+=t.allChildrenCount:e++})),t.setAllChildrenCount(e)},t.prototype.setAllChildrenCount=function(t){this.doingTreeData?this.setAllChildrenCountTreeData(t):this.setAllChildrenCountGridGrouping(t)},t.prototype.doingTreeDataFiltering=function(){return this.gridOptionsWrapper.isTreeData()&&!this.gridOptionsWrapper.isExcludeChildrenWhenTreeDataFiltering()},i([r.Autowired("filterManager"),n("design:type",s.FilterManager)],t.prototype,"filterManager",void 0),i([r.Autowired("gridOptionsWrapper"),n("design:type",a.GridOptionsWrapper)],t.prototype,"gridOptionsWrapper",void 0),i([r.PostConstruct,n("design:type",Function),n("design:paramtypes",[]),n("design:returntype",void 0)],t.prototype,"postConstruct",null),i([r.Bean("filterService")],t)}();e.FilterService=l},719:function(t,e,o){var i=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},n=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r,s=o(45727),a=o(44081),l=o(44871),p=o(98239),u=o(55e3),c=o(15068),d=o(60843),h=o(63405),f=o(72493),g=o(54828),y=o(28771),m=o(68363),v=o(24463),C=o(88842),E=o(40797),w=o(83423);!function(t){t[t.Normal=0]="Normal",t[t.AfterFilter=1]="AfterFilter",t[t.AfterFilterAndSort=2]="AfterFilterAndSort",t[t.PivotNodes=3]="PivotNodes"}(r||(r={}));var _=function(){function t(){}return t.prototype.init=function(){var t=this.refreshModel.bind(this,{step:s.Constants.STEP_EVERYTHING}),e=this.refreshModel.bind(this,{step:s.Constants.STEP_EVERYTHING,afterColumnsChanged:!0});this.eventService.addModalPriorityEventListener(h.Events.EVENT_COLUMN_EVERYTHING_CHANGED,e),this.eventService.addModalPriorityEventListener(h.Events.EVENT_COLUMN_ROW_GROUP_CHANGED,t),this.eventService.addModalPriorityEventListener(h.Events.EVENT_COLUMN_VALUE_CHANGED,this.onValueChanged.bind(this)),this.eventService.addModalPriorityEventListener(h.Events.EVENT_COLUMN_PIVOT_CHANGED,this.refreshModel.bind(this,{step:s.Constants.STEP_PIVOT})),this.eventService.addModalPriorityEventListener(h.Events.EVENT_ROW_GROUP_OPENED,this.onRowGroupOpened.bind(this)),this.eventService.addModalPriorityEventListener(h.Events.EVENT_FILTER_CHANGED,this.onFilterChanged.bind(this)),this.eventService.addModalPriorityEventListener(h.Events.EVENT_SORT_CHANGED,this.onSortChanged.bind(this)),this.eventService.addModalPriorityEventListener(h.Events.EVENT_COLUMN_PIVOT_MODE_CHANGED,t);var o=this.refreshModel.bind(this,{step:s.Constants.STEP_MAP,keepRenderedRows:!0,animate:!0});this.gridOptionsWrapper.addEventListener(a.GridOptionsWrapper.PROP_GROUP_REMOVE_SINGLE_CHILDREN,o),this.gridOptionsWrapper.addEventListener(a.GridOptionsWrapper.PROP_GROUP_REMOVE_LOWEST_SINGLE_CHILDREN,o),this.rootNode=new c.RowNode,this.nodeManager=new y.ClientSideNodeManager(this.rootNode,this.gridOptionsWrapper,this.context,this.eventService,this.columnController,this.gridApi,this.columnApi,this.selectionController),this.context.wireBean(this.rootNode)},t.prototype.ensureRowHeightsValid=function(t,e,o,i){var n,r=!1;do{n=!1;for(var s=this.getRowIndexAtPixel(t),a=this.getRowIndexAtPixel(e),l=Math.max(s,o),p=Math.min(a,i),u=l;u<=p;u++){var c=this.getRow(u);if(c.rowHeightEstimated){var d=this.gridOptionsWrapper.getRowHeightForNode(c);c.setRowHeight(d.height),n=!0,r=!0}}n&&this.setRowTops()}while(n);return r},t.prototype.setRowTops=function(){for(var t=0,e=0;e<this.rowsToDisplay.length;e++){var o=this.gridOptionsWrapper.getDomLayout()===s.Constants.DOM_LAYOUT_NORMAL,i=this.rowsToDisplay[e];if(w._.missing(i.rowHeight)){var n=this.gridOptionsWrapper.getRowHeightForNode(i,o);i.setRowHeight(n.height,n.estimated)}i.setRowTop(t),i.setRowIndex(e),t+=i.rowHeight}},t.prototype.resetRowTops=function(t,e){if(t.clearRowTop(),t.hasChildren()){if(t.childrenAfterGroup&&(!e.isActive()||t.expanded))for(var o=0;o<t.childrenAfterGroup.length;o++)this.resetRowTops(t.childrenAfterGroup[o],e);t.sibling&&t.sibling.clearRowTop()}t.detailNode&&t.detailNode.clearRowTop()},t.prototype.ensureRowAtPixel=function(t,e){var o=this.getRowIndexAtPixel(e);return this.getRow(o)!==t&&(w._.removeFromArray(this.rootNode.allLeafChildren,t),w._.insertIntoArray(this.rootNode.allLeafChildren,t,o),this.refreshModel({step:s.Constants.STEP_EVERYTHING,keepRenderedRows:!0,animate:!0,keepEditingRows:!0}),!0)},t.prototype.isLastRowFound=function(){return!0},t.prototype.getRowCount=function(){return this.rowsToDisplay?this.rowsToDisplay.length:0},t.prototype.getRowBounds=function(t){if(w._.missing(this.rowsToDisplay))return null;var e=this.rowsToDisplay[t];return e?{rowTop:e.rowTop,rowHeight:e.rowHeight}:null},t.prototype.onRowGroupOpened=function(){var t=this.gridOptionsWrapper.isAnimateRows();this.refreshModel({step:s.Constants.STEP_MAP,keepRenderedRows:!0,animate:t})},t.prototype.onFilterChanged=function(){var t=this.gridOptionsWrapper.isAnimateRows();this.refreshModel({step:s.Constants.STEP_FILTER,keepRenderedRows:!0,animate:t})},t.prototype.onSortChanged=function(){var t=this.gridOptionsWrapper.isAnimateRows();this.refreshModel({step:s.Constants.STEP_SORT,keepRenderedRows:!0,animate:t,keepEditingRows:!0})},t.prototype.getType=function(){return s.Constants.ROW_MODEL_TYPE_CLIENT_SIDE},t.prototype.onValueChanged=function(){this.columnController.isPivotActive()?this.refreshModel({step:s.Constants.STEP_PIVOT}):this.refreshModel({step:s.Constants.STEP_AGGREGATE})},t.prototype.createChangePath=function(t){var e=w._.missingOrEmpty(t),o=new m.ChangedPath(!1,this.rootNode);return(e||this.gridOptionsWrapper.isTreeData())&&o.setInactive(),o},t.prototype.refreshModel=function(t){var e=this,o=this.createChangePath(t.rowNodeTransactions);switch(t.step){case s.Constants.STEP_EVERYTHING:this.doRowGrouping(t.groupState,t.rowNodeTransactions,t.rowNodeOrder,o,t.afterColumnsChanged);case s.Constants.STEP_FILTER:this.doFilter(o);case s.Constants.STEP_PIVOT:this.doPivot(o);case s.Constants.STEP_AGGREGATE:this.doAggregate(o);case s.Constants.STEP_SORT:this.doSort(t.rowNodeTransactions,o);case s.Constants.STEP_MAP:this.doRowsToDisplay()}this.resetRowTops(this.rootNode,o),this.setRowTops();var i={type:h.Events.EVENT_MODEL_UPDATED,api:this.gridApi,columnApi:this.columnApi,animate:t.animate,keepRenderedRows:t.keepRenderedRows,newData:t.newData,newPage:!1};this.eventService.dispatchEvent(i),this.$scope&&window.setTimeout((function(){e.$scope.$apply()}),0)},t.prototype.isEmpty=function(){var t;return t=w._.exists(this.gridOptionsWrapper.getNodeChildDetailsFunc())?w._.missing(this.rootNode.childrenAfterGroup)||0===this.rootNode.childrenAfterGroup.length:w._.missing(this.rootNode.allLeafChildren)||0===this.rootNode.allLeafChildren.length,w._.missing(this.rootNode)||t||!this.columnController.isReady()},t.prototype.isRowsToRender=function(){return w._.exists(this.rowsToDisplay)&&this.rowsToDisplay.length>0},t.prototype.getNodesInRangeForSelection=function(t,e){var o,i=!e,n=!1,r=[],s=this.gridOptionsWrapper.isGroupSelectsChildren();return this.forEachNodeAfterFilterAndSort((function(a){var l=i&&!n;if(i||a!==e&&a!==t||(i=!0),!a.group||!s){var p=i&&!n,u=a.isParentOfNode(o);(p||u)&&r.push(a)}l&&(a!==e&&a!==t||(n=!0,o=a===e?e:t))})),r},t.prototype.setDatasource=function(t){console.error("ag-Grid: should never call setDatasource on clientSideRowController")},t.prototype.getTopLevelNodes=function(){return this.rootNode?this.rootNode.childrenAfterGroup:null},t.prototype.getRootNode=function(){return this.rootNode},t.prototype.getRow=function(t){return this.rowsToDisplay[t]},t.prototype.isRowPresent=function(t){return this.rowsToDisplay.indexOf(t)>=0},t.prototype.getVirtualRowCount=function(){return console.warn("ag-Grid: rowModel.getVirtualRowCount() is not longer a function, use rowModel.getRowCount() instead"),this.getPageLastRow()},t.prototype.getPageFirstRow=function(){return 0},t.prototype.getPageLastRow=function(){return this.rowsToDisplay?this.rowsToDisplay.length-1:0},t.prototype.getRowIndexAtPixel=function(t){if(this.isEmpty())return-1;var e=0,o=this.rowsToDisplay.length-1;if(t<=0)return 0;if(this.rowsToDisplay[this.rowsToDisplay.length-1].rowTop<=t)return this.rowsToDisplay.length-1;for(;;){var i=Math.floor((e+o)/2),n=this.rowsToDisplay[i];if(this.isRowInPixel(n,t))return i;n.rowTop<t?e=i+1:n.rowTop>t&&(o=i-1)}},t.prototype.isRowInPixel=function(t,e){var o=t.rowTop,i=t.rowTop+t.rowHeight;return o<=e&&i>e},t.prototype.getCurrentPageHeight=function(){if(this.rowsToDisplay&&this.rowsToDisplay.length>0){var t=this.rowsToDisplay[this.rowsToDisplay.length-1];return t.rowTop+t.rowHeight}return 0},t.prototype.forEachLeafNode=function(t){this.rootNode.allLeafChildren&&this.rootNode.allLeafChildren.forEach((function(e,o){return t(e,o)}))},t.prototype.forEachNode=function(t){this.recursivelyWalkNodesAndCallback(this.rootNode.childrenAfterGroup,t,r.Normal,0)},t.prototype.forEachNodeAfterFilter=function(t){this.recursivelyWalkNodesAndCallback(this.rootNode.childrenAfterFilter,t,r.AfterFilter,0)},t.prototype.forEachNodeAfterFilterAndSort=function(t){this.recursivelyWalkNodesAndCallback(this.rootNode.childrenAfterSort,t,r.AfterFilterAndSort,0)},t.prototype.forEachPivotNode=function(t){this.recursivelyWalkNodesAndCallback([this.rootNode],t,r.PivotNodes,0)},t.prototype.recursivelyWalkNodesAndCallback=function(t,e,o,i){if(t)for(var n=0;n<t.length;n++){var s=t[n];if(e(s,i++),s.hasChildren()){var a=null;switch(o){case r.Normal:a=s.childrenAfterGroup;break;case r.AfterFilter:a=s.childrenAfterFilter;break;case r.AfterFilterAndSort:a=s.childrenAfterSort;break;case r.PivotNodes:a=s.leafGroup?null:s.childrenAfterSort}a&&(i=this.recursivelyWalkNodesAndCallback(a,e,o,i))}}return i},t.prototype.doAggregate=function(t){this.aggregationStage&&this.aggregationStage.execute({rowNode:this.rootNode,changedPath:t})},t.prototype.expandOrCollapseAll=function(t){var e=this.gridOptionsWrapper.isTreeData();this.rootNode&&function o(i){i&&i.forEach((function(i){(e?w._.exists(i.childrenAfterGroup):i.group)&&(i.expanded=t,o(i.childrenAfterGroup))}))}(this.rootNode.childrenAfterGroup),this.refreshModel({step:s.Constants.STEP_MAP});var o=t?"expandAll":"collapseAll",i={api:this.gridApi,columnApi:this.columnApi,type:h.Events.EVENT_EXPAND_COLLAPSE_ALL,source:o};this.eventService.dispatchEvent(i)},t.prototype.doSort=function(t,e){this.sortStage.execute({rowNode:this.rootNode,rowNodeTransactions:t,changedPath:e})},t.prototype.doRowGrouping=function(t,e,o,i,n){var r=this;w._.exists(this.gridOptionsWrapper.getNodeChildDetailsFunc())||(this.groupStage?(e&&w._.exists(e)?e.forEach((function(t){r.groupStage.execute({rowNode:r.rootNode,rowNodeTransaction:t,rowNodeOrder:o,changedPath:i})})):(this.selectionController.removeGroupsFromSelection(),this.groupStage.execute({rowNode:this.rootNode,changedPath:i,afterColumnsChanged:n}),this.restoreGroupState(t)),this.gridOptionsWrapper.isGroupSelectsChildren()&&this.selectionController.updateGroupsFromChildrenSelections(i)):this.rootNode.childrenAfterGroup=this.rootNode.allLeafChildren)},t.prototype.restoreGroupState=function(t){t&&w._.traverseNodesWithKey(this.rootNode.childrenAfterGroup,(function(e,o){"boolean"==typeof t[o]&&(e.expanded=t[o])}))},t.prototype.doFilter=function(t){this.filterStage.execute({rowNode:this.rootNode,changedPath:t})},t.prototype.doPivot=function(t){this.pivotStage&&this.pivotStage.execute({rowNode:this.rootNode,changedPath:t})},t.prototype.getGroupState=function(){if(!this.rootNode.childrenAfterGroup||!this.gridOptionsWrapper.isRememberGroupStateWhenNewData())return null;var t={};return w._.traverseNodesWithKey(this.rootNode.childrenAfterGroup,(function(e,o){return t[o]=e.expanded})),t},t.prototype.getCopyOfNodesMap=function(){return this.nodeManager.getCopyOfNodesMap()},t.prototype.getRowNode=function(t){return this.nodeManager.getRowNode(t)},t.prototype.setRowData=function(t){var e=this.getGroupState();this.nodeManager.setRowData(t);var o={type:h.Events.EVENT_ROW_DATA_CHANGED,api:this.gridApi,columnApi:this.columnApi};this.eventService.dispatchEvent(o),this.refreshModel({step:s.Constants.STEP_EVERYTHING,groupState:e,newData:!0})},t.prototype.batchUpdateRowData=function(t,e){var o=this;if(!this.rowDataTransactionBatch){this.rowDataTransactionBatch=[];var i=this.gridOptionsWrapper.getBatchUpdateWaitMillis();window.setTimeout((function(){o.executeBatchUpdateRowData(),o.rowDataTransactionBatch=null}),i)}this.rowDataTransactionBatch.push({rowDataTransaction:t,callback:e})},t.prototype.executeBatchUpdateRowData=function(){var t=this;this.valueCache.onDataChanged();var e=[],o=[];this.rowDataTransactionBatch&&this.rowDataTransactionBatch.forEach((function(i){var n=t.nodeManager.updateRowData(i.rowDataTransaction,null);o.push(n),i.callback&&e.push(i.callback.bind(n))})),this.commonUpdateRowData(o),e.length>0&&window.setTimeout((function(){e.forEach((function(t){return t()}))}),0)},t.prototype.updateRowData=function(t,e){this.valueCache.onDataChanged();var o=this.nodeManager.updateRowData(t,e);return this.commonUpdateRowData([o],e),o},t.prototype.commonUpdateRowData=function(t,e){this.refreshModel({step:s.Constants.STEP_EVERYTHING,rowNodeTransactions:t,rowNodeOrder:e,keepRenderedRows:!0,animate:!0,keepEditingRows:!0});var o={type:h.Events.EVENT_ROW_DATA_UPDATED,api:this.gridApi,columnApi:this.columnApi};this.eventService.dispatchEvent(o)},t.prototype.doRowsToDisplay=function(){this.rowsToDisplay=this.flattenStage.execute({rowNode:this.rootNode})},t.prototype.onRowHeightChanged=function(){this.refreshModel({step:s.Constants.STEP_MAP,keepRenderedRows:!0,keepEditingRows:!0})},t.prototype.resetRowHeights=function(){this.forEachNode((function(t){return t.setRowHeight(null)})),this.onRowHeightChanged()},i([f.Autowired("gridOptionsWrapper"),n("design:type",a.GridOptionsWrapper)],t.prototype,"gridOptionsWrapper",void 0),i([f.Autowired("columnController"),n("design:type",p.ColumnController)],t.prototype,"columnController",void 0),i([f.Autowired("filterManager"),n("design:type",u.FilterManager)],t.prototype,"filterManager",void 0),i([f.Autowired("$scope"),n("design:type",Object)],t.prototype,"$scope",void 0),i([f.Autowired("selectionController"),n("design:type",g.SelectionController)],t.prototype,"selectionController",void 0),i([f.Autowired("eventService"),n("design:type",d.EventService)],t.prototype,"eventService",void 0),i([f.Autowired("context"),n("design:type",f.Context)],t.prototype,"context",void 0),i([f.Autowired("valueService"),n("design:type",v.ValueService)],t.prototype,"valueService",void 0),i([f.Autowired("valueCache"),n("design:type",C.ValueCache)],t.prototype,"valueCache",void 0),i([f.Autowired("columnApi"),n("design:type",l.ColumnApi)],t.prototype,"columnApi",void 0),i([f.Autowired("gridApi"),n("design:type",E.GridApi)],t.prototype,"gridApi",void 0),i([f.Autowired("filterStage"),n("design:type",Object)],t.prototype,"filterStage",void 0),i([f.Autowired("sortStage"),n("design:type",Object)],t.prototype,"sortStage",void 0),i([f.Autowired("flattenStage"),n("design:type",Object)],t.prototype,"flattenStage",void 0),i([f.Optional("groupStage"),n("design:type",Object)],t.prototype,"groupStage",void 0),i([f.Optional("aggregationStage"),n("design:type",Object)],t.prototype,"aggregationStage",void 0),i([f.Optional("pivotStage"),n("design:type",Object)],t.prototype,"pivotStage",void 0),i([f.PostConstruct,n("design:type",Function),n("design:paramtypes",[]),n("design:returntype",void 0)],t.prototype,"init",null),i([f.Bean("rowModel")],t)}();e.ClientSideRowModel=_},814:function(t,e,o){var i=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},n=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r=o(44081),s=o(74517),a=o(72948),l=o(72493),p=o(72493),u=function(){function t(){}return t.prototype.calculateColInitialWidth=function(t){return t.width?t.width<this.gridOptionsWrapper.getMinColWidth()?this.gridOptionsWrapper.getMinColWidth():t.width:this.gridOptionsWrapper.getColWidth()},t.prototype.getOriginalPathForColumn=function(t,e){var o=[],i=!1;return function e(n,r){for(var s=0;s<n.length;s++){if(i)return;var l=n[s];l instanceof a.OriginalColumnGroup?(e(l.getChildren(),r+1),o[r]=l):l===t&&(i=!0)}}(e,0),i?o:null},t.prototype.depthFirstOriginalTreeSearch=function(t,e,o){var i=this;e&&e.forEach((function(e){e instanceof a.OriginalColumnGroup&&i.depthFirstOriginalTreeSearch(e,e.getChildren(),o),o(e,t)}))},t.prototype.depthFirstAllColumnTreeSearch=function(t,e){var o=this;t&&t.forEach((function(t){t instanceof s.ColumnGroup&&o.depthFirstAllColumnTreeSearch(t.getChildren(),e),e(t)}))},t.prototype.depthFirstDisplayedColumnTreeSearch=function(t,e){var o=this;t&&t.forEach((function(t){t instanceof s.ColumnGroup&&o.depthFirstDisplayedColumnTreeSearch(t.getDisplayedChildren(),e),e(t)}))},i([p.Autowired("gridOptionsWrapper"),n("design:type",r.GridOptionsWrapper)],t.prototype,"gridOptionsWrapper",void 0),i([l.Bean("columnUtils")],t)}();e.ColumnUtils=u},1571:function(t,e,o){var i=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},n=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r=o(72493),s=o(72493),a=o(44081),l=o(83423),p=function(){function t(){this.gridInstanceId=e.gridInstanceSequence.next()}var e;return e=t,t.prototype.init=function(){this.stampDomElementWithGridInstance()},t.prototype.stampDomElementWithGridInstance=function(){this.eGridDiv[e.GRID_DOM_KEY]=this.gridInstanceId},t.prototype.getRenderedCellForEvent=function(t){return l._.getCellCompForEvent(this.gridOptionsWrapper,t)},t.prototype.isEventFromThisGrid=function(t){for(var o=l._.getEventPath(t),i=0;i<o.length;i++){var n=o[i][e.GRID_DOM_KEY];if(l._.exists(n))return n===this.gridInstanceId}return!1},t.prototype.getGridCellForEvent=function(t){var e=this.getRenderedCellForEvent(t);return e?e.getGridCell():null},t.gridInstanceSequence=new l.NumberSequence,t.GRID_DOM_KEY="__ag_grid_instance",i([s.Autowired("gridOptionsWrapper"),n("design:type",a.GridOptionsWrapper)],t.prototype,"gridOptionsWrapper",void 0),i([s.Autowired("eGridDiv"),n("design:type",HTMLElement)],t.prototype,"eGridDiv",void 0),i([r.PostConstruct,n("design:type",Function),n("design:paramtypes",[]),n("design:returntype",void 0)],t.prototype,"init",null),e=i([r.Bean("mouseEventService")],t)}();e.MouseEventService=p},1899:function(t,e,o){var i=this&&this.__createBinding||(Object.create?function(t,e,o,i){void 0===i&&(i=o);var n=Object.getOwnPropertyDescriptor(e,o);n&&!("get"in n?!e.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return e[o]}}),Object.defineProperty(t,i,n)}:function(t,e,o,i){void 0===i&&(i=o),t[i]=e[o]}),n=this&&this.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),r=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var o in t)"default"!==o&&Object.prototype.hasOwnProperty.call(t,o)&&i(e,t,o);return n(e,t),e},s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_MAX_TIME_MS=e.DEFAULT_COLLATION=e.DEFAULT_PROJECT=e.DEFAULT_SKIP=e.DEFAULT_LIMIT=e.DEFAULT_SORT=e.DEFAULT_FILTER=e.QUERY_PROPERTIES=e.toJSString=e.stringify=e.validate=e.isLimitValid=e.isSkipValid=e.isMaxTimeMSValid=e.isSortValid=e.isProjectValid=e.parseProject=e.isCollationValid=e.isFilterValid=e.parseCollation=e.parseFilter=e.parseSort=void 0;const a=r(o(15942)),l=s(o(20990)),p=s(o(63667)),u=o(71022),c=o(63626);Object.defineProperty(e,"stringify",{enumerable:!0,get:function(){return c.stringify}}),Object.defineProperty(e,"toJSString",{enumerable:!0,get:function(){return c.toJSString}});const d=(0,p.default)("mongodb-query-parser"),h={};e.DEFAULT_FILTER=h;const f=null;e.DEFAULT_SORT=f,e.DEFAULT_LIMIT=0,e.DEFAULT_SKIP=0;const g=null;e.DEFAULT_PROJECT=g;const y=null;function m(t){if(null==t)return!0;const e=l.default.trim("number"==typeof t?`${t}`:t);return"{}"===e||l.default.isEmpty(e)}function v(t){return m(t)?0:!!/^\d+$/.test(`${t}`)&&parseInt(`${t}`,10)}function C(t){return(0,a.default)(t,{mode:a.ParseMode.Loose})}function E(t){return(0,a.default)(t,{mode:a.ParseMode.Loose})}function w(t){return m(t)?f:(0,a.default)(t,{mode:a.ParseMode.Loose})}function _(t){return(0,a.default)(t,{mode:a.ParseMode.Loose,allowMethods:!0})}function S(t){if(m(t))return h;try{return _(t)}catch(e){return d('Filter "%s" is invalid',t,e),!1}}function b(t){if(m(t))return y;try{return function(t){for(const[e,o]of Object.entries(t)){if(!u.COLLATION_OPTIONS[e])return d('Collation "%s" is invalid bc of its keys',t),!1;if(!1===u.COLLATION_OPTIONS[e].includes(o))return d('Collation "%s" is invalid bc of its values',t),!1}return t}(E(t))}catch(e){return d('Collation "%s" is invalid',t,e),!1}}function R(){return!0}function O(t){if(m(t))return g;try{const e=C(t);return l.default.isObject(e)?l.default.every(e,R)?e:(d('Project "%s" is invalid bc of its values',t),!1):(d('Project "%s" is invalid. Only documents are allowed',t),!1)}catch(e){return d('Project "%s" is invalid',t,e),!1}}e.DEFAULT_COLLATION=y,e.DEFAULT_MAX_TIME_MS=6e4,e.QUERY_PROPERTIES=["filter","project","sort","skip","limit"],e.parseSort=w,e.parseFilter=function(t){return m(t)?h:_(t)},e.parseCollation=function(t){return m(t)?y:E(t)},e.isFilterValid=S,e.isCollationValid=b,e.parseProject=function(t){return m(t)?g:C(t)},e.isProjectValid=O;const T=[1,-1,"asc","desc"];function A(t){return l.default.includes(T,t)||!(!l.default.isObject(t)||!t.$meta)}function P(t){return l.default.isArray(t)&&2===t.length&&l.default.isString(t[0])&&A(t[1])}function D(t){try{const e=w(t);return m(e)?f:l.default.isArray(e)&&l.default.every(e,P)||l.default.isObject(e)&&!l.default.isArray(e)&&l.default.every(e,A)?e:(d('Sort "%s" is invalid bc of its values',t),!1)}catch(e){return d('Sort "%s" is invalid',t,e),!1}}function x(t){return m(t)?6e4:v(t)}function N(t){return m(t)?0:v(t)}function F(t){return m(t)?0:v(t)}e.isSortValid=D,e.isMaxTimeMSValid=x,e.isSkipValid=N,e.isLimitValid=F;const I={isMaxTimeMSValid:x,isFilterValid:S,isProjectValid:O,isSortValid:D,isLimitValid:F,isSkipValid:N,isCollationValid:b,isNumberValid:v};e.validate=function(t,e){const o=I[`is${l.default.upperFirst(t)}Valid`];return o?o(e):(d("Do not know how to validate `%s`. Returning false.",t),!1)},e.default=function(t,e=null){return 1===arguments.length&&l.default.isString(t)?_(t):{filter:_(t),project:e!==g?C(e):e}}},2102:function(t,e,o){var i,n=this&&this.__extends||(i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},i(t,e)},function(t,e){function o(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)});Object.defineProperty(e,"__esModule",{value:!0});var r=o(96652),s=o(46410),a=o(47008),l=o(47008),p=function(t){function e(e,o){var i=t.call(this)||this;return i.reactComponent=e,i.parentComponent=o,i}return n(e,t),e.prototype.getFrameworkComponentInstance=function(){return this.componentInstance},e.prototype.getReactComponentName=function(){return this.reactComponent.name},e.prototype.init=function(t){var e=this;return new l.Promise((function(o){e.eParentElement=document.createElement(e.parentComponent.props.componentWrappingElement||"div"),a.Utils.addCssClass(e.eParentElement,"ag-react-container"),t.reactContainer=e.eParentElement,e.createReactComponentLegacy(t,o)}))},e.prototype.getGui=function(){return this.eParentElement},e.prototype.destroy=function(){s.unmountComponentAtNode(this.eParentElement)},e.prototype.createReactComponentLegacy=function(t,e){var o=this,i=r.createElement(this.reactComponent,t);this.parentComponent?s.unstable_renderSubtreeIntoContainer(this.parentComponent,i,this.eParentElement,(function(){o.componentInstance=this,e(null)})):s.render(i,this.eParentElement,(function(){o.componentInstance=this,e(null)}))},e}(o(30844).BaseReactComponent);e.LegacyReactComponent=p},2299:function(t,e,o){var i,n=this&&this.__extends||(i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},i(t,e)},function(t,e){function o(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),r=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},s=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var a=o(21951),l=o(8534),p=o(72493),u=o(44871),c=o(40797),d=o(63405),h=o(60843),f=o(45727),g=o(54828),y=o(44081),m=function(t){function e(e,o){var i=t.call(this)||this;i.cbSelectAllVisible=!1,i.processingEventFromCheckbox=!1,i.cbSelectAll=e,i.column=o;var n=o.getColDef();return i.filteredOnly=!!n&&!!n.headerCheckboxSelectionFilteredOnly,i}return n(e,t),e.prototype.postConstruct=function(){this.showOrHideSelectAll(),this.addDestroyableEventListener(this.eventService,d.Events.EVENT_DISPLAYED_COLUMNS_CHANGED,this.showOrHideSelectAll.bind(this)),this.addDestroyableEventListener(this.eventService,d.Events.EVENT_SELECTION_CHANGED,this.onSelectionChanged.bind(this)),this.addDestroyableEventListener(this.eventService,d.Events.EVENT_MODEL_UPDATED,this.onModelChanged.bind(this)),this.addDestroyableEventListener(this.cbSelectAll,a.AgCheckbox.EVENT_CHANGED,this.onCbSelectAll.bind(this))},e.prototype.showOrHideSelectAll=function(){this.cbSelectAllVisible=this.isCheckboxSelection(),this.cbSelectAll.setVisible(this.cbSelectAllVisible),this.cbSelectAllVisible&&(this.checkRightRowModelType(),this.updateStateOfCheckbox())},e.prototype.onModelChanged=function(){this.cbSelectAllVisible&&this.updateStateOfCheckbox()},e.prototype.onSelectionChanged=function(){this.cbSelectAllVisible&&this.updateStateOfCheckbox()},e.prototype.getNextCheckboxState=function(t){return(0!==t.selected||0!==t.notSelected)&&(t.selected>0&&t.notSelected>0?null:t.selected>0)},e.prototype.updateStateOfCheckbox=function(){if(!this.processingEventFromCheckbox){this.processingEventFromCheckbox=!0;var t=this.getSelectionCount(),e=this.getNextCheckboxState(t);this.cbSelectAll.setSelected(e),this.processingEventFromCheckbox=!1}},e.prototype.getSelectionCount=function(){var t=this,e=0,o=0,i=function(i){t.gridOptionsWrapper.isGroupSelectsChildren()&&i.group||(i.isSelected()?e++:i.selectable&&o++)};return this.filteredOnly?this.gridApi.forEachNodeAfterFilter(i):this.gridApi.forEachNode(i),{notSelected:o,selected:e}},e.prototype.checkRightRowModelType=function(){var t=this.rowModel.getType();t===f.Constants.ROW_MODEL_TYPE_CLIENT_SIDE||console.warn("ag-Grid: selectAllCheckbox is only available if using normal row model, you are using "+t)},e.prototype.onCbSelectAll=function(){this.processingEventFromCheckbox||this.cbSelectAllVisible&&(this.cbSelectAll.isSelected()?this.selectionController.selectAllRowNodes(this.filteredOnly):this.selectionController.deselectAllRowNodes(this.filteredOnly))},e.prototype.isCheckboxSelection=function(){var t=this.column.getColDef().headerCheckboxSelection;return"function"==typeof t&&(t=t({column:this.column,colDef:this.column.getColDef(),columnApi:this.columnApi,api:this.gridApi})),!(!t||(this.gridOptionsWrapper.isRowModelServerSide()?(console.warn("headerCheckboxSelection is not supported for Server Side Row Model"),1):this.gridOptionsWrapper.isRowModelInfinite()?(console.warn("headerCheckboxSelection is not supported for Infinite Row Model"),1):this.gridOptionsWrapper.isRowModelViewport()&&(console.warn("headerCheckboxSelection is not supported for Viewport Row Model"),1)))},r([p.Autowired("gridApi"),s("design:type",c.GridApi)],e.prototype,"gridApi",void 0),r([p.Autowired("columnApi"),s("design:type",u.ColumnApi)],e.prototype,"columnApi",void 0),r([p.Autowired("eventService"),s("design:type",h.EventService)],e.prototype,"eventService",void 0),r([p.Autowired("rowModel"),s("design:type",Object)],e.prototype,"rowModel",void 0),r([p.Autowired("selectionController"),s("design:type",g.SelectionController)],e.prototype,"selectionController",void 0),r([p.Autowired("gridOptionsWrapper"),s("design:type",y.GridOptionsWrapper)],e.prototype,"gridOptionsWrapper",void 0),r([p.PostConstruct,s("design:type",Function),s("design:paramtypes",[]),s("design:returntype",void 0)],e.prototype,"postConstruct",null),e}(l.BeanStub);e.SelectAllFeature=m},2461:function(t,e,o){var i=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},n=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r=o(72493),s=o(86608),a=o(24463),l=o(44081),p=o(98239),u=o(83423),c=function(){function t(){}return t.prototype.init=function(){this.postSortFunc=this.gridOptionsWrapper.getPostSortFunc()},t.prototype.sort=function(t,e,o,i,n,r){var s=this;n.forEachChangedNodeDepthFirst((function(a){if(s.pullDownGroupDataForHideOpenParents(a.childrenAfterFilter,!0),e){var l=o?s.doDeltaSort(a,t,i,n,r):s.doFullSort(a,t);a.childrenAfterSort=l.map((function(t){return t.rowNode}))}else a.childrenAfterSort=a.childrenAfterFilter.slice(0);s.updateChildIndexes(a),s.postSortFunc&&s.postSortFunc(a.childrenAfterSort)})),this.updateGroupDataForHiddenOpenParents(n)},t.prototype.doFullSort=function(t,e){var o=t.childrenAfterFilter.map(this.mapNodeToSortedNode.bind(this));return o.sort(this.compareRowNodes.bind(this,e)),o},t.prototype.mapNodeToSortedNode=function(t,e){return{currentPos:e,rowNode:t}},t.prototype.doDeltaSort=function(t,e,o,i,n){var r=t.childrenAfterSort.filter((function(t){var e=!o[t.id],r=n||i.canSkip(t);return e&&r})).map(this.mapNodeToSortedNode.bind(this)),s={};r.forEach((function(t){return s[t.rowNode.id]=t.rowNode}));var a=t.childrenAfterFilter.filter((function(t){return!s[t.id]})).map(this.mapNodeToSortedNode.bind(this));return a.sort(this.compareRowNodes.bind(this,e)),0===a.length?r:0===r.length?a:this.mergeSortedArrays(e,r,a)},t.prototype.mergeSortedArrays=function(t,e,o){for(var i=[],n=0,r=0;n<e.length&&r<o.length;)this.compareRowNodes(t,e[n],o[r])<0?i.push(e[n++]):i.push(o[r++]);for(;n<e.length;)i.push(e[n++]);for(;r<o.length;)i.push(o[r++]);return i},t.prototype.compareRowNodes=function(t,e,o){for(var i=e.rowNode,n=o.rowNode,r=0,s=t.length;r<s;r++){var a,l=t[r],p=-1===l.inverter,c=this.getValue(i,l.column),d=this.getValue(n,l.column);if(0!==(a=l.column.getColDef().comparator?l.column.getColDef().comparator(c,d,i,n,p):u._.defaultComparator(c,d,this.gridOptionsWrapper.isAccentedSort())))return a*l.inverter}return e.currentPos-o.currentPos},t.prototype.getValue=function(t,e){return this.valueService.getValue(e,t)},t.prototype.updateChildIndexes=function(t){if(!u._.missing(t.childrenAfterSort))for(var e=t.childrenAfterSort,o=0;o<e.length;o++){var i=e[o],n=0===o,r=o===t.childrenAfterSort.length-1;i.setFirstChild(n),i.setLastChild(r),i.setChildIndex(o)}},t.prototype.updateGroupDataForHiddenOpenParents=function(t){var e=this;if(this.gridOptionsWrapper.isGroupHideOpenParents()){var o=function(t){e.pullDownGroupDataForHideOpenParents(t.childrenAfterSort,!1),t.childrenAfterSort.forEach((function(t){t.hasChildren()&&o(t)}))};t.executeFromRootNode((function(t){return o(t)}))}},t.prototype.pullDownGroupDataForHideOpenParents=function(t,e){var o=this;u._.missing(t)||this.gridOptionsWrapper.isGroupHideOpenParents()&&t.forEach((function(t){o.columnController.getGroupDisplayColumns().forEach((function(i){var n=i.getColDef().showRowGroup;if("string"==typeof n){var r=n,s=o.columnController.getPrimaryColumn(r);if(s!==t.rowGroupColumn)if(e)t.setGroupValue(i.getId(),null);else{var a=t.getFirstChildOfFirstChild(s);a&&t.setGroupValue(i.getId(),a.key)}}else console.error("ag-Grid: groupHideOpenParents only works when specifying specific columns for colDef.showRowGroup")}))}))},i([r.Autowired("sortController"),n("design:type",s.SortController)],t.prototype,"sortController",void 0),i([r.Autowired("columnController"),n("design:type",p.ColumnController)],t.prototype,"columnController",void 0),i([r.Autowired("valueService"),n("design:type",a.ValueService)],t.prototype,"valueService",void 0),i([r.Autowired("gridOptionsWrapper"),n("design:type",l.GridOptionsWrapper)],t.prototype,"gridOptionsWrapper",void 0),i([r.PostConstruct,n("design:type",Function),n("design:paramtypes",[]),n("design:returntype",void 0)],t.prototype,"init",null),i([r.Bean("sortService")],t)}();e.SortService=c},3288:(t,e)=>{var o;Object.defineProperty(e,"__esModule",{value:!0}),e.ParseMode=void 0,e.buildOptions=function(t){return{...a,...s(t&&t.mode||o.Strict),...t}},function(t){t.Strict="strict",t.Extended="extended",t.Loose="loose"}(o||(e.ParseMode=o={}));const i={allowMethods:!1,allowComments:!1},n={allowMethods:!0},r={allowMethods:!0,allowComments:!0};function s(t){switch(t){case o.Strict:return i;case o.Extended:return n;case o.Loose:return r}}const a={mode:o.Strict,...i}},3976:(t,e,o)=>{Object.defineProperty(e,"__esModule",{value:!0});var i=o(45727),n=o(34782),r=o(83423),s=function(){function t(t,e){this.rowIndex=t,this.floating=r._.makeNull(e)}return t.prototype.isFloatingTop=function(){return this.floating===i.Constants.PINNED_TOP},t.prototype.isFloatingBottom=function(){return this.floating===i.Constants.PINNED_BOTTOM},t.prototype.isNotFloating=function(){return!this.isFloatingBottom()&&!this.isFloatingTop()},t.prototype.equals=function(t){return this.rowIndex===t.rowIndex&&this.floating===t.floating},t.prototype.toString=function(){return"rowIndex = "+this.rowIndex+", floating = "+this.floating},t.prototype.getGridCell=function(t){var e={rowIndex:this.rowIndex,floating:this.floating,column:t};return new n.GridCell(e)},t.prototype.before=function(t){var e=t.floating;switch(this.floating){case i.Constants.PINNED_TOP:if(e!==i.Constants.PINNED_TOP)return!0;break;case i.Constants.PINNED_BOTTOM:if(e!==i.Constants.PINNED_BOTTOM)return!1;break;default:if(r._.exists(e))return e!==i.Constants.PINNED_TOP}return this.rowIndex<t.rowIndex},t}();e.GridRow=s},4045:(t,e,o)=>{var i=o(67966);e.tagClass={0:"universal",1:"application",2:"context",3:"private"},e.tagClassByName=i._reverse(e.tagClass),e.tag={0:"end",1:"bool",2:"int",3:"bitstr",4:"octstr",5:"null_",6:"objid",7:"objDesc",8:"external",9:"real",10:"enum",11:"embed",12:"utf8str",13:"relativeOid",16:"seq",17:"set",18:"numstr",19:"printstr",20:"t61str",21:"videostr",22:"ia5str",23:"utctime",24:"gentime",25:"graphstr",26:"iso646str",27:"genstr",28:"unistr",29:"charstr",30:"bmpstr"},e.tagByName=i._reverse(e.tag)},4349:(t,e,o)=>{var i=o(47375).InputStream,n="undefined"==typeof window&&"undefined"==typeof importScripts?o(36374):null;function r(t,e){var o=n.readFileSync(t,"utf8");return i.call(this,o,e),this.fileName=t,this}r.prototype=Object.create(i.prototype),r.prototype.constructor=r,e.FileStream=r},4715:(t,e,o)=>{var i=o(25003),n=o(67787).Buffer,r=o(44775),s=r.base,a=r.constants.der;function l(t){this.enc="der",this.name=t.name,this.entity=t,this.tree=new p,this.tree._init(t.body)}function p(t){s.Node.call(this,"der",t)}function u(t){return t<10?"0"+t:t}t.exports=l,l.prototype.encode=function(t,e){return this.tree._encode(t,e).join()},i(p,s.Node),p.prototype._encodeComposite=function(t,e,o,i){var r,s=function(t,e,o,i){var n;if("seqof"===t?t="seq":"setof"===t&&(t="set"),a.tagByName.hasOwnProperty(t))n=a.tagByName[t];else{if("number"!=typeof t||(0|t)!==t)return i.error("Unknown tag: "+t);n=t}return n>=31?i.error("Multi-octet tag encoding unsupported"):(e||(n|=32),n|=a.tagClassByName[o||"universal"]<<6)}(t,e,o,this.reporter);if(i.length<128)return(r=new n(2))[0]=s,r[1]=i.length,this._createEncoderBuffer([r,i]);for(var l=1,p=i.length;p>=256;p>>=8)l++;(r=new n(2+l))[0]=s,r[1]=128|l,p=1+l;for(var u=i.length;u>0;p--,u>>=8)r[p]=255&u;return this._createEncoderBuffer([r,i])},p.prototype._encodeStr=function(t,e){if("bitstr"===e)return this._createEncoderBuffer([0|t.unused,t.data]);if("bmpstr"===e){for(var o=new n(2*t.length),i=0;i<t.length;i++)o.writeUInt16BE(t.charCodeAt(i),2*i);return this._createEncoderBuffer(o)}return"numstr"===e?this._isNumstr(t)?this._createEncoderBuffer(t):this.reporter.error("Encoding of string type: numstr supports only digits and space"):"printstr"===e?this._isPrintstr(t)?this._createEncoderBuffer(t):this.reporter.error("Encoding of string type: printstr supports only latin upper and lower case letters, digits, space, apostrophe, left and rigth parenthesis, plus sign, comma, hyphen, dot, slash, colon, equal sign, question mark"):/str$/.test(e)||"objDesc"===e?this._createEncoderBuffer(t):this.reporter.error("Encoding of string type: "+e+" unsupported")},p.prototype._encodeObjid=function(t,e,o){if("string"==typeof t){if(!e)return this.reporter.error("string objid given, but no values map found");if(!e.hasOwnProperty(t))return this.reporter.error("objid not found in values map");t=e[t].split(/[\s\.]+/g);for(var i=0;i<t.length;i++)t[i]|=0}else if(Array.isArray(t))for(t=t.slice(),i=0;i<t.length;i++)t[i]|=0;if(!Array.isArray(t))return this.reporter.error("objid() should be either array or string, got: "+JSON.stringify(t));if(!o){if(t[1]>=40)return this.reporter.error("Second objid identifier OOB");t.splice(0,2,40*t[0]+t[1])}var r=0;for(i=0;i<t.length;i++){var s=t[i];for(r++;s>=128;s>>=7)r++}var a=new n(r),l=a.length-1;for(i=t.length-1;i>=0;i--)for(s=t[i],a[l--]=127&s;(s>>=7)>0;)a[l--]=128|127&s;return this._createEncoderBuffer(a)},p.prototype._encodeTime=function(t,e){var o,i=new Date(t);return"gentime"===e?o=[u(i.getFullYear()),u(i.getUTCMonth()+1),u(i.getUTCDate()),u(i.getUTCHours()),u(i.getUTCMinutes()),u(i.getUTCSeconds()),"Z"].join(""):"utctime"===e?o=[u(i.getFullYear()%100),u(i.getUTCMonth()+1),u(i.getUTCDate()),u(i.getUTCHours()),u(i.getUTCMinutes()),u(i.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+e+" time is not supported yet"),this._encodeStr(o,"octstr")},p.prototype._encodeNull=function(){return this._createEncoderBuffer("")},p.prototype._encodeInt=function(t,e){if("string"==typeof t){if(!e)return this.reporter.error("String int or enum given, but no values map");if(!e.hasOwnProperty(t))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(t));t=e[t]}if("number"!=typeof t&&!n.isBuffer(t)){var o=t.toArray();!t.sign&&128&o[0]&&o.unshift(0),t=new n(o)}if(n.isBuffer(t)){var i=t.length;0===t.length&&i++;var r=new n(i);return t.copy(r),0===t.length&&(r[0]=0),this._createEncoderBuffer(r)}if(t<128)return this._createEncoderBuffer(t);if(t<256)return this._createEncoderBuffer([0,t]);i=1;for(var s=t;s>=256;s>>=8)i++;for(s=(r=new Array(i)).length-1;s>=0;s--)r[s]=255&t,t>>=8;return 128&r[0]&&r.unshift(0),this._createEncoderBuffer(new n(r))},p.prototype._encodeBool=function(t){return this._createEncoderBuffer(t?255:0)},p.prototype._use=function(t,e){return"function"==typeof t&&(t=t(e)),t._getEncoder("der").tree},p.prototype._skipDefault=function(t,e,o){var i,n=this._baseState;if(null===n.default)return!1;var r=t.join();if(void 0===n.defaultBuffer&&(n.defaultBuffer=this._encodeValue(n.default,e,o).join()),r.length!==n.defaultBuffer.length)return!1;for(i=0;i<r.length;i++)if(r[i]!==n.defaultBuffer[i])return!1;return!0}},4768:(t,e)=>{function o(t,e,o){return this.dfa=t,this.literalNames=e||[],this.symbolicNames=o||[],this}function i(t){return o.call(this,t,null),this}o.prototype.toString=function(){if(null===this.dfa.s0)return null;for(var t="",e=this.dfa.sortedStates(),o=0;o<e.length;o++){var i=e[o];if(null!==i.edges)for(var n=i.edges.length,r=0;r<n;r++){var s=i.edges[r]||null;null!==s&&2147483647!==s.stateNumber&&(t=(t=(t=(t=(t=(t=t.concat(this.getStateString(i))).concat("-")).concat(this.getEdgeLabel(r))).concat("->")).concat(this.getStateString(s))).concat("\n"))}}return 0===t.length?null:t},o.prototype.getEdgeLabel=function(t){return 0===t?"EOF":null!==this.literalNames||null!==this.symbolicNames?this.literalNames[t-1]||this.symbolicNames[t-1]:String.fromCharCode(t-1)},o.prototype.getStateString=function(t){var e=(t.isAcceptState?":":"")+"s"+t.stateNumber+(t.requiresFullContext?"^":"");return t.isAcceptState?null!==t.predicates?e+"=>"+t.predicates.toString():e+"=>"+t.prediction.toString():e},i.prototype=Object.create(o.prototype),i.prototype.constructor=i,i.prototype.getEdgeLabel=function(t){return"'"+String.fromCharCode(t)+"'"},e.DFASerializer=o,e.LexerDFASerializer=i},4889:function(t,e,o){var i=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},n=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r=o(72493),s=o(44081),a=o(83423),l=function(){function t(){}return t.prototype.init=function(){this.groupSelectsChildren=this.gridOptionsWrapper.isGroupSelectsChildren(),this.isRowSelectableFunc=this.gridOptionsWrapper.getIsRowSelectableFunc()},t.prototype.updateSelectableAfterGrouping=function(t){this.isRowSelectableFunc&&this.recurseDown(t.childrenAfterGroup,(function(t){return t.childrenAfterGroup}))},t.prototype.updateSelectableAfterFiltering=function(t){this.isRowSelectableFunc&&this.recurseDown(t.childrenAfterGroup,(function(t){return t.childrenAfterFilter}))},t.prototype.recurseDown=function(t,e){var o=this;t.forEach((function(t){if(t.group){var i;if(t.hasChildren()&&o.recurseDown(e(t),e),o.groupSelectsChildren){var n=a._.find(e(t),"selectable",!0);i=a._.exists(n)}else i=!!o.isRowSelectableFunc&&o.isRowSelectableFunc(t);t.setRowSelectable(i)}}))},i([r.Autowired("gridOptionsWrapper"),n("design:type",s.GridOptionsWrapper)],t.prototype,"gridOptionsWrapper",void 0),i([r.PostConstruct,n("design:type",Function),n("design:paramtypes",[]),n("design:returntype",void 0)],t.prototype,"init",null),i([r.Bean("selectableService")],t)}();e.SelectableService=l},5448:function(t,e,o){var i,n=this&&this.__extends||(i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},i(t,e)},function(t,e){function o(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)});Object.defineProperty(e,"__esModule",{value:!0});var r=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.isPopup=function(){return!0},e}(o(71616).TextCellEditor);e.PopupTextCellEditor=r},5555:(t,e,o)=>{var i=o(25003),n=o(44775),r=n.base,s=n.bignum,a=n.constants.der;function l(t){this.enc="der",this.name=t.name,this.entity=t,this.tree=new p,this.tree._init(t.body)}function p(t){r.Node.call(this,"der",t)}function u(t,e){var o=t.readUInt8(e);if(t.isError(o))return o;var i=a.tagClass[o>>6],n=!(32&o);if(31&~o)o&=31;else{var r=o;for(o=0;!(128&~r);){if(r=t.readUInt8(e),t.isError(r))return r;o<<=7,o|=127&r}}return{cls:i,primitive:n,tag:o,tagStr:a.tag[o]}}function c(t,e,o){var i=t.readUInt8(o);if(t.isError(i))return i;if(!e&&128===i)return null;if(!(128&i))return i;var n=127&i;if(n>4)return t.error("length octect is too long");i=0;for(var r=0;r<n;r++){i<<=8;var s=t.readUInt8(o);if(t.isError(s))return s;i|=s}return i}t.exports=l,l.prototype.decode=function(t,e){return t instanceof r.DecoderBuffer||(t=new r.DecoderBuffer(t,e)),this.tree._decode(t,e)},i(p,r.Node),p.prototype._peekTag=function(t,e,o){if(t.isEmpty())return!1;var i=t.save(),n=u(t,'Failed to peek tag: "'+e+'"');return t.isError(n)?n:(t.restore(i),n.tag===e||n.tagStr===e||n.tagStr+"of"===e||o)},p.prototype._decodeTag=function(t,e,o){var i=u(t,'Failed to decode tag of "'+e+'"');if(t.isError(i))return i;var n=c(t,i.primitive,'Failed to get length of "'+e+'"');if(t.isError(n))return n;if(!o&&i.tag!==e&&i.tagStr!==e&&i.tagStr+"of"!==e)return t.error('Failed to match tag: "'+e+'"');if(i.primitive||null!==n)return t.skip(n,'Failed to match body of: "'+e+'"');var r=t.save(),s=this._skipUntilEnd(t,'Failed to skip indefinite length body: "'+this.tag+'"');return t.isError(s)?s:(n=t.offset-r.offset,t.restore(r),t.skip(n,'Failed to match body of: "'+e+'"'))},p.prototype._skipUntilEnd=function(t,e){for(;;){var o=u(t,e);if(t.isError(o))return o;var i,n=c(t,o.primitive,e);if(t.isError(n))return n;if(i=o.primitive||null!==n?t.skip(n):this._skipUntilEnd(t,e),t.isError(i))return i;if("end"===o.tagStr)break}},p.prototype._decodeList=function(t,e,o,i){for(var n=[];!t.isEmpty();){var r=this._peekTag(t,"end");if(t.isError(r))return r;var s=o.decode(t,"der",i);if(t.isError(s)&&r)break;n.push(s)}return n},p.prototype._decodeStr=function(t,e){if("bitstr"===e){var o=t.readUInt8();return t.isError(o)?o:{unused:o,data:t.raw()}}if("bmpstr"===e){var i=t.raw();if(i.length%2==1)return t.error("Decoding of string type: bmpstr length mismatch");for(var n="",r=0;r<i.length/2;r++)n+=String.fromCharCode(i.readUInt16BE(2*r));return n}if("numstr"===e){var s=t.raw().toString("ascii");return this._isNumstr(s)?s:t.error("Decoding of string type: numstr unsupported characters")}if("octstr"===e)return t.raw();if("objDesc"===e)return t.raw();if("printstr"===e){var a=t.raw().toString("ascii");return this._isPrintstr(a)?a:t.error("Decoding of string type: printstr unsupported characters")}return/str$/.test(e)?t.raw().toString():t.error("Decoding of string type: "+e+" unsupported")},p.prototype._decodeObjid=function(t,e,o){for(var i,n=[],r=0;!t.isEmpty();){var s=t.readUInt8();r<<=7,r|=127&s,128&s||(n.push(r),r=0)}128&s&&n.push(r);var a=n[0]/40|0,l=n[0]%40;if(i=o?n:[a,l].concat(n.slice(1)),e){var p=e[i.join(" ")];void 0===p&&(p=e[i.join(".")]),void 0!==p&&(i=p)}return i},p.prototype._decodeTime=function(t,e){var o=t.raw().toString();if("gentime"===e)var i=0|o.slice(0,4),n=0|o.slice(4,6),r=0|o.slice(6,8),s=0|o.slice(8,10),a=0|o.slice(10,12),l=0|o.slice(12,14);else{if("utctime"!==e)return t.error("Decoding "+e+" time is not supported yet");i=0|o.slice(0,2),n=0|o.slice(2,4),r=0|o.slice(4,6),s=0|o.slice(6,8),a=0|o.slice(8,10),l=0|o.slice(10,12),i=i<70?2e3+i:1900+i}return Date.UTC(i,n-1,r,s,a,l,0)},p.prototype._decodeNull=function(t){return null},p.prototype._decodeBool=function(t){var e=t.readUInt8();return t.isError(e)?e:0!==e},p.prototype._decodeInt=function(t,e){var o=t.raw(),i=new s(o);return e&&(i=e[i.toString(10)]||i),i},p.prototype._use=function(t,e){return"function"==typeof t&&(t=t(e)),t._getDecoder("der").tree}},6065:function(t,e,o){var i,n=this&&this.__extends||(i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},i(t,e)},function(t,e){function o(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),r=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},s=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var a=o(72493),l=o(44081),p=o(68363),u=o(10042),c=o(60843),d=o(45727),h=o(8534),f=o(63405),g=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.init=function(){this.rowModel.getType()===d.Constants.ROW_MODEL_TYPE_CLIENT_SIDE&&(this.clientSideRowModel=this.rowModel),this.addDestroyableEventListener(this.eventService,f.Events.EVENT_CELL_VALUE_CHANGED,this.onCellValueChanged.bind(this))},e.prototype.onCellValueChanged=function(t){this.doChangeDetection(t.node,t.column)},e.prototype.doChangeDetection=function(t,e){if(!this.gridOptionsWrapper.isSuppressChangeDetection()){if(this.clientSideRowModel&&!t.isRowPinned()){var o=this.gridOptionsWrapper.isAggregateOnlyChangedColumns(),i=new p.ChangedPath(o,this.clientSideRowModel.getRootNode());i.addParentNode(t.parent,[e]),this.clientSideRowModel.doAggregate(i)}this.rowRenderer.refreshCells()}},r([a.Autowired("gridOptionsWrapper"),s("design:type",l.GridOptionsWrapper)],e.prototype,"gridOptionsWrapper",void 0),r([a.Autowired("rowModel"),s("design:type",Object)],e.prototype,"rowModel",void 0),r([a.Autowired("rowRenderer"),s("design:type",u.RowRenderer)],e.prototype,"rowRenderer",void 0),r([a.Autowired("eventService"),s("design:type",c.EventService)],e.prototype,"eventService",void 0),r([a.PostConstruct,s("design:type",Function),s("design:paramtypes",[]),s("design:returntype",void 0)],e.prototype,"init",null),r([a.Bean("changeDetectionService")],e)}(h.BeanStub);e.ChangeDetectionService=g},7543:(t,e,o)=>{var i=o(66346),n=i.Set,r=i.BitSet,s=i.DoubleDict,a=o(51028).ATN,l=o(81367).ATNState,p=o(470).G,u=o(87264).Q,c=o(72994).Token,d=o(41207).X,h=o(41207).PredPrediction,f=o(16068).e,g=o(63387).PredictionMode,y=o(40846).m,m=(o(29499).ParserRuleContext,o(7842).Ij),v=(o(81367).StarLoopEntryState,o(81367).RuleStopState),C=o(10559).PredictionContext,E=o(70040).Interval,w=o(10014),_=w.Transition,S=w.SetTransition,b=w.NotSetTransition,R=w.RuleTransition,O=w.ActionTransition,T=o(86587).NoViableAltException,A=o(10559).SingletonPredictionContext,P=o(10559).predictionContextFromRuleContext;function D(t,e,o,i){return f.call(this,e,i),this.parser=t,this.decisionToDFA=o,this.predictionMode=g.LL,this._input=null,this._startIndex=0,this._outerContext=null,this._dfa=null,this.mergeCache=null,this}D.prototype=Object.create(f.prototype),D.prototype.constructor=D,D.prototype.debug=!1,D.prototype.debug_closure=!1,D.prototype.debug_add=!1,D.prototype.debug_list_atn_decisions=!1,D.prototype.dfa_debug=!1,D.prototype.retry_debug=!1,D.prototype.reset=function(){},D.prototype.adaptivePredict=function(t,e,o){(this.debug||this.debug_list_atn_decisions)&&console.log("adaptivePredict decision "+e+" exec LA(1)=="+this.getLookaheadName(t)+" line "+t.LT(1).line+":"+t.LT(1).column),this._input=t,this._startIndex=t.index,this._outerContext=o;var i=this.decisionToDFA[e];this._dfa=i;var n=t.mark(),r=t.index;try{var s;if(null===(s=i.precedenceDfa?i.getPrecedenceStartState(this.parser.getPrecedence()):i.s0)){null===o&&(o=y.EMPTY),(this.debug||this.debug_list_atn_decisions)&&console.log("predictATN decision "+i.decision+" exec LA(1)=="+this.getLookaheadName(t)+", outerContext="+o.toString(this.parser.ruleNames));var a=this.computeStartState(i.atnStartState,y.EMPTY,!1);i.precedenceDfa?(i.s0.configs=a,a=this.applyPrecedenceFilter(a),s=this.addDFAState(i,new d(null,a)),i.setPrecedenceStartState(this.parser.getPrecedence(),s)):(s=this.addDFAState(i,new d(null,a)),i.s0=s)}var l=this.execATN(i,s,t,r,o);return this.debug&&console.log("DFA after predictATN: "+i.toString(this.parser.literalNames)),l}finally{this._dfa=null,this.mergeCache=null,t.seek(r),t.release(n)}},D.prototype.execATN=function(t,e,o,i,n){var r;(this.debug||this.debug_list_atn_decisions)&&console.log("execATN decision "+t.decision+" exec LA(1)=="+this.getLookaheadName(o)+" line "+o.LT(1).line+":"+o.LT(1).column);var s=e;this.debug&&console.log("s0 = "+e);for(var l=o.LA(1);;){var p=this.getExistingTargetState(s,l);if(null===p&&(p=this.computeTargetState(t,s,l)),p===f.ERROR){var u=this.noViableAlt(o,n,s.configs,i);if(o.seek(i),(r=this.getSynValidOrSemInvalidAltThatFinishedDecisionEntryRule(s.configs,n))!==a.INVALID_ALT_NUMBER)return r;throw u}if(p.requiresFullContext&&this.predictionMode!==g.SLL){var d=null;if(null!==p.predicates){this.debug&&console.log("DFA state has preds in DFA sim LL failover");var h=o.index;if(h!==i&&o.seek(i),1===(d=this.evalSemanticContext(p.predicates,n,!0)).length)return this.debug&&console.log("Full LL avoided"),d.minValue();h!==i&&o.seek(h)}this.dfa_debug&&console.log("ctx sensitive state "+n+" in "+p);var y=this.computeStartState(t.atnStartState,n,!0);return this.reportAttemptingFullContext(t,d,p.configs,i,o.index),this.execATNWithFullContext(t,p,y,o,i,n)}if(p.isAcceptState){if(null===p.predicates)return p.prediction;var m=o.index;o.seek(i);var v=this.evalSemanticContext(p.predicates,n,!0);if(0===v.length)throw this.noViableAlt(o,n,p.configs,i);return 1===v.length||this.reportAmbiguity(t,p,i,m,!1,v,p.configs),v.minValue()}s=p,l!==c.EOF&&(o.consume(),l=o.LA(1))}},D.prototype.getExistingTargetState=function(t,e){var o=t.edges;return null===o?null:o[e+1]||null},D.prototype.computeTargetState=function(t,e,o){var n=this.computeReachSet(e.configs,o,!1);if(null===n)return this.addDFAEdge(t,e,o,f.ERROR),f.ERROR;var r=new d(null,n),s=this.getUniqueAlt(n);if(this.debug){var l=g.getConflictingAltSubsets(n);console.log("SLL altSubSets="+i.arrayToString(l)+", previous="+e.configs+", configs="+n+", predict="+s+", allSubsetsConflict="+g.allSubsetsConflict(l)+", conflictingAlts="+this.getConflictingAlts(n))}return s!==a.INVALID_ALT_NUMBER?(r.isAcceptState=!0,r.configs.uniqueAlt=s,r.prediction=s):g.hasSLLConflictTerminatingPrediction(this.predictionMode,n)&&(r.configs.conflictingAlts=this.getConflictingAlts(n),r.requiresFullContext=!0,r.isAcceptState=!0,r.prediction=r.configs.conflictingAlts.minValue()),r.isAcceptState&&r.configs.hasSemanticContext&&(this.predicateDFAState(r,this.atn.getDecisionState(t.decision)),null!==r.predicates&&(r.prediction=a.INVALID_ALT_NUMBER)),this.addDFAEdge(t,e,o,r)},D.prototype.predicateDFAState=function(t,e){var o=e.transitions.length,i=this.getConflictingAltsOrUniqueAlt(t.configs),n=this.getPredsForAmbigAlts(i,t.configs,o);null!==n?(t.predicates=this.getPredicatePredictions(i,n),t.prediction=a.INVALID_ALT_NUMBER):t.prediction=i.minValue()},D.prototype.execATNWithFullContext=function(t,e,o,i,n,r){(this.debug||this.debug_list_atn_decisions)&&console.log("execATNWithFullContext "+o);var s=!1,l=null,p=o;i.seek(n);for(var u=i.LA(1),d=-1;;){if(null===(l=this.computeReachSet(p,u,!0))){var h=this.noViableAlt(i,r,p,n);i.seek(n);var f=this.getSynValidOrSemInvalidAltThatFinishedDecisionEntryRule(p,r);if(f!==a.INVALID_ALT_NUMBER)return f;throw h}var y=g.getConflictingAltSubsets(l);if(this.debug&&console.log("LL altSubSets="+y+", predict="+g.getUniqueAlt(y)+", resolvesToJustOneViableAlt="+g.resolvesToJustOneViableAlt(y)),l.uniqueAlt=this.getUniqueAlt(l),l.uniqueAlt!==a.INVALID_ALT_NUMBER){d=l.uniqueAlt;break}if(this.predictionMode!==g.LL_EXACT_AMBIG_DETECTION){if((d=g.resolvesToJustOneViableAlt(y))!==a.INVALID_ALT_NUMBER)break}else if(g.allSubsetsConflict(y)&&g.allSubsetsEqual(y)){s=!0,d=g.getSingleViableAlt(y);break}p=l,u!==c.EOF&&(i.consume(),u=i.LA(1))}return l.uniqueAlt!==a.INVALID_ALT_NUMBER?(this.reportContextSensitivity(t,d,l,n,i.index),d):(this.reportAmbiguity(t,e,n,i.index,s,null,l),d)},D.prototype.computeReachSet=function(t,e,o){this.debug&&console.log("in computeReachSet, starting closure: "+t),null===this.mergeCache&&(this.mergeCache=new s);for(var i=new u(o),r=null,l=0;l<t.items.length;l++){var d=t.items[l];if(this.debug_add&&console.log("testing "+this.getTokenName(e)+" at "+d),d.state instanceof v)(o||e===c.EOF)&&(null===r&&(r=[]),r.push(d),this.debug_add&&console.log("added "+d+" to skippedStopStates"));else for(var h=0;h<d.state.transitions.length;h++){var f=d.state.transitions[h],y=this.getReachableTarget(f,e);if(null!==y){var m=new p({state:y},d);i.add(m,this.mergeCache),this.debug_add&&console.log("added "+m+" to intermediate")}}}var C=null;if(null===r&&e!==c.EOF&&(1===i.items.length||this.getUniqueAlt(i)!==a.INVALID_ALT_NUMBER)&&(C=i),null===C){C=new u(o);for(var E=new n,w=e===c.EOF,_=0;_<i.items.length;_++)this.closure(i.items[_],C,E,!1,o,w)}if(e===c.EOF&&(C=this.removeAllConfigsNotInRuleStopState(C,C===i)),!(null===r||o&&g.hasConfigInRuleStopState(C)))for(var S=0;S<r.length;S++)C.add(r[S],this.mergeCache);return 0===C.items.length?null:C},D.prototype.removeAllConfigsNotInRuleStopState=function(t,e){if(g.allConfigsInRuleStopStates(t))return t;for(var o=new u(t.fullCtx),i=0;i<t.items.length;i++){var n=t.items[i];if(n.state instanceof v)o.add(n,this.mergeCache);else if(e&&n.state.epsilonOnlyTransitions&&this.atn.nextTokens(n.state).contains(c.EPSILON)){var r=this.atn.ruleToStopState[n.state.ruleIndex];o.add(new p({state:r},n),this.mergeCache)}}return o},D.prototype.computeStartState=function(t,e,o){for(var i=P(this.atn,e),r=new u(o),s=0;s<t.transitions.length;s++){var a=t.transitions[s].target,l=new p({state:a,alt:s+1,context:i},null),c=new n;this.closure(l,r,c,!0,o,!1)}return r},D.prototype.applyPrecedenceFilter=function(t){for(var e,o=[],i=new u(t.fullCtx),n=0;n<t.items.length;n++)if(1===(e=t.items[n]).alt){var r=e.semanticContext.evalPrecedence(this.parser,this._outerContext);null!==r&&(o[e.state.stateNumber]=e.context,r!==e.semanticContext?i.add(new p({semanticContext:r},e),this.mergeCache):i.add(e,this.mergeCache))}for(n=0;n<t.items.length;n++)if(1!==(e=t.items[n]).alt){if(!e.precedenceFilterSuppressed){var s=o[e.state.stateNumber]||null;if(null!==s&&s.equals(e.context))continue}i.add(e,this.mergeCache)}return i},D.prototype.getReachableTarget=function(t,e){return t.matches(e,0,this.atn.maxTokenType)?t.target:null},D.prototype.getPredsForAmbigAlts=function(t,e,o){for(var n=[],r=0;r<e.items.length;r++){var s=e.items[r];t.contains(s.alt)&&(n[s.alt]=m.orContext(n[s.alt]||null,s.semanticContext))}var a=0;for(r=1;r<o+1;r++){var l=n[r]||null;null===l?n[r]=m.NONE:l!==m.NONE&&(a+=1)}return 0===a&&(n=null),this.debug&&console.log("getPredsForAmbigAlts result "+i.arrayToString(n)),n},D.prototype.getPredicatePredictions=function(t,e){for(var o=[],i=!1,n=1;n<e.length;n++){var r=e[n];null!==t&&t.contains(n)&&o.push(new h(r,n)),r!==m.NONE&&(i=!0)}return i?o:null},D.prototype.getSynValidOrSemInvalidAltThatFinishedDecisionEntryRule=function(t,e){var o=this.splitAccordingToSemanticValidity(t,e),i=o[0],n=o[1],r=this.getAltThatFinishedDecisionEntryRule(i);return r!==a.INVALID_ALT_NUMBER||n.items.length>0&&(r=this.getAltThatFinishedDecisionEntryRule(n))!==a.INVALID_ALT_NUMBER?r:a.INVALID_ALT_NUMBER},D.prototype.getAltThatFinishedDecisionEntryRule=function(t){for(var e=[],o=0;o<t.items.length;o++){var i=t.items[o];(i.reachesIntoOuterContext>0||i.state instanceof v&&i.context.hasEmptyPath())&&e.indexOf(i.alt)<0&&e.push(i.alt)}return 0===e.length?a.INVALID_ALT_NUMBER:Math.min.apply(null,e)},D.prototype.splitAccordingToSemanticValidity=function(t,e){for(var o=new u(t.fullCtx),i=new u(t.fullCtx),n=0;n<t.items.length;n++){var r=t.items[n];r.semanticContext!==m.NONE?r.semanticContext.evaluate(this.parser,e)?o.add(r):i.add(r):o.add(r)}return[o,i]},D.prototype.evalSemanticContext=function(t,e,o){for(var i=new r,n=0;n<t.length;n++){var s=t[n];if(s.pred!==m.NONE){var a=s.pred.evaluate(this.parser,e);if((this.debug||this.dfa_debug)&&console.log("eval pred "+s+"="+a),a&&((this.debug||this.dfa_debug)&&console.log("PREDICT "+s.alt),i.add(s.alt),!o))break}else if(i.add(s.alt),!o)break}return i},D.prototype.closure=function(t,e,o,i,n,r){this.closureCheckingStopState(t,e,o,i,n,0,r)},D.prototype.closureCheckingStopState=function(t,e,o,i,n,r,s){if((this.debug||this.debug_closure)&&(console.log("closure("+t.toString(this.parser,!0)+")"),t.reachesIntoOuterContext>50))throw"problem";if(t.state instanceof v){if(!t.context.isEmpty()){for(var a=0;a<t.context.length;a++)if(t.context.getReturnState(a)!==C.EMPTY_RETURN_STATE){var l=this.atn.states[t.context.getReturnState(a)],u=t.context.getParent(a),c={state:l,alt:t.alt,context:u,semanticContext:t.semanticContext},d=new p(c,null);d.reachesIntoOuterContext=t.reachesIntoOuterContext,this.closureCheckingStopState(d,e,o,i,n,r-1,s)}else{if(n){e.add(new p({state:t.state,context:C.EMPTY},t),this.mergeCache);continue}this.debug&&console.log("FALLING off rule "+this.getRuleName(t.state.ruleIndex)),this.closure_(t,e,o,i,n,r,s)}return}if(n)return void e.add(t,this.mergeCache);this.debug&&console.log("FALLING off rule "+this.getRuleName(t.state.ruleIndex))}this.closure_(t,e,o,i,n,r,s)},D.prototype.closure_=function(t,e,o,i,n,r,s){var a=t.state;a.epsilonOnlyTransitions||e.add(t,this.mergeCache);for(var l=0;l<a.transitions.length;l++)if(0!=l||!this.canDropLoopEntryEdgeInLeftRecursiveRule(t)){var p=a.transitions[l],u=i&&!(p instanceof O),c=this.getEpsilonTarget(t,p,u,0===r,n,s);if(null!==c){var d=r;if(t.state instanceof v){if(null!==this._dfa&&this._dfa.precedenceDfa&&p.outermostPrecedenceReturn===this._dfa.atnStartState.ruleIndex&&(c.precedenceFilterSuppressed=!0),c.reachesIntoOuterContext+=1,o.add(c)!==c)continue;e.dipsIntoOuterContext=!0,d-=1,this.debug&&console.log("dips into outer ctx: "+c)}else{if(!p.isEpsilon&&o.add(c)!==c)continue;p instanceof R&&d>=0&&(d+=1)}this.closureCheckingStopState(c,e,o,u,n,d,s)}}},D.prototype.canDropLoopEntryEdgeInLeftRecursiveRule=function(t){var e=t.state;if(e.stateType!=l.STAR_LOOP_ENTRY)return!1;if(e.stateType!=l.STAR_LOOP_ENTRY||!e.isPrecedenceDecision||t.context.isEmpty()||t.context.hasEmptyPath())return!1;for(var o=t.context.length,i=0;i<o;i++)if((s=this.atn.states[t.context.getReturnState(i)]).ruleIndex!=e.ruleIndex)return!1;var n=e.transitions[0].target.endState.stateNumber,r=this.atn.states[n];for(i=0;i<o;i++){var s,a=t.context.getReturnState(i);if(1!=(s=this.atn.states[a]).transitions.length||!s.transitions[0].isEpsilon)return!1;var p=s.transitions[0].target;if(!(s.stateType==l.BLOCK_END&&p==e||s==r||p==r||p.stateType==l.BLOCK_END&&1==p.transitions.length&&p.transitions[0].isEpsilon&&p.transitions[0].target==e))return!1}return!0},D.prototype.getRuleName=function(t){return null!==this.parser&&t>=0?this.parser.ruleNames[t]:"<rule "+t+">"},D.prototype.getEpsilonTarget=function(t,e,o,i,n,r){switch(e.serializationType){case _.RULE:return this.ruleTransition(t,e);case _.PRECEDENCE:return this.precedenceTransition(t,e,o,i,n);case _.PREDICATE:return this.predTransition(t,e,o,i,n);case _.ACTION:return this.actionTransition(t,e);case _.EPSILON:return new p({state:e.target},t);case _.ATOM:case _.RANGE:case _.SET:return r&&e.matches(c.EOF,0,1)?new p({state:e.target},t):null;default:return null}},D.prototype.actionTransition=function(t,e){if(this.debug){var o=-1==e.actionIndex?65535:e.actionIndex;console.log("ACTION edge "+e.ruleIndex+":"+o)}return new p({state:e.target},t)},D.prototype.precedenceTransition=function(t,e,o,n,r){this.debug&&(console.log("PRED (collectPredicates="+o+") "+e.precedence+">=_p, ctx dependent=true"),null!==this.parser&&console.log("context surrounding pred is "+i.arrayToString(this.parser.getRuleInvocationStack())));var s=null;if(o&&n)if(r){var a=this._input.index;this._input.seek(this._startIndex);var l=e.getPredicate().evaluate(this.parser,this._outerContext);this._input.seek(a),l&&(s=new p({state:e.target},t))}else{var u=m.andContext(t.semanticContext,e.getPredicate());s=new p({state:e.target,semanticContext:u},t)}else s=new p({state:e.target},t);return this.debug&&console.log("config from pred transition="+s),s},D.prototype.predTransition=function(t,e,o,n,r){this.debug&&(console.log("PRED (collectPredicates="+o+") "+e.ruleIndex+":"+e.predIndex+", ctx dependent="+e.isCtxDependent),null!==this.parser&&console.log("context surrounding pred is "+i.arrayToString(this.parser.getRuleInvocationStack())));var s=null;if(o&&(e.isCtxDependent&&n||!e.isCtxDependent))if(r){var a=this._input.index;this._input.seek(this._startIndex);var l=e.getPredicate().evaluate(this.parser,this._outerContext);this._input.seek(a),l&&(s=new p({state:e.target},t))}else{var u=m.andContext(t.semanticContext,e.getPredicate());s=new p({state:e.target,semanticContext:u},t)}else s=new p({state:e.target},t);return this.debug&&console.log("config from pred transition="+s),s},D.prototype.ruleTransition=function(t,e){this.debug&&console.log("CALL rule "+this.getRuleName(e.target.ruleIndex)+", ctx="+t.context);var o=e.followState,i=A.create(t.context,o.stateNumber);return new p({state:e.target,context:i},t)},D.prototype.getConflictingAlts=function(t){var e=g.getConflictingAltSubsets(t);return g.getAlts(e)},D.prototype.getConflictingAltsOrUniqueAlt=function(t){var e=null;return t.uniqueAlt!==a.INVALID_ALT_NUMBER?(e=new r).add(t.uniqueAlt):e=t.conflictingAlts,e},D.prototype.getTokenName=function(t){if(t===c.EOF)return"EOF";if(null!==this.parser&&null!==this.parser.literalNames){if(!(t>=this.parser.literalNames.length&&t>=this.parser.symbolicNames.length))return(this.parser.literalNames[t]||this.parser.symbolicNames[t])+"<"+t+">";console.log(t+" ttype out of range: "+this.parser.literalNames),console.log(""+this.parser.getInputStream().getTokens())}return""+t},D.prototype.getLookaheadName=function(t){return this.getTokenName(t.LA(1))},D.prototype.dumpDeadEndConfigs=function(t){console.log("dead end configs: ");for(var e=t.getDeadEndConfigs(),o=0;o<e.length;o++){var i=e[o],n="no edges";if(i.state.transitions.length>0){var r=i.state.transitions[0];r instanceof AtomTransition?n="Atom "+this.getTokenName(r.label):r instanceof S&&(n=(r instanceof b?"~":"")+"Set "+r.set)}console.error(i.toString(this.parser,!0)+":"+n)}},D.prototype.noViableAlt=function(t,e,o,i){return new T(this.parser,t,t.get(i),t.LT(1),o,e)},D.prototype.getUniqueAlt=function(t){for(var e=a.INVALID_ALT_NUMBER,o=0;o<t.items.length;o++){var i=t.items[o];if(e===a.INVALID_ALT_NUMBER)e=i.alt;else if(i.alt!==e)return a.INVALID_ALT_NUMBER}return e},D.prototype.addDFAEdge=function(t,e,o,i){if(this.debug&&console.log("EDGE "+e+" -> "+i+" upon "+this.getTokenName(o)),null===i)return null;if(i=this.addDFAState(t,i),null===e||o<-1||o>this.atn.maxTokenType)return i;if(null===e.edges&&(e.edges=[]),e.edges[o+1]=i,this.debug){var n=null===this.parser?null:this.parser.literalNames,r=null===this.parser?null:this.parser.symbolicNames;console.log("DFA=\n"+t.toString(n,r))}return i},D.prototype.addDFAState=function(t,e){if(e==f.ERROR)return e;var o=t.states.get(e);return null!==o?o:(e.stateNumber=t.states.length,e.configs.readOnly||(e.configs.optimizeConfigs(this),e.configs.setReadonly(!0)),t.states.add(e),this.debug&&console.log("adding new DFA state: "+e),e)},D.prototype.reportAttemptingFullContext=function(t,e,o,i,n){if(this.debug||this.retry_debug){var r=new E(i,n+1);console.log("reportAttemptingFullContext decision="+t.decision+":"+o+", input="+this.parser.getTokenStream().getText(r))}null!==this.parser&&this.parser.getErrorListenerDispatch().reportAttemptingFullContext(this.parser,t,i,n,e,o)},D.prototype.reportContextSensitivity=function(t,e,o,i,n){if(this.debug||this.retry_debug){var r=new E(i,n+1);console.log("reportContextSensitivity decision="+t.decision+":"+o+", input="+this.parser.getTokenStream().getText(r))}null!==this.parser&&this.parser.getErrorListenerDispatch().reportContextSensitivity(this.parser,t,i,n,e,o)},D.prototype.reportAmbiguity=function(t,e,o,i,n,r,s){if(this.debug||this.retry_debug){var a=new E(o,i+1);console.log("reportAmbiguity "+r+":"+s+", input="+this.parser.getTokenStream().getText(a))}null!==this.parser&&this.parser.getErrorListenerDispatch().reportAmbiguity(this.parser,t,o,i,n,r,s)},e.ParserATNSimulator=D},7760:(t,e,o)=>{Object.defineProperty(e,"__esModule",{value:!0});var i=o(83423);e.simpleHttpRequest=function(t){return new i.Promise((function(e){var o=new XMLHttpRequest;o.open("GET",t.url),o.send(),o.onreadystatechange=function(){if(4==o.readyState&&200==o.status){var t=JSON.parse(o.responseText);e(t)}}}))}},7842:(t,e,o)=>{var i=o(66346).Set,n=o(66346).Hash;function r(){return this}function s(t,e,o){return r.call(this),this.ruleIndex=void 0===t?-1:t,this.predIndex=void 0===e?-1:e,this.isCtxDependent=void 0!==o&&o,this}function a(t){r.call(this),this.precedence=void 0===t?0:t}function l(t,e){r.call(this);var o=new i;t instanceof l?t.opnds.map((function(t){o.add(t)})):o.add(t),e instanceof l?e.opnds.map((function(t){o.add(t)})):o.add(e);var n=a.filterPrecedencePredicates(o);if(n.length>0){var s=null;n.map((function(t){(null===s||t.precedence<s.precedence)&&(s=t)})),o.add(s)}return this.opnds=o.values(),this}function p(t,e){r.call(this);var o=new i;t instanceof p?t.opnds.map((function(t){o.add(t)})):o.add(t),e instanceof p?e.opnds.map((function(t){o.add(t)})):o.add(e);var n=a.filterPrecedencePredicates(o);if(n.length>0){var s=n.sort((function(t,e){return t.compareTo(e)})),l=s[s.length-1];o.add(l)}return this.opnds=o.values(),this}r.prototype.hashCode=function(){var t=new n;return this.updateHashCode(t),t.finish()},r.prototype.evaluate=function(t,e){},r.prototype.evalPrecedence=function(t,e){return this},r.andContext=function(t,e){if(null===t||t===r.NONE)return e;if(null===e||e===r.NONE)return t;var o=new l(t,e);return 1===o.opnds.length?o.opnds[0]:o},r.orContext=function(t,e){if(null===t)return e;if(null===e)return t;if(t===r.NONE||e===r.NONE)return r.NONE;var o=new p(t,e);return 1===o.opnds.length?o.opnds[0]:o},s.prototype=Object.create(r.prototype),s.prototype.constructor=s,r.NONE=new s,s.prototype.evaluate=function(t,e){var o=this.isCtxDependent?e:null;return t.sempred(o,this.ruleIndex,this.predIndex)},s.prototype.updateHashCode=function(t){t.update(this.ruleIndex,this.predIndex,this.isCtxDependent)},s.prototype.equals=function(t){return this===t||t instanceof s&&this.ruleIndex===t.ruleIndex&&this.predIndex===t.predIndex&&this.isCtxDependent===t.isCtxDependent},s.prototype.toString=function(){return"{"+this.ruleIndex+":"+this.predIndex+"}?"},a.prototype=Object.create(r.prototype),a.prototype.constructor=a,a.prototype.evaluate=function(t,e){return t.precpred(e,this.precedence)},a.prototype.evalPrecedence=function(t,e){return t.precpred(e,this.precedence)?r.NONE:null},a.prototype.compareTo=function(t){return this.precedence-t.precedence},a.prototype.updateHashCode=function(t){t.update(31)},a.prototype.equals=function(t){return this===t||t instanceof a&&this.precedence===t.precedence},a.prototype.toString=function(){return"{"+this.precedence+">=prec}?"},a.filterPrecedencePredicates=function(t){var e=[];return t.values().map((function(t){t instanceof a&&e.push(t)})),e},l.prototype=Object.create(r.prototype),l.prototype.constructor=l,l.prototype.equals=function(t){return this===t||t instanceof l&&this.opnds===t.opnds},l.prototype.updateHashCode=function(t){t.update(this.opnds,"AND")},l.prototype.evaluate=function(t,e){for(var o=0;o<this.opnds.length;o++)if(!this.opnds[o].evaluate(t,e))return!1;return!0},l.prototype.evalPrecedence=function(t,e){for(var o=!1,i=[],n=0;n<this.opnds.length;n++){var s=this.opnds[n],a=s.evalPrecedence(t,e);if(o|=a!==s,null===a)return null;a!==r.NONE&&i.push(a)}if(!o)return this;if(0===i.length)return r.NONE;var l=null;return i.map((function(t){l=null===l?t:r.andContext(l,t)})),l},l.prototype.toString=function(){var t="";return this.opnds.map((function(e){t+="&& "+e.toString()})),t.length>3?t.slice(3):t},p.prototype=Object.create(r.prototype),p.prototype.constructor=p,p.prototype.constructor=function(t){return this===t||t instanceof p&&this.opnds===t.opnds},p.prototype.updateHashCode=function(t){t.update(this.opnds,"OR")},p.prototype.evaluate=function(t,e){for(var o=0;o<this.opnds.length;o++)if(this.opnds[o].evaluate(t,e))return!0;return!1},p.prototype.evalPrecedence=function(t,e){for(var o=!1,i=[],n=0;n<this.opnds.length;n++){var s=this.opnds[n],a=s.evalPrecedence(t,e);if(o|=a!==s,a===r.NONE)return r.NONE;null!==a&&i.push(a)}if(!o)return this;if(0===i.length)return null;return i.map((function(t){return t})),null},p.prototype.toString=function(){var t="";return this.opnds.map((function(e){t+="|| "+e.toString()})),t.length>3?t.slice(3):t},e.Ij=r,e.Yi=a,e.mT=s},7897:function(t,e,o){var i=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},n=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},r=this&&this.__param||function(t,e){return function(o,i){e(o,i,t)}};Object.defineProperty(e,"__esModule",{value:!0});var s=o(44081),a=o(37132),l=o(814),p=o(69734),u=o(72948),c=o(26016),d=o(72493),h=o(99770),f=o(83423),g=function(){function t(){}return t.prototype.setBeans=function(t){this.logger=t.create("ColumnFactory")},t.prototype.createColumnTree=function(t,e,o){var i=new p.ColumnKeyCreator;if(o){var n=o.map((function(t){return t.getId()}));i.addExistingKeys(n)}var r=o?o.slice():null,s=this.recursivelyCreateColumns(t,0,e,r,i,null),a=this.findMaxDept(s,0);this.logger.log("Number of levels for grouped columns is "+a);var l=this.balanceColumnTree(s,0,a,i);return this.columnUtils.depthFirstOriginalTreeSearch(null,l,(function(t,e){t instanceof u.OriginalColumnGroup&&t.setupExpandable(),t.setOriginalParent(e)})),{columnTree:l,treeDept:a}},t.prototype.createForAutoGroups=function(t,e){var o=this,i=[];return t.forEach((function(t){var n=o.createAutoGroupTreeItem(e,t);i.push(n)})),i},t.prototype.createAutoGroupTreeItem=function(t,e){for(var o=e,i=this.findDepth(t)-1;i>=0;i--){var n=new u.OriginalColumnGroup(null,"FAKE_PATH_"+e.getId()+"}_"+i,!0,i);this.context.wireBean(n),n.setChildren([o]),o.setOriginalParent(n),o=n}return o},t.prototype.findDepth=function(t){for(var e=0,o=t;o&&o[0]&&o[0]instanceof u.OriginalColumnGroup;)e++,o=o[0].getChildren();return e},t.prototype.balanceColumnTree=function(t,e,o,i){for(var n=[],r=0;r<t.length;r++){var s=t[r];if(s instanceof u.OriginalColumnGroup){var a=s,l=this.balanceColumnTree(a.getChildren(),e+1,o,i);a.setChildren(l),n.push(a)}else{for(var p=void 0,c=void 0,d=o-1;d>=e;d--){var h=i.getUniqueKey(null,null),f=this.createMergedColGroupDef(null),g=new u.OriginalColumnGroup(f,h,!0,e);this.context.wireBean(g),c&&c.setChildren([g]),c=g,p||(p=c)}if(p){n.push(p);var y=t.some((function(t){return t instanceof u.OriginalColumnGroup}));if(y){c.setChildren([s]);continue}c.setChildren(t);break}n.push(s)}}return n},t.prototype.findMaxDept=function(t,e){for(var o=e,i=0;i<t.length;i++){var n=t[i];if(n instanceof u.OriginalColumnGroup){var r=n,s=this.findMaxDept(r.getChildren(),e+1);o<s&&(o=s)}}return o},t.prototype.recursivelyCreateColumns=function(t,e,o,i,n,r){var s=this,a=[];return t?(t.forEach((function(t){var l;l=s.isColumnGroup(t)?s.createColumnGroup(o,t,e,i,n,r):s.createColumn(o,t,i,n,r),a.push(l)})),a):a},t.prototype.createColumnGroup=function(t,e,o,i,n,r){var s=this.createMergedColGroupDef(e),a=n.getUniqueKey(s.groupId,null),l=new u.OriginalColumnGroup(s,a,!1,o);this.context.wireBean(l);var p=this.recursivelyCreateColumns(s.children,o+1,t,i,n,l);return l.setChildren(p),l},t.prototype.createMergedColGroupDef=function(t){var e={};return f._.assign(e,this.gridOptionsWrapper.getDefaultColGroupDef()),f._.assign(e,t),this.checkForDeprecatedItems(e),e},t.prototype.createColumn=function(t,e,o,i,n){var r=this.mergeColDefs(e);this.checkForDeprecatedItems(r);var s=this.findExistingColumn(e,o);if(s)s.setColDef(r,e);else{var a=i.getUniqueKey(r.colId,r.field);s=new c.Column(r,e,a,t),this.context.wireBean(s)}return s},t.prototype.findExistingColumn=function(t,e){var o=f._.find(e,(function(e){var o=e.getUserProvidedColDef();return!(!o||o!==t&&(null===o.colId||void 0===o.colId||o.colId!==t.colId))}));return o&&f._.removeFromArray(e,o),o},t.prototype.mergeColDefs=function(t){var e={};return f._.assign(e,this.gridOptionsWrapper.getDefaultColDef()),t.type&&this.assignColumnTypes(t,e),f._.assign(e,t),e},t.prototype.assignColumnTypes=function(t,e){var o;if(t.type instanceof Array)t.type.some((function(t){return"string"!=typeof t}))?console.warn("ag-grid: if colDef.type is supplied an array it should be of type 'string[]'"):o=t.type;else{if("string"!=typeof t.type)return void console.warn("ag-grid: colDef.type should be of type 'string' | 'string[]'");o=t.type.split(",")}var i=f._.assign({},this.gridOptionsWrapper.getColumnTypes(),h.DefaultColumnTypes);o.forEach((function(t){var o=i[t.trim()];o?f._.assign(e,o):console.warn("ag-grid: colDef.type '"+t+"' does not correspond to defined gridOptions.columnTypes")}))},t.prototype.checkForDeprecatedItems=function(t){if(t){var e=t;void 0!==e.group&&console.warn("ag-grid: colDef.group is invalid, please check documentation on how to do grouping as it changed in version 3"),void 0!==e.headerGroup&&console.warn("ag-grid: colDef.headerGroup is invalid, please check documentation on how to do grouping as it changed in version 3"),void 0!==e.headerGroupShow&&console.warn("ag-grid: colDef.headerGroupShow is invalid, should be columnGroupShow, please check documentation on how to do grouping as it changed in version 3"),void 0!==e.suppressRowGroup&&console.warn("ag-grid: colDef.suppressRowGroup is deprecated, please use colDef.type instead"),void 0!==e.suppressAggregation&&console.warn("ag-grid: colDef.suppressAggregation is deprecated, please use colDef.type instead"),(e.suppressRowGroup||e.suppressAggregation)&&console.warn("ag-grid: colDef.suppressAggregation and colDef.suppressRowGroup are deprecated, use allowRowGroup, allowPivot and allowValue instead"),e.displayName&&(console.warn("ag-grid: Found displayName "+e.displayName+", please use headerName instead, displayName is deprecated."),e.headerName=e.displayName)}},t.prototype.isColumnGroup=function(t){return void 0!==t.children},i([d.Autowired("gridOptionsWrapper"),n("design:type",s.GridOptionsWrapper)],t.prototype,"gridOptionsWrapper",void 0),i([d.Autowired("columnUtils"),n("design:type",l.ColumnUtils)],t.prototype,"columnUtils",void 0),i([d.Autowired("context"),n("design:type",d.Context)],t.prototype,"context",void 0),i([r(0,d.Qualifier("loggerFactory")),n("design:type",Function),n("design:paramtypes",[a.LoggerFactory]),n("design:returntype",void 0)],t.prototype,"setBeans",null),i([d.Bean("columnFactory")],t)}();e.ColumnFactory=g},8534:function(t,e,o){var i=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},n=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r=o(60843),s=o(44081),a=o(72493),l=o(83423),p=function(){function t(){this.destroyFunctions=[],this.destroyed=!1}return t.prototype.getContext=function(){return this.context},t.prototype.destroy=function(){this.destroyFunctions.forEach((function(t){return t()})),this.destroyFunctions.length=0,this.destroyed=!0,this.dispatchEvent({type:t.EVENT_DESTROYED})},t.prototype.addEventListener=function(t,e){this.localEventService||(this.localEventService=new r.EventService),this.localEventService.addEventListener(t,e)},t.prototype.removeEventListener=function(t,e){this.localEventService&&this.localEventService.removeEventListener(t,e)},t.prototype.dispatchEventAsync=function(t){var e=this;window.setTimeout((function(){return e.dispatchEvent(t)}),0)},t.prototype.dispatchEvent=function(t){this.localEventService&&this.localEventService.dispatchEvent(t)},t.prototype.addDestroyableEventListener=function(t,e,o,i){this.destroyed||(t instanceof HTMLElement?l._.addSafePassiveEventListener(t,e,o,i):(t instanceof Window||s.GridOptionsWrapper,t.addEventListener(e,o)),this.destroyFunctions.push((function(){t instanceof HTMLElement||t instanceof Window||s.GridOptionsWrapper,t.removeEventListener(e,o)})))},t.prototype.isAlive=function(){return!this.destroyed},t.prototype.addDestroyFunc=function(t){this.isAlive()?this.destroyFunctions.push(t):t()},t.EVENT_DESTROYED="destroyed",i([a.Autowired("context"),n("design:type",a.Context)],t.prototype,"context",void 0),i([a.PreDestroy,n("design:type",Function),n("design:paramtypes",[]),n("design:returntype",void 0)],t.prototype,"destroy",null),t}();e.BeanStub=p},8894:function(t,e,o){var i=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},n=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r=o(72493),s=o(34782),a=o(45727),l=o(1571),p=o(41451),u=o(42195),c=o(69065),d=o(98239),h=o(44081),f=o(83423),g=function(){function t(){this.timeLastPageEventProcessed=0}return t.prototype.init=function(){this.scrollWidth=this.gridOptionsWrapper.getScrollbarWidth()},t.prototype.registerGridComp=function(t){this.gridPanel=t},t.prototype.handlePageScrollingKey=function(t){var e=t.which||t.keyCode,o=t.altKey,i=t.ctrlKey,n=this.mouseEventService.getGridCellForEvent(t).getGridCellDef();if(!n)return!1;var r=!1;switch(e){case a.Constants.KEY_PAGE_HOME:case a.Constants.KEY_PAGE_END:i||o||(this.onHomeOrEndKey(e),r=!0);break;case a.Constants.KEY_LEFT:case a.Constants.KEY_RIGHT:i&&!o&&(this.onCtrlLeftOrRight(e,n),r=!0);break;case a.Constants.KEY_UP:case a.Constants.KEY_DOWN:i&&!o&&(this.onCtrlUpOrDown(e,n),r=!0);break;case a.Constants.KEY_PAGE_DOWN:i||o||(this.onPageDown(n),r=!0);break;case a.Constants.KEY_PAGE_UP:i||o||(this.onPageUp(n),r=!0)}return r&&t.preventDefault(),r},t.prototype.isTimeSinceLastPageEventToRecent=function(){return(new Date).getTime()-this.timeLastPageEventProcessed<100},t.prototype.setTimeLastPageEventProcessed=function(){this.timeLastPageEventProcessed=(new Date).getTime()},t.prototype.onPageDown=function(t){if(!this.isTimeSinceLastPageEventToRecent()){var e=this.gridPanel.getVScrollPosition(),o=e.bottom-e.top;this.gridPanel.isHorizontalScrollShowing()&&(o-=this.scrollWidth);var i=this.paginationProxy.getPixelOffset(),n=e.top+o,r=this.paginationProxy.getRowIndexAtPixel(n+i),s=this.paginationProxy.getRow(t.rowIndex).rowTop+o-i,a=this.paginationProxy.getRowIndexAtPixel(s+i),l=this.paginationProxy.getPageLastRow();a>l&&(a=l),r>l&&(r=l),this.navigateTo(r,"top",null,a,t.column),this.setTimeLastPageEventProcessed()}},t.prototype.onPageUp=function(t){if(!this.isTimeSinceLastPageEventToRecent()){var e=this.gridPanel.getVScrollPosition(),o=e.bottom-e.top;this.gridPanel.isHorizontalScrollShowing()&&(o-=this.scrollWidth);var i=this.paginationProxy.getPixelOffset(),n=e.top,r=this.paginationProxy.getRowIndexAtPixel(n+i),s=this.paginationProxy.getRow(t.rowIndex),a=s.rowTop+s.rowHeight-o-i,l=this.paginationProxy.getRowIndexAtPixel(a+i),p=this.paginationProxy.getPageFirstRow();l<p&&(l=p),r<p&&(r=p),this.navigateTo(r,"bottom",null,l,t.column),this.setTimeLastPageEventProcessed()}},t.prototype.navigateTo=function(t,e,o,i,n){if(f._.exists(o)&&this.gridPanel.ensureColumnVisible(o),f._.exists(t)&&this.gridPanel.ensureIndexVisible(t,e),this.animationFrameService.flushAllFrames(),this.focusedCellController.setFocusedCell(i,n,null,!0),this.rangeController){var r=new s.GridCell({rowIndex:i,floating:null,column:n});this.rangeController.setRangeToCell(r)}},t.prototype.onCtrlUpOrDown=function(t,e){var o=t===a.Constants.KEY_UP?0:this.paginationProxy.getPageLastRow();this.navigateTo(o,null,e.column,o,e.column)},t.prototype.onCtrlLeftOrRight=function(t,e){var o=t===a.Constants.KEY_LEFT,i=this.columnController.getAllDisplayedColumns(),n=o?i[0]:i[i.length-1];this.navigateTo(e.rowIndex,null,n,e.rowIndex,n)},t.prototype.onHomeOrEndKey=function(t){var e=t===a.Constants.KEY_PAGE_HOME,o=this.columnController.getAllDisplayedColumns(),i=e?o[0]:o[o.length-1],n=e?0:this.paginationProxy.getPageLastRow();this.navigateTo(n,null,i,n,i)},i([r.Autowired("mouseEventService"),n("design:type",l.MouseEventService)],t.prototype,"mouseEventService",void 0),i([r.Autowired("paginationProxy"),n("design:type",p.PaginationProxy)],t.prototype,"paginationProxy",void 0),i([r.Autowired("focusedCellController"),n("design:type",u.FocusedCellController)],t.prototype,"focusedCellController",void 0),i([r.Autowired("animationFrameService"),n("design:type",c.AnimationFrameService)],t.prototype,"animationFrameService",void 0),i([r.Optional("rangeController"),n("design:type",Object)],t.prototype,"rangeController",void 0),i([r.Autowired("columnController"),n("design:type",d.ColumnController)],t.prototype,"columnController",void 0),i([r.Autowired("gridOptionsWrapper"),n("design:type",h.GridOptionsWrapper)],t.prototype,"gridOptionsWrapper",void 0),i([r.PostConstruct,n("design:type",Function),n("design:paramtypes",[]),n("design:returntype",void 0)],t.prototype,"init",null),i([r.Bean("navigationService")],t)}();e.NavigationService=g},9018:function(t,e,o){var i=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s};Object.defineProperty(e,"__esModule",{value:!0});var n=o(72493),r=o(83423),s=[0,1996959894,-301047508,-1727442502,124634137,1886057615,-379345611,-1637575261,249268274,2044508324,-522852066,-1747789432,162941995,2125561021,-407360249,-1866523247,498536548,1789927666,-205950648,-2067906082,450548861,1843258603,-187386543,-2083289657,325883990,1684777152,-43845254,-1973040660,335633487,1661365465,-99664541,-1928851979,997073096,1281953886,-715111964,-1570279054,1006888145,1258607687,-770865667,-1526024853,901097722,1119000684,-608450090,-1396901568,853044451,1172266101,-589951537,-1412350631,651767980,1373503546,-925412992,-1076862698,565507253,1454621731,-809855591,-1195530993,671266974,1594198024,-972236366,-1324619484,795835527,1483230225,-1050600021,-1234817731,1994146192,31158534,-1731059524,-271249366,1907459465,112637215,-1614814043,-390540237,2013776290,251722036,-1777751922,-519137256,2137656763,141376813,-1855689577,-429695999,1802195444,476864866,-2056965928,-228458418,1812370925,453092731,-2113342271,-183516073,1706088902,314042704,-1950435094,-54949764,1658658271,366619977,-1932296973,-69972891,1303535960,984961486,-1547960204,-725929758,1256170817,1037604311,-1529756563,-740887301,1131014506,879679996,-1385723834,-631195440,1141124467,855842277,-1442165665,-586318647,1342533948,654459306,-1106571248,-921952122,1466479909,544179635,-1184443383,-832445281,1591671054,702138776,-1328506846,-942167884,1504918807,783551873,-1212326853,-1061524307,-306674912,-1698712650,62317068,1957810842,-355121351,-1647151185,81470997,1943803523,-480048366,-1805370492,225274430,2053790376,-468791541,-1828061283,167816743,2097651377,-267414716,-2029476910,503444072,1762050814,-144550051,-2140837941,426522225,1852507879,-19653770,-1982649376,282753626,1742555852,-105259153,-1900089351,397917763,1622183637,-690576408,-1580100738,953729732,1340076626,-776247311,-1497606297,1068828381,1219638859,-670225446,-1358292148,906185462,1090812512,-547295293,-1469587627,829329135,1181335161,-882789492,-1134132454,628085408,1382605366,-871598187,-1156888829,570562233,1426400815,-977650754,-1296233688,733239954,1555261956,-1026031705,-1244606671,752459403,1541320221,-1687895376,-328994266,1969922972,40735498,-1677130071,-351390145,1913087877,83908371,-1782625662,-491226604,2075208622,213261112,-1831694693,-438977011,2094854071,198958881,-2032938284,-237706686,1759359992,534414190,-2118248755,-155638181,1873836001,414664567,-2012718362,-15766928,1711684554,285281116,-1889165569,-127750551,1634467795,376229701,-1609899400,-686959890,1308918612,956543938,-1486412191,-799009033,1231636301,1047427035,-1362007478,-640263460,1088359270,936918e3,-1447252397,-558129467,1202900863,817233897,-1111625188,-893730166,1404277552,615818150,-1160759803,-841546093,1423857449,601450431,-1285129682,-1000256840,1567103746,711928724,-1274298825,-1022587231,1510334235,755167117],a=function(){function t(){var t=this;this.folders=[],this.files=[],this.addFolder=function(e){t.folders.push({path:e,created:new Date})}}return t.prototype.addFolders=function(t){t.forEach(this.addFolder)},t.prototype.addFile=function(t,e){this.files.push({path:t,created:new Date,content:e})},t.prototype.clearStream=function(){this.folders=[],this.files=[]},t.prototype.getContent=function(t){void 0===t&&(t="application/zip");var e=this.buildFileStream(),o=this.buildUint8Array(e);return this.clearStream(),new Blob([o],{type:t})},t.prototype.buildFileStream=function(t){void 0===t&&(t="");for(var e=this.folders.concat(this.files),o=e.length,i="",n=0,r=0,s=0,a=e;s<a.length;s++){var l=a[s],p=this.getHeader(l,n),u=p.fileHeader,c=p.folderHeader,d=p.content;n+=u.length+d.length,r+=c.length,t+=u+d,i+=c}return t+i+this.buildFolderEnd(o,r,n)},t.prototype.getHeader=function(t,e){var o=t.content,i=t.path,n=t.created,s=r._.utf8_encode,a=r._.decToHex,l=s(i),p=l!==i,u=this.convertTime(n),c=this.convertDate(n),d="";if(p){var h=a(1,1)+a(this.getFromCrc32Table(l),4)+l;d="up"+a(h.length,2)+h}var f="\n\0"+(p?"\0\b":"\0\0")+"\0\0"+a(u,2)+a(c,2)+a(o?this.getFromCrc32Table(o):0,4)+a(o?o.length:0,4)+a(o?o.length:0,4)+a(l.length,2)+a(d.length,2);return{fileHeader:"PK"+f+l+d,folderHeader:"PK\0"+f+"\0\0\0\0\0\0"+(o?"\0\0\0\0":"\0\0\0")+a(e,4)+l+d,content:o||""}},t.prototype.buildFolderEnd=function(t,e,o){var i=r._.decToHex;return"PK\0\0\0\0"+i(t,2)+i(t,2)+i(e,4)+i(o,4)+"\0\0"},t.prototype.buildUint8Array=function(t){for(var e=new Uint8Array(t.length),o=0;o<e.length;o++)e[o]=t.charCodeAt(o);return e},t.prototype.getFromCrc32Table=function(t,e){if(void 0===e&&(e=0),!t.length)return 0;e^=-1;for(var o=0,i=0;i<t.length;i++)o=t.charCodeAt(i),e=e>>>8^s[255&(e^o)];return~e},t.prototype.convertTime=function(t){var e=t.getHours();return e<<=6,e|=t.getMinutes(),(e<<=5)|t.getSeconds()/2},t.prototype.convertDate=function(t){var e=t.getFullYear()-1980;return e<<=4,e|=t.getMonth()+1,(e<<=5)|t.getDate()},i([n.Bean("zipContainer")],t)}();e.ZipContainer=a},9854:(t,e,o)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.executeAST=void 0;const i=o(53446),n=(t,e)=>{switch(t.callee.type){case"Identifier":{const o=(0,i.getScopeFunction)(t.callee.name,e),n=t.arguments.map((t=>r(t)));return o.apply(o,n)}case"MemberExpression":{const e="Identifier"===t.callee.object.type?(0,i.getClass)(t.callee.object.name):r(t.callee.object),o="Identifier"===t.callee.property.type&&t.callee.property.name;if(!o)throw new Error("Expected CallExpression property to be an identifier");const n=t.arguments.map((t=>r(t)));return e[o](...n)}default:throw new Error("Should not evaluate invalid expressions")}},r=t=>{switch(t?.type){case"Identifier":if(Object.prototype.hasOwnProperty.call(i.GLOBALS,t.name))return i.GLOBALS[t.name];throw new Error(`${t.name} is not a valid Identifier`);case"Literal":return t.value;case"UnaryExpression":return(t=>{if(!t.prefix)throw new Error("Malformed UnaryExpression");switch(t.operator){case"-":return-r(t.argument);case"+":return+r(t.argument);case"!":return!r(t.argument);case"~":return~r(t.argument);default:throw new Error(`Invalid UnaryExpression Provided: '${t.operator}'`)}})(t);case"BinaryExpression":return(t=>{const{left:e,right:o}=t;switch(t.operator){case"==":return r(e)==r(o);case"!=":return r(e)!=r(o);case"===":return r(e)===r(o);case"!==":return r(e)!==r(o);case"<":return r(e)<r(o);case"<=":return r(e)<=r(o);case">":return r(e)>r(o);case">=":return r(e)>=r(o);case"<<":return r(e)<<r(o);case">>":return r(e)>>r(o);case">>>":return r(e)>>>r(o);case"+":return r(e)+r(o);case"-":return r(e)-r(o);case"*":return r(e)*r(o);case"/":return r(e)/r(o);case"%":return r(e)%r(o);case"**":return r(e)**r(o);case"|":return r(e)|r(o);case"^":return r(e)^r(o);case"&":return r(e)&r(o);case"in":return r(e)in r(o);case"instanceof":return r(e)instanceof r(o);default:throw new Error(`Invalid BinaryExpression Provided: '${String(t.operator)}'`)}})(t);case"ArrayExpression":return t.elements.map((t=>r(t)));case"CallExpression":return n(t,!1);case"NewExpression":return n(t,!0);case"ObjectExpression":{const e=Object.create(null);for(const o of t.properties)"key"in o&&(e["Identifier"===o.key.type?o.key.name:r(o.key)]=r(o.value));return{...e}}case"FunctionExpression":case"ArrowFunctionExpression":return(t=>{const e=t.loc?.source||"",o=t.range||[];return e.slice(o[0],o[1])})(t);default:throw new Error}};e.executeAST=t=>{if("Program"===t.type&&1===t.body.length&&"ExpressionStatement"===t.body[0].type)return r(t.body[0].expression);throw new Error("Invalid AST Found")}},10014:(t,e,o)=>{var i=o(72994).Token,n=(o(70040).Interval,o(70040).m),r=o(7842).mT,s=o(7842).Yi;function a(t){if(null==t)throw"target cannot be null.";return this.target=t,this.isEpsilon=!1,this.label=null,this}function l(t,e){return a.call(this,t),this.label_=e,this.label=this.makeLabel(),this.serializationType=a.ATOM,this}function p(t,e,o,i){return a.call(this,t),this.ruleIndex=e,this.precedence=o,this.followState=i,this.serializationType=a.RULE,this.isEpsilon=!0,this}function u(t,e){return a.call(this,t),this.serializationType=a.EPSILON,this.isEpsilon=!0,this.outermostPrecedenceReturn=e,this}function c(t,e,o){return a.call(this,t),this.serializationType=a.RANGE,this.start=e,this.stop=o,this.label=this.makeLabel(),this}function d(t){return a.call(this,t),this}function h(t,e,o,i){return d.call(this,t),this.serializationType=a.PREDICATE,this.ruleIndex=e,this.predIndex=o,this.isCtxDependent=i,this.isEpsilon=!0,this}function f(t,e,o,i){return a.call(this,t),this.serializationType=a.ACTION,this.ruleIndex=e,this.actionIndex=void 0===o?-1:o,this.isCtxDependent=void 0!==i&&i,this.isEpsilon=!0,this}function g(t,e){return a.call(this,t),this.serializationType=a.SET,null!=e?this.label=e:(this.label=new n,this.label.addOne(i.INVALID_TYPE)),this}function y(t,e){return g.call(this,t,e),this.serializationType=a.NOT_SET,this}function m(t){return a.call(this,t),this.serializationType=a.WILDCARD,this}function v(t,e){return d.call(this,t),this.serializationType=a.PRECEDENCE,this.precedence=e,this.isEpsilon=!0,this}a.EPSILON=1,a.RANGE=2,a.RULE=3,a.PREDICATE=4,a.ATOM=5,a.ACTION=6,a.SET=7,a.NOT_SET=8,a.WILDCARD=9,a.PRECEDENCE=10,a.serializationNames=["INVALID","EPSILON","RANGE","RULE","PREDICATE","ATOM","ACTION","SET","NOT_SET","WILDCARD","PRECEDENCE"],a.serializationTypes={EpsilonTransition:a.EPSILON,RangeTransition:a.RANGE,RuleTransition:a.RULE,PredicateTransition:a.PREDICATE,AtomTransition:a.ATOM,ActionTransition:a.ACTION,SetTransition:a.SET,NotSetTransition:a.NOT_SET,WildcardTransition:a.WILDCARD,PrecedencePredicateTransition:a.PRECEDENCE},l.prototype=Object.create(a.prototype),l.prototype.constructor=l,l.prototype.makeLabel=function(){var t=new n;return t.addOne(this.label_),t},l.prototype.matches=function(t,e,o){return this.label_===t},l.prototype.toString=function(){return this.label_},p.prototype=Object.create(a.prototype),p.prototype.constructor=p,p.prototype.matches=function(t,e,o){return!1},u.prototype=Object.create(a.prototype),u.prototype.constructor=u,u.prototype.matches=function(t,e,o){return!1},u.prototype.toString=function(){return"epsilon"},c.prototype=Object.create(a.prototype),c.prototype.constructor=c,c.prototype.makeLabel=function(){var t=new n;return t.addRange(this.start,this.stop),t},c.prototype.matches=function(t,e,o){return t>=this.start&&t<=this.stop},c.prototype.toString=function(){return"'"+String.fromCharCode(this.start)+"'..'"+String.fromCharCode(this.stop)+"'"},d.prototype=Object.create(a.prototype),d.prototype.constructor=d,h.prototype=Object.create(d.prototype),h.prototype.constructor=h,h.prototype.matches=function(t,e,o){return!1},h.prototype.getPredicate=function(){return new r(this.ruleIndex,this.predIndex,this.isCtxDependent)},h.prototype.toString=function(){return"pred_"+this.ruleIndex+":"+this.predIndex},f.prototype=Object.create(a.prototype),f.prototype.constructor=f,f.prototype.matches=function(t,e,o){return!1},f.prototype.toString=function(){return"action_"+this.ruleIndex+":"+this.actionIndex},g.prototype=Object.create(a.prototype),g.prototype.constructor=g,g.prototype.matches=function(t,e,o){return this.label.contains(t)},g.prototype.toString=function(){return this.label.toString()},y.prototype=Object.create(g.prototype),y.prototype.constructor=y,y.prototype.matches=function(t,e,o){return t>=e&&t<=o&&!g.prototype.matches.call(this,t,e,o)},y.prototype.toString=function(){return"~"+g.prototype.toString.call(this)},m.prototype=Object.create(a.prototype),m.prototype.constructor=m,m.prototype.matches=function(t,e,o){return t>=e&&t<=o},m.prototype.toString=function(){return"."},v.prototype=Object.create(d.prototype),v.prototype.constructor=v,v.prototype.matches=function(t,e,o){return!1},v.prototype.getPredicate=function(){return new s(this.precedence)},v.prototype.toString=function(){return this.precedence+" >= _p"},e.Transition=a,e.AtomTransition=l,e.SetTransition=g,e.NotSetTransition=y,e.RuleTransition=p,e.ActionTransition=f,e.EpsilonTransition=u,e.RangeTransition=c,e.WildcardTransition=m,e.PredicateTransition=h,e.PrecedencePredicateTransition=v,e.AbstractPredicateTransition=d},10042:function(t,e,o){var i,n=this&&this.__extends||(i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},i(t,e)},function(t,e){function o(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),r=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},s=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},a=this&&this.__param||function(t,e){return function(o,i){e(o,i,t)}};Object.defineProperty(e,"__esModule",{value:!0});var l=o(44081),p=o(40634),u=o(92427),c=o(24463),d=o(60843),h=o(19378),f=o(63405),g=o(45727),y=o(23054),m=o(72493),v=o(44871),C=o(98239),E=o(37132),w=o(42195),_=o(38427),S=o(34782),b=o(8534),R=o(41451),O=o(40797),T=o(50580),A=o(55090),P=o(69065),D=o(51755),x=o(83423),N=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.rowCompsByIndex={},e.floatingTopRowComps=[],e.floatingBottomRowComps=[],e.refreshInProgress=!1,e}return n(e,t),e.prototype.registerGridCore=function(t){this.gridCore=t},e.prototype.agWire=function(t){this.logger=t.create("RowRenderer")},e.prototype.registerGridComp=function(t){this.gridPanel=t,this.rowContainers=this.gridPanel.getRowContainers(),this.addDestroyableEventListener(this.eventService,f.Events.EVENT_PAGINATION_CHANGED,this.onPageLoaded.bind(this)),this.addDestroyableEventListener(this.eventService,f.Events.EVENT_PINNED_ROW_DATA_CHANGED,this.onPinnedRowDataChanged.bind(this)),this.addDestroyableEventListener(this.eventService,f.Events.EVENT_DISPLAYED_COLUMNS_CHANGED,this.onDisplayedColumnsChanged.bind(this)),this.addDestroyableEventListener(this.eventService,f.Events.EVENT_BODY_SCROLL,this.redrawAfterScroll.bind(this)),this.addDestroyableEventListener(this.eventService,f.Events.EVENT_BODY_HEIGHT_CHANGED,this.redrawAfterScroll.bind(this)),this.addDestroyableEventListener(this.gridOptionsWrapper,l.GridOptionsWrapper.PROP_DOM_LAYOUT,this.onDomLayoutChanged.bind(this)),this.printLayout=this.gridOptionsWrapper.getDomLayout()===g.Constants.DOM_LAYOUT_PRINT,this.embedFullWidthRows=this.printLayout||this.gridOptionsWrapper.isEmbedFullWidthRows(),this.redrawAfterModelUpdate()},e.prototype.onDomLayoutChanged=function(){var t=this.gridOptionsWrapper.getDomLayout()===g.Constants.DOM_LAYOUT_PRINT,e=t||this.gridOptionsWrapper.isEmbedFullWidthRows(),o=e!==this.embedFullWidthRows||this.printLayout!==t;this.printLayout=t,this.embedFullWidthRows=e,o&&this.redrawAfterModelUpdate()},e.prototype.datasourceChanged=function(){this.firstRenderedRow=0,this.lastRenderedRow=-1;var t=Object.keys(this.rowCompsByIndex);this.removeRowComps(t)},e.prototype.onPageLoaded=function(t){x._.missing(t)&&(t={type:f.Events.EVENT_MODEL_UPDATED,api:this.gridApi,columnApi:this.columnApi,animate:!1,keepRenderedRows:!1,newData:!1,newPage:!1}),this.onModelUpdated(t)},e.prototype.getAllCellsForColumn=function(t){var e=[];function o(o,i){var n=i.getCellForCol(t);n&&e.push(n)}return x._.iterateObject(this.rowCompsByIndex,o),x._.iterateObject(this.floatingBottomRowComps,o),x._.iterateObject(this.floatingTopRowComps,o),e},e.prototype.refreshFloatingRowComps=function(){this.refreshFloatingRows(this.floatingTopRowComps,this.pinnedRowModel.getPinnedTopRowData(),this.rowContainers.floatingTopPinnedLeft,this.rowContainers.floatingTopPinnedRight,this.rowContainers.floatingTop,this.rowContainers.floatingTopFullWidth),this.refreshFloatingRows(this.floatingBottomRowComps,this.pinnedRowModel.getPinnedBottomRowData(),this.rowContainers.floatingBottomPinnedLeft,this.rowContainers.floatingBottomPinnedRight,this.rowContainers.floatingBottom,this.rowContainers.floatingBottomFullWith)},e.prototype.refreshFloatingRows=function(t,e,o,i,n,r){var s=this;t.forEach((function(t){t.destroy()})),t.length=0,e&&e.forEach((function(e){var a=new h.RowComp(s.$scope,n,o,i,r,e,s.beans,!1,!1,s.printLayout,s.embedFullWidthRows);a.init(),t.push(a)})),this.flushContainers(t)},e.prototype.onPinnedRowDataChanged=function(){this.redrawAfterModelUpdate({recycleRows:!0})},e.prototype.onModelUpdated=function(t){var e={recycleRows:t.keepRenderedRows,animate:t.animate,newData:t.newData,newPage:t.newPage,onlyBody:!0};this.redrawAfterModelUpdate(e)},e.prototype.getRenderedIndexesForRowNodes=function(t){var e=[];return x._.missing(t)||x._.iterateObject(this.rowCompsByIndex,(function(o,i){var n=i.getRowNode();t.indexOf(n)>=0&&e.push(o)})),e},e.prototype.redrawRows=function(t){if(t&&0!=t.length){var e=this.getRenderedIndexesForRowNodes(t);this.removeRowComps(e),this.redrawAfterModelUpdate({recycleRows:!0})}},e.prototype.getCellToRestoreFocusToAfterRefresh=function(t){var e=t.suppressKeepFocus?null:this.focusedCellController.getFocusCellToUseAfterRefresh();if(x._.missing(e))return null;var o=document.activeElement,i=this.gridOptionsWrapper.getDomData(o,y.CellComp.DOM_DATA_KEY_CELL_COMP);return x._.missing(i)?null:e},e.prototype.redrawAfterModelUpdate=function(t){void 0===t&&(t={}),this.getLockOnRefresh();var e=this.getCellToRestoreFocusToAfterRefresh(t);this.sizeContainerToPageHeight(),this.scrollToTopIfNewData(t);var o=!this.printLayout&&t.recycleRows,i=t.animate&&this.gridOptionsWrapper.isAnimateRows(),n=this.binRowComps(o);this.redraw(n,i),t.onlyBody||this.refreshFloatingRowComps(),this.restoreFocusedCell(e),this.releaseLockOnRefresh()},e.prototype.scrollToTopIfNewData=function(t){var e=t.newData||t.newPage,o=this.gridOptionsWrapper.isSuppressScrollOnNewData();e&&!o&&this.gridPanel.scrollToTop()},e.prototype.sizeContainerToPageHeight=function(){var t=[this.rowContainers.body,this.rowContainers.fullWidth,this.rowContainers.pinnedLeft,this.rowContainers.pinnedRight];if(this.printLayout)t.forEach((function(t){return t.setHeight(null)}));else{var e=this.paginationProxy.getCurrentPageHeight();0===e&&(e=1),this.maxDivHeightScaler.setModelHeight(e);var o=this.maxDivHeightScaler.getUiContainerHeight();t.forEach((function(t){return t.setHeight(o)}))}},e.prototype.getLockOnRefresh=function(){if(this.refreshInProgress)throw new Error("ag-Grid: cannot get grid to draw rows when it is in the middle of drawing rows. Your code probably called a grid API method while the grid was in the render stage. To overcome this, put the API call into a timeout, eg instead of api.refreshView(), call setTimeout(function(){api.refreshView(),0}). To see what part of your code that caused the refresh check this stacktrace.");this.refreshInProgress=!0},e.prototype.releaseLockOnRefresh=function(){this.refreshInProgress=!1},e.prototype.restoreFocusedCell=function(t){t&&this.focusedCellController.setFocusedCell(t.rowIndex,t.column,t.floating,!0)},e.prototype.stopEditing=function(t){void 0===t&&(t=!1),this.forEachRowComp((function(e,o){o.stopEditing(t)}))},e.prototype.forEachCellComp=function(t){this.forEachRowComp((function(e,o){return o.forEachCellComp(t)}))},e.prototype.forEachRowComp=function(t){x._.iterateObject(this.rowCompsByIndex,t),x._.iterateObject(this.floatingTopRowComps,t),x._.iterateObject(this.floatingBottomRowComps,t)},e.prototype.addRenderedRowListener=function(t,e,o){var i=this.rowCompsByIndex[e];i&&i.addEventListener(t,o)},e.prototype.flashCells=function(t){void 0===t&&(t={}),this.forEachCellCompFiltered(t.rowNodes,t.columns,(function(t){return t.flashCell()}))},e.prototype.refreshCells=function(t){void 0===t&&(t={});var e={forceRefresh:t.force,newData:!1};this.forEachCellCompFiltered(t.rowNodes,t.columns,(function(t){return t.refreshCell(e)}))},e.prototype.getCellRendererInstances=function(t){var e=[];return this.forEachCellCompFiltered(t.rowNodes,t.columns,(function(t){var o=t.getCellRenderer();o&&e.push(o)})),e},e.prototype.getCellEditorInstances=function(t){var e=[];return this.forEachCellCompFiltered(t.rowNodes,t.columns,(function(t){var o=t.getCellEditor();o&&e.push(o)})),e},e.prototype.getEditingCells=function(){var t=[];return this.forEachCellComp((function(e){if(e.isEditing()){var o=e.getGridCell().getGridCellDef();t.push(o)}})),t},e.prototype.forEachCellCompFiltered=function(t,e,o){var i,n,r=this;x._.exists(t)&&(i={top:{},bottom:{},normal:{}},t.forEach((function(t){t.rowPinned===g.Constants.PINNED_TOP?i.top[t.id]=!0:t.rowPinned===g.Constants.PINNED_BOTTOM?i.bottom[t.id]=!0:i.normal[t.id]=!0}))),x._.exists(e)&&(n={},e.forEach((function(t){var e=r.columnController.getGridColumn(t);x._.exists(e)&&(n[e.getId()]=!0)})));var s=function(t){var e=t.getRowNode(),r=e.id,s=e.rowPinned;if(x._.exists(i))if(s===g.Constants.PINNED_BOTTOM){if(!i.bottom[r])return}else if(s===g.Constants.PINNED_TOP){if(!i.top[r])return}else if(!i.normal[r])return;t.forEachCellComp((function(t){var e=t.getColumn().getId();n&&!n[e]||o(t)}))};x._.iterateObject(this.rowCompsByIndex,(function(t,e){s(e)})),this.floatingTopRowComps&&this.floatingTopRowComps.forEach(s),this.floatingBottomRowComps&&this.floatingBottomRowComps.forEach(s)},e.prototype.destroy=function(){t.prototype.destroy.call(this);var e=Object.keys(this.rowCompsByIndex);this.removeRowComps(e)},e.prototype.binRowComps=function(t){var e,o=this,i={};return t?(e=[],x._.iterateObject(this.rowCompsByIndex,(function(t,n){var r=n.getRowNode();x._.exists(r.id)?(i[r.id]=n,delete o.rowCompsByIndex[t]):e.push(t)}))):e=Object.keys(this.rowCompsByIndex),this.removeRowComps(e),i},e.prototype.removeRowComps=function(t){var e=this;t.forEach((function(t){e.rowCompsByIndex[t].destroy(),delete e.rowCompsByIndex[t]}))},e.prototype.redrawAfterScroll=function(){this.getLockOnRefresh(),this.redraw(null,!1,!0),this.releaseLockOnRefresh()},e.prototype.removeRowCompsNotToDraw=function(t){var e={};t.forEach((function(t){return e[t]=!0}));var o=Object.keys(this.rowCompsByIndex),i=x._.filter(o,(function(t){return!e[t]}));this.removeRowComps(i)},e.prototype.calculateIndexesToDraw=function(){var t=this,e=x._.createArrayOfNumbers(this.firstRenderedRow,this.lastRenderedRow);return x._.iterateObject(this.rowCompsByIndex,(function(o,i){var n=Number(o);(n<t.firstRenderedRow||n>t.lastRenderedRow)&&t.keepRowBecauseEditingOrFocused(i)&&e.push(n)})),e.sort((function(t,e){return t-e})),e},e.prototype.redraw=function(t,e,o){var i=this;void 0===e&&(e=!1),void 0===o&&(o=!1),this.maxDivHeightScaler.updateOffset(),this.workOutFirstAndLastRowsToRender();var n=this.calculateIndexesToDraw();this.removeRowCompsNotToDraw(n),this.printLayout&&(e=!1);var r=[],s=[];n.forEach((function(n){var a=i.createOrUpdateRowComp(n,t,e,o);x._.exists(a)&&(s.push(a),x._.pushAll(r,a.getAndClearNextVMTurnFunctions()))})),this.flushContainers(s),x._.executeNextVMTurn(r),!o||this.gridOptionsWrapper.isSuppressAnimationFrame()||this.printLayout?this.destroyRowComps(t,e):this.beans.taskQueue.addP2Task(this.destroyRowComps.bind(this,t,e)),this.checkAngularCompile()},e.prototype.flushContainers=function(t){x._.iterateObject(this.rowContainers,(function(t,e){e&&e.flushRowTemplates()})),t.forEach((function(t){return t.afterFlush()}))},e.prototype.onDisplayedColumnsChanged=function(){var t=this.columnController.isPinningLeft(),e=this.columnController.isPinningRight();(this.pinningLeft!==t||e!==this.pinningRight)&&(this.pinningLeft=t,this.pinningRight=e,this.embedFullWidthRows&&this.redrawFullWidthEmbeddedRows())},e.prototype.redrawFullWidthEmbeddedRows=function(){var t=[];x._.iterateObject(this.rowCompsByIndex,(function(e,o){if(o.isFullWidth()){var i=o.getRowNode().rowIndex;t.push(i.toString())}})),this.refreshFloatingRowComps(),this.removeRowComps(t),this.redrawAfterScroll()},e.prototype.refreshFullWidthRows=function(){var t=[];x._.iterateObject(this.rowCompsByIndex,(function(e,o){if(o.isFullWidth()){var i=o.getRowNode().rowIndex;t.push(i.toString())}})),this.removeRowComps(t),this.redrawAfterScroll()},e.prototype.createOrUpdateRowComp=function(t,e,o,i){var n,r=this.rowCompsByIndex[t];if(r||(n=this.paginationProxy.getRow(t),x._.exists(n)&&x._.exists(e)&&e[n.id]&&n.alreadyRendered&&(r=e[n.id],e[n.id]=null)),r)r.ensureDomOrder();else{if(n||(n=this.paginationProxy.getRow(t)),!x._.exists(n))return;r=this.createRowComp(n,o,i)}return n&&(n.alreadyRendered=!0),this.rowCompsByIndex[t]=r,r},e.prototype.destroyRowComps=function(t,e){var o=[];x._.iterateObject(t,(function(t,i){i&&(i.destroy(e),x._.pushAll(o,i.getAndClearDelayedDestroyFunctions()))})),x._.executeInAWhile(o)},e.prototype.checkAngularCompile=function(){var t=this;this.gridOptionsWrapper.isAngularCompileRows()&&window.setTimeout((function(){t.$scope.$apply()}),0)},e.prototype.workOutFirstAndLastRowsToRender=function(){var t,e;if(this.paginationProxy.isRowsToRender())if(this.printLayout)t=this.paginationProxy.getPageFirstRow(),e=this.paginationProxy.getPageLastRow();else{var o=this.paginationProxy?this.paginationProxy.getPixelOffset():0,i=this.maxDivHeightScaler.getOffset(),n=this.gridPanel.getVScrollPosition(),r=n.top,s=n.bottom,a=this.gridOptionsWrapper.getRowBufferInPixels(),l=r+o+i-a,p=s+o+i+a;this.ensureAllRowsInRangeHaveHeightsCalculated(l,p);var u=this.paginationProxy.getRowIndexAtPixel(l),c=this.paginationProxy.getRowIndexAtPixel(p),d=this.paginationProxy.getPageFirstRow(),h=this.paginationProxy.getPageLastRow();u<d&&(u=d),c>h&&(c=h),t=u,e=c}else t=0,e=-1;var y=this.gridOptionsWrapper.getDomLayout()===g.Constants.DOM_LAYOUT_NORMAL,m=this.gridOptionsWrapper.isSuppressMaxRenderedRowRestriction();y&&!m&&e-t>500&&(e=t+500);var v=t!==this.firstRenderedRow,C=e!==this.lastRenderedRow;if(v||C){this.firstRenderedRow=t,this.lastRenderedRow=e;var E={type:f.Events.EVENT_VIEWPORT_CHANGED,firstRow:t,lastRow:e,api:this.gridApi,columnApi:this.columnApi};this.eventService.dispatchEvent(E)}if(this.paginationProxy.isRowsToRender()){var w={type:f.Events.EVENT_FIRST_DATA_RENDERED,firstRow:t,lastRow:e,api:this.gridApi,columnApi:this.columnApi};this.eventService.dispatchEventOnce(w)}},e.prototype.ensureAllRowsInRangeHaveHeightsCalculated=function(t,e){this.paginationProxy.ensureRowHeightsValid(t,e,-1,-1)&&(this.sizeContainerToPageHeight(),this.maxDivHeightScaler.updateOffset())},e.prototype.getFirstVirtualRenderedRow=function(){return this.firstRenderedRow},e.prototype.getLastVirtualRenderedRow=function(){return this.lastRenderedRow},e.prototype.keepRowBecauseEditingOrFocused=function(t){var e=t.getRowNode(),o=this.focusedCellController.isRowNodeFocused(e),i=t.isEditing();return(o||i)&&!!this.paginationProxy.isRowPresent(e)||!1},e.prototype.createRowComp=function(t,e,o){var i=this.gridOptionsWrapper.isSuppressAnimationFrame(),n=o&&!i&&!this.printLayout,r=new h.RowComp(this.$scope,this.rowContainers.body,this.rowContainers.pinnedLeft,this.rowContainers.pinnedRight,this.rowContainers.fullWidth,t,this.beans,e,n,this.printLayout,this.embedFullWidthRows);return r.init(),r},e.prototype.getRenderedNodes=function(){var t=this.rowCompsByIndex;return Object.keys(t).map((function(e){return t[e].getRowNode()}))},e.prototype.navigateToNextCell=function(t,e,o,i){for(var n;;){var r=this.getComponentForCell(o).getColSpanningList();if(e===g.Constants.KEY_RIGHT&&r.length>1&&(o=new S.GridCell({rowIndex:o.rowIndex,column:r[r.length-1],floating:o.floating})),n=this.cellNavigationService.getNextCellToFocus(e,o),x._.missing(n))break;if(!this.gridOptionsWrapper.isGroupUseEntireRow())break;if(!this.paginationProxy.getRow(n.rowIndex).group)break}if(n&&(n=this.getComponentForCell(n).getGridCell()),i){var s=this.gridOptionsWrapper.getNavigateToNextCellFunc();if(x._.exists(s)){var a=s({key:e,previousCellDef:o.getGridCellDef(),nextCellDef:n?n.getGridCellDef():null,event:t});n=x._.exists(a)?new S.GridCell(a):null}}if(n&&(this.ensureCellVisible(n),this.focusedCellController.setFocusedCell(n.rowIndex,n.column,n.floating,!0),this.rangeController)){var l=new S.GridCell({rowIndex:n.rowIndex,floating:n.floating,column:n.column});this.rangeController.setRangeToCell(l)}},e.prototype.ensureCellVisible=function(t){x._.missing(t.floating)&&this.gridPanel.ensureIndexVisible(t.rowIndex),t.column.isPinned()||this.gridPanel.ensureColumnVisible(t.column),this.gridPanel.horizontallyScrollHeaderCenterAndFloatingCenter(),this.animationFrameService.flushAllFrames()},e.prototype.startEditingCell=function(t,e,o){var i=this.getComponentForCell(t);i&&i.startRowOrCellEdit(e,o)},e.prototype.getComponentForCell=function(t){var e;switch(t.floating){case g.Constants.PINNED_TOP:e=this.floatingTopRowComps[t.rowIndex];break;case g.Constants.PINNED_BOTTOM:e=this.floatingBottomRowComps[t.rowIndex];break;default:e=this.rowCompsByIndex[t.rowIndex]}return e?e.getRenderedCellForColumn(t.column):null},e.prototype.onTabKeyDown=function(t,e){var o=e.shiftKey;this.moveToCellAfter(t,o)&&e.preventDefault()},e.prototype.tabToNextCell=function(t){var e=this.focusedCellController.getFocusedCell();if(x._.missing(e))return!1;var o=this.getComponentForCell(e);return!x._.missing(o)&&this.moveToCellAfter(o,t)},e.prototype.moveToCellAfter=function(t,e){return t.isEditing()?this.gridOptionsWrapper.isFullRowEdit()?this.moveToNextEditingRow(t,e):this.moveToNextEditingCell(t,e):this.moveToNextCellNotEditing(t,e)},e.prototype.moveToNextEditingCell=function(t,e){var o=t.getGridCell();t.stopEditing();var i=this.findNextCellToFocusOn(o,e,!0),n=x._.exists(i);return n&&(i.startEditingIfEnabled(null,null,!0),i.focusCell(!1)),n},e.prototype.moveToNextEditingRow=function(t,e){var o=t.getGridCell(),i=this.findNextCellToFocusOn(o,e,!0),n=x._.exists(i);return n&&this.moveEditToNextCellOrRow(t,i),n},e.prototype.moveToNextCellNotEditing=function(t,e){var o=t.getGridCell(),i=this.findNextCellToFocusOn(o,e,!1),n=x._.exists(i);return n&&i.focusCell(!0),n},e.prototype.moveEditToNextCellOrRow=function(t,e){var o=t.getGridCell(),i=e.getGridCell();if(o.rowIndex===i.rowIndex&&o.floating===i.floating)t.setFocusOutOnEditor(),e.setFocusInOnEditor();else{var n=t.getRenderedRow(),r=e.getRenderedRow();t.setFocusOutOnEditor(),n.stopEditing(),r.startRowEditing(),e.setFocusInOnEditor()}e.focusCell()},e.prototype.findNextCellToFocusOn=function(t,e,o){for(var i=t;;){i=this.cellNavigationService.getNextTabbedCell(i,e);var n=this.gridOptionsWrapper.getTabToNextCellFunc();if(x._.exists(n)){var r=n({backwards:e,editing:o,previousCellDef:t.getGridCellDef(),nextCellDef:i?i.getGridCellDef():null});i=x._.exists(r)?new S.GridCell(r):null}if(!i)return null;if(o){var s=this.lookupRowNodeForCell(i);if(!i.column.isCellEditable(s))continue}x._.missing(i.floating)&&this.gridPanel.ensureIndexVisible(i.rowIndex),i.column.isPinned()||this.gridPanel.ensureColumnVisible(i.column),this.gridPanel.horizontallyScrollHeaderCenterAndFloatingCenter(),this.animationFrameService.flushAllFrames();var a=this.getComponentForCell(i);if(!x._.missing(a)&&!a.isSuppressNavigable())return this.rangeController&&(t=new S.GridCell({rowIndex:i.rowIndex,floating:i.floating,column:i.column}),this.rangeController.setRangeToCell(t)),a}},e.prototype.lookupRowNodeForCell=function(t){return t.floating===g.Constants.PINNED_TOP?this.pinnedRowModel.getPinnedTopRow(t.rowIndex):t.floating===g.Constants.PINNED_BOTTOM?this.pinnedRowModel.getPinnedBottomRow(t.rowIndex):this.paginationProxy.getRow(t.rowIndex)},r([m.Autowired("paginationProxy"),s("design:type",R.PaginationProxy)],e.prototype,"paginationProxy",void 0),r([m.Autowired("columnController"),s("design:type",C.ColumnController)],e.prototype,"columnController",void 0),r([m.Autowired("gridOptionsWrapper"),s("design:type",l.GridOptionsWrapper)],e.prototype,"gridOptionsWrapper",void 0),r([m.Autowired("$scope"),s("design:type",Object)],e.prototype,"$scope",void 0),r([m.Autowired("expressionService"),s("design:type",p.ExpressionService)],e.prototype,"expressionService",void 0),r([m.Autowired("templateService"),s("design:type",u.TemplateService)],e.prototype,"templateService",void 0),r([m.Autowired("valueService"),s("design:type",c.ValueService)],e.prototype,"valueService",void 0),r([m.Autowired("eventService"),s("design:type",d.EventService)],e.prototype,"eventService",void 0),r([m.Autowired("pinnedRowModel"),s("design:type",T.PinnedRowModel)],e.prototype,"pinnedRowModel",void 0),r([m.Autowired("loggerFactory"),s("design:type",E.LoggerFactory)],e.prototype,"loggerFactory",void 0),r([m.Autowired("focusedCellController"),s("design:type",w.FocusedCellController)],e.prototype,"focusedCellController",void 0),r([m.Autowired("cellNavigationService"),s("design:type",_.CellNavigationService)],e.prototype,"cellNavigationService",void 0),r([m.Autowired("columnApi"),s("design:type",v.ColumnApi)],e.prototype,"columnApi",void 0),r([m.Autowired("gridApi"),s("design:type",O.GridApi)],e.prototype,"gridApi",void 0),r([m.Autowired("beans"),s("design:type",A.Beans)],e.prototype,"beans",void 0),r([m.Autowired("maxDivHeightScaler"),s("design:type",D.MaxDivHeightScaler)],e.prototype,"maxDivHeightScaler",void 0),r([m.Autowired("animationFrameService"),s("design:type",P.AnimationFrameService)],e.prototype,"animationFrameService",void 0),r([m.Optional("rangeController"),s("design:type",Object)],e.prototype,"rangeController",void 0),r([a(0,m.Qualifier("loggerFactory")),s("design:type",Function),s("design:paramtypes",[E.LoggerFactory]),s("design:returntype",void 0)],e.prototype,"agWire",null),r([m.Bean("rowRenderer")],e)}(b.BeanStub);e.RowRenderer=N},10190:function(t,e,o){var i=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},n=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},r=this&&this.__param||function(t,e){return function(o,i){e(o,i,t)}};Object.defineProperty(e,"__esModule",{value:!0});var s=o(44081),a=o(98239),l=o(60843),p=o(37132),u=o(63405),c=o(72493),d=o(72493),h=o(72493),f=o(72493),g=function(){function t(){this.consuming=!1}return t.prototype.setBeans=function(t){this.logger=t.create("AlignedGridsService")},t.prototype.registerGridComp=function(t){this.gridPanel=t},t.prototype.init=function(){this.eventService.addEventListener(u.Events.EVENT_COLUMN_MOVED,this.fireColumnEvent.bind(this)),this.eventService.addEventListener(u.Events.EVENT_COLUMN_VISIBLE,this.fireColumnEvent.bind(this)),this.eventService.addEventListener(u.Events.EVENT_COLUMN_PINNED,this.fireColumnEvent.bind(this)),this.eventService.addEventListener(u.Events.EVENT_COLUMN_GROUP_OPENED,this.fireColumnEvent.bind(this)),this.eventService.addEventListener(u.Events.EVENT_COLUMN_RESIZED,this.fireColumnEvent.bind(this)),this.eventService.addEventListener(u.Events.EVENT_BODY_SCROLL,this.fireScrollEvent.bind(this))},t.prototype.fireEvent=function(t){if(!this.consuming){var e=this.gridOptionsWrapper.getAlignedGrids();e&&e.forEach((function(e){if(e.api){var o=e.api.__getAlignedGridService();t(o)}}))}},t.prototype.onEvent=function(t){this.consuming=!0,t(),this.consuming=!1},t.prototype.fireColumnEvent=function(t){this.fireEvent((function(e){e.onColumnEvent(t)}))},t.prototype.fireScrollEvent=function(t){"horizontal"===t.direction&&this.fireEvent((function(e){e.onScrollEvent(t)}))},t.prototype.onScrollEvent=function(t){var e=this;this.onEvent((function(){e.gridPanel.setHorizontalScrollPosition(t.left)}))},t.prototype.getMasterColumns=function(t){var e=[];return t.columns?t.columns.forEach((function(t){e.push(t)})):t.column&&e.push(t.column),e},t.prototype.getColumnIds=function(t){var e=[];return t.columns?t.columns.forEach((function(t){e.push(t.getColId())})):t.column&&e.push(t.column.getColId()),e},t.prototype.onColumnEvent=function(t){var e=this;this.onEvent((function(){switch(t.type){case u.Events.EVENT_COLUMN_MOVED:case u.Events.EVENT_COLUMN_VISIBLE:case u.Events.EVENT_COLUMN_PINNED:case u.Events.EVENT_COLUMN_RESIZED:var o=t;e.processColumnEvent(o);break;case u.Events.EVENT_COLUMN_GROUP_OPENED:var i=t;e.processGroupOpenedEvent(i);break;case u.Events.EVENT_COLUMN_PIVOT_CHANGED:console.warn("ag-Grid: pivoting is not supported with aligned grids. You can only use one of these features at a time in a grid.")}}))},t.prototype.processGroupOpenedEvent=function(t){var e,o=t.columnGroup;if(o){var i=o.getGroupId();e=this.columnController.getOriginalColumnGroup(i)}o&&!e||(this.logger.log("onColumnEvent-> processing "+t+" expanded = "+o.isExpanded()),this.columnController.setColumnGroupOpened(e,o.isExpanded(),"alignedGridChanged"))},t.prototype.processColumnEvent=function(t){var e,o=this,i=t.column;if(i&&(e=this.columnController.getPrimaryColumn(i.getColId())),!i||e){var n=this.getColumnIds(t),r=this.getMasterColumns(t);switch(t.type){case u.Events.EVENT_COLUMN_MOVED:var s=t;this.logger.log("onColumnEvent-> processing "+t.type+" toIndex = "+s.toIndex),this.columnController.moveColumns(n,s.toIndex,"alignedGridChanged");break;case u.Events.EVENT_COLUMN_VISIBLE:var a=t;this.logger.log("onColumnEvent-> processing "+t.type+" visible = "+a.visible),this.columnController.setColumnsVisible(n,a.visible,"alignedGridChanged");break;case u.Events.EVENT_COLUMN_PINNED:var l=t;this.logger.log("onColumnEvent-> processing "+t.type+" pinned = "+l.pinned),this.columnController.setColumnsPinned(n,l.pinned,"alignedGridChanged");break;case u.Events.EVENT_COLUMN_RESIZED:var p=t;r.forEach((function(e){o.logger.log("onColumnEvent-> processing "+t.type+" actualWidth = "+e.getActualWidth()),o.columnController.setColumnWidth(e.getColId(),e.getActualWidth(),!1,p.finished,"alignedGridChanged")}))}var c=this.gridPanel.isVerticalScrollShowing();this.gridOptionsWrapper.getAlignedGrids().forEach((function(t){t.api.setAlwaysShowVerticalScroll(c)}))}},i([h.Autowired("gridOptionsWrapper"),n("design:type",s.GridOptionsWrapper)],t.prototype,"gridOptionsWrapper",void 0),i([h.Autowired("columnController"),n("design:type",a.ColumnController)],t.prototype,"columnController",void 0),i([h.Autowired("eventService"),n("design:type",l.EventService)],t.prototype,"eventService",void 0),i([r(0,d.Qualifier("loggerFactory")),n("design:type",Function),n("design:paramtypes",[p.LoggerFactory]),n("design:returntype",void 0)],t.prototype,"setBeans",null),i([f.PostConstruct,n("design:type",Function),n("design:paramtypes",[]),n("design:returntype",void 0)],t.prototype,"init",null),i([c.Bean("alignedGridsService")],t)}();e.AlignedGridsService=g},10559:(t,e,o)=>{var i=o(40846).m,n=o(66346).Hash;function r(t){this.cachedHashCode=t}function s(){return this.cache={},this}function a(t,e){var o=0;if(null!==t){var i=new n;i.update(t,e),o=i.finish()}r.call(this,o),this.parentCtx=t,this.returnState=e}function l(){return a.call(this,null,r.EMPTY_RETURN_STATE),this}function p(t,e){var o=new n;o.update(t,e);var i=o.finish();return r.call(this,i),this.parents=t,this.returnStates=e,this}r.EMPTY=null,r.EMPTY_RETURN_STATE=2147483647,r.globalNodeCount=1,r.id=r.globalNodeCount,r.prototype.isEmpty=function(){return this===r.EMPTY},r.prototype.hasEmptyPath=function(){return this.getReturnState(this.length-1)===r.EMPTY_RETURN_STATE},r.prototype.hashCode=function(){return this.cachedHashCode},r.prototype.updateHashCode=function(t){t.update(this.cachedHashCode)},s.prototype.add=function(t){if(t===r.EMPTY)return r.EMPTY;var e=this.cache[t]||null;return null!==e?e:(this.cache[t]=t,t)},s.prototype.get=function(t){return this.cache[t]||null},Object.defineProperty(s.prototype,"length",{get:function(){return this.cache.length}}),a.prototype=Object.create(r.prototype),a.prototype.contructor=a,a.create=function(t,e){return e===r.EMPTY_RETURN_STATE&&null===t?r.EMPTY:new a(t,e)},Object.defineProperty(a.prototype,"length",{get:function(){return 1}}),a.prototype.getParent=function(t){return this.parentCtx},a.prototype.getReturnState=function(t){return this.returnState},a.prototype.equals=function(t){return this===t||t instanceof a&&this.hashCode()===t.hashCode()&&this.returnState===t.returnState&&(null==this.parentCtx?null==t.parentCtx:this.parentCtx.equals(t.parentCtx))},a.prototype.toString=function(){var t=null===this.parentCtx?"":this.parentCtx.toString();return 0===t.length?this.returnState===r.EMPTY_RETURN_STATE?"$":""+this.returnState:this.returnState+" "+t},l.prototype=Object.create(a.prototype),l.prototype.constructor=l,l.prototype.isEmpty=function(){return!0},l.prototype.getParent=function(t){return null},l.prototype.getReturnState=function(t){return this.returnState},l.prototype.equals=function(t){return this===t},l.prototype.toString=function(){return"$"},r.EMPTY=new l,p.prototype=Object.create(r.prototype),p.prototype.constructor=p,p.prototype.isEmpty=function(){return this.returnStates[0]===r.EMPTY_RETURN_STATE},Object.defineProperty(p.prototype,"length",{get:function(){return this.returnStates.length}}),p.prototype.getParent=function(t){return this.parents[t]},p.prototype.getReturnState=function(t){return this.returnStates[t]},p.prototype.equals=function(t){return this===t||t instanceof p&&this.hashCode()===t.hashCode()&&this.returnStates===t.returnStates&&this.parents===t.parents},p.prototype.toString=function(){if(this.isEmpty())return"[]";for(var t="[",e=0;e<this.returnStates.length;e++)e>0&&(t+=", "),this.returnStates[e]!==r.EMPTY_RETURN_STATE?(t+=this.returnStates[e],null!==this.parents[e]?t=t+" "+this.parents[e]:t+="null"):t+="$";return t+"]"},e.merge=function t(e,o,i,n){if(e===o)return e;if(e instanceof a&&o instanceof a)return function(e,o,i,n){if(null!==n){var s=n.get(e,o);if(null!==s)return s;if(null!==(s=n.get(o,e)))return s}var l=function(t,e,o){if(o){if(t===r.EMPTY)return r.EMPTY;if(e===r.EMPTY)return r.EMPTY}else{if(t===r.EMPTY&&e===r.EMPTY)return r.EMPTY;if(t===r.EMPTY){var i=[e.returnState,r.EMPTY_RETURN_STATE];return new p([e.parentCtx,null],i)}if(e===r.EMPTY)return i=[t.returnState,r.EMPTY_RETURN_STATE],new p([t.parentCtx,null],i)}return null}(e,o,i);if(null!==l)return null!==n&&n.set(e,o,l),l;if(e.returnState===o.returnState){var u=t(e.parentCtx,o.parentCtx,i,n);if(u===e.parentCtx)return e;if(u===o.parentCtx)return o;var c=a.create(u,e.returnState);return null!==n&&n.set(e,o,c),c}var d=null;if((e===o||null!==e.parentCtx&&e.parentCtx===o.parentCtx)&&(d=e.parentCtx),null!==d){var h=[e.returnState,o.returnState];e.returnState>o.returnState&&(h[0]=o.returnState,h[1]=e.returnState);var f=new p(g=[d,d],h);return null!==n&&n.set(e,o,f),f}h=[e.returnState,o.returnState];var g=[e.parentCtx,o.parentCtx];e.returnState>o.returnState&&(h[0]=o.returnState,h[1]=e.returnState,g=[o.parentCtx,e.parentCtx]);var y=new p(g,h);return null!==n&&n.set(e,o,y),y}(e,o,i,n);if(i){if(e instanceof l)return e;if(o instanceof l)return o}return e instanceof a&&(e=new p([e.getParent()],[e.returnState])),o instanceof a&&(o=new p([o.getParent()],[o.returnState])),function(e,o,i,n){if(null!==n){var s=n.get(e,o);if(null!==s)return s;if(null!==(s=n.get(o,e)))return s}for(var l=0,u=0,c=0,d=[],h=[];l<e.returnStates.length&&u<o.returnStates.length;){var f=e.parents[l],g=o.parents[u];if(e.returnStates[l]===o.returnStates[u]){var y=e.returnStates[l];if(y===r.EMPTY_RETURN_STATE&&null===f&&null===g||null!==f&&null!==g&&f===g)h[c]=f,d[c]=y;else{var m=t(f,g,i,n);h[c]=m,d[c]=y}l+=1,u+=1}else e.returnStates[l]<o.returnStates[u]?(h[c]=f,d[c]=e.returnStates[l],l+=1):(h[c]=g,d[c]=o.returnStates[u],u+=1);c+=1}if(l<e.returnStates.length)for(var v=l;v<e.returnStates.length;v++)h[c]=e.parents[v],d[c]=e.returnStates[v],c+=1;else for(v=u;v<o.returnStates.length;v++)h[c]=o.parents[v],d[c]=o.returnStates[v],c+=1;if(c<h.length){if(1===c){var C=a.create(h[0],d[0]);return null!==n&&n.set(e,o,C),C}h=h.slice(0,c),d=d.slice(0,c)}var E=new p(h,d);return E===e?(null!==n&&n.set(e,o,e),e):E===o?(null!==n&&n.set(e,o,o),o):(function(t){for(var e={},o=0;o<t.length;o++){var i=t[o];i in e||(e[i]=i)}for(var n=0;n<t.length;n++)t[n]=e[t[n]]}(h),null!==n&&n.set(e,o,E),E)}(e,o,i,n)},e.PredictionContext=r,e.PredictionContextCache=s,e.SingletonPredictionContext=a,e.predictionContextFromRuleContext=function t(e,o){if(null==o&&(o=i.EMPTY),null===o.parentCtx||o===i.EMPTY)return r.EMPTY;var n=t(e,o.parentCtx),s=e.states[o.invokingState].transitions[0];return a.create(n,s.followState.stateNumber)},e.getCachedPredictionContext=function t(e,o,i){if(e.isEmpty())return e;var n=i[e]||null;if(null!==n)return n;if(null!==(n=o.get(e)))return i[e]=n,n;for(var s=!1,l=[],u=0;u<l.length;u++){var c=t(e.getParent(u),o,i);if(s||c!==e.getParent(u)){if(!s){l=[];for(var d=0;d<e.length;d++)l[d]=e.getParent(d);s=!0}l[u]=c}}if(!s)return o.add(e),i[e]=e,e;var h;return h=0===l.length?r.EMPTY:1===l.length?a.create(l[0],e.getReturnState(0)):new p(l,e.returnStates),o.add(h),i[h]=h,i[e]=h,h}},10848:(t,e,o)=>{var i=o(76966);t.exports=function(t){var e,o=this,n=[].slice.call(arguments);e=t&&t.hasOwnProperty("constructor")?t.constructor:function(){return o.apply(this,arguments)},i(e,o);var r=function(){this.constructor=e};return r.prototype=o.prototype,e.prototype=new r,t&&(n.unshift(e.prototype),i.apply(null,n)),e.__super__=o.prototype,e}},12240:(t,e,o)=>{o.d(e,{Ch:()=>J,Di:()=>S,Kq:()=>j,M3:()=>A,Tt:()=>m,b8:()=>pt,bD:()=>l,eM:()=>q,hL:()=>d,iM:()=>rt,u1:()=>v,u6:()=>G,xn:()=>F});var i,n="vercel.ai.error",r=Symbol.for(n),s=class t extends Error{constructor({name:t,message:e,cause:o}){super(e),this[i]=!0,this.name=t,this.cause=o}static isInstance(e){return t.hasMarker(e,n)}static hasMarker(t,e){const o=Symbol.for(e);return null!=t&&"object"==typeof t&&o in t&&"boolean"==typeof t[o]&&!0===t[o]}};i=r;var a,l=s,p="AI_APICallError",u=`vercel.ai.error.${p}`,c=Symbol.for(u),d=class extends l{constructor({message:t,url:e,requestBodyValues:o,statusCode:i,responseHeaders:n,responseBody:r,cause:s,isRetryable:l=null!=i&&(408===i||409===i||429===i||i>=500),data:u}){super({name:p,message:t,cause:s}),this[a]=!0,this.url=e,this.requestBodyValues=o,this.statusCode=i,this.responseHeaders=n,this.responseBody=r,this.isRetryable=l,this.data=u}static isInstance(t){return l.hasMarker(t,u)}};a=c;var h,f="AI_EmptyResponseBodyError",g=`vercel.ai.error.${f}`,y=Symbol.for(g),m=class extends l{constructor({message:t="Empty response body"}={}){super({name:f,message:t}),this[h]=!0}static isInstance(t){return l.hasMarker(t,g)}};function v(t){return null==t?"unknown error":"string"==typeof t?t:t instanceof Error?t.message:JSON.stringify(t)}h=y;var C,E="AI_InvalidArgumentError",w=`vercel.ai.error.${E}`,_=Symbol.for(w),S=class extends l{constructor({message:t,cause:e,argument:o}){super({name:E,message:t,cause:e}),this[C]=!0,this.argument=o}static isInstance(t){return l.hasMarker(t,w)}};C=_;var b,R="AI_InvalidPromptError",O=`vercel.ai.error.${R}`,T=Symbol.for(O),A=class extends l{constructor({prompt:t,message:e,cause:o}){super({name:R,message:`Invalid prompt: ${e}`,cause:o}),this[b]=!0,this.prompt=t}static isInstance(t){return l.hasMarker(t,O)}};b=T;var P,D="AI_InvalidResponseDataError",x=`vercel.ai.error.${D}`,N=Symbol.for(x),F=class extends l{constructor({data:t,message:e=`Invalid response data: ${JSON.stringify(t)}.`}){super({name:D,message:e}),this[P]=!0,this.data=t}static isInstance(t){return l.hasMarker(t,x)}};P=N;var I,L="AI_JSONParseError",M=`vercel.ai.error.${L}`,k=Symbol.for(M),G=class extends l{constructor({text:t,cause:e}){super({name:L,message:`JSON parsing failed: Text: ${t}.\nError message: ${v(e)}`,cause:e}),this[I]=!0,this.text=t}static isInstance(t){return l.hasMarker(t,M)}};I=k;var V,W="AI_LoadAPIKeyError",H=`vercel.ai.error.${W}`,B=Symbol.for(H),j=class extends l{constructor({message:t}){super({name:W,message:t}),this[V]=!0}static isInstance(t){return l.hasMarker(t,H)}};V=B;Symbol.for("vercel.ai.error.AI_LoadSettingError"),Symbol.for("vercel.ai.error.AI_NoContentGeneratedError");var U,z="AI_NoSuchModelError",Y=`vercel.ai.error.${z}`,K=Symbol.for(Y),q=class extends l{constructor({errorName:t=z,modelId:e,modelType:o,message:i=`No such ${o}: ${e}`}){super({name:t,message:i}),this[U]=!0,this.modelId=e,this.modelType=o}static isInstance(t){return l.hasMarker(t,Y)}};U=K;var $,Q="AI_TooManyEmbeddingValuesForCallError",X=`vercel.ai.error.${Q}`,Z=Symbol.for(X),J=class extends l{constructor(t){super({name:Q,message:`Too many values for a single embedding call. The ${t.provider} model "${t.modelId}" can only embed up to ${t.maxEmbeddingsPerCall} values per call, but ${t.values.length} values were provided.`}),this[$]=!0,this.provider=t.provider,this.modelId=t.modelId,this.maxEmbeddingsPerCall=t.maxEmbeddingsPerCall,this.values=t.values}static isInstance(t){return l.hasMarker(t,X)}};$=Z;var tt,et="AI_TypeValidationError",ot=`vercel.ai.error.${et}`,it=Symbol.for(ot);tt=it;var nt,rt=class t extends l{constructor({value:t,cause:e}){super({name:et,message:`Type validation failed: Value: ${JSON.stringify(t)}.\nError message: ${v(e)}`,cause:e}),this[tt]=!0,this.value=t}static isInstance(t){return l.hasMarker(t,ot)}static wrap({value:e,cause:o}){return t.isInstance(o)&&o.value===e?o:new t({value:e,cause:o})}},st="AI_UnsupportedFunctionalityError",at=`vercel.ai.error.${st}`,lt=Symbol.for(at),pt=class extends l{constructor({functionality:t,message:e=`'${t}' functionality not supported.`}){super({name:st,message:e}),this[nt]=!0,this.functionality=t}static isInstance(t){return l.hasMarker(t,at)}};nt=lt},12598:(t,e)=>{Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(){this.existingIds={}}return t.prototype.getInstanceIdForKey=function(t){var e,o=this.existingIds[t];return e="number"!=typeof o?0:o+1,this.existingIds[t]=e,e},t}();e.GroupInstanceIdCreator=o},13650:function(t,e,o){var i,n=this&&this.__extends||(i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},i(t,e)},function(t,e){function o(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),r=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},s=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var a,l=o(22131),p=o(47721),u=o(72493),c=o(44081),d=o(83423);!function(t){t[t.MAIN=0]="MAIN",t[t.CONDITION=1]="CONDITION"}(a=e.FilterConditionType||(e.FilterConditionType={}));var h={loadingOoo:"Loading...",empty:"Choose One",equals:"Equals",notEqual:"Not equal",lessThan:"Less than",greaterThan:"Greater than",inRange:"In range",lessThanOrEqual:"Less than or equals",greaterThanOrEqual:"Greater than or equals",filterOoo:"Filter...",contains:"Contains",notContains:"Not contains",startsWith:"Starts with",endsWith:"Ends with",searchOoo:"Search...",selectAll:"Select All",applyFilter:"Apply Filter",clearFilter:"Clear Filter",andCondition:"AND",orCondition:"OR"},f=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.customFilterOptions={},e}return n(e,t),e.prototype.init=function(t){var e=this;if(this.filterParams=t,this.defaultFilter=this.filterParams.defaultOption,t.filterOptions&&t.filterOptions.forEach((function(t){"string"!=typeof t&&(t.displayKey?t.displayName?t.test?e.customFilterOptions[t.displayKey]=t:console.warn("ag-Grid: ignoring FilterOptionDef as it doesn't contain a 'test'"):console.warn("ag-Grid: ignoring FilterOptionDef as it doesn't contain a 'displayName'"):console.warn("ag-Grid: ignoring FilterOptionDef as it doesn't contain a 'displayKey'"))})),this.filterParams.filterOptions&&!this.defaultFilter){var o=this.filterParams.filterOptions[0];"string"==typeof o?this.defaultFilter=o:o.displayKey?this.defaultFilter=o.displayKey:console.warn("ag-Grid: invalid FilterOptionDef supplied as it doesn't contain a 'displayKey'")}this.customInit(),this.selectedFilter=this.defaultFilter,this.selectedFilterCondition=this.defaultFilter,this.clearActive=!0===t.clearButton,this.applyActive=!0===t.applyButton||!0===t.apply,this.newRowsActionKeep="keep"===t.newRowsAction,this.setTemplate(this.generateTemplate()),d._.setVisible(this.eApplyButton,this.applyActive),this.applyActive&&this.addDestroyableEventListener(this.eApplyButton,"click",this.filterParams.filterChangedCallback),d._.setVisible(this.eClearButton,this.clearActive),this.clearActive&&this.addDestroyableEventListener(this.eClearButton,"click",this.onClearButton.bind(this));var i=this.applyActive||this.clearActive;d._.setVisible(this.eButtonsPanel,i),this.initialiseFilterBodyUi(a.MAIN),this.refreshFilterBodyUi(a.MAIN)},e.prototype.onClearButton=function(){this.setModel(null),this.onFilterChanged()},e.prototype.floatingFilter=function(t){if(""!==t){var e=this.modelFromFloatingFilter(t);this.setModel(e)}else this.resetState();this.onFilterChanged()},e.prototype.onNewRowsLoaded=function(){this.newRowsActionKeep||this.resetState()},e.prototype.getModel=function(){return this.isFilterActive()?this.isFilterConditionActive(a.CONDITION)?{condition1:this.serialize(a.MAIN),condition2:this.serialize(a.CONDITION),operator:this.conditionValue}:this.serialize(a.MAIN):null},e.prototype.getNullableModel=function(){return this.isFilterConditionActive(a.CONDITION)?{condition1:this.serialize(a.MAIN),condition2:this.serialize(a.CONDITION),operator:this.conditionValue}:this.serialize(a.MAIN)},e.prototype.setModel=function(t){if(t)if(t.operator){var e=t;this.parse(e.condition1,a.MAIN),this.parse(e.condition2,a.CONDITION),this.conditionValue=e.operator}else this.resetState(),this.parse(t,a.MAIN);else this.resetState();this.redrawCondition(),this.refreshFilterBodyUi(a.MAIN),this.refreshFilterBodyUi(a.CONDITION)},e.prototype.doOnFilterChanged=function(t){void 0===t&&(t=!1),this.filterParams.filterModifiedCallback();var e=this.applyActive&&t,o=!this.applyActive||e;return o&&this.filterParams.filterChangedCallback(),this.refreshFilterBodyUi(a.MAIN),this.refreshFilterBodyUi(a.CONDITION),o},e.prototype.onFilterChanged=function(t){void 0===t&&(t=!1),this.doOnFilterChanged(t),this.redrawCondition(),this.refreshFilterBodyUi(a.MAIN),this.refreshFilterBodyUi(a.CONDITION)},e.prototype.redrawCondition=function(){var t=this,e=this.eFilterBodyWrapper.querySelector(".ag-filter-condition");if(!e&&this.isFilterActive()&&this.acceptsBooleanLogic()){this.eConditionWrapper=d._.loadTemplate(this.createConditionTemplate(a.CONDITION)),this.eFilterBodyWrapper.appendChild(this.eConditionWrapper),this.wireQuerySelectors();var o=this.refreshOperatorUi(),i=o.andButton,n=o.orButton;this.addDestroyableEventListener(i,"change",(function(){t.conditionValue="AND",t.onFilterChanged()})),this.addDestroyableEventListener(n,"change",(function(){t.conditionValue="OR",t.onFilterChanged()})),this.initialiseFilterBodyUi(a.CONDITION)}else e&&!this.isFilterActive()?(this.conditionValue="AND",this.resetState(!0),this.eFilterBodyWrapper.removeChild(this.eConditionWrapper),this.eConditionWrapper=null):(this.refreshFilterBodyUi(a.CONDITION),this.eConditionWrapper&&this.refreshOperatorUi())},e.prototype.refreshOperatorUi=function(){var t=this.eConditionWrapper.querySelector(".and"),e=this.eConditionWrapper.querySelector(".or");return this.conditionValue=null==this.conditionValue?"AND":this.conditionValue,t.checked="AND"===this.conditionValue,e.checked="OR"===this.conditionValue,{andButton:t,orButton:e}},e.prototype.onFloatingFilterChanged=function(t){var e=t;if(null==e)this.setModel(null);else if(this.isFilterConditionActive(a.CONDITION)){var o={condition1:e.model,condition2:this.serialize(a.CONDITION),operator:this.conditionValue};this.setModel(o)}else this.setModel(e?e.model:null);return this.doOnFilterChanged(!!e&&e.apply)},e.prototype.generateFilterHeader=function(t){return""},e.prototype.generateTemplate=function(){var t=this.translate.bind(this),e=this.createConditionBody(a.MAIN);return"<div>\n <div class='ag-filter-body-wrapper'>"+(this.acceptsBooleanLogic()?this.wrapCondition(e):e)+'</div>\n <div class="ag-filter-apply-panel" id="applyPanel">\n <button type="button" id="clearButton">'+t("clearFilter")+'</button>\n <button type="button" id="applyButton">'+t("applyFilter")+"</button>\n </div>\n </div>"},e.prototype.acceptsBooleanLogic=function(){return!1},e.prototype.wrapCondition=function(t){return this.isFilterActive()?""+t+this.createConditionTemplate(a.CONDITION):t},e.prototype.createConditionTemplate=function(t){return'<div class="ag-filter-condition">\n <input id="andId" type="radio" class="and" name="booleanLogic" value='+this.translate("AND")+'\n checked="checked" /><label style="display: inline" for="andId">'+this.translate("andCondition")+'</label>\n <input id="orId" type="radio" class="or" name="booleanLogic" value="OR" /><label style="display: inline"\n for="orId">'+this.translate("orCondition")+"</label>\n <div>"+this.createConditionBody(t)+"</div>\n </div>"},e.prototype.createConditionBody=function(t){var e=this.bodyTemplate(t);return this.generateFilterHeader(t)+e},e.prototype.translate=function(t){var e=this.gridOptionsWrapper.getLocaleTextFunc(),o=h[t];return!o&&this.customFilterOptions[t]&&(o=this.customFilterOptions[t].displayName),e(t,o)},e.prototype.getDebounceMs=function(t){return this.applyActive?(null!=t.debounceMs&&console.warn("ag-Grid: debounceMs is ignored when applyButton = true"),0):null!=t.debounceMs?t.debounceMs:500},e.prototype.doesFilterHaveHiddenInput=function(t){var e=this.customFilterOptions[t];return e&&e.hideFilterInput},e.EMPTY="empty",e.EQUALS="equals",e.NOT_EQUAL="notEqual",e.LESS_THAN="lessThan",e.LESS_THAN_OR_EQUAL="lessThanOrEqual",e.GREATER_THAN="greaterThan",e.GREATER_THAN_OR_EQUAL="greaterThanOrEqual",e.IN_RANGE="inRange",e.CONTAINS="contains",e.NOT_CONTAINS="notContains",e.STARTS_WITH="startsWith",e.ENDS_WITH="endsWith",r([p.QuerySelector("#applyPanel"),s("design:type",HTMLElement)],e.prototype,"eButtonsPanel",void 0),r([p.QuerySelector(".ag-filter-body-wrapper"),s("design:type",HTMLElement)],e.prototype,"eFilterBodyWrapper",void 0),r([p.QuerySelector("#applyButton"),s("design:type",HTMLElement)],e.prototype,"eApplyButton",void 0),r([p.QuerySelector("#clearButton"),s("design:type",HTMLElement)],e.prototype,"eClearButton",void 0),r([u.Autowired("gridOptionsWrapper"),s("design:type",c.GridOptionsWrapper)],e.prototype,"gridOptionsWrapper",void 0),e}(l.Component);e.BaseFilter=f;var g=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.doesFilterPass=function(t){var e=this.individualFilterPasses(t,a.MAIN);if(null==this.eTypeConditionSelector)return e;var o=this.individualFilterPasses(t,a.CONDITION);return"AND"===this.conditionValue?e&&o:e||o},e.prototype.init=function(e){t.prototype.init.call(this,e),this.suppressAndOrCondition=e.suppressAndOrCondition},e.prototype.customInit=function(){this.defaultFilter||(this.defaultFilter=this.getDefaultType())},e.prototype.acceptsBooleanLogic=function(){return!0!==this.suppressAndOrCondition},e.prototype.generateFilterHeader=function(t){var e=this,o=this.getApplicableFilterTypes(),i=(this.filterParams.filterOptions||o).map((function(t){var o="string"==typeof t?t:t.displayKey;return'<option value="'+o+'">'+e.translate(o)+"</option>"})),n=1==i.length?"disabled":"",r=t==a.MAIN?"filterType":"filterConditionType";return i.length<=0?"":'<div>\n <select class="ag-filter-select" id="'+r+'" '+n+">\n "+i.join("")+"\n </select>\n </div>"},e.prototype.initialiseFilterBodyUi=function(t){var e=this;t===a.MAIN?(this.setFilterType(this.selectedFilter,t),this.addDestroyableEventListener(this.eTypeSelector,"change",(function(){return e.onFilterTypeChanged(t)}))):(this.setFilterType(this.selectedFilterCondition,t),this.addDestroyableEventListener(this.eTypeConditionSelector,"change",(function(){return e.onFilterTypeChanged(t)})))},e.prototype.onFilterTypeChanged=function(t){var e=this.selectedFilter;t===a.MAIN?this.selectedFilter=this.eTypeSelector.value:this.selectedFilterCondition=this.eTypeConditionSelector.value,this.refreshFilterBodyUi(t);var o=this.doesFilterHaveHiddenInput(e);(this.isFilterActive()||o)&&(this.selectedFilter===f.EMPTY&&this.resetState(),this.onFilterChanged())},e.prototype.isFilterActive=function(){if(this.doesFilterHaveHiddenInput(this.selectedFilter))return!0;var t=this.filterValues(a.MAIN);if(t&&this.selectedFilter===f.IN_RANGE){var e=t;return null!=e[0]&&null!=e[1]}return null!=t},e.prototype.setFilterType=function(t,e){if(e===a.MAIN){if(this.selectedFilter=t,!this.eTypeSelector)return;this.eTypeSelector.value=t}else{if(this.selectedFilterCondition=t,!this.eTypeConditionSelector)return;this.eTypeConditionSelector.value=t}},e.prototype.isFilterConditionActive=function(t){return null!=this.filterValues(t)},r([p.QuerySelector("#filterType"),s("design:type",HTMLSelectElement)],e.prototype,"eTypeSelector",void 0),r([p.QuerySelector("#filterConditionType"),s("design:type",HTMLSelectElement)],e.prototype,"eTypeConditionSelector",void 0),e}(f);e.ComparableBaseFilter=g;var y=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.nullComparator=function(t){var e=this;return function(o,i){if(null==i){var n=e.translateNull(t);if(e.selectedFilter===f.EMPTY)return 0;if(e.selectedFilter===f.EQUALS)return n?0:1;if(e.selectedFilter===f.GREATER_THAN)return n?1:-1;if(e.selectedFilter===f.GREATER_THAN_OR_EQUAL)return n?1:-1;if(e.selectedFilter===f.LESS_THAN_OR_EQUAL)return n?-1:1;if(e.selectedFilter===f.LESS_THAN)return n?-1:1;if(e.selectedFilter===f.NOT_EQUAL)return n?1:0}return e.comparator()(o,i)}},e.prototype.getDefaultType=function(){return f.EQUALS},e.prototype.translateNull=function(t){var o=t.indexOf("greater")>-1?"greaterThan":t.indexOf("lessThan")>-1?"lessThan":"equals";return this.filterParams.nullComparator&&this.filterParams.nullComparator[o]?this.filterParams.nullComparator[o]:e.DEFAULT_NULL_COMPARATOR[o]},e.prototype.individualFilterPasses=function(t,e){return this.doIndividualFilterPasses(t,e,e===a.MAIN?this.selectedFilter:this.selectedFilterCondition)},e.prototype.doIndividualFilterPasses=function(t,e,o){var i=this.filterParams.valueGetter(t.node),n=this.filterValues(e),r=Array.isArray(n)?n[0]:n,s=this.customFilterOptions[o];if(s&&(null!=r||s.hideFilterInput))return s.test(r,i);if(null==r)return e===a.MAIN||"AND"===this.conditionValue;var l=this.nullComparator(o),p=l(r,i);if(o===f.EMPTY)return!1;if(o===f.EQUALS)return 0===p;if(o===f.GREATER_THAN)return p>0;if(o===f.GREATER_THAN_OR_EQUAL)return p>=0;if(o===f.LESS_THAN_OR_EQUAL)return p<=0;if(o===f.LESS_THAN)return p<0;if(o===f.NOT_EQUAL)return 0!=p;var u=l(n[1],i);if(o===f.IN_RANGE)return this.filterParams.inRangeInclusive?p>=0&&u<=0:p>0&&u<0;throw new Error("Unexpected type of filter: "+o)},e.DEFAULT_NULL_COMPARATOR={equals:!1,lessThan:!1,greaterThan:!1},e}(g);e.ScalarBaseFilter=y},13887:function(t,e,o){var i=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},n=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r=o(72493),s=o(60843),a=o(63405),l=o(98239),p=o(44871),u=o(40797),c=o(44081),d=function(){function t(){}return t.prototype.setScrollsVisible=function(t){if(this.horizontalScrollShowing!==t.horizontalScrollShowing||this.verticalScrollShowing!==t.verticalScrollShowing){this.horizontalScrollShowing=t.horizontalScrollShowing,this.verticalScrollShowing=t.verticalScrollShowing;var e={type:a.Events.EVENT_SCROLL_VISIBILITY_CHANGED,api:this.gridApi,columnApi:this.columnApi};this.eventService.dispatchEvent(e)}},t.prototype.isHorizontalScrollShowing=function(){return this.horizontalScrollShowing},t.prototype.isVerticalScrollShowing=function(){return this.verticalScrollShowing},i([r.Autowired("eventService"),n("design:type",s.EventService)],t.prototype,"eventService",void 0),i([r.Autowired("columnController"),n("design:type",l.ColumnController)],t.prototype,"columnController",void 0),i([r.Autowired("columnApi"),n("design:type",p.ColumnApi)],t.prototype,"columnApi",void 0),i([r.Autowired("gridApi"),n("design:type",u.GridApi)],t.prototype,"gridApi",void 0),i([r.Autowired("gridOptionsWrapper"),n("design:type",c.GridOptionsWrapper)],t.prototype,"gridOptionsWrapper",void 0),i([r.Bean("scrollVisibleService")],t)}();e.ScrollVisibleService=d},15068:function(t,e,o){var i=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},n=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r=o(60843),s=o(63405),a=o(44081),l=o(54828),p=o(24463),u=o(98239),c=o(44871),d=o(72493),h=o(45727),f=o(88842),g=o(40797),y=o(83423),m=function(){function t(){this.childrenMapped={},this.selectable=!0,this.__objectId=t.OBJECT_ID_SEQUENCE++,this.alreadyRendered=!1,this.selected=!1}return t.prototype.setData=function(t){var e=this.data;this.data=t,this.valueCache.onDataChanged(),this.updateDataOnDetailNode(),this.checkRowSelectable();var o=this.createDataChangedEvent(t,e,!1);this.dispatchLocalEvent(o)},t.prototype.updateDataOnDetailNode=function(){this.detailNode&&(this.detailNode.data=this.data)},t.prototype.createDataChangedEvent=function(e,o,i){return{type:t.EVENT_DATA_CHANGED,node:this,oldData:o,newData:e,update:i}},t.prototype.createLocalRowEvent=function(t){return{type:t,node:this}},t.prototype.updateData=function(t){var e=this.data;this.data=t,this.updateDataOnDetailNode(),this.checkRowSelectable(),this.updateDataOnDetailNode();var o=this.createDataChangedEvent(t,e,!0);this.dispatchLocalEvent(o)},t.prototype.getRowIndexString=function(){return this.rowPinned===h.Constants.PINNED_TOP?"t-"+this.rowIndex:this.rowPinned===h.Constants.PINNED_BOTTOM?"b-"+this.rowIndex:this.rowIndex.toString()},t.prototype.createDaemonNode=function(){var e=new t;return this.context.wireBean(e),e.id=this.id,e.data=this.data,e.daemon=!0,e.selected=this.selected,e.level=this.level,e},t.prototype.setDataAndId=function(t,e){var o=y._.exists(this.id)?this.createDaemonNode():null,i=this.data;this.data=t,this.updateDataOnDetailNode(),this.setId(e),this.selectionController.syncInRowNode(this,o),this.checkRowSelectable();var n=this.createDataChangedEvent(t,i,!1);this.dispatchLocalEvent(n)},t.prototype.checkRowSelectable=function(){var t=this.gridOptionsWrapper.getIsRowSelectableFunc(),e=t&&y._.exists(this);this.setRowSelectable(!e||t(this))},t.prototype.setRowSelectable=function(e){this.selectable!==e&&(this.selectable=e,this.eventService&&this.eventService.dispatchEvent(this.createLocalRowEvent(t.EVENT_SELECTABLE_CHANGED)))},t.prototype.setId=function(t){var e=this.gridOptionsWrapper.getRowNodeIdFunc();e?this.data?this.id=e(this.data):this.id=void 0:this.id=t},t.prototype.isPixelInRange=function(t){return t>=this.rowTop&&t<this.rowTop+this.rowHeight},t.prototype.clearRowTop=function(){this.oldRowTop=this.rowTop,this.setRowTop(null)},t.prototype.setFirstChild=function(e){this.firstChild!==e&&(this.firstChild=e,this.eventService&&this.eventService.dispatchEvent(this.createLocalRowEvent(t.EVENT_FIRST_CHILD_CHANGED)))},t.prototype.setLastChild=function(e){this.lastChild!==e&&(this.lastChild=e,this.eventService&&this.eventService.dispatchEvent(this.createLocalRowEvent(t.EVENT_LAST_CHILD_CHANGED)))},t.prototype.setChildIndex=function(e){this.childIndex!==e&&(this.childIndex=e,this.eventService&&this.eventService.dispatchEvent(this.createLocalRowEvent(t.EVENT_CHILD_INDEX_CHANGED)))},t.prototype.setRowTop=function(e){this.rowTop!==e&&(this.rowTop=e,this.eventService&&this.eventService.dispatchEvent(this.createLocalRowEvent(t.EVENT_TOP_CHANGED)))},t.prototype.setDragging=function(e){this.dragging!==e&&(this.dragging=e,this.eventService&&this.eventService.dispatchEvent(this.createLocalRowEvent(t.EVENT_DRAGGING_CHANGED)))},t.prototype.setAllChildrenCount=function(e){this.allChildrenCount!==e&&(this.allChildrenCount=e,this.eventService&&this.eventService.dispatchEvent(this.createLocalRowEvent(t.EVENT_ALL_CHILDREN_COUNT_CHANGED)))},t.prototype.setRowHeight=function(e,o){void 0===o&&(o=!1),this.rowHeight=e,this.rowHeightEstimated=o,this.eventService&&this.eventService.dispatchEvent(this.createLocalRowEvent(t.EVENT_HEIGHT_CHANGED))},t.prototype.setRowIndex=function(e){this.rowIndex=e,this.eventService&&this.eventService.dispatchEvent(this.createLocalRowEvent(t.EVENT_ROW_INDEX_CHANGED))},t.prototype.setUiLevel=function(e){this.uiLevel!==e&&(this.uiLevel=e,this.eventService&&this.eventService.dispatchEvent(this.createLocalRowEvent(t.EVENT_UI_LEVEL_CHANGED)))},t.prototype.setExpanded=function(e){if(this.expanded!==e){this.expanded=e,this.eventService&&this.eventService.dispatchEvent(this.createLocalRowEvent(t.EVENT_EXPANDED_CHANGED));var o=this.createGlobalRowEvent(s.Events.EVENT_ROW_GROUP_OPENED);this.mainEventService.dispatchEvent(o),this.gridOptionsWrapper.isGroupIncludeFooter()&&this.gridApi.redrawRows({rowNodes:[this]})}},t.prototype.createGlobalRowEvent=function(t){return{type:t,node:this,data:this.data,rowIndex:this.rowIndex,rowPinned:this.rowPinned,context:this.gridOptionsWrapper.getContext(),api:this.gridOptionsWrapper.getApi(),columnApi:this.gridOptionsWrapper.getColumnApi()}},t.prototype.dispatchLocalEvent=function(t){this.eventService&&this.eventService.dispatchEvent(t)},t.prototype.setDataValue=function(t,e){var o=this.columnController.getPrimaryColumn(t);this.valueService.setValue(this,o,e),this.dispatchCellChangedEvent(o,e)},t.prototype.setGroupValue=function(t,e){var o=this.columnController.getGridColumn(t);y._.missing(this.groupData)&&(this.groupData={}),this.groupData[o.getColId()]=e,this.dispatchCellChangedEvent(o,e)},t.prototype.setAggData=function(t){var e=this,o=y._.getAllKeysInObjects([this.aggData,t]);this.aggData=t,this.eventService&&o.forEach((function(t){var o=e.columnController.getGridColumn(t),i=e.aggData?e.aggData[t]:void 0;e.dispatchCellChangedEvent(o,i)}))},t.prototype.hasChildren=function(){return this.group||this.childrenAfterGroup&&this.childrenAfterGroup.length>0},t.prototype.isEmptyFillerNode=function(){return this.group&&y._.missingOrEmpty(this.childrenAfterGroup)},t.prototype.dispatchCellChangedEvent=function(e,o){var i={type:t.EVENT_CELL_CHANGED,node:this,column:e,newValue:o};this.dispatchLocalEvent(i)},t.prototype.resetQuickFilterAggregateText=function(){this.quickFilterAggregateText=null},t.prototype.isExpandable=function(){return this.hasChildren()||this.master},t.prototype.isSelected=function(){return this.footer?this.sibling.isSelected():this.selected},t.prototype.depthFirstSearch=function(t){this.childrenAfterGroup&&this.childrenAfterGroup.forEach((function(e){return e.depthFirstSearch(t)})),t(this)},t.prototype.calculateSelectedFromChildren=function(){var t,e=!1,o=!1,i=!1;if(this.childrenAfterGroup)for(var n=0;n<this.childrenAfterGroup.length;n++){var r=this.childrenAfterGroup[n];if(r.selectable)switch(r.isSelected()){case!0:e=!0;break;case!1:o=!0;break;default:i=!0}}t=i?void 0:!(!e||o)||!(!e&&o)&&void 0,this.selectThisNode(t)},t.prototype.setSelectedInitialValue=function(t){this.selected=t},t.prototype.setSelected=function(t,e,o){void 0===e&&(e=!1),void 0===o&&(o=!1),this.setSelectedParams({newValue:t,clearSelection:e,suppressFinishActions:o,rangeSelect:!1})},t.prototype.isRowPinned=function(){return this.rowPinned===h.Constants.PINNED_TOP||this.rowPinned===h.Constants.PINNED_BOTTOM},t.prototype.setSelectedParams=function(t){var e=this.gridOptionsWrapper.isGroupSelectsChildren(),o=!0===t.newValue,i=!0===t.clearSelection,n=!0===t.suppressFinishActions,r=!0===t.rangeSelect,a=e&&!0===t.groupSelectsFiltered;if(void 0===this.id)return console.warn("ag-Grid: cannot select node until id for node is known"),0;if(this.rowPinned)return console.warn("ag-Grid: cannot select pinned rows"),0;if(this.footer)return this.sibling.setSelectedParams(t);if(r){var l=this.selectionController.getLastSelectedNode()!==this,p=this.gridOptionsWrapper.isRowSelectionMulti();if(l&&p)return this.doRowRangeSelection()}var u=0;if(a&&this.group||this.selectThisNode(o)&&u++,e&&this.group&&(u+=this.selectChildNodes(o,a)),!n){if(o&&(i||!this.gridOptionsWrapper.isRowSelectionMulti())&&(u+=this.selectionController.clearOtherNodes(this)),u>0){this.selectionController.updateGroupsFromChildrenSelections();var c={type:s.Events.EVENT_SELECTION_CHANGED,api:this.gridApi,columnApi:this.columnApi};this.mainEventService.dispatchEvent(c)}o&&this.selectionController.setLastSelectedNode(this)}return u},t.prototype.doRowRangeSelection=function(){var t=0,e=this.gridOptionsWrapper.isGroupSelectsChildren(),o=this.selectionController.getLastSelectedNode();this.rowModel.getNodesInRangeForSelection(this,o).forEach((function(o){o.group&&e||o.selectThisNode(!0)&&t++})),this.selectionController.updateGroupsFromChildrenSelections();var i={type:s.Events.EVENT_SELECTION_CHANGED,api:this.gridApi,columnApi:this.columnApi};return this.mainEventService.dispatchEvent(i),t},t.prototype.isParentOfNode=function(t){for(var e=this.parent;e;){if(e===t)return!0;e=e.parent}return!1},t.prototype.selectThisNode=function(e){if(!this.selectable||this.selected===e)return!1;this.selected=e,this.eventService&&this.dispatchLocalEvent(this.createLocalRowEvent(t.EVENT_ROW_SELECTED));var o=this.createGlobalRowEvent(s.Events.EVENT_ROW_SELECTED);return this.mainEventService.dispatchEvent(o),!0},t.prototype.selectChildNodes=function(t,e){var o=e?this.childrenAfterFilter:this.childrenAfterGroup,i=0;if(!y._.missing(o)){for(var n=0;n<o.length;n++)i+=o[n].setSelectedParams({newValue:t,clearSelection:!1,suppressFinishActions:!0,groupSelectsFiltered:e});return i}},t.prototype.addEventListener=function(t,e){this.eventService||(this.eventService=new r.EventService),this.eventService.addEventListener(t,e)},t.prototype.removeEventListener=function(t,e){this.eventService.removeEventListener(t,e)},t.prototype.onMouseEnter=function(){this.dispatchLocalEvent(this.createLocalRowEvent(t.EVENT_MOUSE_ENTER))},t.prototype.onMouseLeave=function(){this.dispatchLocalEvent(this.createLocalRowEvent(t.EVENT_MOUSE_LEAVE))},t.prototype.getFirstChildOfFirstChild=function(t){for(var e,o=this,i=!0,n=!1;i&&!n;){var r=o.parent;y._.exists(r)&&o.firstChild?r.rowGroupColumn===t&&(n=!0,e=r):i=!1,o=r}return n?e:null},t.OBJECT_ID_SEQUENCE=0,t.EVENT_ROW_SELECTED="rowSelected",t.EVENT_DATA_CHANGED="dataChanged",t.EVENT_CELL_CHANGED="cellChanged",t.EVENT_ALL_CHILDREN_COUNT_CHANGED="allChildrenCountChanged",t.EVENT_MOUSE_ENTER="mouseEnter",t.EVENT_MOUSE_LEAVE="mouseLeave",t.EVENT_HEIGHT_CHANGED="heightChanged",t.EVENT_TOP_CHANGED="topChanged",t.EVENT_FIRST_CHILD_CHANGED="firstChildChanged",t.EVENT_LAST_CHILD_CHANGED="lastChildChanged",t.EVENT_CHILD_INDEX_CHANGED="childIndexChanged",t.EVENT_ROW_INDEX_CHANGED="rowIndexChanged",t.EVENT_EXPANDED_CHANGED="expandedChanged",t.EVENT_SELECTABLE_CHANGED="selectableChanged",t.EVENT_UI_LEVEL_CHANGED="uiLevelChanged",t.EVENT_DRAGGING_CHANGED="draggingChanged",i([d.Autowired("eventService"),n("design:type",r.EventService)],t.prototype,"mainEventService",void 0),i([d.Autowired("gridOptionsWrapper"),n("design:type",a.GridOptionsWrapper)],t.prototype,"gridOptionsWrapper",void 0),i([d.Autowired("selectionController"),n("design:type",l.SelectionController)],t.prototype,"selectionController",void 0),i([d.Autowired("columnController"),n("design:type",u.ColumnController)],t.prototype,"columnController",void 0),i([d.Autowired("valueService"),n("design:type",p.ValueService)],t.prototype,"valueService",void 0),i([d.Autowired("rowModel"),n("design:type",Object)],t.prototype,"rowModel",void 0),i([d.Autowired("context"),n("design:type",d.Context)],t.prototype,"context",void 0),i([d.Autowired("valueCache"),n("design:type",f.ValueCache)],t.prototype,"valueCache",void 0),i([d.Autowired("columnApi"),n("design:type",c.ColumnApi)],t.prototype,"columnApi",void 0),i([d.Autowired("gridApi"),n("design:type",g.GridApi)],t.prototype,"gridApi",void 0),t}();e.RowNode=m},15724:function(t,e,o){var i,n=this&&this.__extends||(i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},i(t,e)},function(t,e){function o(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),r=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},s=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var a=o(46379),l=o(72493),p=o(44081),u=o(83423),c=function(t){function e(e){var o=t.call(this,'<div class="ag-popup-editor" tabindex="-1"/>')||this;return o.getGuiCalledOnChild=!1,o.cellEditor=e,o}return n(e,t),e.prototype.onKeyDown=function(t){u._.isUserSuppressingKeyboardEvent(this.gridOptionsWrapper,t,this.params.node,this.params.column,!0)||this.params.onKeyDown(t)},e.prototype.getGui=function(){return this.getGuiCalledOnChild||(this.appendChild(this.cellEditor.getGui()),this.getGuiCalledOnChild=!0),t.prototype.getGui.call(this)},e.prototype.init=function(o){var i=this;this.params=o,this.gridOptionsWrapper.setDomData(this.getGui(),e.DOM_KEY_POPUP_EDITOR_WRAPPER,!0),this.addDestroyFunc((function(){i.cellEditor.destroy&&i.cellEditor.destroy()})),this.addDestroyableEventListener(t.prototype.getGui.call(this),"keydown",this.onKeyDown.bind(this))},e.prototype.afterGuiAttached=function(){this.cellEditor.afterGuiAttached&&this.cellEditor.afterGuiAttached()},e.prototype.getValue=function(){return this.cellEditor.getValue()},e.prototype.isCancelBeforeStart=function(){if(this.cellEditor.isCancelBeforeStart)return this.cellEditor.isCancelBeforeStart()},e.prototype.isCancelAfterEnd=function(){if(this.cellEditor.isCancelAfterEnd)return this.cellEditor.isCancelAfterEnd()},e.prototype.focusIn=function(){this.cellEditor.focusIn&&this.cellEditor.focusIn()},e.prototype.focusOut=function(){this.cellEditor.focusOut&&this.cellEditor.focusOut()},e.DOM_KEY_POPUP_EDITOR_WRAPPER="popupEditorWrapper",r([l.Autowired("gridOptionsWrapper"),s("design:type",p.GridOptionsWrapper)],e.prototype,"gridOptionsWrapper",void 0),e}(a.PopupComponent);e.PopupEditorWrapper=c},15774:function(t,e,o){var i,n=this&&this.__extends||(i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},i(t,e)},function(t,e){function o(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),r=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},s=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var a,l=o(22131),p=o(72493),u=o(44081),c=o(98239),d=o(26016),h=o(60843),f=o(63405),g=o(78481),y=o(18985),m=o(55e3),v=o(40797),C=o(45727),E=o(83423),w=o(32590);!function(t){t[t.COLUMN_GROUP=0]="COLUMN_GROUP",t[t.COLUMN=1]="COLUMN",t[t.FLOATING_FILTER=2]="FLOATING_FILTER"}(a=e.HeaderRowType||(e.HeaderRowType={}));var _=function(t){function e(e,o,i,n){var r=t.call(this,'<div class="ag-header-row" role="presentation"/>')||this;return r.headerComps={},r.dept=e,r.type=o,r.pinned=i,r.dropTarget=n,r}return n(e,t),e.prototype.forEachHeaderElement=function(t){var e=this;Object.keys(this.headerComps).forEach((function(o){t(e.headerComps[o])}))},e.prototype.destroy=function(){var e=Object.keys(this.headerComps);this.removeAndDestroyChildComponents(e),t.prototype.destroy.call(this)},e.prototype.removeAndDestroyChildComponents=function(t){var e=this;t.forEach((function(t){var o=e.headerComps[t];e.getGui().removeChild(o.getGui()),o.destroy(),delete e.headerComps[t]}))},e.prototype.onRowHeightChanged=function(){var t,e,o=this.columnController.getHeaderRowCount(),i=[],n=0;this.columnController.isPivotMode()?(n=0,t=this.gridOptionsWrapper.getPivotGroupHeaderHeight(),e=this.gridOptionsWrapper.getPivotHeaderHeight()):(this.gridOptionsWrapper.isFloatingFilter()&&o++,n=this.gridOptionsWrapper.isFloatingFilter()?1:0,t=this.gridOptionsWrapper.getGroupHeaderHeight(),e=this.gridOptionsWrapper.getHeaderHeight());for(var r=o-(1+n),s=0;s<r;s++)i.push(t);for(i.push(e),s=0;s<n;s++)i.push(this.gridOptionsWrapper.getFloatingFiltersHeight());var a=0;for(s=0;s<this.dept;s++)a+=i[s];this.getGui().style.top=a+"px",this.getGui().style.height=i[this.dept]+"px"},e.prototype.init=function(){this.onRowHeightChanged(),this.onVirtualColumnsChanged(),this.setWidth(),this.addDestroyableEventListener(this.gridOptionsWrapper,u.GridOptionsWrapper.PROP_HEADER_HEIGHT,this.onRowHeightChanged.bind(this)),this.addDestroyableEventListener(this.gridOptionsWrapper,u.GridOptionsWrapper.PROP_PIVOT_HEADER_HEIGHT,this.onRowHeightChanged.bind(this)),this.addDestroyableEventListener(this.gridOptionsWrapper,u.GridOptionsWrapper.PROP_GROUP_HEADER_HEIGHT,this.onRowHeightChanged.bind(this)),this.addDestroyableEventListener(this.gridOptionsWrapper,u.GridOptionsWrapper.PROP_PIVOT_GROUP_HEADER_HEIGHT,this.onRowHeightChanged.bind(this)),this.addDestroyableEventListener(this.gridOptionsWrapper,u.GridOptionsWrapper.PROP_FLOATING_FILTERS_HEIGHT,this.onRowHeightChanged.bind(this)),this.addDestroyableEventListener(this.eventService,f.Events.EVENT_VIRTUAL_COLUMNS_CHANGED,this.onVirtualColumnsChanged.bind(this)),this.addDestroyableEventListener(this.eventService,f.Events.EVENT_DISPLAYED_COLUMNS_CHANGED,this.onDisplayedColumnsChanged.bind(this)),this.addDestroyableEventListener(this.eventService,f.Events.EVENT_COLUMN_RESIZED,this.onColumnResized.bind(this)),this.addDestroyableEventListener(this.eventService,f.Events.EVENT_GRID_COLUMNS_CHANGED,this.onGridColumnsChanged.bind(this))},e.prototype.onColumnResized=function(){this.setWidth()},e.prototype.setWidth=function(){var t=this.getWidthForRow();this.getGui().style.width=t+"px"},e.prototype.getWidthForRow=function(){return this.gridOptionsWrapper.getDomLayout()===C.Constants.DOM_LAYOUT_PRINT?E._.missing(this.pinned)?this.columnController.getContainerWidth(d.Column.PINNED_RIGHT)+this.columnController.getContainerWidth(d.Column.PINNED_LEFT)+this.columnController.getContainerWidth(null):0:this.columnController.getContainerWidth(this.pinned)},e.prototype.onGridColumnsChanged=function(){this.removeAndDestroyAllChildComponents()},e.prototype.removeAndDestroyAllChildComponents=function(){var t=Object.keys(this.headerComps);this.removeAndDestroyChildComponents(t)},e.prototype.onDisplayedColumnsChanged=function(){this.onVirtualColumnsChanged(),this.setWidth()},e.prototype.getItemsAtDept=function(){var t=this;if(this.gridOptionsWrapper.getDomLayout()===C.Constants.DOM_LAYOUT_PRINT){if(E._.missing(this.pinned)){var e=[];return[d.Column.PINNED_LEFT,null,d.Column.PINNED_RIGHT].forEach((function(o){var i=t.columnController.getVirtualHeaderGroupRow(o,t.type==a.FLOATING_FILTER?t.dept-1:t.dept);e=e.concat(i)})),e}return[]}return this.columnController.getVirtualHeaderGroupRow(this.pinned,this.type==a.FLOATING_FILTER?this.dept-1:this.dept)},e.prototype.onVirtualColumnsChanged=function(){var t,e=this,o=Object.keys(this.headerComps),i=this.getItemsAtDept(),n=this.gridOptionsWrapper.isEnsureDomOrder();i.forEach((function(i){if(!i.isEmptyGroup()){var r,s,a=i.getUniqueId(),l=e.getGui();o.indexOf(a)>=0?(E._.removeFromArray(o,a),s=(r=e.headerComps[a]).getGui(),n&&E._.ensureDomOrder(l,s,t),t=s):(r=e.createHeaderComp(i),e.headerComps[a]=r,s=r.getGui(),n?E._.insertWithDomOrder(l,s,t):l.appendChild(s),t=s)}})),this.removeAndDestroyChildComponents(o)},e.prototype.createHeaderComp=function(t){var e;switch(this.type){case a.COLUMN:e=new g.HeaderWrapperComp(t,this.dropTarget,this.pinned);break;case a.COLUMN_GROUP:e=new y.HeaderGroupWrapperComp(t,this.dropTarget,this.pinned);break;case a.FLOATING_FILTER:e=new w.FloatingFilterWrapper(t)}return this.getContext().wireBean(e),e},r([p.Autowired("gridOptionsWrapper"),s("design:type",u.GridOptionsWrapper)],e.prototype,"gridOptionsWrapper",void 0),r([p.Autowired("gridApi"),s("design:type",v.GridApi)],e.prototype,"gridApi",void 0),r([p.Autowired("columnController"),s("design:type",c.ColumnController)],e.prototype,"columnController",void 0),r([p.Autowired("eventService"),s("design:type",h.EventService)],e.prototype,"eventService",void 0),r([p.Autowired("filterManager"),s("design:type",m.FilterManager)],e.prototype,"filterManager",void 0),r([p.PostConstruct,s("design:type",Function),s("design:paramtypes",[]),s("design:returntype",void 0)],e.prototype,"init",null),e}(l.Component);e.HeaderRowComp=_},15942:(t,e,o)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.ParseMode=void 0,e.parse=a;const i=o(84537),n=o(30186),r=o(9854),s=o(3288);function a(t,e){const o=(0,s.buildOptions)(e),{hasComments:a,ast:l}=function(t){let e=!1;return{ast:(0,i.parse)(t,{ecmaVersion:6,onComment:()=>e=!0,locations:!0,ranges:!0,sourceFile:t}),hasComments:e}}(`(\n${t}\n)`);return a&&!o.allowComments||!(0,n.checkTree)(l,o)?"":(0,r.executeAST)(l)}Object.defineProperty(e,"ParseMode",{enumerable:!0,get:function(){return s.ParseMode}}),e.default=a},15959:function(t,e,o){var i,n=this&&this.__extends||(i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},i(t,e)},function(t,e){function o(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)});Object.defineProperty(e,"__esModule",{value:!0});var r=o(22131),s=o(83423),a=function(t){function e(){var o=t.call(this,e.TEMPLATE)||this;return o.refreshCount=0,o}return n(e,t),e.prototype.init=function(t){this.eValue=this.queryForHtmlElement(".ag-value-change-value"),this.eDelta=this.queryForHtmlElement(".ag-value-change-delta"),this.refresh(t)},e.prototype.showDelta=function(t,e){var o=Math.abs(e),i=t.formatValue(o),n=s._.exists(i)?i:o,r=e>=0;this.eDelta.innerHTML=r?"↑"+n:"↓"+n,s._.addOrRemoveCssClass(this.eDelta,"ag-value-change-delta-up",r),s._.addOrRemoveCssClass(this.eDelta,"ag-value-change-delta-down",!r)},e.prototype.setTimerToRemoveDelta=function(){var t=this;this.refreshCount++;var e=this.refreshCount;window.setTimeout((function(){e===t.refreshCount&&t.hideDeltaValue()}),2e3)},e.prototype.hideDeltaValue=function(){s._.removeCssClass(this.eValue,"ag-value-change-value-highlight"),s._.clearElement(this.eDelta)},e.prototype.refresh=function(t){var e=t.value;if(e!==this.lastValue){if(s._.exists(t.valueFormatted)?this.eValue.innerHTML=t.valueFormatted:s._.exists(t.value)?this.eValue.innerHTML=e:s._.clearElement(this.eValue),"number"==typeof e&&"number"==typeof this.lastValue){var o=e-this.lastValue;this.showDelta(t,o)}return this.lastValue&&s._.addCssClass(this.eValue,"ag-value-change-value-highlight"),this.setTimerToRemoveDelta(),this.lastValue=e,!0}},e.TEMPLATE='<span><span class="ag-value-change-delta"></span><span class="ag-value-change-value"></span></span>',e}(r.Component);e.AnimateShowChangeCellRenderer=a},16068:(t,e,o)=>{var i=o(41207).X,n=o(87264).Q,r=o(10559).getCachedPredictionContext;function s(t,e){return this.atn=t,this.sharedContextCache=e,this}s.ERROR=new i(2147483647,new n),s.prototype.getCachedContext=function(t){return null===this.sharedContextCache?t:r(t,this.sharedContextCache,{})},e.e=s},16569:(t,e,o)=>{e.DFA=o(81204).DFA,e.DFASerializer=o(4768).DFASerializer,e.LexerDFASerializer=o(4768).LexerDFASerializer,e.PredPrediction=o(41207).PredPrediction},17677:(t,e)=>{var o;Object.defineProperty(e,"__esModule",{value:!0}),e.ParseMode=void 0,e.buildOptions=function(t){return{...a,...s(t&&t.mode||o.Strict),...t}},function(t){t.Strict="strict",t.Extended="extended",t.Loose="loose"}(o||(e.ParseMode=o={}));const i={allowMethods:!1,allowComments:!1},n={allowMethods:!0},r={allowMethods:!0,allowComments:!0};function s(t){switch(t){case o.Strict:return i;case o.Extended:return n;case o.Loose:return r}}const a={mode:o.Strict,...i}},17690:(t,e,o)=>{var i=o(50659),n=o(91136),r=o(76966),s=o(54200),a=o(78554),l=o(64398),p=function(t,e){var o=e.error;e.error=function(i){o&&o(t,i,e),t.trigger("error",t,i,e)}},u=i.extend({save:function(t,e,o){var i,n;if(null==t||"object"==typeof t?(i=t,o=e):(i={})[t]=e,o=r({validate:!0},o),i&&!o.wait){if(!this.set(i,o))return!1}else if(!this._validate(i,o))return!1;void 0===o.parse&&(o.parse=!0);var a=this,l=o.success;o.success=function(t){var e=a.parse(t,o);if(o.wait&&(e=r(i||{},e)),s(e)&&!a.set(e,o))return!1;l&&l(a,t,o),a.trigger("sync",a,t,o)},p(this,o),"patch"==(n=this.isNew()?"create":o.patch?"patch":"update")&&(o.attrs=i),o.wait&&"patch"!==n&&(o.attrs=r(a.serialize(),i));var u=this.sync(n,this,o);return o.xhr=u,u},fetch:function(t){void 0===(t=t?a(t):{}).parse&&(t.parse=!0);var e=this,o=t.success;t.success=function(i){if(!e.set(e.parse(i,t),t))return!1;o&&o(e,i,t),e.trigger("sync",e,i,t)},p(this,t);var i=this.sync("read",this,t);return t.xhr=i,i},destroy:function(t){t=t?a(t):{};var e=this,o=t.success,i=function(){e.trigger("destroy",e,e.collection,t)};if(t.success=function(n){(t.wait||e.isNew())&&i(),o&&o(e,n,t),e.isNew()||e.trigger("sync",e,n,t)},this.isNew())return t.success(),!1;p(this,t);var n=this.sync("delete",this,t);return t.xhr=n,t.wait||i(),n},sync:function(){return n.apply(this,arguments)},url:function(){var t=l(this,"urlRoot")||l(this.collection,"url")||function(){throw new Error('A "url" property or function must be specified')}();return this.isNew()?t:t+("/"===t.charAt(t.length-1)?"":"/")+encodeURIComponent(this.getId())}});t.exports=u},18393:(t,e,o)=>{var i=o(72994).Token,n=o(32141).f,r=o(74763).p,s=o(86587).RecognitionException,a=o(86587).LexerNoViableAltException;function l(t){return n.call(this),this._input=t,this._factory=r.DEFAULT,this._tokenFactorySourcePair=[this,t],this._interp=null,this._token=null,this._tokenStartCharIndex=-1,this._tokenStartLine=-1,this._tokenStartColumn=-1,this._hitEOF=!1,this._channel=i.DEFAULT_CHANNEL,this._type=i.INVALID_TYPE,this._modeStack=[],this._mode=l.DEFAULT_MODE,this._text=null,this}l.prototype=Object.create(n.prototype),l.prototype.constructor=l,l.DEFAULT_MODE=0,l.MORE=-2,l.SKIP=-3,l.DEFAULT_TOKEN_CHANNEL=i.DEFAULT_CHANNEL,l.HIDDEN=i.HIDDEN_CHANNEL,l.MIN_CHAR_VALUE=0,l.MAX_CHAR_VALUE=1114111,l.prototype.reset=function(){null!==this._input&&this._input.seek(0),this._token=null,this._type=i.INVALID_TYPE,this._channel=i.DEFAULT_CHANNEL,this._tokenStartCharIndex=-1,this._tokenStartColumn=-1,this._tokenStartLine=-1,this._text=null,this._hitEOF=!1,this._mode=l.DEFAULT_MODE,this._modeStack=[],this._interp.reset()},l.prototype.nextToken=function(){if(null===this._input)throw"nextToken requires a non-null input stream.";var t=this._input.mark();try{for(;;){if(this._hitEOF)return this.emitEOF(),this._token;this._token=null,this._channel=i.DEFAULT_CHANNEL,this._tokenStartCharIndex=this._input.index,this._tokenStartColumn=this._interp.column,this._tokenStartLine=this._interp.line,this._text=null;for(var e=!1;;){this._type=i.INVALID_TYPE;var o=l.SKIP;try{o=this._interp.match(this._input,this._mode)}catch(t){if(!(t instanceof s))throw console.log(t.stack),t;this.notifyListeners(t),this.recover(t)}if(this._input.LA(1)===i.EOF&&(this._hitEOF=!0),this._type===i.INVALID_TYPE&&(this._type=o),this._type===l.SKIP){e=!0;break}if(this._type!==l.MORE)break}if(!e)return null===this._token&&this.emit(),this._token}}finally{this._input.release(t)}},l.prototype.skip=function(){this._type=l.SKIP},l.prototype.more=function(){this._type=l.MORE},l.prototype.mode=function(t){this._mode=t},l.prototype.pushMode=function(t){this._interp.debug&&console.log("pushMode "+t),this._modeStack.push(this._mode),this.mode(t)},l.prototype.popMode=function(){if(0===this._modeStack.length)throw"Empty Stack";return this._interp.debug&&console.log("popMode back to "+this._modeStack.slice(0,-1)),this.mode(this._modeStack.pop()),this._mode},Object.defineProperty(l.prototype,"inputStream",{get:function(){return this._input},set:function(t){this._input=null,this._tokenFactorySourcePair=[this,this._input],this.reset(),this._input=t,this._tokenFactorySourcePair=[this,this._input]}}),Object.defineProperty(l.prototype,"sourceName",{get:function(){return this._input.sourceName}}),l.prototype.emitToken=function(t){this._token=t},l.prototype.emit=function(){var t=this._factory.create(this._tokenFactorySourcePair,this._type,this._text,this._channel,this._tokenStartCharIndex,this.getCharIndex()-1,this._tokenStartLine,this._tokenStartColumn);return this.emitToken(t),t},l.prototype.emitEOF=function(){var t=this.column,e=this.line,o=this._factory.create(this._tokenFactorySourcePair,i.EOF,null,i.DEFAULT_CHANNEL,this._input.index,this._input.index-1,e,t);return this.emitToken(o),o},Object.defineProperty(l.prototype,"type",{get:function(){return this.type},set:function(t){this._type=t}}),Object.defineProperty(l.prototype,"line",{get:function(){return this._interp.line},set:function(t){this._interp.line=t}}),Object.defineProperty(l.prototype,"column",{get:function(){return this._interp.column},set:function(t){this._interp.column=t}}),l.prototype.getCharIndex=function(){return this._input.index},Object.defineProperty(l.prototype,"text",{get:function(){return null!==this._text?this._text:this._interp.getText(this._input)},set:function(t){this._text=t}}),l.prototype.getAllTokens=function(){for(var t=[],e=this.nextToken();e.type!==i.EOF;)t.push(e),e=this.nextToken();return t},l.prototype.notifyListeners=function(t){var e=this._tokenStartCharIndex,o=this._input.index,i=this._input.getText(e,o),n="token recognition error at: '"+this.getErrorDisplay(i)+"'";this.getErrorListenerDispatch().syntaxError(this,null,this._tokenStartLine,this._tokenStartColumn,n,t)},l.prototype.getErrorDisplay=function(t){for(var e=[],o=0;o<t.length;o++)e.push(t[o]);return e.join("")},l.prototype.getErrorDisplayForChar=function(t){return t.charCodeAt(0)===i.EOF?"<EOF>":"\n"===t?"\\n":"\t"===t?"\\t":"\r"===t?"\\r":t},l.prototype.getCharErrorDisplay=function(t){return"'"+this.getErrorDisplayForChar(t)+"'"},l.prototype.recover=function(t){this._input.LA(1)!==i.EOF&&(t instanceof a?this._interp.consume(this._input):this._input.consume())},e.Lexer=l},18949:(t,e,o)=>{var i=o(72994).Token,n=o(77171).f;function r(t,e){return n.call(this,t),this.channel=void 0===e?i.DEFAULT_CHANNEL:e,this}r.prototype=Object.create(n.prototype),r.prototype.constructor=r,r.prototype.adjustSeekIndex=function(t){return this.nextTokenOnChannel(t,this.channel)},r.prototype.LB=function(t){if(0===t||this.index-t<0)return null;for(var e=this.index,o=1;o<=t;)e=this.previousTokenOnChannel(e-1,this.channel),o+=1;return e<0?null:this.tokens[e]},r.prototype.LT=function(t){if(this.lazyInit(),0===t)return null;if(t<0)return this.LB(-t);for(var e=this.index,o=1;o<t;)this.sync(e+1)&&(e=this.nextTokenOnChannel(e+1,this.channel)),o+=1;return this.tokens[e]},r.prototype.getNumberOfOnChannelTokens=function(){var t=0;this.fill();for(var e=0;e<this.tokens.length;e++){var o=this.tokens[e];if(o.channel===this.channel&&(t+=1),o.type===i.EOF)break}return t},e.CommonTokenStream=r},18954:function(t,e,o){var i=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},n=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r=o(72493),s=o(44081),a=o(2461),l=o(86608),p=o(98239),u=o(83423),c=function(){function t(){}return t.prototype.execute=function(t){var e=this.sortController.getSortForRowController(),o=u._.exists(e)&&e.length>0,i=o&&u._.exists(t.rowNodeTransactions)&&this.gridOptionsWrapper.isDeltaSort(),n=i?this.calculateDirtyNodes(t.rowNodeTransactions):null,r=this.columnController.getValueColumns(),s=u._.missingOrEmpty(r);this.sortService.sort(e,o,i,n,t.changedPath,s)},t.prototype.calculateDirtyNodes=function(t){var e={},o=function(t){t&&t.forEach((function(t){return e[t.id]=!0}))};return t.forEach((function(t){o(t.add),o(t.update),o(t.remove)})),e},i([r.Autowired("gridOptionsWrapper"),n("design:type",s.GridOptionsWrapper)],t.prototype,"gridOptionsWrapper",void 0),i([r.Autowired("sortService"),n("design:type",a.SortService)],t.prototype,"sortService",void 0),i([r.Autowired("sortController"),n("design:type",l.SortController)],t.prototype,"sortController",void 0),i([r.Autowired("columnController"),n("design:type",p.ColumnController)],t.prototype,"columnController",void 0),i([r.Bean("sortStage")],t)}();e.SortStage=c},18985:function(t,e,o){var i,n=this&&this.__extends||(i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},i(t,e)},function(t,e){function o(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),r=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},s=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var a=o(22131),l=o(26016),p=o(74517),u=o(44871),c=o(98239),d=o(44081),h=o(97177),f=o(72493),g=o(34506),y=o(58342),m=o(38152),v=o(40797),C=o(85910),E=o(55090),w=o(81604),_=o(83423),S=function(t){function e(o,i,n){var r=t.call(this,e.TEMPLATE)||this;return r.childColumnsDestroyFuncs=[],r.columnGroup=o,r.dragSourceDropTarget=i,r.pinned=n,r}return n(e,t),e.prototype.postConstruct=function(){g.CssClassApplier.addHeaderClassesFromColDef(this.getComponentHolder(),this.getGui(),this.gridOptionsWrapper,null,this.columnGroup);var t=this.columnController.getDisplayNameForColumnGroup(this.columnGroup,"header");this.appendHeaderGroupComp(t),this.setupResize(),this.addClasses(),this.setupWidth(),this.addAttributes(),this.setupMovingCss(),this.setupTooltip(),this.addFeature(this.getContext(),new w.HoverFeature(this.columnGroup.getOriginalColumnGroup().getLeafColumns(),this.getGui()));var e=new m.SetLeftFeature(this.columnGroup,this.getGui(),this.beans);e.init(),this.addDestroyFunc(e.destroy.bind(e))},e.prototype.setupMovingCss=function(){var t=this;this.columnGroup.getOriginalColumnGroup().getLeafColumns().forEach((function(e){t.addDestroyableEventListener(e,l.Column.EVENT_MOVING_CHANGED,t.onColumnMovingChanged.bind(t))})),this.onColumnMovingChanged()},e.prototype.getComponentHolder=function(){return this.columnGroup.getColGroupDef()},e.prototype.getTooltipText=function(){var t=this.getComponentHolder();return t&&t.headerTooltip},e.prototype.setupTooltip=function(){var t=this.getTooltipText();null!=t&&(this.gridOptionsWrapper.isEnableBrowserTooltips()?this.getGui().setAttribute("title",t):this.beans.tooltipManager.registerTooltip(this))},e.prototype.onColumnMovingChanged=function(){_._.addOrRemoveCssClass(this.getGui(),"ag-header-cell-moving",this.columnGroup.isMoving())},e.prototype.addAttributes=function(){this.getGui().setAttribute("col-id",this.columnGroup.getUniqueId())},e.prototype.appendHeaderGroupComp=function(t){var e=this,o={displayName:t,columnGroup:this.columnGroup,setExpanded:function(t){e.columnController.setColumnGroupOpened(e.columnGroup.getOriginalColumnGroup(),t,"gridInitializing")},api:this.gridApi,columnApi:this.columnApi,context:this.gridOptionsWrapper.getContext()};if(!t){for(var i=this.columnGroup,n=i.getLeafColumns();i.getParent()&&i.getParent().getLeafColumns().length===n.length;)i=i.getParent();var r=i.getColGroupDef();r&&(t=r.headerName),t||(t=n?this.columnController.getDisplayNameForColumn(n[0],"header",!0):"")}var s=this.afterHeaderCompCreated.bind(this,t);this.userComponentFactory.newHeaderGroupComponent(o).then(s)},e.prototype.afterHeaderCompCreated=function(t,e){this.appendChild(e),this.setupMove(e.getGui(),t)},e.prototype.addClasses=function(){this.columnGroup.isPadding()?this.addCssClass("ag-header-group-cell-no-group"):this.addCssClass("ag-header-group-cell-with-group")},e.prototype.setupMove=function(t,e){var o=this;if(t&&!this.isSuppressMoving()){var i=this.columnGroup.getOriginalColumnGroup().getLeafColumns();if(t){var n={type:y.DragSourceType.HeaderCell,eElement:t,dragItemName:e,dragItemCallback:this.getDragItemForGroup.bind(this),dragSourceDropTarget:this.dragSourceDropTarget,dragStarted:function(){return i.forEach((function(t){return t.setMoving(!0,"uiColumnDragged")}))},dragStopped:function(){return i.forEach((function(t){return t.setMoving(!1,"uiColumnDragged")}))}};this.dragAndDropService.addDragSource(n,!0),this.addDestroyFunc((function(){return o.dragAndDropService.removeDragSource(n)}))}}},e.prototype.getDragItemForGroup=function(){var t=this.columnGroup.getOriginalColumnGroup().getLeafColumns(),e={};t.forEach((function(t){return e[t.getId()]=t.isVisible()}));var o=[];return this.columnController.getAllDisplayedColumns().forEach((function(e){t.indexOf(e)>=0&&(o.push(e),_._.removeFromArray(t,e))})),t.forEach((function(t){return o.push(t)})),{columns:o,visibleState:e}},e.prototype.isSuppressMoving=function(){var t=!1;return this.columnGroup.getLeafColumns().forEach((function(e){(e.getColDef().suppressMovable||e.isLockPosition())&&(t=!0)})),t||this.gridOptionsWrapper.isSuppressMovableColumns()},e.prototype.setupWidth=function(){this.addListenersToChildrenColumns(),this.addDestroyableEventListener(this.columnGroup,p.ColumnGroup.EVENT_DISPLAYED_CHILDREN_CHANGED,this.onDisplayedChildrenChanged.bind(this)),this.onWidthChanged(),this.addDestroyFunc(this.destroyListenersOnChildrenColumns.bind(this))},e.prototype.onDisplayedChildrenChanged=function(){this.addListenersToChildrenColumns(),this.onWidthChanged()},e.prototype.addListenersToChildrenColumns=function(){var t=this;this.destroyListenersOnChildrenColumns();var e=this.onWidthChanged.bind(this);this.columnGroup.getLeafColumns().forEach((function(o){o.addEventListener(l.Column.EVENT_WIDTH_CHANGED,e),o.addEventListener(l.Column.EVENT_VISIBLE_CHANGED,e),t.childColumnsDestroyFuncs.push((function(){o.removeEventListener(l.Column.EVENT_WIDTH_CHANGED,e),o.removeEventListener(l.Column.EVENT_VISIBLE_CHANGED,e)}))}))},e.prototype.destroyListenersOnChildrenColumns=function(){this.childColumnsDestroyFuncs.forEach((function(t){return t()})),this.childColumnsDestroyFuncs=[]},e.prototype.onWidthChanged=function(){this.getGui().style.width=this.columnGroup.getActualWidth()+"px"},e.prototype.setupResize=function(){var t=this;if(this.eHeaderCellResize=this.getRefElement("agResize"),this.columnGroup.isResizable()){var e=this.horizontalResizeService.addResizeBar({eResizeBar:this.eHeaderCellResize,onResizeStart:this.onResizeStart.bind(this),onResizing:this.onResizing.bind(this,!1),onResizeEnd:this.onResizing.bind(this,!0)});this.addDestroyFunc(e),this.gridOptionsWrapper.isSuppressAutoSize()||this.eHeaderCellResize.addEventListener("dblclick",(function(e){var o=[];t.columnGroup.getDisplayedLeafColumns().forEach((function(t){t.getColDef().suppressAutoSize||o.push(t.getColId())})),o.length>0&&t.columnController.autoSizeColumns(o,"uiColumnResized")}))}else _._.removeFromParent(this.eHeaderCellResize)},e.prototype.onResizeStart=function(t){var e=this,o=this.columnGroup.getDisplayedLeafColumns();this.resizeCols=_._.filter(o,(function(t){return t.isResizable()})),this.resizeStartWidth=0,this.resizeCols.forEach((function(t){return e.resizeStartWidth+=t.getActualWidth()})),this.resizeRatios=[],this.resizeCols.forEach((function(t){return e.resizeRatios.push(t.getActualWidth()/e.resizeStartWidth)}));var i=null;if(t&&(i=this.columnController.getDisplayedGroupAfter(this.columnGroup)),i){var n=i.getDisplayedLeafColumns();this.resizeTakeFromCols=_._.filter(n,(function(t){return t.isResizable()})),this.resizeTakeFromStartWidth=0,this.resizeTakeFromCols.forEach((function(t){return e.resizeTakeFromStartWidth+=t.getActualWidth()})),this.resizeTakeFromRatios=[],this.resizeTakeFromCols.forEach((function(t){return e.resizeTakeFromRatios.push(t.getActualWidth()/e.resizeTakeFromStartWidth)}))}else this.resizeTakeFromCols=null,this.resizeTakeFromStartWidth=null,this.resizeTakeFromRatios=null;_._.addCssClass(this.getGui(),"ag-column-resizing")},e.prototype.onResizing=function(t,e){var o=[],i=this.normaliseDragChange(e);o.push({columns:this.resizeCols,ratios:this.resizeRatios,width:this.resizeStartWidth+i}),this.resizeTakeFromCols&&o.push({columns:this.resizeTakeFromCols,ratios:this.resizeTakeFromRatios,width:this.resizeTakeFromStartWidth-i}),this.columnController.resizeColumnSets(o,t,"uiColumnDragged"),t&&_._.removeCssClass(this.getGui(),"ag-column-resizing")},e.prototype.normaliseDragChange=function(t){var e=t;return this.gridOptionsWrapper.isEnableRtl()?this.pinned!==l.Column.PINNED_LEFT&&(e*=-1):this.pinned===l.Column.PINNED_RIGHT&&(e*=-1),e},e.TEMPLATE='<div class="ag-header-group-cell"><div ref="agResize" class="ag-header-cell-resize"></div></div>',r([f.Autowired("gridOptionsWrapper"),s("design:type",d.GridOptionsWrapper)],e.prototype,"gridOptionsWrapper",void 0),r([f.Autowired("columnController"),s("design:type",c.ColumnController)],e.prototype,"columnController",void 0),r([f.Autowired("horizontalResizeService"),s("design:type",h.HorizontalResizeService)],e.prototype,"horizontalResizeService",void 0),r([f.Autowired("dragAndDropService"),s("design:type",y.DragAndDropService)],e.prototype,"dragAndDropService",void 0),r([f.Autowired("userComponentFactory"),s("design:type",C.UserComponentFactory)],e.prototype,"userComponentFactory",void 0),r([f.Autowired("gridApi"),s("design:type",v.GridApi)],e.prototype,"gridApi",void 0),r([f.Autowired("columnApi"),s("design:type",u.ColumnApi)],e.prototype,"columnApi",void 0),r([f.Autowired("beans"),s("design:type",E.Beans)],e.prototype,"beans",void 0),r([f.PostConstruct,s("design:type",Function),s("design:paramtypes",[]),s("design:returntype",void 0)],e.prototype,"postConstruct",null),e}(a.Component);e.HeaderGroupWrapperComp=S},19378:function(t,e,o){var i,n=this&&this.__extends||(i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},i(t,e)},function(t,e){function o(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),r=this&&this.__assign||function(){return r=Object.assign||function(t){for(var e,o=1,i=arguments.length;o<i;o++)for(var n in e=arguments[o])Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t},r.apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0});var s=o(23054),a=o(15068),l=o(26016),p=o(63405),u=o(22131),c=o(83423),d=function(t){function e(e,o,i,n,r,s,a,l,p,u,c){var d=t.call(this)||this;return d.eAllRowContainers=[],d.active=!0,d.rowContainerReadyCount=0,d.refreshNeeded=!1,d.columnRefreshPending=!1,d.cellComps={},d.createSecondPassFuncs=[],d.removeFirstPassFuncs=[],d.removeSecondPassFuncs=[],d.initialised=!1,d.parentScope=e,d.beans=a,d.bodyContainerComp=o,d.pinnedLeftContainerComp=i,d.pinnedRightContainerComp=n,d.fullWidthContainerComp=r,d.rowNode=s,d.rowIsEven=d.rowNode.rowIndex%2==0,d.paginationPage=d.beans.paginationProxy.getCurrentPage(),d.useAnimationFrameForCreate=p,d.printLayout=u,d.embedFullWidth=c,d.setAnimateFlags(l),d}return n(e,t),e.prototype.init=function(){var t=this;this.rowFocused=this.beans.focusedCellController.isRowFocused(this.rowNode.rowIndex,this.rowNode.rowPinned),this.scope=this.createChildScopeOrNull(this.rowNode.data),this.setupRowContainers(),this.addListeners(),this.slideRowIn&&this.createSecondPassFuncs.push((function(){t.onTopChanged()})),this.fadeRowIn&&this.createSecondPassFuncs.push((function(){t.eAllRowContainers.forEach((function(t){return c._.removeCssClass(t,"ag-opacity-zero")}))}))},e.prototype.createTemplate=function(t,e){void 0===e&&(e=null);var o=[],i=this.rowNode.rowHeight,n=this.getInitialRowClasses(e).join(" "),r=c._.escape(this.rowNode.id),s=this.preProcessStylesFromGridOptions(),a=this.getRowBusinessKey(),l=c._.escape(a),p=this.getInitialRowTopStyle();return o.push("<div"),o.push(' role="row"'),o.push(' row-index="'+this.rowNode.getRowIndexString()+'"'),o.push(r?' row-id="'+r+'"':""),o.push(a?' row-business-key="'+l+'"':""),o.push(' comp-id="'+this.getCompId()+'"'),o.push(' class="'+n+'"'),o.push(' style="height: '+i+"px; "+p+" "+s+'">'),o.push(t),o.push("</div>"),o.join("")},e.prototype.getCellForCol=function(t){var e=this.cellComps[t.getColId()];return e?e.getGui():null},e.prototype.afterFlush=function(){this.initialised||(this.initialised=!0,this.executeProcessRowPostCreateFunc())},e.prototype.executeProcessRowPostCreateFunc=function(){var t=this.beans.gridOptionsWrapper.getProcessRowPostCreateFunc();t&&t({eRow:this.eBodyRow,ePinnedLeftRow:this.ePinnedLeftRow,ePinnedRightRow:this.ePinnedRightRow,node:this.rowNode,api:this.beans.gridOptionsWrapper.getApi(),rowIndex:this.rowNode.rowIndex,addRenderedRowListener:this.addEventListener.bind(this),columnApi:this.beans.gridOptionsWrapper.getColumnApi(),context:this.beans.gridOptionsWrapper.getContext()})},e.prototype.getInitialRowTopStyle=function(){if(this.printLayout)return"";var t=this.slideRowIn?this.roundRowTopToBounds(this.rowNode.oldRowTop):this.rowNode.rowTop,e=this.applyPaginationOffset(t),o=this.beans.maxDivHeightScaler.getRealPixelPosition(e);return this.beans.gridOptionsWrapper.isSuppressRowTransform()?"top: "+o+"px; ":"transform: translateY("+o+"px);"},e.prototype.getRowBusinessKey=function(){var t=this.beans.gridOptionsWrapper.getBusinessKeyForNodeFunc();if("function"==typeof t)return t(this.rowNode)},e.prototype.areAllContainersReady=function(){return 3===this.rowContainerReadyCount},e.prototype.lazyCreateCells=function(t,e){if(this.active){var o=this.createCells(t);e.innerHTML=o.template,this.callAfterRowAttachedOnCells(o.cellComps,e),this.rowContainerReadyCount++,this.areAllContainersReady()&&this.refreshNeeded&&this.refreshCells()}},e.prototype.createRowContainer=function(t,e,o){var i=this,n=this.useAnimationFrameForCreate,r=n?{cellComps:[],template:""}:this.createCells(e),s=this.createTemplate(r.template);t.appendRowTemplate(s,(function(){var s=t.getRowElement(i.getCompId());i.afterRowAttached(t,s),o(s),n?i.beans.taskQueue.addP1Task(i.lazyCreateCells.bind(i,e,s),i.rowNode.rowIndex):(i.callAfterRowAttachedOnCells(r.cellComps,s),i.rowContainerReadyCount=3)}))},e.prototype.createChildScopeOrNull=function(t){if(!this.beans.gridOptionsWrapper.isAngularCompileRows())return null;var e=this.parentScope.$new();return e.data=r({},t),e.rowNode=this.rowNode,e.context=this.beans.gridOptionsWrapper.getContext(),this.addDestroyFunc((function(){e.$destroy(),e.data=null,e.rowNode=null,e.context=null})),e},e.prototype.setupRowContainers=function(){var t=this.beans.gridOptionsWrapper.getIsFullWidthCellFunc(),o=!!t&&t(this.rowNode),i=this.beans.doingMasterDetail&&this.rowNode.detail,n=this.rowNode.group&&this.beans.gridOptionsWrapper.isGroupUseEntireRow();this.rowNode.stub?this.createFullWidthRows(e.LOADING_CELL_RENDERER,e.LOADING_CELL_RENDERER_COMP_NAME):i?this.createFullWidthRows(e.DETAIL_CELL_RENDERER,e.DETAIL_CELL_RENDERER_COMP_NAME):o?this.createFullWidthRows(e.FULL_WIDTH_CELL_RENDERER,null):n?this.createFullWidthRows(e.GROUP_ROW_RENDERER,e.GROUP_ROW_RENDERER_COMP_NAME):this.setupNormalRowContainers()},e.prototype.setupNormalRowContainers=function(){var t,e,o,i=this;this.printLayout?(t=this.beans.columnController.getAllDisplayedColumns(),e=[],o=[]):(t=this.beans.columnController.getAllDisplayedCenterVirtualColumnsForRow(this.rowNode),e=this.beans.columnController.getDisplayedLeftColumnsForRow(this.rowNode),o=this.beans.columnController.getDisplayedRightColumnsForRow(this.rowNode)),this.createRowContainer(this.bodyContainerComp,t,(function(t){return i.eBodyRow=t})),this.createRowContainer(this.pinnedRightContainerComp,o,(function(t){return i.ePinnedRightRow=t})),this.createRowContainer(this.pinnedLeftContainerComp,e,(function(t){return i.ePinnedLeftRow=t}))},e.prototype.createFullWidthRows=function(t,e){var o=this;this.fullWidthRow=!0,this.embedFullWidth?(this.createFullWidthRowContainer(this.bodyContainerComp,null,null,t,e,(function(t){o.eFullWidthRowBody=t}),(function(t){o.fullWidthRowComponentBody=t})),this.printLayout||(this.createFullWidthRowContainer(this.pinnedLeftContainerComp,l.Column.PINNED_LEFT,"ag-cell-last-left-pinned",t,e,(function(t){o.eFullWidthRowLeft=t}),(function(t){o.fullWidthRowComponentLeft=t})),this.createFullWidthRowContainer(this.pinnedRightContainerComp,l.Column.PINNED_RIGHT,"ag-cell-first-right-pinned",t,e,(function(t){o.eFullWidthRowRight=t}),(function(t){o.fullWidthRowComponentRight=t})))):this.createFullWidthRowContainer(this.fullWidthContainerComp,null,null,t,e,(function(t){o.eFullWidthRow=t}),(function(t){o.fullWidthRowComponent=t}))},e.prototype.setAnimateFlags=function(t){if(t){var e=c._.exists(this.rowNode.oldRowTop);this.slideRowIn=e,this.fadeRowIn=!e}else this.slideRowIn=!1,this.fadeRowIn=!1},e.prototype.isEditing=function(){return this.editingRow},e.prototype.stopRowEditing=function(t){this.stopEditing(t)},e.prototype.isFullWidth=function(){return this.fullWidthRow},e.prototype.addListeners=function(){this.addDestroyableEventListener(this.rowNode,a.RowNode.EVENT_HEIGHT_CHANGED,this.onRowHeightChanged.bind(this)),this.addDestroyableEventListener(this.rowNode,a.RowNode.EVENT_ROW_SELECTED,this.onRowSelected.bind(this)),this.addDestroyableEventListener(this.rowNode,a.RowNode.EVENT_ROW_INDEX_CHANGED,this.onRowIndexChanged.bind(this)),this.addDestroyableEventListener(this.rowNode,a.RowNode.EVENT_TOP_CHANGED,this.onTopChanged.bind(this)),this.addDestroyableEventListener(this.rowNode,a.RowNode.EVENT_EXPANDED_CHANGED,this.onExpandedChanged.bind(this)),this.addDestroyableEventListener(this.rowNode,a.RowNode.EVENT_DATA_CHANGED,this.onRowNodeDataChanged.bind(this)),this.addDestroyableEventListener(this.rowNode,a.RowNode.EVENT_CELL_CHANGED,this.onRowNodeCellChanged.bind(this)),this.addDestroyableEventListener(this.rowNode,a.RowNode.EVENT_DRAGGING_CHANGED,this.onRowNodeDraggingChanged.bind(this));var t=this.beans.eventService;this.addDestroyableEventListener(t,p.Events.EVENT_HEIGHT_SCALE_CHANGED,this.onTopChanged.bind(this)),this.addDestroyableEventListener(t,p.Events.EVENT_DISPLAYED_COLUMNS_CHANGED,this.onDisplayedColumnsChanged.bind(this)),this.addDestroyableEventListener(t,p.Events.EVENT_VIRTUAL_COLUMNS_CHANGED,this.onVirtualColumnsChanged.bind(this)),this.addDestroyableEventListener(t,p.Events.EVENT_COLUMN_RESIZED,this.onColumnResized.bind(this)),this.addDestroyableEventListener(t,p.Events.EVENT_CELL_FOCUSED,this.onCellFocusChanged.bind(this)),this.addDestroyableEventListener(t,p.Events.EVENT_PAGINATION_CHANGED,this.onPaginationChanged.bind(this)),this.addDestroyableEventListener(t,p.Events.EVENT_GRID_COLUMNS_CHANGED,this.onGridColumnsChanged.bind(this)),this.addDestroyableEventListener(t,p.Events.EVENT_MODEL_UPDATED,this.onModelUpdated.bind(this))},e.prototype.onGridColumnsChanged=function(){this.removeRenderedCells(Object.keys(this.cellComps))},e.prototype.onRowNodeDataChanged=function(t){this.forEachCellComp((function(e){return e.refreshCell({suppressFlash:!t.update,newData:!t.update})})),this.onRowSelected(),this.postProcessCss()},e.prototype.onRowNodeCellChanged=function(t){this.postProcessCss()},e.prototype.postProcessCss=function(){this.postProcessStylesFromGridOptions(),this.postProcessClassesFromGridOptions(),this.postProcessRowClassRules(),this.postProcessRowDragging()},e.prototype.onRowNodeDraggingChanged=function(){this.postProcessRowDragging()},e.prototype.postProcessRowDragging=function(){var t=this.rowNode.dragging;this.eAllRowContainers.forEach((function(e){return c._.addOrRemoveCssClass(e,"ag-row-dragging",t)}))},e.prototype.onExpandedChanged=function(){var t=this.rowNode;this.eAllRowContainers.forEach((function(e){return c._.addOrRemoveCssClass(e,"ag-row-group-expanded",t.expanded)})),this.eAllRowContainers.forEach((function(e){return c._.addOrRemoveCssClass(e,"ag-row-group-contracted",!t.expanded)}))},e.prototype.onDisplayedColumnsChanged=function(){this.fullWidthRow||this.refreshCells()},e.prototype.destroyFullWidthComponents=function(){this.fullWidthRowComponent&&(this.fullWidthRowComponent.destroy&&this.fullWidthRowComponent.destroy(),this.fullWidthRowComponent=null),this.fullWidthRowComponentBody&&(this.fullWidthRowComponentBody.destroy&&this.fullWidthRowComponentBody.destroy(),this.fullWidthRowComponent=null),this.fullWidthRowComponentLeft&&(this.fullWidthRowComponentLeft.destroy&&this.fullWidthRowComponentLeft.destroy(),this.fullWidthRowComponentLeft=null),this.fullWidthRowComponentRight&&(this.fullWidthRowComponentRight.destroy&&this.fullWidthRowComponentRight.destroy(),this.fullWidthRowComponent=null)},e.prototype.getContainerForCell=function(t){switch(t){case l.Column.PINNED_LEFT:return this.ePinnedLeftRow;case l.Column.PINNED_RIGHT:return this.ePinnedRightRow;default:return this.eBodyRow}},e.prototype.onVirtualColumnsChanged=function(){this.fullWidthRow||this.refreshCells()},e.prototype.onColumnResized=function(){this.fullWidthRow||this.refreshCells()},e.prototype.refreshCells=function(){if(this.areAllContainersReady())if(this.beans.gridOptionsWrapper.isSuppressAnimationFrame()||this.printLayout)this.refreshCellsInAnimationFrame();else{if(this.columnRefreshPending)return;this.beans.taskQueue.addP1Task(this.refreshCellsInAnimationFrame.bind(this),this.rowNode.rowIndex)}else this.refreshNeeded=!0},e.prototype.refreshCellsInAnimationFrame=function(){if(this.active){var t,e,o;this.columnRefreshPending=!1,this.printLayout?(t=this.beans.columnController.getAllDisplayedColumns(),e=[],o=[]):(t=this.beans.columnController.getAllDisplayedCenterVirtualColumnsForRow(this.rowNode),e=this.beans.columnController.getDisplayedLeftColumnsForRow(this.rowNode),o=this.beans.columnController.getDisplayedRightColumnsForRow(this.rowNode)),this.insertCellsIntoContainer(this.eBodyRow,t),this.insertCellsIntoContainer(this.ePinnedLeftRow,e),this.insertCellsIntoContainer(this.ePinnedRightRow,o);var i=Object.keys(this.cellComps);t.forEach((function(t){return c._.removeFromArray(i,t.getId())})),e.forEach((function(t){return c._.removeFromArray(i,t.getId())})),o.forEach((function(t){return c._.removeFromArray(i,t.getId())}));var n=c._.filter(i,this.isCellEligibleToBeRemoved.bind(this));this.removeRenderedCells(n)}},e.prototype.removeRenderedCells=function(t){var e=this;t.forEach((function(t){var o=e.cellComps[t];c._.missing(o)||(o.detach(),o.destroy(),e.cellComps[t]=null)}))},e.prototype.isCellEligibleToBeRemoved=function(t){var e=this.beans.columnController.getAllDisplayedColumns(),o=!0,i=this.cellComps[t];if(!i)return o;if(this.isCellInWrongRow(i))return o;var n=i.isEditing(),r=this.beans.focusedCellController.isCellFocused(i.getGridCell());if(n||r){var s=i.getColumn();return!(e.indexOf(s)>=0)&&o}return o},e.prototype.ensureCellInCorrectContainer=function(t){if(!this.printLayout){var e=t.getGui(),o=t.getColumn().getPinned(),i=this.getContainerForCell(o),n=t.getParentRow();n!==i&&(n&&n.removeChild(e),i.appendChild(e),t.setParentRow(i))}},e.prototype.isCellInWrongRow=function(t){var e=t.getColumn(),o=this.getContainerForCell(e.getPinned());return t.getParentRow()!==o},e.prototype.insertCellsIntoContainer=function(t,e){var o=this;if(t){var i=[],n=[];e.forEach((function(e){var r=e.getId(),s=o.cellComps[r];s?o.ensureCellInCorrectContainer(s):o.createNewCell(e,t,i,n)})),i.length>0&&(c._.appendHtml(t,i.join("")),this.callAfterRowAttachedOnCells(n,t))}},e.prototype.addDomData=function(t){var o=this.beans.gridOptionsWrapper;o.setDomData(t,e.DOM_DATA_KEY_RENDERED_ROW,this),this.addDestroyFunc((function(){o.setDomData(t,e.DOM_DATA_KEY_RENDERED_ROW,null)}))},e.prototype.createNewCell=function(t,e,o,i){var n=new s.CellComp(this.scope,this.beans,t,this.rowNode,this,!1,this.printLayout),r=n.getCreateTemplate();o.push(r),i.push(n),this.cellComps[t.getId()]=n,n.setParentRow(e)},e.prototype.onMouseEvent=function(t,e){switch(t){case"dblclick":this.onRowDblClick(e);break;case"click":this.onRowClick(e)}},e.prototype.createRowEvent=function(t,e){return{type:t,node:this.rowNode,data:this.rowNode.data,rowIndex:this.rowNode.rowIndex,rowPinned:this.rowNode.rowPinned,context:this.beans.gridOptionsWrapper.getContext(),api:this.beans.gridOptionsWrapper.getApi(),columnApi:this.beans.gridOptionsWrapper.getColumnApi(),event:e}},e.prototype.createRowEventWithSource=function(t,e){var o=this.createRowEvent(t,e);return o.source=this,o},e.prototype.onRowDblClick=function(t){if(!c._.isStopPropagationForAgGrid(t)){var e=this.createRowEventWithSource(p.Events.EVENT_ROW_DOUBLE_CLICKED,t);this.beans.eventService.dispatchEvent(e)}},e.prototype.onRowClick=function(t){if(!c._.isStopPropagationForAgGrid(t)){var e=this.createRowEventWithSource(p.Events.EVENT_ROW_CLICKED,t);this.beans.eventService.dispatchEvent(e);var o=t.ctrlKey||t.metaKey,i=t.shiftKey;if(!this.rowNode.group&&this.rowNode.selectable&&!this.rowNode.rowPinned&&this.beans.gridOptionsWrapper.isRowSelection()&&!this.beans.gridOptionsWrapper.isSuppressRowClickSelection()){var n=this.beans.gridOptionsWrapper.isRowMultiSelectWithClick(),r=this.beans.gridOptionsWrapper.isRowDeselection();if(this.rowNode.isSelected())n?this.rowNode.setSelectedParams({newValue:!1}):o?r&&this.rowNode.setSelectedParams({newValue:!1}):this.rowNode.setSelectedParams({newValue:!0,clearSelection:!0});else{var s=!n&&!o;this.rowNode.setSelectedParams({newValue:!0,clearSelection:s,rangeSelect:i})}}}},e.prototype.createFullWidthRowContainer=function(t,e,o,i,n,r,s){var a=this,l=this.createTemplate("",o);t.appendRowTemplate(l,(function(){var o=t.getRowElement(a.getCompId()),l=a.createFullWidthParams(o,e),p=a.beans.userComponentFactory.newFullWidthCellRenderer(l,i,n);p?(p.then((function(t){if(a.isAlive()){var e=t.getGui();o.appendChild(e),s(t)}else t.destroy&&t.destroy()})),a.afterRowAttached(t,o),r(o),a.beans.doingMasterDetail&&a.rowNode.detail||a.angular1Compile(o)):console.error("ag-Grid: fullWidthCellRenderer not defined")}))},e.prototype.angular1Compile=function(t){this.scope&&this.beans.$compile(t)(this.scope)},e.prototype.createFullWidthParams=function(t,e){return{fullWidth:!0,data:this.rowNode.data,node:this.rowNode,value:this.rowNode.key,$scope:this.scope?this.scope:this.parentScope,$compile:this.beans.$compile,rowIndex:this.rowNode.rowIndex,api:this.beans.gridOptionsWrapper.getApi(),columnApi:this.beans.gridOptionsWrapper.getColumnApi(),context:this.beans.gridOptionsWrapper.getContext(),eGridCell:t,eParentOfValue:t,pinned:e,addRenderedRowListener:this.addEventListener.bind(this)}},e.prototype.getInitialRowClasses=function(t){var e=[],o=this.beans.gridOptionsWrapper.isTreeData(),i=this.rowNode;return c._.exists(t)&&e.push(t),e.push("ag-row"),e.push(this.rowFocused?"ag-row-focus":"ag-row-no-focus"),this.fadeRowIn&&e.push("ag-opacity-zero"),e.push(this.rowIsEven?"ag-row-even":"ag-row-odd"),i.isSelected()&&e.push("ag-row-selected"),i.group?(e.push("ag-row-group"),e.push("ag-row-level-"+i.level),i.footer&&e.push("ag-row-footer")):e.push("ag-row-level-"+(i.parent?i.parent.level+1:"0")),i.stub&&e.push("ag-row-stub"),this.fullWidthRow&&e.push("ag-full-width-row"),(o?i.allChildrenCount:i.group&&!i.footer)&&e.push(i.expanded?"ag-row-group-expanded":"ag-row-group-contracted"),i.dragging&&e.push("ag-row-dragging"),c._.pushAll(e,this.processClassesFromGridOptions()),c._.pushAll(e,this.preProcessRowClassRules()),e.push(this.printLayout?"ag-row-position-relative":"ag-row-position-absolute"),this.firstRowOnPage=this.isFirstRowOnPage(),this.lastRowOnPage=this.isLastRowOnPage(),this.firstRowOnPage&&e.push("ag-row-first"),this.lastRowOnPage&&e.push("ag-row-last"),e},e.prototype.isFirstRowOnPage=function(){return this.rowNode.rowIndex===this.beans.paginationProxy.getPageFirstRow()},e.prototype.isLastRowOnPage=function(){return this.rowNode.rowIndex===this.beans.paginationProxy.getPageLastRow()},e.prototype.onModelUpdated=function(){var t=this.isFirstRowOnPage(),e=this.isLastRowOnPage();this.firstRowOnPage!==t&&(this.firstRowOnPage=t,this.eAllRowContainers.forEach((function(e){return c._.addOrRemoveCssClass(e,"ag-row-first",t)}))),this.lastRowOnPage!==e&&(this.lastRowOnPage=e,this.eAllRowContainers.forEach((function(t){return c._.addOrRemoveCssClass(t,"ag-row-last",e)})))},e.prototype.preProcessRowClassRules=function(){var t=[];return this.processRowClassRules((function(e){t.push(e)}),(function(t){})),t},e.prototype.processRowClassRules=function(t,e){this.beans.stylingService.processClassRules(this.beans.gridOptionsWrapper.rowClassRules(),{value:void 0,colDef:void 0,data:this.rowNode.data,node:this.rowNode,rowIndex:this.rowNode.rowIndex,api:this.beans.gridOptionsWrapper.getApi(),$scope:this.scope,context:this.beans.gridOptionsWrapper.getContext()},t,e)},e.prototype.stopEditing=function(t){if(void 0===t&&(t=!1),this.forEachCellComp((function(e){e.stopEditing(t)})),this.editingRow){if(!t){var e=this.createRowEvent(p.Events.EVENT_ROW_VALUE_CHANGED);this.beans.eventService.dispatchEvent(e)}this.setEditingRow(!1)}},e.prototype.setEditingRow=function(t){this.editingRow=t,this.eAllRowContainers.forEach((function(e){return c._.addOrRemoveCssClass(e,"ag-row-editing",t)}));var e=t?this.createRowEvent(p.Events.EVENT_ROW_EDITING_STARTED):this.createRowEvent(p.Events.EVENT_ROW_EDITING_STOPPED);this.beans.eventService.dispatchEvent(e)},e.prototype.startRowEditing=function(t,e,o){void 0===t&&(t=null),void 0===e&&(e=null),void 0===o&&(o=null),this.editingRow||(this.forEachCellComp((function(i){var n=i===o;n?i.startEditingIfEnabled(t,e,n):i.startEditingIfEnabled(null,null,n)})),this.setEditingRow(!0))},e.prototype.forEachCellComp=function(t){c._.iterateObject(this.cellComps,(function(e,o){o&&t(o)}))},e.prototype.postProcessClassesFromGridOptions=function(){var t=this,e=this.processClassesFromGridOptions();e&&e.length&&e.forEach((function(e){t.eAllRowContainers.forEach((function(t){return c._.addCssClass(t,e)}))}))},e.prototype.postProcessRowClassRules=function(){var t=this;this.processRowClassRules((function(e){t.eAllRowContainers.forEach((function(t){return c._.addCssClass(t,e)}))}),(function(e){t.eAllRowContainers.forEach((function(t){return c._.removeCssClass(t,e)}))}))},e.prototype.processClassesFromGridOptions=function(){var t=[],e=function(e){"string"==typeof e?t.push(e):Array.isArray(e)&&e.forEach((function(e){return t.push(e)}))},o=this.beans.gridOptionsWrapper.getRowClass();if(o){if("function"==typeof o)return void console.warn("ag-Grid: rowClass should not be a function, please use getRowClass instead");e(o)}var i=this.beans.gridOptionsWrapper.getRowClassFunc();return i&&e(i({node:this.rowNode,data:this.rowNode.data,rowIndex:this.rowNode.rowIndex,context:this.beans.gridOptionsWrapper.getContext(),api:this.beans.gridOptionsWrapper.getApi()})),t},e.prototype.preProcessStylesFromGridOptions=function(){var t=this.processStylesFromGridOptions();return c._.cssStyleObjectToMarkup(t)},e.prototype.postProcessStylesFromGridOptions=function(){var t=this.processStylesFromGridOptions();this.eAllRowContainers.forEach((function(e){return c._.addStylesToElement(e,t)}))},e.prototype.processStylesFromGridOptions=function(){var t=this.beans.gridOptionsWrapper.getRowStyle();if(!t||"function"!=typeof t){var e,o=this.beans.gridOptionsWrapper.getRowStyleFunc();return o&&(e=o({data:this.rowNode.data,node:this.rowNode,api:this.beans.gridOptionsWrapper.getApi(),context:this.beans.gridOptionsWrapper.getContext(),$scope:this.scope})),c._.assign({},t,e)}console.warn("ag-Grid: rowStyle should be an object of key/value styles, not be a function, use getRowStyle() instead")},e.prototype.createCells=function(t){var e=this,o=[],i=[];return t.forEach((function(t){var n=new s.CellComp(e.scope,e.beans,t,e.rowNode,e,!1,e.printLayout),r=n.getCreateTemplate();o.push(r),i.push(n),e.cellComps[t.getId()]=n})),{template:o.join(""),cellComps:i}},e.prototype.onRowSelected=function(){var t=this.rowNode.isSelected();this.eAllRowContainers.forEach((function(e){return c._.addOrRemoveCssClass(e,"ag-row-selected",t)}))},e.prototype.callAfterRowAttachedOnCells=function(t,e){var o=this;t.forEach((function(t){t.setParentRow(e),t.afterAttached(),o.editingRow&&t.startEditingIfEnabled()}))},e.prototype.afterRowAttached=function(t,e){var o=this;this.addDomData(e),this.removeSecondPassFuncs.push((function(){t.removeRowElement(e)})),this.removeFirstPassFuncs.push((function(){if(c._.exists(o.rowNode.rowTop)){var t=o.roundRowTopToBounds(o.rowNode.rowTop);o.setRowTop(t)}else c._.addCssClass(e,"ag-opacity-zero")})),this.eAllRowContainers.push(e),this.useAnimationFrameForCreate?this.beans.taskQueue.addP2Task(this.addHoverFunctionality.bind(this,e)):this.addHoverFunctionality(e)},e.prototype.addHoverFunctionality=function(t){var e=this;this.active&&(this.addDestroyableEventListener(t,"mouseenter",(function(){return e.rowNode.onMouseEnter()})),this.addDestroyableEventListener(t,"mouseleave",(function(){return e.rowNode.onMouseLeave()})),this.addDestroyableEventListener(this.rowNode,a.RowNode.EVENT_MOUSE_ENTER,(function(){e.beans.gridOptionsWrapper.isSuppressRowHoverHighlight()||c._.addCssClass(t,"ag-row-hover")})),this.addDestroyableEventListener(this.rowNode,a.RowNode.EVENT_MOUSE_LEAVE,(function(){c._.removeCssClass(t,"ag-row-hover")})))},e.prototype.roundRowTopToBounds=function(t){var e=this.beans.gridPanel.getVScrollPosition(),o=this.applyPaginationOffset(e.top,!0)-100,i=this.applyPaginationOffset(e.bottom,!0)+100;return Math.min(Math.max(o,t),i)},e.prototype.onRowHeightChanged=function(){if(c._.exists(this.rowNode.rowHeight)){var t=this.rowNode.rowHeight+"px";this.eAllRowContainers.forEach((function(e){return e.style.height=t}))}},e.prototype.addEventListener=function(e,o){"renderedRowRemoved"!==e&&"rowRemoved"!==e||(e=p.Events.EVENT_VIRTUAL_ROW_REMOVED,console.warn("ag-Grid: Since version 11, event renderedRowRemoved is now called "+p.Events.EVENT_VIRTUAL_ROW_REMOVED)),t.prototype.addEventListener.call(this,e,o)},e.prototype.removeEventListener=function(e,o){"renderedRowRemoved"!==e&&"rowRemoved"!==e||(e=p.Events.EVENT_VIRTUAL_ROW_REMOVED,console.warn("ag-Grid: Since version 11, event renderedRowRemoved and rowRemoved is now called "+p.Events.EVENT_VIRTUAL_ROW_REMOVED)),t.prototype.removeEventListener.call(this,e,o)},e.prototype.destroy=function(e){void 0===e&&(e=!1),t.prototype.destroy.call(this),this.active=!1,this.destroyFullWidthComponents(),e?(this.removeFirstPassFuncs.forEach((function(t){return t()})),this.removeSecondPassFuncs.push(this.destroyContainingCells.bind(this))):(this.destroyContainingCells(),this.getAndClearDelayedDestroyFunctions().forEach((function(t){return t()})));var o=this.createRowEvent(p.Events.EVENT_VIRTUAL_ROW_REMOVED);this.dispatchEvent(o),this.beans.eventService.dispatchEvent(o)},e.prototype.destroyContainingCells=function(){this.forEachCellComp((function(t){return t.destroy()})),this.destroyFullWidthComponents()},e.prototype.getAndClearDelayedDestroyFunctions=function(){var t=this.removeSecondPassFuncs;return this.removeSecondPassFuncs=[],t},e.prototype.onCellFocusChanged=function(){var t=this.beans.focusedCellController.isRowFocused(this.rowNode.rowIndex,this.rowNode.rowPinned);t!==this.rowFocused&&(this.eAllRowContainers.forEach((function(e){return c._.addOrRemoveCssClass(e,"ag-row-focus",t)})),this.eAllRowContainers.forEach((function(e){return c._.addOrRemoveCssClass(e,"ag-row-no-focus",!t)})),this.rowFocused=t),!t&&this.editingRow&&this.stopEditing(!1)},e.prototype.onPaginationChanged=function(){var t=this.beans.paginationProxy.getCurrentPage();this.paginationPage!==t&&(this.paginationPage=t,this.onTopChanged())},e.prototype.onTopChanged=function(){this.setRowTop(this.rowNode.rowTop)},e.prototype.applyPaginationOffset=function(t,e){return void 0===e&&(e=!1),this.rowNode.isRowPinned()?t:t+this.beans.paginationProxy.getPixelOffset()*(e?1:-1)},e.prototype.setRowTop=function(t){if(!this.printLayout&&c._.exists(t)){var e=this.applyPaginationOffset(t),o=this.beans.maxDivHeightScaler.getRealPixelPosition(e)+"px";this.beans.gridOptionsWrapper.isSuppressRowTransform()?this.eAllRowContainers.forEach((function(t){return t.style.top=o})):this.eAllRowContainers.forEach((function(t){return t.style.transform="translateY("+o+")"}))}},e.prototype.getAndClearNextVMTurnFunctions=function(){var t=this.createSecondPassFuncs;return this.createSecondPassFuncs=[],t},e.prototype.getRowNode=function(){return this.rowNode},e.prototype.getRenderedCellForColumn=function(t){var e=this,o=this.cellComps[t.getColId()];if(o)return o;var i=Object.keys(this.cellComps).map((function(t){return e.cellComps[t]})).filter((function(e){return-1!==e.getColSpanningList().indexOf(t)}));return i.length?i[0]:void 0},e.prototype.onRowIndexChanged=function(){this.onCellFocusChanged(),this.updateRowIndexes()},e.prototype.updateRowIndexes=function(){var t=this.rowNode.getRowIndexString(),e=this.rowNode.rowIndex%2==0,o=this.rowIsEven!==e;o&&(this.rowIsEven=e),this.eAllRowContainers.forEach((function(i){i.setAttribute("row-index",t),o&&(c._.addOrRemoveCssClass(i,"ag-row-even",e),c._.addOrRemoveCssClass(i,"ag-row-odd",!e))}))},e.prototype.ensureDomOrder=function(){[{el:this.getBodyRowElement(),ct:this.bodyContainerComp},{el:this.getPinnedLeftRowElement(),ct:this.pinnedLeftContainerComp},{el:this.getPinnedRightRowElement(),ct:this.pinnedRightContainerComp},{el:this.getFullWidthRowElement(),ct:this.fullWidthContainerComp}].forEach((function(t){t.el&&t.ct.ensureDomOrder(t.el)}))},e.prototype.getPinnedLeftRowElement=function(){return this.ePinnedLeftRow?this.ePinnedLeftRow:this.eFullWidthRowLeft},e.prototype.getPinnedRightRowElement=function(){return this.ePinnedRightRow?this.ePinnedRightRow:this.eFullWidthRowRight},e.prototype.getBodyRowElement=function(){return this.eBodyRow?this.eBodyRow:this.eFullWidthRowBody},e.prototype.getFullWidthRowElement=function(){return this.eFullWidthRow},e.DOM_DATA_KEY_RENDERED_ROW="renderedRow",e.FULL_WIDTH_CELL_RENDERER="fullWidthCellRenderer",e.GROUP_ROW_RENDERER="groupRowRenderer",e.GROUP_ROW_RENDERER_COMP_NAME="agGroupRowRenderer",e.LOADING_CELL_RENDERER="loadingCellRenderer",e.LOADING_CELL_RENDERER_COMP_NAME="agLoadingCellRenderer",e.DETAIL_CELL_RENDERER="detailCellRenderer",e.DETAIL_CELL_RENDERER_COMP_NAME="agDetailCellRenderer",e}(u.Component);e.RowComp=d},20080:function(t,e,o){var i=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},n=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r=o(58342),s=o(98239),a=o(72493),l=o(44081),p=function(){function t(t){this.columnsToAggregate=[],this.columnsToGroup=[],this.columnsToPivot=[],this.pinned=t}return t.prototype.onDragEnter=function(t){var e=this;this.clearColumnsList(),this.gridOptionsWrapper.isFunctionsReadOnly()||t.dragItem.columns.forEach((function(t){t.isPrimary()&&(t.isAnyFunctionActive()||(t.isAllowValue()?e.columnsToAggregate.push(t):t.isAllowRowGroup()?e.columnsToGroup.push(t):t.isAllowRowGroup()&&e.columnsToPivot.push(t)))}))},t.prototype.getIconName=function(){return this.columnsToAggregate.length+this.columnsToGroup.length+this.columnsToPivot.length>0?this.pinned?r.DragAndDropService.ICON_PINNED:r.DragAndDropService.ICON_MOVE:null},t.prototype.onDragLeave=function(t){this.clearColumnsList()},t.prototype.clearColumnsList=function(){this.columnsToAggregate.length=0,this.columnsToGroup.length=0,this.columnsToPivot.length=0},t.prototype.onDragging=function(t){},t.prototype.onDragStop=function(t){this.columnsToAggregate.length>0&&this.columnController.addValueColumns(this.columnsToAggregate,"toolPanelDragAndDrop"),this.columnsToGroup.length>0&&this.columnController.addRowGroupColumns(this.columnsToGroup,"toolPanelDragAndDrop"),this.columnsToPivot.length>0&&this.columnController.addPivotColumns(this.columnsToPivot,"toolPanelDragAndDrop")},i([a.Autowired("columnController"),n("design:type",s.ColumnController)],t.prototype,"columnController",void 0),i([a.Autowired("gridOptionsWrapper"),n("design:type",l.GridOptionsWrapper)],t.prototype,"gridOptionsWrapper",void 0),t}();e.BodyDropPivotTarget=p},21058:(t,e,o)=>{var i=o(47375).InputStream,n="undefined"==typeof window&&"undefined"==typeof importScripts?o(36374):null,r={fromString:function(t){return new i(t,!0)},fromBlob:function(t,e,o,n){var r=FileReader();r.onload=function(t){var e=new i(t.target.result,!0);o(e)},r.onerror=n,r.readAsText(t,e)},fromBuffer:function(t,e){return new i(t.toString(e),!0)},fromPath:function(t,e,o){n.readFile(t,e,(function(t,e){var n=null;null!==e&&(n=new i(e,!0)),o(t,n)}))},fromPathSync:function(t,e){var o=n.readFileSync(t,e);return new i(o,!0)}};e.CharStreams=r},21951:function(t,e,o){var i,n=this&&this.__extends||(i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},i(t,e)},function(t,e){function o(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),r=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},s=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var a=o(22131),l=o(47721),p=o(72493),u=o(44081),c=o(83423),d=function(t){function e(){var e=t.call(this)||this;return e.selected=!1,e.readOnly=!1,e.passive=!1,e}return n(e,t),e.prototype.preConstruct=function(){this.setTemplate(e.TEMPLATE)},e.prototype.postConstruct=function(){this.loadIcons(),this.updateIcons()},e.prototype.setLabel=function(t){this.eLabel.innerText=t},e.prototype.loadIcons=function(){c._.clearElement(this.eChecked),c._.clearElement(this.eUnchecked),c._.clearElement(this.eIndeterminate),this.readOnly?(this.eChecked.appendChild(c._.createIconNoSpan("checkboxCheckedReadOnly",this.gridOptionsWrapper,null)),this.eUnchecked.appendChild(c._.createIconNoSpan("checkboxUncheckedReadOnly",this.gridOptionsWrapper,null)),this.eIndeterminate.appendChild(c._.createIconNoSpan("checkboxIndeterminateReadOnly",this.gridOptionsWrapper,null))):(this.eChecked.appendChild(c._.createIconNoSpan("checkboxChecked",this.gridOptionsWrapper,null)),this.eUnchecked.appendChild(c._.createIconNoSpan("checkboxUnchecked",this.gridOptionsWrapper,null)),this.eIndeterminate.appendChild(c._.createIconNoSpan("checkboxIndeterminate",this.gridOptionsWrapper,null)))},e.prototype.onClick=function(t){c._.addAgGridEventPath(t),this.readOnly||this.toggle()},e.prototype.getNextValue=function(){return void 0===this.selected||!this.selected},e.prototype.setPassive=function(t){this.passive=t},e.prototype.setReadOnly=function(t){this.readOnly=t,this.loadIcons()},e.prototype.isReadOnly=function(){return this.readOnly},e.prototype.isSelected=function(){return this.selected},e.prototype.toggle=function(){var t=this.getNextValue();if(this.passive){var o={type:e.EVENT_CHANGED,selected:t};this.dispatchEvent(o)}else this.setSelected(t)},e.prototype.setSelected=function(t){if(this.selected!==t){this.selected=!0===t||!1!==t&&void 0,this.updateIcons();var o={type:e.EVENT_CHANGED,selected:this.selected};this.dispatchEvent(o)}},e.prototype.updateIcons=function(){c._.setVisible(this.eChecked,!0===this.selected),c._.setVisible(this.eUnchecked,!1===this.selected),c._.setVisible(this.eIndeterminate,void 0===this.selected)},e.EVENT_CHANGED="change",e.TEMPLATE='<span class="ag-checkbox" role="presentation"> <span class="ag-checkbox-checked" role="presentation"></span> <span class="ag-checkbox-unchecked" role="presentation"></span> <span class="ag-checkbox-indeterminate" role="presentation"></span> <span class="ag-checkbox-label" role="presentation"></span></span>',r([p.Autowired("gridOptionsWrapper"),s("design:type",u.GridOptionsWrapper)],e.prototype,"gridOptionsWrapper",void 0),r([l.QuerySelector(".ag-checkbox-checked"),s("design:type",HTMLElement)],e.prototype,"eChecked",void 0),r([l.QuerySelector(".ag-checkbox-unchecked"),s("design:type",HTMLElement)],e.prototype,"eUnchecked",void 0),r([l.QuerySelector(".ag-checkbox-indeterminate"),s("design:type",HTMLElement)],e.prototype,"eIndeterminate",void 0),r([l.QuerySelector(".ag-checkbox-label"),s("design:type",HTMLElement)],e.prototype,"eLabel",void 0),r([p.PreConstruct,s("design:type",Function),s("design:paramtypes",[]),s("design:returntype",void 0)],e.prototype,"preConstruct",null),r([p.PostConstruct,s("design:type",Function),s("design:paramtypes",[]),s("design:returntype",void 0)],e.prototype,"postConstruct",null),r([l.Listener("click"),s("design:type",Function),s("design:paramtypes",[MouseEvent]),s("design:returntype",void 0)],e.prototype,"onClick",null),e}(a.Component);e.AgCheckbox=d},22131:function(t,e,o){var i,n=this&&this.__extends||(i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},i(t,e)},function(t,e){function o(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),r=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},s=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var a=o(72493),l=o(8534),p=o(83423),u=new p.NumberSequence,c=function(t){function e(e){var o=t.call(this)||this;return o.childComponents=[],o.annotatedEventListeners=[],o.visible=!0,o.compId=u.next(),e&&o.setTemplate(e),o}return n(e,t),e.prototype.getCompId=function(){return this.compId},e.prototype.createChildComponentsFromTags=function(t){var e=this;p._.copyNodeList(t.childNodes).forEach((function(o){var i=e.getContext().createComponentFromElement(o,(function(t){e.copyAttributesFromNode(o,t.getGui())}));i?e.swapComponentForNode(i,t,o):o.childNodes&&e.createChildComponentsFromTags(o)}))},e.prototype.copyAttributesFromNode=function(t,e){p._.iterateNamedNodeMap(t.attributes,(function(t,o){e.setAttribute(t,o)}))},e.prototype.swapComponentForNode=function(t,e,o){var i=t.getGui();e.replaceChild(i,o),e.insertBefore(document.createComment(o.nodeName),i),this.childComponents.push(t),this.swapInComponentForQuerySelectors(t,o)},e.prototype.swapInComponentForQuerySelectors=function(t,e){for(var o=Object.getPrototypeOf(this),i=this;null!=o;){var n=o.__agComponentMetaData,r=o.constructor.name;n&&n[r]&&n[r].querySelectors&&n[r].querySelectors.forEach((function(o){i[o.attributeName]===e&&(i[o.attributeName]=t)})),o=Object.getPrototypeOf(o)}},e.prototype.setTemplate=function(t){var e=p._.loadTemplate(t);this.setTemplateFromElement(e)},e.prototype.setTemplateFromElement=function(t){this.eGui=t,this.eGui.__agComponent=this,this.addAnnotatedEventListeners(),this.wireQuerySelectors(),this.getContext()&&this.createChildComponentsFromTags(this.getGui())},e.prototype.createChildComponentsPreConstruct=function(){this.getGui()&&this.createChildComponentsFromTags(this.getGui())},e.prototype.wireQuerySelectors=function(){var t=this;if(this.eGui)for(var e=Object.getPrototypeOf(this),o=function(){var o=e.__agComponentMetaData,n=e.constructor.name;if(o&&o[n]&&o[n].querySelectors){var r=i;o[n].querySelectors.forEach((function(e){var o=t.eGui.querySelector(e.querySelector);if(o){var i=o.__agComponent;r[e.attributeName]=i||o}}))}e=Object.getPrototypeOf(e)},i=this;null!=e;)o()},e.prototype.addAnnotatedEventListeners=function(){var t=this;if(this.removeAnnotatedEventListeners(),this.eGui){var e=this.getAgComponentMetaData("listenerMethods");p._.missingOrEmpty(e)||(this.annotatedEventListeners||(this.annotatedEventListeners=[]),e.forEach((function(e){var o=t[e.methodName].bind(t);t.eGui.addEventListener(e.eventName,o),t.annotatedEventListeners.push({eventName:e.eventName,listener:o})})))}},e.prototype.getAgComponentMetaData=function(t){for(var e=[],o=Object.getPrototypeOf(this);null!=o;){var i=o.__agComponentMetaData,n=o.constructor.name;i&&i[n]&&i[n][t]&&(e=e.concat(i[n][t])),o=Object.getPrototypeOf(o)}return e},e.prototype.removeAnnotatedEventListeners=function(){var t=this;this.annotatedEventListeners&&this.eGui&&(this.annotatedEventListeners.forEach((function(e){t.eGui.removeEventListener(e.eventName,e.listener)})),this.annotatedEventListeners=[])},e.prototype.getGui=function(){return this.eGui},e.prototype.setGui=function(t){this.eGui=t},e.prototype.queryForHtmlElement=function(t){return this.eGui.querySelector(t)},e.prototype.queryForHtmlInputElement=function(t){return this.eGui.querySelector(t)},e.prototype.appendChild=function(t){if(p._.isNodeOrElement(t))this.eGui.appendChild(t);else{var e=t;this.eGui.appendChild(e.getGui()),this.childComponents.push(e)}},e.prototype.addFeature=function(t,e){t.wireBean(e),e.destroy&&this.addDestroyFunc(e.destroy.bind(e))},e.prototype.isVisible=function(){return this.visible},e.prototype.setVisible=function(t,o){var i="visibility"!==o;if(t!==this.visible){this.visible=t,p._.addOrRemoveCssClass(this.eGui,i?"ag-hidden":"ag-invisible",!t);var n={type:e.EVENT_VISIBLE_CHANGED,visible:this.visible};this.dispatchEvent(n)}},e.prototype.addOrRemoveCssClass=function(t,e){p._.addOrRemoveCssClass(this.eGui,t,e)},e.prototype.destroy=function(){t.prototype.destroy.call(this),this.childComponents.forEach((function(t){t&&t.destroy&&t.destroy()})),this.childComponents.length=0,this.removeAnnotatedEventListeners()},e.prototype.addGuiEventListener=function(t,e){var o=this;this.getGui().addEventListener(t,e),this.addDestroyFunc((function(){return o.getGui().removeEventListener(t,e)}))},e.prototype.addCssClass=function(t){p._.addCssClass(this.getGui(),t)},e.prototype.removeCssClass=function(t){p._.removeCssClass(this.getGui(),t)},e.prototype.getAttribute=function(t){var e=this.getGui();return e?e.getAttribute(t):null},e.prototype.getRefElement=function(t){return this.queryForHtmlElement('[ref="'+t+'"]')},e.EVENT_VISIBLE_CHANGED="visibleChanged",r([a.PreConstruct,s("design:type",Function),s("design:paramtypes",[]),s("design:returntype",void 0)],e.prototype,"createChildComponentsPreConstruct",null),e}(l.BeanStub);e.Component=c},22743:function(t,e,o){var i=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},n=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r=o(72493),s=o(69638),a=function(){function t(){}return t.prototype.postConstruct=function(){this.componentMetaData={dateComponent:{mandatoryMethodList:["getDate","setDate"],optionalMethodList:["afterGuiAttached"]},detailCellRenderer:{mandatoryMethodList:[],optionalMethodList:[]},headerComponent:{mandatoryMethodList:[],optionalMethodList:[]},headerGroupComponent:{mandatoryMethodList:[],optionalMethodList:[]},loadingCellRenderer:{mandatoryMethodList:[],optionalMethodList:[]},loadingOverlayComponent:{mandatoryMethodList:[],optionalMethodList:[]},noRowsOverlayComponent:{mandatoryMethodList:[],optionalMethodList:[]},floatingFilterComponent:{mandatoryMethodList:["onParentModelChanged"],optionalMethodList:["afterGuiAttached"]},floatingFilterWrapperComponent:{mandatoryMethodList:[],optionalMethodList:[]},cellRenderer:{mandatoryMethodList:[],optionalMethodList:["refresh","afterGuiAttached"],functionAdapter:this.agComponentUtils.adaptCellRendererFunction.bind(this.agComponentUtils)},cellEditor:{mandatoryMethodList:["getValue"],optionalMethodList:["isPopup","isCancelBeforeStart","isCancelAfterEnd","focusIn","focusOut","afterGuiAttached"]},innerRenderer:{mandatoryMethodList:[],optionalMethodList:["afterGuiAttached"],functionAdapter:this.agComponentUtils.adaptCellRendererFunction.bind(this.agComponentUtils)},fullWidthCellRenderer:{mandatoryMethodList:[],optionalMethodList:["afterGuiAttached"],functionAdapter:this.agComponentUtils.adaptCellRendererFunction.bind(this.agComponentUtils)},pinnedRowCellRenderer:{mandatoryMethodList:[],optionalMethodList:["refresh","afterGuiAttached"],functionAdapter:this.agComponentUtils.adaptCellRendererFunction.bind(this.agComponentUtils)},groupRowInnerRenderer:{mandatoryMethodList:[],optionalMethodList:["afterGuiAttached"],functionAdapter:this.agComponentUtils.adaptCellRendererFunction.bind(this.agComponentUtils)},groupRowRenderer:{mandatoryMethodList:[],optionalMethodList:["afterGuiAttached"],functionAdapter:this.agComponentUtils.adaptCellRendererFunction.bind(this.agComponentUtils)},filter:{mandatoryMethodList:["isFilterActive","doesFilterPass","getModel","setModel"],optionalMethodList:["afterGuiAttached","onNewRowsLoaded","getModelAsString","onFloatingFilterChanged"]},filterComponent:{mandatoryMethodList:["isFilterActive","doesFilterPass","getModel","setModel"],optionalMethodList:["afterGuiAttached","onNewRowsLoaded","getModelAsString","onFloatingFilterChanged"]},statusPanel:{mandatoryMethodList:[],optionalMethodList:["afterGuiAttached"]},toolPanel:{mandatoryMethodList:[],optionalMethodList:["refresh","afterGuiAttached"]},tooltipComponent:{mandatoryMethodList:[],optionalMethodList:[]}}},t.prototype.retrieve=function(t){return this.componentMetaData[t]},i([r.Autowired("agComponentUtils"),n("design:type",s.AgComponentUtils)],t.prototype,"agComponentUtils",void 0),i([r.PostConstruct,n("design:type",Function),n("design:paramtypes",[]),n("design:returntype",void 0)],t.prototype,"postConstruct",null),i([r.Bean("componentMetadataProvider")],t)}();e.ComponentMetadataProvider=a},23054:function(t,e,o){var i,n=this&&this.__extends||(i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},i(t,e)},function(t,e){function o(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),r=this&&this.__assign||function(){return r=Object.assign||function(t){for(var e,o=1,i=arguments.length;o<i;o++)for(var n in e=arguments[o])Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t},r.apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0});var s=o(26016),a=o(15068),l=o(45727),p=o(63405),u=o(34782),c=o(22131),d=o(95125),h=o(87952),f=o(15724),g=o(83423),y=function(t){function e(e,o,i,n,r,s,a){var l=t.call(this)||this;return l.editingCell=!1,l.suppressRefreshCell=!1,l.scope=null,l.cellEditorVersion=0,l.cellRendererVersion=0,l.scope=e,l.beans=o,l.column=i,l.rowNode=n,l.rowComp=r,l.autoHeightCell=s,l.printLayout=a,l.createGridCellVo(),l.rangeSelectionEnabled=o.enterprise&&o.gridOptionsWrapper.isEnableRangeSelection(),l.cellFocused=l.beans.focusedCellController.isCellFocused(l.gridCell),l.firstRightPinned=l.column.isFirstRightPinned(),l.lastLeftPinned=l.column.isLastLeftPinned(),l.rangeSelectionEnabled&&(l.rangeCount=l.beans.rangeController.getCellRangeCount(l.gridCell)),l.getValueAndFormat(),l.setUsingWrapper(),l.chooseCellRenderer(),l.setupColSpan(),l.rowSpan=l.column.getRowSpan(l.rowNode),l}return n(e,t),e.prototype.getCreateTemplate=function(){var t=this.beans.gridOptionsWrapper.isEnableCellTextSelection()?"":'unselectable="on"',e=[],o=this.column,i=this.getCellWidth(),n=this.modifyLeftForPrintLayout(o.getLeft()),r=this.getInitialValueToRender(),s=g._.get(this.column,"colDef.template",null)?r:g._.escape(r);this.tooltip=this.getToolTip();var a=g._.escape(this.tooltip),l=g._.escape(o.getId()),p="",u="",c=this.preProcessStylesFromColDef(),d=this.getInitialCssClasses(),h=this.getStylesForRowSpanning();return this.usingWrapper&&(p='<span ref="eCellWrapper" class="ag-cell-wrapper"><span ref="eCellValue" class="ag-cell-value" '+t+">",u="</span></span>"),e.push("<div"),e.push(' tabindex="-1"'),e.push(" "+t),e.push(' role="gridcell"'),e.push(' comp-id="'+this.getCompId()+'" '),e.push(' col-id="'+l+'"'),e.push(' class="'+d.join(" ")+'"'),this.beans.gridOptionsWrapper.isEnableBrowserTooltips()&&g._.exists(a)&&e.push('title="'+a+'"'),e.push(' style="width: '+i+"px; left: "+n+"px; "+c+" "+h+'" >'),e.push(p),g._.exists(s,!0)&&e.push(s),e.push(u),e.push("</div>"),e.join("")},e.prototype.getStylesForRowSpanning=function(){return 1===this.rowSpan?"":"height: "+this.beans.gridOptionsWrapper.getRowHeightAsNumber()*this.rowSpan+"px; z-index: 1;"},e.prototype.afterAttached=function(){var t='[comp-id="'+this.getCompId()+'"]',e=this.eParentRow.querySelector(t);this.setGui(e),this.addDomData(),this.populateTemplate(),this.attachCellRenderer(),this.angular1Compile(),this.addDestroyableEventListener(this.beans.eventService,p.Events.EVENT_CELL_FOCUSED,this.onCellFocused.bind(this)),this.addDestroyableEventListener(this.beans.eventService,p.Events.EVENT_FLASH_CELLS,this.onFlashCells.bind(this)),this.addDestroyableEventListener(this.beans.eventService,p.Events.EVENT_COLUMN_HOVER_CHANGED,this.onColumnHover.bind(this)),this.addDestroyableEventListener(this.rowNode,a.RowNode.EVENT_ROW_INDEX_CHANGED,this.onRowIndexChanged.bind(this)),this.addDestroyableEventListener(this.rowNode,a.RowNode.EVENT_CELL_CHANGED,this.onCellChanged.bind(this)),this.addDestroyableEventListener(this.column,s.Column.EVENT_LEFT_CHANGED,this.onLeftChanged.bind(this)),this.addDestroyableEventListener(this.column,s.Column.EVENT_WIDTH_CHANGED,this.onWidthChanged.bind(this)),this.addDestroyableEventListener(this.column,s.Column.EVENT_FIRST_RIGHT_PINNED_CHANGED,this.onFirstRightPinnedChanged.bind(this)),this.addDestroyableEventListener(this.column,s.Column.EVENT_LAST_LEFT_PINNED_CHANGED,this.onLastLeftPinnedChanged.bind(this)),this.printLayout&&this.addDestroyableEventListener(this.beans.eventService,p.Events.EVENT_DISPLAYED_COLUMNS_WIDTH_CHANGED,this.onLeftChanged.bind(this)),this.rangeSelectionEnabled&&this.addDestroyableEventListener(this.beans.eventService,p.Events.EVENT_RANGE_SELECTION_CHANGED,this.onRangeSelectionChanged.bind(this)),this.tooltip&&!this.beans.gridOptionsWrapper.isEnableBrowserTooltips()&&this.beans.tooltipManager.registerTooltip(this)},e.prototype.onColumnHover=function(){var t=this.beans.columnHoverService.isHovered(this.column);g._.addOrRemoveCssClass(this.getGui(),"ag-column-hover",t)},e.prototype.onCellChanged=function(t){t.column===this.column&&this.refreshCell({})},e.prototype.getCellLeft=function(){return(this.beans.gridOptionsWrapper.isEnableRtl()&&this.colsSpanning?this.colsSpanning[this.colsSpanning.length-1]:this.column).getLeft()},e.prototype.getCellWidth=function(){if(!this.colsSpanning)return this.column.getActualWidth();var t=0;return this.colsSpanning.forEach((function(e){return t+=e.getActualWidth()})),t},e.prototype.onFlashCells=function(t){var e=this.gridCell.createId();t.cells[e]&&this.animateCell("highlight")},e.prototype.setupColSpan=function(){g._.missing(this.getComponentHolder().colSpan)||(this.addDestroyableEventListener(this.beans.eventService,p.Events.EVENT_DISPLAYED_COLUMNS_CHANGED,this.onDisplayColumnsChanged.bind(this)),this.addDestroyableEventListener(this.beans.eventService,p.Events.EVENT_DISPLAYED_COLUMNS_WIDTH_CHANGED,this.onWidthChanged.bind(this)),this.colsSpanning=this.getColSpanningList())},e.prototype.getColSpanningList=function(){var t=this.column.getColSpan(this.rowNode),e=[];if(1===t)e.push(this.column);else for(var o=this.column,i=this.column.getPinned(),n=0;o&&n<t&&(e.push(o),(o=this.beans.columnController.getDisplayedColAfter(o))&&!g._.missing(o))&&i===o.getPinned();n++);return e},e.prototype.onDisplayColumnsChanged=function(){var t=this.getColSpanningList();g._.compareArrays(this.colsSpanning,t)||(this.colsSpanning=t,this.onWidthChanged(),this.onLeftChanged())},e.prototype.getInitialCssClasses=function(){var t=["ag-cell","ag-cell-not-inline-editing"];return this.autoHeightCell||t.push("ag-cell-with-height"),!this.beans.gridOptionsWrapper.isSuppressCellSelection()&&this.cellFocused&&t.push("ag-cell-focus"),this.firstRightPinned&&t.push("ag-cell-first-right-pinned"),this.lastLeftPinned&&t.push("ag-cell-last-left-pinned"),this.beans.columnHoverService.isHovered(this.column)&&t.push("ag-column-hover"),g._.pushAll(t,this.preProcessClassesFromColDef()),g._.pushAll(t,this.preProcessCellClassRules()),g._.pushAll(t,this.getRangeClasses()),this.usingWrapper||t.push("ag-cell-value"),t},e.prototype.getInitialValueToRender=function(){if(this.usingCellRenderer)return"string"==typeof this.cellRendererGui?this.cellRendererGui:"";var t=this.getComponentHolder();return t.template?t.template:t.templateUrl?this.beans.templateService.getTemplate(t.templateUrl,this.refreshCell.bind(this,!0))||"":this.getValueToUse()},e.prototype.getRenderedRow=function(){return this.rowComp},e.prototype.isSuppressNavigable=function(){return this.column.isSuppressNavigable(this.rowNode)},e.prototype.getCellRenderer=function(){return this.cellRenderer},e.prototype.getCellEditor=function(){return this.cellEditor},e.prototype.refreshCell=function(t){if(!this.editingCell&&!this.suppressRefreshCell){var e=this.getComponentHolder(),o=t&&t.newData,i=t&&t.suppressFlash||e.suppressCellFlash,n=t&&t.forceRefresh,r=this.value;this.getValueAndFormat();var s=!this.valuesAreEqual(r,this.value);(n||s)&&(!o&&this.attemptCellRendererRefresh()||this.replaceContentsAfterRefresh(),!i&&(this.beans.gridOptionsWrapper.isEnableCellChangeFlash()||e.enableCellChangeFlash)&&this.flashCell(),this.postProcessStylesFromColDef(),this.postProcessClassesFromColDef()),this.updateAngular1ScopeAndCompile(),this.refreshToolTip(),this.postProcessCellClassRules()}},e.prototype.flashCell=function(){this.animateCell("data-changed")},e.prototype.animateCell=function(t){var e="ag-cell-"+t,o="ag-cell-"+t+"-animation",i=this.getGui();g._.addCssClass(i,e),g._.removeCssClass(i,o),window.setTimeout((function(){g._.removeCssClass(i,e),g._.addCssClass(i,o),window.setTimeout((function(){g._.removeCssClass(i,o)}),1e3)}),500)},e.prototype.replaceContentsAfterRefresh=function(){g._.clearElement(this.eParentOfValue),this.cellRenderer&&this.cellRenderer.destroy&&this.cellRenderer.destroy(),this.cellRenderer=null,this.cellRendererGui=null,this.putDataIntoCellAfterRefresh(),this.updateAngular1ScopeAndCompile()},e.prototype.updateAngular1ScopeAndCompile=function(){this.beans.gridOptionsWrapper.isAngularCompileRows()&&this.scope&&(this.scope.data=r({},this.rowNode.data),this.angular1Compile())},e.prototype.angular1Compile=function(){if(this.beans.gridOptionsWrapper.isAngularCompileRows()){var t=this.getGui();if(!t.classList.contains("ng-scope")||0===t.childElementCount){var e=this.beans.$compile(t)(this.scope);this.addDestroyFunc((function(){e.remove()}))}}},e.prototype.postProcessStylesFromColDef=function(){var t=this.processStylesFromColDef();t&&g._.addStylesToElement(this.getGui(),t)},e.prototype.preProcessStylesFromColDef=function(){var t=this.processStylesFromColDef();return g._.cssStyleObjectToMarkup(t)},e.prototype.processStylesFromColDef=function(){var t=this.getComponentHolder();if(t.cellStyle){var e=void 0;if("function"==typeof t.cellStyle){var o={value:this.value,data:this.rowNode.data,node:this.rowNode,colDef:t,column:this.column,$scope:this.scope,context:this.beans.gridOptionsWrapper.getContext(),api:this.beans.gridOptionsWrapper.getApi()};e=(0,t.cellStyle)(o)}else e=t.cellStyle;return e}},e.prototype.postProcessClassesFromColDef=function(){var t=this;this.processClassesFromColDef((function(e){return g._.addCssClass(t.getGui(),e)}))},e.prototype.preProcessClassesFromColDef=function(){var t=[];return this.processClassesFromColDef((function(e){return t.push(e)})),t},e.prototype.processClassesFromColDef=function(t){var e=this.getComponentHolder();this.beans.stylingService.processStaticCellClasses(e,{value:this.value,data:this.rowNode.data,node:this.rowNode,colDef:e,rowIndex:this.rowNode.rowIndex,$scope:this.scope,api:this.beans.gridOptionsWrapper.getApi(),context:this.beans.gridOptionsWrapper.getContext()},t)},e.prototype.putDataIntoCellAfterRefresh=function(){var t=this.getComponentHolder();if(t.template)this.eParentOfValue.innerHTML=t.template;else if(t.templateUrl){var e=this.beans.templateService.getTemplate(t.templateUrl,this.refreshCell.bind(this,!0));e&&(this.eParentOfValue.innerHTML=e)}else if(this.usingCellRenderer&&(this.attachCellRenderer()||(this.usingCellRenderer=!1)),!this.usingCellRenderer){var o=this.getValueToUse();null!=o&&(this.eParentOfValue.innerHTML=g._.escape(o))}},e.prototype.attemptCellRendererRefresh=function(){if(g._.missing(this.cellRenderer)||!this.cellRenderer||g._.missing(this.cellRenderer.refresh))return!1;var t=this.createCellRendererParams(),e=this.beans.userComponentFactory.createFinalParams(this.getComponentHolder(),this.cellRendererType,t),o=this.cellRenderer.refresh(e);return!0===o||void 0===o},e.prototype.refreshToolTip=function(){var t=this.getToolTip();if(this.tooltip!==t){if(this.tooltip=t,!this.beans.gridOptionsWrapper.isEnableBrowserTooltips())return;if(g._.exists(t)){var e=g._.escape(this.tooltip);this.eParentOfValue.setAttribute("title",e)}else this.eParentOfValue.removeAttribute("title")}},e.prototype.valuesAreEqual=function(t,e){var o=this.getComponentHolder(),i=o?o.equals:null;return i?i(t,e):t===e},e.prototype.getToolTip=function(){var t=this.getComponentHolder(),e=this.rowNode.data;if(t.tooltipField&&g._.exists(e))return g._.getValueUsingField(e,t.tooltipField,this.column.isTooltipFieldContainsDots());var o=t.tooltipValueGetter||t.tooltip;return o?o({api:this.beans.gridOptionsWrapper.getApi(),columnApi:this.beans.gridOptionsWrapper.getColumnApi(),colDef:t,column:this.getColumn(),context:this.beans.gridOptionsWrapper.getContext(),value:this.value,valueFormatted:this.valueFormatted,rowIndex:this.gridCell.rowIndex,node:this.rowNode,data:this.rowNode.data,$scope:this.scope}):null},e.prototype.getTooltipText=function(t){return void 0===t&&(t=!0),t?g._.escape(this.tooltip):this.tooltip},e.prototype.processCellClassRules=function(t,e){var o=this.getComponentHolder();this.beans.stylingService.processClassRules(o.cellClassRules,{value:this.value,data:this.rowNode.data,node:this.rowNode,colDef:o,rowIndex:this.gridCell.rowIndex,api:this.beans.gridOptionsWrapper.getApi(),$scope:this.scope,context:this.beans.gridOptionsWrapper.getContext()},t,e)},e.prototype.postProcessCellClassRules=function(){var t=this;this.processCellClassRules((function(e){g._.addCssClass(t.getGui(),e)}),(function(e){g._.removeCssClass(t.getGui(),e)}))},e.prototype.preProcessCellClassRules=function(){var t=[];return this.processCellClassRules((function(e){t.push(e)}),(function(t){})),t},e.prototype.setUsingWrapper=function(){var t=this.getComponentHolder();if(this.rowNode.rowPinned)return this.usingWrapper=!1,this.includeSelectionComponent=!1,void(this.includeRowDraggingComponent=!1);var e="function"==typeof t.checkboxSelection,o="function"==typeof t.rowDrag;this.includeSelectionComponent=e||!0===t.checkboxSelection,this.includeRowDraggingComponent=o||!0===t.rowDrag,this.usingWrapper=this.includeRowDraggingComponent||this.includeSelectionComponent},e.prototype.chooseCellRenderer=function(){var t=this.getComponentHolder();if(t.template||t.templateUrl)this.usingCellRenderer=!1;else{var o=this.createCellRendererParams(),i=this.beans.userComponentFactory.lookupComponentClassDef(t,"cellRenderer",o);this.beans.userComponentFactory.lookupComponentClassDef(t,"pinnedRowCellRenderer",o)&&this.rowNode.rowPinned?(this.cellRendererType=e.CELL_RENDERER_TYPE_PINNED,this.usingCellRenderer=!0):i?(this.cellRendererType=e.CELL_RENDERER_TYPE_NORMAL,this.usingCellRenderer=!0):this.usingCellRenderer=!1}},e.prototype.createCellRendererInstance=function(){var t=this.createCellRendererParams();this.cellRendererVersion++;var o,i=this.afterCellRendererCreated.bind(this,this.cellRendererVersion);return!!(o=this.cellRendererType===e.CELL_RENDERER_TYPE_NORMAL?this.beans.userComponentFactory.newCellRenderer(this.getComponentHolder(),t):this.beans.userComponentFactory.newPinnedRowCellRenderer(this.getComponentHolder(),t))&&(o.then(i),!0)},e.prototype.afterCellRendererCreated=function(t,e){this.isAlive()&&t===this.cellRendererVersion?(this.cellRenderer=e,this.cellRendererGui=this.cellRenderer.getGui(),g._.missing(this.cellRendererGui)||this.editingCell||this.eParentOfValue.appendChild(this.cellRendererGui)):e.destroy&&e.destroy()},e.prototype.attachCellRenderer=function(){return!!this.usingCellRenderer&&this.createCellRendererInstance()},e.prototype.createCellRendererParams=function(){var t=this;return{value:this.value,valueFormatted:this.valueFormatted,getValue:this.getValue.bind(this),setValue:function(e){t.beans.valueService.setValue(t.rowNode,t.column,e)},formatValue:this.formatValue.bind(this),data:this.rowNode.data,node:this.rowNode,colDef:this.getComponentHolder(),column:this.column,$scope:this.scope,rowIndex:this.gridCell.rowIndex,api:this.beans.gridOptionsWrapper.getApi(),columnApi:this.beans.gridOptionsWrapper.getColumnApi(),context:this.beans.gridOptionsWrapper.getContext(),refreshCell:this.refreshCell.bind(this),eGridCell:this.getGui(),eParentOfValue:this.eParentOfValue,addRowCompListener:this.rowComp?this.rowComp.addEventListener.bind(this.rowComp):null,addRenderedRowListener:function(e,o){console.warn("ag-Grid: since ag-Grid .v11, params.addRenderedRowListener() is now params.addRowCompListener()"),t.rowComp&&t.rowComp.addEventListener(e,o)}}},e.prototype.formatValue=function(t){var e=this.beans.valueFormatterService.formatValue(this.column,this.rowNode,this.scope,t);return null!=e?e:t},e.prototype.getValueToUse=function(){return null!==this.valueFormatted&&void 0!==this.valueFormatted?this.valueFormatted:this.value},e.prototype.getValueAndFormat=function(){this.value=this.getValue(),this.valueFormatted=this.beans.valueFormatterService.formatValue(this.column,this.rowNode,this.scope,this.value)},e.prototype.getValue=function(){var t=this.rowNode.leafGroup&&this.beans.columnController.isPivotMode(),e=this.rowNode.group&&this.rowNode.expanded&&!this.rowNode.footer&&!t,o=this.beans.gridOptionsWrapper.isGroupIncludeFooter(),i=this.beans.gridOptionsWrapper.isGroupSuppressBlankHeader(),n=e&&o&&!i;return this.beans.valueService.getValue(this.column,this.rowNode,!1,n)},e.prototype.onMouseEvent=function(t,e){if(!g._.isStopPropagationForAgGrid(e))switch(t){case"click":this.onCellClicked(e);break;case"mousedown":this.onMouseDown(e);break;case"dblclick":this.onCellDoubleClicked(e);break;case"mouseout":this.onMouseOut(e);break;case"mouseover":this.onMouseOver(e)}},e.prototype.dispatchCellContextMenuEvent=function(t){var e=this.getComponentHolder(),o=this.createEvent(t,p.Events.EVENT_CELL_CONTEXT_MENU);this.beans.eventService.dispatchEvent(o),e.onCellContextMenu&&window.setTimeout((function(){return e.onCellContextMenu(o)}),0)},e.prototype.createEvent=function(t,e){var o={node:this.rowNode,data:this.rowNode.data,value:this.value,column:this.column,colDef:this.getComponentHolder(),context:this.beans.gridOptionsWrapper.getContext(),api:this.beans.gridApi,columnApi:this.beans.columnApi,rowPinned:this.rowNode.rowPinned,event:t,type:e,rowIndex:this.rowNode.rowIndex};return this.scope&&(o.$scope=this.scope),o},e.prototype.onMouseOut=function(t){var e=this.createEvent(t,p.Events.EVENT_CELL_MOUSE_OUT);this.beans.eventService.dispatchEvent(e),this.beans.columnHoverService.clearMouseOver()},e.prototype.onMouseOver=function(t){var e=this.createEvent(t,p.Events.EVENT_CELL_MOUSE_OVER);this.beans.eventService.dispatchEvent(e),this.beans.columnHoverService.setMouseOver([this.column])},e.prototype.onCellDoubleClicked=function(t){var e=this.getComponentHolder(),o=this.createEvent(t,p.Events.EVENT_CELL_DOUBLE_CLICKED);this.beans.eventService.dispatchEvent(o),"function"==typeof e.onCellDoubleClicked&&window.setTimeout((function(){return e.onCellDoubleClicked(o)}),0),!this.beans.gridOptionsWrapper.isSingleClickEdit()&&!this.beans.gridOptionsWrapper.isSuppressClickEdit()&&this.startRowOrCellEdit()},e.prototype.startRowOrCellEdit=function(t,e){this.beans.gridOptionsWrapper.isFullRowEdit()?this.rowComp.startRowEditing(t,e,this):this.startEditingIfEnabled(t,e,!0)},e.prototype.isCellEditable=function(){return this.column.isCellEditable(this.rowNode)},e.prototype.startEditingIfEnabled=function(t,e,o){if(void 0===t&&(t=null),void 0===e&&(e=null),void 0===o&&(o=!1),this.isCellEditable()&&!this.editingCell){this.editingCell=!0,this.cellEditorVersion++;var i=this.afterCellEditorCreated.bind(this,this.cellEditorVersion),n=this.createCellEditorParams(t,e,o);this.createCellEditor(n).then(i),g._.missing(this.cellEditor)&&o&&this.focusCell(!0)}},e.prototype.createCellEditor=function(t){var e=this;return this.beans.userComponentFactory.newCellEditor(this.column.getColDef(),t).map((function(o){if(!o.isPopup||!o.isPopup())return o;e.beans.gridOptionsWrapper.isFullRowEdit()&&console.warn("ag-Grid: popup cellEditor does not work with fullRowEdit - you cannot use them both - either turn off fullRowEdit, or stop using popup editors.");var i=new f.PopupEditorWrapper(o);return e.beans.context.wireBean(i),i.init(t),i}))},e.prototype.afterCellEditorCreated=function(t,e){if(t===this.cellEditorVersion&&this.editingCell){if(e.isCancelBeforeStart&&e.isCancelBeforeStart())return e.destroy&&e.destroy(),void(this.editingCell=!1);if(!e.getGui)return console.warn("ag-Grid: cellEditor for column "+this.column.getId()+" is missing getGui() method"),e.render&&console.warn("ag-Grid: we found 'render' on the component, are you trying to set a React renderer but added it as colDef.cellEditor instead of colDef.cellEditorFmk?"),e.destroy&&e.destroy(),void(this.editingCell=!1);this.cellEditor=e,this.cellEditorInPopup=void 0!==e.isPopup&&e.isPopup(),this.setInlineEditingClass(),this.cellEditorInPopup?this.addPopupCellEditor():this.addInCellEditor(),e.afterGuiAttached&&e.afterGuiAttached();var o=this.createEvent(null,p.Events.EVENT_CELL_EDITING_STARTED);this.beans.eventService.dispatchEvent(o)}else e.destroy&&e.destroy()},e.prototype.addInCellEditor=function(){g._.clearElement(this.getGui()),this.cellEditor&&this.getGui().appendChild(this.cellEditor.getGui()),this.angular1Compile()},e.prototype.addPopupCellEditor=function(){var t=this,e=this.cellEditor?this.cellEditor.getGui():null;this.hideEditorPopup=this.beans.popupService.addAsModalPopup(e,!0,(function(){t.onPopupEditorClosed()})),this.beans.popupService.positionPopupOverComponent({column:this.column,rowNode:this.rowNode,type:"popupCellEditor",eventSource:this.getGui(),ePopup:e,keepWithinBounds:!0}),this.angular1Compile()},e.prototype.onPopupEditorClosed=function(){this.editingCell&&(this.stopRowOrCellEdit(),this.beans.focusedCellController.isCellFocused(this.gridCell)&&this.focusCell(!0))},e.prototype.setInlineEditingClass=function(){var t=this.editingCell&&!this.cellEditorInPopup,e=this.editingCell&&this.cellEditorInPopup;g._.addOrRemoveCssClass(this.getGui(),"ag-cell-inline-editing",t),g._.addOrRemoveCssClass(this.getGui(),"ag-cell-not-inline-editing",!t),g._.addOrRemoveCssClass(this.getGui(),"ag-cell-popup-editing",e),g._.addOrRemoveCssClass(this.getGui().parentNode,"ag-row-inline-editing",t),g._.addOrRemoveCssClass(this.getGui().parentNode,"ag-row-not-inline-editing",!t)},e.prototype.createCellEditorParams=function(t,e,o){return{value:this.getValue(),keyPress:t,charPress:e,column:this.column,colDef:this.column.getColDef(),rowIndex:this.gridCell.rowIndex,node:this.rowNode,data:this.rowNode.data,api:this.beans.gridOptionsWrapper.getApi(),cellStartedEdit:o,columnApi:this.beans.gridOptionsWrapper.getColumnApi(),context:this.beans.gridOptionsWrapper.getContext(),$scope:this.scope,onKeyDown:this.onKeyDown.bind(this),stopEditing:this.stopEditingAndFocus.bind(this),eGridCell:this.getGui(),parseValue:this.parseValue.bind(this),formatValue:this.formatValue.bind(this)}},e.prototype.stopEditingAndFocus=function(t){void 0===t&&(t=!1),this.stopRowOrCellEdit(),this.focusCell(!0),t||this.navigateAfterEdit()},e.prototype.parseValue=function(t){var e=this.getComponentHolder(),o={node:this.rowNode,data:this.rowNode.data,oldValue:this.value,newValue:t,colDef:e,column:this.column,api:this.beans.gridOptionsWrapper.getApi(),columnApi:this.beans.gridOptionsWrapper.getColumnApi(),context:this.beans.gridOptionsWrapper.getContext()},i=e.valueParser;return g._.exists(i)?this.beans.expressionService.evaluate(i,o):t},e.prototype.focusCell=function(t){void 0===t&&(t=!1),this.beans.focusedCellController.setFocusedCell(this.gridCell.rowIndex,this.column,this.rowNode.rowPinned,t)},e.prototype.setFocusInOnEditor=function(){this.editingCell&&(this.cellEditor&&this.cellEditor.focusIn?this.cellEditor.focusIn():this.focusCell(!0))},e.prototype.isEditing=function(){return this.editingCell},e.prototype.onKeyDown=function(t){var e=t.which||t.keyCode;switch(e){case l.Constants.KEY_ENTER:this.onEnterKeyDown();break;case l.Constants.KEY_F2:this.onF2KeyDown();break;case l.Constants.KEY_ESCAPE:this.onEscapeKeyDown();break;case l.Constants.KEY_TAB:this.onTabKeyDown(t);break;case l.Constants.KEY_BACKSPACE:case l.Constants.KEY_DELETE:this.onBackspaceOrDeleteKeyPressed(e);break;case l.Constants.KEY_DOWN:case l.Constants.KEY_UP:case l.Constants.KEY_RIGHT:case l.Constants.KEY_LEFT:this.onNavigationKeyPressed(t,e)}},e.prototype.setFocusOutOnEditor=function(){this.editingCell&&this.cellEditor&&this.cellEditor.focusOut&&this.cellEditor.focusOut()},e.prototype.onNavigationKeyPressed=function(t,e){this.editingCell||(t.shiftKey&&this.rangeSelectionEnabled?this.onShiftRangeSelect(e):this.beans.rowRenderer.navigateToNextCell(t,e,this.gridCell,!0),t.preventDefault())},e.prototype.onShiftRangeSelect=function(t){if(this.beans.rangeController.extendRangeInDirection(this.gridCell,t)){var e=this.beans.rangeController.getCellRanges();if(!g._.missing(e)&&e&&1===e.length){var o=e[0].end;this.beans.rowRenderer.ensureCellVisible(o)}}},e.prototype.onTabKeyDown=function(t){this.beans.rowRenderer.onTabKeyDown(this,t)},e.prototype.onBackspaceOrDeleteKeyPressed=function(t){this.editingCell||this.startRowOrCellEdit(t)},e.prototype.onEnterKeyDown=function(){this.editingCell||this.rowComp.isEditing()?this.stopEditingAndFocus():this.beans.gridOptionsWrapper.isEnterMovesDown()?this.beans.rowRenderer.navigateToNextCell(null,l.Constants.KEY_DOWN,this.gridCell,!1):this.startRowOrCellEdit(l.Constants.KEY_ENTER)},e.prototype.navigateAfterEdit=function(){this.beans.gridOptionsWrapper.isFullRowEdit()||this.beans.gridOptionsWrapper.isEnterMovesDownAfterEdit()&&this.beans.rowRenderer.navigateToNextCell(null,l.Constants.KEY_DOWN,this.gridCell,!1)},e.prototype.onF2KeyDown=function(){this.editingCell||this.startRowOrCellEdit(l.Constants.KEY_F2)},e.prototype.onEscapeKeyDown=function(){this.editingCell&&(this.stopRowOrCellEdit(!0),this.focusCell(!0))},e.prototype.onKeyPress=function(t){if(g._.getTarget(t)===this.getGui()&&!this.editingCell){var e=String.fromCharCode(t.charCode);" "===e?this.onSpaceKeyPressed(t):g._.isEventFromPrintableCharacter(t)&&(this.startRowOrCellEdit(null,e),t.preventDefault())}},e.prototype.onSpaceKeyPressed=function(t){if(!this.editingCell&&this.beans.gridOptionsWrapper.isRowSelection()){var e=this.rowNode.isSelected();this.rowNode.setSelected(!e)}t.preventDefault()},e.prototype.onMouseDown=function(t){var e=!1;if(!g._.isElementChildOfClass(t.target,"ag-selection-checkbox",3)){if(g._.isBrowserIE()&&t.target.classList.contains("ag-cell")&&(e=!0),this.focusCell(e),g._.isLeftClick(t)&&this.beans.rangeController){var o=this.gridCell;if(t.shiftKey)this.beans.rangeController.extendRangeToCell(o);else{var i=t.ctrlKey||t.metaKey;this.beans.rangeController.setRangeToCell(o,i)}}var n=this.createEvent(t,p.Events.EVENT_CELL_MOUSE_DOWN);this.beans.eventService.dispatchEvent(n)}},e.prototype.isDoubleClickOnIPad=function(){if(!g._.isUserAgentIPad())return!1;var t=(new Date).getTime(),e=t-this.lastIPadMouseClickEvent<200;return this.lastIPadMouseClickEvent=t,e},e.prototype.onCellClicked=function(t){if(this.isDoubleClickOnIPad())return this.onCellDoubleClicked(t),void t.preventDefault();var e=this.createEvent(t,p.Events.EVENT_CELL_CLICKED);this.beans.eventService.dispatchEvent(e);var o=this.getComponentHolder();o.onCellClicked&&window.setTimeout((function(){return o.onCellClicked(e)}),0),(this.beans.gridOptionsWrapper.isSingleClickEdit()||o.singleClickEdit)&&!this.beans.gridOptionsWrapper.isSuppressClickEdit()&&this.startRowOrCellEdit(),g._.doIeFocusHack(this.getGui())},e.prototype.createGridCellVo=function(){var t={rowIndex:this.rowNode.rowIndex,floating:this.rowNode.rowPinned,column:this.column};this.gridCell=new u.GridCell(t)},e.prototype.getGridCell=function(){return this.gridCell},e.prototype.getParentRow=function(){return this.eParentRow},e.prototype.setParentRow=function(t){this.eParentRow=t},e.prototype.getColumn=function(){return this.column},e.prototype.getComponentHolder=function(){return this.column.getColDef()},e.prototype.detach=function(){this.eParentRow.removeChild(this.getGui())},e.prototype.destroy=function(){t.prototype.destroy.call(this),this.cellEditor&&this.cellEditor.destroy&&(this.cellEditor.destroy(),this.cellEditor=null),this.cellRenderer&&this.cellRenderer.destroy&&(this.cellRenderer.destroy(),this.cellRenderer=null)},e.prototype.onLeftChanged=function(){var t=this.modifyLeftForPrintLayout(this.getCellLeft());this.getGui().style.left=t+"px"},e.prototype.modifyLeftForPrintLayout=function(t){return this.printLayout?this.column.getPinned()===s.Column.PINNED_LEFT?t:this.column.getPinned()===s.Column.PINNED_RIGHT?this.beans.columnController.getPinnedLeftContainerWidth()+this.beans.columnController.getBodyContainerWidth()+t:this.beans.columnController.getPinnedLeftContainerWidth()+t:t},e.prototype.onWidthChanged=function(){var t=this.getCellWidth();this.getGui().style.width=t+"px"},e.prototype.getRangeClasses=function(){var t=[];return this.rangeSelectionEnabled?(0!==this.rangeCount&&t.push("ag-cell-range-selected"),1===this.rangeCount&&t.push("ag-cell-range-selected-1"),2===this.rangeCount&&t.push("ag-cell-range-selected-2"),3===this.rangeCount&&t.push("ag-cell-range-selected-3"),this.rangeCount>=4&&t.push("ag-cell-range-selected-4"),t):t},e.prototype.onRowIndexChanged=function(){this.createGridCellVo(),this.onCellFocused(),this.onRangeSelectionChanged()},e.prototype.onRangeSelectionChanged=function(){if(this.beans.enterprise){var t=this.beans.rangeController.getCellRangeCount(this.gridCell),e=this.getGui();this.rangeCount!==t&&(g._.addOrRemoveCssClass(e,"ag-cell-range-selected",0!==t),g._.addOrRemoveCssClass(e,"ag-cell-range-selected-1",1===t),g._.addOrRemoveCssClass(e,"ag-cell-range-selected-2",2===t),g._.addOrRemoveCssClass(e,"ag-cell-range-selected-3",3===t),g._.addOrRemoveCssClass(e,"ag-cell-range-selected-4",t>=4),this.rangeCount=t)}},e.prototype.onFirstRightPinnedChanged=function(){var t=this.column.isFirstRightPinned();this.firstRightPinned!==t&&(this.firstRightPinned=t,g._.addOrRemoveCssClass(this.getGui(),"ag-cell-first-right-pinned",t))},e.prototype.onLastLeftPinnedChanged=function(){var t=this.column.isLastLeftPinned();this.lastLeftPinned!==t&&(this.lastLeftPinned=t,g._.addOrRemoveCssClass(this.getGui(),"ag-cell-last-left-pinned",t))},e.prototype.populateTemplate=function(){this.usingWrapper?(this.eParentOfValue=this.getRefElement("eCellValue"),this.eCellWrapper=this.getRefElement("eCellWrapper"),this.includeRowDraggingComponent&&this.addRowDragging(),this.includeSelectionComponent&&this.addSelectionCheckbox()):this.eParentOfValue=this.getGui()},e.prototype.addRowDragging=function(){if(this.beans.gridOptionsWrapper.isRowModelDefault())if(this.beans.gridOptionsWrapper.isPagination())g._.doOnce((function(){return console.warn("ag-Grid: row dragging is not possible when doing pagination")}),"CellComp.addRowDragging");else{var t=new h.RowDragComp(this.rowNode,this.column,this.getValueToUse(),this.beans);this.addFeature(this.beans.context,t),this.eCellWrapper.insertBefore(t.getGui(),this.eParentOfValue)}else g._.doOnce((function(){return console.warn("ag-Grid: row dragging is only allowed in the In Memory Row Model")}),"CellComp.addRowDragging")},e.prototype.addSelectionCheckbox=function(){var t=new d.CheckboxSelectionComponent;this.beans.context.wireBean(t);var e=this.getComponentHolder().checkboxSelection;e="function"==typeof e?e:null,t.init({rowNode:this.rowNode,column:this.column,visibleFunc:e}),this.addDestroyFunc((function(){return t.destroy()})),this.eCellWrapper.insertBefore(t.getGui(),this.eParentOfValue)},e.prototype.addDomData=function(){var t=this,o=this.getGui();this.beans.gridOptionsWrapper.setDomData(o,e.DOM_DATA_KEY_CELL_COMP,this),this.addDestroyFunc((function(){return t.beans.gridOptionsWrapper.setDomData(o,e.DOM_DATA_KEY_CELL_COMP,null)}))},e.prototype.onCellFocused=function(t){var e=this.beans.focusedCellController.isCellFocused(this.gridCell);if(e!==this.cellFocused&&(!this.beans.gridOptionsWrapper.isSuppressCellSelection()&&g._.addOrRemoveCssClass(this.getGui(),"ag-cell-focus",e),this.cellFocused=e),e&&t&&t.forceBrowserFocus){var o=this.getGui();o.focus(),g._.doIeFocusHack(o)}var i=this.beans.gridOptionsWrapper.isFullRowEdit();e||i||!this.editingCell||this.stopRowOrCellEdit()},e.prototype.stopRowOrCellEdit=function(t){void 0===t&&(t=!1),this.beans.gridOptionsWrapper.isFullRowEdit()?this.rowComp.stopRowEditing(t):this.stopEditing(t)},e.prototype.stopEditing=function(t){if(void 0===t&&(t=!1),this.editingCell)if(this.cellEditor){var e,o=!1;if(t||this.cellEditor.isCancelAfterEnd&&this.cellEditor.isCancelAfterEnd()||(e=this.cellEditor.getValue(),o=!0),this.editingCell=!1,this.cellEditor.destroy&&this.cellEditor.destroy(),this.cellEditor=null,this.cellEditorInPopup&&this.hideEditorPopup)this.hideEditorPopup(),this.hideEditorPopup=null;else if(g._.clearElement(this.getGui()),this.usingWrapper)this.getGui().appendChild(this.eCellWrapper);else if(this.cellRenderer){var i=this.cellRendererGui;i&&this.getGui().appendChild(i)}this.setInlineEditingClass(),o&&(this.suppressRefreshCell=!0,this.rowNode.setDataValue(this.column,e),this.suppressRefreshCell=!1),this.refreshCell({forceRefresh:!0,suppressFlash:!0});var n=this.createEvent(null,p.Events.EVENT_CELL_EDITING_STOPPED);this.beans.eventService.dispatchEvent(n)}else this.editingCell=!1},e.DOM_DATA_KEY_CELL_COMP="cellComp",e.CELL_RENDERER_TYPE_NORMAL="cellRenderer",e.CELL_RENDERER_TYPE_PINNED="pinnedRowCellRenderer",e}(c.Component);e.CellComp=y},23234:(t,e,o)=>{var i=o(66346).Set,n=o(66346).BitSet,r=o(72994).Token,s=o(470).G,a=(o(70040).Interval,o(70040).m),l=o(81367).RuleStopState,p=o(10014).RuleTransition,u=o(10014).NotSetTransition,c=o(10014).WildcardTransition,d=o(10014).AbstractPredicateTransition,h=o(10559),f=h.predictionContextFromRuleContext,g=h.PredictionContext,y=h.SingletonPredictionContext;function m(t){this.atn=t}m.HIT_PRED=r.INVALID_TYPE,m.prototype.getDecisionLookahead=function(t){if(null===t)return null;for(var e=t.transitions.length,o=[],r=0;r<e;r++){o[r]=new a;var s=new i;this._LOOK(t.transition(r).target,null,g.EMPTY,o[r],s,new n,!1,!1),(0===o[r].length||o[r].contains(m.HIT_PRED))&&(o[r]=null)}return o},m.prototype.LOOK=function(t,e,o){var r=new a,s=null!==(o=o||null)?f(t.atn,o):null;return this._LOOK(t,e,s,r,new i,new n,!0,!0),r},m.prototype._LOOK=function(t,e,o,i,n,a,h,f){var v=new s({state:t,alt:0,context:o},null);if(!n.contains(v)){if(n.add(v),t===e){if(null===o)return void i.addOne(r.EPSILON);if(o.isEmpty()&&f)return void i.addOne(r.EOF)}if(t instanceof l){if(null===o)return void i.addOne(r.EPSILON);if(o.isEmpty()&&f)return void i.addOne(r.EOF);if(o!==g.EMPTY){for(var C=0;C<o.length;C++){var E=this.atn.states[o.getReturnState(C)],w=a.contains(E.ruleIndex);try{a.remove(E.ruleIndex),this._LOOK(E,e,o.getParent(C),i,n,a,h,f)}finally{w&&a.add(E.ruleIndex)}}return}}for(var _=0;_<t.transitions.length;_++){var S=t.transitions[_];if(S.constructor===p){if(a.contains(S.target.ruleIndex))continue;var b=y.create(o,S.followState.stateNumber);try{a.add(S.target.ruleIndex),this._LOOK(S.target,e,b,i,n,a,h,f)}finally{a.remove(S.target.ruleIndex)}}else if(S instanceof d)h?this._LOOK(S.target,e,o,i,n,a,h,f):i.addOne(m.HIT_PRED);else if(S.isEpsilon)this._LOOK(S.target,e,o,i,n,a,h,f);else if(S.constructor===c)i.addRange(r.MIN_USER_TOKEN_TYPE,this.atn.maxTokenType);else{var R=S.label;null!==R&&(S instanceof u&&(R=R.complement(r.MIN_USER_TOKEN_TYPE,this.atn.maxTokenType)),i.addSet(R))}}}},e.a=m},23438:(t,e,o)=>{var i=o(66346),n=o(72994).Token,r=(o(48898).RuleNode,o(48898).ErrorNode),s=o(48898).TerminalNode,a=o(29499).ParserRuleContext,l=o(40846).m,p=o(51028).INVALID_ALT_NUMBER;function u(){}u.toStringTree=function(t,e,o){e=e||null,null!==(o=o||null)&&(e=o.ruleNames);var n=u.getNodeText(t,e);n=i.escapeWhitespace(n,!1);var r=t.getChildCount();if(0===r)return n;var s="("+n+" ";r>0&&(n=u.toStringTree(t.getChild(0),e),s=s.concat(n));for(var a=1;a<r;a++)n=u.toStringTree(t.getChild(a),e),s=s.concat(" "+n);return s.concat(")")},u.getNodeText=function(t,e,o){if(e=e||null,null!==(o=o||null)&&(e=o.ruleNames),null!==e){if(t instanceof l){var i=t.getAltNumber();return i!=p?e[t.ruleIndex]+":"+i:e[t.ruleIndex]}if(t instanceof r)return t.toString();if(t instanceof s&&null!==t.symbol)return t.symbol.text}var a=t.getPayload();return a instanceof n?a.text:t.getPayload().toString()},u.getChildren=function(t){for(var e=[],o=0;o<t.getChildCount();o++)e.push(t.getChild(o));return e},u.getAncestors=function(t){var e=[];for(t=t.getParent();null!==t;)e=[t].concat(e),t=t.getParent();return e},u.findAllTokenNodes=function(t,e){return u.findAllNodes(t,e,!0)},u.findAllRuleNodes=function(t,e){return u.findAllNodes(t,e,!1)},u.findAllNodes=function(t,e,o){var i=[];return u._findAllNodes(t,e,o,i),i},u._findAllNodes=function(t,e,o,i){o&&t instanceof s?t.symbol.type===e&&i.push(t):!o&&t instanceof a&&t.ruleIndex===e&&i.push(t);for(var n=0;n<t.getChildCount();n++)u._findAllNodes(t.getChild(n),e,o,i)},u.descendants=function(t){for(var e=[t],o=0;o<t.getChildCount();o++)e=e.concat(u.descendants(t.getChild(o)));return e},e.Trees=u},23801:function(t,e,o){var i=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},n=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r=o(72493),s=o(55090),a=o(23054),l=o(98239),p=o(83423),u=function(){function t(){}return t.prototype.registerGridComp=function(t){this.gridPanel=t},t.prototype.getPreferredHeightForRow=function(t){var e=this;this.eDummyContainer||(this.eDummyContainer=document.createElement("div"),p._.addCssClass(this.eDummyContainer,"ag-row ag-row-no-focus"));var o=this.gridPanel.getCenterContainer();o.appendChild(this.eDummyContainer);var i=[];this.columnController.getAllAutoRowHeightCols().filter((function(t){return t.isVisible()})).forEach((function(o){var n=new a.CellComp(e.$scope,e.beans,o,t,null,!0,!1);n.setParentRow(e.eDummyContainer),i.push(n)}));var n=i.map((function(t){return t.getCreateTemplate()})).join(" ");this.eDummyContainer.innerHTML=n,i.forEach((function(t){return t.afterAttached()}));for(var r=0,s=0;s<this.eDummyContainer.children.length;s++){var l=this.eDummyContainer.children[s];l.offsetHeight>r&&(r=l.offsetHeight)}return o.removeChild(this.eDummyContainer),i.forEach((function(t){t.detach(),t.destroy()})),p._.clearElement(this.eDummyContainer),r},i([r.Autowired("beans"),n("design:type",s.Beans)],t.prototype,"beans",void 0),i([r.Autowired("$scope"),n("design:type",Object)],t.prototype,"$scope",void 0),i([r.Autowired("columnController"),n("design:type",l.ColumnController)],t.prototype,"columnController",void 0),i([r.Bean("autoHeightCalculator")],t)}();e.AutoHeightCalculator=u},24048:function(t,e,o){var i=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},n=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r=o(72493),s=o(44081),a=o(663),l=o(4889),p=function(){function t(){}return t.prototype.execute=function(t){var e=t.rowNode,o=t.changedPath;this.filterService.filter(o),this.selectableService.updateSelectableAfterFiltering(e)},i([r.Autowired("gridOptionsWrapper"),n("design:type",s.GridOptionsWrapper)],t.prototype,"gridOptionsWrapper",void 0),i([r.Autowired("selectableService"),n("design:type",l.SelectableService)],t.prototype,"selectableService",void 0),i([r.Autowired("filterService"),n("design:type",a.FilterService)],t.prototype,"filterService",void 0),i([r.Bean("filterStage")],t)}();e.FilterStage=p},24144:function(t,e,o){var i,n=this&&this.__extends||(i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},i(t,e)},function(t,e){function o(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),r=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},s=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var a=o(44081),l=o(72493),p=function(t){function e(){return t.call(this)||this}return n(e,t),e.prototype.init=function(t){var o=this.gridOptionsWrapper.getOverlayLoadingTemplate()?this.gridOptionsWrapper.getOverlayLoadingTemplate():e.DEFAULT_LOADING_OVERLAY_TEMPLATE,i=this.gridOptionsWrapper.getLocaleTextFunc(),n=o.replace("[LOADING...]",i("loadingOoo","Loading..."));this.setTemplate(n)},e.DEFAULT_LOADING_OVERLAY_TEMPLATE='<span class="ag-overlay-loading-center">[LOADING...]</span>',r([l.Autowired("gridOptionsWrapper"),s("design:type",a.GridOptionsWrapper)],e.prototype,"gridOptionsWrapper",void 0),e}(o(22131).Component);e.LoadingOverlayComponent=p},24165:(t,e,o)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.executeAST=void 0;const i=o(94591),n=(t,e)=>{switch(t.callee.type){case"Identifier":{const o=(0,i.getScopeFunction)(t.callee.name,e),n=t.arguments.map((t=>r(t)));return o.apply(o,n)}case"MemberExpression":{const e="Identifier"===t.callee.object.type?(0,i.getClass)(t.callee.object.name):r(t.callee.object),o="Identifier"===t.callee.property.type&&t.callee.property.name;if(!o)throw new Error("Expected CallExpression property to be an identifier");const n=t.arguments.map((t=>r(t)));return e[o](...n)}default:throw new Error("Should not evaluate invalid expressions")}},r=t=>{switch(t?.type){case"Identifier":if(Object.prototype.hasOwnProperty.call(i.GLOBALS,t.name))return i.GLOBALS[t.name];throw new Error(`${t.name} is not a valid Identifier`);case"Literal":return t.value;case"UnaryExpression":return(t=>{if(!t.prefix)throw new Error("Malformed UnaryExpression");switch(t.operator){case"-":return-r(t.argument);case"+":return+r(t.argument);case"!":return!r(t.argument);case"~":return~r(t.argument);default:throw new Error(`Invalid UnaryExpression Provided: '${t.operator}'`)}})(t);case"BinaryExpression":return(t=>{const{left:e,right:o}=t;switch(t.operator){case"==":return r(e)==r(o);case"!=":return r(e)!=r(o);case"===":return r(e)===r(o);case"!==":return r(e)!==r(o);case"<":return r(e)<r(o);case"<=":return r(e)<=r(o);case">":return r(e)>r(o);case">=":return r(e)>=r(o);case"<<":return r(e)<<r(o);case">>":return r(e)>>r(o);case">>>":return r(e)>>>r(o);case"+":return r(e)+r(o);case"-":return r(e)-r(o);case"*":return r(e)*r(o);case"/":return r(e)/r(o);case"%":return r(e)%r(o);case"**":return r(e)**r(o);case"|":return r(e)|r(o);case"^":return r(e)^r(o);case"&":return r(e)&r(o);case"in":return r(e)in r(o);case"instanceof":return r(e)instanceof r(o);default:throw new Error(`Invalid BinaryExpression Provided: '${String(t.operator)}'`)}})(t);case"ArrayExpression":return t.elements.map((t=>r(t)));case"CallExpression":return n(t,!1);case"NewExpression":return n(t,!0);case"ObjectExpression":{const e=Object.create(null);for(const o of t.properties)"key"in o&&(e["Identifier"===o.key.type?o.key.name:r(o.key)]=r(o.value));return{...e}}case"FunctionExpression":case"ArrowFunctionExpression":return(t=>{const e=t.loc?.source||"",o=t.range||[];return e.slice(o[0],o[1])})(t);default:throw new Error}};e.executeAST=t=>{if("Program"===t.type&&1===t.body.length&&"ExpressionStatement"===t.body[0].type)return r(t.body[0].expression);throw new Error("Invalid AST Found")}},24429:(t,e,o)=>{var i=o(72994).Token,n=o(86587),r=n.NoViableAltException,s=n.InputMismatchException,a=n.FailedPredicateException,l=n.ParseCancellationException,p=o(81367).ATNState,u=o(70040).Interval,c=o(70040).m;function d(){}function h(){return d.call(this),this.errorRecoveryMode=!1,this.lastErrorIndex=-1,this.lastErrorStates=null,this}function f(){return h.call(this),this}d.prototype.reset=function(t){},d.prototype.recoverInline=function(t){},d.prototype.recover=function(t,e){},d.prototype.sync=function(t){},d.prototype.inErrorRecoveryMode=function(t){},d.prototype.reportError=function(t){},h.prototype=Object.create(d.prototype),h.prototype.constructor=h,h.prototype.reset=function(t){this.endErrorCondition(t)},h.prototype.beginErrorCondition=function(t){this.errorRecoveryMode=!0},h.prototype.inErrorRecoveryMode=function(t){return this.errorRecoveryMode},h.prototype.endErrorCondition=function(t){this.errorRecoveryMode=!1,this.lastErrorStates=null,this.lastErrorIndex=-1},h.prototype.reportMatch=function(t){this.endErrorCondition(t)},h.prototype.reportError=function(t,e){this.inErrorRecoveryMode(t)||(this.beginErrorCondition(t),e instanceof r?this.reportNoViableAlternative(t,e):e instanceof s?this.reportInputMismatch(t,e):e instanceof a?this.reportFailedPredicate(t,e):(console.log("unknown recognition error type: "+e.constructor.name),console.log(e.stack),t.notifyErrorListeners(e.getOffendingToken(),e.getMessage(),e)))},h.prototype.recover=function(t,e){this.lastErrorIndex===t.getInputStream().index&&null!==this.lastErrorStates&&this.lastErrorStates.indexOf(t.state)>=0&&t.consume(),this.lastErrorIndex=t._input.index,null===this.lastErrorStates&&(this.lastErrorStates=[]),this.lastErrorStates.push(t.state);var o=this.getErrorRecoverySet(t);this.consumeUntil(t,o)},h.prototype.sync=function(t){if(!this.inErrorRecoveryMode(t)){var e=t._interp.atn.states[t.state],o=t.getTokenStream().LA(1),n=t.atn.nextTokens(e);if(!n.contains(i.EPSILON)&&!n.contains(o))switch(e.stateType){case p.BLOCK_START:case p.STAR_BLOCK_START:case p.PLUS_BLOCK_START:case p.STAR_LOOP_ENTRY:if(null!==this.singleTokenDeletion(t))return;throw new s(t);case p.PLUS_LOOP_BACK:case p.STAR_LOOP_BACK:this.reportUnwantedToken(t);var r=new c;r.addSet(t.getExpectedTokens());var a=r.addSet(this.getErrorRecoverySet(t));this.consumeUntil(t,a)}}},h.prototype.reportNoViableAlternative=function(t,e){var o,n=t.getTokenStream();o=null!==n?e.startToken.type===i.EOF?"<EOF>":n.getText(new u(e.startToken.tokenIndex,e.offendingToken.tokenIndex)):"<unknown input>";var r="no viable alternative at input "+this.escapeWSAndQuote(o);t.notifyErrorListeners(r,e.offendingToken,e)},h.prototype.reportInputMismatch=function(t,e){var o="mismatched input "+this.getTokenErrorDisplay(e.offendingToken)+" expecting "+e.getExpectedTokens().toString(t.literalNames,t.symbolicNames);t.notifyErrorListeners(o,e.offendingToken,e)},h.prototype.reportFailedPredicate=function(t,e){var o="rule "+t.ruleNames[t._ctx.ruleIndex]+" "+e.message;t.notifyErrorListeners(o,e.offendingToken,e)},h.prototype.reportUnwantedToken=function(t){if(!this.inErrorRecoveryMode(t)){this.beginErrorCondition(t);var e=t.getCurrentToken(),o="extraneous input "+this.getTokenErrorDisplay(e)+" expecting "+this.getExpectedTokens(t).toString(t.literalNames,t.symbolicNames);t.notifyErrorListeners(o,e,null)}},h.prototype.reportMissingToken=function(t){if(!this.inErrorRecoveryMode(t)){this.beginErrorCondition(t);var e=t.getCurrentToken(),o="missing "+this.getExpectedTokens(t).toString(t.literalNames,t.symbolicNames)+" at "+this.getTokenErrorDisplay(e);t.notifyErrorListeners(o,e,null)}},h.prototype.recoverInline=function(t){var e=this.singleTokenDeletion(t);if(null!==e)return t.consume(),e;if(this.singleTokenInsertion(t))return this.getMissingSymbol(t);throw new s(t)},h.prototype.singleTokenInsertion=function(t){var e=t.getTokenStream().LA(1),o=t._interp.atn,i=o.states[t.state].transitions[0].target;return!!o.nextTokens(i,t._ctx).contains(e)&&(this.reportMissingToken(t),!0)},h.prototype.singleTokenDeletion=function(t){var e=t.getTokenStream().LA(2);if(this.getExpectedTokens(t).contains(e)){this.reportUnwantedToken(t),t.consume();var o=t.getCurrentToken();return this.reportMatch(t),o}return null},h.prototype.getMissingSymbol=function(t){var e,o=t.getCurrentToken(),n=this.getExpectedTokens(t).first();e=n===i.EOF?"<missing EOF>":"<missing "+t.literalNames[n]+">";var r=o,s=t.getTokenStream().LT(-1);return r.type===i.EOF&&null!==s&&(r=s),t.getTokenFactory().create(r.source,n,e,i.DEFAULT_CHANNEL,-1,-1,r.line,r.column)},h.prototype.getExpectedTokens=function(t){return t.getExpectedTokens()},h.prototype.getTokenErrorDisplay=function(t){if(null===t)return"<no token>";var e=t.text;return null===e&&(e=t.type===i.EOF?"<EOF>":"<"+t.type+">"),this.escapeWSAndQuote(e)},h.prototype.escapeWSAndQuote=function(t){return"'"+(t=(t=(t=t.replace(/\n/g,"\\n")).replace(/\r/g,"\\r")).replace(/\t/g,"\\t"))+"'"},h.prototype.getErrorRecoverySet=function(t){for(var e=t._interp.atn,o=t._ctx,n=new c;null!==o&&o.invokingState>=0;){var r=e.states[o.invokingState].transitions[0],s=e.nextTokens(r.followState);n.addSet(s),o=o.parentCtx}return n.removeOne(i.EPSILON),n},h.prototype.consumeUntil=function(t,e){for(var o=t.getTokenStream().LA(1);o!==i.EOF&&!e.contains(o);)t.consume(),o=t.getTokenStream().LA(1)},f.prototype=Object.create(h.prototype),f.prototype.constructor=f,f.prototype.recover=function(t,e){for(var o=t._ctx;null!==o;)o.exception=e,o=o.parentCtx;throw new l(e)},f.prototype.recoverInline=function(t){this.recover(t,new s(t))},f.prototype.sync=function(t){},e.BailErrorStrategy=f,e.$=h},24463:function(t,e,o){var i=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},n=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r=o(44081),s=o(40634),a=o(98239),l=o(72493),p=o(63405),u=o(60843),c=o(88842),d=o(83423),h=function(){function t(){this.initialised=!1}return t.prototype.init=function(){this.cellExpressions=this.gridOptionsWrapper.isEnableCellExpressions(),this.initialised=!0},t.prototype.getValue=function(t,e,o,i){if(void 0===o&&(o=!1),void 0===i&&(i=!1),this.initialised||this.init(),e){var n,r=t.getColDef(),s=r.field,a=t.getId(),l=e.data,p=e.groupData&&void 0!==e.groupData[a],u=!i&&e.aggData&&void 0!==e.aggData[a];if(o&&r.filterValueGetter?n=this.executeFilterValueGetter(r.filterValueGetter,l,t,e):this.gridOptionsWrapper.isTreeData()&&u?n=e.aggData[a]:this.gridOptionsWrapper.isTreeData()&&r.valueGetter?n=this.executeValueGetter(r.valueGetter,l,t,e):this.gridOptionsWrapper.isTreeData()&&s&&l?n=d._.getValueUsingField(l,s,t.isFieldContainsDots()):p?n=e.groupData[a]:u?n=e.aggData[a]:r.valueGetter?n=this.executeValueGetter(r.valueGetter,l,t,e):s&&l&&(n=d._.getValueUsingField(l,s,t.isFieldContainsDots())),this.cellExpressions&&"string"==typeof n&&0===n.indexOf("=")){var c=n.substring(1);n=this.executeValueGetter(c,l,t,e)}return n}},t.prototype.setValue=function(t,e,o){var i=this.columnController.getPrimaryColumn(e);if(t&&i){var n=t.data;d._.missing(n)&&(t.data={});var r=i.getColDef(),s=r.field,a=r.newValueHandler,l=r.valueSetter;if(d._.missing(s)&&d._.missing(a)&&d._.missing(l))console.warn("ag-Grid: you need either field or valueSetter set on colDef for editing to work");else{var u,c={node:t,data:t.data,oldValue:this.getValue(i,t),newValue:o,colDef:i.getColDef(),column:i,api:this.gridOptionsWrapper.getApi(),columnApi:this.gridOptionsWrapper.getColumnApi(),context:this.gridOptionsWrapper.getContext()};if(c.newValue=o,void 0===(u=a&&d._.exists(a)?a(c):d._.exists(l)?this.expressionService.evaluate(l,c):this.setValueUsingField(n,s,o,i.isFieldContainsDots()))&&(u=!0),u){t.resetQuickFilterAggregateText(),this.valueCache.onDataChanged(),c.newValue=this.getValue(i,t);var h=i.getColDef().onCellValueChanged;"function"==typeof h&&setTimeout((function(){return h(c)}),0);var f={type:p.Events.EVENT_CELL_VALUE_CHANGED,event:null,rowIndex:t.rowIndex,rowPinned:t.rowPinned,column:c.column,api:c.api,colDef:c.colDef,columnApi:c.columnApi,context:c.context,data:t.data,node:t,oldValue:c.oldValue,newValue:c.newValue,value:c.newValue};this.eventService.dispatchEvent(f)}}}},t.prototype.setValueUsingField=function(t,e,o,i){if(!e)return!1;if(i)for(var n=e.split("."),r=t;n.length>0&&r;){var s=n.shift();0===n.length?r[s]=o:r=r[s]}else t[e]=o;return!0},t.prototype.executeFilterValueGetter=function(t,e,o,i){var n={data:e,node:i,column:o,colDef:o.getColDef(),api:this.gridOptionsWrapper.getApi(),columnApi:this.gridOptionsWrapper.getColumnApi(),context:this.gridOptionsWrapper.getContext(),getValue:this.getValueCallback.bind(this,i)};return this.expressionService.evaluate(t,n)},t.prototype.executeValueGetter=function(t,e,o,i){var n=o.getId(),r=this.valueCache.getValue(i,n);if(void 0!==r)return r;var s={data:e,node:i,column:o,colDef:o.getColDef(),api:this.gridOptionsWrapper.getApi(),columnApi:this.gridOptionsWrapper.getColumnApi(),context:this.gridOptionsWrapper.getContext(),getValue:this.getValueCallback.bind(this,i)},a=this.expressionService.evaluate(t,s);return this.valueCache.setValue(i,n,a),a},t.prototype.getValueCallback=function(t,e){var o=this.columnController.getPrimaryColumn(e);return o?this.getValue(o,t):null},t.prototype.getKeyForNode=function(t,e){var o=this.getValue(t,e),i=t.getColDef().keyCreator,n=i?i({value:o}):o;return"string"==typeof n||null==n||"[object Object]"===(n=String(n))&&d._.doOnce((function(){console.warn("ag-Grid: a column you are grouping or pivoting by has objects as values. If you want to group by complex objects then either a) use a colDef.keyCreator (se ag-Grid docs) or b) to toString() on the object to return a key")}),"getKeyForNode - warn about [object,object]"),n},i([l.Autowired("gridOptionsWrapper"),n("design:type",r.GridOptionsWrapper)],t.prototype,"gridOptionsWrapper",void 0),i([l.Autowired("expressionService"),n("design:type",s.ExpressionService)],t.prototype,"expressionService",void 0),i([l.Autowired("columnController"),n("design:type",a.ColumnController)],t.prototype,"columnController",void 0),i([l.Autowired("eventService"),n("design:type",u.EventService)],t.prototype,"eventService",void 0),i([l.Autowired("valueCache"),n("design:type",c.ValueCache)],t.prototype,"valueCache",void 0),i([l.PostConstruct,n("design:type",Function),n("design:paramtypes",[]),n("design:returntype",void 0)],t.prototype,"init",null),i([l.Bean("valueService")],t)}();e.ValueService=h},25230:function(t,e,o){var i=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},n=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r=o(72493),s=o(37132),a=o(60843),l=o(63405),p=o(44081),u=o(44871),c=o(40797),d=o(83423),h=function(){function t(){this.onMouseUpListener=this.onMouseUp.bind(this),this.onMouseMoveListener=this.onMouseMove.bind(this),this.onTouchEndListener=this.onTouchUp.bind(this),this.onTouchMoveListener=this.onTouchMove.bind(this),this.dragEndFunctions=[],this.dragSources=[]}return t.prototype.init=function(){this.logger=this.loggerFactory.create("DragService")},t.prototype.destroy=function(){this.dragSources.forEach(this.removeListener.bind(this)),this.dragSources.length=0},t.prototype.removeListener=function(t){var e=t.dragSource.eElement,o=t.mouseDownListener;if(e.removeEventListener("mousedown",o),t.touchEnabled){var i=t.touchStartListener;e.removeEventListener("touchstart",i,{passive:!0})}},t.prototype.removeDragSource=function(t){var e=d._.find(this.dragSources,(function(e){return e.dragSource===t}));e&&(this.removeListener(e),d._.removeFromArray(this.dragSources,e))},t.prototype.setNoSelectToBody=function(t){var e=this.gridOptionsWrapper.getDocument().querySelector("body");d._.exists(e)&&d._.addOrRemoveCssClass(e,"ag-unselectable",t)},t.prototype.addDragSource=function(t,e){void 0===e&&(e=!1);var o=this.onMouseDown.bind(this,t);t.eElement.addEventListener("mousedown",o);var i=null,n=this.gridOptionsWrapper.isSuppressTouch();e&&!n&&(i=this.onTouchStart.bind(this,t),t.eElement.addEventListener("touchstart",i,{passive:!1})),this.dragSources.push({dragSource:t,mouseDownListener:o,touchStartListener:i,touchEnabled:e})},t.prototype.onTouchStart=function(t,e){var o=this;this.currentDragParams=t,this.dragging=!1;var i=e.touches[0];this.touchLastTime=i,this.touchStart=i,e.preventDefault(),t.eElement.addEventListener("touchmove",this.onTouchMoveListener,{passive:!0}),t.eElement.addEventListener("touchend",this.onTouchEndListener,{passive:!0}),t.eElement.addEventListener("touchcancel",this.onTouchEndListener,{passive:!0}),this.dragEndFunctions.push((function(){t.eElement.removeEventListener("touchmove",o.onTouchMoveListener,{passive:!0}),t.eElement.removeEventListener("touchend",o.onTouchEndListener,{passive:!0}),t.eElement.removeEventListener("touchcancel",o.onTouchEndListener,{passive:!0})})),0===t.dragStartPixels&&this.onCommonMove(i,this.touchStart)},t.prototype.onMouseDown=function(t,e){var o=this;if(!(t.skipMouseEvent&&t.skipMouseEvent(e)||e._alreadyProcessedByDragService||(e._alreadyProcessedByDragService=!0,0!==e.button))){this.currentDragParams=t,this.dragging=!1,this.mouseEventLastTime=e,this.mouseStartEvent=e;var i=this.gridOptionsWrapper.getDocument();i.addEventListener("mousemove",this.onMouseMoveListener),i.addEventListener("mouseup",this.onMouseUpListener),this.dragEndFunctions.push((function(){i.removeEventListener("mousemove",o.onMouseMoveListener),i.removeEventListener("mouseup",o.onMouseUpListener)})),0===t.dragStartPixels&&this.onMouseMove(e)}},t.prototype.isEventNearStartEvent=function(t,e){var o=this.currentDragParams.dragStartPixels,i=d._.exists(o)?o:4;return d._.areEventsNear(t,e,i)},t.prototype.getFirstActiveTouch=function(t){for(var e=0;e<t.length;e++)if(t[e].identifier===this.touchStart.identifier)return t[e];return null},t.prototype.onCommonMove=function(t,e){if(!this.dragging){if(!this.dragging&&this.isEventNearStartEvent(t,e))return;this.dragging=!0;var o={type:l.Events.EVENT_DRAG_STARTED,api:this.gridApi,columnApi:this.columnApi};this.eventService.dispatchEvent(o),this.currentDragParams.onDragStart(e),this.setNoSelectToBody(!0)}this.currentDragParams.onDragging(t)},t.prototype.onTouchMove=function(t){var e=this.getFirstActiveTouch(t.touches);e&&this.onCommonMove(e,this.touchStart)},t.prototype.onMouseMove=function(t){this.onCommonMove(t,this.mouseStartEvent)},t.prototype.onTouchUp=function(t){var e=this.getFirstActiveTouch(t.changedTouches);e||(e=this.touchLastTime),this.onUpCommon(e)},t.prototype.onMouseUp=function(t){this.onUpCommon(t)},t.prototype.onUpCommon=function(t){if(this.dragging){this.dragging=!1,this.currentDragParams.onDragStop(t);var e={type:l.Events.EVENT_DRAG_STOPPED,api:this.gridApi,columnApi:this.columnApi};this.eventService.dispatchEvent(e)}this.setNoSelectToBody(!1),this.mouseStartEvent=null,this.mouseEventLastTime=null,this.touchStart=null,this.touchLastTime=null,this.currentDragParams=null,this.dragEndFunctions.forEach((function(t){return t()})),this.dragEndFunctions.length=0},i([r.Autowired("loggerFactory"),n("design:type",s.LoggerFactory)],t.prototype,"loggerFactory",void 0),i([r.Autowired("eventService"),n("design:type",a.EventService)],t.prototype,"eventService",void 0),i([r.Autowired("gridOptionsWrapper"),n("design:type",p.GridOptionsWrapper)],t.prototype,"gridOptionsWrapper",void 0),i([r.Autowired("columnApi"),n("design:type",u.ColumnApi)],t.prototype,"columnApi",void 0),i([r.Autowired("gridApi"),n("design:type",c.GridApi)],t.prototype,"gridApi",void 0),i([r.PostConstruct,n("design:type",Function),n("design:paramtypes",[]),n("design:returntype",void 0)],t.prototype,"init",null),i([r.PreDestroy,n("design:type",Function),n("design:paramtypes",[]),n("design:returntype",void 0)],t.prototype,"destroy",null),i([r.Bean("dragService")],t)}();e.DragService=h},25358:function(t,e,o){var i,n=this&&this.__extends||(i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},i(t,e)},function(t,e){function o(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),r=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},s=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var a=o(22131),l=o(26016),p=o(72493),u=o(44081),c=o(86608),d=o(66419),h=o(60843),f=o(47721),g=o(63405),y=o(83423),m=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.lastMovingChanged=0,e}return n(e,t),e.prototype.init=function(t){var o=y._.firstExistingValue(t.template,e.TEMPLATE);o=o&&o.trim?o.trim():o,this.setTemplate(o),this.params=t,this.setupTap(),this.setupIcons(t.column),this.setupMenu(),this.setupSort(),this.setupFilterIcon(),this.setupText(t.displayName)},e.prototype.setupText=function(t){var e=y._.escape(t);this.eText&&(this.eText.innerHTML=e)},e.prototype.setupIcons=function(t){this.addInIcon("sortAscending",this.eSortAsc,t),this.addInIcon("sortDescending",this.eSortDesc,t),this.addInIcon("sortUnSort",this.eSortNone,t),this.addInIcon("menu",this.eMenu,t),this.addInIcon("filter",this.eFilter,t)},e.prototype.addInIcon=function(t,e,o){if(null!=e){var i=y._.createIconNoSpan(t,this.gridOptionsWrapper,o);e.appendChild(i)}},e.prototype.setupTap=function(){var t=this,e=this.gridOptionsWrapper;if(!e.isSuppressTouch()){var o=e.isSuppressMenuHide(),i=new d.TouchListener(this.getGui(),!0),n=o?new d.TouchListener(this.eMenu,!0):i;if(this.params.enableMenu){var r=o?"EVENT_TAP":"EVENT_LONG_TAP";this.addDestroyableEventListener(n,d.TouchListener[r],(function(o){e.getApi().showColumnMenuAfterMouseClick(t.params.column,o.touchStart)}))}this.params.enableSorting&&this.addDestroyableEventListener(i,d.TouchListener.EVENT_TAP,(function(e){var i=e.touchStart.target;o&&t.eMenu.contains(i)||t.sortController.progressSort(t.params.column,!1,"uiColumnSorted")})),this.addDestroyFunc((function(){return i.destroy()})),n!==i&&this.addDestroyFunc((function(){return n.destroy()}))}},e.prototype.setupMenu=function(){var t=this;if(this.eMenu){var e=this.gridOptionsWrapper.isSuppressMenuHide();if(!this.params.enableMenu||y._.isUserAgentIPad()&&!e)y._.removeFromParent(this.eMenu);else{this.addDestroyableEventListener(this.eMenu,"click",(function(){return t.showMenu(t.eMenu)})),e||(this.eMenu.style.opacity="0",this.addGuiEventListener("mouseover",(function(){t.eMenu.style.opacity="1"})),this.addGuiEventListener("mouseout",(function(){t.eMenu.style.opacity="0"})));var o=this.eMenu.style;o.transition="opacity 0.2s, border 0.2s",o["-webkit-transition"]="opacity 0.2s, border 0.2s"}}},e.prototype.showMenu=function(t){this.menuFactory.showMenuAfterButtonClick(this.params.column,t)},e.prototype.removeSortIcons=function(){y._.removeFromParent(this.eSortAsc),y._.removeFromParent(this.eSortDesc),y._.removeFromParent(this.eSortNone),y._.removeFromParent(this.eSortOrder)},e.prototype.setupSort=function(){var t=this;if(this.params.enableSorting){var e=this.gridOptionsWrapper.isMultiSortKeyCtrl();this.addDestroyableEventListener(this.params.column,l.Column.EVENT_MOVING_CHANGED,(function(){t.lastMovingChanged=(new Date).getTime()})),this.eLabel&&this.addDestroyableEventListener(this.eLabel,"click",(function(o){var i=t.params.column.isMoving(),n=(new Date).getTime()-t.lastMovingChanged<50;if(!i&&!n){var r=e?o.ctrlKey||o.metaKey:o.shiftKey;t.params.progressSort(r)}})),this.addDestroyableEventListener(this.params.column,l.Column.EVENT_SORT_CHANGED,this.onSortChanged.bind(this)),this.onSortChanged(),this.addDestroyableEventListener(this.eventService,g.Events.EVENT_SORT_CHANGED,this.setMultiSortOrder.bind(this)),this.setMultiSortOrder()}else this.removeSortIcons()},e.prototype.onSortChanged=function(){if(y._.addOrRemoveCssClass(this.getGui(),"ag-header-cell-sorted-asc",this.params.column.isSortAscending()),y._.addOrRemoveCssClass(this.getGui(),"ag-header-cell-sorted-desc",this.params.column.isSortDescending()),y._.addOrRemoveCssClass(this.getGui(),"ag-header-cell-sorted-none",this.params.column.isSortNone()),this.eSortAsc&&y._.addOrRemoveCssClass(this.eSortAsc,"ag-hidden",!this.params.column.isSortAscending()),this.eSortDesc&&y._.addOrRemoveCssClass(this.eSortDesc,"ag-hidden",!this.params.column.isSortDescending()),this.eSortNone){var t=!this.params.column.getColDef().unSortIcon&&!this.gridOptionsWrapper.isUnSortIcon();y._.addOrRemoveCssClass(this.eSortNone,"ag-hidden",t||!this.params.column.isSortNone())}},e.prototype.setMultiSortOrder=function(){if(this.eSortOrder){var t=this.params.column,e=this.sortController.getColumnsWithSortingOrdered(),o=e.indexOf(t),i=e.length>1,n=t.isSorting()&&i;y._.setVisible(this.eSortOrder,n),o>=0?this.eSortOrder.innerHTML=(o+1).toString():y._.clearElement(this.eSortOrder)}},e.prototype.setupFilterIcon=function(){this.eFilter&&(this.addDestroyableEventListener(this.params.column,l.Column.EVENT_FILTER_CHANGED,this.onFilterChanged.bind(this)),this.onFilterChanged())},e.prototype.onFilterChanged=function(){var t=this.params.column.isFilterActive();y._.addOrRemoveCssClass(this.eFilter,"ag-hidden",!t)},e.TEMPLATE='<div class="ag-cell-label-container" role="presentation"> <span ref="eMenu" class="ag-header-icon ag-header-cell-menu-button" aria-hidden="true"></span> <div ref="eLabel" class="ag-header-cell-label" role="presentation" unselectable="on"> <span ref="eText" class="ag-header-cell-text" role="columnheader" unselectable="on"></span> <span ref="eFilter" class="ag-header-icon ag-filter-icon" aria-hidden="true"></span> <span ref="eSortOrder" class="ag-header-icon ag-sort-order" aria-hidden="true"></span> <span ref="eSortAsc" class="ag-header-icon ag-sort-ascending-icon" aria-hidden="true"></span> <span ref="eSortDesc" class="ag-header-icon ag-sort-descending-icon" aria-hidden="true"></span> <span ref="eSortNone" class="ag-header-icon ag-sort-none-icon" aria-hidden="true"></span> </div></div>',r([p.Autowired("gridOptionsWrapper"),s("design:type",u.GridOptionsWrapper)],e.prototype,"gridOptionsWrapper",void 0),r([p.Autowired("sortController"),s("design:type",c.SortController)],e.prototype,"sortController",void 0),r([p.Autowired("menuFactory"),s("design:type",Object)],e.prototype,"menuFactory",void 0),r([p.Autowired("eventService"),s("design:type",h.EventService)],e.prototype,"eventService",void 0),r([f.RefSelector("eFilter"),s("design:type",HTMLElement)],e.prototype,"eFilter",void 0),r([f.RefSelector("eSortAsc"),s("design:type",HTMLElement)],e.prototype,"eSortAsc",void 0),r([f.RefSelector("eSortDesc"),s("design:type",HTMLElement)],e.prototype,"eSortDesc",void 0),r([f.RefSelector("eSortNone"),s("design:type",HTMLElement)],e.prototype,"eSortNone",void 0),r([f.RefSelector("eSortOrder"),s("design:type",HTMLElement)],e.prototype,"eSortOrder",void 0),r([f.RefSelector("eMenu"),s("design:type",HTMLElement)],e.prototype,"eMenu",void 0),r([f.RefSelector("eLabel"),s("design:type",HTMLElement)],e.prototype,"eLabel",void 0),r([f.RefSelector("eText"),s("design:type",HTMLElement)],e.prototype,"eText",void 0),e}(a.Component);e.HeaderComp=m},26016:function(t,e,o){var i=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},n=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r=o(60843),s=o(83423),a=o(72493),l=o(44081),p=o(814),u=o(44871),c=o(40797),d=function(){function t(t,e,o,i){this.moving=!1,this.menuVisible=!1,this.filterActive=!1,this.eventService=new r.EventService,this.rowGroupActive=!1,this.pivotActive=!1,this.aggregationActive=!1,this.colDef=t,this.userProvidedColDef=e,this.visible=!t.hide,this.sort=t.sort,this.sortedAt=t.sortedAt,this.colId=o,this.primary=i,this.lockPosition=!0===t.lockPosition,this.lockPinned=!0===t.lockPinned,this.lockVisible=!0===t.lockVisible}return t.prototype.setColDef=function(t,e){this.colDef=t,this.userProvidedColDef=e},t.prototype.getUserProvidedColDef=function(){return this.userProvidedColDef},t.prototype.isLockPosition=function(){return this.lockPosition},t.prototype.isLockVisible=function(){return this.lockVisible},t.prototype.isLockPinned=function(){return this.lockPinned},t.prototype.setParent=function(t){this.parent=t},t.prototype.getParent=function(){return this.parent},t.prototype.setOriginalParent=function(t){this.originalParent=t},t.prototype.getOriginalParent=function(){return this.originalParent},t.prototype.initialise=function(){this.setPinned(this.colDef.pinned);var t=this.gridOptionsWrapper.getMinColWidth(),e=this.gridOptionsWrapper.getMaxColWidth();this.colDef.minWidth?this.minWidth=this.colDef.minWidth:this.minWidth=t,this.colDef.maxWidth?this.maxWidth=this.colDef.maxWidth:this.maxWidth=e,this.actualWidth=this.columnUtils.calculateColInitialWidth(this.colDef);var o=this.gridOptionsWrapper.isSuppressFieldDotNotation();this.fieldContainsDots=s._.exists(this.colDef.field)&&this.colDef.field.indexOf(".")>=0&&!o,this.tooltipFieldContainsDots=s._.exists(this.colDef.tooltipField)&&this.colDef.tooltipField.indexOf(".")>=0&&!o,this.validate()},t.prototype.isEmptyGroup=function(){return!1},t.prototype.isRowGroupDisplayed=function(t){if(s._.missing(this.colDef)||s._.missing(this.colDef.showRowGroup))return!1;var e=!0===this.colDef.showRowGroup,o=this.colDef.showRowGroup===t;return e||o},t.prototype.getUniqueId=function(){return this.getId()},t.prototype.isPrimary=function(){return this.primary},t.prototype.isFilterAllowed=function(){var t=!!this.colDef.filter||!!this.colDef.filterFramework;return this.primary&&t},t.prototype.isFieldContainsDots=function(){return this.fieldContainsDots},t.prototype.isTooltipFieldContainsDots=function(){return this.tooltipFieldContainsDots},t.prototype.validate=function(){var t=this.colDef;this.gridOptionsWrapper.isEnterprise()||["enableRowGroup","rowGroup","rowGroupIndex","enablePivot","pivot","pivotIndex","aggFunc"].forEach((function(e){s._.exists(t[e])&&console.warn("ag-Grid: "+e+" is only valid in ag-Grid-Enterprise, your column definition should not have "+e)})),this.gridOptionsWrapper.isTreeData()&&["rowGroup","rowGroupIndex","pivot","pivotIndex"].forEach((function(e){s._.exists(t[e])&&console.warn("ag-Grid: "+e+" is not possible when doing tree data, your column definition should not have "+e)})),s._.exists(this.colDef.width)&&"number"!=typeof this.colDef.width&&console.warn("ag-Grid: colDef.width should be a number, not "+typeof this.colDef.width),s._.get(this,"colDef.cellRendererParams.restrictToOneGroup",null)&&console.warn("ag-Grid: Since ag-grid 11.0.0 cellRendererParams.restrictToOneGroup is deprecated. You should use showRowGroup"),s._.get(this,"colDef.cellRendererParams.keyMap",null)&&console.warn("ag-Grid: Since ag-grid 11.0.0 cellRendererParams.keyMap is deprecated. You should use colDef.keyCreator"),s._.get(this,"colDef.cellRendererParams.keyMap",null)&&console.warn("ag-Grid: Since ag-grid 11.0.0 cellRendererParams.keyMap is deprecated. You should use colDef.keyCreator"),t.floatingCellRenderer&&(console.warn("ag-Grid: since v11, floatingCellRenderer is now pinnedRowCellRenderer"),this.colDef.pinnedRowCellRenderer=t.floatingCellRenderer),t.floatingRendererFramework&&(console.warn("ag-Grid: since v11, floatingRendererFramework is now pinnedRowCellRendererFramework"),this.colDef.pinnedRowCellRendererFramework=t.floatingRendererFramework),t.floatingRendererParams&&(console.warn("ag-Grid: since v11, floatingRendererParams is now pinnedRowCellRendererParams"),this.colDef.pinnedRowCellRendererParams=t.floatingRendererParams),t.floatingValueFormatter&&(console.warn("ag-Grid: since v11, floatingValueFormatter is now pinnedRowValueFormatter"),this.colDef.pinnedRowValueFormatter=t.floatingValueFormatter),t.cellFormatter&&(console.warn("ag-Grid: since v12, cellFormatter is now valueFormatter"),s._.missing(this.colDef.valueFormatter)&&(this.colDef.valueFormatter=t.cellFormatter)),t.headerCellTemplate&&console.warn("ag-Grid: since v15, headerCellTemplate is gone, use header component instead."),t.headerCellRenderer&&console.warn("ag-Grid: since v15, headerCellRenderer is gone, use header component instead."),t.volatile&&console.warn("ag-Grid: since v16, colDef.volatile is gone, please check refresh docs on how to refresh specific cells."),t.suppressSorting&&(console.warn("ag-Grid: since v20, colDef.suppressSorting is gone, instead use colDef.sortable=false.",this.colDef),this.colDef.sortable=!1),t.suppressFilter&&(console.warn("ag-Grid: since v20, colDef.suppressFilter is gone, instead use colDef.filter=false.",this.colDef),this.colDef.filter=!1),t.suppressResize&&(console.warn("ag-Grid: since v20, colDef.suppressResize is gone, instead use colDef.resizable=false.",this.colDef),this.colDef.resizable=!1),t.tooltip&&(console.warn("ag-Grid: since v20.1, colDef.tooltip is gone, instead use colDef.tooltipValueGetter.",this.colDef),this.colDef.tooltipValueGetter=t.tooltip)},t.prototype.addEventListener=function(t,e){this.eventService.addEventListener(t,e)},t.prototype.removeEventListener=function(t,e){this.eventService.removeEventListener(t,e)},t.prototype.createIsColumnFuncParams=function(t){return{node:t,data:t.data,column:this,colDef:this.colDef,context:this.gridOptionsWrapper.getContext(),api:this.gridOptionsWrapper.getApi(),columnApi:this.gridOptionsWrapper.getColumnApi()}},t.prototype.isSuppressNavigable=function(t){if("boolean"==typeof this.colDef.suppressNavigable)return this.colDef.suppressNavigable;if("function"==typeof this.colDef.suppressNavigable){var e=this.createIsColumnFuncParams(t);return(0,this.colDef.suppressNavigable)(e)}return!1},t.prototype.isCellEditable=function(t){return!(t.group&&!this.gridOptionsWrapper.isEnableGroupEdit())&&this.isColumnFunc(t,this.colDef.editable)},t.prototype.isRowDrag=function(t){return this.isColumnFunc(t,this.colDef.rowDrag)},t.prototype.isCellCheckboxSelection=function(t){return this.isColumnFunc(t,this.colDef.checkboxSelection)},t.prototype.isSuppressPaste=function(t){return this.isColumnFunc(t,this.colDef?this.colDef.suppressPaste:null)},t.prototype.isResizable=function(){return!0===this.colDef.resizable},t.prototype.isColumnFunc=function(t,e){return"boolean"==typeof e?e:"function"==typeof e&&e(this.createIsColumnFuncParams(t))},t.prototype.setMoving=function(e,o){void 0===o&&(o="api"),this.moving=e,this.eventService.dispatchEvent(this.createColumnEvent(t.EVENT_MOVING_CHANGED,o))},t.prototype.createColumnEvent=function(t,e){return{api:this.gridApi,columnApi:this.columnApi,type:t,column:this,columns:[this],source:e}},t.prototype.isMoving=function(){return this.moving},t.prototype.getSort=function(){return this.sort},t.prototype.setSort=function(e,o){void 0===o&&(o="api"),this.sort!==e&&(this.sort=e,this.eventService.dispatchEvent(this.createColumnEvent(t.EVENT_SORT_CHANGED,o)))},t.prototype.setMenuVisible=function(e,o){void 0===o&&(o="api"),this.menuVisible!==e&&(this.menuVisible=e,this.eventService.dispatchEvent(this.createColumnEvent(t.EVENT_MENU_VISIBLE_CHANGED,o)))},t.prototype.isMenuVisible=function(){return this.menuVisible},t.prototype.isSortAscending=function(){return this.sort===t.SORT_ASC},t.prototype.isSortDescending=function(){return this.sort===t.SORT_DESC},t.prototype.isSortNone=function(){return s._.missing(this.sort)},t.prototype.isSorting=function(){return s._.exists(this.sort)},t.prototype.getSortedAt=function(){return this.sortedAt},t.prototype.setSortedAt=function(t){this.sortedAt=t},t.prototype.setAggFunc=function(t){this.aggFunc=t},t.prototype.getAggFunc=function(){return this.aggFunc},t.prototype.getLeft=function(){return this.left},t.prototype.getOldLeft=function(){return this.oldLeft},t.prototype.getRight=function(){return this.left+this.actualWidth},t.prototype.setLeft=function(e,o){void 0===o&&(o="api"),this.oldLeft=this.left,this.left!==e&&(this.left=e,this.eventService.dispatchEvent(this.createColumnEvent(t.EVENT_LEFT_CHANGED,o)))},t.prototype.isFilterActive=function(){return this.filterActive},t.prototype.setFilterActive=function(e,o){void 0===o&&(o="api"),this.filterActive!==e&&(this.filterActive=e,this.eventService.dispatchEvent(this.createColumnEvent(t.EVENT_FILTER_ACTIVE_CHANGED,o))),this.eventService.dispatchEvent(this.createColumnEvent(t.EVENT_FILTER_CHANGED,o))},t.prototype.setPinned=function(e){!0===e||e===t.PINNED_LEFT?this.pinned=t.PINNED_LEFT:e===t.PINNED_RIGHT?this.pinned=t.PINNED_RIGHT:this.pinned=null},t.prototype.setFirstRightPinned=function(e,o){void 0===o&&(o="api"),this.firstRightPinned!==e&&(this.firstRightPinned=e,this.eventService.dispatchEvent(this.createColumnEvent(t.EVENT_FIRST_RIGHT_PINNED_CHANGED,o)))},t.prototype.setLastLeftPinned=function(e,o){void 0===o&&(o="api"),this.lastLeftPinned!==e&&(this.lastLeftPinned=e,this.eventService.dispatchEvent(this.createColumnEvent(t.EVENT_LAST_LEFT_PINNED_CHANGED,o)))},t.prototype.isFirstRightPinned=function(){return this.firstRightPinned},t.prototype.isLastLeftPinned=function(){return this.lastLeftPinned},t.prototype.isPinned=function(){return this.pinned===t.PINNED_LEFT||this.pinned===t.PINNED_RIGHT},t.prototype.isPinnedLeft=function(){return this.pinned===t.PINNED_LEFT},t.prototype.isPinnedRight=function(){return this.pinned===t.PINNED_RIGHT},t.prototype.getPinned=function(){return this.pinned},t.prototype.setVisible=function(e,o){void 0===o&&(o="api");var i=!0===e;this.visible!==i&&(this.visible=i,this.eventService.dispatchEvent(this.createColumnEvent(t.EVENT_VISIBLE_CHANGED,o)))},t.prototype.isVisible=function(){return this.visible},t.prototype.getColDef=function(){return this.colDef},t.prototype.getColumnGroupShow=function(){return this.colDef.columnGroupShow},t.prototype.getColId=function(){return this.colId},t.prototype.getId=function(){return this.getColId()},t.prototype.getDefinition=function(){return this.colDef},t.prototype.getActualWidth=function(){return this.actualWidth},t.prototype.createBaseColDefParams=function(t){return{node:t,data:t.data,colDef:this.colDef,column:this,api:this.gridOptionsWrapper.getApi(),columnApi:this.gridOptionsWrapper.getColumnApi(),context:this.gridOptionsWrapper.getContext()}},t.prototype.getColSpan=function(t){if(s._.missing(this.colDef.colSpan))return 1;var e=this.createBaseColDefParams(t),o=this.colDef.colSpan(e);return Math.max(o,1)},t.prototype.getRowSpan=function(t){if(s._.missing(this.colDef.rowSpan))return 1;var e=this.createBaseColDefParams(t),o=this.colDef.rowSpan(e);return Math.max(o,1)},t.prototype.setActualWidth=function(e,o){void 0===o&&(o="api"),this.actualWidth!==e&&(this.actualWidth=e,this.eventService.dispatchEvent(this.createColumnEvent(t.EVENT_WIDTH_CHANGED,o)))},t.prototype.isGreaterThanMax=function(t){return!!this.maxWidth&&t>this.maxWidth},t.prototype.getMinWidth=function(){return this.minWidth},t.prototype.getMaxWidth=function(){return this.maxWidth},t.prototype.setMinimum=function(t){void 0===t&&(t="api"),this.setActualWidth(this.minWidth,t)},t.prototype.setRowGroupActive=function(e,o){void 0===o&&(o="api"),this.rowGroupActive!==e&&(this.rowGroupActive=e,this.eventService.dispatchEvent(this.createColumnEvent(t.EVENT_ROW_GROUP_CHANGED,o)))},t.prototype.isRowGroupActive=function(){return this.rowGroupActive},t.prototype.setPivotActive=function(e,o){void 0===o&&(o="api"),this.pivotActive!==e&&(this.pivotActive=e,this.eventService.dispatchEvent(this.createColumnEvent(t.EVENT_PIVOT_CHANGED,o)))},t.prototype.isPivotActive=function(){return this.pivotActive},t.prototype.isAnyFunctionActive=function(){return this.isPivotActive()||this.isRowGroupActive()||this.isValueActive()},t.prototype.isAnyFunctionAllowed=function(){return this.isAllowPivot()||this.isAllowRowGroup()||this.isAllowValue()},t.prototype.setValueActive=function(e,o){void 0===o&&(o="api"),this.aggregationActive!==e&&(this.aggregationActive=e,this.eventService.dispatchEvent(this.createColumnEvent(t.EVENT_VALUE_CHANGED,o)))},t.prototype.isValueActive=function(){return this.aggregationActive},t.prototype.isAllowPivot=function(){return!0===this.colDef.enablePivot},t.prototype.isAllowValue=function(){return!0===this.colDef.enableValue},t.prototype.isAllowRowGroup=function(){return!0===this.colDef.enableRowGroup},t.prototype.getMenuTabs=function(t){var e=this.getColDef().menuTabs;return null==e&&(e=t),e},t.EVENT_MOVING_CHANGED="movingChanged",t.EVENT_LEFT_CHANGED="leftChanged",t.EVENT_WIDTH_CHANGED="widthChanged",t.EVENT_LAST_LEFT_PINNED_CHANGED="lastLeftPinnedChanged",t.EVENT_FIRST_RIGHT_PINNED_CHANGED="firstRightPinnedChanged",t.EVENT_VISIBLE_CHANGED="visibleChanged",t.EVENT_FILTER_CHANGED="filterChanged",t.EVENT_FILTER_ACTIVE_CHANGED="filterActiveChanged",t.EVENT_SORT_CHANGED="sortChanged",t.EVENT_MENU_VISIBLE_CHANGED="menuVisibleChanged",t.EVENT_ROW_GROUP_CHANGED="columnRowGroupChanged",t.EVENT_PIVOT_CHANGED="columnPivotChanged",t.EVENT_VALUE_CHANGED="columnValueChanged",t.PINNED_RIGHT="right",t.PINNED_LEFT="left",t.SORT_ASC="asc",t.SORT_DESC="desc",i([a.Autowired("gridOptionsWrapper"),n("design:type",l.GridOptionsWrapper)],t.prototype,"gridOptionsWrapper",void 0),i([a.Autowired("columnUtils"),n("design:type",p.ColumnUtils)],t.prototype,"columnUtils",void 0),i([a.Autowired("frameworkFactory"),n("design:type",Object)],t.prototype,"frameworkFactory",void 0),i([a.Autowired("columnApi"),n("design:type",u.ColumnApi)],t.prototype,"columnApi",void 0),i([a.Autowired("gridApi"),n("design:type",c.GridApi)],t.prototype,"gridApi",void 0),i([a.PostConstruct,n("design:type",Function),n("design:paramtypes",[]),n("design:returntype",void 0)],t.prototype,"initialise",null),t}();e.Column=d},26597:(t,e,o)=>{e.ATN=o(51028).ATN,e.ATNDeserializer=o(36575).ATNDeserializer,e.LexerATNSimulator=o(60634).LexerATNSimulator,e.ParserATNSimulator=o(7543).ParserATNSimulator,e.PredictionMode=o(63387).PredictionMode},27022:(t,e,o)=>{var i=o(25003),n=o(4715);function r(t){n.call(this,t),this.enc="pem"}i(r,n),t.exports=r,r.prototype.encode=function(t,e){for(var o=n.prototype.encode.call(this,t).toString("base64"),i=["-----BEGIN "+e.label+"-----"],r=0;r<o.length;r+=64)i.push(o.slice(r,r+64));return i.push("-----END "+e.label+"-----"),i.join("\n")}},27818:(t,e,o)=>{o.d(e,{Ay:()=>n,X6:()=>r});var i=o(47991);const n=i.Ay,r=i.X6;i.qg},27887:function(t,e,o){var i=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},n=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r=o(72493),s=o(37132),a=o(98239),l=o(26016),p=o(83423),u=o(58342),c=o(44081),d=function(){function t(t,e){this.needToMoveLeft=!1,this.needToMoveRight=!1,this.pinned=t,this.eContainer=e,this.centerContainer=!p._.exists(t)}return t.prototype.registerGridComp=function(t){this.gridPanel=t},t.prototype.init=function(){this.logger=this.loggerFactory.create("MoveColumnController")},t.prototype.getIconName=function(){return this.pinned?u.DragAndDropService.ICON_PINNED:u.DragAndDropService.ICON_MOVE},t.prototype.onDragEnter=function(t){var e=t.dragItem.columns;if(t.dragSource.type===u.DragSourceType.ToolPanel)this.setColumnsVisible(e,!0,"uiColumnDragged");else{var o=t.dragItem.visibleState,i=e.filter((function(t){return o[t.getId()]}));this.setColumnsVisible(i,!0,"uiColumnDragged")}this.setColumnsPinned(e,this.pinned,"uiColumnDragged"),this.onDragging(t,!0)},t.prototype.onDragLeave=function(t){if(!this.gridOptionsWrapper.isSuppressDragLeaveHidesColumns()&&!t.fromNudge){var e=t.dragSource.dragItemCallback().columns;this.setColumnsVisible(e,!1,"uiColumnDragged")}this.ensureIntervalCleared()},t.prototype.setColumnsVisible=function(t,e,o){if(void 0===o&&(o="api"),t){var i=t.filter((function(t){return!t.isLockVisible()}));this.columnController.setColumnsVisible(i,e,o)}},t.prototype.setColumnsPinned=function(t,e,o){if(void 0===o&&(o="api"),t){var i=t.filter((function(t){return!t.isLockPinned()}));this.columnController.setColumnsPinned(i,e,o)}},t.prototype.onDragStop=function(){this.ensureIntervalCleared()},t.prototype.normaliseX=function(t){return this.gridOptionsWrapper.isEnableRtl()&&(t=this.eContainer.clientWidth-t),this.centerContainer&&(t+=this.gridPanel.getCenterViewportScrollLeft()),t},t.prototype.checkCenterForScrolling=function(t){if(this.centerContainer){var e=this.gridPanel.getCenterViewportScrollLeft(),o=e+this.gridPanel.getCenterWidth();this.gridOptionsWrapper.isEnableRtl()?(this.needToMoveRight=t<e+50,this.needToMoveLeft=t>o-50):(this.needToMoveLeft=t<e+50,this.needToMoveRight=t>o-50),this.needToMoveLeft||this.needToMoveRight?this.ensureIntervalStarted():this.ensureIntervalCleared()}},t.prototype.onDragging=function(t,e){var o=this;if(void 0===e&&(e=!1),this.lastDraggingEvent=t,!p._.missing(t.hDirection)){var i=this.normaliseX(t.x);e||this.checkCenterForScrolling(i);var n=this.normaliseDirection(t.hDirection),r=t.dragSource.type,s=t.dragSource.dragItemCallback().columns;s=s.filter((function(t){return!t.isLockPinned()||t.getPinned()==o.pinned})),this.attemptMoveColumns(r,s,n,i,e)}},t.prototype.normaliseDirection=function(t){if(!this.gridOptionsWrapper.isEnableRtl())return t;switch(t){case u.HDirection.Left:return u.HDirection.Right;case u.HDirection.Right:return u.HDirection.Left;default:console.error("ag-Grid: Unknown direction "+t)}},t.prototype.calculateOldIndex=function(t){var e=this.columnController.getAllGridColumns(),o=[];t.forEach((function(t){return o.push(e.indexOf(t))})),p._.sortNumberArray(o);var i=o[0];return o[o.length-1]-i!=o.length-1?null:i},t.prototype.attemptMoveColumns=function(t,e,o,i,n){for(var r=o===u.HDirection.Left,s=o===u.HDirection.Right,a=this.calculateValidMoves(e,s,i),l=this.calculateOldIndex(e),p=0;p<a.length;p++){var c=a[p],d=null!==l&&!n;if(t==u.DragSourceType.HeaderCell&&(d=null!==l),d){if(r&&c>=l)continue;if(s&&c<=l)continue}if(this.columnController.doesMovePassRules(e,c))return void this.columnController.moveColumns(e,c,"uiColumnDragged")}},t.prototype.calculateValidMoves=function(t,e,o){var i,n=this.columnController.getDisplayedColumns(this.pinned),r=this.columnController.getAllGridColumns(),s=function(e){return t.indexOf(e)<0},a=n.filter((function(e){return t.indexOf(e)>=0})),l=n.filter(s),u=r.filter(s),c=0,d=o;if(e){var h=0;a.forEach((function(t){return h+=t.getActualWidth()})),d-=h}if(d>0){for(var f=0;f<l.length&&!((d-=l[f].getActualWidth())<0);f++)c++;e&&c++}if(c>0){var g=l[c-1];i=u.indexOf(g)+1}else i=0;for(var y=[i],m=r[i];p._.exists(m)&&this.isColumnHidden(n,m);)i++,y.push(i),m=r[i];return y},t.prototype.isColumnHidden=function(t,e){return t.indexOf(e)<0},t.prototype.ensureIntervalStarted=function(){this.movingIntervalId||(this.intervalCount=0,this.failedMoveAttempts=0,this.movingIntervalId=window.setInterval(this.moveInterval.bind(this),100),this.needToMoveLeft?this.dragAndDropService.setGhostIcon(u.DragAndDropService.ICON_LEFT,!0):this.dragAndDropService.setGhostIcon(u.DragAndDropService.ICON_RIGHT,!0))},t.prototype.ensureIntervalCleared=function(){this.moveInterval&&(window.clearInterval(this.movingIntervalId),this.movingIntervalId=null,this.dragAndDropService.setGhostIcon(u.DragAndDropService.ICON_MOVE))},t.prototype.moveInterval=function(){var t,e;if(this.intervalCount++,(t=10+5*this.intervalCount)>100&&(t=100),this.needToMoveLeft?e=this.gridPanel.scrollHorizontally(-t):this.needToMoveRight&&(e=this.gridPanel.scrollHorizontally(t)),0!==e)this.onDragging(this.lastDraggingEvent),this.failedMoveAttempts=0;else{this.failedMoveAttempts++;var o=this.lastDraggingEvent.dragItem.columns.filter((function(t){return!t.isLockPinned()}));if(o.length>0&&(this.dragAndDropService.setGhostIcon(u.DragAndDropService.ICON_PINNED),this.failedMoveAttempts>7)){var i=this.needToMoveLeft?l.Column.PINNED_LEFT:l.Column.PINNED_RIGHT;this.setColumnsPinned(o,i,"uiColumnDragged"),this.dragAndDropService.nudge()}}},i([r.Autowired("loggerFactory"),n("design:type",s.LoggerFactory)],t.prototype,"loggerFactory",void 0),i([r.Autowired("columnController"),n("design:type",a.ColumnController)],t.prototype,"columnController",void 0),i([r.Autowired("dragAndDropService"),n("design:type",u.DragAndDropService)],t.prototype,"dragAndDropService",void 0),i([r.Autowired("gridOptionsWrapper"),n("design:type",c.GridOptionsWrapper)],t.prototype,"gridOptionsWrapper",void 0),i([r.PostConstruct,n("design:type",Function),n("design:paramtypes",[]),n("design:returntype",void 0)],t.prototype,"init",null),t}();e.MoveColumnController=d},28771:(t,e,o)=>{Object.defineProperty(e,"__esModule",{value:!0});var i=o(15068),n=o(63405),r=o(83423),s=function(){function t(e,o,i,n,r,s,a,l){this.nextId=0,this.allNodesMap={},this.rootNode=e,this.gridOptionsWrapper=o,this.context=i,this.eventService=n,this.columnController=r,this.gridApi=s,this.columnApi=a,this.selectionController=l,this.rootNode.group=!0,this.rootNode.level=-1,this.rootNode.id=t.ROOT_NODE_ID,this.rootNode.allLeafChildren=[],this.rootNode.childrenAfterGroup=[],this.rootNode.childrenAfterSort=[],this.rootNode.childrenAfterFilter=[],this.postConstruct()}return t.prototype.postConstruct=function(){this.getNodeChildDetails=this.gridOptionsWrapper.getNodeChildDetailsFunc(),this.suppressParentsInRowNodes=this.gridOptionsWrapper.isSuppressParentsInRowNodes(),this.doesDataFlower=this.gridOptionsWrapper.getDoesDataFlowerFunc(),this.isRowMasterFunc=this.gridOptionsWrapper.getIsRowMasterFunc(),this.doingLegacyTreeData=r._.exists(this.getNodeChildDetails),this.doingMasterDetail=this.gridOptionsWrapper.isMasterDetail()},t.prototype.getCopyOfNodesMap=function(){return r._.cloneObject(this.allNodesMap)},t.prototype.getRowNode=function(t){return this.allNodesMap[t]},t.prototype.setRowData=function(e){if(this.rootNode.childrenAfterFilter=null,this.rootNode.childrenAfterGroup=null,this.rootNode.childrenAfterSort=null,this.rootNode.childrenMapped=null,this.nextId=0,this.allNodesMap={},!e)return this.rootNode.allLeafChildren=[],void(this.rootNode.childrenAfterGroup=[]);var o=this.recursiveFunction(e,this.rootNode,t.TOP_LEVEL);this.doingLegacyTreeData?(this.rootNode.childrenAfterGroup=o,this.setLeafChildren(this.rootNode)):this.rootNode.allLeafChildren=o},t.prototype.updateRowData=function(t,e){var o=this;if(this.isLegacyTreeData())return null;var i=t.add,s=t.addIndex,a=t.remove,l=t.update,p={remove:[],update:[],add:[]};if(r._.exists(i)&&("number"==typeof s&&s>=0?i.reverse().forEach((function(t){var e=o.addRowNode(t,s);p.add.push(e)})):i.forEach((function(t){var e=o.addRowNode(t);p.add.push(e)}))),r._.exists(a)){var u=!1;if(a.forEach((function(t){var e=o.lookupRowNode(t);e&&(e.isSelected()&&(u=!0),o.updatedRowNode(e,t,!1),p.remove.push(e))})),u){this.selectionController.updateGroupsFromChildrenSelections();var c={type:n.Events.EVENT_SELECTION_CHANGED,api:this.gridApi,columnApi:this.columnApi};this.eventService.dispatchEvent(c)}}return r._.exists(l)&&l.forEach((function(t){var e=o.lookupRowNode(t);e&&(o.updatedRowNode(e,t,!0),p.update.push(e))})),e&&r._.sortRowNodesByOrder(this.rootNode.allLeafChildren,e),p},t.prototype.addRowNode=function(e,o){var i=this.createNode(e,this.rootNode,t.TOP_LEVEL);return r._.exists(o)?r._.insertIntoArray(this.rootNode.allLeafChildren,i,o):this.rootNode.allLeafChildren.push(i),i},t.prototype.lookupRowNode=function(t){var e,o=this.gridOptionsWrapper.getRowNodeIdFunc();if(r._.exists(o)){var i=o(t);if(!(e=this.allNodesMap[i]))return console.error("ag-Grid: could not find row id="+i+", data item was not found for this id"),null}else if(!(e=r._.find(this.rootNode.allLeafChildren,(function(e){return e.data===t}))))return console.error("ag-Grid: could not find data item as object was not found",t),null;return e},t.prototype.updatedRowNode=function(t,e,o){o?t.updateData(e):(t.setSelected(!1,!1,!0),t.clearRowTop(),r._.removeFromArray(this.rootNode.allLeafChildren,t),delete this.allNodesMap[t.id])},t.prototype.recursiveFunction=function(t,e,o){var i=this;if("string"!=typeof t){var n=[];return t.forEach((function(t){var r=i.createNode(t,e,o);n.push(r)})),n}console.warn("ag-Grid: rowData must be an array, however you passed in a string. If you are loading JSON, make sure you convert the JSON string to JavaScript objects first")},t.prototype.createNode=function(t,e,o){var n=new i.RowNode;this.context.wireBean(n);var s=this.gridOptionsWrapper.isTreeData(),a=!s&&r._.exists(this.getNodeChildDetails)?this.getNodeChildDetails(t):null;if(a&&a.group)n.group=!0,n.childrenAfterGroup=this.recursiveFunction(a.children,n,o+1),n.expanded=!0===a.expanded,n.field=a.field,n.key=a.key,n.canFlower=n.master,this.setLeafChildren(n);else if(n.group=!1,s)n.master=!1,n.expanded=!1;else{this.doesDataFlower?n.master=this.doesDataFlower(t):this.doingMasterDetail?this.isRowMasterFunc?n.master=this.isRowMasterFunc(t):n.master=!0:n.master=!1;var l=this.columnController.getRowGroupColumns(),p=o+(l?l.length:0);n.expanded=!!n.master&&this.isExpanded(p)}return n.canFlower=n.master,e&&!this.suppressParentsInRowNodes&&(n.parent=e),n.level=o,n.setDataAndId(t,this.nextId.toString()),this.allNodesMap[n.id]&&console.warn("ag-grid: duplicate node id '"+n.id+"' detected from getRowNodeId callback, this could cause issues in your grid."),this.allNodesMap[n.id]=n,this.nextId++,n},t.prototype.isExpanded=function(t){var e=this.gridOptionsWrapper.getGroupDefaultExpanded();return-1===e||t<e},t.prototype.setLeafChildren=function(t){t.allLeafChildren=[],t.childrenAfterGroup&&t.childrenAfterGroup.forEach((function(e){e.group?e.allLeafChildren&&e.allLeafChildren.forEach((function(e){return t.allLeafChildren.push(e)})):t.allLeafChildren.push(e)}))},t.prototype.isLegacyTreeData=function(){return!!r._.exists(this.gridOptionsWrapper.getNodeChildDetailsFunc())&&(console.warn("ag-Grid: adding and removing rows is not supported when using nodeChildDetailsFunc, ie it is not supported for legacy tree data. Please see the docs on the new preferred way of providing tree data that works with delta updates."),!0)},t.TOP_LEVEL=0,t.ROOT_NODE_ID="ROOT_NODE_ID",t}();e.ClientSideNodeManager=s},28921:function(t,e,o){var i,n=this&&this.__extends||(i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},i(t,e)},function(t,e){function o(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),r=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},s=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var a=o(44081),l=o(72493),p=o(44329),u=o(10042),c=o(83423),d=function(t){function e(e,o){var i=t.call(this,e,o)||this;return i.cacheParams=o,i}return n(e,t),e.prototype.createBlankRowNode=function(e){var o=t.prototype.createBlankRowNode.call(this,e);return o.uiLevel=0,this.setIndexAndTopOnRowNode(o,e),o},e.prototype.setDataAndId=function(t,e,o){c._.exists(e)?t.setDataAndId(e,o.toString()):t.setDataAndId(void 0,void 0)},e.prototype.setRowNode=function(e,o){t.prototype.setRowNode.call(this,e,o),this.setIndexAndTopOnRowNode(o,e)},e.prototype.init=function(){t.prototype.init.call(this,{context:this.getContext(),rowRenderer:this.rowRenderer})},e.prototype.getNodeIdPrefix=function(){return null},e.prototype.getRow=function(t){return this.getRowUsingLocalIndex(t)},e.prototype.setIndexAndTopOnRowNode=function(t,e){t.setRowIndex(e),t.rowTop=this.cacheParams.rowHeight*e},e.prototype.loadFromDatasource=function(){var t=this,e={startRow:this.getStartRow(),endRow:this.getEndRow(),successCallback:this.pageLoaded.bind(this,this.getVersion()),failCallback:this.pageLoadFailed.bind(this),sortModel:this.cacheParams.sortModel,filterModel:this.cacheParams.filterModel,context:this.gridOptionsWrapper.getContext()};c._.missing(this.cacheParams.datasource.getRows)?console.warn("ag-Grid: datasource is missing getRows method"):(c._.getFunctionParameters(this.cacheParams.datasource.getRows).length>1&&(console.warn("ag-grid: It looks like your paging datasource is of the old type, taking more than one parameter."),console.warn("ag-grid: From ag-grid 1.9.0, now the getRows takes one parameter. See the documentation for details.")),window.setTimeout((function(){t.cacheParams.datasource.getRows(e)}),0))},r([l.Autowired("gridOptionsWrapper"),s("design:type",a.GridOptionsWrapper)],e.prototype,"gridOptionsWrapper",void 0),r([l.Autowired("rowRenderer"),s("design:type",u.RowRenderer)],e.prototype,"rowRenderer",void 0),r([l.PostConstruct,s("design:type",Function),s("design:paramtypes",[]),s("design:returntype",void 0)],e.prototype,"init",null),e}(p.RowNodeBlock);e.InfiniteBlock=d},29499:(t,e,o)=>{var i=o(40846).m,n=o(48898),r=n.INVALID_INTERVAL,s=n.TerminalNode,a=n.TerminalNodeImpl,l=n.ErrorNodeImpl,p=o(70040).Interval;function u(t,e){t=t||null,e=e||null,i.call(this,t,e),this.ruleIndex=-1,this.children=null,this.start=null,this.stop=null,this.exception=null}function c(t,e,o){return u.call(t,e),this.ruleIndex=o,this}u.prototype=Object.create(i.prototype),u.prototype.constructor=u,u.prototype.copyFrom=function(t){this.parentCtx=t.parentCtx,this.invokingState=t.invokingState,this.children=null,this.start=t.start,this.stop=t.stop,t.children&&(this.children=[],t.children.map((function(t){t instanceof l&&(this.children.push(t),t.parentCtx=this)}),this))},u.prototype.enterRule=function(t){},u.prototype.exitRule=function(t){},u.prototype.addChild=function(t){return null===this.children&&(this.children=[]),this.children.push(t),t},u.prototype.removeLastChild=function(){null!==this.children&&this.children.pop()},u.prototype.addTokenNode=function(t){var e=new a(t);return this.addChild(e),e.parentCtx=this,e},u.prototype.addErrorNode=function(t){var e=new l(t);return this.addChild(e),e.parentCtx=this,e},u.prototype.getChild=function(t,e){if(e=e||null,null===this.children||t<0||t>=this.children.length)return null;if(null===e)return this.children[t];for(var o=0;o<this.children.length;o++){var i=this.children[o];if(i instanceof e){if(0===t)return i;t-=1}}return null},u.prototype.getToken=function(t,e){if(null===this.children||e<0||e>=this.children.length)return null;for(var o=0;o<this.children.length;o++){var i=this.children[o];if(i instanceof s&&i.symbol.type===t){if(0===e)return i;e-=1}}return null},u.prototype.getTokens=function(t){if(null===this.children)return[];for(var e=[],o=0;o<this.children.length;o++){var i=this.children[o];i instanceof s&&i.symbol.type===t&&e.push(i)}return e},u.prototype.getTypedRuleContext=function(t,e){return this.getChild(e,t)},u.prototype.getTypedRuleContexts=function(t){if(null===this.children)return[];for(var e=[],o=0;o<this.children.length;o++){var i=this.children[o];i instanceof t&&e.push(i)}return e},u.prototype.getChildCount=function(){return null===this.children?0:this.children.length},u.prototype.getSourceInterval=function(){return null===this.start||null===this.stop?r:new p(this.start.tokenIndex,this.stop.tokenIndex)},i.EMPTY=new u,c.prototype=Object.create(u.prototype),c.prototype.constructor=c,e.ParserRuleContext=u},30088:(t,e,o)=>{var i=o(95421);function n(t,e){if(t===e)return 0;for(var o=t.length,i=e.length,n=0,r=Math.min(o,i);n<r;++n)if(t[n]!==e[n]){o=t[n],i=e[n];break}return o<i?-1:i<o?1:0}function r(t){return o.g.Buffer&&"function"==typeof o.g.Buffer.isBuffer?o.g.Buffer.isBuffer(t):!(null==t||!t._isBuffer)}var s=o(98437),a=Object.prototype.hasOwnProperty,l=Array.prototype.slice,p="foo"===function(){}.name;function u(t){return Object.prototype.toString.call(t)}function c(t){return!r(t)&&"function"==typeof o.g.ArrayBuffer&&("function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(t):!!t&&(t instanceof DataView||!!(t.buffer&&t.buffer instanceof ArrayBuffer)))}var d=t.exports=v,h=/\s*function\s+([^\(\s]*)\s*/;function f(t){if(s.isFunction(t)){if(p)return t.name;var e=t.toString().match(h);return e&&e[1]}}function g(t,e){return"string"==typeof t?t.length<e?t:t.slice(0,e):t}function y(t){if(p||!s.isFunction(t))return s.inspect(t);var e=f(t);return"[Function"+(e?": "+e:"")+"]"}function m(t,e,o,i,n){throw new d.AssertionError({message:o,actual:t,expected:e,operator:i,stackStartFunction:n})}function v(t,e){t||m(t,!0,e,"==",d.ok)}function C(t,e,o,i){if(t===e)return!0;if(r(t)&&r(e))return 0===n(t,e);if(s.isDate(t)&&s.isDate(e))return t.getTime()===e.getTime();if(s.isRegExp(t)&&s.isRegExp(e))return t.source===e.source&&t.global===e.global&&t.multiline===e.multiline&&t.lastIndex===e.lastIndex&&t.ignoreCase===e.ignoreCase;if(null!==t&&"object"==typeof t||null!==e&&"object"==typeof e){if(c(t)&&c(e)&&u(t)===u(e)&&!(t instanceof Float32Array||t instanceof Float64Array))return 0===n(new Uint8Array(t.buffer),new Uint8Array(e.buffer));if(r(t)!==r(e))return!1;var a=(i=i||{actual:[],expected:[]}).actual.indexOf(t);return-1!==a&&a===i.expected.indexOf(e)||(i.actual.push(t),i.expected.push(e),function(t,e,o,i){if(null==t||null==e)return!1;if(s.isPrimitive(t)||s.isPrimitive(e))return t===e;if(o&&Object.getPrototypeOf(t)!==Object.getPrototypeOf(e))return!1;var n=E(t),r=E(e);if(n&&!r||!n&&r)return!1;if(n)return C(t=l.call(t),e=l.call(e),o);var a,p,u=S(t),c=S(e);if(u.length!==c.length)return!1;for(u.sort(),c.sort(),p=u.length-1;p>=0;p--)if(u[p]!==c[p])return!1;for(p=u.length-1;p>=0;p--)if(!C(t[a=u[p]],e[a],o,i))return!1;return!0}(t,e,o,i))}return o?t===e:t==e}function E(t){return"[object Arguments]"==Object.prototype.toString.call(t)}function w(t,e){if(!t||!e)return!1;if("[object RegExp]"==Object.prototype.toString.call(e))return e.test(t);try{if(t instanceof e)return!0}catch(t){}return!Error.isPrototypeOf(e)&&!0===e.call({},t)}function _(t,e,o,i){var n;if("function"!=typeof e)throw new TypeError('"block" argument must be a function');"string"==typeof o&&(i=o,o=null),n=function(t){var e;try{t()}catch(t){e=t}return e}(e),i=(o&&o.name?" ("+o.name+").":".")+(i?" "+i:"."),t&&!n&&m(n,o,"Missing expected exception"+i);var r="string"==typeof i,a=!t&&n&&!o;if((!t&&s.isError(n)&&r&&w(n,o)||a)&&m(n,o,"Got unwanted exception"+i),t&&n&&o&&!w(n,o)||!t&&n)throw n}d.AssertionError=function(t){this.name="AssertionError",this.actual=t.actual,this.expected=t.expected,this.operator=t.operator,t.message?(this.message=t.message,this.generatedMessage=!1):(this.message=function(t){return g(y(t.actual),128)+" "+t.operator+" "+g(y(t.expected),128)}(this),this.generatedMessage=!0);var e=t.stackStartFunction||m;if(Error.captureStackTrace)Error.captureStackTrace(this,e);else{var o=new Error;if(o.stack){var i=o.stack,n=f(e),r=i.indexOf("\n"+n);if(r>=0){var s=i.indexOf("\n",r+1);i=i.substring(s+1)}this.stack=i}}},s.inherits(d.AssertionError,Error),d.fail=m,d.ok=v,d.equal=function(t,e,o){t!=e&&m(t,e,o,"==",d.equal)},d.notEqual=function(t,e,o){t==e&&m(t,e,o,"!=",d.notEqual)},d.deepEqual=function(t,e,o){C(t,e,!1)||m(t,e,o,"deepEqual",d.deepEqual)},d.deepStrictEqual=function(t,e,o){C(t,e,!0)||m(t,e,o,"deepStrictEqual",d.deepStrictEqual)},d.notDeepEqual=function(t,e,o){C(t,e,!1)&&m(t,e,o,"notDeepEqual",d.notDeepEqual)},d.notDeepStrictEqual=function t(e,o,i){C(e,o,!0)&&m(e,o,i,"notDeepStrictEqual",t)},d.strictEqual=function(t,e,o){t!==e&&m(t,e,o,"===",d.strictEqual)},d.notStrictEqual=function(t,e,o){t===e&&m(t,e,o,"!==",d.notStrictEqual)},d.throws=function(t,e,o){_(!0,t,e,o)},d.doesNotThrow=function(t,e,o){_(!1,t,e,o)},d.ifError=function(t){if(t)throw t},d.strict=i((function t(e,o){e||m(e,!0,o,"==",t)}),d,{equal:d.strictEqual,deepEqual:d.deepStrictEqual,notEqual:d.notStrictEqual,notDeepEqual:d.notDeepStrictEqual}),d.strict.strict=d.strict;var S=Object.keys||function(t){var e=[];for(var o in t)a.call(t,o)&&e.push(o);return e}},30186:(t,e,o)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.checkTree=void 0;const i=o(53446);class n{constructor(t){this.options=t,this.checkSafeCall=t=>{const e=this.options.allowMethods;if("Identifier"===t.callee.type)return i.GLOBAL_FUNCTIONS.indexOf(t.callee.name)>=0&&t.arguments.every(this.checkSafeExpression);if(e&&"MemberExpression"===t.callee.type){const e=t.callee.object,o=t.callee.property;if("Identifier"===e.type&&"Identifier"===o.type)return(0,i.isMethodWhitelisted)(e.name,o.name)&&t.arguments.every(this.checkSafeExpression);if("NewExpression"!==e.type&&"CallExpression"!==e.type||"Identifier"!==e.callee.type)return this.checkSafeExpression(e)&&t.arguments.every(this.checkSafeExpression);{const n=e.callee;return(0,i.isMethodWhitelisted)(n.name,o.name)&&t.arguments.every(this.checkSafeExpression)}}return!1},this.checkSafeExpression=t=>{switch(t?.type){case"Identifier":return Object.prototype.hasOwnProperty.call(i.GLOBALS,t.name);case"Literal":return!0;case"ArrayExpression":return t.elements.every(this.checkSafeExpression);case"UnaryExpression":return this.checkSafeExpression(t.argument);case"BinaryExpression":return this.checkSafeExpression(t.left)&&this.checkSafeExpression(t.right);case"CallExpression":case"NewExpression":return this.checkSafeCall(t);case"ObjectExpression":return t.properties.every((t=>!("computed"in t&&t.computed||"method"in t&&t.method)&&!(!("key"in t)||!["Literal","Identifier"].includes(t.key.type))&&"value"in t&&(["FunctionExpression","ArrowFunctionExpression"].includes(t.value.type)||this.checkSafeExpression(t.value))));default:return!1}}}}e.checkTree=(t,e)=>"Program"===t.type&&1===t.body.length&&"ExpressionStatement"===t.body[0].type&&new n(e).checkSafeExpression(t.body[0].expression)},30811:function(t,e,o){var i,n=this&&this.__extends||(i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},i(t,e)},function(t,e){function o(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)});Object.defineProperty(e,"__esModule",{value:!0});var r=o(22131),s=o(83423),a=function(t){function e(){var o=t.call(this,e.TEMPLATE)||this;return o.refreshCount=0,o.eCurrent=o.queryForHtmlElement(".ag-value-slide-current"),o}return n(e,t),e.prototype.init=function(t){this.params=t,this.refresh(t)},e.prototype.addSlideAnimation=function(){var t=this;this.refreshCount++;var e=this.refreshCount;this.ePrevious&&this.getGui().removeChild(this.ePrevious),this.ePrevious=s._.loadTemplate('<span class="ag-value-slide-previous ag-value-slide-out"></span>'),this.ePrevious.innerHTML=this.eCurrent.innerHTML,this.getGui().insertBefore(this.ePrevious,this.eCurrent),window.setTimeout((function(){e===t.refreshCount&&s._.addCssClass(t.ePrevious,"ag-value-slide-out-end")}),50),window.setTimeout((function(){e===t.refreshCount&&(t.getGui().removeChild(t.ePrevious),t.ePrevious=null)}),3e3)},e.prototype.refresh=function(t){var e=t.value;if(s._.missing(e)&&(e=""),e!==this.lastValue)return this.addSlideAnimation(),this.lastValue=e,s._.exists(t.valueFormatted)?this.eCurrent.innerHTML=t.valueFormatted:s._.exists(t.value)?this.eCurrent.innerHTML=e:s._.clearElement(this.eCurrent),!0},e.TEMPLATE='<span><span class="ag-value-slide-current"></span></span>',e}(r.Component);e.AnimateSlideCellRenderer=a},30844:(t,e)=>{Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(){}return t.prototype.hasMethod=function(t){var e=this.getFrameworkComponentInstance();return null!=e&&null!=e[t]},t.prototype.callMethod=function(t,e){var o=this,i=this.getFrameworkComponentInstance();if(null!=i){var n=this.getFrameworkComponentInstance()[t];if(null==n)return;return n.apply(i,e)}window.setTimeout((function(){return o.callMethod(t,e)}),100)},t.prototype.addMethod=function(t,e){this[t]=e},t}();e.BaseReactComponent=o},30971:function(t,e,o){var i,n=this&&this.__extends||(i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},i(t,e)},function(t,e){function o(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),r=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},s=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var a=o(44081),l=o(72493),p=o(60843),u=o(54828),c=o(63405),d=o(86608),h=o(55e3),f=o(45727),g=o(99162),y=o(8534),m=o(65802),v=o(84210),C=o(40797),E=o(44871),w=o(83423),_=o(10042),S=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.getRowBounds=function(t){return{rowHeight:this.rowHeight,rowTop:this.rowHeight*t}},e.prototype.ensureRowHeightsValid=function(t,e,o,i){return!1},e.prototype.init=function(){var t=this;this.gridOptionsWrapper.isRowModelInfinite()&&(this.rowHeight=this.gridOptionsWrapper.getRowHeightAsNumber(),this.addEventListeners(),this.setDatasource(this.gridOptionsWrapper.getDatasource()),this.addDestroyFunc((function(){return t.destroyCache()})))},e.prototype.destroyDatasource=function(){this.datasource&&(this.datasource.destroy&&this.datasource.destroy(),this.rowRenderer.datasourceChanged(),this.datasource=null)},e.prototype.isLastRowFound=function(){return!!this.infiniteCache&&this.infiniteCache.isMaxRowFound()},e.prototype.addEventListeners=function(){this.addDestroyableEventListener(this.eventService,c.Events.EVENT_FILTER_CHANGED,this.onFilterChanged.bind(this)),this.addDestroyableEventListener(this.eventService,c.Events.EVENT_SORT_CHANGED,this.onSortChanged.bind(this)),this.addDestroyableEventListener(this.eventService,c.Events.EVENT_COLUMN_EVERYTHING_CHANGED,this.onColumnEverything.bind(this))},e.prototype.onFilterChanged=function(){this.reset()},e.prototype.onSortChanged=function(){this.reset()},e.prototype.onColumnEverything=function(){(!this.cacheParams||this.isSortModelDifferent())&&this.reset()},e.prototype.isSortModelDifferent=function(){return!w._.jsonEquals(this.cacheParams.sortModel,this.sortController.getSortModel())},e.prototype.getType=function(){return f.Constants.ROW_MODEL_TYPE_INFINITE},e.prototype.setDatasource=function(t){this.destroyDatasource(),this.datasource=t,t&&(this.checkForDeprecated(),this.reset())},e.prototype.checkForDeprecated=function(){var t=this.datasource;w._.exists(t.maxConcurrentRequests)&&console.error("ag-Grid: since version 5.1.x, maxConcurrentRequests is replaced with grid property maxConcurrentDatasourceRequests"),w._.exists(t.maxPagesInCache)&&console.error("ag-Grid: since version 5.1.x, maxPagesInCache is replaced with grid property maxPagesInPaginationCache"),w._.exists(t.overflowSize)&&console.error("ag-Grid: since version 5.1.x, overflowSize is replaced with grid property paginationOverflowSize"),w._.exists(t.blockSize)&&console.error("ag-Grid: since version 5.1.x, pageSize/blockSize is replaced with grid property infinitePageSize")},e.prototype.isEmpty=function(){return w._.missing(this.infiniteCache)},e.prototype.isRowsToRender=function(){return w._.exists(this.infiniteCache)},e.prototype.getNodesInRangeForSelection=function(t,e){return this.infiniteCache?this.infiniteCache.getRowNodesInRange(t,e):[]},e.prototype.reset=function(){if(!w._.missing(this.datasource)){w._.exists(this.gridOptionsWrapper.getRowNodeIdFunc())||this.selectionController.reset(),this.resetCache();var t=this.createModelUpdatedEvent();this.eventService.dispatchEvent(t)}},e.prototype.createModelUpdatedEvent=function(){return{type:c.Events.EVENT_MODEL_UPDATED,api:this.gridApi,columnApi:this.columnApi,newPage:!1,newData:!1,keepRenderedRows:!1,animate:!1}},e.prototype.resetCache=function(){this.destroyCache();var t=this.gridOptionsWrapper.getMaxConcurrentDatasourceRequests(),e=this.gridOptionsWrapper.getBlockLoadDebounceMillis();this.rowNodeBlockLoader=new v.RowNodeBlockLoader(t,e),this.getContext().wireBean(this.rowNodeBlockLoader),this.cacheParams={datasource:this.datasource,filterModel:this.filterManager.getFilterModel(),sortModel:this.sortController.getSortModel(),rowNodeBlockLoader:this.rowNodeBlockLoader,maxConcurrentRequests:t,overflowSize:this.gridOptionsWrapper.getCacheOverflowSize(),initialRowCount:this.gridOptionsWrapper.getInfiniteInitialRowCount(),maxBlocksInCache:this.gridOptionsWrapper.getMaxBlocksInCache(),blockSize:this.gridOptionsWrapper.getCacheBlockSize(),rowHeight:this.gridOptionsWrapper.getRowHeightAsNumber(),lastAccessedSequence:new w.NumberSequence},this.cacheParams.maxConcurrentRequests&&this.cacheParams.maxConcurrentRequests>=1||(this.cacheParams.maxConcurrentRequests=2),this.cacheParams.blockSize&&this.cacheParams.blockSize>=1||(this.cacheParams.blockSize=100),this.cacheParams.initialRowCount>=1||(this.cacheParams.initialRowCount=0),this.cacheParams.overflowSize>=1||(this.cacheParams.overflowSize=1),this.infiniteCache=new g.InfiniteCache(this.cacheParams),this.getContext().wireBean(this.infiniteCache),this.infiniteCache.addEventListener(m.RowNodeCache.EVENT_CACHE_UPDATED,this.onCacheUpdated.bind(this))},e.prototype.destroyCache=function(){this.infiniteCache&&(this.infiniteCache.destroy(),this.infiniteCache=null),this.rowNodeBlockLoader&&(this.rowNodeBlockLoader.destroy(),this.rowNodeBlockLoader=null)},e.prototype.onCacheUpdated=function(){var t=this.createModelUpdatedEvent();this.eventService.dispatchEvent(t)},e.prototype.getRow=function(t){return this.infiniteCache?this.infiniteCache.getRow(t):null},e.prototype.getRowNode=function(t){var e=null;return this.forEachNode((function(o){o.id===t&&(e=o)})),e},e.prototype.forEachNode=function(t){this.infiniteCache&&this.infiniteCache.forEachNodeDeep(t,new w.NumberSequence)},e.prototype.getCurrentPageHeight=function(){return this.getRowCount()*this.rowHeight},e.prototype.getRowIndexAtPixel=function(t){if(0!==this.rowHeight){var e=Math.floor(t/this.rowHeight);return e>this.getPageLastRow()?this.getPageLastRow():e}return 0},e.prototype.getPageFirstRow=function(){return 0},e.prototype.getPageLastRow=function(){return this.infiniteCache?this.infiniteCache.getVirtualRowCount()-1:0},e.prototype.getRowCount=function(){return this.infiniteCache?this.infiniteCache.getVirtualRowCount():0},e.prototype.updateRowData=function(t){w._.exists(t.remove)||w._.exists(t.update)?console.warn("ag-Grid: updateRowData for InfiniteRowModel does not support remove or update, only add"):w._.missing(t.addIndex)?console.warn("ag-Grid: updateRowData for InfiniteRowModel requires add and addIndex to be set"):this.infiniteCache&&this.infiniteCache.insertItemsAtIndex(t.addIndex,t.add)},e.prototype.isRowPresent=function(t){return!1},e.prototype.refreshCache=function(){this.infiniteCache&&this.infiniteCache.refreshCache()},e.prototype.purgeCache=function(){this.infiniteCache&&this.infiniteCache.purgeCache()},e.prototype.getVirtualRowCount=function(){return this.infiniteCache?this.infiniteCache.getVirtualRowCount():null},e.prototype.isMaxRowFound=function(){if(this.infiniteCache)return this.infiniteCache.isMaxRowFound()},e.prototype.setVirtualRowCount=function(t,e){this.infiniteCache&&this.infiniteCache.setVirtualRowCount(t,e)},e.prototype.getBlockState=function(){return this.rowNodeBlockLoader?this.rowNodeBlockLoader.getBlockState():null},r([l.Autowired("gridOptionsWrapper"),s("design:type",a.GridOptionsWrapper)],e.prototype,"gridOptionsWrapper",void 0),r([l.Autowired("filterManager"),s("design:type",h.FilterManager)],e.prototype,"filterManager",void 0),r([l.Autowired("sortController"),s("design:type",d.SortController)],e.prototype,"sortController",void 0),r([l.Autowired("selectionController"),s("design:type",u.SelectionController)],e.prototype,"selectionController",void 0),r([l.Autowired("eventService"),s("design:type",p.EventService)],e.prototype,"eventService",void 0),r([l.Autowired("gridApi"),s("design:type",C.GridApi)],e.prototype,"gridApi",void 0),r([l.Autowired("columnApi"),s("design:type",E.ColumnApi)],e.prototype,"columnApi",void 0),r([l.Autowired("rowRenderer"),s("design:type",_.RowRenderer)],e.prototype,"rowRenderer",void 0),r([l.PostConstruct,s("design:type",Function),s("design:paramtypes",[]),s("design:returntype",void 0)],e.prototype,"init",null),r([l.PreDestroy,s("design:type",Function),s("design:paramtypes",[]),s("design:returntype",void 0)],e.prototype,"destroyDatasource",null),r([l.Bean("rowModel")],e)}(y.BeanStub);e.InfiniteRowModel=S},31555:(t,e,o)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.stringify=e.toJSString=void 0;const i=o(17230),n=new Map([["[object Array]","Array"],["[object Object]","Object"],["[object String]","String"],["[object Date]","Date"],["[object Number]","Number"],["[object Function]","Function"],["[object RegExp]","RegExp"],["[object Boolean]","Boolean"],["[object Null]","Null"],["[object Undefined]","Undefined"]]);const r={Code:function(t){return t.scope?`Code('${t.code}',${JSON.stringify(t.scope)})`:`Code('${t.code}')`},ObjectID:function(t){return`ObjectId('${t.toString("hex")}')`},ObjectId:function(t){return`ObjectId('${t.toString("hex")}')`},Binary:function(t){const e=t.sub_type;if(4===e&&16===t.buffer.length){let e="";try{e=t.toUUID().toString()}catch{e=t.toString("hex")}return`UUID('${e}')`}return`BinData(${e.toString(10)}, '${t.toString("base64")}')`},DBRef:function(t){return t.db?`DBRef('${t.collection}', '${t.oid.toString()}', '${t.db}')`:`DBRef('${t.collection}', '${t.oid.toString()}')`},Timestamp:function(t){return`Timestamp({ t: ${t.high}, i: ${t.low} })`},Long:function(t){return`NumberLong('${t.toString()}')`},Decimal128:function(t){return`NumberDecimal('${t.toString()}')`},Double:function(t){return`Double('${t.toString()}')`},Int32:function(t){return`NumberInt('${t.toString()}')`},MaxKey:function(){return"MaxKey()"},MinKey:function(){return"MinKey()"},Date:function(t){return r.ISODate(t)},ISODate:function(t){try{return`ISODate('${t.toISOString()}')`}catch(e){return`ISODate('${t.toString()}')`}},RegExp:function(t){let e="",o=!1;return t.global&&(o=!0,e+="g"),t.ignoreCase&&(o=!0,e+="i"),t.multiline&&(o=!0,e+="m"),`RegExp(${JSON.stringify(t.source)}${o?`, '${e}'`:""})`},BSONRegExp:function(t){const e=t.options&&t.options?.length>0;let o="RegExp";try{RegExp(t.pattern,t.options||void 0)}catch{o="BSONRegExp"}return`${o}(${JSON.stringify(t.pattern)}${e?`, '${t.options}'`:""})`}};function s(t,e=2){return(0,i.stringify)(t,(function(t,e,o){const i=function(t){const e=function(t){return n.get(Object.prototype.toString.call(t))}(t),o="Object"===e&&t._bsontype;return{type:o||e,isBSON:!!o}}(t),s=r[i.type];return s?s(t):o(t)}),e)}e.toJSString=s,e.stringify=function(t){return s(t,1)?.replace(/ ?\n ? ?/g,"").replace(/ {2,}/g," ")}},31887:function(t,e,o){var i=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},n=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r=o(72493),s=o(814),a=o(74517),l=o(72948),p=o(72493),u=o(83423),c=function(){function t(){}return t.prototype.createDisplayedGroups=function(t,e,o,i,n){var r,s,a=this,l=[],p=this.mapOldGroupsById(n);return t.forEach((function(t){for(var n=a.getOriginalPathForColumn(e,t),u=[],c=!s,d=0;d<n.length;d++)if(c||n[d]!==s[d]){var h=a.createColumnGroup(n[d],o,p,i);u[d]=h,0==d?l.push(h):u[d-1].addChild(h)}else u[d]=r[d];0===u.length?l.push(t):u[u.length-1].addChild(t),r=u,s=n})),this.setupParentsIntoColumns(l,null),l},t.prototype.createColumnGroup=function(t,e,o,i){var n=t.getGroupId(),r=e.getInstanceIdForKey(n),s=o[a.ColumnGroup.createUniqueId(n,r)];return s&&s.getOriginalColumnGroup()!==t&&(s=null),u._.exists(s)?s.reset():(s=new a.ColumnGroup(t,n,r,i),this.context.wireBean(s)),s},t.prototype.mapOldGroupsById=function(t){var e={},o=function(t){t.forEach((function(t){if(t instanceof a.ColumnGroup){var i=t;e[t.getUniqueId()]=i,o(i.getChildren())}}))};return t&&o(t),e},t.prototype.setupParentsIntoColumns=function(t,e){var o=this;t.forEach((function(t){if(t.setParent(e),t instanceof a.ColumnGroup){var i=t;o.setupParentsIntoColumns(i.getChildren(),i)}}))},t.prototype.getOriginalPathForColumn=function(t,e){var o=[],i=!1;return function t(n,r){for(var s=0;s<n.length;s++){if(i)return;var a=n[s];a instanceof l.OriginalColumnGroup?(t(a.getChildren(),r+1),o[r]=a):a===e&&(i=!0)}}(t,0),i?o:(console.warn("could not get path"),null)},i([r.Autowired("columnUtils"),n("design:type",s.ColumnUtils)],t.prototype,"columnUtils",void 0),i([r.Autowired("context"),n("design:type",p.Context)],t.prototype,"context",void 0),i([p.Bean("displayedGroupCreator")],t)}();e.DisplayedGroupCreator=c},31923:function(t,e,o){var i,n=this&&this.__extends||(i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},i(t,e)},function(t,e){function o(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)});Object.defineProperty(e,"__esModule",{value:!0});var r=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.isPopup=function(){return!0},e}(o(84715).SelectCellEditor);e.PopupSelectCellEditor=r},32090:function(t,e,o){var i,n=this&&this.__extends||(i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},i(t,e)},function(t,e){function o(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),r=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},s=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var a=o(22131),l=o(47721),p=o(72493),u=o(73575),c=function(t){function e(){return t.call(this,e.TEMPLATE)||this}return n(e,t),e.prototype.postConstruct=function(){this.closePopup=this.popupService.addPopup(!1,this.getGui(),!1,this.destroy.bind(this)),this.addDestroyableEventListener(this.eClose,"click",this.onBtClose.bind(this))},e.prototype.setBody=function(t){this.eContentWrapper.appendChild(t)},e.prototype.setTitle=function(t){this.eTitle.innerText=t},e.prototype.onBtClose=function(){this.closePopup()},e.prototype.destroy=function(){t.prototype.destroy.call(this),this.dispatchEvent({type:e.DESTROY_EVENT})},e.TEMPLATE='<div class="ag-popup-window" style="top: 40px; left: 40px; border: 1px solid black; position: fixed; background-color: white;">\n <div class="ag-popup-window-title-bar" style="background: #00e5ff; border-bottom: 1px solid black;">\n <span ref="eClose" class="ag-popup-window-close" style="margin: 2px; border: 1px solid grey; border-radius: 2px;">X</span>\n <span ref="eTitle" class="ag-popup-window-title" style="padding: 2px;">New Chart</span>\n </div>\n <div ref="eContentWrapper" class="ag-popup-window-content-wrapper"></div>\n </div>',e.DESTROY_EVENT="destroy",r([p.Autowired("popupService"),s("design:type",u.PopupService)],e.prototype,"popupService",void 0),r([l.RefSelector("eContentWrapper"),s("design:type",HTMLElement)],e.prototype,"eContentWrapper",void 0),r([l.RefSelector("eTitle"),s("design:type",HTMLElement)],e.prototype,"eTitle",void 0),r([l.RefSelector("eClose"),s("design:type",HTMLElement)],e.prototype,"eClose",void 0),r([p.PostConstruct,s("design:type",Function),s("design:paramtypes",[]),s("design:returntype",void 0)],e.prototype,"postConstruct",null),e}(a.Component);e.PopupWindow=c},32141:(t,e,o)=>{var i=o(72994).Token,n=o(93343).q,r=o(93343).X;function s(){return this._listeners=[n.INSTANCE],this._interp=null,this._stateNumber=-1,this}s.tokenTypeMapCache={},s.ruleIndexMapCache={},s.prototype.checkVersion=function(t){"4.7.2"!==t&&console.log("ANTLR runtime and generated code versions disagree: 4.7.2!="+t)},s.prototype.addErrorListener=function(t){this._listeners.push(t)},s.prototype.removeErrorListeners=function(){this._listeners=[]},s.prototype.getTokenTypeMap=function(){var t=this.getTokenNames();if(null===t)throw"The current recognizer does not provide a list of token names.";var e=this.tokenTypeMapCache[t];return void 0===e&&((e=t.reduce((function(t,e,o){t[e]=o}))).EOF=i.EOF,this.tokenTypeMapCache[t]=e),e},s.prototype.getRuleIndexMap=function(){var t=this.ruleNames;if(null===t)throw"The current recognizer does not provide a list of rule names.";var e=this.ruleIndexMapCache[t];return void 0===e&&(e=t.reduce((function(t,e,o){t[e]=o})),this.ruleIndexMapCache[t]=e),e},s.prototype.getTokenType=function(t){var e=this.getTokenTypeMap()[t];return void 0!==e?e:i.INVALID_TYPE},s.prototype.getErrorHeader=function(t){return"line "+t.getOffendingToken().line+":"+t.getOffendingToken().column},s.prototype.getTokenErrorDisplay=function(t){if(null===t)return"<no token>";var e=t.text;return null===e&&(e=t.type===i.EOF?"<EOF>":"<"+t.type+">"),"'"+(e=e.replace("\n","\\n").replace("\r","\\r").replace("\t","\\t"))+"'"},s.prototype.getErrorListenerDispatch=function(){return new r(this._listeners)},s.prototype.sempred=function(t,e,o){return!0},s.prototype.precpred=function(t,e){return!0},Object.defineProperty(s.prototype,"state",{get:function(){return this._stateNumber},set:function(t){this._stateNumber=t}}),e.f=s},32391:(t,e)=>{var o;Object.defineProperty(e,"__esModule",{value:!0}),e.ParseMode=void 0,e.buildOptions=function(t){return{...a,...s(t&&t.mode||o.Strict),...t}},function(t){t.Strict="strict",t.Extended="extended",t.Loose="loose"}(o||(e.ParseMode=o={}));const i={allowMethods:!1,allowComments:!1},n={allowMethods:!0},r={allowMethods:!0,allowComments:!0};function s(t){switch(t){case o.Strict:return i;case o.Extended:return n;case o.Loose:return r}}const a={mode:o.Strict,...i}},32590:function(t,e,o){var i,n=this&&this.__extends||(i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},i(t,e)},function(t,e){function o(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),r=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},s=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var a=o(72493),l=o(26016),p=o(38152),u=o(69397),c=o(22131),d=o(47721),h=o(44081),f=o(55090),g=o(81604),y=o(63405),m=o(60843),v=o(93830),C=o(83423),E=o(85910),w=o(40797),_=o(44871),S=o(55e3),b=function(t){function e(o){var i=t.call(this,e.TEMPLATE)||this;return i.column=o,i}return n(e,t),e.prototype.postConstruct=function(){this.setupFloatingFilter(),this.setupWidth(),this.setupLeftPositioning(),this.setupColumnHover(),this.addFeature(this.getContext(),new g.HoverFeature([this.column],this.getGui())),this.addDestroyableEventListener(this.eButtonShowMainFilter,"click",this.showParentFilter.bind(this))},e.prototype.setupFloatingFilter=function(){var t=this;this.column.getColDef().filter?(this.floatingFilterCompPromise=this.getFloatingFilterInstance(),this.floatingFilterCompPromise?this.floatingFilterCompPromise.then((function(e){e?t.setupWithFloatingFilter(e):t.setupEmpty()})):this.setupEmpty(),this.setupSyncWithFilter()):this.setupEmpty()},e.prototype.setupLeftPositioning=function(){var t=new p.SetLeftFeature(this.column,this.getGui(),this.beans);t.init(),this.addDestroyFunc(t.destroy.bind(t))},e.prototype.setupSyncWithFilter=function(){var t=this,e=function(){var e=t.filterManager.getFilterComponent(t.column,"NO_UI");t.onParentModelChanged(e.resolveNow(null,(function(t){return t.getModel()})))};this.addDestroyableEventListener(this.column,l.Column.EVENT_FILTER_CHANGED,e),this.filterManager.cachedFilter(this.column)&&e()},e.prototype.showParentFilter=function(){this.menuFactory.showMenuAfterButtonClick(this.column,this.eButtonShowMainFilter,"filterMenuTab",["filterMenuTab"])},e.prototype.setupColumnHover=function(){this.addDestroyableEventListener(this.eventService,y.Events.EVENT_COLUMN_HOVER_CHANGED,this.onColumnHover.bind(this)),this.onColumnHover()},e.prototype.onColumnHover=function(){var t=this.columnHoverService.isHovered(this.column);C._.addOrRemoveCssClass(this.getGui(),"ag-column-hover",t)},e.prototype.setupWidth=function(){this.addDestroyableEventListener(this.column,l.Column.EVENT_WIDTH_CHANGED,this.onColumnWidthChanged.bind(this)),this.onColumnWidthChanged()},e.prototype.onColumnWidthChanged=function(){this.getGui().style.width=this.column.getActualWidth()+"px"},e.prototype.setupWithFloatingFilter=function(t){var e=function(){t.destroy&&t.destroy()};if(this.isAlive()){this.addDestroyFunc(e);var o=t.getGui();C._.addOrRemoveCssClass(this.eFloatingFilterBody,"ag-floating-filter-body",!this.suppressFilterButton),C._.addOrRemoveCssClass(this.eFloatingFilterBody,"ag-floating-filter-full-body",this.suppressFilterButton),C._.setVisible(this.eButtonWrapper,!this.suppressFilterButton);var i=C._.createIconNoSpan("filter",this.gridOptionsWrapper,this.column);this.eButtonShowMainFilter.appendChild(i),this.eFloatingFilterBody.appendChild(o),t.afterGuiAttached&&t.afterGuiAttached(),this.wireQuerySelectors()}else e()},e.prototype.getFloatingFilterInstance=function(){var t,o=this,i=this.column.getColDef();"string"==typeof i.filter?t=e.filterToFloatingFilterNames[i.filter]:!0===i.filter&&(t=this.gridOptionsWrapper.isEnterprise()?"agSetColumnFloatingFilter":"agTextColumnFloatingFilter");var n={api:this.gridApi,column:this.column,currentParentModel:this.currentParentModel.bind(this),onFloatingFilterChanged:this.onFloatingFilterChanged.bind(this),suppressFilterButton:!1};this.suppressFilterButton=!!i.floatingFilterComponentParams&&!!i.floatingFilterComponentParams.suppressFilterButton;var r=this.userComponentFactory.newFloatingFilterComponent(i,n,t);if(!r){var s=this.getFilterComponentPrototype(i);if(s&&s.prototype&&s.prototype.getModelAsString){var a=n.currentParentModel;n.currentParentModel=function(){return o.filterManager.getFilterComponent(o.column,"NO_UI").resolveNow(null,(function(t){return t.getModelAsString?t.getModelAsString(a()):null}))};var l=this.userComponentFactory.createUserComponentFromConcreteClass(u.ReadModelAsStringFloatingFilterComp,n);r=C.Promise.resolve(l)}}return r},e.prototype.createDynamicParams=function(){return{column:this.column,colDef:this.column.getColDef(),api:this.gridApi,columnApi:this.columnApi}},e.prototype.getFilterComponentPrototype=function(t){var e=this.userComponentFactory.lookupComponentClassDef(t,"filter",this.createDynamicParams());return e?e.component:null},e.prototype.setupEmpty=function(){C._.setVisible(this.eButtonWrapper,!1)},e.prototype.currentParentModel=function(){var t=this.filterManager.getFilterComponent(this.column,"NO_UI").resolveNow(null,(function(t){return t.getNullableModel?t.getNullableModel():t.getModel()}));return t&&null!=t.operator?t.condition1:t},e.prototype.onFloatingFilterChanged=function(t){var e,o=this,i=new C.Promise((function(t){e=t}));return this.filterManager.getFilterComponent(this.column,"NO_UI").then((function(i){if(i.onFloatingFilterChanged){var n=i.onFloatingFilterChanged(t);e(n)}else i.setModel(t),o.filterManager.onFilterChanged(),e(!0)})),i.resolveNow(!0,(function(t){return t}))},e.prototype.onParentModelChanged=function(t){if(this.floatingFilterCompPromise){var e,o;o=t&&t.operator?(e=t).condition1:t,this.floatingFilterCompPromise.then((function(t){t.onParentModelChanged(o,e)}))}},e.filterToFloatingFilterNames={set:"agSetColumnFloatingFilter",agSetColumnFilter:"agSetColumnFloatingFilter",number:"agNumberColumnFloatingFilter",agNumberColumnFilter:"agNumberColumnFloatingFilter",date:"agDateColumnFloatingFilter",agDateColumnFilter:"agDateColumnFloatingFilter",text:"agTextColumnFloatingFilter",agTextColumnFilter:"agTextColumnFloatingFilter"},e.TEMPLATE='<div class="ag-header-cell" aria-hidden="true">\n <div ref="eFloatingFilterBody" aria-hidden="true"></div>\n <div class="ag-floating-filter-button" ref="eButtonWrapper" aria-hidden="true">\n <button type="button" ref="eButtonShowMainFilter"></button>\n </div>\n </div>',r([a.Autowired("columnHoverService"),s("design:type",v.ColumnHoverService)],e.prototype,"columnHoverService",void 0),r([a.Autowired("eventService"),s("design:type",m.EventService)],e.prototype,"eventService",void 0),r([a.Autowired("beans"),s("design:type",f.Beans)],e.prototype,"beans",void 0),r([a.Autowired("gridOptionsWrapper"),s("design:type",h.GridOptionsWrapper)],e.prototype,"gridOptionsWrapper",void 0),r([a.Autowired("userComponentFactory"),s("design:type",E.UserComponentFactory)],e.prototype,"userComponentFactory",void 0),r([a.Autowired("gridApi"),s("design:type",w.GridApi)],e.prototype,"gridApi",void 0),r([a.Autowired("columnApi"),s("design:type",_.ColumnApi)],e.prototype,"columnApi",void 0),r([a.Autowired("filterManager"),s("design:type",S.FilterManager)],e.prototype,"filterManager",void 0),r([a.Autowired("menuFactory"),s("design:type",Object)],e.prototype,"menuFactory",void 0),r([d.RefSelector("eFloatingFilterBody"),s("design:type",HTMLElement)],e.prototype,"eFloatingFilterBody",void 0),r([d.RefSelector("eButtonWrapper"),s("design:type",HTMLElement)],e.prototype,"eButtonWrapper",void 0),r([d.RefSelector("eButtonShowMainFilter"),s("design:type",HTMLElement)],e.prototype,"eButtonShowMainFilter",void 0),r([a.PostConstruct,s("design:type",Function),s("design:paramtypes",[]),s("design:returntype",void 0)],e.prototype,"postConstruct",null),e}(c.Component);e.FloatingFilterWrapper=b},32868:(t,e,o)=>{var i=e;i.der=o(5555),i.pem=o(93862)},33467:function(t,e,o){var i=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s};Object.defineProperty(e,"__esModule",{value:!0});var n=o(72493),r=function(){function t(){}return t.prototype.download=function(t,e){if(window.navigator.msSaveOrOpenBlob)window.navigator.msSaveOrOpenBlob(e,t);else{var o=document.createElement("a"),i=window.URL.createObjectURL(e);o.setAttribute("href",i),o.setAttribute("download",t),o.style.display="none",document.body.appendChild(o),o.click(),window.URL.revokeObjectURL(i),document.body.removeChild(o)}},i([n.Bean("downloader")],t)}();e.Downloader=r},34255:function(t,e,o){var i,n=this&&this.__extends||(i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},i(t,e)},function(t,e){function o(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),r=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},s=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var a=o(22131),l=o(47721),p=o(13650),u=o(72493),c=o(85910),d=o(83423),h=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.modelFromFloatingFilter=function(t){return{dateFrom:t,dateTo:this.getDateTo(),type:this.selectedFilter,filterType:"date"}},e.prototype.getApplicableFilterTypes=function(){return[p.BaseFilter.EQUALS,p.BaseFilter.GREATER_THAN,p.BaseFilter.LESS_THAN,p.BaseFilter.NOT_EQUAL,p.BaseFilter.IN_RANGE]},e.prototype.bodyTemplate=function(t){return'<div class="ag-filter-body">\n <div class="ag-filter-date-from" id="'+(t==p.FilterConditionType.MAIN?"filterDateFromPanel":"filterDateFromConditionPanel")+'">\n </div>\n <div class="ag-filter-date-to" id="'+(t==p.FilterConditionType.MAIN?"filterDateToPanel":"filterDateToConditionPanel")+'">\n </div>\n </div>'},e.prototype.initialiseFilterBodyUi=function(e){t.prototype.initialiseFilterBodyUi.call(this,e),this.createComponents(e),e===p.FilterConditionType.MAIN?(this.setDateFrom_date(this.dateFrom,p.FilterConditionType.MAIN),this.setDateTo_date(this.dateTo,p.FilterConditionType.MAIN),this.setFilterType(this.selectedFilter,p.FilterConditionType.MAIN)):(this.setDateFrom_date(this.dateFromCondition,p.FilterConditionType.CONDITION),this.setDateTo_date(this.dateToCondition,p.FilterConditionType.CONDITION),this.setFilterType(this.selectedFilterCondition,p.FilterConditionType.CONDITION))},e.prototype.createComponents=function(t){var e=this,o={onDateChanged:function(){e.onDateChanged(t)},filterParams:this.filterParams};this.userComponentFactory.newDateComponent(o).then((function(o){t===p.FilterConditionType.MAIN?e.dateToComponent=o:e.dateToConditionComponent=o;var i=o.getGui();t===p.FilterConditionType.MAIN?(e.eDateToPanel.appendChild(i),e.dateToComponent.afterGuiAttached&&e.dateToComponent.afterGuiAttached()):(e.eDateToConditionPanel.appendChild(i),e.dateToConditionComponent.afterGuiAttached&&e.dateToConditionComponent.afterGuiAttached())})),this.userComponentFactory.newDateComponent(o).then((function(o){t===p.FilterConditionType.MAIN?e.dateFromComponent=o:e.dateFromConditionComponent=o;var i=o.getGui();t===p.FilterConditionType.MAIN?(e.eDateFromPanel.appendChild(i),e.dateFromComponent.afterGuiAttached&&e.dateFromComponent.afterGuiAttached()):(e.eDateFromConditionPanel.appendChild(i),e.dateFromConditionComponent.afterGuiAttached&&e.dateFromConditionComponent.afterGuiAttached())}))},e.prototype.onDateChanged=function(t){t===p.FilterConditionType.MAIN?(this.dateFrom=e.removeTimezone(this.dateFromComponent.getDate()),this.dateTo=e.removeTimezone(this.dateToComponent.getDate())):(this.dateFromCondition=e.removeTimezone(this.dateFromComponent.getDate()),this.dateToCondition=e.removeTimezone(this.dateToComponent.getDate())),this.onFilterChanged()},e.prototype.refreshFilterBodyUi=function(t){var e,o;if(t===p.FilterConditionType.MAIN?(e=this.eDateToPanel,o=this.selectedFilter):(e=this.eDateToConditionPanel,o=this.selectedFilterCondition),e){var i=o===p.BaseFilter.IN_RANGE;d._.setVisible(e,i)}var n=t===p.FilterConditionType.MAIN?this.eDateFromPanel:this.eDateFromConditionPanel;if(n){var r=!this.doesFilterHaveHiddenInput(o)&&o!==p.BaseFilter.EMPTY;d._.setVisible(n,r)}},e.prototype.comparator=function(){return this.filterParams.comparator?this.filterParams.comparator:this.defaultComparator.bind(this)},e.prototype.defaultComparator=function(t,e){return e<t?-1:e>t?1:null!=e?0:-1},e.prototype.serialize=function(t){var e=t===p.FilterConditionType.MAIN?this.dateToComponent:this.dateToConditionComponent,o=t===p.FilterConditionType.MAIN?this.dateFromComponent:this.dateFromConditionComponent,i=t===p.FilterConditionType.MAIN?this.selectedFilter:this.selectedFilterCondition;return{dateTo:d._.serializeDateToYyyyMmDd(e.getDate(),"-"),dateFrom:d._.serializeDateToYyyyMmDd(o.getDate(),"-"),type:i||this.defaultFilter,filterType:"date"}},e.prototype.filterValues=function(t){return t===p.FilterConditionType.MAIN?this.dateFromComponent?this.selectedFilter!==p.BaseFilter.IN_RANGE?this.dateFromComponent.getDate():[this.dateFromComponent.getDate(),this.dateToComponent.getDate()]:null:this.dateFromConditionComponent?this.selectedFilterCondition!==p.BaseFilter.IN_RANGE?this.dateFromConditionComponent.getDate():[this.dateFromConditionComponent.getDate(),this.dateToConditionComponent.getDate()]:null},e.prototype.getDateFrom=function(){return d._.serializeDateToYyyyMmDd(this.dateFromComponent.getDate(),"-")},e.prototype.getDateTo=function(){return d._.serializeDateToYyyyMmDd(this.dateToComponent.getDate(),"-")},e.prototype.getFilterType=function(){return this.selectedFilter},e.prototype.setDateFrom=function(t,e){var o=d._.parseYyyyMmDdToDate(t,"-");this.setDateFrom_date(o,e)},e.prototype.setDateFrom_date=function(t,e){if(e===p.FilterConditionType.MAIN){if(this.dateFrom=t,!this.dateFromComponent)return;this.dateFromComponent.setDate(this.dateFrom)}else{if(this.dateFromCondition=t,!this.dateFromConditionComponent)return;this.dateFromConditionComponent.setDate(this.dateFromCondition)}},e.prototype.setDateTo=function(t,e){var o=d._.parseYyyyMmDdToDate(t,"-");this.setDateTo_date(o,e)},e.prototype.setDateTo_date=function(t,e){if(e===p.FilterConditionType.MAIN){if(this.dateTo=t,!this.dateToComponent)return;this.dateToComponent.setDate(this.dateTo)}else{if(this.dateToCondition=t,!this.dateToConditionComponent)return;this.dateToConditionComponent.setDate(this.dateToCondition)}},e.prototype.resetState=function(t){void 0===t&&(t=!1),t||(this.setDateFrom(null,p.FilterConditionType.MAIN),this.setDateTo(null,p.FilterConditionType.MAIN),this.setFilterType(this.defaultFilter,p.FilterConditionType.MAIN)),this.setFilterType(this.defaultFilter,p.FilterConditionType.CONDITION),this.setDateFrom(null,p.FilterConditionType.CONDITION),this.setDateTo(null,p.FilterConditionType.CONDITION)},e.prototype.parse=function(t,e){this.setDateFrom(t.dateFrom,e),this.setDateTo(t.dateTo,e),this.setFilterType(t.type,e)},e.prototype.setType=function(t,e){this.setFilterType(t,e)},e.removeTimezone=function(t){return t?new Date(t.getFullYear(),t.getMonth(),t.getDate()):null},r([u.Autowired("userComponentFactory"),s("design:type",c.UserComponentFactory)],e.prototype,"userComponentFactory",void 0),r([l.QuerySelector("#filterDateFromPanel"),s("design:type",HTMLElement)],e.prototype,"eDateFromPanel",void 0),r([l.QuerySelector("#filterDateFromConditionPanel"),s("design:type",HTMLElement)],e.prototype,"eDateFromConditionPanel",void 0),r([l.QuerySelector("#filterDateToPanel"),s("design:type",HTMLElement)],e.prototype,"eDateToPanel",void 0),r([l.QuerySelector("#filterDateToConditionPanel"),s("design:type",HTMLElement)],e.prototype,"eDateToConditionPanel",void 0),e}(p.ScalarBaseFilter);e.DateFilter=h;var f=function(t){function e(){return t.call(this,'<div class="ag-input-text-wrapper"><input class="ag-filter-filter" type="text" placeholder="yyyy-mm-dd"></div>')||this}return n(e,t),e.prototype.init=function(t){this.eDateInput=this.getGui().querySelector("input"),(d._.isBrowserChrome()||t.filterParams.browserDatePicker)&&(d._.isBrowserIE()?console.warn("ag-grid: browserDatePicker is specified to true, but it is not supported in IE 11, reverting to plain text date picker"):this.eDateInput.type="date"),this.listener=t.onDateChanged,this.addGuiEventListener("input",this.listener)},e.prototype.getDate=function(){return d._.parseYyyyMmDdToDate(this.eDateInput.value,"-")},e.prototype.setDate=function(t){this.eDateInput.value=d._.serializeDateToYyyyMmDd(t,"-")},e}(a.Component);e.DefaultDateComponent=f},34437:function(t,e,o){var i=o(67787).Buffer,n=this&&this.__createBinding||(Object.create?function(t,e,o,i){void 0===i&&(i=o);var n=Object.getOwnPropertyDescriptor(e,o);n&&!("get"in n?!e.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return e[o]}}),Object.defineProperty(t,i,n)}:function(t,e,o,i){void 0===i&&(i=o),t[i]=e[o]}),r=this&&this.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),s=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var o in t)"default"!==o&&Object.prototype.hasOwnProperty.call(t,o)&&n(e,t,o);return r(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.GLOBAL_FUNCTIONS=e.GLOBALS=void 0,e.getScopeFunction=function(t,e){if(e&&c[t])return c[t];if(!e&&u[t])return u[t];if(d[t])return d[t];throw new Error(`Attempted to access scope property '${t}' that doesn't exist`)},e.isMethodWhitelisted=function(t,e){if(Object.prototype.hasOwnProperty.call(h,t)){const o=h[t].allowedMethods;return"string"==typeof o?h[o].allowedMethods[e]:o[e]}return!1},e.getClass=function(t){if(Object.prototype.hasOwnProperty.call(h,t))return h[t].class;throw new Error(`Attempted to access member '${t}' that doesn't exist`)};const a=s(o(62444));function l(t){return Object.freeze(Object.create(null,Object.getOwnPropertyDescriptors(t)))}function p(t){return"string"==typeof t?a.Long.fromString(t):a.Long.fromNumber(t)}const u=l({Date:function(...t){return Date(...t)}}),c=l({Date:function(...t){return new Date(...t)}}),d=l({RegExp,Binary:function(t,e){return new a.Binary(t,e)},BinData:function(t,e){return new a.Binary(i.from(e,"base64"),t)},UUID:function(t){return void 0===t?(new a.UUID).toBinary():new a.Binary(i.from(t.replace(/-/g,""),"hex"),4)},Code:function(t,e){return new a.Code(t,e)},DBRef:function(t,e,o,i){return new a.DBRef(t,e,o,i)},Decimal128:function(t){return a.Decimal128.fromString(t)},NumberDecimal:function(t){return a.Decimal128.fromString(t)},Double:function(t){return new a.Double(t)},Int32:function(t){return new a.Int32(t)},NumberInt:function(t){return parseInt(t,10)},Long:function(t,e){return new a.Long(t,e)},NumberLong:p,Int64:p,Map:function(t){return new(a.Map??Map)(t)},MaxKey:function(){return new a.MaxKey},MinKey:function(){return new a.MinKey},ObjectID:function(t){return new a.ObjectId(t)},ObjectId:function(t){return new a.ObjectId(t)},Symbol:function(t){return new a.BSONSymbol(t)},Timestamp:function(t,e){return"number"==typeof t&&"number"==typeof e||void 0!==e?new a.Timestamp({t,i:e}):new a.Timestamp(t)},ISODate:function(t){if(void 0===t)return new Date;if("string"!=typeof t)return new Date(t);const e=t.match(/^(?<Y>\d{4})-?(?<M>\d{2})-?(?<D>\d{2})([T ](?<h>\d{2})(:?(?<m>\d{2})(:?((?<s>\d{2})(\.(?<ms>\d+))?))?)?(?<tz>Z|([+-])(\d{2}):?(\d{2})?)?)?$/);if(null!==e&&void 0!==e.groups){const{Y:t,M:o,D:i,h:n,m:r,s,ms:a,tz:l}=e.groups,p=new Date(`${t}-${o}-${i}T${n||"00"}:${r||"00"}:${s||"00"}.${a||"000"}${l||"Z"}`);if(p.getTime()>=-621672192e5&&p.getTime()<=0xe677d21fdbff)return p}throw new Error(`${JSON.stringify(t)} is not a valid ISODate`)}});e.GLOBALS=l({Infinity:1/0,NaN:NaN,undefined:void 0});const h=l({Math:l({class:Math,allowedMethods:l({abs:!0,acos:!0,acosh:!0,asin:!0,asinh:!0,atan:!0,atan2:!0,atanh:!0,cbrt:!0,ceil:!0,clz32:!0,cos:!0,cosh:!0,exp:!0,expm1:!0,floor:!0,fround:!0,hypot:!0,imul:!0,log:!0,log10:!0,log1p:!0,log2:!0,max:!0,min:!0,pow:!0,round:!0,sign:!0,sin:!0,sinh:!0,sqrt:!0,tan:!0,tanh:!0,trunc:!0})}),Date:l({class:Date,allowedMethods:l({getDate:!0,getDay:!0,getFullYear:!0,getHours:!0,getMilliseconds:!0,getMinutes:!0,getMonth:!0,getSeconds:!0,getTime:!0,getTimezoneOffset:!0,getUTCDate:!0,getUTCDay:!0,getUTCFullYear:!0,getUTCHours:!0,getUTCMilliseconds:!0,getUTCMinutes:!0,getUTCMonth:!0,getUTCSeconds:!0,getYear:!0,now:!0,setDate:!0,setFullYear:!0,setHours:!0,setMilliseconds:!0,setMinutes:!0,setMonth:!0,setSeconds:!0,setTime:!0,setUTCDate:!0,setUTCFullYear:!0,setUTCHours:!0,setUTCMilliseconds:!0,setUTCMinutes:!0,setUTCMonth:!0,setUTCSeconds:!0,setYear:!0,toISOString:!0,valueOf:!0})}),ISODate:l({class:Date,allowedMethods:"Date"}),Binary:l({class:a.Binary,allowedMethods:{createFromHexString:!0,createFromBase64:!0}})});e.GLOBAL_FUNCTIONS=Object.freeze([...Object.keys(d),...Object.keys(c),...Object.keys(u)])},34470:function(t,e,o){var i=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},n=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r=o(72493),s=o(44081),a=o(60843),l=o(40634),p=o(30811),u=o(15959),c=o(79886),d=o(83423),h=function(){function t(){this.cellRendererMap={}}var e;return e=t,t.prototype.init=function(){this.cellRendererMap[e.ANIMATE_SLIDE]=p.AnimateSlideCellRenderer,this.cellRendererMap[e.ANIMATE_SHOW_CHANGE]=u.AnimateShowChangeCellRenderer,this.cellRendererMap[e.GROUP]=c.GroupCellRenderer},t.prototype.addCellRenderer=function(t,e){this.cellRendererMap[t]=e},t.prototype.getCellRenderer=function(t){var e=this.cellRendererMap[t];return d._.missing(e)?(console.warn("ag-Grid: unable to find cellRenderer for key "+t),null):e},t.ANIMATE_SLIDE="animateSlide",t.ANIMATE_SHOW_CHANGE="animateShowChange",t.GROUP="group",i([r.Autowired("gridOptionsWrapper"),n("design:type",s.GridOptionsWrapper)],t.prototype,"gridOptionsWrapper",void 0),i([r.Autowired("expressionService"),n("design:type",l.ExpressionService)],t.prototype,"expressionService",void 0),i([r.Autowired("eventService"),n("design:type",a.EventService)],t.prototype,"eventService",void 0),i([r.PostConstruct,n("design:type",Function),n("design:paramtypes",[]),n("design:returntype",void 0)],t.prototype,"init",null),e=i([r.Bean("cellRendererFactory")],t)}();e.CellRendererFactory=h},34506:(t,e,o)=>{Object.defineProperty(e,"__esModule",{value:!0});var i=o(83423),n=function(){function t(){}return t.addHeaderClassesFromColDef=function(t,e,o,n,r){i._.missing(t)||this.addColumnClassesFromCollDef(t.headerClass,t,e,o,n,r)},t.addToolPanelClassesFromColDef=function(t,e,o,n,r){i._.missing(t)||this.addColumnClassesFromCollDef(t.toolPanelClass,t,e,o,n,r)},t.addColumnClassesFromCollDef=function(t,e,o,n,r,s){var a;i._.missing(t)||("string"==typeof(a="function"==typeof t?t({colDef:e,column:r,columnGroup:s,context:n.getContext(),api:n.getApi()}):t)?i._.addCssClass(o,a):Array.isArray(a)&&a.forEach((function(t){i._.addCssClass(o,t)})))},t}();e.CssClassApplier=n},34782:(t,e,o)=>{Object.defineProperty(e,"__esModule",{value:!0});var i=o(3976),n=o(83423),r=function(){function t(t){this.rowIndex=t.rowIndex,this.column=t.column,this.floating=n._.makeNull(t.floating)}return t.prototype.getGridCellDef=function(){return{rowIndex:this.rowIndex,column:this.column,floating:this.floating}},t.prototype.getGridRow=function(){return new i.GridRow(this.rowIndex,this.floating)},t.prototype.toString=function(){return"rowIndex = "+this.rowIndex+", floating = "+this.floating+", column = "+(this.column?this.column.getId():null)},t.prototype.createId=function(){return this.rowIndex+"."+this.floating+"."+this.column.getId()},t.prototype.equals=function(t){var e=this.column===t.column,o=this.floating===t.floating,i=this.rowIndex===t.rowIndex;return e&&o&&i},t}();e.GridCell=r},35228:(t,e,o)=>{var i=o(44775),n=o(25003);function r(t,e){this.name=t,this.body=e,this.decoders={},this.encoders={}}e.define=function(t,e){return new r(t,e)},r.prototype._createNamed=function(t){var e;try{e=o(49888).runInThisContext("(function "+this.name+"(entity) {\n this._initNamed(entity);\n})")}catch(t){e=function(t){this._initNamed(t)}}return n(e,t),e.prototype._initNamed=function(e){t.call(this,e)},new e(this)},r.prototype._getDecoder=function(t){return t=t||"der",this.decoders.hasOwnProperty(t)||(this.decoders[t]=this._createNamed(i.decoders[t])),this.decoders[t]},r.prototype.decode=function(t,e,o){return this._getDecoder(e).decode(t,o)},r.prototype._getEncoder=function(t){return t=t||"der",this.encoders.hasOwnProperty(t)||(this.encoders[t]=this._createNamed(i.encoders[t])),this.encoders[t]},r.prototype.encode=function(t,e,o){return this._getEncoder(e).encode(t,o)}},36173:(t,e,o)=>{var i=o(6617),n=/\s+/;e.triggerEvents=function(t,e){var o,i=-1,n=t.length,r=e[0],s=e[1],a=e[2];switch(e.length){case 0:for(;++i<n;)(o=t[i]).callback.call(o.ctx);return;case 1:for(;++i<n;)(o=t[i]).callback.call(o.ctx,r);return;case 2:for(;++i<n;)(o=t[i]).callback.call(o.ctx,r,s);return;case 3:for(;++i<n;)(o=t[i]).callback.call(o.ctx,r,s,a);return;default:for(;++i<n;)(o=t[i]).callback.apply(o.ctx,e);return}},e.eventsApi=function(t,e,o,i){if(!o)return!0;if("object"==typeof o){for(var r in o)t[e].apply(t,[r,o[r]].concat(i));return!1}if(n.test(o)){for(var s=o.split(n),a=0,l=s.length;a<l;a++)t[e].apply(t,[s[a]].concat(i));return!1}return!0},e.createListenMethod=function(t){return function(e,o,n){if(!e)throw new Error("Trying to listenTo event: '"+o+"' but the target object is undefined");if((this._listeningTo||(this._listeningTo={}))[e._listenId||(e._listenId=i("l"))]=e,n||"object"!=typeof o||(n=this),"function"!=typeof e[t])throw new Error("Trying to listenTo event: '"+o+"' on object: "+e.toString()+" but it does not have an 'on' method so is unbindable");return e[t](o,n,this),this}}},36464:(t,e,o)=>{var i=o(72994).Token,n=o(48898).ParseTreeListener,r=o(32141).f,s=o(24429).$,a=o(36575).ATNDeserializer,l=o(44529).$,p=o(48898).TerminalNode,u=o(48898).ErrorNode;function c(t){return n.call(this),this.parser=t,this}function d(t){return r.call(this),this._input=null,this._errHandler=new s,this._precedenceStack=[],this._precedenceStack.push(0),this._ctx=null,this.buildParseTrees=!0,this._tracer=null,this._parseListeners=null,this._syntaxErrors=0,this.setInputStream(t),this}c.prototype=Object.create(n.prototype),c.prototype.constructor=c,c.prototype.enterEveryRule=function(t){console.log("enter "+this.parser.ruleNames[t.ruleIndex]+", LT(1)="+this.parser._input.LT(1).text)},c.prototype.visitTerminal=function(t){console.log("consume "+t.symbol+" rule "+this.parser.ruleNames[this.parser._ctx.ruleIndex])},c.prototype.exitEveryRule=function(t){console.log("exit "+this.parser.ruleNames[t.ruleIndex]+", LT(1)="+this.parser._input.LT(1).text)},d.prototype=Object.create(r.prototype),d.prototype.contructor=d,d.bypassAltsAtnCache={},d.prototype.reset=function(){null!==this._input&&this._input.seek(0),this._errHandler.reset(this),this._ctx=null,this._syntaxErrors=0,this.setTrace(!1),this._precedenceStack=[],this._precedenceStack.push(0),null!==this._interp&&this._interp.reset()},d.prototype.match=function(t){var e=this.getCurrentToken();return e.type===t?(this._errHandler.reportMatch(this),this.consume()):(e=this._errHandler.recoverInline(this),this.buildParseTrees&&-1===e.tokenIndex&&this._ctx.addErrorNode(e)),e},d.prototype.matchWildcard=function(){var t=this.getCurrentToken();return t.type>0?(this._errHandler.reportMatch(this),this.consume()):(t=this._errHandler.recoverInline(this),this._buildParseTrees&&-1===t.tokenIndex&&this._ctx.addErrorNode(t)),t},d.prototype.getParseListeners=function(){return this._parseListeners||[]},d.prototype.addParseListener=function(t){if(null===t)throw"listener";null===this._parseListeners&&(this._parseListeners=[]),this._parseListeners.push(t)},d.prototype.removeParseListener=function(t){if(null!==this._parseListeners){var e=this._parseListeners.indexOf(t);e>=0&&this._parseListeners.splice(e,1),0===this._parseListeners.length&&(this._parseListeners=null)}},d.prototype.removeParseListeners=function(){this._parseListeners=null},d.prototype.triggerEnterRuleEvent=function(){if(null!==this._parseListeners){var t=this._ctx;this._parseListeners.map((function(e){e.enterEveryRule(t),t.enterRule(e)}))}},d.prototype.triggerExitRuleEvent=function(){if(null!==this._parseListeners){var t=this._ctx;this._parseListeners.slice(0).reverse().map((function(e){t.exitRule(e),e.exitEveryRule(t)}))}},d.prototype.getTokenFactory=function(){return this._input.tokenSource._factory},d.prototype.setTokenFactory=function(t){this._input.tokenSource._factory=t},d.prototype.getATNWithBypassAlts=function(){var t=this.getSerializedATN();if(null===t)throw"The current parser does not support an ATN with bypass alternatives.";var e=this.bypassAltsAtnCache[t];if(null===e){var o=new l;o.generateRuleBypassTransitions=!0,e=new a(o).deserialize(t),this.bypassAltsAtnCache[t]=e}return e};var h=o(18393).Lexer;d.prototype.compileParseTreePattern=function(t,e,o){if(null===(o=o||null)&&null!==this.getTokenStream()){var i=this.getTokenStream().tokenSource;i instanceof h&&(o=i)}if(null===o)throw"Parser can't discover a lexer to use";return new ParseTreePatternMatcher(o,this).compile(t,e)},d.prototype.getInputStream=function(){return this.getTokenStream()},d.prototype.setInputStream=function(t){this.setTokenStream(t)},d.prototype.getTokenStream=function(){return this._input},d.prototype.setTokenStream=function(t){this._input=null,this.reset(),this._input=t},d.prototype.getCurrentToken=function(){return this._input.LT(1)},d.prototype.notifyErrorListeners=function(t,e,o){o=o||null,null===(e=e||null)&&(e=this.getCurrentToken()),this._syntaxErrors+=1;var i=e.line,n=e.column;this.getErrorListenerDispatch().syntaxError(this,e,i,n,t,o)},d.prototype.consume=function(){var t=this.getCurrentToken();t.type!==i.EOF&&this.getInputStream().consume();var e,o=null!==this._parseListeners&&this._parseListeners.length>0;return(this.buildParseTrees||o)&&((e=this._errHandler.inErrorRecoveryMode(this)?this._ctx.addErrorNode(t):this._ctx.addTokenNode(t)).invokingState=this.state,o&&this._parseListeners.map((function(t){e instanceof u||void 0!==e.isErrorNode&&e.isErrorNode()?t.visitErrorNode(e):e instanceof p&&t.visitTerminal(e)}))),t},d.prototype.addContextToParseTree=function(){null!==this._ctx.parentCtx&&this._ctx.parentCtx.addChild(this._ctx)},d.prototype.enterRule=function(t,e,o){this.state=e,this._ctx=t,this._ctx.start=this._input.LT(1),this.buildParseTrees&&this.addContextToParseTree(),null!==this._parseListeners&&this.triggerEnterRuleEvent()},d.prototype.exitRule=function(){this._ctx.stop=this._input.LT(-1),null!==this._parseListeners&&this.triggerExitRuleEvent(),this.state=this._ctx.invokingState,this._ctx=this._ctx.parentCtx},d.prototype.enterOuterAlt=function(t,e){t.setAltNumber(e),this.buildParseTrees&&this._ctx!==t&&null!==this._ctx.parentCtx&&(this._ctx.parentCtx.removeLastChild(),this._ctx.parentCtx.addChild(t)),this._ctx=t},d.prototype.getPrecedence=function(){return 0===this._precedenceStack.length?-1:this._precedenceStack[this._precedenceStack.length-1]},d.prototype.enterRecursionRule=function(t,e,o,i){this.state=e,this._precedenceStack.push(i),this._ctx=t,this._ctx.start=this._input.LT(1),null!==this._parseListeners&&this.triggerEnterRuleEvent()},d.prototype.pushNewRecursionContext=function(t,e,o){var i=this._ctx;i.parentCtx=t,i.invokingState=e,i.stop=this._input.LT(-1),this._ctx=t,this._ctx.start=i.start,this.buildParseTrees&&this._ctx.addChild(i),null!==this._parseListeners&&this.triggerEnterRuleEvent()},d.prototype.unrollRecursionContexts=function(t){this._precedenceStack.pop(),this._ctx.stop=this._input.LT(-1);var e=this._ctx;if(null!==this._parseListeners)for(;this._ctx!==t;)this.triggerExitRuleEvent(),this._ctx=this._ctx.parentCtx;else this._ctx=t;e.parentCtx=t,this.buildParseTrees&&null!==t&&t.addChild(e)},d.prototype.getInvokingContext=function(t){for(var e=this._ctx;null!==e;){if(e.ruleIndex===t)return e;e=e.parentCtx}return null},d.prototype.precpred=function(t,e){return e>=this._precedenceStack[this._precedenceStack.length-1]},d.prototype.inContext=function(t){return!1},d.prototype.isExpectedToken=function(t){var e=this._interp.atn,o=this._ctx,n=e.states[this.state],r=e.nextTokens(n);if(r.contains(t))return!0;if(!r.contains(i.EPSILON))return!1;for(;null!==o&&o.invokingState>=0&&r.contains(i.EPSILON);){var s=e.states[o.invokingState].transitions[0];if((r=e.nextTokens(s.followState)).contains(t))return!0;o=o.parentCtx}return!(!r.contains(i.EPSILON)||t!==i.EOF)},d.prototype.getExpectedTokens=function(){return this._interp.atn.getExpectedTokens(this.state,this._ctx)},d.prototype.getExpectedTokensWithinCurrentRule=function(){var t=this._interp.atn,e=t.states[this.state];return t.nextTokens(e)},d.prototype.getRuleIndex=function(t){var e=this.getRuleIndexMap()[t];return null!==e?e:-1},d.prototype.getRuleInvocationStack=function(t){null===(t=t||null)&&(t=this._ctx);for(var e=[];null!==t;){var o=t.ruleIndex;o<0?e.push("n/a"):e.push(this.ruleNames[o]),t=t.parentCtx}return e},d.prototype.getDFAStrings=function(){return this._interp.decisionToDFA.toString()},d.prototype.dumpDFA=function(){for(var t=!1,e=0;e<this._interp.decisionToDFA.length;e++){var o=this._interp.decisionToDFA[e];o.states.length>0&&(t&&console.log(),this.printer.println("Decision "+o.decision+":"),this.printer.print(o.toString(this.literalNames,this.symbolicNames)),t=!0)}},d.prototype.getSourceName=function(){return this._input.sourceName},d.prototype.setTrace=function(t){t?(null!==this._tracer&&this.removeParseListener(this._tracer),this._tracer=new c(this),this.addParseListener(this._tracer)):(this.removeParseListener(this._tracer),this._tracer=null)},e.Parser=d},36575:(t,e,o)=>{var i=o(72994).Token,n=o(51028).ATN,r=o(51596).E,s=o(81367),a=s.ATNState,l=s.BasicState,p=s.DecisionState,u=s.BlockStartState,c=s.BlockEndState,d=s.LoopEndState,h=s.RuleStartState,f=s.RuleStopState,g=s.TokensStartState,y=s.PlusLoopbackState,m=s.StarLoopbackState,v=s.StarLoopEntryState,C=s.PlusBlockStartState,E=s.StarBlockStartState,w=s.BasicBlockStartState,_=o(10014),S=_.Transition,b=_.AtomTransition,R=_.SetTransition,O=_.NotSetTransition,T=_.RuleTransition,A=_.RangeTransition,P=_.ActionTransition,D=_.EpsilonTransition,x=_.WildcardTransition,N=_.PredicateTransition,F=_.PrecedencePredicateTransition,I=o(70040).m,L=(o(70040).Interval,o(44529).$),M=o(56645),k=M.LexerActionType,G=M.LexerSkipAction,V=M.LexerChannelAction,W=M.LexerCustomAction,H=M.LexerMoreAction,B=M.LexerTypeAction,j=M.LexerPushModeAction,U=M.LexerPopModeAction,z=M.LexerModeAction,Y="59627784-3BE5-417A-B9EB-8131A7286089",K=["AADB8D7E-AEEF-4415-AD2B-8204D6CF042E",Y],q=Y;function $(t,e){var o=[];return o[t-1]=e,o.map((function(t){return e}))}function Q(t){return null==t&&(t=L.defaultOptions),this.deserializationOptions=t,this.stateFactories=null,this.actionFactories=null,this}Q.prototype.isFeatureSupported=function(t,e){var o=K.indexOf(t);return!(o<0)&&K.indexOf(e)>=o},Q.prototype.deserialize=function(t){this.reset(t),this.checkVersion(),this.checkUUID();var e=this.readATN();this.readStates(e),this.readRules(e),this.readModes(e);var o=[];return this.readSets(e,o,this.readInt.bind(this)),this.isFeatureSupported(Y,this.uuid)&&this.readSets(e,o,this.readInt32.bind(this)),this.readEdges(e,o),this.readDecisions(e),this.readLexerActions(e),this.markPrecedenceDecisions(e),this.verifyATN(e),this.deserializationOptions.generateRuleBypassTransitions&&e.grammarType===r.PARSER&&(this.generateRuleBypassTransitions(e),this.verifyATN(e)),e},Q.prototype.reset=function(t){var e=t.split("").map((function(t){var e=t.charCodeAt(0);return e>1?e-2:e+65533}));e[0]=t.charCodeAt(0),this.data=e,this.pos=0},Q.prototype.checkVersion=function(){var t=this.readInt();if(3!==t)throw"Could not deserialize ATN with version "+t+" (expected 3)."},Q.prototype.checkUUID=function(){var t=this.readUUID();if(K.indexOf(t)<0)throw q;this.uuid=t},Q.prototype.readATN=function(){var t=this.readInt(),e=this.readInt();return new n(t,e)},Q.prototype.readStates=function(t){for(var e,o,i,n=[],r=[],s=this.readInt(),l=0;l<s;l++){var p=this.readInt();if(p!==a.INVALID_TYPE){var c=this.readInt();65535===c&&(c=-1);var d=this.stateFactory(p,c);if(p===a.LOOP_END){var h=this.readInt();n.push([d,h])}else if(d instanceof u){var f=this.readInt();r.push([d,f])}t.addState(d)}else t.addState(null)}for(e=0;e<n.length;e++)(o=n[e])[0].loopBackState=t.states[o[1]];for(e=0;e<r.length;e++)(o=r[e])[0].endState=t.states[o[1]];var g=this.readInt();for(e=0;e<g;e++)i=this.readInt(),t.states[i].nonGreedy=!0;var y=this.readInt();for(e=0;e<y;e++)i=this.readInt(),t.states[i].isPrecedenceRule=!0},Q.prototype.readRules=function(t){var e,o=this.readInt();for(t.grammarType===r.LEXER&&(t.ruleToTokenType=$(o,0)),t.ruleToStartState=$(o,0),e=0;e<o;e++){var n=this.readInt(),s=t.states[n];if(t.ruleToStartState[e]=s,t.grammarType===r.LEXER){var a=this.readInt();65535===a&&(a=i.EOF),t.ruleToTokenType[e]=a}}for(t.ruleToStopState=$(o,0),e=0;e<t.states.length;e++){var l=t.states[e];l instanceof f&&(t.ruleToStopState[l.ruleIndex]=l,t.ruleToStartState[l.ruleIndex].stopState=l)}},Q.prototype.readModes=function(t){for(var e=this.readInt(),o=0;o<e;o++){var i=this.readInt();t.modeToStartState.push(t.states[i])}},Q.prototype.readSets=function(t,e,o){for(var i=this.readInt(),n=0;n<i;n++){var r=new I;e.push(r);var s=this.readInt();0!==this.readInt()&&r.addOne(-1);for(var a=0;a<s;a++){var l=o(),p=o();r.addRange(l,p)}}},Q.prototype.readEdges=function(t,e){var o,i,n,r,s,a=this.readInt();for(o=0;o<a;o++){var l=this.readInt(),p=this.readInt(),c=this.readInt(),d=this.readInt(),h=this.readInt(),f=this.readInt();r=this.edgeFactory(t,c,l,p,d,h,f,e),t.states[l].addTransition(r)}for(o=0;o<t.states.length;o++)for(n=t.states[o],i=0;i<n.transitions.length;i++){var g=n.transitions[i];if(g instanceof T){var E=-1;t.ruleToStartState[g.target.ruleIndex].isPrecedenceRule&&0===g.precedence&&(E=g.target.ruleIndex),r=new D(g.followState,E),t.ruleToStopState[g.target.ruleIndex].addTransition(r)}}for(o=0;o<t.states.length;o++){if((n=t.states[o])instanceof u){if(null===n.endState)throw"IllegalState";if(null!==n.endState.startState)throw"IllegalState";n.endState.startState=n}if(n instanceof y)for(i=0;i<n.transitions.length;i++)(s=n.transitions[i].target)instanceof C&&(s.loopBackState=n);else if(n instanceof m)for(i=0;i<n.transitions.length;i++)(s=n.transitions[i].target)instanceof v&&(s.loopBackState=n)}},Q.prototype.readDecisions=function(t){for(var e=this.readInt(),o=0;o<e;o++){var i=this.readInt(),n=t.states[i];t.decisionToState.push(n),n.decision=o}},Q.prototype.readLexerActions=function(t){if(t.grammarType===r.LEXER){var e=this.readInt();t.lexerActions=$(e,null);for(var o=0;o<e;o++){var i=this.readInt(),n=this.readInt();65535===n&&(n=-1);var s=this.readInt();65535===s&&(s=-1);var a=this.lexerActionFactory(i,n,s);t.lexerActions[o]=a}}},Q.prototype.generateRuleBypassTransitions=function(t){var e,o=t.ruleToStartState.length;for(e=0;e<o;e++)t.ruleToTokenType[e]=t.maxTokenType+e+1;for(e=0;e<o;e++)this.generateRuleBypassTransition(t,e)},Q.prototype.generateRuleBypassTransition=function(t,e){var o,i,n=new w;n.ruleIndex=e,t.addState(n);var r=new c;r.ruleIndex=e,t.addState(r),n.endState=r,t.defineDecisionState(n),r.startState=n;var s=null,a=null;if(t.ruleToStartState[e].isPrecedenceRule){for(a=null,o=0;o<t.states.length;o++)if(i=t.states[o],this.stateIsEndStateFor(i,e)){a=i,s=i.loopBackState.transitions[0];break}if(null===s)throw"Couldn't identify final state of the precedence rule prefix section."}else a=t.ruleToStopState[e];for(o=0;o<t.states.length;o++){i=t.states[o];for(var p=0;p<i.transitions.length;p++){var u=i.transitions[p];u!==s&&u.target===a&&(u.target=r)}}for(var d=t.ruleToStartState[e],h=d.transitions.length;h>0;)n.addTransition(d.transitions[h-1]),d.transitions=d.transitions.slice(-1);t.ruleToStartState[e].addTransition(new D(n)),r.addTransition(new D(a));var f=new l;t.addState(f),f.addTransition(new b(r,t.ruleToTokenType[e])),n.addTransition(new D(f))},Q.prototype.stateIsEndStateFor=function(t,e){if(t.ruleIndex!==e)return null;if(!(t instanceof v))return null;var o=t.transitions[t.transitions.length-1].target;return o instanceof d&&o.epsilonOnlyTransitions&&o.transitions[0].target instanceof f?t:null},Q.prototype.markPrecedenceDecisions=function(t){for(var e=0;e<t.states.length;e++){var o=t.states[e];if(o instanceof v&&t.ruleToStartState[o.ruleIndex].isPrecedenceRule){var i=o.transitions[o.transitions.length-1].target;i instanceof d&&i.epsilonOnlyTransitions&&i.transitions[0].target instanceof f&&(o.isPrecedenceDecision=!0)}}},Q.prototype.verifyATN=function(t){if(this.deserializationOptions.verifyATN)for(var e=0;e<t.states.length;e++){var o=t.states[e];if(null!==o)if(this.checkCondition(o.epsilonOnlyTransitions||o.transitions.length<=1),o instanceof C)this.checkCondition(null!==o.loopBackState);else if(o instanceof v)if(this.checkCondition(null!==o.loopBackState),this.checkCondition(2===o.transitions.length),o.transitions[0].target instanceof E)this.checkCondition(o.transitions[1].target instanceof d),this.checkCondition(!o.nonGreedy);else{if(!(o.transitions[0].target instanceof d))throw"IllegalState";this.checkCondition(o.transitions[1].target instanceof E),this.checkCondition(o.nonGreedy)}else o instanceof m?(this.checkCondition(1===o.transitions.length),this.checkCondition(o.transitions[0].target instanceof v)):o instanceof d?this.checkCondition(null!==o.loopBackState):o instanceof h?this.checkCondition(null!==o.stopState):o instanceof u?this.checkCondition(null!==o.endState):o instanceof c?this.checkCondition(null!==o.startState):o instanceof p?this.checkCondition(o.transitions.length<=1||o.decision>=0):this.checkCondition(o.transitions.length<=1||o instanceof f)}},Q.prototype.checkCondition=function(t,e){if(!t)throw null==e&&(e="IllegalState"),e},Q.prototype.readInt=function(){return this.data[this.pos++]},Q.prototype.readInt32=function(){return this.readInt()|this.readInt()<<16},Q.prototype.readLong=function(){return 4294967295&this.readInt32()|this.readInt32()<<32};var X=function(){for(var t=[],e=0;e<256;e++)t[e]=(e+256).toString(16).substr(1).toUpperCase();return t}();Q.prototype.readUUID=function(){for(var t=[],e=7;e>=0;e--){var o=this.readInt();t[2*e+1]=255&o,t[2*e]=o>>8&255}return X[t[0]]+X[t[1]]+X[t[2]]+X[t[3]]+"-"+X[t[4]]+X[t[5]]+"-"+X[t[6]]+X[t[7]]+"-"+X[t[8]]+X[t[9]]+"-"+X[t[10]]+X[t[11]]+X[t[12]]+X[t[13]]+X[t[14]]+X[t[15]]},Q.prototype.edgeFactory=function(t,e,o,n,r,s,a,l){var p=t.states[n];switch(e){case S.EPSILON:return new D(p);case S.RANGE:return new A(p,0!==a?i.EOF:r,s);case S.RULE:return new T(t.states[r],s,a,p);case S.PREDICATE:return new N(p,r,s,0!==a);case S.PRECEDENCE:return new F(p,r);case S.ATOM:return new b(p,0!==a?i.EOF:r);case S.ACTION:return new P(p,r,s,0!==a);case S.SET:return new R(p,l[r]);case S.NOT_SET:return new O(p,l[r]);case S.WILDCARD:return new x(p);default:throw"The specified transition type: "+e+" is not valid."}},Q.prototype.stateFactory=function(t,e){if(null===this.stateFactories){var o=[];o[a.INVALID_TYPE]=null,o[a.BASIC]=function(){return new l},o[a.RULE_START]=function(){return new h},o[a.BLOCK_START]=function(){return new w},o[a.PLUS_BLOCK_START]=function(){return new C},o[a.STAR_BLOCK_START]=function(){return new E},o[a.TOKEN_START]=function(){return new g},o[a.RULE_STOP]=function(){return new f},o[a.BLOCK_END]=function(){return new c},o[a.STAR_LOOP_BACK]=function(){return new m},o[a.STAR_LOOP_ENTRY]=function(){return new v},o[a.PLUS_LOOP_BACK]=function(){return new y},o[a.LOOP_END]=function(){return new d},this.stateFactories=o}if(t>this.stateFactories.length||null===this.stateFactories[t])throw"The specified state type "+t+" is not valid.";var i=this.stateFactories[t]();if(null!==i)return i.ruleIndex=e,i},Q.prototype.lexerActionFactory=function(t,e,o){if(null===this.actionFactories){var i=[];i[k.CHANNEL]=function(t,e){return new V(t)},i[k.CUSTOM]=function(t,e){return new W(t,e)},i[k.MODE]=function(t,e){return new z(t)},i[k.MORE]=function(t,e){return H.INSTANCE},i[k.POP_MODE]=function(t,e){return U.INSTANCE},i[k.PUSH_MODE]=function(t,e){return new j(t)},i[k.SKIP]=function(t,e){return G.INSTANCE},i[k.TYPE]=function(t,e){return new B(t)},this.actionFactories=i}if(t>this.actionFactories.length||null===this.actionFactories[t])throw"The specified lexer action type "+t+" is not valid.";return this.actionFactories[t](e,o)},e.ATNDeserializer=Q},36777:function(t,e,o){var i=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},n=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r,s=o(71616),a=o(72493),l=o(34255),p=o(25358),u=o(95574),c=o(69397),d=o(79886),h=o(15959),f=o(30811),g=o(99093),y=o(84715),m=o(5448),v=o(31923),C=o(49281),E=o(99104),w=o(92378),_=o(24144),S=o(50298),b=o(75167),R=o(83423);!function(t){t[t.DEFAULT=0]="DEFAULT",t[t.REGISTERED=1]="REGISTERED"}(r=e.RegisteredComponentSource||(e.RegisteredComponentSource={}));var O=function(){function t(){this.agGridDefaults={agDateInput:l.DefaultDateComponent,agColumnHeader:p.HeaderComp,agColumnGroupHeader:u.HeaderGroupComp,agSetColumnFloatingFilter:c.SetFloatingFilterComp,agTextColumnFloatingFilter:c.TextFloatingFilterComp,agNumberColumnFloatingFilter:c.NumberFloatingFilterComp,agDateColumnFloatingFilter:c.DateFloatingFilterComp,agAnimateShowChangeCellRenderer:h.AnimateShowChangeCellRenderer,agAnimateSlideCellRenderer:f.AnimateSlideCellRenderer,agGroupCellRenderer:d.GroupCellRenderer,agGroupRowRenderer:d.GroupCellRenderer,agLoadingCellRenderer:g.LoadingCellRenderer,agCellEditor:s.TextCellEditor,agTextCellEditor:s.TextCellEditor,agSelectCellEditor:y.SelectCellEditor,agPopupTextCellEditor:m.PopupTextCellEditor,agPopupSelectCellEditor:v.PopupSelectCellEditor,agLargeTextCellEditor:C.LargeTextCellEditor,agTextColumnFilter:E.TextFilter,agNumberColumnFilter:w.NumberFilter,agDateColumnFilter:l.DateFilter,agLoadingOverlay:_.LoadingOverlayComponent,agNoRowsOverlay:S.NoRowsOverlayComponent,agTooltipComponent:b.TooltipComponent},this.agDeprecatedNames={set:{newComponentName:"agSetColumnFilter",propertyHolder:"filter"},text:{newComponentName:"agTextColumnFilter",propertyHolder:"filter"},number:{newComponentName:"agNumberColumnFilter",propertyHolder:"filter"},date:{newComponentName:"agDateColumnFilter",propertyHolder:"filter"},group:{newComponentName:"agGroupCellRenderer",propertyHolder:"cellRenderer"},animateShowChange:{newComponentName:"agAnimateShowChangeCellRenderer",propertyHolder:"cellRenderer"},animateSlide:{newComponentName:"agAnimateSlideCellRenderer",propertyHolder:"cellRenderer"},select:{newComponentName:"agSelectCellEditor",propertyHolder:"cellEditor"},largeText:{newComponentName:"agLargeTextCellEditor",propertyHolder:"cellEditor"},popupSelect:{newComponentName:"agPopupSelectCellEditor",propertyHolder:"cellEditor"},popupText:{newComponentName:"agPopupTextCellEditor",propertyHolder:"cellEditor"},richSelect:{newComponentName:"agRichSelectCellEditor",propertyHolder:"cellEditor"},headerComponent:{newComponentName:"agColumnHeader",propertyHolder:"headerComponent"}},this.jsComponents={},this.frameworkComponents={}}return t.prototype.init=function(){var t=this,e=this.context.getEnterpriseDefaultComponents();e&&R._.forEach(e,(function(e){t.registerDefaultComponent(e.componentName,e.theClass)})),null!=this.gridOptions.components&&Object.keys(this.gridOptions.components).forEach((function(e){t.registerComponent(e,t.gridOptions.components[e])})),null!=this.gridOptions.frameworkComponents&&Object.keys(this.gridOptions.frameworkComponents).forEach((function(e){t.registerFwComponent(e,t.gridOptions.frameworkComponents[e])}))},t.prototype.registerDefaultComponent=function(t,e){var o=this.translateIfDeprecated(t);this.agGridDefaults[o]?console.error("Trying to overwrite a default component. You should call registerComponent"):this.agGridDefaults[o]=e},t.prototype.registerComponent=function(t,e){var o=this.translateIfDeprecated(t);this.frameworkComponents[o]?console.error("Trying to register a component that you have already registered for frameworks: "+o):this.jsComponents[o]=e},t.prototype.registerFwComponent=function(t,e){var o=this.translateIfDeprecated(t);this.jsComponents[o]?console.error("Trying to register a component that you have already registered for plain javascript: "+o):this.frameworkComponents[o]=e},t.prototype.retrieve=function(t){var e=this.translateIfDeprecated(t);return this.frameworkComponents[e]?{componentFromFramework:!0,component:this.frameworkComponents[e],source:r.REGISTERED}:this.jsComponents[e]?{componentFromFramework:!1,component:this.jsComponents[e],source:r.REGISTERED}:this.agGridDefaults[e]?this.agGridDefaults[e]?{componentFromFramework:!1,component:this.agGridDefaults[e],source:r.DEFAULT}:null:(Object.keys(this.agGridDefaults).indexOf(e)<0&&console.warn("ag-grid: Looking for component ["+e+"] but it wasn't found."),null)},t.prototype.translateIfDeprecated=function(t){var e=this.agDeprecatedNames[t];return null!=e?(R._.doOnce((function(){console.warn("ag-grid. Since v15.0 component names have been renamed to be namespaced. You should rename "+e.propertyHolder+":"+t+" to "+e.propertyHolder+":"+e.newComponentName)}),"DEPRECATE_COMPONENT_"+t),e.newComponentName):t},i([a.Autowired("gridOptions"),n("design:type",Object)],t.prototype,"gridOptions",void 0),i([a.Autowired("context"),n("design:type",a.Context)],t.prototype,"context",void 0),i([a.PostConstruct,n("design:type",Function),n("design:paramtypes",[]),n("design:returntype",void 0)],t.prototype,"init",null),i([a.Bean("userComponentRegistry")],t)}();e.UserComponentRegistry=O},36819:function(t,e,o){var i=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},n=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r=o(58342),s=o(72493),a=o(42195),l=o(44081),p=o(60843),u=o(85222),c=o(45727),d=function(){function t(t,e){this.eContainer=t,this.gridPanel=e}return t.prototype.postConstruct=function(){this.gridOptionsWrapper.isRowModelDefault()&&(this.clientSideRowModel=this.rowModel)},t.prototype.getContainer=function(){return this.eContainer},t.prototype.isInterestedIn=function(t){return t===r.DragSourceType.RowDrag},t.prototype.getIconName=function(){return r.DragAndDropService.ICON_MOVE},t.prototype.onDragEnter=function(t){this.dispatchEvent(u.Events.EVENT_ROW_DRAG_ENTER,t),this.dragAndDropService.setGhostIcon(r.DragAndDropService.ICON_MOVE),t.dragItem.rowNode.setDragging(!0),this.onEnterOrDragging(t)},t.prototype.onDragging=function(t){this.onEnterOrDragging(t)},t.prototype.onEnterOrDragging=function(t){this.dispatchEvent(u.Events.EVENT_ROW_DRAG_MOVE,t),this.lastDraggingEvent=t;var e=this.normaliseForScroll(t.y);this.gridOptionsWrapper.isRowDragManaged()&&this.doManagedDrag(t,e),this.checkCenterForScrolling(e)},t.prototype.doManagedDrag=function(t,e){var o=t.dragItem.rowNode;this.clientSideRowModel.ensureRowAtPixel(o,e)&&(this.focusedCellController.clearFocusedCell(),this.rangeController&&this.rangeController.clearSelection())},t.prototype.normaliseForScroll=function(t){return this.gridOptionsWrapper.getDomLayout()===c.Constants.DOM_LAYOUT_NORMAL?t+this.gridPanel.getVScrollPosition().top:t},t.prototype.checkCenterForScrolling=function(t){var e=this.gridPanel.getVScrollPosition();this.needToMoveUp=t<e.top+50,this.needToMoveDown=t>e.bottom-50,this.needToMoveUp||this.needToMoveDown?this.ensureIntervalStarted():this.ensureIntervalCleared()},t.prototype.ensureIntervalStarted=function(){this.movingIntervalId||(this.intervalCount=0,this.movingIntervalId=window.setInterval(this.moveInterval.bind(this),100))},t.prototype.ensureIntervalCleared=function(){this.moveInterval&&(window.clearInterval(this.movingIntervalId),this.movingIntervalId=null)},t.prototype.moveInterval=function(){var t,e;this.intervalCount++,(t=10+5*this.intervalCount)>100&&(t=100),this.needToMoveDown?e=this.gridPanel.scrollVertically(t):this.needToMoveUp&&(e=this.gridPanel.scrollVertically(-t)),0!==e&&this.onDragging(this.lastDraggingEvent)},t.prototype.dispatchEvent=function(t,e){var o,i=this.normaliseForScroll(e.y),n=-1,s=null;switch(i>this.rowModel.getCurrentPageHeight()||(n=this.rowModel.getRowIndexAtPixel(i),s=this.rowModel.getRow(n)),e.vDirection){case r.VDirection.Down:o="down";break;case r.VDirection.Up:o="up";break;default:o=null}var a={type:t,api:this.gridOptionsWrapper.getApi(),columnApi:this.gridOptionsWrapper.getColumnApi(),event:e.event,node:e.dragItem.rowNode,overIndex:n,overNode:s,y:i,vDirection:o};this.eventService.dispatchEvent(a)},t.prototype.onDragLeave=function(t){this.dispatchEvent(u.Events.EVENT_ROW_DRAG_LEAVE,t),this.stopDragging(t)},t.prototype.onDragStop=function(t){this.dispatchEvent(u.Events.EVENT_ROW_DRAG_END,t),this.stopDragging(t)},t.prototype.stopDragging=function(t){this.ensureIntervalCleared(),t.dragItem.rowNode.setDragging(!1)},i([s.Autowired("dragAndDropService"),n("design:type",r.DragAndDropService)],t.prototype,"dragAndDropService",void 0),i([s.Autowired("rowModel"),n("design:type",Object)],t.prototype,"rowModel",void 0),i([s.Autowired("focusedCellController"),n("design:type",a.FocusedCellController)],t.prototype,"focusedCellController",void 0),i([s.Autowired("gridOptionsWrapper"),n("design:type",l.GridOptionsWrapper)],t.prototype,"gridOptionsWrapper",void 0),i([s.Optional("rangeController"),n("design:type",Object)],t.prototype,"rangeController",void 0),i([s.Autowired("eventService"),n("design:type",p.EventService)],t.prototype,"eventService",void 0),i([s.PostConstruct,n("design:type",Function),n("design:paramtypes",[]),n("design:returntype",void 0)],t.prototype,"postConstruct",null),t}();e.RowDragFeature=d},37132:function(t,e,o){var i=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},n=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},r=this&&this.__param||function(t,e){return function(o,i){e(o,i,t)}};Object.defineProperty(e,"__esModule",{value:!0});var s=o(44081),a=o(72493),l=o(72493),p=function(){function t(){}return t.prototype.setBeans=function(t){this.logging=t.isDebug()},t.prototype.create=function(t){return new u(t,this.isLogging.bind(this))},t.prototype.isLogging=function(){return this.logging},i([r(0,l.Qualifier("gridOptionsWrapper")),n("design:type",Function),n("design:paramtypes",[s.GridOptionsWrapper]),n("design:returntype",void 0)],t.prototype,"setBeans",null),i([a.Bean("loggerFactory")],t)}();e.LoggerFactory=p;var u=function(){function t(t,e){this.name=t,this.isLoggingFunc=e}return t.prototype.isLogging=function(){return this.isLoggingFunc()},t.prototype.log=function(t){this.isLoggingFunc()&&console.log("ag-Grid."+this.name+": "+t)},t}();e.Logger=u},37254:(t,e,o)=>{var i=o(55128).Reporter,n=o(55128).EncoderBuffer,r=o(55128).DecoderBuffer,s=o(14012),a=["seq","seqof","set","setof","objid","bool","gentime","utctime","null_","enum","int","objDesc","bitstr","bmpstr","charstr","genstr","graphstr","ia5str","iso646str","numstr","octstr","printstr","t61str","unistr","utf8str","videostr"],l=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(a);function p(t,e){var o={};this._baseState=o,o.enc=t,o.parent=e||null,o.children=null,o.tag=null,o.args=null,o.reverseArgs=null,o.choice=null,o.optional=!1,o.any=!1,o.obj=!1,o.use=null,o.useDecoder=null,o.key=null,o.default=null,o.explicit=null,o.implicit=null,o.contains=null,o.parent||(o.children=[],this._wrap())}t.exports=p;var u=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];p.prototype.clone=function(){var t=this._baseState,e={};u.forEach((function(o){e[o]=t[o]}));var o=new this.constructor(e.parent);return o._baseState=e,o},p.prototype._wrap=function(){var t=this._baseState;l.forEach((function(e){this[e]=function(){var o=new this.constructor(this);return t.children.push(o),o[e].apply(o,arguments)}}),this)},p.prototype._init=function(t){var e=this._baseState;s(null===e.parent),t.call(this),e.children=e.children.filter((function(t){return t._baseState.parent===this}),this),s.equal(e.children.length,1,"Root node can have only one child")},p.prototype._useArgs=function(t){var e=this._baseState,o=t.filter((function(t){return t instanceof this.constructor}),this);t=t.filter((function(t){return!(t instanceof this.constructor)}),this),0!==o.length&&(s(null===e.children),e.children=o,o.forEach((function(t){t._baseState.parent=this}),this)),0!==t.length&&(s(null===e.args),e.args=t,e.reverseArgs=t.map((function(t){if("object"!=typeof t||t.constructor!==Object)return t;var e={};return Object.keys(t).forEach((function(o){o==(0|o)&&(o|=0);var i=t[o];e[i]=o})),e})))},["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"].forEach((function(t){p.prototype[t]=function(){var e=this._baseState;throw new Error(t+" not implemented for encoding: "+e.enc)}})),a.forEach((function(t){p.prototype[t]=function(){var e=this._baseState,o=Array.prototype.slice.call(arguments);return s(null===e.tag),e.tag=t,this._useArgs(o),this}})),p.prototype.use=function(t){s(t);var e=this._baseState;return s(null===e.use),e.use=t,this},p.prototype.optional=function(){return this._baseState.optional=!0,this},p.prototype.def=function(t){var e=this._baseState;return s(null===e.default),e.default=t,e.optional=!0,this},p.prototype.explicit=function(t){var e=this._baseState;return s(null===e.explicit&&null===e.implicit),e.explicit=t,this},p.prototype.implicit=function(t){var e=this._baseState;return s(null===e.explicit&&null===e.implicit),e.implicit=t,this},p.prototype.obj=function(){var t=this._baseState,e=Array.prototype.slice.call(arguments);return t.obj=!0,0!==e.length&&this._useArgs(e),this},p.prototype.key=function(t){var e=this._baseState;return s(null===e.key),e.key=t,this},p.prototype.any=function(){return this._baseState.any=!0,this},p.prototype.choice=function(t){var e=this._baseState;return s(null===e.choice),e.choice=t,this._useArgs(Object.keys(t).map((function(e){return t[e]}))),this},p.prototype.contains=function(t){var e=this._baseState;return s(null===e.use),e.contains=t,this},p.prototype._decode=function(t,e){var o=this._baseState;if(null===o.parent)return t.wrapResult(o.children[0]._decode(t,e));var i,n=o.default,s=!0,a=null;if(null!==o.key&&(a=t.enterKey(o.key)),o.optional){var l=null;if(null!==o.explicit?l=o.explicit:null!==o.implicit?l=o.implicit:null!==o.tag&&(l=o.tag),null!==l||o.any){if(s=this._peekTag(t,l,o.any),t.isError(s))return s}else{var p=t.save();try{null===o.choice?this._decodeGeneric(o.tag,t,e):this._decodeChoice(t,e),s=!0}catch(t){s=!1}t.restore(p)}}if(o.obj&&s&&(i=t.enterObject()),s){if(null!==o.explicit){var u=this._decodeTag(t,o.explicit);if(t.isError(u))return u;t=u}var c=t.offset;if(null===o.use&&null===o.choice){o.any&&(p=t.save());var d=this._decodeTag(t,null!==o.implicit?o.implicit:o.tag,o.any);if(t.isError(d))return d;o.any?n=t.raw(p):t=d}if(e&&e.track&&null!==o.tag&&e.track(t.path(),c,t.length,"tagged"),e&&e.track&&null!==o.tag&&e.track(t.path(),t.offset,t.length,"content"),o.any||(n=null===o.choice?this._decodeGeneric(o.tag,t,e):this._decodeChoice(t,e)),t.isError(n))return n;if(o.any||null!==o.choice||null===o.children||o.children.forEach((function(o){o._decode(t,e)})),o.contains&&("octstr"===o.tag||"bitstr"===o.tag)){var h=new r(n);n=this._getUse(o.contains,t._reporterState.obj)._decode(h,e)}}return o.obj&&s&&(n=t.leaveObject(i)),null===o.key||null===n&&!0!==s?null!==a&&t.exitKey(a):t.leaveKey(a,o.key,n),n},p.prototype._decodeGeneric=function(t,e,o){var i=this._baseState;return"seq"===t||"set"===t?null:"seqof"===t||"setof"===t?this._decodeList(e,t,i.args[0],o):/str$/.test(t)?this._decodeStr(e,t,o):"objid"===t&&i.args?this._decodeObjid(e,i.args[0],i.args[1],o):"objid"===t?this._decodeObjid(e,null,null,o):"gentime"===t||"utctime"===t?this._decodeTime(e,t,o):"null_"===t?this._decodeNull(e,o):"bool"===t?this._decodeBool(e,o):"objDesc"===t?this._decodeStr(e,t,o):"int"===t||"enum"===t?this._decodeInt(e,i.args&&i.args[0],o):null!==i.use?this._getUse(i.use,e._reporterState.obj)._decode(e,o):e.error("unknown tag: "+t)},p.prototype._getUse=function(t,e){var o=this._baseState;return o.useDecoder=this._use(t,e),s(null===o.useDecoder._baseState.parent),o.useDecoder=o.useDecoder._baseState.children[0],o.implicit!==o.useDecoder._baseState.implicit&&(o.useDecoder=o.useDecoder.clone(),o.useDecoder._baseState.implicit=o.implicit),o.useDecoder},p.prototype._decodeChoice=function(t,e){var o=this._baseState,i=null,n=!1;return Object.keys(o.choice).some((function(r){var s=t.save(),a=o.choice[r];try{var l=a._decode(t,e);if(t.isError(l))return!1;i={type:r,value:l},n=!0}catch(e){return t.restore(s),!1}return!0}),this),n?i:t.error("Choice not matched")},p.prototype._createEncoderBuffer=function(t){return new n(t,this.reporter)},p.prototype._encode=function(t,e,o){var i=this._baseState;if(null===i.default||i.default!==t){var n=this._encodeValue(t,e,o);if(void 0!==n&&!this._skipDefault(n,e,o))return n}},p.prototype._encodeValue=function(t,e,o){var n=this._baseState;if(null===n.parent)return n.children[0]._encode(t,e||new i);var r=null;if(this.reporter=e,n.optional&&void 0===t){if(null===n.default)return;t=n.default}var s=null,a=!1;if(n.any)r=this._createEncoderBuffer(t);else if(n.choice)r=this._encodeChoice(t,e);else if(n.contains)s=this._getUse(n.contains,o)._encode(t,e),a=!0;else if(n.children)s=n.children.map((function(o){if("null_"===o._baseState.tag)return o._encode(null,e,t);if(null===o._baseState.key)return e.error("Child should have a key");var i=e.enterKey(o._baseState.key);if("object"!=typeof t)return e.error("Child expected, but input is not object");var n=o._encode(t[o._baseState.key],e,t);return e.leaveKey(i),n}),this).filter((function(t){return t})),s=this._createEncoderBuffer(s);else if("seqof"===n.tag||"setof"===n.tag){if(!n.args||1!==n.args.length)return e.error("Too many args for : "+n.tag);if(!Array.isArray(t))return e.error("seqof/setof, but data is not Array");var l=this.clone();l._baseState.implicit=null,s=this._createEncoderBuffer(t.map((function(o){var i=this._baseState;return this._getUse(i.args[0],t)._encode(o,e)}),l))}else null!==n.use?r=this._getUse(n.use,o)._encode(t,e):(s=this._encodePrimitive(n.tag,t),a=!0);if(!n.any&&null===n.choice){var p=null!==n.implicit?n.implicit:n.tag,u=null===n.implicit?"universal":"context";null===p?null===n.use&&e.error("Tag could be omitted only for .use()"):null===n.use&&(r=this._encodeComposite(p,a,u,s))}return null!==n.explicit&&(r=this._encodeComposite(n.explicit,!1,"context",r)),r},p.prototype._encodeChoice=function(t,e){var o=this._baseState,i=o.choice[t.type];return i||s(!1,t.type+" not found in "+JSON.stringify(Object.keys(o.choice))),i._encode(t.value,e)},p.prototype._encodePrimitive=function(t,e){var o=this._baseState;if(/str$/.test(t))return this._encodeStr(e,t);if("objid"===t&&o.args)return this._encodeObjid(e,o.reverseArgs[0],o.args[1]);if("objid"===t)return this._encodeObjid(e,null,null);if("gentime"===t||"utctime"===t)return this._encodeTime(e,t);if("null_"===t)return this._encodeNull();if("int"===t||"enum"===t)return this._encodeInt(e,o.args&&o.reverseArgs[0]);if("bool"===t)return this._encodeBool(e);if("objDesc"===t)return this._encodeStr(e,t);throw new Error("Unsupported tag: "+t)},p.prototype._isNumstr=function(t){return/^[0-9 ]*$/.test(t)},p.prototype._isPrintstr=function(t){return/^[A-Za-z0-9 '\(\)\+,\-\.\/:=\?]*$/.test(t)}},37464:(t,e,o)=>{o.d(e,{AO:()=>n});var i=o(1899);i.default,i.DEFAULT_COLLATION,i.DEFAULT_FILTER,i.DEFAULT_LIMIT,i.DEFAULT_MAX_TIME_MS,i.DEFAULT_PROJECT,i.DEFAULT_SKIP,i.DEFAULT_SORT,i.QUERY_PROPERTIES,i.isCollationValid,i.isFilterValid,i.isLimitValid,i.isMaxTimeMSValid,i.isProjectValid,i.isSkipValid,i.isSortValid,i.parseCollation,i.parseFilter,i.parseProject,i.parseSort,i.stringify;const n=i.toJSString;i.validate},37789:(t,e)=>{Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(){}return t.STRING_PROPERTIES=["sortingOrder","rowClass","rowSelection","overlayLoadingTemplate","overlayNoRowsTemplate","quickFilterText","rowModelType","editType","domLayout","clipboardDeliminator","rowGroupPanelShow","multiSortKey","pivotColumnGroupTotals","pivotRowTotals","pivotPanelShow"],t.OBJECT_PROPERTIES=["components","frameworkComponents","rowStyle","context","autoGroupColumnDef","groupColumnDef","localeText","icons","datasource","serverSideDatasource","viewportDatasource","groupRowRendererParams","aggFuncs","fullWidthCellRendererParams","defaultColGroupDef","defaultColDef","defaultExportParams","columnTypes","rowClassRules","detailGridOptions","detailCellRendererParams","loadingCellRendererParams","loadingOverlayComponentParams","noRowsOverlayComponentParams","popupParent","colResizeDefault","reduxStore","statusBar","sideBar"],t.ARRAY_PROPERTIES=["slaveGrids","alignedGrids","rowData","columnDefs","excelStyles","pinnedTopRowData","pinnedBottomRowData"],t.NUMBER_PROPERTIES=["rowHeight","detailRowHeight","rowBuffer","colWidth","headerHeight","groupHeaderHeight","floatingFiltersHeight","pivotHeaderHeight","pivotGroupHeaderHeight","groupDefaultExpanded","minColWidth","maxColWidth","viewportRowModelPageSize","viewportRowModelBufferSize","autoSizePadding","maxBlocksInCache","maxConcurrentDatasourceRequests","cacheOverflowSize","paginationPageSize","cacheBlockSize","infiniteInitialRowCount","scrollbarWidth","paginationStartPage","infiniteBlockSize","batchUpdateWaitMillis","blockLoadDebounceMillis"],t.BOOLEAN_PROPERTIES=["toolPanelSuppressRowGroups","toolPanelSuppressValues","toolPanelSuppressPivots","toolPanelSuppressPivotMode","toolPanelSuppressSideButtons","toolPanelSuppressColumnFilter","toolPanelSuppressColumnSelectAll","toolPanelSuppressColumnExpandAll","suppressMakeColumnVisibleAfterUnGroup","suppressRowClickSelection","suppressCellSelection","suppressHorizontalScroll","debug","enableBrowserTooltips","enableColResize","enableCellExpressions","enableSorting","enableServerSideSorting","enableFilter","enableServerSideFilter","angularCompileRows","angularCompileFilters","angularCompileHeaders","groupSuppressAutoColumn","groupSelectsChildren","groupIncludeFooter","groupIncludeTotalFooter","groupUseEntireRow","groupSuppressRow","groupSuppressBlankHeader","forPrint","suppressMenuHide","rowDeselection","unSortIcon","suppressMultiSort","singleClickEdit","suppressLoadingOverlay","suppressNoRowsOverlay","suppressAutoSize","suppressParentsInRowNodes","showToolPanel","suppressColumnMoveAnimation","suppressMovableColumns","suppressFieldDotNotation","enableRangeSelection","deltaSort","suppressTouch","suppressAsyncEvents","allowContextMenuWithControlKey","suppressContextMenu","suppressMenuFilterPanel","suppressMenuMainPanel","suppressMenuColumnPanel","rememberGroupStateWhenNewData","enableCellChangeFlash","suppressDragLeaveHidesColumns","suppressMiddleClickScrolls","suppressPreventDefaultOnMouseWheel","suppressUseColIdForGroups","suppressCopyRowsToClipboard","copyHeadersToClipboard","pivotMode","suppressAggFuncInHeader","suppressColumnVirtualisation","suppressAggAtRootLevel","suppressFocusAfterRefresh","functionsPassive","functionsReadOnly","animateRows","groupSelectsFiltered","groupRemoveSingleChildren","groupRemoveLowestSingleChildren","enableRtl","suppressClickEdit","rowDragManaged","suppressRowDrag","enableGroupEdit","embedFullWidthRows","deprecatedEmbedFullWidthRows","suppressTabbing","suppressPaginationPanel","floatingFilter","groupHideOpenParents","groupMultiAutoColumn","pagination","stopEditingWhenGridLosesFocus","paginationAutoPageSize","suppressScrollOnNewData","purgeClosedRowNodes","cacheQuickFilter","deltaRowDataMode","ensureDomOrder","accentedSort","pivotTotals","suppressChangeDetection","valueCache","valueCacheNeverExpires","aggregateOnlyChangedColumns","suppressAnimationFrame","suppressExcelExport","suppressCsvExport","treeData","masterDetail","suppressMultiRangeSelection","enterMovesDownAfterEdit","enterMovesDown","suppressPropertyNamesCheck","rowMultiSelectWithClick","contractColumnSelection","suppressEnterpriseResetOnNewColumns","enableOldSetFilterModel","suppressRowHoverHighlight","gridAutoHeight","suppressRowTransform","suppressClipboardPaste","serverSideSortingAlwaysResets","reactNext","suppressSetColumnStateEvents","enableCharts","deltaColumnMode","suppressMaintainUnsortedOrder","enableCellTextSelection","suppressBrowserResizeObserver","suppressMaxRenderedRowRestriction","excludeChildrenWhenTreeDataFiltering"],t.FUNCTION_PROPERTIES=["localeTextFunc","groupRowInnerRenderer","groupRowInnerRendererFramework","dateComponent","dateComponentFramework","groupRowRenderer","groupRowRendererFramework","isExternalFilterPresent","getRowHeight","doesExternalFilterPass","getRowClass","getRowStyle","getRowClassRules","traverseNode","getContextMenuItems","getMainMenuItems","processRowPostCreate","processCellForClipboard","getNodeChildDetails","groupRowAggNodes","getRowNodeId","isFullWidthCell","fullWidthCellRenderer","fullWidthCellRendererFramework","doesDataFlower","processSecondaryColDef","processSecondaryColGroupDef","getBusinessKeyForNode","sendToClipboard","navigateToNextCell","tabToNextCell","getDetailRowData","processCellFromClipboard","getDocument","postProcessPopup","getChildCount","getDataPath","loadingCellRenderer","loadingCellRendererFramework","loadingOverlayComponent","loadingOverlayComponentFramework","noRowsOverlayComponent","noRowsOverlayComponentFramework","detailCellRenderer","detailCellRendererFramework","onGridReady","defaultGroupSortComparator","isRowMaster","isRowSelectable","postSort","processHeaderForClipboard","paginationNumberFormatter","processDataFromClipboard","getServerSideGroupKey","isServerSideGroup","suppressKeyboardEvent"],t.ALL_PROPERTIES=t.ARRAY_PROPERTIES.concat(t.OBJECT_PROPERTIES).concat(t.STRING_PROPERTIES).concat(t.NUMBER_PROPERTIES).concat(t.FUNCTION_PROPERTIES).concat(t.BOOLEAN_PROPERTIES),t.FRAMEWORK_PROPERTIES=["__ob__","__metadata__","mappedColumnProperties","hasChildColumns","toColDef","createColDefFromGridColumn"],t}();e.PropertyKeys=o},38152:function(t,e,o){var i,n=this&&this.__extends||(i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},i(t,e)},function(t,e){function o(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)});Object.defineProperty(e,"__esModule",{value:!0});var r=o(26016),s=o(8534),a=o(45727),l=o(83423),p=function(t){function e(e,o,i,n){var r=t.call(this)||this;return r.columnOrGroup=e,r.eCell=o,r.colsSpanning=n,r.beans=i,r.printLayout=i.gridOptionsWrapper.getDomLayout()===a.Constants.DOM_LAYOUT_PRINT,r}return n(e,t),e.prototype.setColsSpanning=function(t){this.colsSpanning=t,this.onLeftChanged()},e.prototype.getColumnOrGroup=function(){return this.beans.gridOptionsWrapper.isEnableRtl()&&this.colsSpanning?this.colsSpanning[this.colsSpanning.length-1]:this.columnOrGroup},e.prototype.init=function(){this.addDestroyableEventListener(this.columnOrGroup,r.Column.EVENT_LEFT_CHANGED,this.onLeftChanged.bind(this)),this.setLeftFirstTime()},e.prototype.setLeftFirstTime=function(){var t=this.beans.gridOptionsWrapper.isSuppressColumnMoveAnimation(),e=l._.exists(this.columnOrGroup.getOldLeft());this.beans.columnAnimationService.isActive()&&e&&!t?this.animateInLeft():this.onLeftChanged()},e.prototype.animateInLeft=function(){var t=this,e=this.getColumnOrGroup().getLeft(),o=this.getColumnOrGroup().getOldLeft();this.setLeft(o),this.actualLeft=e,this.beans.columnAnimationService.executeNextVMTurn((function(){t.actualLeft===e&&t.setLeft(e)}))},e.prototype.onLeftChanged=function(){var t=this.getColumnOrGroup(),e=t.getLeft();this.actualLeft=this.modifyLeftForPrintLayout(t,e),this.setLeft(this.actualLeft)},e.prototype.modifyLeftForPrintLayout=function(t,e){return this.printLayout?t.getPinned()===r.Column.PINNED_LEFT?e:t.getPinned()===r.Column.PINNED_RIGHT?this.beans.columnController.getPinnedLeftContainerWidth()+this.beans.columnController.getBodyContainerWidth()+e:this.beans.columnController.getPinnedLeftContainerWidth()+e:e},e.prototype.setLeft=function(t){l._.exists(t)&&(this.eCell.style.left=t+"px")},e}(s.BeanStub);e.SetLeftFeature=p},38427:function(t,e,o){var i=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},n=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r=o(72493),s=o(45727),a=o(98239),l=o(3976),p=o(34782),u=o(44081),c=o(50580),d=o(83423),h=function(){function t(){}return t.prototype.getNextCellToFocus=function(t,e){for(var o=e,i=!1;!i;){switch(t){case s.Constants.KEY_UP:o=this.getCellAbove(o);break;case s.Constants.KEY_DOWN:o=this.getCellBelow(o);break;case s.Constants.KEY_RIGHT:o=this.gridOptionsWrapper.isEnableRtl()?this.getCellToLeft(o):this.getCellToRight(o);break;case s.Constants.KEY_LEFT:o=this.gridOptionsWrapper.isEnableRtl()?this.getCellToRight(o):this.getCellToLeft(o);break;default:o=null,console.warn("ag-Grid: unknown key for navigation "+t)}i=!o||this.isCellGoodToFocusOn(o)}return o},t.prototype.isCellGoodToFocusOn=function(t){var e,o=t.column;switch(t.floating){case s.Constants.PINNED_TOP:e=this.pinnedRowModel.getPinnedTopRow(t.rowIndex);break;case s.Constants.PINNED_BOTTOM:e=this.pinnedRowModel.getPinnedBottomRow(t.rowIndex);break;default:e=this.rowModel.getRow(t.rowIndex)}return!o.isSuppressNavigable(e)},t.prototype.getCellToLeft=function(t){if(!t)return null;var e=this.columnController.getDisplayedColBefore(t.column);if(e){var o={rowIndex:t.rowIndex,column:e,floating:t.floating};return new p.GridCell(o)}return null},t.prototype.getCellToRight=function(t){if(!t)return null;var e=this.columnController.getDisplayedColAfter(t.column);if(e){var o={rowIndex:t.rowIndex,column:e,floating:t.floating};return new p.GridCell(o)}return null},t.prototype.getRowBelow=function(t){return this.isLastRowInContainer(t)?t.isFloatingBottom()?null:t.isNotFloating()?this.pinnedRowModel.isRowsToRender(s.Constants.PINNED_BOTTOM)?new l.GridRow(0,s.Constants.PINNED_BOTTOM):null:this.rowModel.isRowsToRender()?new l.GridRow(0,null):this.pinnedRowModel.isRowsToRender(s.Constants.PINNED_BOTTOM)?new l.GridRow(0,s.Constants.PINNED_BOTTOM):null:new l.GridRow(t.rowIndex+1,t.floating)},t.prototype.getCellBelow=function(t){if(!t)return null;var e=this.getRowBelow(t.getGridRow());if(e){var o={rowIndex:e.rowIndex,column:t.column,floating:e.floating};return new p.GridCell(o)}return null},t.prototype.isLastRowInContainer=function(t){return t.isFloatingTop()?this.pinnedRowModel.getPinnedTopRowData().length-1<=t.rowIndex:t.isFloatingBottom()?this.pinnedRowModel.getPinnedBottomRowData().length-1<=t.rowIndex:this.rowModel.getPageLastRow()<=t.rowIndex},t.prototype.getRowAbove=function(t){return 0===t.rowIndex?t.isFloatingTop()?null:t.isNotFloating()?this.pinnedRowModel.isRowsToRender(s.Constants.PINNED_TOP)?this.getLastFloatingTopRow():null:this.rowModel.isRowsToRender()?this.getLastBodyCell():this.pinnedRowModel.isRowsToRender(s.Constants.PINNED_TOP)?this.getLastFloatingTopRow():null:new l.GridRow(t.rowIndex-1,t.floating)},t.prototype.getCellAbove=function(t){if(!t)return null;var e=this.getRowAbove(t.getGridRow());if(e){var o={rowIndex:e.rowIndex,column:t.column,floating:e.floating};return new p.GridCell(o)}return null},t.prototype.getLastBodyCell=function(){var t=this.rowModel.getPageLastRow();return new l.GridRow(t,null)},t.prototype.getLastFloatingTopRow=function(){var t=this.pinnedRowModel.getPinnedTopRowData().length-1;return new l.GridRow(t,s.Constants.PINNED_TOP)},t.prototype.getNextTabbedCell=function(t,e){return e?this.getNextTabbedCellBackwards(t):this.getNextTabbedCellForwards(t)},t.prototype.getNextTabbedCellForwards=function(t){var e=this.columnController.getAllDisplayedColumns(),o=t.rowIndex,i=t.floating,n=this.columnController.getDisplayedColAfter(t.column);if(!n){n=e[0];var r=this.getRowBelow(t.getGridRow());if(d._.missing(r))return null;o=r?r.rowIndex:null,i=r?r.floating:null}var s={rowIndex:o,column:n,floating:i};return new p.GridCell(s)},t.prototype.getNextTabbedCellBackwards=function(t){var e=this.columnController.getAllDisplayedColumns(),o=t.rowIndex,i=t.floating,n=this.columnController.getDisplayedColBefore(t.column);if(!n){n=e[e.length-1];var r=this.getRowAbove(t.getGridRow());if(d._.missing(r))return null;o=r?r.rowIndex:null,i=r?r.floating:null}var s={rowIndex:o,column:n,floating:i};return new p.GridCell(s)},i([r.Autowired("columnController"),n("design:type",a.ColumnController)],t.prototype,"columnController",void 0),i([r.Autowired("rowModel"),n("design:type",Object)],t.prototype,"rowModel",void 0),i([r.Autowired("pinnedRowModel"),n("design:type",c.PinnedRowModel)],t.prototype,"pinnedRowModel",void 0),i([r.Autowired("gridOptionsWrapper"),n("design:type",u.GridOptionsWrapper)],t.prototype,"gridOptionsWrapper",void 0),i([r.Bean("cellNavigationService")],t)}();e.CellNavigationService=h},39031:(t,e,o)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.executeAST=void 0;const i=o(34437),n=(t,e)=>{switch(t.callee.type){case"Identifier":{const o=(0,i.getScopeFunction)(t.callee.name,e),n=t.arguments.map((t=>r(t)));return o.apply(o,n)}case"MemberExpression":{const e="Identifier"===t.callee.object.type?(0,i.getClass)(t.callee.object.name):r(t.callee.object),o="Identifier"===t.callee.property.type&&t.callee.property.name;if(!o)throw new Error("Expected CallExpression property to be an identifier");const n=t.arguments.map((t=>r(t)));return e[o](...n)}default:throw new Error("Should not evaluate invalid expressions")}},r=t=>{switch(t?.type){case"Identifier":if(Object.prototype.hasOwnProperty.call(i.GLOBALS,t.name))return i.GLOBALS[t.name];throw new Error(`${t.name} is not a valid Identifier`);case"Literal":return t.value;case"UnaryExpression":return(t=>{if(!t.prefix)throw new Error("Malformed UnaryExpression");switch(t.operator){case"-":return-r(t.argument);case"+":return+r(t.argument);case"!":return!r(t.argument);case"~":return~r(t.argument);default:throw new Error(`Invalid UnaryExpression Provided: '${t.operator}'`)}})(t);case"BinaryExpression":return(t=>{const{left:e,right:o}=t;switch(t.operator){case"==":return r(e)==r(o);case"!=":return r(e)!=r(o);case"===":return r(e)===r(o);case"!==":return r(e)!==r(o);case"<":return r(e)<r(o);case"<=":return r(e)<=r(o);case">":return r(e)>r(o);case">=":return r(e)>=r(o);case"<<":return r(e)<<r(o);case">>":return r(e)>>r(o);case">>>":return r(e)>>>r(o);case"+":return r(e)+r(o);case"-":return r(e)-r(o);case"*":return r(e)*r(o);case"/":return r(e)/r(o);case"%":return r(e)%r(o);case"**":return r(e)**r(o);case"|":return r(e)|r(o);case"^":return r(e)^r(o);case"&":return r(e)&r(o);case"in":return r(e)in r(o);case"instanceof":return r(e)instanceof r(o);default:throw new Error(`Invalid BinaryExpression Provided: '${String(t.operator)}'`)}})(t);case"ArrayExpression":return t.elements.map((t=>r(t)));case"CallExpression":return n(t,!1);case"NewExpression":return n(t,!0);case"ObjectExpression":{const e=Object.create(null);for(const o of t.properties)"key"in o&&(e["Identifier"===o.key.type?o.key.name:r(o.key)]=r(o.value));return{...e}}case"FunctionExpression":case"ArrowFunctionExpression":return(t=>{const e=t.loc?.source||"",o=t.range||[];return e.slice(o[0],o[1])})(t);default:throw new Error}};e.executeAST=t=>{if("Program"===t.type&&1===t.body.length&&"ExpressionStatement"===t.body[0].type)return r(t.body[0].expression);throw new Error("Invalid AST Found")}},39418:t=>{t.exports=function(t,e){var o=t.length,i=t.indexOf(e)+1;return i>o-1&&(i=0),t[i]}},39984:function(t,e,o){var i=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},n=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r=o(72493),s=o(73575),a=o(85910),l=o(44081),p=o(44871),u=o(40797),c=o(83423),d=function(){function t(){this.DEFAULT_HIDE_TOOLTIP_TIMEOUT=1e4,this.MOUSEOUT_HIDE_TOOLTIP_TIMEOUT=1e3,this.MOUSEOVER_SHOW_TOOLTIP_TIMEOUT=2e3,this.HIDE_SHOW_ONLY=!0,this.showTimeoutId=0,this.hideTimeoutId=0,this.registeredComponents={}}return t.prototype.registerTooltip=function(t){var e=this,o=t.getGui(),i=t.getCompId();t.addDestroyableEventListener(o,"mouseover",(function(o){return e.processMouseOver(o,t)})),t.addDestroyableEventListener(o,"mousemove",(function(t){return e.processMouseMove(t)})),t.addDestroyableEventListener(o,"mousedown",this.hideTooltip.bind(this)),t.addDestroyableEventListener(o,"mouseout",this.processMouseOut.bind(this)),this.registeredComponents[i]={tooltipComp:void 0,destroyFunc:void 0},t.addDestroyFunc((function(){return e.unregisterTooltip(t)}))},t.prototype.unregisterTooltip=function(t){var e=t.getCompId();this.activeComponent===t&&this.hideTooltip(),delete this.registeredComponents[e]},t.prototype.processMouseOver=function(t,e){var o=this.MOUSEOVER_SHOW_TOOLTIP_TIMEOUT;if(this.activeComponent){if(this.lastHoveredComponent===this.activeComponent)return;o=200}else if(this.showTimeoutId&&this.lastHoveredComponent===e)return;this.clearTimers(this.HIDE_SHOW_ONLY),this.lastHoveredComponent!==e&&(this.lastHoveredComponent=e,this.lastMouseEvent=t,this.showTimeoutId=window.setTimeout(this.showTooltip.bind(this),o,t))},t.prototype.processMouseOut=function(t){var e=this.activeComponent,o=t.relatedTarget;if(e){if(!e.getGui().contains(o)){var i=this.registeredComponents[e.getCompId()];c._.addCssClass(i.tooltipComp.getGui(),"ag-tooltip-hiding"),this.lastHoveredComponent=void 0,this.clearTimers(),this.hideTimeoutId=window.setTimeout(this.hideTooltip.bind(this),this.MOUSEOUT_HIDE_TOOLTIP_TIMEOUT)}}else{if(this.lastHoveredComponent){var n=this.lastHoveredComponent.getGui().contains(o);if(this.showTimeoutId&&n)return;n||(this.lastHoveredComponent=void 0)}this.clearTimers()}},t.prototype.processMouseMove=function(t){this.lastMouseEvent=t},t.prototype.showTooltip=function(t){var e=this.lastHoveredComponent,o=e,i=this.registeredComponents[e.getCompId()];this.hideTooltip();var n={api:this.gridApi,columnApi:this.columnApi,colDef:e.getComponentHolder(),column:o.getColumn&&o.getColumn(),context:this.gridOptionsWrapper.getContext(),rowIndex:o.getGridCell&&o.getGridCell().rowIndex,value:e.getTooltipText()};this.createTooltipComponent(n,i,t)},t.prototype.createTooltipComponent=function(t,e,o){var i=this;this.userComponentFactory.newTooltipComponent(t).then((function(t){if(e){e.tooltipComp=t;var o=t.getGui(),n=i.popupService.addPopup(!1,o,!1);e.destroyFunc=function(){n(),t.destroy&&t.destroy()},i.popupService.positionPopupUnderMouseEvent({type:"tooltip",mouseEvent:i.lastMouseEvent,ePopup:o,nudgeY:18}),i.activeComponent=i.lastHoveredComponent,i.hideTimeoutId=window.setTimeout(i.hideTooltip.bind(i),i.DEFAULT_HIDE_TOOLTIP_TIMEOUT)}}))},t.prototype.hideTooltip=function(){var t=this.activeComponent;if(this.clearTimers(),t){var e=t.getCompId(),o=this.registeredComponents[e];this.activeComponent=void 0,o&&(o.destroyFunc&&o.destroyFunc(),this.clearRegisteredComponent(o))}},t.prototype.clearRegisteredComponent=function(t){delete t.destroyFunc,delete t.tooltipComp},t.prototype.clearTimers=function(t){void 0===t&&(t=!1),this.hideTimeoutId&&!t&&(window.clearTimeout(this.hideTimeoutId),this.hideTimeoutId=0),this.showTimeoutId&&(window.clearTimeout(this.showTimeoutId),this.showTimeoutId=0)},i([r.Autowired("popupService"),n("design:type",s.PopupService)],t.prototype,"popupService",void 0),i([r.Autowired("userComponentFactory"),n("design:type",a.UserComponentFactory)],t.prototype,"userComponentFactory",void 0),i([r.Autowired("columnApi"),n("design:type",p.ColumnApi)],t.prototype,"columnApi",void 0),i([r.Autowired("gridApi"),n("design:type",u.GridApi)],t.prototype,"gridApi",void 0),i([r.Autowired("gridOptionsWrapper"),n("design:type",l.GridOptionsWrapper)],t.prototype,"gridOptionsWrapper",void 0),i([r.Bean("tooltipManager")],t)}();e.TooltipManager=d},40634:function(t,e,o){var i=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},n=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},r=this&&this.__param||function(t,e){return function(o,i){e(o,i,t)}};Object.defineProperty(e,"__esModule",{value:!0});var s=o(37132),a=o(72493),l=o(72493),p=function(){function t(){this.expressionToFunctionCache={}}return t.prototype.setBeans=function(t){this.logger=t.create("ExpressionService")},t.prototype.evaluate=function(t,e){if("function"==typeof t)return t(e);if("string"==typeof t){var o=t;return this.evaluateExpression(o,e)}console.error("ag-Grid: value should be either a string or a function",t)},t.prototype.evaluateExpression=function(t,e){try{return this.createExpressionFunction(t)(e.value,e.context,e.oldValue,e.newValue,e.value,e.node,e.data,e.colDef,e.rowIndex,e.api,e.columnApi,e.getValue,e.column,e.columnGroup)}catch(e){return console.log("Processing of the expression failed"),console.log("Expression = "+t),console.log("Exception = "+e),null}},t.prototype.createExpressionFunction=function(t){if(this.expressionToFunctionCache[t])return this.expressionToFunctionCache[t];var e=this.createFunctionBody(t),o=new Function("x, ctx, oldValue, newValue, value, node, data, colDef, rowIndex, api, columnApi, getValue, column, columnGroup",e);return this.expressionToFunctionCache[t]=o,o},t.prototype.createFunctionBody=function(t){return t.indexOf("return")>=0?t:"return "+t+";"},i([r(0,l.Qualifier("loggerFactory")),n("design:type",Function),n("design:paramtypes",[s.LoggerFactory]),n("design:returntype",void 0)],t.prototype,"setBeans",null),i([a.Bean("expressionService")],t)}();e.ExpressionService=p},40706:function(t,e,o){var i=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},n=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r=o(44081),s=o(72493),a=o(58342),l=o(98239),p=o(60843),u=o(63405),c=o(15774),d=o(69992),h=o(26016),f=o(13887),g=o(83423),y=function(){function t(t,e,o){this.headerRowComps=[],this.eContainer=t,this.pinned=o,this.eViewport=e}return t.prototype.registerGridComp=function(t){this.setupDragAndDrop(t)},t.prototype.forEachHeaderElement=function(t){this.headerRowComps.forEach((function(e){return e.forEachHeaderElement(t)}))},t.prototype.init=function(){this.scrollWidth=this.gridOptionsWrapper.getScrollbarWidth(),this.eventService.addEventListener(u.Events.EVENT_COLUMN_VALUE_CHANGED,this.onColumnValueChanged.bind(this)),this.eventService.addEventListener(u.Events.EVENT_COLUMN_ROW_GROUP_CHANGED,this.onColumnRowGroupChanged.bind(this)),this.eventService.addEventListener(u.Events.EVENT_GRID_COLUMNS_CHANGED,this.onGridColumnsChanged.bind(this)),this.eventService.addEventListener(u.Events.EVENT_SCROLL_VISIBILITY_CHANGED,this.onScrollVisibilityChanged.bind(this)),this.eventService.addEventListener(u.Events.EVENT_COLUMN_RESIZED,this.onColumnResized.bind(this)),this.eventService.addEventListener(u.Events.EVENT_DISPLAYED_COLUMNS_CHANGED,this.onDisplayedColumnsChanged.bind(this))},t.prototype.onColumnRowGroupChanged=function(){this.onGridColumnsChanged()},t.prototype.onColumnValueChanged=function(){this.onGridColumnsChanged()},t.prototype.onColumnResized=function(){this.setWidthOfPinnedContainer()},t.prototype.onDisplayedColumnsChanged=function(){this.setWidthOfPinnedContainer()},t.prototype.onScrollVisibilityChanged=function(){this.setWidthOfPinnedContainer()},t.prototype.setWidthOfPinnedContainer=function(){var t=this.pinned===h.Column.PINNED_LEFT,e=this.pinned===h.Column.PINNED_RIGHT,o=this.columnController,i=this.gridOptionsWrapper.isEnableRtl();if(t||e){var n=o[t?"getPinnedLeftContainerWidth":"getPinnedRightContainerWidth"]();this.scrollVisibleService.isVerticalScrollShowing()&&(i&&t||!i&&e)&&(n+=this.scrollWidth),g._.setFixedWidth(this.eContainer,n)}},t.prototype.destroy=function(){this.removeHeaderRowComps()},t.prototype.onGridColumnsChanged=function(){this.removeAndCreateAllRowComps()},t.prototype.removeAndCreateAllRowComps=function(){this.removeHeaderRowComps(),this.createHeaderRowComps()},t.prototype.refresh=function(){this.removeAndCreateAllRowComps()},t.prototype.setupDragAndDrop=function(t){var e=this.eViewport?this.eViewport:this.eContainer,o=new d.BodyDropTarget(this.pinned,e);this.context.wireBean(o),o.registerGridComp(t)},t.prototype.removeHeaderRowComps=function(){this.headerRowComps.forEach((function(t){t.destroy()})),this.headerRowComps.length=0,g._.clearElement(this.eContainer)},t.prototype.createHeaderRowComps=function(){for(var t=this.columnController.getHeaderRowCount(),e=0;e<t;e++){var o=e!==t-1?c.HeaderRowType.COLUMN_GROUP:c.HeaderRowType.COLUMN,i=new c.HeaderRowComp(e,o,this.pinned,this.dropTarget);this.context.wireBean(i),this.headerRowComps.push(i),this.eContainer.appendChild(i.getGui())}this.gridOptionsWrapper.isFloatingFilter()&&!this.columnController.isPivotMode()&&(i=new c.HeaderRowComp(t,c.HeaderRowType.FLOATING_FILTER,this.pinned,this.dropTarget),this.context.wireBean(i),this.headerRowComps.push(i),this.eContainer.appendChild(i.getGui()))},i([s.Autowired("gridOptionsWrapper"),n("design:type",r.GridOptionsWrapper)],t.prototype,"gridOptionsWrapper",void 0),i([s.Autowired("context"),n("design:type",s.Context)],t.prototype,"context",void 0),i([s.Autowired("$scope"),n("design:type",Object)],t.prototype,"$scope",void 0),i([s.Autowired("dragAndDropService"),n("design:type",a.DragAndDropService)],t.prototype,"dragAndDropService",void 0),i([s.Autowired("columnController"),n("design:type",l.ColumnController)],t.prototype,"columnController",void 0),i([s.Autowired("eventService"),n("design:type",p.EventService)],t.prototype,"eventService",void 0),i([s.Autowired("scrollVisibleService"),n("design:type",f.ScrollVisibleService)],t.prototype,"scrollVisibleService",void 0),i([s.PostConstruct,n("design:type",Function),n("design:paramtypes",[]),n("design:returntype",void 0)],t.prototype,"init",null),t}();e.HeaderContainer=y},40797:function(t,e,o){var i=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},n=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r=o(43460),s=o(10042),a=o(55e3),l=o(98239),p=o(54828),u=o(44081),c=o(24463),d=o(60843),h=o(45727),f=o(72493),g=o(86608),y=o(42195),m=o(34782),v=o(34470),C=o(41451),E=o(76133),w=o(88842),_=o(10190),S=o(50580),b=o(69065),R=o(83423),O=function(){function t(){this.detailGridInfoMap={}}return t.prototype.registerGridComp=function(t){this.gridPanel=t},t.prototype.registerGridCore=function(t){this.gridCore=t},t.prototype.registerHeaderRootComp=function(t){this.headerRootComp=t},t.prototype.init=function(){switch(this.rowModel.getType()){case h.Constants.ROW_MODEL_TYPE_CLIENT_SIDE:this.clientSideRowModel=this.rowModel;break;case h.Constants.ROW_MODEL_TYPE_INFINITE:this.infinitePageRowModel=this.rowModel;break;case h.Constants.ROW_MODEL_TYPE_SERVER_SIDE:this.serverSideRowModel=this.rowModel}},t.prototype.__getAlignedGridService=function(){return this.alignedGridsService},t.prototype.addDetailGridInfo=function(t,e){this.detailGridInfoMap[t]=e},t.prototype.removeDetailGridInfo=function(t){this.detailGridInfoMap[t]=void 0},t.prototype.getDetailGridInfo=function(t){return this.detailGridInfoMap[t]},t.prototype.forEachDetailGridInfo=function(t){var e=0;R._.iterateObject(this.detailGridInfoMap,(function(o,i){R._.exists(i)&&(t(i,e),e++)}))},t.prototype.getDataAsCsv=function(t){return this.csvCreator.getDataAsCsv(t)},t.prototype.exportDataAsCsv=function(t){this.csvCreator.exportDataAsCsv(t)},t.prototype.getDataAsExcel=function(t){return this.excelCreator||console.warn("ag-Grid: Excel export is only available in ag-Grid Enterprise"),this.excelCreator.getDataAsExcelXml(t)},t.prototype.exportDataAsExcel=function(t){this.excelCreator||console.warn("ag-Grid: Excel export is only available in ag-Grid Enterprise"),this.excelCreator.exportDataAsExcel(t)},t.prototype.setEnterpriseDatasource=function(t){console.warn("ag-grid: since version 18.x, api.setEnterpriseDatasource() should be replaced with api.setServerSideDatasource()"),this.setServerSideDatasource(t)},t.prototype.setServerSideDatasource=function(t){this.gridOptionsWrapper.isRowModelServerSide()?this.rowModel.setDatasource(t):console.warn("ag-Grid: you can only use an enterprise datasource when gridOptions.rowModelType is '"+h.Constants.ROW_MODEL_TYPE_SERVER_SIDE+"'")},t.prototype.setDatasource=function(t){this.gridOptionsWrapper.isRowModelInfinite()?this.rowModel.setDatasource(t):console.warn("ag-Grid: you can only use a datasource when gridOptions.rowModelType is '"+h.Constants.ROW_MODEL_TYPE_INFINITE+"'")},t.prototype.setViewportDatasource=function(t){this.gridOptionsWrapper.isRowModelViewport()?this.rowModel.setViewportDatasource(t):console.warn("ag-Grid: you can only use a viewport datasource when gridOptions.rowModelType is '"+h.Constants.ROW_MODEL_TYPE_VIEWPORT+"'")},t.prototype.setRowData=function(t){if(this.gridOptionsWrapper.isRowModelDefault())if(this.gridOptionsWrapper.isDeltaRowDataMode()){var e=this.immutableService.createTransactionForRowData(t),o=e[0],i=e[1];this.clientSideRowModel.updateRowData(o,i),this.rowRenderer.refreshFullWidthRows()}else this.selectionController.reset(),this.clientSideRowModel.setRowData(t);else console.warn("cannot call setRowData unless using normal row model")},t.prototype.setFloatingTopRowData=function(t){console.warn("ag-Grid: since v12, api.setFloatingTopRowData() is now api.setPinnedTopRowData()"),this.setPinnedTopRowData(t)},t.prototype.setFloatingBottomRowData=function(t){console.warn("ag-Grid: since v12, api.setFloatingBottomRowData() is now api.setPinnedBottomRowData()"),this.setPinnedBottomRowData(t)},t.prototype.getFloatingTopRowCount=function(){return console.warn("ag-Grid: since v12, api.getFloatingTopRowCount() is now api.getPinnedTopRowCount()"),this.getPinnedTopRowCount()},t.prototype.getFloatingBottomRowCount=function(){return console.warn("ag-Grid: since v12, api.getFloatingBottomRowCount() is now api.getPinnedBottomRowCount()"),this.getPinnedBottomRowCount()},t.prototype.getFloatingTopRow=function(t){return console.warn("ag-Grid: since v12, api.getFloatingTopRow() is now api.getPinnedTopRow()"),this.getPinnedTopRow(t)},t.prototype.getFloatingBottomRow=function(t){return console.warn("ag-Grid: since v12, api.getFloatingBottomRow() is now api.getPinnedBottomRow()"),this.getPinnedBottomRow(t)},t.prototype.setPinnedTopRowData=function(t){this.pinnedRowModel.setPinnedTopRowData(t)},t.prototype.setPinnedBottomRowData=function(t){this.pinnedRowModel.setPinnedBottomRowData(t)},t.prototype.getPinnedTopRowCount=function(){return this.pinnedRowModel.getPinnedTopRowCount()},t.prototype.getPinnedBottomRowCount=function(){return this.pinnedRowModel.getPinnedBottomRowCount()},t.prototype.getPinnedTopRow=function(t){return this.pinnedRowModel.getPinnedTopRow(t)},t.prototype.getPinnedBottomRow=function(t){return this.pinnedRowModel.getPinnedBottomRow(t)},t.prototype.setColumnDefs=function(t,e){void 0===e&&(e="api"),this.columnController.setColumnDefs(t,e)},t.prototype.expireValueCache=function(){this.valueCache.expire()},t.prototype.getVerticalPixelRange=function(){return this.gridPanel.getVScrollPosition()},t.prototype.getHorizontalPixelRange=function(){return this.gridPanel.getHScrollPosition()},t.prototype.setAlwaysShowVerticalScroll=function(t){this.gridOptionsWrapper.setProperty("alwaysShowVerticalScroll",t)},t.prototype.refreshToolPanel=function(){this.gridCore.refreshSideBar()},t.prototype.refreshCells=function(t){void 0===t&&(t={}),Array.isArray(t)?console.warn("since ag-Grid v11.1, refreshCells() now takes parameters, please see the documentation."):this.rowRenderer.refreshCells(t)},t.prototype.flashCells=function(t){void 0===t&&(t={}),this.rowRenderer.flashCells(t)},t.prototype.redrawRows=function(t){void 0===t&&(t={}),t&&t.rowNodes?this.rowRenderer.redrawRows(t.rowNodes):this.rowRenderer.redrawAfterModelUpdate()},t.prototype.timeFullRedraw=function(t){void 0===t&&(t=1);var e=0,o=0,i=0,n=this;!function r(){var s=(new Date).getTime();n.rowRenderer.redrawAfterModelUpdate();var a=(new Date).getTime();window.setTimeout((function(){var n=(new Date).getTime(),l=a-s,p=n-a;console.log("duration: processing = "+l+"ms, reflow = "+p+"ms"),e++,o+=l,i+=p,e<t?window.setTimeout(r,1e3):(console.log("tests complete. iteration count = "+e),console.log("average processing = "+o/e+"ms"),console.log("average reflow = "+i/e+"ms"))}),0)}()},t.prototype.refreshView=function(){console.warn("ag-Grid: since v11.1, refreshView() is deprecated, please call refreshCells() or redrawRows() instead"),this.redrawRows()},t.prototype.refreshRows=function(t){console.warn("since ag-Grid v11.1, refreshRows() is deprecated, please use refreshCells({rowNodes: rows}) or redrawRows({rowNodes: rows}) instead"),this.refreshCells({rowNodes:t})},t.prototype.rowDataChanged=function(t){console.warn("ag-Grid: rowDataChanged is deprecated, either call refreshView() to refresh everything, or call rowNode.setRowData(newData) to set value on a particular node"),this.redrawRows()},t.prototype.softRefreshView=function(){console.error("ag-Grid: since v16, softRefreshView() is no longer supported. Please check the documentation on how to refresh.")},t.prototype.refreshGroupRows=function(){console.warn("ag-Grid: since v11.1, refreshGroupRows() is no longer supported, call refreshCells() instead. Because refreshCells() now does dirty checking, it will only refresh cells that have changed, so it should not be necessary to only refresh the group rows."),this.refreshCells()},t.prototype.setFunctionsReadOnly=function(t){this.gridOptionsWrapper.setProperty("functionsReadOnly",t)},t.prototype.refreshHeader=function(){this.headerRootComp.refreshHeader(),this.gridPanel.setHeaderAndFloatingHeights()},t.prototype.isAnyFilterPresent=function(){return this.filterManager.isAnyFilterPresent()},t.prototype.isAdvancedFilterPresent=function(){return console.warn("ag-Grid: isAdvancedFilterPresent() is deprecated, please use isColumnFilterPresent()"),this.isColumnFilterPresent()},t.prototype.isColumnFilterPresent=function(){return this.filterManager.isAdvancedFilterPresent()},t.prototype.isQuickFilterPresent=function(){return this.filterManager.isQuickFilterPresent()},t.prototype.getModel=function(){return this.rowModel},t.prototype.onGroupExpandedOrCollapsed=function(t){R._.missing(this.clientSideRowModel)&&console.warn("ag-Grid: cannot call onGroupExpandedOrCollapsed unless using normal row model"),R._.exists(t)&&console.warn("ag-Grid: api.onGroupExpandedOrCollapsed - refreshFromIndex parameter is no longer used, the grid will refresh all rows"),this.clientSideRowModel.refreshModel({step:h.Constants.STEP_MAP})},t.prototype.refreshInMemoryRowModel=function(t){console.warn("ag-grid: since version 18.x, api.refreshInMemoryRowModel() should be replaced with api.refreshClientSideRowModel()"),this.refreshClientSideRowModel(t)},t.prototype.refreshClientSideRowModel=function(t){R._.missing(this.clientSideRowModel)&&console.warn("cannot call refreshClientSideRowModel unless using normal row model");var e=h.Constants.STEP_EVERYTHING,o={group:h.Constants.STEP_EVERYTHING,filter:h.Constants.STEP_FILTER,map:h.Constants.STEP_MAP,aggregate:h.Constants.STEP_AGGREGATE,sort:h.Constants.STEP_SORT,pivot:h.Constants.STEP_PIVOT};if(R._.exists(t)&&(e=o[t]),R._.missing(e))console.error("ag-Grid: invalid step "+t+", available steps are "+Object.keys(o).join(", "));else{var i={step:e,keepRenderedRows:!0,animate:!0,keepEditingRows:!0};this.clientSideRowModel.refreshModel(i)}},t.prototype.isAnimationFrameQueueEmpty=function(){return this.animationFrameService.isQueueEmpty()},t.prototype.getRowNode=function(t){return this.rowModel.getRowNode(t)},t.prototype.expandAll=function(){R._.missing(this.clientSideRowModel)?console.warn("ag-Grid: cannot call expandAll unless using normal row model"):this.clientSideRowModel.expandOrCollapseAll(!0)},t.prototype.collapseAll=function(){R._.missing(this.clientSideRowModel)?console.warn("ag-Grid: cannot call collapseAll unless using normal row model"):this.clientSideRowModel.expandOrCollapseAll(!1)},t.prototype.addVirtualRowListener=function(t,e,o){"string"!=typeof t&&console.warn("ag-Grid: addVirtualRowListener is deprecated, please use addRenderedRowListener."),this.addRenderedRowListener(t,e,o)},t.prototype.addRenderedRowListener=function(t,e,o){"virtualRowSelected"===t&&console.warn("ag-Grid: event virtualRowSelected is deprecated, to register for individual row\n selection events, add a listener directly to the row node."),this.rowRenderer.addRenderedRowListener(t,e,o)},t.prototype.setQuickFilter=function(t){this.filterManager.setQuickFilter(t)},t.prototype.selectIndex=function(t,e,o){console.warn("ag-Grid: do not use api for selection, call node.setSelected(value) instead"),o&&console.warn("ag-Grid: suppressEvents is no longer supported, stop listening for the event if you no longer want it"),this.selectionController.selectIndex(t,e)},t.prototype.deselectIndex=function(t,e){void 0===e&&(e=!1),console.warn("ag-Grid: do not use api for selection, call node.setSelected(value) instead"),e&&console.warn("ag-Grid: suppressEvents is no longer supported, stop listening for the event if you no longer want it"),this.selectionController.deselectIndex(t)},t.prototype.selectNode=function(t,e,o){void 0===e&&(e=!1),void 0===o&&(o=!1),console.warn("ag-Grid: API for selection is deprecated, call node.setSelected(value) instead"),o&&console.warn("ag-Grid: suppressEvents is no longer supported, stop listening for the event if you no longer want it"),t.setSelectedParams({newValue:!0,clearSelection:!e})},t.prototype.deselectNode=function(t,e){void 0===e&&(e=!1),console.warn("ag-Grid: API for selection is deprecated, call node.setSelected(value) instead"),e&&console.warn("ag-Grid: suppressEvents is no longer supported, stop listening for the event if you no longer want it"),t.setSelectedParams({newValue:!1})},t.prototype.selectAll=function(){this.selectionController.selectAllRowNodes()},t.prototype.deselectAll=function(){this.selectionController.deselectAllRowNodes()},t.prototype.selectAllFiltered=function(){this.selectionController.selectAllRowNodes(!0)},t.prototype.deselectAllFiltered=function(){this.selectionController.deselectAllRowNodes(!0)},t.prototype.recomputeAggregates=function(){R._.missing(this.clientSideRowModel)&&console.warn("cannot call recomputeAggregates unless using normal row model"),console.warn("recomputeAggregates is deprecated, please call api.refreshClientSideRowModel('aggregate') instead"),this.clientSideRowModel.refreshModel({step:h.Constants.STEP_AGGREGATE})},t.prototype.sizeColumnsToFit=function(){this.gridPanel.sizeColumnsToFit()},t.prototype.showLoadingOverlay=function(){this.gridPanel.showLoadingOverlay()},t.prototype.showNoRowsOverlay=function(){this.gridPanel.showNoRowsOverlay()},t.prototype.hideOverlay=function(){this.gridPanel.hideOverlay()},t.prototype.isNodeSelected=function(t){return console.warn("ag-Grid: no need to call api.isNodeSelected(), just call node.isSelected() instead"),t.isSelected()},t.prototype.getSelectedNodesById=function(){return console.error("ag-Grid: since version 3.4, getSelectedNodesById no longer exists, use getSelectedNodes() instead"),null},t.prototype.getSelectedNodes=function(){return this.selectionController.getSelectedNodes()},t.prototype.getSelectedRows=function(){return this.selectionController.getSelectedRows()},t.prototype.getBestCostNodeSelection=function(){return this.selectionController.getBestCostNodeSelection()},t.prototype.getRenderedNodes=function(){return this.rowRenderer.getRenderedNodes()},t.prototype.ensureColIndexVisible=function(t){console.warn("ag-Grid: ensureColIndexVisible(index) no longer supported, use ensureColumnVisible(colKey) instead.")},t.prototype.ensureColumnVisible=function(t){this.gridPanel.ensureColumnVisible(t)},t.prototype.ensureIndexVisible=function(t,e){this.gridPanel.ensureIndexVisible(t,e)},t.prototype.ensureNodeVisible=function(t,e){this.gridCore.ensureNodeVisible(t,e)},t.prototype.forEachLeafNode=function(t){R._.missing(this.clientSideRowModel)&&console.warn("cannot call forEachNode unless using normal row model"),this.clientSideRowModel.forEachLeafNode(t)},t.prototype.forEachNode=function(t){this.rowModel.forEachNode(t)},t.prototype.forEachNodeAfterFilter=function(t){R._.missing(this.clientSideRowModel)&&console.warn("cannot call forEachNodeAfterFilter unless using normal row model"),this.clientSideRowModel.forEachNodeAfterFilter(t)},t.prototype.forEachNodeAfterFilterAndSort=function(t){R._.missing(this.clientSideRowModel)&&console.warn("cannot call forEachNodeAfterFilterAndSort unless using normal row model"),this.clientSideRowModel.forEachNodeAfterFilterAndSort(t)},t.prototype.getFilterApiForColDef=function(t){return console.warn("ag-grid API method getFilterApiForColDef deprecated, use getFilterApi instead"),this.getFilterInstance(t)},t.prototype.getFilterInstance=function(t){var e=this.columnController.getPrimaryColumn(t);if(e)return this.filterManager.getFilterComponent(e,"NO_UI").resolveNow(null,(function(t){return t}))},t.prototype.getFilterApi=function(t){return console.warn("ag-Grid: getFilterApi is deprecated, use getFilterInstance instead"),this.getFilterInstance(t)},t.prototype.destroyFilter=function(t){var e=this.columnController.getPrimaryColumn(t);if(e)return this.filterManager.destroyFilter(e,"filterDestroyed")},t.prototype.getStatusPanel=function(t){if(this.statusBarService)return this.statusBarService.getStatusPanel(t)},t.prototype.getColumnDef=function(t){var e=this.columnController.getPrimaryColumn(t);return e?e.getColDef():null},t.prototype.onFilterChanged=function(){this.filterManager.onFilterChanged()},t.prototype.onSortChanged=function(){this.sortController.onSortChanged()},t.prototype.setSortModel=function(t,e){void 0===e&&(e="api"),this.sortController.setSortModel(t,e)},t.prototype.getSortModel=function(){return this.sortController.getSortModel()},t.prototype.setFilterModel=function(t){this.filterManager.setFilterModel(t)},t.prototype.getFilterModel=function(){return this.filterManager.getFilterModel()},t.prototype.getFocusedCell=function(){return this.focusedCellController.getFocusedCell()},t.prototype.clearFocusedCell=function(){return this.focusedCellController.clearFocusedCell()},t.prototype.setFocusedCell=function(t,e,o){this.focusedCellController.setFocusedCell(t,e,o,!0)},t.prototype.setSuppressRowDrag=function(t){this.gridOptionsWrapper.setProperty(u.GridOptionsWrapper.PROP_SUPPRESS_ROW_DRAG,t)},t.prototype.setHeaderHeight=function(t){this.gridOptionsWrapper.setProperty(u.GridOptionsWrapper.PROP_HEADER_HEIGHT,t),this.doLayout()},t.prototype.setGridAutoHeight=function(t){console.warn("api.setGridAutoHeight(boolean) is deprecated, please use api.setDomLayout() instead"),this.setDomLayout(t?"autoHeight":"normal")},t.prototype.setDomLayout=function(t){this.gridOptionsWrapper.setProperty(u.GridOptionsWrapper.PROP_DOM_LAYOUT,t)},t.prototype.setEnableCellTextSelection=function(t){this.gridPanel.setCellTextSelection(t)},t.prototype.setGroupHeaderHeight=function(t){this.gridOptionsWrapper.setProperty(u.GridOptionsWrapper.PROP_GROUP_HEADER_HEIGHT,t),this.doLayout()},t.prototype.setFloatingFiltersHeight=function(t){this.gridOptionsWrapper.setProperty(u.GridOptionsWrapper.PROP_FLOATING_FILTERS_HEIGHT,t),this.doLayout()},t.prototype.setPivotGroupHeaderHeight=function(t){this.gridOptionsWrapper.setProperty(u.GridOptionsWrapper.PROP_PIVOT_GROUP_HEADER_HEIGHT,t),this.doLayout()},t.prototype.setPivotHeaderHeight=function(t){this.gridOptionsWrapper.setProperty(u.GridOptionsWrapper.PROP_PIVOT_HEADER_HEIGHT,t),this.doLayout()},t.prototype.isSideBarVisible=function(){return this.gridCore.isSideBarVisible()},t.prototype.setSideBarVisible=function(t){this.gridCore.setSideBarVisible(t)},t.prototype.showToolPanel=function(t){console.warn("ag-grid: from v19 api.showToolPanel has been deprecated in favour of api.setSideBarVisible"),this.setSideBarVisible(t)},t.prototype.openToolPanel=function(t){this.gridCore.openToolPanel(t)},t.prototype.closeToolPanel=function(){this.gridCore.closeToolPanel()},t.prototype.getOpenedToolPanel=function(){return this.gridCore.getOpenedToolPanel()},t.prototype.getSideBar=function(){return this.gridCore.getSideBar()},t.prototype.setSideBar=function(t){return this.gridCore.setSideBar(t)},t.prototype.setSuppressClipboardPaste=function(t){this.gridOptionsWrapper.setProperty(u.GridOptionsWrapper.PROP_SUPPRESS_CLIPBOARD_PASTE,t)},t.prototype.isToolPanelShowing=function(){return this.gridCore.isToolPanelShowing()},t.prototype.doLayout=function(){this.gridPanel.checkViewportAndScrolls()},t.prototype.resetRowHeights=function(){R._.exists(this.clientSideRowModel)&&this.clientSideRowModel.resetRowHeights()},t.prototype.setGroupRemoveSingleChildren=function(t){this.gridOptionsWrapper.setProperty(u.GridOptionsWrapper.PROP_GROUP_REMOVE_SINGLE_CHILDREN,t)},t.prototype.setGroupRemoveLowestSingleChildren=function(t){this.gridOptionsWrapper.setProperty(u.GridOptionsWrapper.PROP_GROUP_REMOVE_LOWEST_SINGLE_CHILDREN,t)},t.prototype.onRowHeightChanged=function(){R._.exists(this.clientSideRowModel)&&this.clientSideRowModel.onRowHeightChanged()},t.prototype.getValue=function(t,e){var o=this.columnController.getPrimaryColumn(t);return R._.missing(o)&&(o=this.columnController.getGridColumn(t)),R._.missing(o)?null:this.valueService.getValue(o,e)},t.prototype.addEventListener=function(t,e){var o=this.gridOptionsWrapper.useAsyncEvents();this.eventService.addEventListener(t,e,o)},t.prototype.addGlobalListener=function(t){var e=this.gridOptionsWrapper.useAsyncEvents();this.eventService.addGlobalListener(t,e)},t.prototype.removeEventListener=function(t,e){var o=this.gridOptionsWrapper.useAsyncEvents();this.eventService.removeEventListener(t,e,o)},t.prototype.removeGlobalListener=function(t){var e=this.gridOptionsWrapper.useAsyncEvents();this.eventService.removeGlobalListener(t,e)},t.prototype.dispatchEvent=function(t){this.eventService.dispatchEvent(t)},t.prototype.destroy=function(){this.gridCore.destroy(),this.context.destroy()},t.prototype.resetQuickFilter=function(){this.rowModel.forEachNode((function(t){return t.quickFilterAggregateText=null}))},t.prototype.getRangeSelections=function(){return this.rangeController?this.rangeController.getCellRanges():(console.warn("ag-Grid: cell range selection is only available in ag-Grid Enterprise"),null)},t.prototype.camelCaseToHumanReadable=function(t){return R._.camelCaseToHumanText(t)},t.prototype.addRangeSelection=function(t){this.rangeController||console.warn("ag-Grid: cell range selection is only available in ag-Grid Enterprise"),this.rangeController.addRange(t)},t.prototype.clearRangeSelection=function(){this.rangeController||console.warn("ag-Grid: cell range selection is only available in ag-Grid Enterprise"),this.rangeController.clearSelection()},t.prototype.copySelectedRowsToClipboard=function(t,e){this.clipboardService||console.warn("ag-Grid: clipboard is only available in ag-Grid Enterprise"),this.clipboardService.copySelectedRowsToClipboard(t,e)},t.prototype.copySelectedRangeToClipboard=function(t){this.clipboardService||console.warn("ag-Grid: clipboard is only available in ag-Grid Enterprise"),this.clipboardService.copySelectedRangeToClipboard(t)},t.prototype.copySelectedRangeDown=function(){this.clipboardService||console.warn("ag-Grid: clipboard is only available in ag-Grid Enterprise"),this.clipboardService.copyRangeDown()},t.prototype.showColumnMenuAfterButtonClick=function(t,e){var o=this.columnController.getPrimaryColumn(t);this.menuFactory.showMenuAfterButtonClick(o,e)},t.prototype.showColumnMenuAfterMouseClick=function(t,e){var o=this.columnController.getPrimaryColumn(t);this.menuFactory.showMenuAfterMouseEvent(o,e)},t.prototype.hidePopupMenu=function(){this.contextMenuFactory&&this.contextMenuFactory.hideActiveMenu(),this.menuFactory.hideActiveMenu()},t.prototype.setPopupParent=function(t){this.gridOptionsWrapper.setProperty(u.GridOptionsWrapper.PROP_POPUP_PARENT,t)},t.prototype.tabToNextCell=function(){return this.rowRenderer.tabToNextCell(!1)},t.prototype.tabToPreviousCell=function(){return this.rowRenderer.tabToNextCell(!0)},t.prototype.getCellRendererInstances=function(t){return void 0===t&&(t={}),this.rowRenderer.getCellRendererInstances(t)},t.prototype.getCellEditorInstances=function(t){return void 0===t&&(t={}),this.rowRenderer.getCellEditorInstances(t)},t.prototype.getEditingCells=function(){return this.rowRenderer.getEditingCells()},t.prototype.stopEditing=function(t){void 0===t&&(t=!1),this.rowRenderer.stopEditing(t)},t.prototype.startEditingCell=function(t){var e=this.columnController.getGridColumn(t.colKey);if(e){var o={rowIndex:t.rowIndex,floating:t.rowPinned,column:e},i=new m.GridCell(o);R._.missing(t.rowPinned)&&this.gridPanel.ensureIndexVisible(t.rowIndex),this.rowRenderer.startEditingCell(i,t.keyPress,t.charPress)}else console.warn("ag-Grid: no column found for "+t.colKey)},t.prototype.addAggFunc=function(t,e){this.aggFuncService&&this.aggFuncService.addAggFunc(t,e)},t.prototype.addAggFuncs=function(t){this.aggFuncService&&this.aggFuncService.addAggFuncs(t)},t.prototype.clearAggFuncs=function(){this.aggFuncService&&this.aggFuncService.clear()},t.prototype.updateRowData=function(t){var e=null;return this.clientSideRowModel?e=this.clientSideRowModel.updateRowData(t):this.infinitePageRowModel?this.infinitePageRowModel.updateRowData(t):console.error("ag-Grid: updateRowData() only works with ClientSideRowModel and InfiniteRowModel."),this.rowRenderer.refreshFullWidthRows(),this.gridOptionsWrapper.isSuppressChangeDetection()||this.rowRenderer.refreshCells(),e},t.prototype.batchUpdateRowData=function(t,e){this.clientSideRowModel?this.clientSideRowModel.batchUpdateRowData(t,e):console.error("ag-Grid: api.batchUpdateRowData() only works with ClientSideRowModel.")},t.prototype.insertItemsAtIndex=function(t,e,o){void 0===o&&(o=!1),console.warn("ag-Grid: insertItemsAtIndex() is deprecated, use updateRowData(transaction) instead."),this.updateRowData({add:e,addIndex:t,update:null,remove:null})},t.prototype.removeItems=function(t,e){void 0===e&&(e=!1),console.warn("ag-Grid: removeItems() is deprecated, use updateRowData(transaction) instead.");var o=t.map((function(t){return t.data}));this.updateRowData({add:null,addIndex:null,update:null,remove:o})},t.prototype.addItems=function(t,e){void 0===e&&(e=!1),console.warn("ag-Grid: addItems() is deprecated, use updateRowData(transaction) instead."),this.updateRowData({add:t,addIndex:null,update:null,remove:null})},t.prototype.refreshVirtualPageCache=function(){console.warn("ag-Grid: refreshVirtualPageCache() is now called refreshInfiniteCache(), please call refreshInfiniteCache() instead"),this.refreshInfiniteCache()},t.prototype.refreshInfinitePageCache=function(){console.warn("ag-Grid: refreshInfinitePageCache() is now called refreshInfiniteCache(), please call refreshInfiniteCache() instead"),this.refreshInfiniteCache()},t.prototype.refreshInfiniteCache=function(){this.infinitePageRowModel?this.infinitePageRowModel.refreshCache():console.warn("ag-Grid: api.refreshInfiniteCache is only available when rowModelType='infinite'.")},t.prototype.purgeVirtualPageCache=function(){console.warn("ag-Grid: purgeVirtualPageCache() is now called purgeInfiniteCache(), please call purgeInfiniteCache() instead"),this.purgeInfinitePageCache()},t.prototype.purgeInfinitePageCache=function(){console.warn("ag-Grid: purgeInfinitePageCache() is now called purgeInfiniteCache(), please call purgeInfiniteCache() instead"),this.purgeInfiniteCache()},t.prototype.purgeInfiniteCache=function(){this.infinitePageRowModel?this.infinitePageRowModel.purgeCache():console.warn("ag-Grid: api.purgeInfiniteCache is only available when rowModelType='infinite'.")},t.prototype.purgeEnterpriseCache=function(t){console.warn("ag-grid: since version 18.x, api.purgeEnterpriseCache() should be replaced with api.purgeServerSideCache()"),this.purgeServerSideCache(t)},t.prototype.purgeServerSideCache=function(t){this.serverSideRowModel?this.serverSideRowModel.purgeCache(t):console.warn("ag-Grid: api.purgeServerSideCache is only available when rowModelType='enterprise'.")},t.prototype.getVirtualRowCount=function(){return console.warn("ag-Grid: getVirtualRowCount() is now called getInfiniteRowCount(), please call getInfiniteRowCount() instead"),this.getInfiniteRowCount()},t.prototype.getInfiniteRowCount=function(){if(this.infinitePageRowModel)return this.infinitePageRowModel.getVirtualRowCount();console.warn("ag-Grid: api.getVirtualRowCount is only available when rowModelType='virtual'.")},t.prototype.isMaxRowFound=function(){if(this.infinitePageRowModel)return this.infinitePageRowModel.isMaxRowFound();console.warn("ag-Grid: api.isMaxRowFound is only available when rowModelType='virtual'.")},t.prototype.setVirtualRowCount=function(t,e){console.warn("ag-Grid: setVirtualRowCount() is now called setInfiniteRowCount(), please call setInfiniteRowCount() instead"),this.setInfiniteRowCount(t,e)},t.prototype.setInfiniteRowCount=function(t,e){this.infinitePageRowModel?this.infinitePageRowModel.setVirtualRowCount(t,e):console.warn("ag-Grid: api.setVirtualRowCount is only available when rowModelType='virtual'.")},t.prototype.getVirtualPageState=function(){return console.warn("ag-Grid: getVirtualPageState() is now called getCacheBlockState(), please call getCacheBlockState() instead"),this.getCacheBlockState()},t.prototype.getInfinitePageState=function(){return console.warn("ag-Grid: getInfinitePageState() is now called getCacheBlockState(), please call getCacheBlockState() instead"),this.getCacheBlockState()},t.prototype.getCacheBlockState=function(){return this.infinitePageRowModel?this.infinitePageRowModel.getBlockState():this.serverSideRowModel?this.serverSideRowModel.getBlockState():void console.warn("ag-Grid: api.getCacheBlockState() is only available when rowModelType='infinite' or rowModelType='serverSide'.")},t.prototype.checkGridSize=function(){this.gridPanel.setHeaderAndFloatingHeights()},t.prototype.getFirstRenderedRow=function(){return console.warn("in ag-Grid v12, getFirstRenderedRow() was renamed to getFirstDisplayedRow()"),this.getFirstDisplayedRow()},t.prototype.getFirstDisplayedRow=function(){return this.rowRenderer.getFirstVirtualRenderedRow()},t.prototype.getLastRenderedRow=function(){return console.warn("in ag-Grid v12, getLastRenderedRow() was renamed to getLastDisplayedRow()"),this.getLastDisplayedRow()},t.prototype.getLastDisplayedRow=function(){return this.rowRenderer.getLastVirtualRenderedRow()},t.prototype.getDisplayedRowAtIndex=function(t){return this.rowModel.getRow(t)},t.prototype.getDisplayedRowCount=function(){return this.rowModel.getRowCount()},t.prototype.paginationIsLastPageFound=function(){return this.paginationProxy.isLastPageFound()},t.prototype.paginationGetPageSize=function(){return this.paginationProxy.getPageSize()},t.prototype.paginationSetPageSize=function(t){this.gridOptionsWrapper.setProperty("paginationPageSize",t)},t.prototype.paginationGetCurrentPage=function(){return this.paginationProxy.getCurrentPage()},t.prototype.paginationGetTotalPages=function(){return this.paginationProxy.getTotalPages()},t.prototype.paginationGetRowCount=function(){return this.paginationProxy.getTotalRowCount()},t.prototype.paginationGoToNextPage=function(){this.paginationProxy.goToNextPage()},t.prototype.paginationGoToPreviousPage=function(){this.paginationProxy.goToPreviousPage()},t.prototype.paginationGoToFirstPage=function(){this.paginationProxy.goToFirstPage()},t.prototype.paginationGoToLastPage=function(){this.paginationProxy.goToLastPage()},t.prototype.paginationGoToPage=function(t){this.paginationProxy.goToPage(t)},i([f.Autowired("immutableService"),n("design:type",E.ImmutableService)],t.prototype,"immutableService",void 0),i([f.Autowired("csvCreator"),n("design:type",r.CsvCreator)],t.prototype,"csvCreator",void 0),i([f.Optional("excelCreator"),n("design:type",Object)],t.prototype,"excelCreator",void 0),i([f.Autowired("rowRenderer"),n("design:type",s.RowRenderer)],t.prototype,"rowRenderer",void 0),i([f.Autowired("filterManager"),n("design:type",a.FilterManager)],t.prototype,"filterManager",void 0),i([f.Autowired("columnController"),n("design:type",l.ColumnController)],t.prototype,"columnController",void 0),i([f.Autowired("selectionController"),n("design:type",p.SelectionController)],t.prototype,"selectionController",void 0),i([f.Autowired("gridOptionsWrapper"),n("design:type",u.GridOptionsWrapper)],t.prototype,"gridOptionsWrapper",void 0),i([f.Autowired("valueService"),n("design:type",c.ValueService)],t.prototype,"valueService",void 0),i([f.Autowired("alignedGridsService"),n("design:type",_.AlignedGridsService)],t.prototype,"alignedGridsService",void 0),i([f.Autowired("eventService"),n("design:type",d.EventService)],t.prototype,"eventService",void 0),i([f.Autowired("pinnedRowModel"),n("design:type",S.PinnedRowModel)],t.prototype,"pinnedRowModel",void 0),i([f.Autowired("context"),n("design:type",f.Context)],t.prototype,"context",void 0),i([f.Autowired("rowModel"),n("design:type",Object)],t.prototype,"rowModel",void 0),i([f.Autowired("sortController"),n("design:type",g.SortController)],t.prototype,"sortController",void 0),i([f.Autowired("paginationProxy"),n("design:type",C.PaginationProxy)],t.prototype,"paginationProxy",void 0),i([f.Autowired("focusedCellController"),n("design:type",y.FocusedCellController)],t.prototype,"focusedCellController",void 0),i([f.Optional("rangeController"),n("design:type",Object)],t.prototype,"rangeController",void 0),i([f.Optional("clipboardService"),n("design:type",Object)],t.prototype,"clipboardService",void 0),i([f.Optional("aggFuncService"),n("design:type",Object)],t.prototype,"aggFuncService",void 0),i([f.Autowired("menuFactory"),n("design:type",Object)],t.prototype,"menuFactory",void 0),i([f.Optional("contextMenuFactory"),n("design:type",Object)],t.prototype,"contextMenuFactory",void 0),i([f.Autowired("cellRendererFactory"),n("design:type",v.CellRendererFactory)],t.prototype,"cellRendererFactory",void 0),i([f.Autowired("valueCache"),n("design:type",w.ValueCache)],t.prototype,"valueCache",void 0),i([f.Optional("sideBarComp"),n("design:type",Object)],t.prototype,"sideBarComp",void 0),i([f.Autowired("animationFrameService"),n("design:type",b.AnimationFrameService)],t.prototype,"animationFrameService",void 0),i([f.Optional("statusBarService"),n("design:type",Object)],t.prototype,"statusBarService",void 0),i([f.PostConstruct,n("design:type",Function),n("design:paramtypes",[]),n("design:returntype",void 0)],t.prototype,"init",null),i([f.Bean("gridApi")],t)}();e.GridApi=O},40846:(t,e,o)=>{var i=o(48898).RuleNode,n=o(48898).INVALID_INTERVAL,r=o(51028).INVALID_ALT_NUMBER;function s(t,e){return i.call(this),this.parentCtx=t||null,this.invokingState=e||-1,this}s.prototype=Object.create(i.prototype),s.prototype.constructor=s,s.prototype.depth=function(){for(var t=0,e=this;null!==e;)e=e.parentCtx,t+=1;return t},s.prototype.isEmpty=function(){return-1===this.invokingState},s.prototype.getSourceInterval=function(){return n},s.prototype.getRuleContext=function(){return this},s.prototype.getPayload=function(){return this},s.prototype.getText=function(){return 0===this.getChildCount()?"":this.children.map((function(t){return t.getText()})).join("")},s.prototype.getAltNumber=function(){return r},s.prototype.setAltNumber=function(t){},s.prototype.getChild=function(t){return null},s.prototype.getChildCount=function(){return 0},s.prototype.accept=function(t){return t.visitChildren(this)},e.m=s;var a=o(23438).Trees;s.prototype.toStringTree=function(t,e){return a.toStringTree(this,t,e)},s.prototype.toString=function(t,e){t=t||null,e=e||null;for(var o=this,i="[";null!==o&&o!==e;){if(null===t)o.isEmpty()||(i+=o.invokingState);else{var n=o.ruleIndex;i+=n>=0&&n<t.length?t[n]:""+n}null===o.parentCtx||null===t&&o.parentCtx.isEmpty()||(i+=" "),o=o.parentCtx}return i+"]"}},41207:(t,e,o)=>{var i=o(87264).Q,n=o(66346),r=n.Hash,s=n.Set;function a(t,e){return this.alt=e,this.pred=t,this}function l(t,e){return null===t&&(t=-1),null===e&&(e=new i),this.stateNumber=t,this.configs=e,this.edges=null,this.isAcceptState=!1,this.prediction=0,this.lexerActionExecutor=null,this.requiresFullContext=!1,this.predicates=null,this}a.prototype.toString=function(){return"("+this.pred+", "+this.alt+")"},l.prototype.getAltSet=function(){var t=new s;if(null!==this.configs)for(var e=0;e<this.configs.length;e++){var o=this.configs[e];t.add(o.alt)}return 0===t.length?null:t},l.prototype.equals=function(t){return this===t||t instanceof l&&this.configs.equals(t.configs)},l.prototype.toString=function(){var t=this.stateNumber+":"+this.configs;return this.isAcceptState&&(t+="=>",null!==this.predicates?t+=this.predicates:t+=this.prediction),t},l.prototype.hashCode=function(){var t=new r;return t.update(this.configs),this.isAcceptState&&(null!==this.predicates?t.update(this.predicates):t.update(this.prediction)),t.finish()},e.X=l,e.PredPrediction=a},41451:function(t,e,o){var i,n=this&&this.__extends||(i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},i(t,e)},function(t,e){function o(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),r=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},s=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var a=o(8534),l=o(60843),p=o(63405),u=o(72493),c=o(44081),d=o(13887),h=o(54828),f=o(44871),g=o(40797),y=o(83423),m=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.registerGridComp=function(t){this.gridPanel=t,this.addDestroyableEventListener(this.eventService,p.Events.EVENT_BODY_HEIGHT_CHANGED,this.onBodyHeightChanged.bind(this)),this.addDestroyableEventListener(this.eventService,p.Events.EVENT_SCROLL_VISIBILITY_CHANGED,this.onScrollVisibilityChanged.bind(this)),this.checkPageSize()},e.prototype.notActive=function(){return!this.gridOptionsWrapper.isPaginationAutoPageSize()},e.prototype.onScrollVisibilityChanged=function(){this.checkPageSize()},e.prototype.onBodyHeightChanged=function(){this.checkPageSize()},e.prototype.checkPageSize=function(){if(!this.notActive()){var t=this.gridOptionsWrapper.getRowHeightAsNumber(),e=this.gridPanel.getBodyHeight();if(e>0){var o=Math.floor(e/t);this.gridOptionsWrapper.setProperty("paginationPageSize",o)}}},r([u.Autowired("eventService"),s("design:type",l.EventService)],e.prototype,"eventService",void 0),r([u.Autowired("gridOptionsWrapper"),s("design:type",c.GridOptionsWrapper)],e.prototype,"gridOptionsWrapper",void 0),r([u.Autowired("scrollVisibleService"),s("design:type",d.ScrollVisibleService)],e.prototype,"scrollVisibleService",void 0),r([u.Bean("paginationAutoPageSizeService")],e)}(a.BeanStub);e.PaginationAutoPageSizeService=m;var v=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.currentPage=0,e.topRowIndex=0,e.bottomRowIndex=0,e.pixelOffset=0,e}return n(e,t),e.prototype.postConstruct=function(){this.active=this.gridOptionsWrapper.isPagination(),this.addDestroyableEventListener(this.eventService,p.Events.EVENT_MODEL_UPDATED,this.onModelUpdated.bind(this)),this.addDestroyableEventListener(this.gridOptionsWrapper,"paginationPageSize",this.onModelUpdated.bind(this)),this.onModelUpdated()},e.prototype.ensureRowHeightsValid=function(t,e,o,i){var n=this.rowModel.ensureRowHeightsValid(t,e,this.getPageFirstRow(),this.getPageLastRow());return n&&this.setIndexesAndBounds(),n},e.prototype.isLastRowFound=function(){return this.rowModel.isLastRowFound()},e.prototype.onModelUpdated=function(t){this.setIndexesAndBounds();var e={type:p.Events.EVENT_PAGINATION_CHANGED,animate:!!t&&t.animate,newData:!!t&&t.newData,newPage:!!t&&t.newPage,keepRenderedRows:!!t&&t.keepRenderedRows,api:this.gridApi,columnApi:this.columnApi};this.eventService.dispatchEvent(e)},e.prototype.goToPage=function(t){if(this.active&&this.currentPage!==t){this.currentPage=t;var e={type:p.Events.EVENT_MODEL_UPDATED,animate:!1,keepRenderedRows:!1,newData:!1,newPage:!0,api:this.gridApi,columnApi:this.columnApi};this.onModelUpdated(e)}},e.prototype.getPixelOffset=function(){return this.pixelOffset},e.prototype.getRow=function(t){return this.rowModel.getRow(t)},e.prototype.getRowNode=function(t){return this.rowModel.getRowNode(t)},e.prototype.getRowIndexAtPixel=function(t){return this.rowModel.getRowIndexAtPixel(t)},e.prototype.getCurrentPageHeight=function(){return y._.missing(this.topRowBounds)||y._.missing(this.bottomRowBounds)?0:this.bottomRowBounds.rowTop+this.bottomRowBounds.rowHeight-this.topRowBounds.rowTop},e.prototype.isRowPresent=function(t){return!!this.rowModel.isRowPresent(t)&&t.rowIndex>=this.topRowIndex&&t.rowIndex<=this.bottomRowIndex},e.prototype.isEmpty=function(){return this.rowModel.isEmpty()},e.prototype.isRowsToRender=function(){return this.rowModel.isRowsToRender()},e.prototype.getNodesInRangeForSelection=function(t,e){return this.rowModel.getNodesInRangeForSelection(t,e)},e.prototype.forEachNode=function(t){return this.rowModel.forEachNode(t)},e.prototype.getType=function(){return this.rowModel.getType()},e.prototype.getRowBounds=function(t){return this.rowModel.getRowBounds(t)},e.prototype.getPageFirstRow=function(){return this.pageSize*this.currentPage},e.prototype.getPageLastRow=function(){var t=this.pageSize*(this.currentPage+1)-1,e=this.rowModel.getPageLastRow();return e>t?t:e},e.prototype.getRowCount=function(){return this.rowModel.getRowCount()},e.prototype.goToPageWithIndex=function(t){if(this.active){var e=Math.floor(t/this.pageSize);this.goToPage(e)}},e.prototype.getTotalRowCount=function(){return this.rowModel.getPageLastRow()+1},e.prototype.isLastPageFound=function(){return this.rowModel.isLastRowFound()},e.prototype.getCurrentPage=function(){return this.currentPage},e.prototype.goToNextPage=function(){this.goToPage(this.currentPage+1)},e.prototype.goToPreviousPage=function(){this.goToPage(this.currentPage-1)},e.prototype.goToFirstPage=function(){this.goToPage(0)},e.prototype.goToLastPage=function(){var t=this.rowModel.getPageLastRow()+1,e=Math.floor(t/this.pageSize);this.goToPage(e)},e.prototype.getPageSize=function(){return this.pageSize},e.prototype.getTotalPages=function(){return this.totalPages},e.prototype.setPageSize=function(){this.pageSize=this.gridOptionsWrapper.getPaginationPageSize(),this.pageSize>=1||(this.pageSize=100)},e.prototype.setIndexesAndBounds=function(){if(this.active){this.setPageSize();var t=this.getTotalRowCount();this.totalPages=Math.floor((t-1)/this.pageSize)+1,this.currentPage>=this.totalPages&&(this.currentPage=this.totalPages-1),(!y._.isNumeric(this.currentPage)||this.currentPage<0)&&(this.currentPage=0),this.topRowIndex=this.pageSize*this.currentPage,this.bottomRowIndex=this.pageSize*(this.currentPage+1)-1;var e=this.rowModel.getPageLastRow();this.bottomRowIndex>e&&(this.bottomRowIndex=e)}else this.pageSize=this.rowModel.getPageLastRow()+1,this.totalPages=1,this.currentPage=0,this.topRowIndex=0,this.bottomRowIndex=this.rowModel.getPageLastRow();this.topRowBounds=this.rowModel.getRowBounds(this.topRowIndex),this.bottomRowBounds=this.rowModel.getRowBounds(this.bottomRowIndex),this.pixelOffset=y._.exists(this.topRowBounds)?this.topRowBounds.rowTop:0},r([u.Autowired("rowModel"),s("design:type",Object)],e.prototype,"rowModel",void 0),r([u.Autowired("eventService"),s("design:type",l.EventService)],e.prototype,"eventService",void 0),r([u.Autowired("gridOptionsWrapper"),s("design:type",c.GridOptionsWrapper)],e.prototype,"gridOptionsWrapper",void 0),r([u.Autowired("selectionController"),s("design:type",h.SelectionController)],e.prototype,"selectionController",void 0),r([u.Autowired("columnApi"),s("design:type",f.ColumnApi)],e.prototype,"columnApi",void 0),r([u.Autowired("gridApi"),s("design:type",g.GridApi)],e.prototype,"gridApi",void 0),r([u.PostConstruct,s("design:type",Function),s("design:paramtypes",[]),s("design:returntype",void 0)],e.prototype,"postConstruct",null),r([u.Bean("paginationProxy")],e)}(a.BeanStub);e.PaginationProxy=v},41832:function(t,e,o){var i=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},n=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r=o(10042),s=o(72493),a=o(44081),l=o(78481),p=function(){function t(){}return t.prototype.registerGridComp=function(t){this.gridPanel=t},t.prototype.registerHeaderRootComp=function(t){this.headerRootComp=t},t.prototype.getPreferredWidthForColumn=function(t){var e=this.getHeaderCellForColumn(t);if(!e)return-1;var o=document.createElement("span");o.style.position="fixed";var i=this.gridPanel.getCenterContainer();i.appendChild(o),this.putRowCellsIntoDummyContainer(t,o),this.cloneItemIntoDummy(e,o);var n=o.offsetWidth;return i.removeChild(o),n+this.gridOptionsWrapper.getAutoSizePadding()},t.prototype.getHeaderCellForColumn=function(t){var e=null;return this.headerRootComp.forEachHeaderElement((function(o){if(o instanceof l.HeaderWrapperComp){var i=o;i.getColumn()===t&&(e=i)}})),e?e.getGui():null},t.prototype.putRowCellsIntoDummyContainer=function(t,e){var o=this;this.rowRenderer.getAllCellsForColumn(t).forEach((function(t){return o.cloneItemIntoDummy(t,e)}))},t.prototype.cloneItemIntoDummy=function(t,e){var o=t.cloneNode(!0);o.style.width="",o.style.position="static",o.style.left="";var i=document.createElement("div");i.style.display="table-row",i.appendChild(o),e.appendChild(i)},i([s.Autowired("rowRenderer"),n("design:type",r.RowRenderer)],t.prototype,"rowRenderer",void 0),i([s.Autowired("gridOptionsWrapper"),n("design:type",a.GridOptionsWrapper)],t.prototype,"gridOptionsWrapper",void 0),i([s.Bean("autoWidthCalculator")],t)}();e.AutoWidthCalculator=p},42195:function(t,e,o){var i=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},n=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r=o(72493),s=o(60843),a=o(63405),l=o(44081),p=o(44871),u=o(98239),c=o(34782),d=o(40797),h=o(23054),f=o(83423),g=function(){function t(){}return t.prototype.init=function(){this.eventService.addEventListener(a.Events.EVENT_COLUMN_PIVOT_MODE_CHANGED,this.clearFocusedCell.bind(this)),this.eventService.addEventListener(a.Events.EVENT_COLUMN_EVERYTHING_CHANGED,this.clearFocusedCell.bind(this)),this.eventService.addEventListener(a.Events.EVENT_COLUMN_GROUP_OPENED,this.clearFocusedCell.bind(this)),this.eventService.addEventListener(a.Events.EVENT_COLUMN_MOVED,this.clearFocusedCell.bind(this)),this.eventService.addEventListener(a.Events.EVENT_COLUMN_PINNED,this.clearFocusedCell.bind(this)),this.eventService.addEventListener(a.Events.EVENT_COLUMN_ROW_GROUP_CHANGED,this.clearFocusedCell.bind(this)),this.eventService.addEventListener(a.Events.EVENT_COLUMN_VISIBLE,this.clearFocusedCell.bind(this))},t.prototype.clearFocusedCell=function(){this.focusedCell=null,this.onCellFocused(!1)},t.prototype.getFocusedCell=function(){return this.focusedCell},t.prototype.getFocusCellToUseAfterRefresh=function(){return this.gridOptionsWrapper.isSuppressFocusAfterRefresh()?null:this.focusedCell&&this.getGridCellForDomElement(document.activeElement)?this.focusedCell:null},t.prototype.getGridCellForDomElement=function(t){for(var e=t;e;){var o=this.gridOptionsWrapper.getDomData(e,h.CellComp.DOM_DATA_KEY_CELL_COMP);if(o)return o.getGridCell();e=e.parentNode}return null},t.prototype.setFocusedCell=function(t,e,o,i){void 0===i&&(i=!1);var n=f._.makeNull(this.columnController.getGridColumn(e));this.focusedCell=new c.GridCell({rowIndex:t,floating:f._.makeNull(o),column:n}),this.onCellFocused(i)},t.prototype.isCellFocused=function(t){return!f._.missing(this.focusedCell)&&this.focusedCell.column===t.column&&this.isRowFocused(t.rowIndex,t.floating)},t.prototype.isRowNodeFocused=function(t){return this.isRowFocused(t.rowIndex,t.rowPinned)},t.prototype.isAnyCellFocused=function(){return!!this.focusedCell},t.prototype.isRowFocused=function(t,e){if(f._.missing(this.focusedCell))return!1;var o=f._.makeNull(e);return this.focusedCell.rowIndex===t&&this.focusedCell.floating===o},t.prototype.onCellFocused=function(t){var e={type:a.Events.EVENT_CELL_FOCUSED,forceBrowserFocus:t,rowIndex:null,column:null,floating:null,api:this.gridApi,columnApi:this.columnApi,rowPinned:null};this.focusedCell&&(e.rowIndex=this.focusedCell.rowIndex,e.column=this.focusedCell.column,e.rowPinned=this.focusedCell.floating),this.eventService.dispatchEvent(e)},i([r.Autowired("eventService"),n("design:type",s.EventService)],t.prototype,"eventService",void 0),i([r.Autowired("gridOptionsWrapper"),n("design:type",l.GridOptionsWrapper)],t.prototype,"gridOptionsWrapper",void 0),i([r.Autowired("columnController"),n("design:type",u.ColumnController)],t.prototype,"columnController",void 0),i([r.Autowired("columnApi"),n("design:type",p.ColumnApi)],t.prototype,"columnApi",void 0),i([r.Autowired("gridApi"),n("design:type",d.GridApi)],t.prototype,"gridApi",void 0),i([r.PostConstruct,n("design:type",Function),n("design:paramtypes",[]),n("design:returntype",void 0)],t.prototype,"init",null),i([r.Bean("focusedCellController")],t)}();e.FocusedCellController=g},42664:function(t,e,o){var i=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},n=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r=o(72493),s=o(98239),a=o(45727),l=o(54828),p=o(44081),u=o(31887),c=o(7897),d=o(12598),h=o(74517),f=o(50580),g=o(83423),y=function(){function t(t){var e=t.columnController,o=t.valueService,i=t.gridOptionsWrapper,n=t.processCellCallback,r=t.processHeaderCallback,s=t.cellAndHeaderEscaper;this.columnController=e,this.valueService=o,this.gridOptionsWrapper=i,this.processCellCallback=n,this.processHeaderCallback=r,this.cellAndHeaderEscaper=s}return t.prototype.extractHeaderValue=function(t){var e=this.getHeaderName(this.processHeaderCallback,t);return null==e&&(e=""),this.cellAndHeaderEscaper?this.cellAndHeaderEscaper(e):e},t.prototype.extractRowCellValue=function(t,e,o,i){var n,r=this.columnController.getRowGroupColumns().length>0;return n=i&&i.group&&r&&0===e?this.createValueForGroupNode(i):this.valueService.getValue(t,i),null==(n=this.processCell(i,t,n,this.processCellCallback,o))&&(n=""),this.cellAndHeaderEscaper?this.cellAndHeaderEscaper(n):n},t.prototype.getHeaderName=function(t,e){return t?t({column:e,api:this.gridOptionsWrapper.getApi(),columnApi:this.gridOptionsWrapper.getColumnApi(),context:this.gridOptionsWrapper.getContext()}):this.columnController.getDisplayNameForColumn(e,"csv",!0)},t.prototype.createValueForGroupNode=function(t){for(var e=[t.key];t.parent;)t=t.parent,e.push(t.key);return e.reverse().join(" -> ")},t.prototype.processCell=function(t,e,o,i,n){return i?i({column:e,node:t,value:o,api:this.gridOptionsWrapper.getApi(),columnApi:this.gridOptionsWrapper.getColumnApi(),context:this.gridOptionsWrapper.getContext(),type:n}):o},t}();e.BaseGridSerializingSession=y;var m,v=function(){function t(){}return t.prototype.serialize=function(t,e){var o=e&&e.skipGroups,i=e&&e.skipHeader,n=e&&e.columnGroups,r=e&&e.skipFooters,s=e&&e.skipPinnedTop,l=e&&e.skipPinnedBottom,p=e&&e.customHeader,u=e&&e.customFooter,c=e&&e.allColumns,h=e&&e.onlySelected,f=e&&e.columnKeys,y=e&&e.onlySelectedAllPages,m=e&&e.shouldRowBeSkipped||function(){return!1},v=this.gridOptionsWrapper.getApi(),C=this.gridOptionsWrapper.isGroupRemoveSingleChildren(),E=this.gridOptionsWrapper.isGroupRemoveLowestSingleChildren(),w=this.gridOptionsWrapper.getContext(),_=this.columnController.isPivotMode(),S=this.rowModel.getType()===a.Constants.ROW_MODEL_TYPE_CLIENT_SIDE,b=!S&&h,R=[];if(R=g._.existsAndNotEmpty(f)?this.columnController.getGridColumns(f):c&&!_?(R=this.gridOptionsWrapper.isTreeData()?this.columnController.getGridColumns([a.Constants.GROUP_AUTO_COLUMN_ID]):[]).concat(this.columnController.getAllPrimaryColumns()||[]):this.columnController.getAllDisplayedColumns(),p&&t.addCustomHeader(p),t.prepare(R),n){var O=new d.GroupInstanceIdCreator,T=this.displayedGroupCreator.createDisplayedGroups(R,this.columnController.getGridBalancedTree(),O,null);this.recursivelyAddHeaderGroups(T,t)}if(!i){var A=t.onNewHeaderRow();R.forEach((function(t,e){A.onColumn(t,e,void 0)}))}function P(e){var i=E&&e.leafGroup,n=1===e.allChildrenCount&&(C||i);if((!e.group||!o&&!n)&&(!r||!e.footer)&&(!h||e.isSelected())&&(!s||"top"!==e.rowPinned)&&(!l||"bottom"!==e.rowPinned)&&(-1!==e.level||e.leafGroup)&&!m({node:e,api:v,context:w})){var a=t.onNewBodyRow();R.forEach((function(t,o){a.onColumn(t,o,e)}))}}return this.pinnedRowModel.forEachPinnedTopRow(P),_?this.rowModel.forEachPivotNode?this.rowModel.forEachPivotNode(P):this.rowModel.forEachNode(P):y||b?this.selectionController.getSelectedNodes().forEach((function(t){P(t)})):S?this.rowModel.forEachNodeAfterFilterAndSort(P):this.rowModel.forEachNode(P),this.pinnedRowModel.forEachPinnedBottomRow(P),u&&t.addCustomFooter(u),t.parse()},t.prototype.recursivelyAddHeaderGroups=function(t,e){var o=[];t.forEach((function(t){var e=t;e.getChildren&&e.getChildren().forEach((function(t){return o.push(t)}))})),t.length>0&&t[0]instanceof h.ColumnGroup&&this.doAddHeaderHeader(e,t),o&&o.length>0&&this.recursivelyAddHeaderGroups(o,e)},t.prototype.doAddHeaderHeader=function(t,e){var o=this,i=t.onNewHeaderGroupingRow(),n=0;e.forEach((function(t){var e=t,r=o.columnController.getDisplayNameForColumnGroup(e,"header");i.onColumn(r||"",n++,e.getLeafColumns().length-1)}))},i([r.Autowired("displayedGroupCreator"),n("design:type",u.DisplayedGroupCreator)],t.prototype,"displayedGroupCreator",void 0),i([r.Autowired("columnController"),n("design:type",s.ColumnController)],t.prototype,"columnController",void 0),i([r.Autowired("rowModel"),n("design:type",Object)],t.prototype,"rowModel",void 0),i([r.Autowired("pinnedRowModel"),n("design:type",f.PinnedRowModel)],t.prototype,"pinnedRowModel",void 0),i([r.Autowired("selectionController"),n("design:type",l.SelectionController)],t.prototype,"selectionController",void 0),i([r.Autowired("columnFactory"),n("design:type",c.ColumnFactory)],t.prototype,"columnFactory",void 0),i([r.Autowired("gridOptionsWrapper"),n("design:type",p.GridOptionsWrapper)],t.prototype,"gridOptionsWrapper",void 0),i([r.Bean("gridSerializer")],t)}();e.GridSerializer=v,(m=e.RowType||(e.RowType={}))[m.HEADER_GROUPING=0]="HEADER_GROUPING",m[m.HEADER=1]="HEADER",m[m.BODY=2]="BODY"},42726:function(t,e,o){var i=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},n=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r=o(72493),s=o(55e3),a=o(73575),l=o(44081),p=o(60843),u=o(83423),c=function(){function t(){}return t.prototype.hideActiveMenu=function(){this.hidePopup&&this.hidePopup()},t.prototype.showMenuAfterMouseEvent=function(t,e){var o=this;this.showPopup(t,(function(i){o.popupService.positionPopupUnderMouseEvent({column:t,type:"columnMenu",mouseEvent:e,ePopup:i})}))},t.prototype.showMenuAfterButtonClick=function(t,e){var o=this;this.showPopup(t,(function(i){o.popupService.positionPopupUnderComponent({type:"columnMenu",eventSource:e,ePopup:i,keepWithinBounds:!0,column:t})}))},t.prototype.showPopup=function(t,e){var o,i=this,n=this.filterManager.getOrCreateFilterWrapper(t,"COLUMN_MENU"),r=document.createElement("div");u._.addCssClass(r,"ag-menu"),n.guiPromise.promise.then((function(t){r.appendChild(t)}));var s=function(t){"horizontal"===t.direction&&o()};this.eventService.addEventListener("bodyScroll",s),o=this.popupService.addAsModalPopup(r,!0,(function(){i.eventService.removeEventListener("bodyScroll",s),t.setMenuVisible(!1,"contextMenu")})),e(r),n.filterPromise.then((function(t){if(t.afterGuiAttached){var e={hidePopup:o};t.afterGuiAttached(e)}})),this.hidePopup=o,t.setMenuVisible(!0,"contextMenu")},t.prototype.isMenuEnabled=function(t){return t.isFilterAllowed()},i([r.Autowired("eventService"),n("design:type",p.EventService)],t.prototype,"eventService",void 0),i([r.Autowired("filterManager"),n("design:type",s.FilterManager)],t.prototype,"filterManager",void 0),i([r.Autowired("popupService"),n("design:type",a.PopupService)],t.prototype,"popupService",void 0),i([r.Autowired("gridOptionsWrapper"),n("design:type",l.GridOptionsWrapper)],t.prototype,"gridOptionsWrapper",void 0),i([r.Bean("menuFactory")],t)}();e.StandardMenuFactory=c},43389:(t,e)=>{var o;Object.defineProperty(e,"__esModule",{value:!0}),function(t){t.IdentityCheck="IdentityCheck",t.DeepValueCheck="DeepValueCheck",t.NoCheck="NoCheck"}(o=e.ChangeDetectionStrategyType||(e.ChangeDetectionStrategyType={}));var i=function(){function t(){var t;this.strategyMap=((t={})[o.DeepValueCheck]=new r,t[o.IdentityCheck]=new n((function(t,e){return t===e})),t[o.NoCheck]=new n((function(t,e){return!0})),t)}return t.prototype.getStrategy=function(t){return this.strategyMap[t]},t}();e.ChangeDetectionService=i;var n=function(){function t(t){this.strategy=t}return t.prototype.areEqual=function(t,e){return this.strategy(t,e)},t}(),r=function(){function t(){}return t.prototype.areEqual=function(e,o){return t.areEquivalent(t.copy(e),t.copy(o))},t.unwrapStringOrNumber=function(t){return t instanceof Number||t instanceof String?t.valueOf():t},t.copy=function(t){if(!t)return t;if(Array.isArray(t)){for(var e=[],o=0;o<t.length;o++)e.push(this.copy(t[o]));return e}return"object"!=typeof t?t:[{},t].reduce((function(t,e){return Object.keys(e).forEach((function(o){t[o]=e[o]})),t}),{})},t.areEquivalent=function(e,o){if(e=t.unwrapStringOrNumber(e),o=t.unwrapStringOrNumber(o),e===o)return!0;if(null===e||null===o||typeof e!=typeof o)return!1;if(e instanceof Date)return o instanceof Date&&e.valueOf()===o.valueOf();if("function"==typeof e)return e.toString()===o.toString();if("object"!=typeof e)return e==o;var i=void 0===e.areEquivPropertyTracking,n=void 0===o.areEquivPropertyTracking;try{var r=void 0;if(i)e.areEquivPropertyTracking=[];else if(e.areEquivPropertyTracking.some((function(t){return t===o})))return!0;if(n)o.areEquivPropertyTracking=[];else if(o.areEquivPropertyTracking.some((function(t){return t===e})))return!0;e.areEquivPropertyTracking.push(o),o.areEquivPropertyTracking.push(e);var s={};for(r in e)"areEquivPropertyTracking"!=r&&(s[r]=null);for(r in o)"areEquivPropertyTracking"!=r&&(s[r]=null);for(r in s)if(!this.areEquivalent(e[r],o[r]))return!1;return!0}finally{i&&delete e.areEquivPropertyTracking,n&&delete o.areEquivPropertyTracking}},t}()},43460:function(t,e,o){var i,n=this&&this.__extends||(i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},i(t,e)},function(t,e){function o(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),r=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},s=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var a=o(72493),l=o(42664),p=o(33467),u=o(98239),c=o(24463),d=o(44081),h=o(45727),f=o(83423),g="\r\n",y=function(t){function e(e){var o=t.call(this,{columnController:e.columnController,valueService:e.valueService,gridOptionsWrapper:e.gridOptionsWrapper,processCellCallback:e.processCellCallback,processHeaderCallback:e.processHeaderCallback})||this;o.result="",o.lineOpened=!1;var i=e.suppressQuotes,n=e.columnSeparator;return o.suppressQuotes=i,o.columnSeparator=n,o}return n(e,t),e.prototype.prepare=function(t){},e.prototype.addCustomHeader=function(t){t&&(this.result+=t+g)},e.prototype.addCustomFooter=function(t){t&&(this.result+=t+g)},e.prototype.onNewHeaderGroupingRow=function(){return this.lineOpened&&(this.result+=g),{onColumn:this.onNewHeaderGroupingRowColumn.bind(this)}},e.prototype.onNewHeaderGroupingRowColumn=function(t,e,o){0!=e&&(this.result+=this.columnSeparator),this.result+=this.putInQuotes(t,this.suppressQuotes);for(var i=1;i<=o;i++)this.result+=this.columnSeparator+this.putInQuotes("",this.suppressQuotes);this.lineOpened=!0},e.prototype.onNewHeaderRow=function(){return this.lineOpened&&(this.result+=g),{onColumn:this.onNewHeaderRowColumn.bind(this)}},e.prototype.onNewHeaderRowColumn=function(t,e,o){0!=e&&(this.result+=this.columnSeparator),this.result+=this.putInQuotes(this.extractHeaderValue(t),this.suppressQuotes),this.lineOpened=!0},e.prototype.onNewBodyRow=function(){return this.lineOpened&&(this.result+=g),{onColumn:this.onNewBodyRowColumn.bind(this)}},e.prototype.onNewBodyRowColumn=function(t,e,o){0!=e&&(this.result+=this.columnSeparator),this.result+=this.putInQuotes(this.extractRowCellValue(t,e,h.Constants.EXPORT_TYPE_CSV,o),this.suppressQuotes),this.lineOpened=!0},e.prototype.putInQuotes=function(t,e){return e?t:null==t?'""':("string"==typeof t?o=t:"function"==typeof t.toString?o=t.toString():(console.warn("unknown value type during csv conversion"),o=""),'"'+o.replace(/"/g,'""')+'"');var o},e.prototype.parse=function(){return this.result},e}(l.BaseGridSerializingSession);e.CsvSerializingSession=y;var m=function(){function t(){}return t.prototype.setBeans=function(t){this.beans=t},t.prototype.export=function(t){if(this.isExportSuppressed())return console.warn("ag-grid: Export cancelled. Export is not allowed as per your configuration."),"";var e=this.getMergedParamsAndData(t),o=e.mergedParams,i=e.data,n=o&&o.fileName&&0!==o.fileName.length?o.fileName:this.getDefaultFileName();return-1===n.indexOf(".")&&(n=n+"."+this.getDefaultFileExtension()),this.beans.downloader.download(n,this.packageFile(i)),i},t.prototype.getData=function(t){return this.getMergedParamsAndData(t).data},t.prototype.getMergedParamsAndData=function(t){var e=this.mergeDefaultParams(t);return{mergedParams:e,data:this.beans.gridSerializer.serialize(this.createSerializingSession(e),e)}},t.prototype.mergeDefaultParams=function(t){var e=this.beans.gridOptionsWrapper.getDefaultExportParams(),o={};return f._.assign(o,e),f._.assign(o,t),o},t.prototype.packageFile=function(t){return new Blob(["\ufeff",t],{type:window.navigator.msSaveOrOpenBlob?this.getMimeType():"octet/stream"})},t}();e.BaseCreator=m;var v=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.postConstruct=function(){this.setBeans({downloader:this.downloader,gridSerializer:this.gridSerializer,gridOptionsWrapper:this.gridOptionsWrapper})},e.prototype.exportDataAsCsv=function(t){return this.export(t)},e.prototype.getDataAsCsv=function(t){return this.getData(t)},e.prototype.getMimeType=function(){return"text/csv;charset=utf-8;"},e.prototype.getDefaultFileName=function(){return"export.csv"},e.prototype.getDefaultFileExtension=function(){return"csv"},e.prototype.createSerializingSession=function(t){var e=this,o=e.columnController,i=e.valueService,n=e.gridOptionsWrapper,r=t,s=r.processCellCallback,a=r.processHeaderCallback,l=r.suppressQuotes,p=r.columnSeparator;return new y({columnController:o,valueService:i,gridOptionsWrapper:n,processCellCallback:s||void 0,processHeaderCallback:a||void 0,suppressQuotes:l||!1,columnSeparator:p||","})},e.prototype.isExportSuppressed=function(){return this.gridOptionsWrapper.isSuppressCsvExport()},r([a.Autowired("columnController"),s("design:type",u.ColumnController)],e.prototype,"columnController",void 0),r([a.Autowired("valueService"),s("design:type",c.ValueService)],e.prototype,"valueService",void 0),r([a.Autowired("downloader"),s("design:type",p.Downloader)],e.prototype,"downloader",void 0),r([a.Autowired("gridSerializer"),s("design:type",l.GridSerializer)],e.prototype,"gridSerializer",void 0),r([a.Autowired("gridOptionsWrapper"),s("design:type",d.GridOptionsWrapper)],e.prototype,"gridOptionsWrapper",void 0),r([a.PostConstruct,s("design:type",Function),s("design:paramtypes",[]),s("design:returntype",void 0)],e.prototype,"postConstruct",null),r([a.Bean("csvCreator")],e)}(m);e.CsvCreator=v},43878:function(t,e,o){var i=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},n=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r=o(72493),s=o(26016),a=o(44081),l=o(98239),p=o(7897),u=o(45727),c=o(83423),d=function(){function t(){}var e;return e=t,t.prototype.createAutoGroupColumns=function(t){var e=this,o=[],i=this.gridOptionsWrapper.isTreeData(),n=this.gridOptionsWrapper.isGroupMultiAutoColumn();return i&&n&&(console.warn("ag-Grid: you cannot mix groupMultiAutoColumn with treeData, only one column can be used to display groups when doing tree data"),n=!1),n?t.forEach((function(t,i){o.push(e.createOneAutoGroupColumn(t,i))})):o.push(this.createOneAutoGroupColumn()),o},t.prototype.createOneAutoGroupColumn=function(t,o){var i,n=this.generateDefaultColDef(t);i=t?u.Constants.GROUP_AUTO_COLUMN_ID+"-"+t.getId():e.GROUP_AUTO_COLUMN_BUNDLE_ID;var r=this.gridOptionsWrapper.getAutoGroupColumnDef();c._.mergeDeep(n,r),(n=this.columnFactory.mergeColDefs(n)).colId=i,this.gridOptionsWrapper.isTreeData()||c._.missing(n.field)&&c._.missing(n.valueGetter)&&c._.missing(n.filterValueGetter)&&(n.filter=!1),o&&o>0&&(n.headerCheckboxSelection=!1);var a=new s.Column(n,null,i,!0);return this.context.wireBean(a),a},t.prototype.generateDefaultColDef=function(t){var e=this.gridOptionsWrapper.getAutoGroupColumnDef(),o={headerName:this.gridOptionsWrapper.getLocaleTextFunc()("group","Group"),enableRowGroup:!0};if(e&&(e.cellRenderer||e.cellRendererFramework)||(o.cellRenderer="agGroupCellRenderer"),t){var i=t.getColDef();c._.assign(o,{headerName:this.columnController.getDisplayNameForColumn(t,"header"),headerValueGetter:i.headerValueGetter}),i.cellRenderer&&c._.assign(o,{cellRendererParams:{innerRenderer:i.cellRenderer,innerRendererParams:i.cellRendererParams}}),o.showRowGroup=t.getColId()}else o.showRowGroup=!0;return o},t.GROUP_AUTO_COLUMN_BUNDLE_ID=u.Constants.GROUP_AUTO_COLUMN_ID,i([r.Autowired("gridOptionsWrapper"),n("design:type",a.GridOptionsWrapper)],t.prototype,"gridOptionsWrapper",void 0),i([r.Autowired("context"),n("design:type",r.Context)],t.prototype,"context",void 0),i([r.Autowired("columnController"),n("design:type",l.ColumnController)],t.prototype,"columnController",void 0),i([r.Autowired("columnFactory"),n("design:type",p.ColumnFactory)],t.prototype,"columnFactory",void 0),e=i([r.Bean("autoGroupColService")],t)}();e.AutoGroupColService=d},44081:function(t,e,o){var i=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},n=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},r=this&&this.__param||function(t,e){return function(o,i){e(o,i,t)}};Object.defineProperty(e,"__esModule",{value:!0});var s=o(60843),a=o(45727),l=o(97156),p=o(40797),u=o(72493),c=o(44871),d=o(98239),h=o(59007),f=o(37789),g=o(80834),y=o(85222),m=o(23801),v=o(96896),C=o(83423);function E(t){return!0===t||"true"===t}var w=function(){function t(){this.propertyEventService=new s.EventService,this.domDataKey="__AG_"+Math.random().toString(),this.layoutElements=[]}var e;return e=t,t.prototype.agWire=function(t,e){this.gridOptions.api=t,this.gridOptions.columnApi=e,this.checkForDeprecated(),this.checkForViolations()},t.prototype.destroy=function(){this.gridOptions.api=null,this.gridOptions.columnApi=null},t.prototype.init=function(){!0!==this.gridOptions.suppressPropertyNamesCheck&&(this.checkGridOptionsProperties(),this.checkColumnDefProperties());var t=this.useAsyncEvents();this.eventService.addGlobalListener(this.globalEventHandler.bind(this),t),this.isGroupSelectsChildren()&&this.isSuppressParentsInRowNodes()&&console.warn("ag-Grid: groupSelectsChildren does not work wth suppressParentsInRowNodes, this selection method needs the part in rowNode to work"),this.isGroupSelectsChildren()&&(this.isRowSelectionMulti()||console.warn("ag-Grid: rowSelection must be 'multiple' for groupSelectsChildren to make sense"),this.isRowModelServerSide()&&console.warn("ag-Grid: group selects children is NOT support for Server Side Row Model. This is because the rows are lazy loaded, so selecting a group is not possible asthe grid has no way of knowing what the children are.")),this.isGroupRemoveSingleChildren()&&this.isGroupHideOpenParents()&&console.warn("ag-Grid: groupRemoveSingleChildren and groupHideOpenParents do not work with each other, you need to pick one. And don't ask us how to us these together on our support forum either you will get the same answer!"),this.addEventListener(e.PROP_DOM_LAYOUT,this.updateLayoutClasses.bind(this))},t.prototype.checkColumnDefProperties=function(){var t=this;null!=this.gridOptions.columnDefs&&this.gridOptions.columnDefs.forEach((function(e){var o=Object.getOwnPropertyNames(e),i=g.ColDefUtil.ALL_PROPERTIES.concat(g.ColDefUtil.FRAMEWORK_PROPERTIES);t.checkProperties(o,i,i,"colDef","https://www.ag-grid.com/javascript-grid-column-properties/")}))},t.prototype.checkGridOptionsProperties=function(){var t=Object.getOwnPropertyNames(this.gridOptions),e=f.PropertyKeys.ALL_PROPERTIES.concat(f.PropertyKeys.FRAMEWORK_PROPERTIES);Object.keys(y.Events).forEach((function(t){return e.push(l.ComponentUtil.getCallbackForEvent(y.Events[t]))}));var o=e.concat("api","columnApi");this.checkProperties(t,o,e,"gridOptions","https://www.ag-grid.com/javascript-grid-properties/")},t.prototype.checkProperties=function(t,e,o,i,n){var r=C._.fuzzyCheckStrings(t,e,o),s=Object.keys(r);s.forEach((function(t){var e=r[t];console.warn("ag-grid: invalid "+i+" property '"+t+"' did you mean any of these: "+e.slice(0,8).join(","))})),s.length>0&&console.warn("ag-grid: to see all the valid "+i+" properties please check: "+n)},t.prototype.getDomData=function(t,e){var o=t[this.domDataKey];if(o)return o[e]},t.prototype.setDomData=function(t,e,o){var i=t[this.domDataKey];C._.missing(i)&&(i={},t[this.domDataKey]=i),i[e]=o},t.prototype.isEnterprise=function(){return this.enterprise},t.prototype.isRowSelection=function(){return"single"===this.gridOptions.rowSelection||"multiple"===this.gridOptions.rowSelection},t.prototype.isRowDeselection=function(){return E(this.gridOptions.rowDeselection)},t.prototype.isRowSelectionMulti=function(){return"multiple"===this.gridOptions.rowSelection},t.prototype.isRowMultiSelectWithClick=function(){return E(this.gridOptions.rowMultiSelectWithClick)},t.prototype.getContext=function(){return this.gridOptions.context},t.prototype.isPivotMode=function(){return E(this.gridOptions.pivotMode)},t.prototype.isPivotTotals=function(){return E(this.gridOptions.pivotTotals)},t.prototype.getPivotColumnGroupTotals=function(){return this.gridOptions.pivotColumnGroupTotals},t.prototype.getPivotRowTotals=function(){return this.gridOptions.pivotRowTotals},t.prototype.isRowModelInfinite=function(){return this.gridOptions.rowModelType===a.Constants.ROW_MODEL_TYPE_INFINITE},t.prototype.isRowModelViewport=function(){return this.gridOptions.rowModelType===a.Constants.ROW_MODEL_TYPE_VIEWPORT},t.prototype.isRowModelServerSide=function(){return this.gridOptions.rowModelType===a.Constants.ROW_MODEL_TYPE_SERVER_SIDE},t.prototype.isRowModelDefault=function(){return C._.missing(this.gridOptions.rowModelType)||this.gridOptions.rowModelType===a.Constants.ROW_MODEL_TYPE_CLIENT_SIDE||this.gridOptions.rowModelType===a.Constants.DEPRECATED_ROW_MODEL_TYPE_NORMAL},t.prototype.isFullRowEdit=function(){return"fullRow"===this.gridOptions.editType},t.prototype.isSuppressFocusAfterRefresh=function(){return E(this.gridOptions.suppressFocusAfterRefresh)},t.prototype.isSuppressBrowserResizeObserver=function(){return E(this.gridOptions.suppressBrowserResizeObserver)},t.prototype.isSuppressMaintainUnsortedOrder=function(){return E(this.gridOptions.suppressMaintainUnsortedOrder)},t.prototype.isShowToolPanel=function(){return E(this.gridOptions.sideBar&&Array.isArray(this.getSideBar().toolPanels))},t.prototype.getSideBar=function(){return this.gridOptions.sideBar},t.prototype.isSuppressTouch=function(){return E(this.gridOptions.suppressTouch)},t.prototype.isSuppressRowTransform=function(){return E(this.gridOptions.suppressRowTransform)},t.prototype.isSuppressSetColumnStateEvents=function(){return E(this.gridOptions.suppressSetColumnStateEvents)},t.prototype.useAsyncEvents=function(){return!E(this.gridOptions.suppressAsyncEvents)},t.prototype.isEnableCellChangeFlash=function(){return E(this.gridOptions.enableCellChangeFlash)},t.prototype.isGroupSelectsChildren=function(){var t=E(this.gridOptions.groupSelectsChildren);return t&&this.isTreeData()?(console.warn("ag-Grid: groupSelectsChildren does not work with tree data"),!1):t},t.prototype.isSuppressRowHoverHighlight=function(){return E(this.gridOptions.suppressRowHoverHighlight)},t.prototype.isGroupSelectsFiltered=function(){return E(this.gridOptions.groupSelectsFiltered)},t.prototype.isGroupHideOpenParents=function(){return E(this.gridOptions.groupHideOpenParents)},t.prototype.isGroupMultiAutoColumn=function(){return E(this.gridOptions.groupMultiAutoColumn)||E(this.gridOptions.groupHideOpenParents)},t.prototype.isGroupRemoveSingleChildren=function(){return E(this.gridOptions.groupRemoveSingleChildren)},t.prototype.isGroupRemoveLowestSingleChildren=function(){return E(this.gridOptions.groupRemoveLowestSingleChildren)},t.prototype.isGroupIncludeFooter=function(){return E(this.gridOptions.groupIncludeFooter)},t.prototype.isGroupIncludeTotalFooter=function(){return E(this.gridOptions.groupIncludeTotalFooter)},t.prototype.isGroupSuppressBlankHeader=function(){return E(this.gridOptions.groupSuppressBlankHeader)},t.prototype.isSuppressRowClickSelection=function(){return E(this.gridOptions.suppressRowClickSelection)},t.prototype.isSuppressCellSelection=function(){return E(this.gridOptions.suppressCellSelection)},t.prototype.isSuppressMultiSort=function(){return E(this.gridOptions.suppressMultiSort)},t.prototype.isMultiSortKeyCtrl=function(){return"ctrl"===this.gridOptions.multiSortKey},t.prototype.isGroupSuppressAutoColumn=function(){return E(this.gridOptions.groupSuppressAutoColumn)},t.prototype.isSuppressDragLeaveHidesColumns=function(){return E(this.gridOptions.suppressDragLeaveHidesColumns)},t.prototype.isSuppressScrollOnNewData=function(){return E(this.gridOptions.suppressScrollOnNewData)},t.prototype.isRowDragManaged=function(){return E(this.gridOptions.rowDragManaged)},t.prototype.isSuppressRowDrag=function(){return E(this.gridOptions.suppressRowDrag)},t.prototype.getDomLayout=function(){var t=this,e=this.gridOptions.domLayout;return e===a.Constants.DOM_LAYOUT_PRINT||e===a.Constants.DOM_LAYOUT_AUTO_HEIGHT||e===a.Constants.DOM_LAYOUT_NORMAL?e:(null==e||C._.doOnce((function(){return console.warn("ag-Grid: "+t.gridOptions.domLayout+" is not valid for DOM Layout, valid values are "+a.Constants.DOM_LAYOUT_NORMAL+", "+a.Constants.DOM_LAYOUT_AUTO_HEIGHT+" and "+a.Constants.DOM_LAYOUT_PRINT)}),"warn about dom layout values"),a.Constants.DOM_LAYOUT_NORMAL)},t.prototype.isSuppressHorizontalScroll=function(){return E(this.gridOptions.suppressHorizontalScroll)},t.prototype.isSuppressMaxRenderedRowRestriction=function(){return E(this.gridOptions.suppressMaxRenderedRowRestriction)},t.prototype.isExcludeChildrenWhenTreeDataFiltering=function(){return E(this.gridOptions.excludeChildrenWhenTreeDataFiltering)},t.prototype.isAlwaysShowVerticalScroll=function(){return E(this.gridOptions.alwaysShowVerticalScroll)},t.prototype.isSuppressLoadingOverlay=function(){return E(this.gridOptions.suppressLoadingOverlay)},t.prototype.isSuppressNoRowsOverlay=function(){return E(this.gridOptions.suppressNoRowsOverlay)},t.prototype.isSuppressFieldDotNotation=function(){return E(this.gridOptions.suppressFieldDotNotation)},t.prototype.getPinnedTopRowData=function(){return this.gridOptions.pinnedTopRowData},t.prototype.getPinnedBottomRowData=function(){return this.gridOptions.pinnedBottomRowData},t.prototype.isFunctionsPassive=function(){return E(this.gridOptions.functionsPassive)},t.prototype.isSuppressTabbing=function(){return E(this.gridOptions.suppressTabbing)},t.prototype.isSuppressChangeDetection=function(){return E(this.gridOptions.suppressChangeDetection)},t.prototype.isSuppressAnimationFrame=function(){return E(this.gridOptions.suppressAnimationFrame)},t.prototype.getQuickFilterText=function(){return this.gridOptions.quickFilterText},t.prototype.isCacheQuickFilter=function(){return E(this.gridOptions.cacheQuickFilter)},t.prototype.isUnSortIcon=function(){return E(this.gridOptions.unSortIcon)},t.prototype.isSuppressMenuHide=function(){return E(this.gridOptions.suppressMenuHide)},t.prototype.isEnterMovesDownAfterEdit=function(){return E(this.gridOptions.enterMovesDownAfterEdit)},t.prototype.isEnterMovesDown=function(){return E(this.gridOptions.enterMovesDown)},t.prototype.getRowStyle=function(){return this.gridOptions.rowStyle},t.prototype.getRowClass=function(){return this.gridOptions.rowClass},t.prototype.getRowStyleFunc=function(){return this.gridOptions.getRowStyle},t.prototype.getRowClassFunc=function(){return this.gridOptions.getRowClass},t.prototype.rowClassRules=function(){return this.gridOptions.rowClassRules},t.prototype.getPopupParent=function(){return this.gridOptions.popupParent},t.prototype.getBlockLoadDebounceMillis=function(){return this.gridOptions.blockLoadDebounceMillis},t.prototype.getPostProcessPopupFunc=function(){return this.gridOptions.postProcessPopup},t.prototype.getDoesDataFlowerFunc=function(){return this.gridOptions.doesDataFlower},t.prototype.getPaginationNumberFormatterFunc=function(){return this.gridOptions.paginationNumberFormatter},t.prototype.getChildCountFunc=function(){return this.gridOptions.getChildCount},t.prototype.getDefaultGroupSortComparator=function(){return this.gridOptions.defaultGroupSortComparator},t.prototype.getIsFullWidthCellFunc=function(){return this.gridOptions.isFullWidthCell},t.prototype.getFullWidthCellRendererParams=function(){return this.gridOptions.fullWidthCellRendererParams},t.prototype.isEmbedFullWidthRows=function(){return E(this.gridOptions.deprecatedEmbedFullWidthRows)},t.prototype.getSuppressKeyboardEventFunc=function(){return this.gridOptions.suppressKeyboardEvent},t.prototype.getBusinessKeyForNodeFunc=function(){return this.gridOptions.getBusinessKeyForNode},t.prototype.getApi=function(){return this.gridOptions.api},t.prototype.getColumnApi=function(){return this.gridOptions.columnApi},t.prototype.isDeltaRowDataMode=function(){return E(this.gridOptions.deltaRowDataMode)},t.prototype.isDeltaColumnMode=function(){return E(this.gridOptions.deltaColumnMode)},t.prototype.isEnsureDomOrder=function(){return E(this.gridOptions.ensureDomOrder)},t.prototype.isEnableCharts=function(){return E(this.gridOptions.enableCharts)},t.prototype.getColResizeDefault=function(){return this.gridOptions.colResizeDefault},t.prototype.isSingleClickEdit=function(){return E(this.gridOptions.singleClickEdit)},t.prototype.isSuppressClickEdit=function(){return E(this.gridOptions.suppressClickEdit)},t.prototype.isStopEditingWhenGridLosesFocus=function(){return E(this.gridOptions.stopEditingWhenGridLosesFocus)},t.prototype.getGroupDefaultExpanded=function(){return this.gridOptions.groupDefaultExpanded},t.prototype.getMaxConcurrentDatasourceRequests=function(){return this.gridOptions.maxConcurrentDatasourceRequests},t.prototype.getMaxBlocksInCache=function(){return this.gridOptions.maxBlocksInCache},t.prototype.getCacheOverflowSize=function(){return this.gridOptions.cacheOverflowSize},t.prototype.getPaginationPageSize=function(){return this.gridOptions.paginationPageSize},t.prototype.getCacheBlockSize=function(){return this.gridOptions.cacheBlockSize},t.prototype.getInfiniteInitialRowCount=function(){return this.gridOptions.infiniteInitialRowCount},t.prototype.isPurgeClosedRowNodes=function(){return E(this.gridOptions.purgeClosedRowNodes)},t.prototype.isSuppressPaginationPanel=function(){return E(this.gridOptions.suppressPaginationPanel)},t.prototype.getRowData=function(){return this.gridOptions.rowData},t.prototype.isGroupUseEntireRow=function(){return E(this.gridOptions.groupUseEntireRow)},t.prototype.isEnableRtl=function(){return E(this.gridOptions.enableRtl)},t.prototype.getAutoGroupColumnDef=function(){return this.gridOptions.autoGroupColumnDef},t.prototype.isGroupSuppressRow=function(){return E(this.gridOptions.groupSuppressRow)},t.prototype.getRowGroupPanelShow=function(){return this.gridOptions.rowGroupPanelShow},t.prototype.getPivotPanelShow=function(){return this.gridOptions.pivotPanelShow},t.prototype.isAngularCompileRows=function(){return E(this.gridOptions.angularCompileRows)},t.prototype.isAngularCompileFilters=function(){return E(this.gridOptions.angularCompileFilters)},t.prototype.isAngularCompileHeaders=function(){return E(this.gridOptions.angularCompileHeaders)},t.prototype.isDebug=function(){return E(this.gridOptions.debug)},t.prototype.getColumnDefs=function(){return this.gridOptions.columnDefs},t.prototype.getColumnTypes=function(){return this.gridOptions.columnTypes},t.prototype.getDatasource=function(){return this.gridOptions.datasource},t.prototype.getViewportDatasource=function(){return this.gridOptions.viewportDatasource},t.prototype.getServerSideDatasource=function(){return this.gridOptions.serverSideDatasource},t.prototype.isAccentedSort=function(){return E(this.gridOptions.accentedSort)},t.prototype.isEnableBrowserTooltips=function(){return E(this.gridOptions.enableBrowserTooltips)},t.prototype.isEnableCellExpressions=function(){return E(this.gridOptions.enableCellExpressions)},t.prototype.isEnableGroupEdit=function(){return E(this.gridOptions.enableGroupEdit)},t.prototype.isSuppressMiddleClickScrolls=function(){return E(this.gridOptions.suppressMiddleClickScrolls)},t.prototype.isSuppressPreventDefaultOnMouseWheel=function(){return E(this.gridOptions.suppressPreventDefaultOnMouseWheel)},t.prototype.isSuppressColumnVirtualisation=function(){return E(this.gridOptions.suppressColumnVirtualisation)},t.prototype.isSuppressContextMenu=function(){return E(this.gridOptions.suppressContextMenu)},t.prototype.isAllowContextMenuWithControlKey=function(){return E(this.gridOptions.allowContextMenuWithControlKey)},t.prototype.isSuppressCopyRowsToClipboard=function(){return E(this.gridOptions.suppressCopyRowsToClipboard)},t.prototype.isCopyHeadersToClipboard=function(){return E(this.gridOptions.copyHeadersToClipboard)},t.prototype.isSuppressClipboardPaste=function(){return E(this.gridOptions.suppressClipboardPaste)},t.prototype.isPagination=function(){return E(this.gridOptions.pagination)},t.prototype.isSuppressEnterpriseResetOnNewColumns=function(){return E(this.gridOptions.suppressEnterpriseResetOnNewColumns)},t.prototype.getProcessDataFromClipboardFunc=function(){return this.gridOptions.processDataFromClipboard},t.prototype.getBatchUpdateWaitMillis=function(){return C._.exists(this.gridOptions.batchUpdateWaitMillis)?this.gridOptions.batchUpdateWaitMillis:a.Constants.BATCH_WAIT_MILLIS},t.prototype.isSuppressMovableColumns=function(){return E(this.gridOptions.suppressMovableColumns)},t.prototype.isAnimateRows=function(){return!this.isEnsureDomOrder()&&E(this.gridOptions.animateRows)},t.prototype.isSuppressColumnMoveAnimation=function(){return E(this.gridOptions.suppressColumnMoveAnimation)},t.prototype.isSuppressAggFuncInHeader=function(){return E(this.gridOptions.suppressAggFuncInHeader)},t.prototype.isSuppressAggAtRootLevel=function(){return E(this.gridOptions.suppressAggAtRootLevel)},t.prototype.isEnableRangeSelection=function(){return E(this.gridOptions.enableRangeSelection)},t.prototype.isSuppressMultiRangeSelection=function(){return E(this.gridOptions.suppressMultiRangeSelection)},t.prototype.isPaginationAutoPageSize=function(){return E(this.gridOptions.paginationAutoPageSize)},t.prototype.isRememberGroupStateWhenNewData=function(){return E(this.gridOptions.rememberGroupStateWhenNewData)},t.prototype.getIcons=function(){return this.gridOptions.icons},t.prototype.getAggFuncs=function(){return this.gridOptions.aggFuncs},t.prototype.getSortingOrder=function(){return this.gridOptions.sortingOrder},t.prototype.getAlignedGrids=function(){return this.gridOptions.alignedGrids},t.prototype.isMasterDetail=function(){var t=this,e=E(this.gridOptions.masterDetail);return C._.doOnce((function(){e&&!t.enterprise&&console.warn("ag-grid: Master Detail is an Enterprise feature of ag-Grid.")}),"MasterDetailEnterpriseCheck"),e&&this.enterprise},t.prototype.getIsRowMasterFunc=function(){return this.gridOptions.isRowMaster},t.prototype.getIsRowSelectableFunc=function(){return this.gridOptions.isRowSelectable},t.prototype.getGroupRowRendererParams=function(){return this.gridOptions.groupRowRendererParams},t.prototype.getOverlayLoadingTemplate=function(){return this.gridOptions.overlayLoadingTemplate},t.prototype.getOverlayNoRowsTemplate=function(){return this.gridOptions.overlayNoRowsTemplate},t.prototype.isSuppressAutoSize=function(){return E(this.gridOptions.suppressAutoSize)},t.prototype.isEnableCellTextSelection=function(){return E(this.gridOptions.enableCellTextSelection)},t.prototype.isSuppressParentsInRowNodes=function(){return E(this.gridOptions.suppressParentsInRowNodes)},t.prototype.isFunctionsReadOnly=function(){return E(this.gridOptions.functionsReadOnly)},t.prototype.isFloatingFilter=function(){return this.gridOptions.floatingFilter},t.prototype.isEnableCellTextSelect=function(){return E(this.gridOptions.enableCellTextSelection)},t.prototype.isEnableOldSetFilterModel=function(){return E(this.gridOptions.enableOldSetFilterModel)},t.prototype.getDefaultColDef=function(){return this.gridOptions.defaultColDef},t.prototype.getDefaultColGroupDef=function(){return this.gridOptions.defaultColGroupDef},t.prototype.getDefaultExportParams=function(){return this.gridOptions.defaultExportParams},t.prototype.isSuppressCsvExport=function(){return E(this.gridOptions.suppressCsvExport)},t.prototype.isSuppressExcelExport=function(){return E(this.gridOptions.suppressExcelExport)},t.prototype.isSuppressMakeColumnVisibleAfterUnGroup=function(){return E(this.gridOptions.suppressMakeColumnVisibleAfterUnGroup)},t.prototype.getNodeChildDetailsFunc=function(){return this.gridOptions.getNodeChildDetails},t.prototype.getDataPathFunc=function(){return this.gridOptions.getDataPath},t.prototype.getIsServerSideGroupFunc=function(){return this.gridOptions.isServerSideGroup},t.prototype.getServerSideGroupKeyFunc=function(){return this.gridOptions.getServerSideGroupKey},t.prototype.getGroupRowAggNodesFunc=function(){return this.gridOptions.groupRowAggNodes},t.prototype.getContextMenuItemsFunc=function(){return this.gridOptions.getContextMenuItems},t.prototype.getMainMenuItemsFunc=function(){return this.gridOptions.getMainMenuItems},t.prototype.getRowNodeIdFunc=function(){return this.gridOptions.getRowNodeId},t.prototype.getNavigateToNextCellFunc=function(){return this.gridOptions.navigateToNextCell},t.prototype.getTabToNextCellFunc=function(){return this.gridOptions.tabToNextCell},t.prototype.isTreeData=function(){var t=this,e=E(this.gridOptions.treeData);return C._.doOnce((function(){e&&!t.enterprise&&console.warn("ag-grid: TreeData is an Enterprise feature of ag-Grid.")}),"TreeDataEnterpriseCheck"),e},t.prototype.isValueCache=function(){return E(this.gridOptions.valueCache)},t.prototype.isValueCacheNeverExpires=function(){return E(this.gridOptions.valueCacheNeverExpires)},t.prototype.isDeltaSort=function(){return E(this.gridOptions.deltaSort)},t.prototype.isAggregateOnlyChangedColumns=function(){return E(this.gridOptions.aggregateOnlyChangedColumns)},t.prototype.getProcessSecondaryColDefFunc=function(){return this.gridOptions.processSecondaryColDef},t.prototype.getProcessSecondaryColGroupDefFunc=function(){return this.gridOptions.processSecondaryColGroupDef},t.prototype.getSendToClipboardFunc=function(){return this.gridOptions.sendToClipboard},t.prototype.getProcessRowPostCreateFunc=function(){return this.gridOptions.processRowPostCreate},t.prototype.getProcessCellForClipboardFunc=function(){return this.gridOptions.processCellForClipboard},t.prototype.getProcessHeaderForClipboardFunc=function(){return this.gridOptions.processHeaderForClipboard},t.prototype.getProcessCellFromClipboardFunc=function(){return this.gridOptions.processCellFromClipboard},t.prototype.getViewportRowModelPageSize=function(){return(t=this.gridOptions.viewportRowModelPageSize)>0?t:5;var t},t.prototype.getViewportRowModelBufferSize=function(){return(t=this.gridOptions.viewportRowModelBufferSize)>=0?t:5;var t},t.prototype.isServerSideSortingAlwaysResets=function(){return E(this.gridOptions.serverSideSortingAlwaysResets)},t.prototype.getPostSortFunc=function(){return this.gridOptions.postSort},t.prototype.getClipboardDeliminator=function(){return C._.exists(this.gridOptions.clipboardDeliminator)?this.gridOptions.clipboardDeliminator:"\t"},t.prototype.setProperty=function(t,e){var o=this.gridOptions,i=o[t];if(i!==e){o[t]=e;var n={type:t,currentValue:e,previousValue:i};this.propertyEventService.dispatchEvent(n)}},t.prototype.addLayoutElement=function(t){this.layoutElements.push(t),this.updateLayoutClasses()},t.prototype.updateLayoutClasses=function(){var t=this.getDomLayout(),e=t===a.Constants.DOM_LAYOUT_AUTO_HEIGHT,o=t===a.Constants.DOM_LAYOUT_PRINT,i=t===a.Constants.DOM_LAYOUT_NORMAL;this.layoutElements.forEach((function(t){C._.addOrRemoveCssClass(t,"ag-layout-auto-height",e),C._.addOrRemoveCssClass(t,"ag-layout-normal",i),C._.addOrRemoveCssClass(t,"ag-layout-print",o)}))},t.prototype.addEventListener=function(t,o){e.checkEventDeprecation(t),this.propertyEventService.addEventListener(t,o)},t.checkEventDeprecation=function(t){"floatingRowDataChanged"===t&&console.warn("ag-Grid: floatingRowDataChanged is now called pinnedRowDataChanged")},t.prototype.removeEventListener=function(t,e){this.propertyEventService.removeEventListener(t,e)},t.prototype.getAutoSizePadding=function(){return this.gridOptions.autoSizePadding&&this.gridOptions.autoSizePadding>0?this.gridOptions.autoSizePadding:20},t.prototype.getHeaderHeight=function(){return"number"==typeof this.gridOptions.headerHeight?this.gridOptions.headerHeight:this.specialForNewMaterial(25,"headerHeight")},t.prototype.getFloatingFiltersHeight=function(){return"number"==typeof this.gridOptions.floatingFiltersHeight?this.gridOptions.floatingFiltersHeight:this.specialForNewMaterial(25,"headerHeight")},t.prototype.getGroupHeaderHeight=function(){return"number"==typeof this.gridOptions.groupHeaderHeight?this.gridOptions.groupHeaderHeight:this.getHeaderHeight()},t.prototype.getPivotHeaderHeight=function(){return"number"==typeof this.gridOptions.pivotHeaderHeight?this.gridOptions.pivotHeaderHeight:this.getHeaderHeight()},t.prototype.getPivotGroupHeaderHeight=function(){return"number"==typeof this.gridOptions.pivotGroupHeaderHeight?this.gridOptions.pivotGroupHeaderHeight:this.getGroupHeaderHeight()},t.prototype.isExternalFilterPresent=function(){return"function"==typeof this.gridOptions.isExternalFilterPresent&&this.gridOptions.isExternalFilterPresent()},t.prototype.doesExternalFilterPass=function(t){return"function"==typeof this.gridOptions.doesExternalFilterPass&&this.gridOptions.doesExternalFilterPass(t)},t.prototype.getDocument=function(){var t=null;return this.gridOptions.getDocument&&C._.exists(this.gridOptions.getDocument)&&(t=this.gridOptions.getDocument()),t&&C._.exists(t)?t:document},t.prototype.getMinColWidth=function(){return this.gridOptions.minColWidth&&this.gridOptions.minColWidth>e.MIN_COL_WIDTH?this.gridOptions.minColWidth:e.MIN_COL_WIDTH},t.prototype.getMaxColWidth=function(){return this.gridOptions.maxColWidth&&this.gridOptions.maxColWidth>e.MIN_COL_WIDTH?this.gridOptions.maxColWidth:null},t.prototype.getColWidth=function(){return"number"!=typeof this.gridOptions.colWidth||this.gridOptions.colWidth<e.MIN_COL_WIDTH?200:this.gridOptions.colWidth},t.prototype.getRowBufferInPixels=function(){var t;return"number"==typeof this.gridOptions.rowBuffer?this.gridOptions.rowBuffer<0?(C._.doOnce((function(){return console.warn("ag-Grid: rowBuffer should not be negative")}),"warn rowBuffer negative"),t=0):t=this.gridOptions.rowBuffer:t=a.Constants.ROW_BUFFER_SIZE,t*this.getRowHeightAsNumber()},t.prototype.getScrollbarWidth=function(){var t=this.gridOptions.scrollbarWidth;return("number"!=typeof t||t<0)&&(t=C._.getScrollbarWidth()),t},t.prototype.checkForDeprecated=function(){var t=this,e=this.gridOptions;e.suppressUnSort&&console.warn("ag-grid: as of v1.12.4 suppressUnSort is not used. Please use sortingOrder instead."),e.suppressDescSort&&console.warn("ag-grid: as of v1.12.4 suppressDescSort is not used. Please use sortingOrder instead."),e.groupAggFields&&console.warn("ag-grid: as of v3 groupAggFields is not used. Please add appropriate agg fields to your columns."),e.groupHidePivotColumns&&console.warn("ag-grid: as of v3 groupHidePivotColumns is not used as pivot columns are now called rowGroup columns. Please refer to the documentation"),e.groupKeys&&console.warn("ag-grid: as of v3 groupKeys is not used. You need to set rowGroupIndex on the columns to group. Please refer to the documentation"),"boolean"==typeof e.groupDefaultExpanded&&console.warn("ag-grid: groupDefaultExpanded can no longer be boolean. for groupDefaultExpanded=true, use groupDefaultExpanded=9999 instead, to expand all the groups"),(e.onRowDeselected||e.rowDeselected)&&console.warn("ag-grid: since version 3.4 event rowDeselected no longer exists, please check the docs"),e.rowsAlreadyGrouped&&console.warn("ag-grid: since version 3.4 rowsAlreadyGrouped no longer exists, please use getNodeChildDetails() instead"),e.groupAggFunction&&console.warn("ag-grid: since version 4.3.x groupAggFunction is now called groupRowAggNodes"),e.checkboxSelection&&console.warn("ag-grid: since version 8.0.x checkboxSelection is not supported as a grid option. If you want this on all columns, use defaultColDef instead and set it there"),e.paginationInitialRowCount&&console.warn("ag-grid: since version 9.0.x paginationInitialRowCount is now called infiniteInitialRowCount"),e.infinitePageSize&&console.warn("ag-grid: since version 9.0.x infinitePageSize is now called cacheBlockSize"),e.infiniteBlockSize&&console.warn("ag-grid: since version 10.0.x infiniteBlockSize is now called cacheBlockSize"),e.maxPagesInCache&&console.warn("ag-grid: since version 10.0.x maxPagesInCache is now called maxBlocksInCache"),e.paginationOverflowSize&&console.warn("ag-grid: since version 10.0.x paginationOverflowSize is now called cacheOverflowSize"),e.suppressMenuFilterPanel&&console.warn("ag-grid: since version 11.0.x, use property colDef.menuTabs=['generalMenuTab','columnsMenuTab'] instead of suppressMenuFilterPanel=true"),e.suppressMenuMainPanel&&console.warn("ag-grid: since version 11.0.x, use property colDef.menuTabs=['filterMenuTab','columnsMenuTab'] instead of suppressMenuMainPanel=true"),e.suppressMenuColumnPanel&&console.warn("ag-grid: since version 11.0.x, use property colDef.menuTabs=['generalMenuTab','filterMenuTab'] instead of suppressMenuColumnPanel=true"),e.suppressUseColIdForGroups&&console.warn("ag-grid: since version 11.0.x, this is not in use anymore. You should be able to remove it from your definition"),e.groupSuppressRow&&console.warn("ag-grid: since version 18.2.x, 'groupSuppressRow' should not be used anymore. Instead remove row groups and perform custom sorting."),e.groupColumnDef&&console.warn("ag-grid: since version 11.0.x, groupColumnDef has been renamed, this property is now called autoGroupColumnDef. Please change your configuration accordingly"),e.slaveGrids&&console.warn("ag-grid: since version 12.x, slaveGrids has been renamed, this property is now called alignedGrids. Please change your configuration accordingly"),e.floatingTopRowData&&console.warn("ag-grid: since version 12.x, floatingTopRowData is now called pinnedTopRowData"),e.floatingBottomRowData&&console.warn("ag-grid: since version 12.x, floatingBottomRowData is now called pinnedBottomRowData"),e.paginationStartPage&&console.warn("ag-grid: since version 12.x, paginationStartPage is gone, please call api.paginationGoToPage("+e.paginationStartPage+") instead."),e.getHeaderCellTemplate&&console.warn("ag-grid: since version 15.x, getHeaderCellTemplate is gone, please check the header documentation on how to set header templates."),e.headerCellTemplate&&console.warn("ag-grid: since version 15.x, headerCellTemplate is gone, please check the header documentation on how to set header templates."),e.headerCellRenderer&&console.warn("ag-grid: since version 15.x, headerCellRenderer is gone, please check the header documentation on how to set header templates."),e.angularCompileHeaders&&console.warn("ag-grid: since version 15.x, angularCompileHeaders is gone, please see the getting started for Angular 1 docs to see how to do headers in Angular 1.x."),e.pivotTotals&&(console.warn("ag-grid: since version 18.x, pivotTotals has been removed, instead if using pivotTotals, set pivotColumnGroupTotals='before'|'after'."),e.pivotColumnGroupTotals="before"),"inMemory"===e.rowModelType&&(console.warn("ag-grid: since version 18.x, The In Memory Row Model has been renamed to the Client Side Row Model, set rowModelType='clientSide' instead."),e.rowModelType="clientSide"),"enterprise"===e.rowModelType&&(console.warn("ag-grid: since version 18.x, The Enterprise Row Model has been renamed to the Server Side Row Model, set rowModelType='serverSide' instead."),e.rowModelType="serverSide"),e.layoutInterval&&console.warn("ag-grid: since version 18.x, layoutInterval is no longer a property. This is because the grid now uses CSS Flex for layout."),e.gridAutoHeight&&(console.warn("ag-grid: since version 19.x, gridAutoHeight is gone, please use domLayout=autoHeight instead"),e.domLayout="autoHeight"),!0===e.showToolPanel&&(console.warn("ag-grid: since version 19.x, showToolPanel is gone, please specify toolPanel components. See https://www.ag-grid.com/javascript-grid-tool-panel/"),e.showToolPanel=void 0,e.sideBar=e.sideBar||!0),!1===e.showToolPanel&&(console.warn("ag-grid: since version 19.x, showToolPanel is gone, please specify toolPanel components. See https://www.ag-grid.com/javascript-grid-tool-panel/"),e.showToolPanel=void 0,e.sideBar=e.sideBar||!1);var o={toolPanelSuppressRowGroups:"suppressRowGroups",toolPanelSuppressValues:"suppressValues",toolPanelSuppressPivots:"suppressPivots",toolPanelSuppressPivotMode:"suppressPivotMode",toolPanelSuppressColumnFilter:"suppressColumnFilter",toolPanelSuppressColumnSelectAll:"suppressColumnSelectAll",toolPanelSuppressSideButtons:"suppressSideButtons",toolPanelSuppressColumnExpandAll:"suppressColumnExpandAll",contractColumnSelection:"contractColumnSelection"},i={};Object.keys(o).forEach((function(e){var n=o[e],r=t.gridOptions[e];if(void 0!==r){if("toolPanelSuppressSideButtons"===e)return void console.warn("ag-grid: since v19.0 toolPanelSuppressSideButtons has been completely removed. See https://www.ag-grid.com/javascript-grid-tool-panel/");console.warn("ag-grid: since v19.0 gridOptions."+e+" is deprecated, please use gridOptions.sideBar.toolPanel[columnsIndex].componentParams."+n),i[n]=r}})),Object.keys(i).length>0&&!C._.exists(e.sideBar)&&(console.warn("ag-grid: since version 19.x, sideBar is mandatory if using toolPanel related properties. See https://www.ag-grid.com/javascript-grid-tool-panel/"),e.sideBar=!0),null!=e.sideBar&&(e.sideBar=v.SideBarDefParser.parse(e.sideBar));var n=this.gridOptions.sideBar;if(Object.keys(i).length>0&&n&&n.toolPanels){var r=n.toolPanels.filter((function(t){return"columns"===t.id}));1===r.length&&C._.mergeDeep(r[0],{componentParams:i})}e.enableStatusBar&&(console.warn("ag-grid: since version 19.x, enableStatusBar is gone, please specify statusBar components"),e.statusBar=e.statusBar||{components:[{component:"agAggregationComponent"}]}),e.alwaysShowStatusBar&&console.warn("ag-grid: since version 19.x, alwaysShowStatusBar is gone. Please specify a min-height on the ag-status-bar css class, eg .ag-status-bar {min-height: 35px; }"),(e.enableServerSideSorting||e.enableSorting)&&(console.warn("ag-Grid: since v20, grid options enableSorting and enableServerSideSorting are gone. Instead set sortable=true on the column definition for the columns sorting are allowed on. To migrate from gridOption.enableSorting=true, set gridOptions.defaultColDef.sortable=true"),e.defaultColDef||(e.defaultColDef={}),e.defaultColDef.sortable||(e.defaultColDef.sortable=!0)),(e.enableFilter||e.enableServerSideFilter)&&(console.warn("ag-Grid: since v20, grid options enableFilter and enableServerSideFilter are gone. Instead set filter=true (if not already specifying a specific filter) on the column definition for the columns filtering is allowed on. To migrate from gridOptions.enableFilter=true, set gridOptions.defaultColDef.filter=true. If you are explicitly setting specific filters for each column (ie colDef.filter is already set) the you don't need to do anything."),e.defaultColDef||(e.defaultColDef={}),e.defaultColDef.filter||(e.defaultColDef.filter=!0)),e.enableColResize&&(console.warn("ag-Grid: since v20, grid options enableColResize is gone. Instead set resizable=true on the column definition for the columns resizing are allowed on. To migrate from gridOption.enableColResize=true, set gridOptions.defaultColDef.resizable=true"),e.defaultColDef||(e.defaultColDef={}),e.defaultColDef.resizable||(e.defaultColDef.resizable=!0)),e.embedFullWidthRows&&console.warn("ag-Grid: since v20.1, embedFullWidthRows is now gone. This property was introduced to allow faster vertical scrolling when using slow browsers (IE) and full width rows. However in v20 the dom layout was redesigned and this performance problem no longer exists, hence this property 'hack' is no longer necessary."),e.suppressTabbing&&console.warn("ag-Grid: since v20.1, suppressTabbing is replaced with the more powerful grid callback suppressKeyboardEvent(params) which can suppress any keyboard event including tabbing.")},t.prototype.checkForViolations=function(){this.isTreeData()&&this.treeDataViolations()},t.prototype.treeDataViolations=function(){this.isRowModelDefault()&&C._.missing(this.getDataPathFunc())&&console.warn("ag-Grid: property usingTreeData=true with rowModel=clientSide, but you did not provide getDataPath function, please provide getDataPath function if using tree data."),this.isRowModelServerSide()&&(C._.missing(this.getIsServerSideGroupFunc())&&console.warn("ag-Grid: property usingTreeData=true with rowModel=serverSide, but you did not provide isServerSideGroup function, please provide isServerSideGroup function if using tree data."),C._.missing(this.getServerSideGroupKeyFunc())&&console.warn("ag-Grid: property usingTreeData=true with rowModel=serverSide, but you did not provide getServerSideGroupKey function, please provide getServerSideGroupKey function if using tree data."))},t.prototype.getLocaleTextFunc=function(){if(this.gridOptions.localeTextFunc)return this.gridOptions.localeTextFunc;var t=this;return function(e,o){var i=t.gridOptions.localeText;return i&&i[e]?i[e]:o}},t.prototype.globalEventHandler=function(t,e){var o=l.ComponentUtil.getCallbackForEvent(t);"function"==typeof this.gridOptions[o]&&this.gridOptions[o](e)},t.prototype.getRowHeightAsNumber=function(){return!this.gridOptions.rowHeight||C._.missing(this.gridOptions.rowHeight)?this.getDefaultRowHeight():this.gridOptions.rowHeight&&this.isNumeric(this.gridOptions.rowHeight)?this.gridOptions.rowHeight:(console.warn("ag-Grid row height must be a number if not using standard row model"),this.getDefaultRowHeight())},t.prototype.getRowHeightForNode=function(t,e){if(void 0===e&&(e=!1),"function"==typeof this.gridOptions.getRowHeight){if(e)return{height:this.getDefaultRowHeight(),estimated:!0};var o={node:t,data:t.data,api:this.gridOptions.api,context:this.gridOptions.context};return{height:this.gridOptions.getRowHeight(o),estimated:!1}}if(t.detail&&this.isMasterDetail())return this.isNumeric(this.gridOptions.detailRowHeight)?{height:this.gridOptions.detailRowHeight,estimated:!1}:{height:300,estimated:!1};var i=this.getDefaultRowHeight(),n=this.gridOptions.rowHeight&&this.isNumeric(this.gridOptions.rowHeight)?this.gridOptions.rowHeight:i;if(this.columnController.isAutoRowHeightActive()){if(e)return{height:n,estimated:!0};var r=this.autoHeightCalculator.getPreferredHeightForRow(t);return{height:Math.max(r,i),estimated:!1}}return{height:n,estimated:!1}},t.prototype.isDynamicRowHeight=function(){return"function"==typeof this.gridOptions.getRowHeight},t.prototype.getVirtualItemHeight=function(){return this.specialForNewMaterial(20,"virtualItemHeight")},t.prototype.isNumeric=function(t){return!isNaN(t)&&"number"==typeof t},t.prototype.specialForNewMaterial=function(t,e){var o=this.environment.getTheme();return o&&0===o.indexOf("ag-theme")?this.environment.getSassVariable(o,e):t},t.prototype.getDefaultRowHeight=function(){return this.specialForNewMaterial(25,"rowHeight")},t.MIN_COL_WIDTH=10,t.PROP_HEADER_HEIGHT="headerHeight",t.PROP_GROUP_REMOVE_SINGLE_CHILDREN="groupRemoveSingleChildren",t.PROP_GROUP_REMOVE_LOWEST_SINGLE_CHILDREN="groupRemoveLowestSingleChildren",t.PROP_PIVOT_HEADER_HEIGHT="pivotHeaderHeight",t.PROP_SUPPRESS_CLIPBOARD_PASTE="suppressClipboardPaste",t.PROP_GROUP_HEADER_HEIGHT="groupHeaderHeight",t.PROP_PIVOT_GROUP_HEADER_HEIGHT="pivotGroupHeaderHeight",t.PROP_FLOATING_FILTERS_HEIGHT="floatingFiltersHeight",t.PROP_SUPPRESS_ROW_DRAG="suppressRowDrag",t.PROP_POPUP_PARENT="popupParent",t.PROP_DOM_LAYOUT="domLayout",i([u.Autowired("gridOptions"),n("design:type",Object)],t.prototype,"gridOptions",void 0),i([u.Autowired("columnController"),n("design:type",d.ColumnController)],t.prototype,"columnController",void 0),i([u.Autowired("eventService"),n("design:type",s.EventService)],t.prototype,"eventService",void 0),i([u.Autowired("enterprise"),n("design:type",Boolean)],t.prototype,"enterprise",void 0),i([u.Autowired("frameworkFactory"),n("design:type",Object)],t.prototype,"frameworkFactory",void 0),i([u.Autowired("gridApi"),n("design:type",p.GridApi)],t.prototype,"gridApi",void 0),i([u.Autowired("columnApi"),n("design:type",c.ColumnApi)],t.prototype,"columnApi",void 0),i([u.Autowired("environment"),n("design:type",h.Environment)],t.prototype,"environment",void 0),i([u.Autowired("autoHeightCalculator"),n("design:type",m.AutoHeightCalculator)],t.prototype,"autoHeightCalculator",void 0),i([r(0,u.Qualifier("gridApi")),r(1,u.Qualifier("columnApi")),n("design:type",Function),n("design:paramtypes",[p.GridApi,c.ColumnApi]),n("design:returntype",void 0)],t.prototype,"agWire",null),i([u.PreDestroy,n("design:type",Function),n("design:paramtypes",[]),n("design:returntype",void 0)],t.prototype,"destroy",null),i([u.PostConstruct,n("design:type",Function),n("design:paramtypes",[]),n("design:returntype",void 0)],t.prototype,"init",null),e=i([u.Bean("gridOptionsWrapper")],t)}();e.GridOptionsWrapper=w},44329:function(t,e,o){var i,n=this&&this.__extends||(i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},i(t,e)},function(t,e){function o(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)});Object.defineProperty(e,"__esModule",{value:!0});var r=o(83423),s=o(15068),a=function(t){function e(o,i){var n=t.call(this)||this;return n.version=0,n.state=e.STATE_DIRTY,n.rowNodeCacheParams=i,n.blockNumber=o,n.startRow=o*i.blockSize,n.endRow=n.startRow+i.blockSize,n}return n(e,t),e.prototype.isAnyNodeOpen=function(t){var e=!1;return this.forEachNodeCallback((function(t){t.expanded&&(e=!0)}),t),e},e.prototype.forEachNodeCallback=function(t,e){for(var o=this.startRow;o<this.endRow;o++)o<e&&t(this.getRowUsingLocalIndex(o),o)},e.prototype.forEachNode=function(t,e,o,i){this.forEachNodeCallback((function(o){t(o,e.next()),i&&o.childrenCache&&o.childrenCache.forEachNodeDeep(t,e)}),o)},e.prototype.forEachNodeDeep=function(t,e,o){this.forEachNode(t,e,o,!0)},e.prototype.forEachNodeShallow=function(t,e,o){this.forEachNode(t,e,o,!1)},e.prototype.getVersion=function(){return this.version},e.prototype.getLastAccessed=function(){return this.lastAccessed},e.prototype.getRowUsingLocalIndex=function(t,e){void 0===e&&(e=!1),e||(this.lastAccessed=this.rowNodeCacheParams.lastAccessedSequence.next());var o=t-this.startRow;return this.rowNodes[o]},e.prototype.init=function(t){this.beans=t,this.createRowNodes()},e.prototype.getStartRow=function(){return this.startRow},e.prototype.getEndRow=function(){return this.endRow},e.prototype.getBlockNumber=function(){return this.blockNumber},e.prototype.setDirty=function(){this.version++,this.state=e.STATE_DIRTY},e.prototype.setDirtyAndPurge=function(){this.setDirty(),this.rowNodes.forEach((function(t){t.setData(null)}))},e.prototype.getState=function(){return this.state},e.prototype.setRowNode=function(t,e){var o=t-this.startRow;this.rowNodes[o]=e},e.prototype.setBlankRowNode=function(t){var e=t-this.startRow,o=this.createBlankRowNode(t);return this.rowNodes[e]=o,o},e.prototype.setNewData=function(t,e){var o=this.setBlankRowNode(t);return this.setDataAndId(o,e,this.startRow+t),o},e.prototype.createBlankRowNode=function(t){var e=new s.RowNode;return this.beans.context.wireBean(e),e.setRowHeight(this.rowNodeCacheParams.rowHeight),e},e.prototype.createRowNodes=function(){this.rowNodes=[];for(var t=0;t<this.rowNodeCacheParams.blockSize;t++){var e=this.startRow+t,o=this.createBlankRowNode(e);this.rowNodes.push(o)}},e.prototype.load=function(){this.state=e.STATE_LOADING,this.loadFromDatasource()},e.prototype.pageLoadFailed=function(){this.state=e.STATE_FAILED;var t={type:e.EVENT_LOAD_COMPLETE,success:!1,page:this,lastRow:null};this.dispatchEvent(t)},e.prototype.populateWithRowData=function(t){var e=this,o=[];this.rowNodes.forEach((function(i,n){var r=t[n];i.stub&&o.push(i),e.setDataAndId(i,r,e.startRow+n)})),o.length>0&&this.beans.rowRenderer.redrawRows(o)},e.prototype.destroy=function(){t.prototype.destroy.call(this),this.rowNodes.forEach((function(t){t.childrenCache&&(t.childrenCache.destroy(),t.childrenCache=null),t.clearRowTop()}))},e.prototype.pageLoaded=function(t,o,i){t===this.version&&(this.state=e.STATE_LOADED,this.populateWithRowData(o)),i=r._.cleanNumber(i);var n={type:e.EVENT_LOAD_COMPLETE,success:!0,page:this,lastRow:i};this.dispatchEvent(n)},e.EVENT_LOAD_COMPLETE="loadComplete",e.STATE_DIRTY="dirty",e.STATE_LOADING="loading",e.STATE_LOADED="loaded",e.STATE_FAILED="failed",e}(o(8534).BeanStub);e.RowNodeBlock=a},44504:(t,e,o)=>{var i=o(66840),n=o(10848),r=o(36802),s=o(30896),a=o(76966),l=[].slice;function p(t,e){if(e||(e={}),e.model&&(this.model=e.model),e.comparator&&(this.comparator=e.comparator),e.parent&&(this.parent=e.parent),!this.mainIndex){var o=this.model&&this.model.prototype&&this.model.prototype.idAttribute;this.mainIndex=o||"id"}this._reset(),this.initialize.apply(this,arguments),t&&this.reset(t,a({silent:!0},e))}a(p.prototype,i,{initialize:function(){},isModel:function(t){return this.model&&t instanceof this.model},add:function(t,e){return this.set(t,a({merge:!1,add:!0,remove:!1},e))},parse:function(t,e){return t},serialize:function(){return this.map((function(t){if(t.serialize)return t.serialize();var e={};return a(e,t),delete e.collection,e}))},toJSON:function(){return this.serialize()},set:function(t,e){(e=a({add:!0,remove:!0,merge:!0},e)).parse&&(t=this.parse(t,e));var o,i,n,s,l,p,u,c=!r(t);t=c?t?[t]:[]:t.slice();var d=e.at,h=this.comparator&&null==d&&!1!==e.sort,f="string"==typeof this.comparator?this.comparator:null,g=[],y=[],m={},v=e.add,C=e.merge,E=e.remove,w=!(h||!v||!E)&&[],_=this.model&&this.model.prototype||Object.prototype;for(p=0,u=t.length;p<u;p++){if(n=t[p]||{},this.isModel(n)?o=i=n:_.generateId?o=_.generateId(n):void 0===(o=n[this.mainIndex])&&this._isDerivedIndex(_)&&(o=_._derived[this.mainIndex].fn.call(n)),s=this.get(o))E&&(m[s.cid||s[this.mainIndex]]=!0),C&&(n=n===i?i.attributes:n,e.parse&&(n=s.parse(n,e)),s.set?(s.set(n,e),h&&!l&&s.hasChanged(f)&&(l=!0)):a(s,n)),t[p]=s;else if(v){if(!(i=t[p]=this._prepareModel(n,e)))continue;g.push(i),this._addReference(i,e)}(i=s||i)&&(w&&(i.isNew&&i.isNew()||!i[this.mainIndex]||!m[i.cid||i[this.mainIndex]])&&w.push(i),m[i[this.mainIndex]]=!0)}if(E){for(p=0,u=this.length;p<u;p++)m[(i=this.models[p]).cid||i[this.mainIndex]]||y.push(i);for(y.length&&this.remove(y,e),p=0,u=g.length;p<u;p++)this._index(g[p])}if(g.length||w&&w.length)if(h&&(l=!0),null!=d)for(p=0,u=g.length;p<u;p++)this.models.splice(d+p,0,g[p]);else{var S=w||g;for(p=0,u=S.length;p<u;p++)this.models.push(S[p])}if(l&&this.sort({silent:!0}),!e.silent){for(p=0,u=g.length;p<u;p++)(i=g[p]).trigger?i.trigger("add",i,this,e):this.trigger("add",i,this,e);(l||w&&w.length)&&this.trigger("sort",this,e)}return c?t[0]:t},get:function(t,e){if(null!=t){var o=this.mainIndex,i=this._indexes[e||o];return i&&(i[t]||void 0!==t[o]&&i[t[o]])||this._indexes.cid[t]||this._indexes.cid[t.cid]}},at:function(t){return this.models[t]},remove:function(t,e){var o,i,n,s,a=!r(t);for(e||(e={}),o=0,i=(t=a?[t]:l.call(t)).length;o<i;o++)(n=t[o]=this.get(t[o]))&&(this._deIndex(n),s=this.models.indexOf(n),this.models.splice(s,1),e.silent||(e.index=s,n.trigger?n.trigger("remove",n,this,e):this.trigger("remove",n,this,e)),this._removeReference(n,e));return a?t[0]:t},reset:function(t,e){e||(e={});for(var o=0,i=this.models.length;o<i;o++)this._removeReference(this.models[o],e);return e.previousModels=this.models,this._reset(),t=this.add(t,a({silent:!0},e)),e.silent||this.trigger("reset",this,e),t},sort:function(t){var e=this;if(!this.comparator)throw new Error("Cannot sort a set without a comparator");return t||(t={}),"string"==typeof this.comparator?this.models.sort((function(t,o){return t.get?(t=t.get(e.comparator),o=o.get(e.comparator)):(t=t[e.comparator],o=o[e.comparator]),t>o||void 0===t?1:t<o||void 0===o?-1:0})):1===this.comparator.length?this.models.sort((function(t,o){return(t=e.comparator(t))>(o=e.comparator(o))||void 0===t?1:t<o||void 0===o?-1:0})):this.models.sort(s(this.comparator,this)),t.silent||this.trigger("sort",this,t),this},_reset:function(){var t=l.call(this.indexes||[]),e=0;t.push(this.mainIndex),t.push("cid");var o=t.length;for(this.models=[],this._indexes={};e<o;e++)this._indexes[t[e]]={}},_prepareModel:function(t,e){if(!this.model)return t;if(this.isModel(t))return t.collection||(t.collection=this),t;(e=e?a({},e):{}).collection=this;var o=new this.model(t,e);return o.validationError?(this.trigger("invalid",this,o.validationError,e),!1):o},_deIndex:function(t,e,o){var i;if(void 0===e)for(var n in this._indexes)i=t.hasOwnProperty(n)?t[n]:t.get&&t.get(n),delete this._indexes[n][i];else{if(void 0===this._indexes[e])throw new Error("Given attribute is not an index");delete this._indexes[e][o]}},_index:function(t,e){var o;if(void 0===e)for(var i in this._indexes)null!=(o=t.hasOwnProperty(i)?t[i]:t.get&&t.get(i))&&(this._indexes[i][o]=t);else{if(void 0===this._indexes[e])throw new Error("Given attribute is not an index");(o=t[e]||t.get&&t.get(e))&&(this._indexes[e][o]=t)}},_isDerivedIndex:function(t){return!(!t||"object"!=typeof t._derived)&&Object.keys(t._derived).indexOf(this.mainIndex)>=0},_addReference:function(t,e){this._index(t),t.collection||(t.collection=this),t.on&&t.on("all",this._onModelEvent,this)},_removeReference:function(t,e){this===t.collection&&delete t.collection,this._deIndex(t),t.off&&t.off("all",this._onModelEvent,this)},_onModelEvent:function(t,e,o,i){var n=t.split(":")[0],r=t.split(":")[1];("add"!==n&&"remove"!==n||o===this)&&("destroy"===n&&this.remove(e,i),e&&"change"===n&&r&&this._indexes[r]&&(this._deIndex(e,r,e.previousAttributes()[r]),this._index(e,r)),this.trigger.apply(this,arguments))}}),Object.defineProperties(p.prototype,{length:{get:function(){return this.models.length}},isCollection:{get:function(){return!0}}}),["indexOf","lastIndexOf","every","some","forEach","map","filter","reduce","reduceRight"].forEach((function(t){p.prototype[t]=function(){return this.models[t].apply(this.models,arguments)}})),p.prototype.each=p.prototype.forEach,p.extend=n,t.exports=p},44529:(t,e)=>{function o(t){return void 0===t&&(t=null),this.readOnly=!1,this.verifyATN=null===t||t.verifyATN,this.generateRuleBypassTransitions=null!==t&&t.generateRuleBypassTransitions,this}o.defaultOptions=new o,o.defaultOptions.readOnly=!0,e.$=o},44775:(t,e,o)=>{var i=e;i.bignum=o(60581),i.define=o(35228).define,i.base=o(55128),i.constants=o(67966),i.decoders=o(32868),i.encoders=o(81324)},44859:(t,e,o)=>{Object.defineProperty(e,"__esModule",{value:!0});var i=o(83423);e.defaultGroupComparator=function(t,e,o,n,r){void 0===r&&(r=!1),console.warn("ag-Grid: Since ag-grid 11.0.0 defaultGroupComparator is not necessary. You can remove this from your colDef");var s=i._.exists(o)&&o.group,a=i._.exists(n)&&n.group,l=!s&&!a;return s&&a?i._.defaultComparator(o.key,n.key,r):l?i._.defaultComparator(t,e,r):s?1:-1}},44871:function(t,e,o){var i=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},n=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r=o(98239),s=o(72493),a=function(){function t(){}return t.prototype.sizeColumnsToFit=function(t){this.columnController.sizeColumnsToFit(t,"api")},t.prototype.setColumnGroupOpened=function(t,e){this.columnController.setColumnGroupOpened(t,e,"api")},t.prototype.getColumnGroup=function(t,e){return this.columnController.getColumnGroup(t,e)},t.prototype.getOriginalColumnGroup=function(t){return this.columnController.getOriginalColumnGroup(t)},t.prototype.getDisplayNameForColumn=function(t,e){return this.columnController.getDisplayNameForColumn(t,e)},t.prototype.getDisplayNameForColumnGroup=function(t,e){return this.columnController.getDisplayNameForColumnGroup(t,e)},t.prototype.getColumn=function(t){return this.columnController.getPrimaryColumn(t)},t.prototype.setColumnState=function(t){return this.columnController.setColumnState(t,!1,"api")},t.prototype.getColumnState=function(){return this.columnController.getColumnState()},t.prototype.resetColumnState=function(){this.columnController.resetColumnState(!1,"api")},t.prototype.getColumnGroupState=function(){return this.columnController.getColumnGroupState()},t.prototype.setColumnGroupState=function(t){this.columnController.setColumnGroupState(t,"api")},t.prototype.resetColumnGroupState=function(){this.columnController.resetColumnGroupState("api")},t.prototype.isPinning=function(){return this.columnController.isPinningLeft()||this.columnController.isPinningRight()},t.prototype.isPinningLeft=function(){return this.columnController.isPinningLeft()},t.prototype.isPinningRight=function(){return this.columnController.isPinningRight()},t.prototype.getDisplayedColAfter=function(t){return this.columnController.getDisplayedColAfter(t)},t.prototype.getDisplayedColBefore=function(t){return this.columnController.getDisplayedColBefore(t)},t.prototype.setColumnVisible=function(t,e){this.columnController.setColumnVisible(t,e,"api")},t.prototype.setColumnsVisible=function(t,e){this.columnController.setColumnsVisible(t,e,"api")},t.prototype.setColumnPinned=function(t,e){this.columnController.setColumnPinned(t,e,"api")},t.prototype.setColumnsPinned=function(t,e){this.columnController.setColumnsPinned(t,e,"api")},t.prototype.getAllColumns=function(){return this.columnController.getAllPrimaryColumns()},t.prototype.getAllGridColumns=function(){return this.columnController.getAllGridColumns()},t.prototype.getDisplayedLeftColumns=function(){return this.columnController.getDisplayedLeftColumns()},t.prototype.getDisplayedCenterColumns=function(){return this.columnController.getDisplayedCenterColumns()},t.prototype.getDisplayedRightColumns=function(){return this.columnController.getDisplayedRightColumns()},t.prototype.getAllDisplayedColumns=function(){return this.columnController.getAllDisplayedColumns()},t.prototype.getAllDisplayedVirtualColumns=function(){return this.columnController.getAllDisplayedVirtualColumns()},t.prototype.moveColumn=function(t,e){"number"==typeof t?(console.warn("ag-Grid: you are using moveColumn(fromIndex, toIndex) - moveColumn takes a column key and a destination index, not two indexes, to move with indexes use moveColumnByIndex(from,to) instead"),this.columnController.moveColumnByIndex(t,e,"api")):this.columnController.moveColumn(t,e,"api")},t.prototype.moveColumnByIndex=function(t,e){this.columnController.moveColumnByIndex(t,e,"api")},t.prototype.moveColumns=function(t,e){this.columnController.moveColumns(t,e,"api")},t.prototype.moveRowGroupColumn=function(t,e){this.columnController.moveRowGroupColumn(t,e)},t.prototype.setColumnAggFunc=function(t,e){this.columnController.setColumnAggFunc(t,e)},t.prototype.setColumnWidth=function(t,e,o){void 0===o&&(o=!0),this.columnController.setColumnWidth(t,e,!1,o)},t.prototype.setPivotMode=function(t){this.columnController.setPivotMode(t)},t.prototype.isPivotMode=function(){return this.columnController.isPivotMode()},t.prototype.getSecondaryPivotColumn=function(t,e){return this.columnController.getSecondaryPivotColumn(t,e)},t.prototype.setValueColumns=function(t){this.columnController.setValueColumns(t,"api")},t.prototype.getValueColumns=function(){return this.columnController.getValueColumns()},t.prototype.removeValueColumn=function(t){this.columnController.removeValueColumn(t,"api")},t.prototype.removeValueColumns=function(t){this.columnController.removeValueColumns(t,"api")},t.prototype.addValueColumn=function(t){this.columnController.addValueColumn(t,"api")},t.prototype.addValueColumns=function(t){this.columnController.addValueColumns(t,"api")},t.prototype.setRowGroupColumns=function(t){this.columnController.setRowGroupColumns(t,"api")},t.prototype.removeRowGroupColumn=function(t){this.columnController.removeRowGroupColumn(t,"api")},t.prototype.removeRowGroupColumns=function(t){this.columnController.removeRowGroupColumns(t,"api")},t.prototype.addRowGroupColumn=function(t){this.columnController.addRowGroupColumn(t,"api")},t.prototype.addRowGroupColumns=function(t){this.columnController.addRowGroupColumns(t,"api")},t.prototype.getRowGroupColumns=function(){return this.columnController.getRowGroupColumns()},t.prototype.setPivotColumns=function(t){this.columnController.setPivotColumns(t,"api")},t.prototype.removePivotColumn=function(t){this.columnController.removePivotColumn(t,"api")},t.prototype.removePivotColumns=function(t){this.columnController.removePivotColumns(t,"api")},t.prototype.addPivotColumn=function(t){this.columnController.addPivotColumn(t,"api")},t.prototype.addPivotColumns=function(t){this.columnController.addPivotColumns(t,"api")},t.prototype.getPivotColumns=function(){return this.columnController.getPivotColumns()},t.prototype.getLeftDisplayedColumnGroups=function(){return this.columnController.getLeftDisplayedColumnGroups()},t.prototype.getCenterDisplayedColumnGroups=function(){return this.columnController.getCenterDisplayedColumnGroups()},t.prototype.getRightDisplayedColumnGroups=function(){return this.columnController.getRightDisplayedColumnGroups()},t.prototype.getAllDisplayedColumnGroups=function(){return this.columnController.getAllDisplayedColumnGroups()},t.prototype.autoSizeColumn=function(t){return this.columnController.autoSizeColumn(t,"api")},t.prototype.autoSizeColumns=function(t){return this.columnController.autoSizeColumns(t,"api")},t.prototype.autoSizeAllColumns=function(){this.columnController.autoSizeAllColumns("api")},t.prototype.setSecondaryColumns=function(t){this.columnController.setSecondaryColumns(t,"api")},t.prototype.getSecondaryColumns=function(){return this.columnController.getSecondaryColumns()},t.prototype.getPrimaryColumns=function(){return this.columnController.getAllPrimaryColumns()},t.prototype.columnGroupOpened=function(t,e){console.error("ag-Grid: columnGroupOpened no longer exists, use setColumnGroupOpened"),this.setColumnGroupOpened(t,e)},t.prototype.hideColumns=function(t,e){console.error("ag-Grid: hideColumns is deprecated, use setColumnsVisible"),this.columnController.setColumnsVisible(t,!e,"api")},t.prototype.hideColumn=function(t,e){console.error("ag-Grid: hideColumn is deprecated, use setColumnVisible"),this.columnController.setColumnVisible(t,!e,"api")},t.prototype.setState=function(t){return console.error("ag-Grid: setState is deprecated, use setColumnState"),this.setColumnState(t)},t.prototype.getState=function(){return console.error("ag-Grid: getState is deprecated, use getColumnState"),this.getColumnState()},t.prototype.resetState=function(){console.error("ag-Grid: resetState is deprecated, use resetColumnState"),this.resetColumnState()},t.prototype.getAggregationColumns=function(){return console.error("ag-Grid: getAggregationColumns is deprecated, use getValueColumns"),this.columnController.getValueColumns()},t.prototype.removeAggregationColumn=function(t){console.error("ag-Grid: removeAggregationColumn is deprecated, use removeValueColumn"),this.columnController.removeValueColumn(t,"api")},t.prototype.removeAggregationColumns=function(t){console.error("ag-Grid: removeAggregationColumns is deprecated, use removeValueColumns"),this.columnController.removeValueColumns(t,"api")},t.prototype.addAggregationColumn=function(t){console.error("ag-Grid: addAggregationColumn is deprecated, use addValueColumn"),this.columnController.addValueColumn(t,"api")},t.prototype.addAggregationColumns=function(t){console.error("ag-Grid: addAggregationColumns is deprecated, use addValueColumns"),this.columnController.addValueColumns(t,"api")},t.prototype.setColumnAggFunction=function(t,e){console.error("ag-Grid: setColumnAggFunction is deprecated, use setColumnAggFunc"),this.columnController.setColumnAggFunc(t,e,"api")},t.prototype.getDisplayNameForCol=function(t){return console.error("ag-Grid: getDisplayNameForCol is deprecated, use getDisplayNameForColumn"),this.getDisplayNameForColumn(t,null)},i([s.Autowired("columnController"),n("design:type",r.ColumnController)],t.prototype,"columnController",void 0),i([s.Bean("columnApi")],t)}();e.ColumnApi=a},45697:function(t,e,o){var i,n=this&&this.__extends||(i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},i(t,e)},function(t,e){function o(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),r=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},s=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var a,l=o(44081),p=o(72493),u=o(22131),c=o(85910),d=o(47721),h=o(83423);!function(t){t[t.Loading=0]="Loading",t[t.NoRows=1]="NoRows"}(a||(a={}));var f=function(t){function e(){return t.call(this,e.TEMPLATE)||this}return n(e,t),e.prototype.postConstruct=function(){this.gridOptionsWrapper.addLayoutElement(this.eOverlayWrapper),this.setVisible(!1)},e.prototype.setWrapperTypeClass=function(t){h._.addOrRemoveCssClass(this.eOverlayWrapper,"ag-overlay-loading-wrapper",t===a.Loading),h._.addOrRemoveCssClass(this.eOverlayWrapper,"ag-overlay-no-rows-wrapper",t===a.NoRows)},e.prototype.showLoadingOverlay=function(){var t=this;this.setWrapperTypeClass(a.Loading),this.destroyActiveOverlay();var e={api:this.gridOptionsWrapper.getApi()};this.userComponentFactory.newLoadingOverlayComponent(e).then((function(e){t.eOverlayWrapper.appendChild(e.getGui()),t.activeOverlay=e})),this.setVisible(!0)},e.prototype.showNoRowsOverlay=function(){var t=this;this.setWrapperTypeClass(a.NoRows),this.destroyActiveOverlay();var e={api:this.gridOptionsWrapper.getApi()};this.userComponentFactory.newNoRowsOverlayComponent(e).then((function(e){t.eOverlayWrapper.appendChild(e.getGui()),t.activeOverlay=e})),this.setVisible(!0)},e.prototype.destroyActiveOverlay=function(){this.activeOverlay&&(this.activeOverlay.destroy&&this.activeOverlay.destroy(),this.activeOverlay=void 0,h._.clearElement(this.eOverlayWrapper))},e.prototype.hideOverlay=function(){this.destroyActiveOverlay(),this.setVisible(!1)},e.prototype.destroy=function(){t.prototype.destroy.call(this),this.destroyActiveOverlay()},e.TEMPLATE='<div class="ag-overlay">\n <div class="ag-overlay-panel" role="presentation">\n <div class="ag-overlay-wrapper" ref="eOverlayWrapper"></div>\n </div>\n </div>',r([p.Autowired("gridOptionsWrapper"),s("design:type",l.GridOptionsWrapper)],e.prototype,"gridOptionsWrapper",void 0),r([p.Autowired("userComponentFactory"),s("design:type",c.UserComponentFactory)],e.prototype,"userComponentFactory",void 0),r([d.RefSelector("eOverlayWrapper"),s("design:type",HTMLElement)],e.prototype,"eOverlayWrapper",void 0),r([p.PostConstruct,s("design:type",Function),s("design:paramtypes",[]),s("design:returntype",void 0)],e.prototype,"postConstruct",null),e}(u.Component);e.OverlayWrapperComponent=f},45727:(t,e)=>{Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(){}return t.STEP_EVERYTHING=0,t.STEP_FILTER=1,t.STEP_SORT=2,t.STEP_MAP=3,t.STEP_AGGREGATE=4,t.STEP_PIVOT=5,t.ROW_BUFFER_SIZE=10,t.LAYOUT_INTERVAL=500,t.BATCH_WAIT_MILLIS=50,t.EXPORT_TYPE_DRAG_COPY="dragCopy",t.EXPORT_TYPE_CLIPBOARD="clipboard",t.EXPORT_TYPE_EXCEL="excel",t.EXPORT_TYPE_CSV="csv",t.KEY_BACKSPACE=8,t.KEY_TAB=9,t.KEY_NEW_LINE=10,t.KEY_ENTER=13,t.KEY_SHIFT=16,t.KEY_ESCAPE=27,t.KEY_SPACE=32,t.KEY_LEFT=37,t.KEY_UP=38,t.KEY_RIGHT=39,t.KEY_DOWN=40,t.KEY_DELETE=46,t.KEY_A=65,t.KEY_C=67,t.KEY_V=86,t.KEY_D=68,t.KEY_F2=113,t.KEY_PAGE_UP=33,t.KEY_PAGE_DOWN=34,t.KEY_PAGE_HOME=36,t.KEY_PAGE_END=35,t.ROW_MODEL_TYPE_INFINITE="infinite",t.ROW_MODEL_TYPE_VIEWPORT="viewport",t.ROW_MODEL_TYPE_CLIENT_SIDE="clientSide",t.ROW_MODEL_TYPE_SERVER_SIDE="serverSide",t.DEPRECATED_ROW_MODEL_TYPE_NORMAL="normal",t.ALWAYS="always",t.ONLY_WHEN_GROUPING="onlyWhenGrouping",t.PINNED_TOP="top",t.PINNED_BOTTOM="bottom",t.DOM_LAYOUT_NORMAL="normal",t.DOM_LAYOUT_PRINT="print",t.DOM_LAYOUT_AUTO_HEIGHT="autoHeight",t.GROUP_AUTO_COLUMN_ID="ag-Grid-AutoColumn",t}();e.Constants=o},46379:function(t,e,o){var i,n=this&&this.__extends||(i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},i(t,e)},function(t,e){function o(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)});Object.defineProperty(e,"__esModule",{value:!0});var r=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.isPopup=function(){return!0},e}(o(22131).Component);e.PopupComponent=r},47008:(t,e,o)=>{Object.defineProperty(e,"__esModule",{value:!0});var i=void 0===o.g?{}:o.g;i.HTMLElement="undefined"==typeof HTMLElement?{}:HTMLElement,i.HTMLButtonElement="undefined"==typeof HTMLButtonElement?{}:HTMLButtonElement,i.HTMLSelectElement="undefined"==typeof HTMLSelectElement?{}:HTMLSelectElement,i.HTMLInputElement="undefined"==typeof HTMLInputElement?{}:HTMLInputElement,i.Node="undefined"==typeof Node?{}:Node,i.MouseEvent="undefined"==typeof MouseEvent?{}:MouseEvent;var n=o(7897);e.ColumnFactory=n.ColumnFactory;var r=o(98239);e.ColumnController=r.ColumnController;var s=o(69734);e.ColumnKeyCreator=s.ColumnKeyCreator;var a=o(814);e.ColumnUtils=a.ColumnUtils;var l=o(31887);e.DisplayedGroupCreator=l.DisplayedGroupCreator;var p=o(12598);e.GroupInstanceIdCreator=p.GroupInstanceIdCreator;var u=o(97156);e.ComponentUtil=u.ComponentUtil;var c=o(80834);e.ColDefUtil=c.ColDefUtil;var d=o(36777);e.UserComponentRegistry=d.UserComponentRegistry;var h=o(85910);e.UserComponentFactory=h.UserComponentFactory;var f=o(75013);e.initialiseAgGridWithAngular1=f.initialiseAgGridWithAngular1;var g=o(61862);e.initialiseAgGridWithWebComponents=g.initialiseAgGridWithWebComponents;var y=o(8534);e.BeanStub=y.BeanStub;var m=o(72493);e.Context=m.Context,e.Autowired=m.Autowired,e.PostConstruct=m.PostConstruct,e.PreConstruct=m.PreConstruct,e.Optional=m.Optional,e.Bean=m.Bean,e.Qualifier=m.Qualifier,e.PreDestroy=m.PreDestroy;var v=o(47721);e.QuerySelector=v.QuerySelector,e.Listener=v.Listener,e.RefSelector=v.RefSelector;var C=o(58342);e.DragAndDropService=C.DragAndDropService,e.DragSourceType=C.DragSourceType,e.HDirection=C.HDirection,e.VDirection=C.VDirection;var E=o(25230);e.DragService=E.DragService;var w=o(26016);e.Column=w.Column;var _=o(74517);e.ColumnGroup=_.ColumnGroup;var S=o(34782);e.GridCell=S.GridCell;var b=o(3976);e.GridRow=b.GridRow;var R=o(72948);e.OriginalColumnGroup=R.OriginalColumnGroup;var O=o(15068);e.RowNode=O.RowNode;var T=o(13650);e.BaseFilter=T.BaseFilter;var A=o(34255);e.DateFilter=A.DateFilter;var P=o(55e3);e.FilterManager=P.FilterManager;var D=o(92378);e.NumberFilter=D.NumberFilter;var x=o(99104);e.TextFilter=x.TextFilter;var N=o(64229);e.GridPanel=N.GridPanel;var F=o(13887);e.ScrollVisibleService=F.ScrollVisibleService;var I=o(1571);e.MouseEventService=I.MouseEventService;var L=o(20080);e.BodyDropPivotTarget=L.BodyDropPivotTarget;var M=o(69992);e.BodyDropTarget=M.BodyDropTarget;var k=o(34506);e.CssClassApplier=k.CssClassApplier;var G=o(40706);e.HeaderContainer=G.HeaderContainer;var V=o(89929);e.HeaderRootComp=V.HeaderRootComp;var W=o(15774);e.HeaderRowComp=W.HeaderRowComp;var H=o(97177);e.HorizontalResizeService=H.HorizontalResizeService;var B=o(27887);e.MoveColumnController=B.MoveColumnController;var j=o(42726);e.StandardMenuFactory=j.StandardMenuFactory;var U=o(88333);e.TabbedLayout=U.TabbedLayout;var z=o(72955);e.VerticalStack=z.VerticalStack;var Y=o(7760);e.simpleHttpRequest=Y.simpleHttpRequest;var K=o(49281);e.LargeTextCellEditor=K.LargeTextCellEditor;var q=o(15724);e.PopupEditorWrapper=q.PopupEditorWrapper;var $=o(31923);e.PopupSelectCellEditor=$.PopupSelectCellEditor;var Q=o(5448);e.PopupTextCellEditor=Q.PopupTextCellEditor;var X=o(84715);e.SelectCellEditor=X.SelectCellEditor;var Z=o(71616);e.TextCellEditor=Z.TextCellEditor;var J=o(15959);e.AnimateShowChangeCellRenderer=J.AnimateShowChangeCellRenderer;var tt=o(30811);e.AnimateSlideCellRenderer=tt.AnimateSlideCellRenderer;var et=o(79886);e.GroupCellRenderer=et.GroupCellRenderer;var ot=o(38152);e.SetLeftFeature=ot.SetLeftFeature;var it=o(41832);e.AutoWidthCalculator=it.AutoWidthCalculator;var nt=o(34470);e.CellRendererFactory=nt.CellRendererFactory;var rt=o(95125);e.CheckboxSelectionComponent=rt.CheckboxSelectionComponent;var st=o(23054);e.CellComp=st.CellComp;var at=o(19378);e.RowComp=at.RowComp;var lt=o(10042);e.RowRenderer=lt.RowRenderer;var pt=o(93121);e.ValueFormatterService=pt.ValueFormatterService;var ut=o(24048);e.FilterStage=ut.FilterStage;var ct=o(57498);e.FlattenStage=ct.FlattenStage;var dt=o(18954);e.SortStage=dt.SortStage;var ht=o(50580);e.PinnedRowModel=ht.PinnedRowModel;var ft=o(719);e.ClientSideRowModel=ft.ClientSideRowModel;var gt=o(68363);e.ChangedPath=gt.ChangedPath;var yt=o(28771);e.ClientSideNodeManager=yt.ClientSideNodeManager;var mt=o(30971);e.InfiniteRowModel=mt.InfiniteRowModel;var vt=o(44329);e.RowNodeBlock=vt.RowNodeBlock;var Ct=o(84210);e.RowNodeBlockLoader=Ct.RowNodeBlockLoader;var Et=o(41451);e.PaginationProxy=Et.PaginationProxy;var wt=o(65802);e.RowNodeCache=wt.RowNodeCache;var _t=o(66490);e.StylingService=_t.StylingService;var St=o(21951);e.AgCheckbox=St.AgCheckbox;var bt=o(32090);e.PopupWindow=bt.PopupWindow;var Rt=o(57322);e.PopupMessageBox=Rt.PopupMessageBox;var Ot=o(22131);e.Component=Ot.Component;var Tt=o(46379);e.PopupComponent=Tt.PopupComponent;var At=o(73575);e.PopupService=At.PopupService;var Pt=o(66419);e.TouchListener=Pt.TouchListener;var Dt=o(43460);e.CsvCreator=Dt.CsvCreator,e.BaseCreator=Dt.BaseCreator;var xt=o(33467);e.Downloader=xt.Downloader;var Nt=o(59873);e.XmlFactory=Nt.XmlFactory;var Ft=o(42664);e.BaseGridSerializingSession=Ft.BaseGridSerializingSession,e.GridSerializer=Ft.GridSerializer;var It=o(42664);e.RowType=It.RowType;var Lt=o(9018);e.ZipContainer=Lt.ZipContainer;var Mt=o(86895);e.BaseFrameworkFactory=Mt.BaseFrameworkFactory;var kt=o(38427);e.CellNavigationService=kt.CellNavigationService;var Gt=o(10190);e.AlignedGridsService=Gt.AlignedGridsService;var Vt=o(45727);e.Constants=Vt.Constants;var Wt=o(65360);e.Grid=Wt.Grid;var Ht=o(40797);e.GridApi=Ht.GridApi;var Bt=o(85222);e.Events=Bt.Events;var jt=o(42195);e.FocusedCellController=jt.FocusedCellController;var Ut=o(44859);e.defaultGroupComparator=Ut.defaultGroupComparator;var zt=o(44081);e.GridOptionsWrapper=zt.GridOptionsWrapper;var Yt=o(60843);e.EventService=Yt.EventService;var Kt=o(4889);e.SelectableService=Kt.SelectableService;var qt=o(81999);e.GridCore=qt.GridCore;var $t=o(37132);e.Logger=$t.Logger;var Qt=o(54828);e.SelectionController=Qt.SelectionController;var Xt=o(86608);e.SortController=Xt.SortController;var Zt=o(92427);e.TemplateService=Zt.TemplateService;var Jt=o(83423);e.Utils=Jt.Utils,e.NumberSequence=Jt.NumberSequence,e._=Jt._,e.Promise=Jt.Promise;var te=o(24463);e.ValueService=te.ValueService;var ee=o(40634);e.ExpressionService=ee.ExpressionService;var oe=o(37132);e.LoggerFactory=oe.LoggerFactory;var ie=o(44871);e.ColumnApi=ie.ColumnApi;var ne=o(52814);e.BaseComponentWrapper=ne.BaseComponentWrapper;var re=o(59007);e.Environment=re.Environment;var se=o(39984);e.TooltipManager=se.TooltipManager},47375:(t,e,o)=>{var i=o(72994).Token;function n(t,e){return this.name="<empty>",this.strdata=t,this.decodeToUnicodeCodePoints=e||!1,function(t){if(t._index=0,t.data=[],t.decodeToUnicodeCodePoints)for(var e=0;e<t.strdata.length;){var o=t.strdata.codePointAt(e);t.data.push(o),e+=o<=65535?1:2}else for(e=0;e<t.strdata.length;e++){var i=t.strdata.charCodeAt(e);t.data.push(i)}t._size=t.data.length}(this),this}o(51184),o(59198),Object.defineProperty(n.prototype,"index",{get:function(){return this._index}}),Object.defineProperty(n.prototype,"size",{get:function(){return this._size}}),n.prototype.reset=function(){this._index=0},n.prototype.consume=function(){if(this._index>=this._size)throw"cannot consume EOF";this._index+=1},n.prototype.LA=function(t){if(0===t)return 0;t<0&&(t+=1);var e=this._index+t-1;return e<0||e>=this._size?i.EOF:this.data[e]},n.prototype.LT=function(t){return this.LA(t)},n.prototype.mark=function(){return-1},n.prototype.release=function(t){},n.prototype.seek=function(t){t<=this._index?this._index=t:this._index=Math.min(t,this._size)},n.prototype.getText=function(t,e){if(e>=this._size&&(e=this._size-1),t>=this._size)return"";if(this.decodeToUnicodeCodePoints){for(var o="",i=t;i<=e;i++)o+=String.fromCodePoint(this.data[i]);return o}return this.strdata.slice(t,e+1)},n.prototype.toString=function(){return this.strdata},e.InputStream=n},47721:(t,e)=>{function o(t,e,o,i){null!==t?"number"!=typeof i?r(e,"querySelectors",{attributeName:o,querySelector:t}):console.error("ag-Grid: QuerySelector should be on an attribute"):console.error("ag-Grid: QuerySelector selector should not be null")}function i(t,e,o){null!==t?r(e,"listenerMethods",{methodName:o,eventName:t}):console.error("ag-Grid: EventListener eventName should not be null")}function n(t,e,o){null!==t?r(e,"methods",{methodName:o,alias:t}):console.error("ag-Grid: EventListener eventName should not be null")}function r(t,e,o){var i=function(t,e){return t.__agComponentMetaData||(t.__agComponentMetaData={}),t.__agComponentMetaData[e]||(t.__agComponentMetaData[e]={}),t.__agComponentMetaData[e]}(t,t.constructor.name);i[e]||(i[e]=[]),i[e].push(o)}Object.defineProperty(e,"__esModule",{value:!0}),e.QuerySelector=function(t){return o.bind(this,t)},e.RefSelector=function(t){return o.bind(this,"[ref="+t+"]")},e.Listener=function(t){return i.bind(this,t)},e.Method=function(t){return n.bind(this,t)}},47991:(t,e,o)=>{e.X6=void 0,e.qg=a;const i=o(84537),n=o(59883),r=o(24165),s=o(17677);function a(t,e){const o=(0,s.buildOptions)(e),{hasComments:a,ast:l}=function(t){let e=!1;return{ast:(0,i.parse)(t,{ecmaVersion:6,onComment:()=>e=!0,locations:!0,ranges:!0,sourceFile:t}),hasComments:e}}(`(\n${t}\n)`);return a&&!o.allowComments||!(0,n.checkTree)(l,o)?"":(0,r.executeAST)(l)}Object.defineProperty(e,"X6",{enumerable:!0,get:function(){return s.ParseMode}}),e.Ay=a},48011:function(t,e,o){var i=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},n=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r=o(72493),s=o(44081),a=o(83423),l=function(){function t(t){this.childCount=0,this.rowTemplatesToAdd=[],this.afterGuiAttachedCallbacks=[],this.lastMadeVisibleTime=0,this.eContainer=t.eContainer,this.eViewport=t.eViewport,t.eWrapper&&(this.eWrapper=t.eWrapper),this.hideWhenNoChildren=t.hideWhenNoChildren}return t.prototype.setVerticalScrollPosition=function(t){this.scrollTop=t},t.prototype.postConstruct=function(){this.checkDomOrder(),this.checkVisibility(),this.gridOptionsWrapper.addEventListener(s.GridOptionsWrapper.PROP_DOM_LAYOUT,this.checkDomOrder.bind(this))},t.prototype.checkDomOrder=function(){this.domOrder=this.gridOptionsWrapper.isEnsureDomOrder()},t.prototype.getRowElement=function(t){return this.eContainer.querySelector('[comp-id="'+t+'"]')},t.prototype.setHeight=function(t){null!=t?(this.eContainer.style.height=t+"px",this.eWrapper&&(this.eWrapper.style.height=t+"px")):this.eContainer.style.height=""},t.prototype.flushRowTemplates=function(){if(0!==this.rowTemplatesToAdd.length){var t=this.rowTemplatesToAdd.join("");a._.appendHtml(this.eContainer,t),this.rowTemplatesToAdd.length=0}this.afterGuiAttachedCallbacks.forEach((function(t){return t()})),this.afterGuiAttachedCallbacks.length=0,this.lastPlacedElement=null},t.prototype.appendRowTemplate=function(t,e){this.domOrder?this.lastPlacedElement=a._.insertTemplateWithDomOrder(this.eContainer,t,this.lastPlacedElement):this.rowTemplatesToAdd.push(t),this.afterGuiAttachedCallbacks.push(e),this.childCount++,this.checkVisibility()},t.prototype.ensureDomOrder=function(t){this.domOrder&&(a._.ensureDomOrder(this.eContainer,t,this.lastPlacedElement),this.lastPlacedElement=t)},t.prototype.removeRowElement=function(t){this.eContainer.removeChild(t),this.childCount--,this.checkVisibility()},t.prototype.checkVisibility=function(){if(this.hideWhenNoChildren){var t=this.eViewport?this.eViewport:this.eContainer,e=this.childCount>0;this.visible!==e&&(this.visible=e,this.lastMadeVisibleTime=(new Date).getTime(),a._.setVisible(t,e),e&&this.eViewport&&(this.eViewport.scrollTop=this.scrollTop))}},t.prototype.isMadeVisibleRecently=function(){return(new Date).getTime()-this.lastMadeVisibleTime<500},i([r.Autowired("gridOptionsWrapper"),n("design:type",s.GridOptionsWrapper)],t.prototype,"gridOptionsWrapper",void 0),i([r.PostConstruct,n("design:type",Function),n("design:paramtypes",[]),n("design:returntype",void 0)],t.prototype,"postConstruct",null),t}();e.RowContainerComponent=l},48110:(t,e,o)=>{t.exports=function(t){function e(t){let o,n,r,s=null;function a(...t){if(!a.enabled)return;const i=a,n=Number(new Date),r=n-(o||n);i.diff=r,i.prev=o,i.curr=n,o=n,t[0]=e.coerce(t[0]),"string"!=typeof t[0]&&t.unshift("%O");let s=0;t[0]=t[0].replace(/%([a-zA-Z%])/g,((o,n)=>{if("%%"===o)return"%";s++;const r=e.formatters[n];if("function"==typeof r){const e=t[s];o=r.call(i,e),t.splice(s,1),s--}return o})),e.formatArgs.call(i,t),(i.log||e.log).apply(i,t)}return a.namespace=t,a.useColors=e.useColors(),a.color=e.selectColor(t),a.extend=i,a.destroy=e.destroy,Object.defineProperty(a,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==s?s:(n!==e.namespaces&&(n=e.namespaces,r=e.enabled(t)),r),set:t=>{s=t}}),"function"==typeof e.init&&e.init(a),a}function i(t,o){const i=e(this.namespace+(void 0===o?":":o)+t);return i.log=this.log,i}function n(t,e){let o=0,i=0,n=-1,r=0;for(;o<t.length;)if(i<e.length&&(e[i]===t[o]||"*"===e[i]))"*"===e[i]?(n=i,r=o,i++):(o++,i++);else{if(-1===n)return!1;i=n+1,r++,o=r}for(;i<e.length&&"*"===e[i];)i++;return i===e.length}return e.debug=e,e.default=e,e.coerce=function(t){return t instanceof Error?t.stack||t.message:t},e.disable=function(){const t=[...e.names,...e.skips.map((t=>"-"+t))].join(",");return e.enable(""),t},e.enable=function(t){e.save(t),e.namespaces=t,e.names=[],e.skips=[];const o=("string"==typeof t?t:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(const t of o)"-"===t[0]?e.skips.push(t.slice(1)):e.names.push(t)},e.enabled=function(t){for(const o of e.skips)if(n(t,o))return!1;for(const o of e.names)if(n(t,o))return!0;return!1},e.humanize=o(82630),e.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(t).forEach((o=>{e[o]=t[o]})),e.names=[],e.skips=[],e.formatters={},e.selectColor=function(t){let o=0;for(let e=0;e<t.length;e++)o=(o<<5)-o+t.charCodeAt(e),o|=0;return e.colors[Math.abs(o)%e.colors.length]},e.enable(e.load()),e}},48898:(t,e,o)=>{var i=o(72994).Token,n=o(70040).Interval,r=new n(-1,-2);function s(){return this}function a(){return s.call(this),this}function l(){return a.call(this),this}function p(){return l.call(this),this}function u(){return l.call(this),this}function c(){return u.call(this),this}function d(){return this}function h(){return this}function f(t){return u.call(this),this.parentCtx=null,this.symbol=t,this}function g(t){return f.call(this,t),this}function y(){return this}o(66346),a.prototype=Object.create(s.prototype),a.prototype.constructor=a,l.prototype=Object.create(a.prototype),l.prototype.constructor=l,p.prototype=Object.create(l.prototype),p.prototype.constructor=p,u.prototype=Object.create(l.prototype),u.prototype.constructor=u,c.prototype=Object.create(u.prototype),c.prototype.constructor=c,d.prototype.visit=function(t){return Array.isArray(t)?t.map((function(t){return t.accept(this)}),this):t.accept(this)},d.prototype.visitChildren=function(t){return t.children?this.visit(t.children):null},d.prototype.visitTerminal=function(t){},d.prototype.visitErrorNode=function(t){},h.prototype.visitTerminal=function(t){},h.prototype.visitErrorNode=function(t){},h.prototype.enterEveryRule=function(t){},h.prototype.exitEveryRule=function(t){},f.prototype=Object.create(u.prototype),f.prototype.constructor=f,f.prototype.getChild=function(t){return null},f.prototype.getSymbol=function(){return this.symbol},f.prototype.getParent=function(){return this.parentCtx},f.prototype.getPayload=function(){return this.symbol},f.prototype.getSourceInterval=function(){if(null===this.symbol)return r;var t=this.symbol.tokenIndex;return new n(t,t)},f.prototype.getChildCount=function(){return 0},f.prototype.accept=function(t){return t.visitTerminal(this)},f.prototype.getText=function(){return this.symbol.text},f.prototype.toString=function(){return this.symbol.type===i.EOF?"<EOF>":this.symbol.text},g.prototype=Object.create(f.prototype),g.prototype.constructor=g,g.prototype.isErrorNode=function(){return!0},g.prototype.accept=function(t){return t.visitErrorNode(this)},y.prototype.walk=function(t,e){if(e instanceof c||void 0!==e.isErrorNode&&e.isErrorNode())t.visitErrorNode(e);else if(e instanceof u)t.visitTerminal(e);else{this.enterRule(t,e);for(var o=0;o<e.getChildCount();o++){var i=e.getChild(o);this.walk(t,i)}this.exitRule(t,e)}},y.prototype.enterRule=function(t,e){var o=e.getRuleContext();t.enterEveryRule(o),o.enterRule(t)},y.prototype.exitRule=function(t,e){var o=e.getRuleContext();o.exitRule(t),t.exitEveryRule(o)},y.DEFAULT=new y,e.RuleNode=p,e.ErrorNode=c,e.TerminalNode=u,e.ErrorNodeImpl=g,e.TerminalNodeImpl=f,e.ParseTreeListener=h,e.ParseTreeVisitor=d,e.ParseTreeWalker=y,e.INVALID_INTERVAL=r},48966:(t,e,o)=>{e.RecognitionException=o(86587).RecognitionException,e.NoViableAltException=o(86587).NoViableAltException,e.LexerNoViableAltException=o(86587).LexerNoViableAltException,e.InputMismatchException=o(86587).InputMismatchException,e.FailedPredicateException=o(86587).FailedPredicateException,e.DiagnosticErrorListener=o(58369).DiagnosticErrorListener,e.BailErrorStrategy=o(24429).BailErrorStrategy,e.ErrorListener=o(93343).ErrorListener},49281:function(t,e,o){var i,n=this&&this.__extends||(i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},i(t,e)},function(t,e){function o(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)});Object.defineProperty(e,"__esModule",{value:!0});var r=o(46379),s=o(45727),a=o(83423),l=function(t){function e(){return t.call(this,e.TEMPLATE)||this}return n(e,t),e.prototype.init=function(t){this.params=t,this.focusAfterAttached=t.cellStartedEdit,this.textarea=document.createElement("textarea"),this.textarea.maxLength=t.maxLength?t.maxLength:"200",this.textarea.cols=t.cols?t.cols:"60",this.textarea.rows=t.rows?t.rows:"10",a._.exists(t.value)&&(this.textarea.value=t.value.toString()),this.getGui().querySelector(".ag-large-textarea").appendChild(this.textarea),this.addGuiEventListener("keydown",this.onKeyDown.bind(this))},e.prototype.onKeyDown=function(t){var e=t.which||t.keyCode;(e==s.Constants.KEY_LEFT||e==s.Constants.KEY_UP||e==s.Constants.KEY_RIGHT||e==s.Constants.KEY_DOWN||t.shiftKey&&e==s.Constants.KEY_ENTER)&&t.stopPropagation()},e.prototype.afterGuiAttached=function(){this.focusAfterAttached&&this.textarea.focus()},e.prototype.getValue=function(){return this.params.parseValue(this.textarea.value)},e.TEMPLATE='<div class="ag-large-text" tabindex="0"><div class="ag-large-textarea"></div></div>',e}(r.PopupComponent);e.LargeTextCellEditor=l},49498:(t,e,o)=>{e.AgGridReact=o(83684).AgGridReact,o(85397).AgGridColumn},49871:(t,e,o)=>{e.atn=o(26597),e.codepointat=o(51184),e.dfa=o(16569),e.fromcodepoint=o(59198),e.tree=o(69036),e.error=o(48966),e.Token=o(72994).Token,e.CharStreams=o(21058).CharStreams,e.CommonToken=o(72994).CommonToken,e.InputStream=o(47375).InputStream,e.FileStream=o(4349).FileStream,e.CommonTokenStream=o(18949).CommonTokenStream,e.Lexer=o(18393).Lexer,e.Parser=o(36464).Parser;var i=o(10559);e.PredictionContextCache=i.PredictionContextCache,e.ParserRuleContext=o(29499).ParserRuleContext,e.Interval=o(70040).Interval,e.Utils=o(66346)},50298:function(t,e,o){var i,n=this&&this.__extends||(i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},i(t,e)},function(t,e){function o(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),r=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},s=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var a=o(44081),l=o(72493),p=function(t){function e(){return t.call(this)||this}return n(e,t),e.prototype.init=function(t){var o=this.gridOptionsWrapper.getOverlayNoRowsTemplate()?this.gridOptionsWrapper.getOverlayNoRowsTemplate():e.DEFAULT_NO_ROWS_TEMPLATE,i=this.gridOptionsWrapper.getLocaleTextFunc(),n=o.replace("[NO_ROWS_TO_SHOW]",i("noRowsToShow","No Rows To Show"));this.setTemplate(n)},e.DEFAULT_NO_ROWS_TEMPLATE='<span class="ag-overlay-no-rows-center">[NO_ROWS_TO_SHOW]</span>',r([l.Autowired("gridOptionsWrapper"),s("design:type",a.GridOptionsWrapper)],e.prototype,"gridOptionsWrapper",void 0),e}(o(22131).Component);e.NoRowsOverlayComponent=p},50580:function(t,e,o){var i=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},n=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r=o(44081),s=o(15068),a=o(72493),l=o(60843),p=o(63405),u=o(45727),c=o(44871),d=o(40797),h=o(83423),f=function(){function t(){}return t.prototype.init=function(){this.setPinnedTopRowData(this.gridOptionsWrapper.getPinnedTopRowData()),this.setPinnedBottomRowData(this.gridOptionsWrapper.getPinnedBottomRowData())},t.prototype.isEmpty=function(t){var e=t===u.Constants.PINNED_TOP?this.pinnedTopRows:this.pinnedBottomRows;return h._.missingOrEmpty(e)},t.prototype.isRowsToRender=function(t){return!this.isEmpty(t)},t.prototype.getRowAtPixel=function(t,e){var o=e===u.Constants.PINNED_TOP?this.pinnedTopRows:this.pinnedBottomRows;if(h._.missingOrEmpty(o))return 0;for(var i=0;i<o.length;i++){var n=o[i];if(n.rowTop+n.rowHeight-1>=t)return i}return o.length-1},t.prototype.setPinnedTopRowData=function(t){this.pinnedTopRows=this.createNodesFromData(t,!0);var e={type:p.Events.EVENT_PINNED_ROW_DATA_CHANGED,api:this.gridApi,columnApi:this.columnApi};this.eventService.dispatchEvent(e)},t.prototype.setPinnedBottomRowData=function(t){this.pinnedBottomRows=this.createNodesFromData(t,!1);var e={type:p.Events.EVENT_PINNED_ROW_DATA_CHANGED,api:this.gridApi,columnApi:this.columnApi};this.eventService.dispatchEvent(e)},t.prototype.createNodesFromData=function(t,e){var o=this,i=[];if(t){var n=0;t.forEach((function(t,r){var a=new s.RowNode;o.context.wireBean(a),a.data=t,a.rowPinned=e?u.Constants.PINNED_TOP:u.Constants.PINNED_BOTTOM,a.setRowTop(n),a.setRowHeight(o.gridOptionsWrapper.getRowHeightForNode(a).height),a.setRowIndex(r),n+=a.rowHeight,i.push(a)}))}return i},t.prototype.getPinnedTopRowData=function(){return this.pinnedTopRows},t.prototype.getPinnedBottomRowData=function(){return this.pinnedBottomRows},t.prototype.getPinnedTopTotalHeight=function(){return this.getTotalHeight(this.pinnedTopRows)},t.prototype.getPinnedTopRowCount=function(){return this.pinnedTopRows?this.pinnedTopRows.length:0},t.prototype.getPinnedBottomRowCount=function(){return this.pinnedBottomRows?this.pinnedBottomRows.length:0},t.prototype.getPinnedTopRow=function(t){return this.pinnedTopRows[t]},t.prototype.getPinnedBottomRow=function(t){return this.pinnedBottomRows[t]},t.prototype.forEachPinnedTopRow=function(t){h._.missingOrEmpty(this.pinnedTopRows)||this.pinnedTopRows.forEach(t)},t.prototype.forEachPinnedBottomRow=function(t){h._.missingOrEmpty(this.pinnedBottomRows)||this.pinnedBottomRows.forEach(t)},t.prototype.getPinnedBottomTotalHeight=function(){return this.getTotalHeight(this.pinnedBottomRows)},t.prototype.getTotalHeight=function(t){if(t&&0!==t.length){var e=t[t.length-1];return e.rowTop+e.rowHeight}return 0},i([a.Autowired("gridOptionsWrapper"),n("design:type",r.GridOptionsWrapper)],t.prototype,"gridOptionsWrapper",void 0),i([a.Autowired("eventService"),n("design:type",l.EventService)],t.prototype,"eventService",void 0),i([a.Autowired("context"),n("design:type",a.Context)],t.prototype,"context",void 0),i([a.Autowired("columnApi"),n("design:type",c.ColumnApi)],t.prototype,"columnApi",void 0),i([a.Autowired("gridApi"),n("design:type",d.GridApi)],t.prototype,"gridApi",void 0),i([a.PostConstruct,n("design:type",Function),n("design:paramtypes",[]),n("design:returntype",void 0)],t.prototype,"init",null),i([a.Bean("pinnedRowModel")],t)}();e.PinnedRowModel=f},50659:(t,e,o)=>{var i=o(6617),n=o(76966),r=function(t){return n({},t)},s=o(80922),a=o(69140),l=o(60598),p=o(79682),u=o(46406),c=o(54200),d=o(72639),h=o(46971),f=o(70251),g=o(38275),y=o(64398),m=o(77504),v=o(93567),C=o(35040),E=o(39418),w=/^change:/,_=function(){};function S(t,e){e||(e={}),this.cid||(this.cid=i("state")),this._events={},this._values={},this._eventBubblingHandlerCache={},this._definition=Object.create(this._definition),e.parse&&(t=this.parse(t,e)),this.parent=e.parent,this.collection=e.collection,this._keyTree=new C,this._initCollections(),this._initChildren(),this._cache={},this._previousAttributes={},t&&this.set(t,n({silent:!0,initial:!0},e)),this._changed={},this._derived&&this._initDerived(),!1!==e.init&&this.initialize.apply(this,arguments)}function b(t,e,o,i){var n,r,s=t._definition[e]={};if(u(o))(n=t._ensureValidType(o))&&(s.type=n);else{if(Array.isArray(o)&&(o={type:(r=o)[0],required:r[1],default:r[2]}),(n=t._ensureValidType(o.type))&&(s.type=n),o.required&&(s.required=!0),o.default&&"object"==typeof o.default)throw new TypeError("The default value for "+e+" cannot be an object/array, must be a value or a function which returns a value/object/array");s.default=o.default,s.allowNull=!!o.allowNull&&o.allowNull,o.setOnce&&(s.setOnce=!0),s.required&&void 0===s.default&&!s.setOnce&&(s.default=t._getDefaultForType(n)),s.test=o.test,s.values=o.values}return i&&(s.session=!0),n||(n=u(o)?o:o.type,console.warn("Invalid data type of `"+n+"` for `"+e+"` property. Use one of the default types or define your own")),Object.defineProperty(t,e,{set:function(t){this.set(e,t)},get:function(){if(!this._values)throw Error('You may be trying to `extend` a state object with "'+e+'" which has been defined in `props` on the object being extended');var t=this._values[e],o=this._dataTypes[s.type];if(void 0!==t)return o&&o.get&&(t=o.get(t)),t;var i=y(s,"default");return this._values[e]=i,void 0!==i&&this._getOnChangeForType(s.type)(i,t,e),i}}),s}function R(t,e,o){(t._derived[e]={fn:h(o)?o:o.fn,cache:!1!==o.cache,depList:o.deps||[]}).depList.forEach((function(o){t._deps[o]=m(t._deps[o]||[],[e])})),Object.defineProperty(t,e,{get:function(){return this._getDerivedProperty(e)},set:function(){throw new TypeError("`"+e+"` is a derived property, it can't be set directly.")}})}n(S.prototype,v,{extraProperties:"ignore",idAttribute:"id",namespaceAttribute:"namespace",typeAttribute:"modelType",initialize:function(){return this},getId:function(){return this[this.idAttribute]},getNamespace:function(){return this[this.namespaceAttribute]},getType:function(){return this[this.typeAttribute]},isNew:function(){return null==this.getId()},escape:function(t){return a(this.get(t))},isValid:function(t){return this._validate({},n(t||{},{validate:!0}))},parse:function(t,e){return t},serialize:function(t){var e=n({props:!0},t),o=this.getAttributes(e,!0),i=function(t,e){o[e]=this[e].serialize()}.bind(this);return l(this._children,i),l(this._collections,i),o},set:function(t,e,o){var i,n,r,s,a,l,u,d,h,f,g,m,v,C,E,w,_,S=this,b=this.extraProperties;if(c(t)||null===t?(h=t,o=e):(h={})[t]=e,o=o||{},!this._validate(h,o))return!1;m=o.unset,g=o.silent,C=o.initial,i=this._changing,this._changing=!0,n=[],C?this._previousAttributes={}:i||(this._previousAttributes=this.attributes,this._changed={});for(var R=0,O=Object.keys(h),T=O.length;R<T;R++){if(r=typeof(s=h[d=O[R]]),v=this._values[d],!(a=this._definition[d])){if(this._children[d]||this._collections[d]){c(s)||(s={}),this[d].set(s,o);continue}if("ignore"===b)continue;if("reject"===b)throw new TypeError('No "'+d+'" property defined on '+(this.type||"this")+' model and extraProperties not set to "ignore" or "allow"');if("allow"===b)a=this._createPropertyDefinition(d,"any");else if(b)throw new TypeError('Invalid value for extraProperties: "'+b+'"')}if(w=this._getCompareForType(a.type),_=this._getOnChangeForType(a.type),(f=this._dataTypes[a.type])&&f.set&&(s=(l=f.set(s)).val,r=l.type),a.test&&(u=a.test.call(this,s,r)))throw new TypeError("Property '"+d+"' failed validation with error: "+u);if(void 0===s&&a.required)throw new TypeError("Required property '"+d+"' must be of type "+a.type+". Tried to set "+s);if(null===s&&a.required&&!a.allowNull)throw new TypeError("Property '"+d+"' must be of type "+a.type+" (cannot be null). Tried to set "+s);if(a.type&&"any"!==a.type&&a.type!==r&&null!=s)throw new TypeError("Property '"+d+"' must be of type "+a.type+". Tried to set "+s);if(a.values&&!p(a.values,s)){var A=y(a,"default");if(m&&void 0!==A)s=A;else if(!m||m&&void 0!==s)throw new TypeError("Property '"+d+"' must be one of values: "+a.values.join(", ")+". Tried to set "+s)}if(E=C||!w(v,s,d),a.setOnce&&void 0!==v&&E)throw new TypeError("Property '"+d+"' can only be set once.");E?(_(s,v,d),C||(this._changed[d]=s,this._previousAttributes[d]=v,m&&delete this._values[d],g||n.push({prev:v,val:s,key:d})),m||(this._values[d]=s)):delete this._changed[d]}if(n.length&&(this._pending=!0),n.forEach((function(t){S.trigger("change:"+t.key,S,t.val,o)})),i)return this;for(;this._pending;)this._pending=!1,this.trigger("change",this,o);return this._pending=!1,this._changing=!1,this},get:function(t){return this[t]},toggle:function(t){var e=this._definition[t];if("boolean"===e.type)this[t]=!this[t];else{if(!e||!e.values)throw new TypeError("Can only toggle properties that are type `boolean` or have `values` array.");this[t]=E(e.values,this[t])}return this},previousAttributes:function(){return r(this._previousAttributes)},hasChanged:function(t){return null==t?!!Object.keys(this._changed).length:g(this._derived,t)?this._derived[t].depList.some((function(t){return this.hasChanged(t)}),this):g(this._changed,t)},changedAttributes:function(t){if(!t)return!!this.hasChanged()&&r(this._changed);var e,o,i=!1,n=this._changing?this._previousAttributes:this.attributes;for(var s in t)(o=this._definition[s])&&(this._getCompareForType(o.type)(n[s],e=t[s])||((i||(i={}))[s]=e));return i},toJSON:function(){return this.serialize()},unset:function(t,e){var o=this;(t=Array.isArray(t)?t:[t]).forEach((function(t){var i,r=o._definition[t];if(r)return r.required?(i=y(r,"default"),o.set(t,i,e)):o.set(t,i,n({},e,{unset:!0}))}))},clear:function(t){var e=this;return Object.keys(this.attributes).forEach((function(o){e.unset(o,t)})),this},previous:function(t){return null!=t&&Object.keys(this._previousAttributes).length?this._previousAttributes[t]:null},_getDefaultForType:function(t){var e=this._dataTypes[t];return e&&e.default},_getCompareForType:function(t){var e=this._dataTypes[t];return e&&e.compare?e.compare.bind(this):f},_getOnChangeForType:function(t){var e=this._dataTypes[t];return e&&e.onChange?e.onChange.bind(this):_},_validate:function(t,e){if(!e.validate||!this.validate)return!0;t=n({},this.attributes,t);var o=this.validationError=this.validate(t,e)||null;return!o||(this.trigger("invalid",this,o,n(e||{},{validationError:o})),!1)},_createPropertyDefinition:function(t,e,o){return b(this,t,e,o)},_ensureValidType:function(t){return p(["string","number","boolean","array","object","date","state","any"].concat(Object.keys(this._dataTypes)),t)?t:void 0},getAttributes:function(t,e){t=n({session:!1,props:!1,derived:!1},t||{});var o,i,r={};for(var s in this._definition)i=this._definition[s],(t.session&&i.session||t.props&&!i.session)&&(o=e?this._values[s]:this[s],e&&o&&h(o.serialize)&&(o=o.serialize()),void 0===o&&(o=y(i,"default")),void 0!==o&&(r[s]=o));if(t.derived)for(var a in this._derived)r[a]=this[a];return r},_initDerived:function(){var t=this;l(this._derived,(function(e,o){var i=t._derived[o];i.deps=i.depList;var n=function(){var e=i.fn.call(t);t._cache[o]===e&&i.cache||(i.cache&&(t._previousAttributes[o]=t._cache[o]),t._cache[o]=e,t.trigger("change:"+o,t,t._cache[o]))};i.deps.forEach((function(e){t._keyTree.add(e,n)}))})),this.on("all",(function(e){w.test(e)&&t._keyTree.get(e.split(":")[1]).forEach((function(t){t()}))}),this)},_getDerivedProperty:function(t,e){return this._derived[t].cache?(!e&&this._cache.hasOwnProperty(t)||(this._cache[t]=this._derived[t].fn.apply(this)),this._cache[t]):this._derived[t].fn.apply(this)},_initCollections:function(){var t;if(this._collections)for(t in this._collections)this._safeSet(t,new this._collections[t](null,{parent:this}))},_initChildren:function(){var t;if(this._children)for(t in this._children)this._safeSet(t,new this._children[t]({},{parent:this})),this.listenTo(this[t],"all",this._getCachedEventBubblingHandler(t))},_getCachedEventBubblingHandler:function(t){return this._eventBubblingHandlerCache[t]||(this._eventBubblingHandlerCache[t]=function(e,o,i){w.test(e)?this.trigger("change:"+t+"."+e.split(":")[1],o,i):"change"===e&&this.trigger("change",this)}.bind(this)),this._eventBubblingHandlerCache[t]},_verifyRequired:function(){var t=this.attributes;for(var e in this._definition)if(this._definition[e].required&&void 0===t[e])return!1;return!0},_safeSet:function(t,e){if(t in this)throw new Error("Encountered namespace collision while setting instance property `"+t+"`");return this[t]=e,this}}),Object.defineProperties(S.prototype,{attributes:{get:function(){return this.getAttributes({props:!0,session:!0})}},all:{get:function(){return this.getAttributes({session:!0,props:!0,derived:!0})}},isState:{get:function(){return!0},set:function(){}}});var O={string:{default:function(){return""}},date:{set:function(t){var e;if(null==t)e="object";else if(d(t))e="date",t=t.valueOf();else{var o=null,i=new Date(t).valueOf();isNaN(i)&&(i=new Date(parseInt(t,10)).valueOf(),isNaN(i)&&(o=!0)),t=i,e="date",o&&(e=typeof t)}return{val:t,type:e}},get:function(t){return null==t?t:new Date(t)},default:function(){return new Date}},array:{set:function(t){return{val:t,type:Array.isArray(t)?"array":typeof t}},default:function(){return[]}},object:{set:function(t){var e=typeof t;return"object"!==e&&void 0===t&&(t=null,e="object"),{val:t,type:e}},default:function(){return{}}},state:{set:function(t){return t instanceof S||t&&t.isState?{val:t,type:"state"}:{val:t,type:typeof t}},compare:function(t,e){return t===e},onChange:function(t,e,o){e&&this.stopListening(e,"all",this._getCachedEventBubblingHandler(o)),null!=t&&this.listenTo(t,"all",this._getCachedEventBubblingHandler(o))}}};S.extend=function(t){var e,o=this;e=t&&t.hasOwnProperty("constructor")?t.constructor:function(){return o.apply(this,arguments)},n(e,o);var i=function(){this.constructor=e};if(i.prototype=o.prototype,e.prototype=new i,e.prototype._derived=n({},o.prototype._derived),e.prototype._deps=n({},o.prototype._deps),e.prototype._definition=n({},o.prototype._definition),e.prototype._collections=n({},o.prototype._collections),e.prototype._children=n({},o.prototype._children),e.prototype._dataTypes=n({},o.prototype._dataTypes||O),t)for(var r=["dataTypes","props","session","derived","collections","children"],a=0;a<arguments.length;a++){var p=arguments[a];p.dataTypes&&l(p.dataTypes,(function(t,o){e.prototype._dataTypes[o]=t})),p.props&&l(p.props,(function(t,o){b(e.prototype,o,t)})),p.session&&l(p.session,(function(t,o){b(e.prototype,o,t,!0)})),p.derived&&l(p.derived,(function(t,o){R(e.prototype,o,t)})),p.collections&&l(p.collections,(function(t,o){e.prototype._collections[o]=t})),p.children&&l(p.children,(function(t,o){e.prototype._children[o]=t})),n(e.prototype,s(p,r))}return e.__super__=o.prototype,e},t.exports=S},51028:(t,e,o)=>{var i=o(23234).a,n=o(70040).m;function r(t,e){return this.grammarType=t,this.maxTokenType=e,this.states=[],this.decisionToState=[],this.ruleToStartState=[],this.ruleToStopState=null,this.modeNameToStartState={},this.ruleToTokenType=null,this.lexerActions=null,this.modeToStartState=[],this}r.prototype.nextTokensInContext=function(t,e){return new i(this).LOOK(t,null,e)},r.prototype.nextTokensNoContext=function(t){return null!==t.nextTokenWithinRule||(t.nextTokenWithinRule=this.nextTokensInContext(t,null),t.nextTokenWithinRule.readOnly=!0),t.nextTokenWithinRule},r.prototype.nextTokens=function(t,e){return void 0===e?this.nextTokensNoContext(t):this.nextTokensInContext(t,e)},r.prototype.addState=function(t){null!==t&&(t.atn=this,t.stateNumber=this.states.length),this.states.push(t)},r.prototype.removeState=function(t){this.states[t.stateNumber]=null},r.prototype.defineDecisionState=function(t){return this.decisionToState.push(t),t.decision=this.decisionToState.length-1,t.decision},r.prototype.getDecisionState=function(t){return 0===this.decisionToState.length?null:this.decisionToState[t]};var s=o(72994).Token;r.prototype.getExpectedTokens=function(t,e){if(t<0||t>=this.states.length)throw"Invalid state number.";var o=this.states[t],i=this.nextTokens(o);if(!i.contains(s.EPSILON))return i;var r=new n;for(r.addSet(i),r.removeOne(s.EPSILON);null!==e&&e.invokingState>=0&&i.contains(s.EPSILON);){var a=this.states[e.invokingState].transitions[0];i=this.nextTokens(a.followState),r.addSet(i),r.removeOne(s.EPSILON),e=e.parentCtx}return i.contains(s.EPSILON)&&r.addOne(s.EOF),r},r.INVALID_ALT_NUMBER=0,e.ATN=r},51184:()=>{var t,e;String.prototype.codePointAt||(e=function(t){if(null==this)throw TypeError();var e=String(this),o=e.length,i=t?Number(t):0;if(i!=i&&(i=0),!(i<0||i>=o)){var n,r=e.charCodeAt(i);return r>=55296&&r<=56319&&o>i+1&&(n=e.charCodeAt(i+1))>=56320&&n<=57343?1024*(r-55296)+n-56320+65536:r}},(t=function(){try{var t={},e=Object.defineProperty,o=e(t,t,t)&&e}catch(t){}return o}())?t(String.prototype,"codePointAt",{value:e,configurable:!0,writable:!0}):String.prototype.codePointAt=e)},51596:(t,e)=>{function o(){}o.LEXER=0,o.PARSER=1,e.E=o},51755:function(t,e,o){var i,n=this&&this.__extends||(i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},i(t,e)},function(t,e){function o(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),r=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},s=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var a=o(8534),l=o(72493),p=o(60843),u=o(85222),c=o(83423),d=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.scrollY=0,e.uiBodyHeight=0,e}return n(e,t),e.prototype.postConstruct=function(){this.addDestroyableEventListener(this.eventService,u.Events.EVENT_BODY_HEIGHT_CHANGED,this.updateOffset.bind(this)),this.scrollBarWidth=c._.getScrollbarWidth(),this.maxDivHeight=c._.getMaxDivHeight()},e.prototype.registerGridComp=function(t){this.gridPanel=t},e.prototype.isScaling=function(){return this.scaling},e.prototype.getOffset=function(){return this.offset},e.prototype.updateOffset=function(){if(this.scaling){var t=this.gridPanel.getVScrollPosition().top,e=this.getUiBodyHeight();(t!==this.scrollY||e!==this.uiBodyHeight)&&(this.scrollY=t,this.uiBodyHeight=e,this.calculateOffset())}},e.prototype.calculateOffset=function(){this.uiContainerHeight=this.maxDivHeight,this.pixelsToShave=this.modelHeight-this.uiContainerHeight,this.maxScrollY=this.uiContainerHeight-this.uiBodyHeight;var t=this.scrollY/this.maxScrollY;this.setOffset(t*this.pixelsToShave)},e.prototype.clearOffset=function(){this.uiContainerHeight=this.modelHeight,this.pixelsToShave=0,this.setOffset(0)},e.prototype.setOffset=function(t){var e="number"==typeof t?Math.floor(t):null;this.offset!==e&&(this.offset=e,this.eventService.dispatchEvent({type:u.Events.EVENT_HEIGHT_SCALE_CHANGED}))},e.prototype.setModelHeight=function(t){this.modelHeight=t,this.scaling=this.maxDivHeight>0&&t>this.maxDivHeight,this.scaling?this.calculateOffset():this.clearOffset()},e.prototype.getUiContainerHeight=function(){return this.uiContainerHeight},e.prototype.getRealPixelPosition=function(t){return t-this.offset},e.prototype.getUiBodyHeight=function(){var t=this.gridPanel.getVScrollPosition();return t.bottom-t.top},e.prototype.getScrollPositionForPixel=function(t){if(this.pixelsToShave<=0)return t;var e=t/(this.modelHeight-this.getUiBodyHeight());return this.maxScrollY*e},r([l.Autowired("eventService"),s("design:type",p.EventService)],e.prototype,"eventService",void 0),r([l.PostConstruct,s("design:type",Function),s("design:paramtypes",[]),s("design:returntype",void 0)],e.prototype,"postConstruct",null),r([l.Bean("maxDivHeightScaler")],e)}(a.BeanStub);e.MaxDivHeightScaler=d},52814:(t,e)=>{Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(){}return t.prototype.wrap=function(t,e,o,i){var n=this;void 0===o&&(o=[]);var r=this.createWrapper(t,i);return e.forEach((function(t){n.createMethod(r,t,!0)})),o.forEach((function(t){n.createMethod(r,t,!1)})),r},t.prototype.createMethod=function(t,e,o){t.addMethod(e,this.createMethodProxy(t,e,o))},t.prototype.createMethodProxy=function(t,e,o){return function(){return t.hasMethod(e)?t.callMethod(e,arguments):(o&&console.warn("ag-Grid: Framework component is missing the method "+e+"()"),null)}},t}();e.BaseComponentWrapper=o},53446:function(t,e,o){var i=o(67787).Buffer,n=this&&this.__createBinding||(Object.create?function(t,e,o,i){void 0===i&&(i=o);var n=Object.getOwnPropertyDescriptor(e,o);n&&!("get"in n?!e.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return e[o]}}),Object.defineProperty(t,i,n)}:function(t,e,o,i){void 0===i&&(i=o),t[i]=e[o]}),r=this&&this.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),s=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var o in t)"default"!==o&&Object.prototype.hasOwnProperty.call(t,o)&&n(e,t,o);return r(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.GLOBAL_FUNCTIONS=e.GLOBALS=void 0,e.getScopeFunction=function(t,e){if(e&&c[t])return c[t];if(!e&&u[t])return u[t];if(d[t])return d[t];throw new Error(`Attempted to access scope property '${t}' that doesn't exist`)},e.isMethodWhitelisted=function(t,e){if(Object.prototype.hasOwnProperty.call(h,t)){const o=h[t].allowedMethods;return"string"==typeof o?h[o].allowedMethods[e]:o[e]}return!1},e.getClass=function(t){if(Object.prototype.hasOwnProperty.call(h,t))return h[t].class;throw new Error(`Attempted to access member '${t}' that doesn't exist`)};const a=s(o(62444));function l(t){return Object.freeze(Object.create(null,Object.getOwnPropertyDescriptors(t)))}function p(t){return"string"==typeof t?a.Long.fromString(t):a.Long.fromNumber(t)}const u=l({Date:function(...t){return Date(...t)}}),c=l({Date:function(...t){return new Date(...t)}}),d=l({RegExp,Binary:function(t,e){return new a.Binary(t,e)},BinData:function(t,e){return new a.Binary(i.from(e,"base64"),t)},UUID:function(t){return void 0===t?(new a.UUID).toBinary():new a.Binary(i.from(t.replace(/-/g,""),"hex"),4)},Code:function(t,e){return new a.Code(t,e)},DBRef:function(t,e,o,i){return new a.DBRef(t,e,o,i)},Decimal128:function(t){return a.Decimal128.fromString(t)},NumberDecimal:function(t){return a.Decimal128.fromString(t)},Double:function(t){return new a.Double(t)},Int32:function(t){return new a.Int32(t)},NumberInt:function(t){return parseInt(t,10)},Long:function(t,e){return new a.Long(t,e)},NumberLong:p,Int64:p,Map:function(t){return new(a.Map??Map)(t)},MaxKey:function(){return new a.MaxKey},MinKey:function(){return new a.MinKey},ObjectID:function(t){return new a.ObjectId(t)},ObjectId:function(t){return new a.ObjectId(t)},Symbol:function(t){return new a.BSONSymbol(t)},Timestamp:function(t,e){return"number"==typeof t&&"number"==typeof e||void 0!==e?new a.Timestamp({t,i:e}):new a.Timestamp(t)},ISODate:function(t){if(void 0===t)return new Date;if("string"!=typeof t)return new Date(t);const e=t.match(/^(?<Y>\d{4})-?(?<M>\d{2})-?(?<D>\d{2})([T ](?<h>\d{2})(:?(?<m>\d{2})(:?((?<s>\d{2})(\.(?<ms>\d+))?))?)?(?<tz>Z|([+-])(\d{2}):?(\d{2})?)?)?$/);if(null!==e&&void 0!==e.groups){const{Y:t,M:o,D:i,h:n,m:r,s,ms:a,tz:l}=e.groups,p=new Date(`${t}-${o}-${i}T${n||"00"}:${r||"00"}:${s||"00"}.${a||"000"}${l||"Z"}`);if(p.getTime()>=-621672192e5&&p.getTime()<=0xe677d21fdbff)return p}throw new Error(`${JSON.stringify(t)} is not a valid ISODate`)}});e.GLOBALS=l({Infinity:1/0,NaN:NaN,undefined:void 0});const h=l({Math:l({class:Math,allowedMethods:l({abs:!0,acos:!0,acosh:!0,asin:!0,asinh:!0,atan:!0,atan2:!0,atanh:!0,cbrt:!0,ceil:!0,clz32:!0,cos:!0,cosh:!0,exp:!0,expm1:!0,floor:!0,fround:!0,hypot:!0,imul:!0,log:!0,log10:!0,log1p:!0,log2:!0,max:!0,min:!0,pow:!0,round:!0,sign:!0,sin:!0,sinh:!0,sqrt:!0,tan:!0,tanh:!0,trunc:!0})}),Date:l({class:Date,allowedMethods:l({getDate:!0,getDay:!0,getFullYear:!0,getHours:!0,getMilliseconds:!0,getMinutes:!0,getMonth:!0,getSeconds:!0,getTime:!0,getTimezoneOffset:!0,getUTCDate:!0,getUTCDay:!0,getUTCFullYear:!0,getUTCHours:!0,getUTCMilliseconds:!0,getUTCMinutes:!0,getUTCMonth:!0,getUTCSeconds:!0,getYear:!0,now:!0,setDate:!0,setFullYear:!0,setHours:!0,setMilliseconds:!0,setMinutes:!0,setMonth:!0,setSeconds:!0,setTime:!0,setUTCDate:!0,setUTCFullYear:!0,setUTCHours:!0,setUTCMilliseconds:!0,setUTCMinutes:!0,setUTCMonth:!0,setUTCSeconds:!0,setYear:!0,toISOString:!0,valueOf:!0})}),ISODate:l({class:Date,allowedMethods:"Date"}),Binary:l({class:a.Binary,allowedMethods:{createFromHexString:!0,createFromBase64:!0}})});e.GLOBAL_FUNCTIONS=Object.freeze([...Object.keys(d),...Object.keys(c),...Object.keys(u)])},54072:(t,e,o)=>{var i=o(25003),n=o(55128).Reporter,r=o(67787).Buffer;function s(t,e){n.call(this,e),r.isBuffer(t)?(this.base=t,this.offset=0,this.length=t.length):this.error("Input not Buffer")}function a(t,e){if(Array.isArray(t))this.length=0,this.value=t.map((function(t){return t instanceof a||(t=new a(t,e)),this.length+=t.length,t}),this);else if("number"==typeof t){if(!(0<=t&&t<=255))return e.error("non-byte EncoderBuffer value");this.value=t,this.length=1}else if("string"==typeof t)this.value=t,this.length=r.byteLength(t);else{if(!r.isBuffer(t))return e.error("Unsupported type: "+typeof t);this.value=t,this.length=t.length}}i(s,n),e.t=s,s.prototype.save=function(){return{offset:this.offset,reporter:n.prototype.save.call(this)}},s.prototype.restore=function(t){var e=new s(this.base);return e.offset=t.offset,e.length=this.offset,this.offset=t.offset,n.prototype.restore.call(this,t.reporter),e},s.prototype.isEmpty=function(){return this.offset===this.length},s.prototype.readUInt8=function(t){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(t||"DecoderBuffer overrun")},s.prototype.skip=function(t,e){if(!(this.offset+t<=this.length))return this.error(e||"DecoderBuffer overrun");var o=new s(this.base);return o._reporterState=this._reporterState,o.offset=this.offset,o.length=this.offset+t,this.offset+=t,o},s.prototype.raw=function(t){return this.base.slice(t?t.offset:this.offset,this.length)},e.d=a,a.prototype.join=function(t,e){return t||(t=new r(this.length)),e||(e=0),0===this.length||(Array.isArray(this.value)?this.value.forEach((function(o){o.join(t,e),e+=o.length})):("number"==typeof this.value?t[e]=this.value:"string"==typeof this.value?t.write(this.value,e):r.isBuffer(this.value)&&this.value.copy(t,e),e+=this.length)),t}},54828:function(t,e,o){var i=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},n=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},r=this&&this.__param||function(t,e){return function(o,i){e(o,i,t)}};Object.defineProperty(e,"__esModule",{value:!0});var s=o(72493),a=o(72493),l=o(37132),p=o(60843),u=o(63405),c=o(72493),d=o(44081),h=o(72493),f=o(45727),g=o(44871),y=o(40797),m=o(83423),v=o(68363),C=function(){function t(){}return t.prototype.setBeans=function(t){this.logger=t.create("SelectionController"),this.reset(),this.gridOptionsWrapper.isRowModelDefault()?this.eventService.addEventListener(u.Events.EVENT_ROW_DATA_CHANGED,this.reset.bind(this)):this.logger.log("dont know what to do here")},t.prototype.init=function(){this.groupSelectsChildren=this.gridOptionsWrapper.isGroupSelectsChildren(),this.eventService.addEventListener(u.Events.EVENT_ROW_SELECTED,this.onRowSelected.bind(this))},t.prototype.setLastSelectedNode=function(t){this.lastSelectedNode=t},t.prototype.getLastSelectedNode=function(){return this.lastSelectedNode},t.prototype.getSelectedNodes=function(){var t=[];return m._.iterateObject(this.selectedNodes,(function(e,o){o&&t.push(o)})),t},t.prototype.getSelectedRows=function(){var t=[];return m._.iterateObject(this.selectedNodes,(function(e,o){o&&o.data&&t.push(o.data)})),t},t.prototype.removeGroupsFromSelection=function(){var t=this;m._.iterateObject(this.selectedNodes,(function(e,o){o&&o.group&&(t.selectedNodes[o.id]=void 0)}))},t.prototype.updateGroupsFromChildrenSelections=function(t){if(this.gridOptionsWrapper.isGroupSelectsChildren()&&this.rowModel.getType()===f.Constants.ROW_MODEL_TYPE_CLIENT_SIDE){var e=this.rowModel.getRootNode();t||(t=new v.ChangedPath(!0,e)).setInactive(),t.forEachChangedNodeDepthFirst((function(t){t!==e&&t.calculateSelectedFromChildren()}))}},t.prototype.getNodeForIdIfSelected=function(t){return this.selectedNodes[t]},t.prototype.clearOtherNodes=function(t){var e=this,o={},i=0;return m._.iterateObject(this.selectedNodes,(function(n,r){if(r&&r.id!==t.id){var s=e.selectedNodes[r.id];i+=s.setSelectedParams({newValue:!1,clearSelection:!1,suppressFinishActions:!0}),e.groupSelectsChildren&&r.parent&&(o[r.parent.id]=r.parent)}})),m._.iterateObject(o,(function(t,e){e.calculateSelectedFromChildren()})),i},t.prototype.onRowSelected=function(t){var e=t.node;this.groupSelectsChildren&&e.group||(e.isSelected()?this.selectedNodes[e.id]=e:this.selectedNodes[e.id]=void 0)},t.prototype.syncInRowNode=function(t,e){this.syncInOldRowNode(t,e),this.syncInNewRowNode(t)},t.prototype.syncInOldRowNode=function(t,e){m._.exists(e)&&t.id!==e.id&&m._.exists(this.selectedNodes[e.id])&&(this.selectedNodes[e.id]=e)},t.prototype.syncInNewRowNode=function(t){m._.exists(this.selectedNodes[t.id])?(t.setSelectedInitialValue(!0),this.selectedNodes[t.id]=t):t.setSelectedInitialValue(!1)},t.prototype.reset=function(){this.logger.log("reset"),this.selectedNodes={},this.lastSelectedNode=null},t.prototype.getBestCostNodeSelection=function(){this.rowModel.getType()!==f.Constants.ROW_MODEL_TYPE_CLIENT_SIDE&&console.warn("getBestCostNodeSelection is only available when using normal row model");var t=this.rowModel.getTopLevelNodes();if(null!==t){var e=[];return function t(o){for(var i=0,n=o.length;i<n;i++){var r=o[i];r.isSelected()?e.push(r):r.group&&r.children&&t(r.children)}}(t),e}console.warn("selectAll not available doing rowModel=virtual")},t.prototype.setRowModel=function(t){this.rowModel=t},t.prototype.isEmpty=function(){var t=0;return m._.iterateObject(this.selectedNodes,(function(e,o){o&&t++})),0===t},t.prototype.deselectAllRowNodes=function(t){void 0===t&&(t=!1);var e=function(t){return t.selectThisNode(!1)},o=this.rowModel.getType()===f.Constants.ROW_MODEL_TYPE_CLIENT_SIDE;if(t){if(!o)return void console.error("ag-Grid: selecting just filtered only works with In Memory Row Model");this.rowModel.forEachNodeAfterFilter(e)}else m._.iterateObject(this.selectedNodes,(function(t,o){o&&e(o)})),this.reset();o&&this.groupSelectsChildren&&this.updateGroupsFromChildrenSelections();var i={type:u.Events.EVENT_SELECTION_CHANGED,api:this.gridApi,columnApi:this.columnApi};this.eventService.dispatchEvent(i)},t.prototype.selectAllRowNodes=function(t){if(void 0===t&&(t=!1),this.rowModel.getType()!==f.Constants.ROW_MODEL_TYPE_CLIENT_SIDE)throw new Error("selectAll only available with normal row model, ie not "+this.rowModel.getType());var e=this.rowModel,o=function(t){return t.selectThisNode(!0)};t?e.forEachNodeAfterFilter(o):e.forEachNode(o),this.rowModel.getType()===f.Constants.ROW_MODEL_TYPE_CLIENT_SIDE&&this.groupSelectsChildren&&this.updateGroupsFromChildrenSelections();var i={type:u.Events.EVENT_SELECTION_CHANGED,api:this.gridApi,columnApi:this.columnApi};this.eventService.dispatchEvent(i)},t.prototype.selectNode=function(t,e){t&&t.setSelectedParams({newValue:!0,clearSelection:!e})},t.prototype.deselectIndex=function(t){var e=this.rowModel.getRow(t);this.deselectNode(e)},t.prototype.deselectNode=function(t){t&&t.setSelectedParams({newValue:!1,clearSelection:!1})},t.prototype.selectIndex=function(t,e){var o=this.rowModel.getRow(t);this.selectNode(o,e)},i([c.Autowired("eventService"),n("design:type",p.EventService)],t.prototype,"eventService",void 0),i([c.Autowired("rowModel"),n("design:type",Object)],t.prototype,"rowModel",void 0),i([c.Autowired("gridOptionsWrapper"),n("design:type",d.GridOptionsWrapper)],t.prototype,"gridOptionsWrapper",void 0),i([c.Autowired("columnApi"),n("design:type",g.ColumnApi)],t.prototype,"columnApi",void 0),i([c.Autowired("gridApi"),n("design:type",y.GridApi)],t.prototype,"gridApi",void 0),i([r(0,a.Qualifier("loggerFactory")),n("design:type",Function),n("design:paramtypes",[l.LoggerFactory]),n("design:returntype",void 0)],t.prototype,"setBeans",null),i([h.PostConstruct,n("design:type",Function),n("design:paramtypes",[]),n("design:returntype",void 0)],t.prototype,"init",null),i([s.Bean("selectionController")],t)}();e.SelectionController=C},55e3:function(t,e,o){var i=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},n=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r=o(83423),s=o(44081),a=o(73575),l=o(24463),p=o(98239),u=o(44871),c=o(72493),d=o(60843),h=o(63405),f=o(40797),g=o(85910),y=function(){function t(){this.allFilters={},this.quickFilter=null,this.quickFilterParts=null}var e;return e=t,t.prototype.registerGridCore=function(t){this.gridCore=t},t.prototype.init=function(){this.eventService.addEventListener(h.Events.EVENT_ROW_DATA_CHANGED,this.onNewRowsLoaded.bind(this)),this.eventService.addEventListener(h.Events.EVENT_NEW_COLUMNS_LOADED,this.onNewColumnsLoaded.bind(this)),this.quickFilter=this.parseQuickFilter(this.gridOptionsWrapper.getQuickFilterText()),this.setQuickFilterParts(),this.checkExternalFilter()},t.prototype.setQuickFilterParts=function(){this.quickFilter?this.quickFilterParts=this.quickFilter.split(" "):this.quickFilterParts=null},t.prototype.setFilterModel=function(t){var e=this,o=[];if(t){var i=Object.keys(t);r._.iterateObject(this.allFilters,(function(n,s){r._.removeFromArray(i,n);var a=t[n];e.setModelOnFilterWrapper(s.filterPromise,a),o.push(s.filterPromise)})),r._.iterateArray(i,(function(i){var n=e.columnController.getPrimaryColumn(i);if(n){var r=e.getOrCreateFilterWrapper(n,"NO_UI");e.setModelOnFilterWrapper(r.filterPromise,t[i]),o.push(r.filterPromise)}else console.warn("Warning ag-grid setFilterModel - no column found for colId "+i)}))}else r._.iterateObject(this.allFilters,(function(t,i){e.setModelOnFilterWrapper(i.filterPromise,null),o.push(i.filterPromise)}));r.Promise.all(o).then((function(t){e.onFilterChanged()}))},t.prototype.setModelOnFilterWrapper=function(t,e){t.then((function(t){"function"==typeof t.setModel?t.setModel(e):console.warn("Warning ag-grid - filter missing setModel method, which is needed for setFilterModel")}))},t.prototype.getFilterModel=function(){var t={};return r._.iterateObject(this.allFilters,(function(e,o){var i=o.filterPromise.resolveNow(null,(function(t){return t}));if(null==i)return null;if("function"==typeof i.getModel){var n=i.getModel();r._.exists(n)&&(t[e]=n)}else console.warn("Warning ag-grid - filter API missing getModel method, which is needed for getFilterModel")})),t},t.prototype.isAdvancedFilterPresent=function(){return this.advancedFilterPresent},t.prototype.setAdvancedFilterPresent=function(){var t=!1;r._.iterateObject(this.allFilters,(function(e,o){o.filterPromise.resolveNow(!1,(function(t){return t.isFilterActive()}))&&(t=!0)})),this.advancedFilterPresent=t},t.prototype.updateFilterFlagInColumns=function(t){r._.iterateObject(this.allFilters,(function(e,o){var i=o.filterPromise.resolveNow(!1,(function(t){return t.isFilterActive()}));o.column.setFilterActive(i,t)}))},t.prototype.isAnyFilterPresent=function(){return this.isQuickFilterPresent()||this.advancedFilterPresent||this.externalFilterPresent},t.prototype.doesFilterPass=function(t,e){for(var o=t.data,i=Object.keys(this.allFilters),n=0,r=i.length;n<r;n++){var s=i[n],a=this.allFilters[s];if(void 0!==a){var l=a.filterPromise.resolveNow(void 0,(function(t){return t}));if(void 0!==l&&l!==e&&l.isFilterActive()){l.doesFilterPass||console.error("Filter is missing method doesFilterPass");var p={node:t,data:o};if(!l.doesFilterPass(p))return!1}}}return!0},t.prototype.parseQuickFilter=function(t){return r._.missing(t)||""===t?null:this.gridOptionsWrapper.isRowModelDefault()?t.toUpperCase():(console.warn("ag-grid: quick filtering only works with the Client-side Row Model"),null)},t.prototype.setQuickFilter=function(t){var e=this.parseQuickFilter(t);this.quickFilter!==e&&(this.quickFilter=e,this.setQuickFilterParts(),this.onFilterChanged())},t.prototype.checkExternalFilter=function(){this.externalFilterPresent=this.gridOptionsWrapper.isExternalFilterPresent()},t.prototype.onFilterChanged=function(){this.setAdvancedFilterPresent(),this.updateFilterFlagInColumns("filterChanged"),this.checkExternalFilter(),r._.iterateObject(this.allFilters,(function(t,e){e.filterPromise.then((function(t){t.onAnyFilterChanged&&t.onAnyFilterChanged()}))}));var t={type:h.Events.EVENT_FILTER_CHANGED,api:this.gridApi,columnApi:this.columnApi};this.eventService.dispatchEvent(t)},t.prototype.isQuickFilterPresent=function(){return null!==this.quickFilter},t.prototype.doesRowPassOtherFilters=function(t,e){return this.doesRowPassFilter(e,t)},t.prototype.doesRowPassQuickFilterNoCache=function(t,e){var o=this,i=this.columnController.getAllColumnsForQuickFilter(),n=!1;return i.forEach((function(i){if(!n){var s=o.getQuickFilterTextForColumn(i,t);r._.exists(s)&&s.indexOf(e)>=0&&(n=!0)}})),n},t.prototype.doesRowPassQuickFilterCache=function(t,e){return t.quickFilterAggregateText||this.aggregateRowForQuickFilter(t),t.quickFilterAggregateText.indexOf(e)>=0},t.prototype.doesRowPassQuickFilter=function(t){var e=this,o=!0,i=this.gridOptionsWrapper.isCacheQuickFilter();return this.quickFilterParts.forEach((function(n){(i?e.doesRowPassQuickFilterCache(t,n):e.doesRowPassQuickFilterNoCache(t,n))||(o=!1)})),o},t.prototype.doesRowPassFilter=function(t,e){return!(this.isQuickFilterPresent()&&!this.doesRowPassQuickFilter(t)||this.externalFilterPresent&&!this.gridOptionsWrapper.doesExternalFilterPass(t)||this.advancedFilterPresent&&!this.doesFilterPass(t,e))},t.prototype.getQuickFilterTextForColumn=function(t,e){var o,i=this.valueService.getValue(t,e,!0),n=t.getColDef();if(t.getColDef().getQuickFilterText){var s={value:i,node:e,data:e.data,column:t,colDef:n};o=t.getColDef().getQuickFilterText(s)}else o=i;return r._.exists(o)?o.toString().toUpperCase():null},t.prototype.aggregateRowForQuickFilter=function(t){var o=this,i=[];this.columnController.getAllColumnsForQuickFilter().forEach((function(e){var n=o.getQuickFilterTextForColumn(e,t);r._.exists(n)&&i.push(n)})),t.quickFilterAggregateText=i.join(e.QUICK_FILTER_SEPARATOR)},t.prototype.onNewRowsLoaded=function(t){r._.iterateObject(this.allFilters,(function(t,e){e.filterPromise.then((function(t){t.onNewRowsLoaded&&t.onNewRowsLoaded()}))})),this.updateFilterFlagInColumns(t),this.setAdvancedFilterPresent()},t.prototype.createValueGetter=function(t){var e=this;return function(o){return e.valueService.getValue(t,o,!0)}},t.prototype.getFilterComponent=function(t,e){return this.getOrCreateFilterWrapper(t,e).filterPromise},t.prototype.isFilterActive=function(t){var e=this.cachedFilter(t);return!!e&&e.filterPromise.resolveNow(!1,(function(t){return t.isFilterActive()}))},t.prototype.getOrCreateFilterWrapper=function(t,e){var o=this.cachedFilter(t);return o?"NO_UI"!==e&&this.putIntoGui(o,e):(o=this.createFilterWrapper(t,e),this.allFilters[t.getColId()]=o),o},t.prototype.cachedFilter=function(t){return this.allFilters[t.getColId()]},t.prototype.createFilterInstance=function(t,e){var o=this,i="agTextColumnFilter";this.gridOptionsWrapper.isEnterprise()&&(i="agSetColumnFilter");var n=r._.cloneObject(t.getColDef()),s={type:h.Events.EVENT_FILTER_MODIFIED,api:this.gridApi,columnApi:this.columnApi},a=this.onFilterChanged.bind(this),l={api:this.gridOptionsWrapper.getApi(),column:t,colDef:n,rowModel:this.rowModel,filterChangedCallback:a,filterModifiedCallback:function(){return o.eventService.dispatchEvent(s)},valueGetter:this.createValueGetter(t),context:this.gridOptionsWrapper.getContext(),doesRowPassOtherFilter:null,$scope:e};return this.userComponentFactory.newFilterComponent(n,l,i,(function(t,e){return r._.assign(t,{doesRowPassOtherFilter:o.doesRowPassOtherFilters.bind(o,e)})}))},t.prototype.createFilterWrapper=function(t,e){var o={column:t,filterPromise:null,scope:null,compiledElement:null,guiPromise:r.Promise.external()};return o.scope=this.gridOptionsWrapper.isAngularCompileFilters()?this.$scope.$new():null,o.filterPromise=this.createFilterInstance(t,o.scope),this.putIntoGui(o,e),o},t.prototype.putIntoGui=function(t,e){var o=this,i=document.createElement("div");i.className="ag-filter",t.filterPromise.then((function(n){var s=n.getGui();if(r._.missing(s)&&console.warn("getGui method from filter returned "+s+", it should be a DOM element or an HTML template string."),"string"==typeof s&&(s=r._.loadTemplate(s)),i.appendChild(s),t.scope){var a=o.$compile(i)(t.scope);t.compiledElement=a,window.setTimeout((function(){return t.scope.$apply()}),0)}t.guiPromise.resolve(i),o.eventService.dispatchEvent({type:h.Events.EVENT_FILTER_OPENED,column:t.column,source:e,eGui:i,api:o.gridApi,columnApi:o.columnApi})}))},t.prototype.onNewColumnsLoaded=function(){var t=this,e=!1;r._.iterateObject(this.allFilters,(function(o,i){!t.columnController.getPrimaryColumn(i.column)&&(e=!0,t.disposeFilterWrapper(i,"filterDestroyed"))})),e&&this.onFilterChanged()},t.prototype.destroyFilter=function(t,e){void 0===e&&(e="api");var o=this.allFilters[t.getColId()];o&&(this.disposeFilterWrapper(o,e),this.onFilterChanged())},t.prototype.disposeFilterWrapper=function(t,e){var o=this;t.filterPromise.then((function(i){i.setModel(null),i.destroy&&i.destroy(),t.column.setFilterActive(!1,e),t.scope&&(t.compiledElement&&t.compiledElement.remove(),t.scope.$destroy()),delete o.allFilters[t.column.getColId()]}))},t.prototype.destroy=function(){var t=this;r._.iterateObject(this.allFilters,(function(e,o){t.disposeFilterWrapper(o,"filterDestroyed")}))},t.QUICK_FILTER_SEPARATOR="\n",i([c.Autowired("$compile"),n("design:type",Object)],t.prototype,"$compile",void 0),i([c.Autowired("$scope"),n("design:type",Object)],t.prototype,"$scope",void 0),i([c.Autowired("gridOptionsWrapper"),n("design:type",s.GridOptionsWrapper)],t.prototype,"gridOptionsWrapper",void 0),i([c.Autowired("popupService"),n("design:type",a.PopupService)],t.prototype,"popupService",void 0),i([c.Autowired("valueService"),n("design:type",l.ValueService)],t.prototype,"valueService",void 0),i([c.Autowired("columnController"),n("design:type",p.ColumnController)],t.prototype,"columnController",void 0),i([c.Autowired("rowModel"),n("design:type",Object)],t.prototype,"rowModel",void 0),i([c.Autowired("eventService"),n("design:type",d.EventService)],t.prototype,"eventService",void 0),i([c.Autowired("enterprise"),n("design:type",Boolean)],t.prototype,"enterprise",void 0),i([c.Autowired("context"),n("design:type",c.Context)],t.prototype,"context",void 0),i([c.Autowired("columnApi"),n("design:type",u.ColumnApi)],t.prototype,"columnApi",void 0),i([c.Autowired("gridApi"),n("design:type",f.GridApi)],t.prototype,"gridApi",void 0),i([c.Autowired("userComponentFactory"),n("design:type",g.UserComponentFactory)],t.prototype,"userComponentFactory",void 0),i([c.PostConstruct,n("design:type",Function),n("design:paramtypes",[]),n("design:returntype",void 0)],t.prototype,"init",null),i([c.PreDestroy,n("design:type",Function),n("design:paramtypes",[]),n("design:returntype",void 0)],t.prototype,"destroy",null),e=i([c.Bean("filterManager")],t)}();e.FilterManager=y},55090:function(t,e,o){var i=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},n=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r=o(72493),s=o(44871),a=o(98239),l=o(40797),p=o(44081),u=o(40634),c=o(10042),d=o(92427),h=o(24463),f=o(60843),g=o(64314),y=o(42195),m=o(34470),v=o(73575),C=o(93121),E=o(66490),w=o(93830),_=o(41451),S=o(69065),b=o(85910),R=o(58342),O=o(86608),T=o(55e3),A=o(51755),P=o(39984),D=function(){function t(){}return t.prototype.registerGridComp=function(t){this.gridPanel=t},t.prototype.postConstruct=function(){this.doingMasterDetail=this.gridOptionsWrapper.isMasterDetail()},i([r.Autowired("paginationProxy"),n("design:type",_.PaginationProxy)],t.prototype,"paginationProxy",void 0),i([r.Autowired("context"),n("design:type",r.Context)],t.prototype,"context",void 0),i([r.Autowired("columnApi"),n("design:type",s.ColumnApi)],t.prototype,"columnApi",void 0),i([r.Autowired("gridApi"),n("design:type",l.GridApi)],t.prototype,"gridApi",void 0),i([r.Autowired("gridOptionsWrapper"),n("design:type",p.GridOptionsWrapper)],t.prototype,"gridOptionsWrapper",void 0),i([r.Autowired("expressionService"),n("design:type",u.ExpressionService)],t.prototype,"expressionService",void 0),i([r.Autowired("rowRenderer"),n("design:type",c.RowRenderer)],t.prototype,"rowRenderer",void 0),i([r.Autowired("$compile"),n("design:type",Object)],t.prototype,"$compile",void 0),i([r.Autowired("templateService"),n("design:type",d.TemplateService)],t.prototype,"templateService",void 0),i([r.Autowired("valueService"),n("design:type",h.ValueService)],t.prototype,"valueService",void 0),i([r.Autowired("eventService"),n("design:type",f.EventService)],t.prototype,"eventService",void 0),i([r.Autowired("columnController"),n("design:type",a.ColumnController)],t.prototype,"columnController",void 0),i([r.Autowired("columnAnimationService"),n("design:type",g.ColumnAnimationService)],t.prototype,"columnAnimationService",void 0),i([r.Optional("rangeController"),n("design:type",Object)],t.prototype,"rangeController",void 0),i([r.Autowired("focusedCellController"),n("design:type",y.FocusedCellController)],t.prototype,"focusedCellController",void 0),i([r.Optional("contextMenuFactory"),n("design:type",Object)],t.prototype,"contextMenuFactory",void 0),i([r.Autowired("cellRendererFactory"),n("design:type",m.CellRendererFactory)],t.prototype,"cellRendererFactory",void 0),i([r.Autowired("popupService"),n("design:type",v.PopupService)],t.prototype,"popupService",void 0),i([r.Autowired("valueFormatterService"),n("design:type",C.ValueFormatterService)],t.prototype,"valueFormatterService",void 0),i([r.Autowired("stylingService"),n("design:type",E.StylingService)],t.prototype,"stylingService",void 0),i([r.Autowired("columnHoverService"),n("design:type",w.ColumnHoverService)],t.prototype,"columnHoverService",void 0),i([r.Autowired("enterprise"),n("design:type",Boolean)],t.prototype,"enterprise",void 0),i([r.Autowired("userComponentFactory"),n("design:type",b.UserComponentFactory)],t.prototype,"userComponentFactory",void 0),i([r.Autowired("animationFrameService"),n("design:type",S.AnimationFrameService)],t.prototype,"taskQueue",void 0),i([r.Autowired("dragAndDropService"),n("design:type",R.DragAndDropService)],t.prototype,"dragAndDropService",void 0),i([r.Autowired("sortController"),n("design:type",O.SortController)],t.prototype,"sortController",void 0),i([r.Autowired("filterManager"),n("design:type",T.FilterManager)],t.prototype,"filterManager",void 0),i([r.Autowired("maxDivHeightScaler"),n("design:type",A.MaxDivHeightScaler)],t.prototype,"maxDivHeightScaler",void 0),i([r.Autowired("tooltipManager"),n("design:type",P.TooltipManager)],t.prototype,"tooltipManager",void 0),i([r.PostConstruct,n("design:type",Function),n("design:paramtypes",[]),n("design:returntype",void 0)],t.prototype,"postConstruct",null),i([r.Bean("beans")],t)}();e.Beans=D},55128:(t,e,o)=>{var i=e;i.Reporter=o(74591).a,i.DecoderBuffer=o(54072).t,i.EncoderBuffer=o(54072).d,i.Node=o(37254)},56645:(t,e)=>{function o(){}function i(t){return this.actionType=t,this.isPositionDependent=!1,this}function n(){return i.call(this,o.SKIP),this}function r(t){return i.call(this,o.TYPE),this.type=t,this}function s(t){return i.call(this,o.PUSH_MODE),this.mode=t,this}function a(){return i.call(this,o.POP_MODE),this}function l(){return i.call(this,o.MORE),this}function p(t){return i.call(this,o.MODE),this.mode=t,this}function u(t,e){return i.call(this,o.CUSTOM),this.ruleIndex=t,this.actionIndex=e,this.isPositionDependent=!0,this}function c(t){return i.call(this,o.CHANNEL),this.channel=t,this}function d(t,e){return i.call(this,e.actionType),this.offset=t,this.action=e,this.isPositionDependent=!0,this}o.CHANNEL=0,o.CUSTOM=1,o.MODE=2,o.MORE=3,o.POP_MODE=4,o.PUSH_MODE=5,o.SKIP=6,o.TYPE=7,i.prototype.hashCode=function(){var t=new Hash;return this.updateHashCode(t),t.finish()},i.prototype.updateHashCode=function(t){t.update(this.actionType)},i.prototype.equals=function(t){return this===t},n.prototype=Object.create(i.prototype),n.prototype.constructor=n,n.INSTANCE=new n,n.prototype.execute=function(t){t.skip()},n.prototype.toString=function(){return"skip"},r.prototype=Object.create(i.prototype),r.prototype.constructor=r,r.prototype.execute=function(t){t.type=this.type},r.prototype.updateHashCode=function(t){t.update(this.actionType,this.type)},r.prototype.equals=function(t){return this===t||t instanceof r&&this.type===t.type},r.prototype.toString=function(){return"type("+this.type+")"},s.prototype=Object.create(i.prototype),s.prototype.constructor=s,s.prototype.execute=function(t){t.pushMode(this.mode)},s.prototype.updateHashCode=function(t){t.update(this.actionType,this.mode)},s.prototype.equals=function(t){return this===t||t instanceof s&&this.mode===t.mode},s.prototype.toString=function(){return"pushMode("+this.mode+")"},a.prototype=Object.create(i.prototype),a.prototype.constructor=a,a.INSTANCE=new a,a.prototype.execute=function(t){t.popMode()},a.prototype.toString=function(){return"popMode"},l.prototype=Object.create(i.prototype),l.prototype.constructor=l,l.INSTANCE=new l,l.prototype.execute=function(t){t.more()},l.prototype.toString=function(){return"more"},p.prototype=Object.create(i.prototype),p.prototype.constructor=p,p.prototype.execute=function(t){t.mode(this.mode)},p.prototype.updateHashCode=function(t){t.update(this.actionType,this.mode)},p.prototype.equals=function(t){return this===t||t instanceof p&&this.mode===t.mode},p.prototype.toString=function(){return"mode("+this.mode+")"},u.prototype=Object.create(i.prototype),u.prototype.constructor=u,u.prototype.execute=function(t){t.action(null,this.ruleIndex,this.actionIndex)},u.prototype.updateHashCode=function(t){t.update(this.actionType,this.ruleIndex,this.actionIndex)},u.prototype.equals=function(t){return this===t||t instanceof u&&this.ruleIndex===t.ruleIndex&&this.actionIndex===t.actionIndex},c.prototype=Object.create(i.prototype),c.prototype.constructor=c,c.prototype.execute=function(t){t._channel=this.channel},c.prototype.updateHashCode=function(t){t.update(this.actionType,this.channel)},c.prototype.equals=function(t){return this===t||t instanceof c&&this.channel===t.channel},c.prototype.toString=function(){return"channel("+this.channel+")"},d.prototype=Object.create(i.prototype),d.prototype.constructor=d,d.prototype.execute=function(t){this.action.execute(t)},d.prototype.updateHashCode=function(t){t.update(this.actionType,this.offset,this.action)},d.prototype.equals=function(t){return this===t||t instanceof d&&this.offset===t.offset&&this.action===t.action},e.LexerActionType=o,e.LexerSkipAction=n,e.LexerChannelAction=c,e.LexerCustomAction=u,e.LexerIndexedCustomAction=d,e.LexerMoreAction=l,e.LexerTypeAction=r,e.LexerPushModeAction=s,e.LexerPopModeAction=a,e.LexerModeAction=p},57322:function(t,e,o){var i,n=this&&this.__extends||(i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},i(t,e)},function(t,e){function o(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),r=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},s=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var a=o(32090),l=o(72493),p=o(22131),u=o(47721),c=function(t){function e(e,o){var i=t.call(this)||this;return i.title=e,i.message=o,i}return n(e,t),e.prototype.postConstruct=function(){var e=this;t.prototype.postConstruct.call(this),this.setTitle(this.title);var o=new d;this.addFeature(this.getContext(),o),o.setMessage(this.message),this.setBody(o.getGui()),this.addDestroyableEventListener(o,"onBtOk",(function(){return e.closePopup()}))},e}(a.PopupWindow);e.PopupMessageBox=c;var d=function(t){function e(){return t.call(this,e.TEMPLATE)||this}return n(e,t),e.prototype.setMessage=function(t){this.eCenter.innerText=t},e.prototype.postConstruct=function(){this.addDestroyableEventListener(this.eOk,"click",this.onBtOk.bind(this))},e.prototype.onBtOk=function(){this.dispatchEvent({type:"onBtOk"})},e.TEMPLATE='<div>\n <div ref="eCenter"></div>\n <div ref="eButtons">\n <button ref="eOk">OK</button>\n </div>\n </div>',r([u.RefSelector("eCenter"),s("design:type",HTMLElement)],e.prototype,"eCenter",void 0),r([u.RefSelector("eOk"),s("design:type",HTMLElement)],e.prototype,"eOk",void 0),r([l.PostConstruct,s("design:type",Function),s("design:paramtypes",[]),s("design:returntype",void 0)],e.prototype,"postConstruct",null),e}(p.Component)},57498:function(t,e,o){var i=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},n=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r=o(72493),s=o(15068),a=o(44081),l=o(54828),p=o(60843),u=o(98239),c=o(83423),d=function(){function t(){}return t.prototype.execute=function(t){var e=t.rowNode,o=[],i={value:0},n=this.columnController.isPivotMode(),r=n&&e.leafGroup,s=r?[e]:e.childrenAfterSort;return this.recursivelyAddToRowsToDisplay(s,o,i,n,0),!r&&this.gridOptionsWrapper.isGroupIncludeTotalFooter()&&(this.ensureFooterNodeExists(e),this.addRowNodeToRowsToDisplay(e.sibling,o,i,0)),o},t.prototype.recursivelyAddToRowsToDisplay=function(t,e,o,i,n){if(!c._.missingOrEmpty(t))for(var r=this.gridOptionsWrapper.isGroupSuppressRow(),s=this.gridOptionsWrapper.isGroupHideOpenParents(),a=this.gridOptionsWrapper.isGroupRemoveSingleChildren(),l=!a&&this.gridOptionsWrapper.isGroupRemoveLowestSingleChildren(),p=0;p<t.length;p++){var u=t[p],d=u.hasChildren(),h=r&&d,f=i&&!d,g=a&&d&&1===u.childrenAfterGroup.length,y=l&&d&&u.leafGroup&&1===u.childrenAfterGroup.length,m=i&&u.leafGroup,v=s&&u.expanded&&!m;if(!(f||h||v||g||y)&&this.addRowNodeToRowsToDisplay(u,e,o,n),!i||!u.leafGroup)if(d){var C=g||y;if(u.expanded||C){var E=C?n:n+1;this.recursivelyAddToRowsToDisplay(u.childrenAfterSort,e,o,i,E),this.gridOptionsWrapper.isGroupIncludeFooter()&&(this.ensureFooterNodeExists(u),this.addRowNodeToRowsToDisplay(u.sibling,e,o,n))}}else if(u.master&&u.expanded){var w=this.createDetailNode(u);this.addRowNodeToRowsToDisplay(w,e,o,n)}}},t.prototype.addRowNodeToRowsToDisplay=function(t,e,o,i){e.push(t);var n=this.gridOptionsWrapper.isGroupMultiAutoColumn();t.setUiLevel(n?0:i)},t.prototype.ensureFooterNodeExists=function(t){if(!c._.exists(t.sibling)){var e=new s.RowNode;this.context.wireBean(e),Object.keys(t).forEach((function(o){e[o]=t[o]})),e.footer=!0,e.rowTop=null,e.oldRowTop=null,c._.exists(e.id)&&(e.id="rowGroupFooter_"+e.id),e.sibling=t,t.sibling=e}},t.prototype.createDetailNode=function(t){if(c._.exists(t.detailNode))return t.detailNode;var e=new s.RowNode;return this.context.wireBean(e),e.detail=!0,e.selectable=!1,e.flower=e.detail,e.parent=t,c._.exists(t.id)&&(e.id="detail_"+t.id),e.data=t.data,e.level=t.level+1,t.detailNode=e,t.childFlower=t.detailNode,e},i([r.Autowired("gridOptionsWrapper"),n("design:type",a.GridOptionsWrapper)],t.prototype,"gridOptionsWrapper",void 0),i([r.Autowired("selectionController"),n("design:type",l.SelectionController)],t.prototype,"selectionController",void 0),i([r.Autowired("eventService"),n("design:type",p.EventService)],t.prototype,"eventService",void 0),i([r.Autowired("context"),n("design:type",r.Context)],t.prototype,"context",void 0),i([r.Autowired("columnController"),n("design:type",u.ColumnController)],t.prototype,"columnController",void 0),i([r.Bean("flattenStage")],t)}();e.FlattenStage=d},57585:(t,e,o)=>{var i=o(6617),n=/\s+/;e.triggerEvents=function(t,e){var o,i=-1,n=t.length,r=e[0],s=e[1],a=e[2];switch(e.length){case 0:for(;++i<n;)(o=t[i]).callback.call(o.ctx);return;case 1:for(;++i<n;)(o=t[i]).callback.call(o.ctx,r);return;case 2:for(;++i<n;)(o=t[i]).callback.call(o.ctx,r,s);return;case 3:for(;++i<n;)(o=t[i]).callback.call(o.ctx,r,s,a);return;default:for(;++i<n;)(o=t[i]).callback.apply(o.ctx,e);return}},e.eventsApi=function(t,e,o,i){if(!o)return!0;if("object"==typeof o){for(var r in o)t[e].apply(t,[r,o[r]].concat(i));return!1}if(n.test(o)){for(var s=o.split(n),a=0,l=s.length;a<l;a++)t[e].apply(t,[s[a]].concat(i));return!1}return!0},e.createListenMethod=function(t){return function(e,o,n){if(!e)throw new Error("Trying to listenTo event: '"+o+"' but the target object is undefined");if((this._listeningTo||(this._listeningTo={}))[e._listenId||(e._listenId=i("l"))]=e,n||"object"!=typeof o||(n=this),"function"!=typeof e[t])throw new Error("Trying to listenTo event: '"+o+"' on object: "+e.toString()+" but it does not have an 'on' method so is unbindable");return e[t](o,n,this),this}}},57903:(t,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.COLLATION_OPTIONS=void 0,e.COLLATION_OPTIONS={locale:["af","sq","am","ar","ar@collation=compat","hy","as","az","az@collation=search","be","bn","bn@collation=traditional","bs","bs@collation=search","bs_Cyrl","bg","my","ca","ca@collation=search","chr","zh","zh@collation=big5han","zh@collation=gb2312han","zh@collation=pinyin","zh@collation=unihan","zh@collation=zhuyin","zh_Hant","zh_Hant@collation=stroke","hr","hr@collation=search","cs","cs@collation=search","da","da@collation=search","nl","dz","en","en_US","en_US_POSIX","eo","et","ee","fo","fil","fi_FI","fi_FI@collation=search","fi_FI@collation=traditional","fr","fr_CA","gl","gl@collation=search","ka","de","de@collation=search","de@collation=eor","de@collation=phonebook","de_AT","de_AT@collation=phonebook","el","gu","ha","haw","he","he@collation=search","hi","hu","is","is@collation=search","ig","smn","smn@collation=search","id","ga","it","ja","ja@collation=unihan","kl","kl@collation=search","kn","kn@collation=traditional","kk","km","kok","ko","ko@collation=search","ko@collation=searchjl","ko@collation=unihan","ky","lk","lo","lv","li","li@collation=phonetic","lt","dsb","lb","mk","ms","ml","mt","mr","mn","ne","se","se@collation=search","nb","nb@collation=search","nn","nn@collation=search","or","om","ps","fa","fa_AF","pl","pt","pa","ro","ru","sr","sr_Latn","sr_Latn@collation=search","si","si@collation=dictionary","sk","sk@collation=search","sl","es","es@collation=search","es@collation=traditional","sw","sv","sv@collation=search","ta","te","th","bo","to","tr","tr@collation=search","uk","hsb","ur","ug","vi","vi@collation=traditional","wae","cy","yi","yi@collation=search","yo","zu","simple"],strength:[1,2,3,4,5],caseLevel:[!0,!1],caseFirst:["upper","lower","off"],numericOrdering:[!0,!1],alternate:["non-ignorable","shifted"],maxVariable:[!0,!1],backwards:[!0,!1],normalization:[!0,!1]}},58342:function(t,e,o){var i=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},n=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},r=this&&this.__param||function(t,e){return function(o,i){e(o,i,t)}};Object.defineProperty(e,"__esModule",{value:!0});var s,a,l,p=o(37132),u=o(72493),c=o(44081),d=o(25230),h=o(98239),f=o(59007),g=o(83423);!function(t){t[t.ToolPanel=0]="ToolPanel",t[t.HeaderCell=1]="HeaderCell",t[t.RowDrag=2]="RowDrag"}(s=e.DragSourceType||(e.DragSourceType={})),function(t){t[t.Up=0]="Up",t[t.Down=1]="Down"}(a=e.VDirection||(e.VDirection={})),function(t){t[t.Left=0]="Left",t[t.Right=1]="Right"}(l=e.HDirection||(e.HDirection={}));var y=function(){function t(){this.dragSourceAndParamsList=[],this.dropTargets=[]}var e;return e=t,t.prototype.init=function(){this.ePinnedIcon=g._.createIcon("columnMovePin",this.gridOptionsWrapper,null),this.ePlusIcon=g._.createIcon("columnMoveAdd",this.gridOptionsWrapper,null),this.eHiddenIcon=g._.createIcon("columnMoveHide",this.gridOptionsWrapper,null),this.eMoveIcon=g._.createIcon("columnMoveMove",this.gridOptionsWrapper,null),this.eLeftIcon=g._.createIcon("columnMoveLeft",this.gridOptionsWrapper,null),this.eRightIcon=g._.createIcon("columnMoveRight",this.gridOptionsWrapper,null),this.eGroupIcon=g._.createIcon("columnMoveGroup",this.gridOptionsWrapper,null),this.eAggregateIcon=g._.createIcon("columnMoveValue",this.gridOptionsWrapper,null),this.ePivotIcon=g._.createIcon("columnMovePivot",this.gridOptionsWrapper,null),this.eDropNotAllowedIcon=g._.createIcon("dropNotAllowed",this.gridOptionsWrapper,null)},t.prototype.setBeans=function(t){this.logger=t.create("OldToolPanelDragAndDropService")},t.prototype.getStringType=function(t){switch(t){case s.RowDrag:return"row";case s.HeaderCell:return"headerCell";case s.ToolPanel:return"toolPanel";default:return console.warn("ag-Grid: bug - unknown drag type "+t),null}},t.prototype.addDragSource=function(t,e){void 0===e&&(e=!1);var o={eElement:t.eElement,dragStartPixels:t.dragStartPixels,onDragStart:this.onDragStart.bind(this,t),onDragStop:this.onDragStop.bind(this),onDragging:this.onDragging.bind(this)};this.dragSourceAndParamsList.push({params:o,dragSource:t}),this.dragService.addDragSource(o,e)},t.prototype.removeDragSource=function(t){var e=g._.find(this.dragSourceAndParamsList,(function(e){return e.dragSource===t}));e&&(this.dragService.removeDragSource(e.params),g._.removeFromArray(this.dragSourceAndParamsList,e))},t.prototype.destroy=function(){var t=this;this.dragSourceAndParamsList.forEach((function(e){t.dragService.removeDragSource(e.params)})),this.dragSourceAndParamsList.length=0},t.prototype.nudge=function(){this.dragging&&this.onDragging(this.eventLastTime,!0)},t.prototype.onDragStart=function(t,e){this.dragging=!0,this.dragSource=t,this.eventLastTime=e,this.dragItem=this.dragSource.dragItemCallback(),this.lastDropTarget=this.dragSource.dragSourceDropTarget,this.dragSource.dragStarted&&this.dragSource.dragStarted(),this.createGhost()},t.prototype.onDragStop=function(t){if(this.eventLastTime=null,this.dragging=!1,this.dragSource.dragStopped&&this.dragSource.dragStopped(),this.lastDropTarget&&this.lastDropTarget.onDragStop){var e=this.createDropTargetEvent(this.lastDropTarget,t,null,null,!1);this.lastDropTarget.onDragStop(e)}this.lastDropTarget=null,this.dragItem=null,this.removeGhost()},t.prototype.onDragging=function(t,e){var o=this.workOutHDirection(t),i=this.workOutVDirection(t);this.eventLastTime=t,this.positionGhost(t);var n=g._.find(this.dropTargets,this.isMouseOnDropTarget.bind(this,t));if(n!==this.lastDropTarget)this.leaveLastTargetIfExists(t,o,i,e),this.enterDragTargetIfExists(n,t,o,i,e),this.lastDropTarget=n;else if(n){var r=this.createDropTargetEvent(n,t,o,i,e);n.onDragging(r)}},t.prototype.enterDragTargetIfExists=function(t,e,o,i,n){if(t){var r=this.createDropTargetEvent(t,e,o,i,n);t.onDragEnter(r),this.setGhostIcon(t.getIconName?t.getIconName():null)}},t.prototype.leaveLastTargetIfExists=function(t,e,o,i){if(this.lastDropTarget){var n=this.createDropTargetEvent(this.lastDropTarget,t,e,o,i);this.lastDropTarget.onDragLeave(n),this.setGhostIcon(null)}},t.prototype.getAllContainersFromDropTarget=function(t){var e=[t.getContainer()],o=t.getSecondaryContainers?t.getSecondaryContainers():null;return o&&(e=e.concat(o)),e},t.prototype.isMouseOnDropTarget=function(t,e){var o=this.getAllContainersFromDropTarget(e),i=!1;return o.forEach((function(e){if(e){var o=e.getBoundingClientRect();if(0!==o.width&&0!==o.height){var n=t.clientX>=o.left&&t.clientX<=o.right,r=t.clientY>=o.top&&t.clientY<=o.bottom;n&&r&&(i=!0)}}})),!!i&&e.isInterestedIn(this.dragSource.type)},t.prototype.addDropTarget=function(t){this.dropTargets.push(t)},t.prototype.workOutHDirection=function(t){return this.eventLastTime.clientX>t.clientX?l.Left:this.eventLastTime.clientX<t.clientX?l.Right:null},t.prototype.workOutVDirection=function(t){return this.eventLastTime.clientY>t.clientY?a.Up:this.eventLastTime.clientY<t.clientY?a.Down:null},t.prototype.createDropTargetEvent=function(t,e,o,i,n){var r=t.getContainer().getBoundingClientRect();return{event:e,x:e.clientX-r.left,y:e.clientY-r.top,vDirection:i,hDirection:o,dragSource:this.dragSource,fromNudge:n,dragItem:this.dragItem}},t.prototype.positionGhost=function(t){var e=this.eGhost.getBoundingClientRect().height,o=g._.getBodyWidth()-2,i=g._.getBodyHeight()-2,n=t.pageY-e/2,r=t.pageX-30,s=this.gridOptionsWrapper.getDocument(),a=window.pageYOffset||s.documentElement.scrollTop,l=window.pageXOffset||s.documentElement.scrollLeft;o>0&&r+this.eGhost.clientWidth>o+l&&(r=o+l-this.eGhost.clientWidth),r<0&&(r=0),i>0&&n+this.eGhost.clientHeight>i+a&&(n=i+a-this.eGhost.clientHeight),n<0&&(n=0),this.eGhost.style.left=r+"px",this.eGhost.style.top=n+"px"},t.prototype.removeGhost=function(){this.eGhost&&this.eGhostParent&&this.eGhostParent.removeChild(this.eGhost),this.eGhost=null},t.prototype.createGhost=function(){this.eGhost=g._.loadTemplate(e.GHOST_TEMPLATE);var t=this.environment.getTheme();t&&g._.addCssClass(this.eGhost,t),this.eGhostIcon=this.eGhost.querySelector(".ag-dnd-ghost-icon"),this.setGhostIcon(null),this.eGhost.querySelector(".ag-dnd-ghost-label").innerHTML=g._.escape(this.dragSource.dragItemName),this.eGhost.style.height="25px",this.eGhost.style.top="20px",this.eGhost.style.left="20px";var o=this.gridOptionsWrapper.getDocument();this.eGhostParent=o.querySelector("body"),this.eGhostParent?this.eGhostParent.appendChild(this.eGhost):console.warn("ag-Grid: could not find document body, it is needed for dragging columns")},t.prototype.setGhostIcon=function(t,o){var i;switch(void 0===o&&(o=!1),g._.clearElement(this.eGhostIcon),t){case e.ICON_ADD:i=this.ePlusIcon;break;case e.ICON_PINNED:i=this.ePinnedIcon;break;case e.ICON_MOVE:i=this.eMoveIcon;break;case e.ICON_LEFT:i=this.eLeftIcon;break;case e.ICON_RIGHT:i=this.eRightIcon;break;case e.ICON_GROUP:i=this.eGroupIcon;break;case e.ICON_AGGREGATE:i=this.eAggregateIcon;break;case e.ICON_PIVOT:i=this.ePivotIcon;break;case e.ICON_NOT_ALLOWED:i=this.eDropNotAllowedIcon;break;default:i=this.eHiddenIcon}this.eGhostIcon.appendChild(i),g._.addOrRemoveCssClass(this.eGhostIcon,"ag-shake-left-to-right",o)},t.ICON_PINNED="pinned",t.ICON_ADD="add",t.ICON_MOVE="move",t.ICON_LEFT="left",t.ICON_RIGHT="right",t.ICON_GROUP="group",t.ICON_AGGREGATE="aggregate",t.ICON_PIVOT="pivot",t.ICON_NOT_ALLOWED="notAllowed",t.GHOST_TEMPLATE='<div class="ag-dnd-ghost"> <span class="ag-dnd-ghost-icon ag-shake-left-to-right"></span> <div class="ag-dnd-ghost-label"> </div></div>',i([u.Autowired("gridOptionsWrapper"),n("design:type",c.GridOptionsWrapper)],t.prototype,"gridOptionsWrapper",void 0),i([u.Autowired("dragService"),n("design:type",d.DragService)],t.prototype,"dragService",void 0),i([u.Autowired("environment"),n("design:type",f.Environment)],t.prototype,"environment",void 0),i([u.Autowired("columnController"),n("design:type",h.ColumnController)],t.prototype,"columnController",void 0),i([u.PostConstruct,n("design:type",Function),n("design:paramtypes",[]),n("design:returntype",void 0)],t.prototype,"init",null),i([r(0,u.Qualifier("loggerFactory")),n("design:type",Function),n("design:paramtypes",[p.LoggerFactory]),n("design:returntype",void 0)],t.prototype,"setBeans",null),i([u.PreDestroy,n("design:type",Function),n("design:paramtypes",[]),n("design:returntype",void 0)],t.prototype,"destroy",null),e=i([u.Bean("dragAndDropService")],t)}();e.DragAndDropService=y},58369:(t,e,o)=>{var i=o(66346).BitSet,n=o(93343).ErrorListener,r=o(70040).Interval;function s(t){return n.call(this),t=t||!0,this.exactOnly=t,this}s.prototype=Object.create(n.prototype),s.prototype.constructor=s,s.prototype.reportAmbiguity=function(t,e,o,i,n,s,a){if(!this.exactOnly||n){var l="reportAmbiguity d="+this.getDecisionDescription(t,e)+": ambigAlts="+this.getConflictingAlts(s,a)+", input='"+t.getTokenStream().getText(new r(o,i))+"'";t.notifyErrorListeners(l)}},s.prototype.reportAttemptingFullContext=function(t,e,o,i,n,s){var a="reportAttemptingFullContext d="+this.getDecisionDescription(t,e)+", input='"+t.getTokenStream().getText(new r(o,i))+"'";t.notifyErrorListeners(a)},s.prototype.reportContextSensitivity=function(t,e,o,i,n,s){var a="reportContextSensitivity d="+this.getDecisionDescription(t,e)+", input='"+t.getTokenStream().getText(new r(o,i))+"'";t.notifyErrorListeners(a)},s.prototype.getDecisionDescription=function(t,e){var o=e.decision,i=e.atnStartState.ruleIndex,n=t.ruleNames;if(i<0||i>=n.length)return""+o;var r=n[i]||null;return null===r||0===r.length?""+o:o+" ("+r+")"},s.prototype.getConflictingAlts=function(t,e){if(null!==t)return t;for(var o=new i,n=0;n<e.items.length;n++)o.add(e.items[n].alt);return"{"+o.values().join(", ")+"}"},e.DiagnosticErrorListener=s},59007:function(t,e,o){var i=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},n=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r=o(72493),s=o(83423),a={"ag-theme-material":{headerHeight:56,virtualItemHeight:40,rowHeight:48},"ag-theme-classic":{headerHeight:25,virtualItemHeight:20,rowHeight:25},"ag-theme-balham":{headerHeight:32,virtualItemHeight:28,rowHeight:28}},l=function(){function t(){}return t.prototype.getSassVariable=function(t,e){return"ag-theme-material"==t?a["ag-theme-material"][e]:"ag-theme-balham"==t||"ag-theme-balham-dark"==t?a["ag-theme-balham"][e]:a["ag-theme-classic"][e]},t.prototype.getTheme=function(){for(var t,e=/\bag-(fresh|dark|blue|material|bootstrap|(?:theme-([\w\-]*)))\b/,o=this.eGridDiv;o&&(t=e.exec(o.className),null!=(o=o.parentElement)&&!t););if(t){var i=t[0];if(void 0===t[2]){var n=i.replace("ag-","ag-theme-");s._.doOnce((function(){return console.warn("ag-Grid: As of v19 old theme are no longer provided. Please replace "+i+" with "+n+".")}),"using-old-theme")}return i}},i([r.Autowired("eGridDiv"),n("design:type",HTMLElement)],t.prototype,"eGridDiv",void 0),i([r.Bean("environment")],t)}();e.Environment=l},59198:()=>{var t,e,o,i;String.fromCodePoint||(t=function(){try{var t={},e=Object.defineProperty,o=e(t,t,t)&&e}catch(t){}return o}(),e=String.fromCharCode,o=Math.floor,i=function(t){var i,n,r=[],s=-1,a=arguments.length;if(!a)return"";for(var l="";++s<a;){var p=Number(arguments[s]);if(!isFinite(p)||p<0||p>1114111||o(p)!=p)throw RangeError("Invalid code point: "+p);p<=65535?r.push(p):(i=55296+((p-=65536)>>10),n=p%1024+56320,r.push(i,n)),(s+1==a||r.length>16384)&&(l+=e.apply(null,r),r.length=0)}return l},t?t(String,"fromCodePoint",{value:i,configurable:!0,writable:!0}):String.fromCodePoint=i)},59873:function(t,e,o){var i=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s};Object.defineProperty(e,"__esModule",{value:!0});var n=o(72493),r="\r\n",s=function(){function t(){}return t.prototype.createHeader=function(t){void 0===t&&(t={});var e=["version"];return t.version||(t.version="1.0"),t.encoding&&e.push("encoding"),t.standalone&&e.push("standalone"),"<?xml "+e.map((function(e){return e+'="'+t[e]+'"'})).join(" ")+" ?>"},t.prototype.createXml=function(t,e){var o=this,i="";t.properties&&(t.properties.prefixedAttributes&&t.properties.prefixedAttributes.forEach((function(t){Object.keys(t.map).forEach((function(n){i+=o.returnAttributeIfPopulated(t.prefix+n,t.map[n],e)}))})),t.properties.rawMap&&Object.keys(t.properties.rawMap).forEach((function(n){i+=o.returnAttributeIfPopulated(n,t.properties.rawMap[n],e)})));var n="<"+t.name+i;return t.children||null!=t.textNode?null!=t.textNode?n+">"+t.textNode+"</"+t.name+">"+r:(n+=">\r\n",t.children&&t.children.forEach((function(t){n+=o.createXml(t,e)})),n+"</"+t.name+">"+r):n+"/>"+r},t.prototype.returnAttributeIfPopulated=function(t,e,o){if(!e&&""!==e&&0!==e)return"";var i=e;return"boolean"==typeof e&&o&&(i=o(e))," "+t+'="'+i+'"'},i([n.Bean("xmlFactory")],t)}();e.XmlFactory=s},59883:(t,e,o)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.checkTree=void 0;const i=o(94591);class n{constructor(t){this.options=t,this.checkSafeCall=t=>{const e=this.options.allowMethods;if("Identifier"===t.callee.type)return i.GLOBAL_FUNCTIONS.indexOf(t.callee.name)>=0&&t.arguments.every(this.checkSafeExpression);if(e&&"MemberExpression"===t.callee.type){const e=t.callee.object,o=t.callee.property;if("Identifier"===e.type&&"Identifier"===o.type)return(0,i.isMethodWhitelisted)(e.name,o.name)&&t.arguments.every(this.checkSafeExpression);if("NewExpression"!==e.type&&"CallExpression"!==e.type||"Identifier"!==e.callee.type)return this.checkSafeExpression(e)&&t.arguments.every(this.checkSafeExpression);{const n=e.callee;return(0,i.isMethodWhitelisted)(n.name,o.name)&&t.arguments.every(this.checkSafeExpression)}}return!1},this.checkSafeExpression=t=>{switch(t?.type){case"Identifier":return Object.prototype.hasOwnProperty.call(i.GLOBALS,t.name);case"Literal":return!0;case"ArrayExpression":return t.elements.every(this.checkSafeExpression);case"UnaryExpression":return this.checkSafeExpression(t.argument);case"BinaryExpression":return this.checkSafeExpression(t.left)&&this.checkSafeExpression(t.right);case"CallExpression":case"NewExpression":return this.checkSafeCall(t);case"ObjectExpression":return t.properties.every((t=>!("computed"in t&&t.computed||"method"in t&&t.method)&&!(!("key"in t)||!["Literal","Identifier"].includes(t.key.type))&&"value"in t&&(["FunctionExpression","ArrowFunctionExpression"].includes(t.value.type)||this.checkSafeExpression(t.value))));default:return!1}}}}e.checkTree=(t,e)=>"Program"===t.type&&1===t.body.length&&"ExpressionStatement"===t.body[0].type&&new n(e).checkSafeExpression(t.body[0].expression)},60473:(t,e,o)=>{o.d(e,{aN:()=>n});var i=o(92702);i.default,i.DEFAULT_COLLATION,i.DEFAULT_FILTER,i.DEFAULT_LIMIT,i.DEFAULT_MAX_TIME_MS,i.DEFAULT_PROJECT,i.DEFAULT_SKIP,i.DEFAULT_SORT,i.QUERY_PROPERTIES,i.isCollationValid,i.isFilterValid,i.isLimitValid,i.isMaxTimeMSValid,i.isProjectValid,i.isSkipValid,i.isSortValid,i.parseCollation;const n=i.parseFilter;i.parseProject,i.parseSort,i.stringify,i.toJSString,i.validate},60581:function(t,e,o){!function(t,e){function i(t,e){if(!t)throw new Error(e||"Assertion failed")}function n(t,e){t.super_=e;var o=function(){};o.prototype=e.prototype,t.prototype=new o,t.prototype.constructor=t}function r(t,e,o){if(r.isBN(t))return t;this.negative=0,this.words=null,this.length=0,this.red=null,null!==t&&("le"!==e&&"be"!==e||(o=e,e=10),this._init(t||0,e||10,o||"be"))}var s;"object"==typeof t?t.exports=r:e.BN=r,r.BN=r,r.wordSize=26;try{s="undefined"!=typeof window&&void 0!==window.Buffer?window.Buffer:o(67787).Buffer}catch(t){}function a(t,e){var o=t.charCodeAt(e);return o>=65&&o<=70?o-55:o>=97&&o<=102?o-87:o-48&15}function l(t,e,o){var i=a(t,o);return o-1>=e&&(i|=a(t,o-1)<<4),i}function p(t,e,o,i){for(var n=0,r=Math.min(t.length,o),s=e;s<r;s++){var a=t.charCodeAt(s)-48;n*=i,n+=a>=49?a-49+10:a>=17?a-17+10:a}return n}r.isBN=function(t){return t instanceof r||null!==t&&"object"==typeof t&&t.constructor.wordSize===r.wordSize&&Array.isArray(t.words)},r.max=function(t,e){return t.cmp(e)>0?t:e},r.min=function(t,e){return t.cmp(e)<0?t:e},r.prototype._init=function(t,e,o){if("number"==typeof t)return this._initNumber(t,e,o);if("object"==typeof t)return this._initArray(t,e,o);"hex"===e&&(e=16),i(e===(0|e)&&e>=2&&e<=36);var n=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&(n++,this.negative=1),n<t.length&&(16===e?this._parseHex(t,n,o):(this._parseBase(t,e,n),"le"===o&&this._initArray(this.toArray(),e,o)))},r.prototype._initNumber=function(t,e,o){t<0&&(this.negative=1,t=-t),t<67108864?(this.words=[67108863&t],this.length=1):t<4503599627370496?(this.words=[67108863&t,t/67108864&67108863],this.length=2):(i(t<9007199254740992),this.words=[67108863&t,t/67108864&67108863,1],this.length=3),"le"===o&&this._initArray(this.toArray(),e,o)},r.prototype._initArray=function(t,e,o){if(i("number"==typeof t.length),t.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(t.length/3),this.words=new Array(this.length);for(var n=0;n<this.length;n++)this.words[n]=0;var r,s,a=0;if("be"===o)for(n=t.length-1,r=0;n>=0;n-=3)s=t[n]|t[n-1]<<8|t[n-2]<<16,this.words[r]|=s<<a&67108863,this.words[r+1]=s>>>26-a&67108863,(a+=24)>=26&&(a-=26,r++);else if("le"===o)for(n=0,r=0;n<t.length;n+=3)s=t[n]|t[n+1]<<8|t[n+2]<<16,this.words[r]|=s<<a&67108863,this.words[r+1]=s>>>26-a&67108863,(a+=24)>=26&&(a-=26,r++);return this.strip()},r.prototype._parseHex=function(t,e,o){this.length=Math.ceil((t.length-e)/6),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var n,r=0,s=0;if("be"===o)for(i=t.length-1;i>=e;i-=2)n=l(t,e,i)<<r,this.words[s]|=67108863&n,r>=18?(r-=18,s+=1,this.words[s]|=n>>>26):r+=8;else for(i=(t.length-e)%2==0?e+1:e;i<t.length;i+=2)n=l(t,e,i)<<r,this.words[s]|=67108863&n,r>=18?(r-=18,s+=1,this.words[s]|=n>>>26):r+=8;this.strip()},r.prototype._parseBase=function(t,e,o){this.words=[0],this.length=1;for(var i=0,n=1;n<=67108863;n*=e)i++;i--,n=n/e|0;for(var r=t.length-o,s=r%i,a=Math.min(r,r-s)+o,l=0,u=o;u<a;u+=i)l=p(t,u,u+i,e),this.imuln(n),this.words[0]+l<67108864?this.words[0]+=l:this._iaddn(l);if(0!==s){var c=1;for(l=p(t,u,t.length,e),u=0;u<s;u++)c*=e;this.imuln(c),this.words[0]+l<67108864?this.words[0]+=l:this._iaddn(l)}this.strip()},r.prototype.copy=function(t){t.words=new Array(this.length);for(var e=0;e<this.length;e++)t.words[e]=this.words[e];t.length=this.length,t.negative=this.negative,t.red=this.red},r.prototype.clone=function(){var t=new r(null);return this.copy(t),t},r.prototype._expand=function(t){for(;this.length<t;)this.words[this.length++]=0;return this},r.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},r.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},r.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var u=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],c=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],d=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function h(t,e,o){o.negative=e.negative^t.negative;var i=t.length+e.length|0;o.length=i,i=i-1|0;var n=0|t.words[0],r=0|e.words[0],s=n*r,a=67108863&s,l=s/67108864|0;o.words[0]=a;for(var p=1;p<i;p++){for(var u=l>>>26,c=67108863&l,d=Math.min(p,e.length-1),h=Math.max(0,p-t.length+1);h<=d;h++){var f=p-h|0;u+=(s=(n=0|t.words[f])*(r=0|e.words[h])+c)/67108864|0,c=67108863&s}o.words[p]=0|c,l=0|u}return 0!==l?o.words[p]=0|l:o.length--,o.strip()}r.prototype.toString=function(t,e){var o;if(e=0|e||1,16===(t=t||10)||"hex"===t){o="";for(var n=0,r=0,s=0;s<this.length;s++){var a=this.words[s],l=(16777215&(a<<n|r)).toString(16);o=0!=(r=a>>>24-n&16777215)||s!==this.length-1?u[6-l.length]+l+o:l+o,(n+=2)>=26&&(n-=26,s--)}for(0!==r&&(o=r.toString(16)+o);o.length%e!=0;)o="0"+o;return 0!==this.negative&&(o="-"+o),o}if(t===(0|t)&&t>=2&&t<=36){var p=c[t],h=d[t];o="";var f=this.clone();for(f.negative=0;!f.isZero();){var g=f.modn(h).toString(t);o=(f=f.idivn(h)).isZero()?g+o:u[p-g.length]+g+o}for(this.isZero()&&(o="0"+o);o.length%e!=0;)o="0"+o;return 0!==this.negative&&(o="-"+o),o}i(!1,"Base should be between 2 and 36")},r.prototype.toNumber=function(){var t=this.words[0];return 2===this.length?t+=67108864*this.words[1]:3===this.length&&1===this.words[2]?t+=4503599627370496+67108864*this.words[1]:this.length>2&&i(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-t:t},r.prototype.toJSON=function(){return this.toString(16)},r.prototype.toBuffer=function(t,e){return i(void 0!==s),this.toArrayLike(s,t,e)},r.prototype.toArray=function(t,e){return this.toArrayLike(Array,t,e)},r.prototype.toArrayLike=function(t,e,o){var n=this.byteLength(),r=o||Math.max(1,n);i(n<=r,"byte array longer than desired length"),i(r>0,"Requested array length <= 0"),this.strip();var s,a,l="le"===e,p=new t(r),u=this.clone();if(l){for(a=0;!u.isZero();a++)s=u.andln(255),u.iushrn(8),p[a]=s;for(;a<r;a++)p[a]=0}else{for(a=0;a<r-n;a++)p[a]=0;for(a=0;!u.isZero();a++)s=u.andln(255),u.iushrn(8),p[r-a-1]=s}return p},Math.clz32?r.prototype._countBits=function(t){return 32-Math.clz32(t)}:r.prototype._countBits=function(t){var e=t,o=0;return e>=4096&&(o+=13,e>>>=13),e>=64&&(o+=7,e>>>=7),e>=8&&(o+=4,e>>>=4),e>=2&&(o+=2,e>>>=2),o+e},r.prototype._zeroBits=function(t){if(0===t)return 26;var e=t,o=0;return 8191&e||(o+=13,e>>>=13),127&e||(o+=7,e>>>=7),15&e||(o+=4,e>>>=4),3&e||(o+=2,e>>>=2),1&e||o++,o},r.prototype.bitLength=function(){var t=this.words[this.length-1],e=this._countBits(t);return 26*(this.length-1)+e},r.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,e=0;e<this.length;e++){var o=this._zeroBits(this.words[e]);if(t+=o,26!==o)break}return t},r.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},r.prototype.toTwos=function(t){return 0!==this.negative?this.abs().inotn(t).iaddn(1):this.clone()},r.prototype.fromTwos=function(t){return this.testn(t-1)?this.notn(t).iaddn(1).ineg():this.clone()},r.prototype.isNeg=function(){return 0!==this.negative},r.prototype.neg=function(){return this.clone().ineg()},r.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},r.prototype.iuor=function(t){for(;this.length<t.length;)this.words[this.length++]=0;for(var e=0;e<t.length;e++)this.words[e]=this.words[e]|t.words[e];return this.strip()},r.prototype.ior=function(t){return i(!(this.negative|t.negative)),this.iuor(t)},r.prototype.or=function(t){return this.length>t.length?this.clone().ior(t):t.clone().ior(this)},r.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},r.prototype.iuand=function(t){var e;e=this.length>t.length?t:this;for(var o=0;o<e.length;o++)this.words[o]=this.words[o]&t.words[o];return this.length=e.length,this.strip()},r.prototype.iand=function(t){return i(!(this.negative|t.negative)),this.iuand(t)},r.prototype.and=function(t){return this.length>t.length?this.clone().iand(t):t.clone().iand(this)},r.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},r.prototype.iuxor=function(t){var e,o;this.length>t.length?(e=this,o=t):(e=t,o=this);for(var i=0;i<o.length;i++)this.words[i]=e.words[i]^o.words[i];if(this!==e)for(;i<e.length;i++)this.words[i]=e.words[i];return this.length=e.length,this.strip()},r.prototype.ixor=function(t){return i(!(this.negative|t.negative)),this.iuxor(t)},r.prototype.xor=function(t){return this.length>t.length?this.clone().ixor(t):t.clone().ixor(this)},r.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},r.prototype.inotn=function(t){i("number"==typeof t&&t>=0);var e=0|Math.ceil(t/26),o=t%26;this._expand(e),o>0&&e--;for(var n=0;n<e;n++)this.words[n]=67108863&~this.words[n];return o>0&&(this.words[n]=~this.words[n]&67108863>>26-o),this.strip()},r.prototype.notn=function(t){return this.clone().inotn(t)},r.prototype.setn=function(t,e){i("number"==typeof t&&t>=0);var o=t/26|0,n=t%26;return this._expand(o+1),this.words[o]=e?this.words[o]|1<<n:this.words[o]&~(1<<n),this.strip()},r.prototype.iadd=function(t){var e,o,i;if(0!==this.negative&&0===t.negative)return this.negative=0,e=this.isub(t),this.negative^=1,this._normSign();if(0===this.negative&&0!==t.negative)return t.negative=0,e=this.isub(t),t.negative=1,e._normSign();this.length>t.length?(o=this,i=t):(o=t,i=this);for(var n=0,r=0;r<i.length;r++)e=(0|o.words[r])+(0|i.words[r])+n,this.words[r]=67108863&e,n=e>>>26;for(;0!==n&&r<o.length;r++)e=(0|o.words[r])+n,this.words[r]=67108863&e,n=e>>>26;if(this.length=o.length,0!==n)this.words[this.length]=n,this.length++;else if(o!==this)for(;r<o.length;r++)this.words[r]=o.words[r];return this},r.prototype.add=function(t){var e;return 0!==t.negative&&0===this.negative?(t.negative=0,e=this.sub(t),t.negative^=1,e):0===t.negative&&0!==this.negative?(this.negative=0,e=t.sub(this),this.negative=1,e):this.length>t.length?this.clone().iadd(t):t.clone().iadd(this)},r.prototype.isub=function(t){if(0!==t.negative){t.negative=0;var e=this.iadd(t);return t.negative=1,e._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var o,i,n=this.cmp(t);if(0===n)return this.negative=0,this.length=1,this.words[0]=0,this;n>0?(o=this,i=t):(o=t,i=this);for(var r=0,s=0;s<i.length;s++)r=(e=(0|o.words[s])-(0|i.words[s])+r)>>26,this.words[s]=67108863&e;for(;0!==r&&s<o.length;s++)r=(e=(0|o.words[s])+r)>>26,this.words[s]=67108863&e;if(0===r&&s<o.length&&o!==this)for(;s<o.length;s++)this.words[s]=o.words[s];return this.length=Math.max(this.length,s),o!==this&&(this.negative=1),this.strip()},r.prototype.sub=function(t){return this.clone().isub(t)};var f=function(t,e,o){var i,n,r,s=t.words,a=e.words,l=o.words,p=0,u=0|s[0],c=8191&u,d=u>>>13,h=0|s[1],f=8191&h,g=h>>>13,y=0|s[2],m=8191&y,v=y>>>13,C=0|s[3],E=8191&C,w=C>>>13,_=0|s[4],S=8191&_,b=_>>>13,R=0|s[5],O=8191&R,T=R>>>13,A=0|s[6],P=8191&A,D=A>>>13,x=0|s[7],N=8191&x,F=x>>>13,I=0|s[8],L=8191&I,M=I>>>13,k=0|s[9],G=8191&k,V=k>>>13,W=0|a[0],H=8191&W,B=W>>>13,j=0|a[1],U=8191&j,z=j>>>13,Y=0|a[2],K=8191&Y,q=Y>>>13,$=0|a[3],Q=8191&$,X=$>>>13,Z=0|a[4],J=8191&Z,tt=Z>>>13,et=0|a[5],ot=8191&et,it=et>>>13,nt=0|a[6],rt=8191&nt,st=nt>>>13,at=0|a[7],lt=8191&at,pt=at>>>13,ut=0|a[8],ct=8191&ut,dt=ut>>>13,ht=0|a[9],ft=8191&ht,gt=ht>>>13;o.negative=t.negative^e.negative,o.length=19;var yt=(p+(i=Math.imul(c,H))|0)+((8191&(n=(n=Math.imul(c,B))+Math.imul(d,H)|0))<<13)|0;p=((r=Math.imul(d,B))+(n>>>13)|0)+(yt>>>26)|0,yt&=67108863,i=Math.imul(f,H),n=(n=Math.imul(f,B))+Math.imul(g,H)|0,r=Math.imul(g,B);var mt=(p+(i=i+Math.imul(c,U)|0)|0)+((8191&(n=(n=n+Math.imul(c,z)|0)+Math.imul(d,U)|0))<<13)|0;p=((r=r+Math.imul(d,z)|0)+(n>>>13)|0)+(mt>>>26)|0,mt&=67108863,i=Math.imul(m,H),n=(n=Math.imul(m,B))+Math.imul(v,H)|0,r=Math.imul(v,B),i=i+Math.imul(f,U)|0,n=(n=n+Math.imul(f,z)|0)+Math.imul(g,U)|0,r=r+Math.imul(g,z)|0;var vt=(p+(i=i+Math.imul(c,K)|0)|0)+((8191&(n=(n=n+Math.imul(c,q)|0)+Math.imul(d,K)|0))<<13)|0;p=((r=r+Math.imul(d,q)|0)+(n>>>13)|0)+(vt>>>26)|0,vt&=67108863,i=Math.imul(E,H),n=(n=Math.imul(E,B))+Math.imul(w,H)|0,r=Math.imul(w,B),i=i+Math.imul(m,U)|0,n=(n=n+Math.imul(m,z)|0)+Math.imul(v,U)|0,r=r+Math.imul(v,z)|0,i=i+Math.imul(f,K)|0,n=(n=n+Math.imul(f,q)|0)+Math.imul(g,K)|0,r=r+Math.imul(g,q)|0;var Ct=(p+(i=i+Math.imul(c,Q)|0)|0)+((8191&(n=(n=n+Math.imul(c,X)|0)+Math.imul(d,Q)|0))<<13)|0;p=((r=r+Math.imul(d,X)|0)+(n>>>13)|0)+(Ct>>>26)|0,Ct&=67108863,i=Math.imul(S,H),n=(n=Math.imul(S,B))+Math.imul(b,H)|0,r=Math.imul(b,B),i=i+Math.imul(E,U)|0,n=(n=n+Math.imul(E,z)|0)+Math.imul(w,U)|0,r=r+Math.imul(w,z)|0,i=i+Math.imul(m,K)|0,n=(n=n+Math.imul(m,q)|0)+Math.imul(v,K)|0,r=r+Math.imul(v,q)|0,i=i+Math.imul(f,Q)|0,n=(n=n+Math.imul(f,X)|0)+Math.imul(g,Q)|0,r=r+Math.imul(g,X)|0;var Et=(p+(i=i+Math.imul(c,J)|0)|0)+((8191&(n=(n=n+Math.imul(c,tt)|0)+Math.imul(d,J)|0))<<13)|0;p=((r=r+Math.imul(d,tt)|0)+(n>>>13)|0)+(Et>>>26)|0,Et&=67108863,i=Math.imul(O,H),n=(n=Math.imul(O,B))+Math.imul(T,H)|0,r=Math.imul(T,B),i=i+Math.imul(S,U)|0,n=(n=n+Math.imul(S,z)|0)+Math.imul(b,U)|0,r=r+Math.imul(b,z)|0,i=i+Math.imul(E,K)|0,n=(n=n+Math.imul(E,q)|0)+Math.imul(w,K)|0,r=r+Math.imul(w,q)|0,i=i+Math.imul(m,Q)|0,n=(n=n+Math.imul(m,X)|0)+Math.imul(v,Q)|0,r=r+Math.imul(v,X)|0,i=i+Math.imul(f,J)|0,n=(n=n+Math.imul(f,tt)|0)+Math.imul(g,J)|0,r=r+Math.imul(g,tt)|0;var wt=(p+(i=i+Math.imul(c,ot)|0)|0)+((8191&(n=(n=n+Math.imul(c,it)|0)+Math.imul(d,ot)|0))<<13)|0;p=((r=r+Math.imul(d,it)|0)+(n>>>13)|0)+(wt>>>26)|0,wt&=67108863,i=Math.imul(P,H),n=(n=Math.imul(P,B))+Math.imul(D,H)|0,r=Math.imul(D,B),i=i+Math.imul(O,U)|0,n=(n=n+Math.imul(O,z)|0)+Math.imul(T,U)|0,r=r+Math.imul(T,z)|0,i=i+Math.imul(S,K)|0,n=(n=n+Math.imul(S,q)|0)+Math.imul(b,K)|0,r=r+Math.imul(b,q)|0,i=i+Math.imul(E,Q)|0,n=(n=n+Math.imul(E,X)|0)+Math.imul(w,Q)|0,r=r+Math.imul(w,X)|0,i=i+Math.imul(m,J)|0,n=(n=n+Math.imul(m,tt)|0)+Math.imul(v,J)|0,r=r+Math.imul(v,tt)|0,i=i+Math.imul(f,ot)|0,n=(n=n+Math.imul(f,it)|0)+Math.imul(g,ot)|0,r=r+Math.imul(g,it)|0;var _t=(p+(i=i+Math.imul(c,rt)|0)|0)+((8191&(n=(n=n+Math.imul(c,st)|0)+Math.imul(d,rt)|0))<<13)|0;p=((r=r+Math.imul(d,st)|0)+(n>>>13)|0)+(_t>>>26)|0,_t&=67108863,i=Math.imul(N,H),n=(n=Math.imul(N,B))+Math.imul(F,H)|0,r=Math.imul(F,B),i=i+Math.imul(P,U)|0,n=(n=n+Math.imul(P,z)|0)+Math.imul(D,U)|0,r=r+Math.imul(D,z)|0,i=i+Math.imul(O,K)|0,n=(n=n+Math.imul(O,q)|0)+Math.imul(T,K)|0,r=r+Math.imul(T,q)|0,i=i+Math.imul(S,Q)|0,n=(n=n+Math.imul(S,X)|0)+Math.imul(b,Q)|0,r=r+Math.imul(b,X)|0,i=i+Math.imul(E,J)|0,n=(n=n+Math.imul(E,tt)|0)+Math.imul(w,J)|0,r=r+Math.imul(w,tt)|0,i=i+Math.imul(m,ot)|0,n=(n=n+Math.imul(m,it)|0)+Math.imul(v,ot)|0,r=r+Math.imul(v,it)|0,i=i+Math.imul(f,rt)|0,n=(n=n+Math.imul(f,st)|0)+Math.imul(g,rt)|0,r=r+Math.imul(g,st)|0;var St=(p+(i=i+Math.imul(c,lt)|0)|0)+((8191&(n=(n=n+Math.imul(c,pt)|0)+Math.imul(d,lt)|0))<<13)|0;p=((r=r+Math.imul(d,pt)|0)+(n>>>13)|0)+(St>>>26)|0,St&=67108863,i=Math.imul(L,H),n=(n=Math.imul(L,B))+Math.imul(M,H)|0,r=Math.imul(M,B),i=i+Math.imul(N,U)|0,n=(n=n+Math.imul(N,z)|0)+Math.imul(F,U)|0,r=r+Math.imul(F,z)|0,i=i+Math.imul(P,K)|0,n=(n=n+Math.imul(P,q)|0)+Math.imul(D,K)|0,r=r+Math.imul(D,q)|0,i=i+Math.imul(O,Q)|0,n=(n=n+Math.imul(O,X)|0)+Math.imul(T,Q)|0,r=r+Math.imul(T,X)|0,i=i+Math.imul(S,J)|0,n=(n=n+Math.imul(S,tt)|0)+Math.imul(b,J)|0,r=r+Math.imul(b,tt)|0,i=i+Math.imul(E,ot)|0,n=(n=n+Math.imul(E,it)|0)+Math.imul(w,ot)|0,r=r+Math.imul(w,it)|0,i=i+Math.imul(m,rt)|0,n=(n=n+Math.imul(m,st)|0)+Math.imul(v,rt)|0,r=r+Math.imul(v,st)|0,i=i+Math.imul(f,lt)|0,n=(n=n+Math.imul(f,pt)|0)+Math.imul(g,lt)|0,r=r+Math.imul(g,pt)|0;var bt=(p+(i=i+Math.imul(c,ct)|0)|0)+((8191&(n=(n=n+Math.imul(c,dt)|0)+Math.imul(d,ct)|0))<<13)|0;p=((r=r+Math.imul(d,dt)|0)+(n>>>13)|0)+(bt>>>26)|0,bt&=67108863,i=Math.imul(G,H),n=(n=Math.imul(G,B))+Math.imul(V,H)|0,r=Math.imul(V,B),i=i+Math.imul(L,U)|0,n=(n=n+Math.imul(L,z)|0)+Math.imul(M,U)|0,r=r+Math.imul(M,z)|0,i=i+Math.imul(N,K)|0,n=(n=n+Math.imul(N,q)|0)+Math.imul(F,K)|0,r=r+Math.imul(F,q)|0,i=i+Math.imul(P,Q)|0,n=(n=n+Math.imul(P,X)|0)+Math.imul(D,Q)|0,r=r+Math.imul(D,X)|0,i=i+Math.imul(O,J)|0,n=(n=n+Math.imul(O,tt)|0)+Math.imul(T,J)|0,r=r+Math.imul(T,tt)|0,i=i+Math.imul(S,ot)|0,n=(n=n+Math.imul(S,it)|0)+Math.imul(b,ot)|0,r=r+Math.imul(b,it)|0,i=i+Math.imul(E,rt)|0,n=(n=n+Math.imul(E,st)|0)+Math.imul(w,rt)|0,r=r+Math.imul(w,st)|0,i=i+Math.imul(m,lt)|0,n=(n=n+Math.imul(m,pt)|0)+Math.imul(v,lt)|0,r=r+Math.imul(v,pt)|0,i=i+Math.imul(f,ct)|0,n=(n=n+Math.imul(f,dt)|0)+Math.imul(g,ct)|0,r=r+Math.imul(g,dt)|0;var Rt=(p+(i=i+Math.imul(c,ft)|0)|0)+((8191&(n=(n=n+Math.imul(c,gt)|0)+Math.imul(d,ft)|0))<<13)|0;p=((r=r+Math.imul(d,gt)|0)+(n>>>13)|0)+(Rt>>>26)|0,Rt&=67108863,i=Math.imul(G,U),n=(n=Math.imul(G,z))+Math.imul(V,U)|0,r=Math.imul(V,z),i=i+Math.imul(L,K)|0,n=(n=n+Math.imul(L,q)|0)+Math.imul(M,K)|0,r=r+Math.imul(M,q)|0,i=i+Math.imul(N,Q)|0,n=(n=n+Math.imul(N,X)|0)+Math.imul(F,Q)|0,r=r+Math.imul(F,X)|0,i=i+Math.imul(P,J)|0,n=(n=n+Math.imul(P,tt)|0)+Math.imul(D,J)|0,r=r+Math.imul(D,tt)|0,i=i+Math.imul(O,ot)|0,n=(n=n+Math.imul(O,it)|0)+Math.imul(T,ot)|0,r=r+Math.imul(T,it)|0,i=i+Math.imul(S,rt)|0,n=(n=n+Math.imul(S,st)|0)+Math.imul(b,rt)|0,r=r+Math.imul(b,st)|0,i=i+Math.imul(E,lt)|0,n=(n=n+Math.imul(E,pt)|0)+Math.imul(w,lt)|0,r=r+Math.imul(w,pt)|0,i=i+Math.imul(m,ct)|0,n=(n=n+Math.imul(m,dt)|0)+Math.imul(v,ct)|0,r=r+Math.imul(v,dt)|0;var Ot=(p+(i=i+Math.imul(f,ft)|0)|0)+((8191&(n=(n=n+Math.imul(f,gt)|0)+Math.imul(g,ft)|0))<<13)|0;p=((r=r+Math.imul(g,gt)|0)+(n>>>13)|0)+(Ot>>>26)|0,Ot&=67108863,i=Math.imul(G,K),n=(n=Math.imul(G,q))+Math.imul(V,K)|0,r=Math.imul(V,q),i=i+Math.imul(L,Q)|0,n=(n=n+Math.imul(L,X)|0)+Math.imul(M,Q)|0,r=r+Math.imul(M,X)|0,i=i+Math.imul(N,J)|0,n=(n=n+Math.imul(N,tt)|0)+Math.imul(F,J)|0,r=r+Math.imul(F,tt)|0,i=i+Math.imul(P,ot)|0,n=(n=n+Math.imul(P,it)|0)+Math.imul(D,ot)|0,r=r+Math.imul(D,it)|0,i=i+Math.imul(O,rt)|0,n=(n=n+Math.imul(O,st)|0)+Math.imul(T,rt)|0,r=r+Math.imul(T,st)|0,i=i+Math.imul(S,lt)|0,n=(n=n+Math.imul(S,pt)|0)+Math.imul(b,lt)|0,r=r+Math.imul(b,pt)|0,i=i+Math.imul(E,ct)|0,n=(n=n+Math.imul(E,dt)|0)+Math.imul(w,ct)|0,r=r+Math.imul(w,dt)|0;var Tt=(p+(i=i+Math.imul(m,ft)|0)|0)+((8191&(n=(n=n+Math.imul(m,gt)|0)+Math.imul(v,ft)|0))<<13)|0;p=((r=r+Math.imul(v,gt)|0)+(n>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,i=Math.imul(G,Q),n=(n=Math.imul(G,X))+Math.imul(V,Q)|0,r=Math.imul(V,X),i=i+Math.imul(L,J)|0,n=(n=n+Math.imul(L,tt)|0)+Math.imul(M,J)|0,r=r+Math.imul(M,tt)|0,i=i+Math.imul(N,ot)|0,n=(n=n+Math.imul(N,it)|0)+Math.imul(F,ot)|0,r=r+Math.imul(F,it)|0,i=i+Math.imul(P,rt)|0,n=(n=n+Math.imul(P,st)|0)+Math.imul(D,rt)|0,r=r+Math.imul(D,st)|0,i=i+Math.imul(O,lt)|0,n=(n=n+Math.imul(O,pt)|0)+Math.imul(T,lt)|0,r=r+Math.imul(T,pt)|0,i=i+Math.imul(S,ct)|0,n=(n=n+Math.imul(S,dt)|0)+Math.imul(b,ct)|0,r=r+Math.imul(b,dt)|0;var At=(p+(i=i+Math.imul(E,ft)|0)|0)+((8191&(n=(n=n+Math.imul(E,gt)|0)+Math.imul(w,ft)|0))<<13)|0;p=((r=r+Math.imul(w,gt)|0)+(n>>>13)|0)+(At>>>26)|0,At&=67108863,i=Math.imul(G,J),n=(n=Math.imul(G,tt))+Math.imul(V,J)|0,r=Math.imul(V,tt),i=i+Math.imul(L,ot)|0,n=(n=n+Math.imul(L,it)|0)+Math.imul(M,ot)|0,r=r+Math.imul(M,it)|0,i=i+Math.imul(N,rt)|0,n=(n=n+Math.imul(N,st)|0)+Math.imul(F,rt)|0,r=r+Math.imul(F,st)|0,i=i+Math.imul(P,lt)|0,n=(n=n+Math.imul(P,pt)|0)+Math.imul(D,lt)|0,r=r+Math.imul(D,pt)|0,i=i+Math.imul(O,ct)|0,n=(n=n+Math.imul(O,dt)|0)+Math.imul(T,ct)|0,r=r+Math.imul(T,dt)|0;var Pt=(p+(i=i+Math.imul(S,ft)|0)|0)+((8191&(n=(n=n+Math.imul(S,gt)|0)+Math.imul(b,ft)|0))<<13)|0;p=((r=r+Math.imul(b,gt)|0)+(n>>>13)|0)+(Pt>>>26)|0,Pt&=67108863,i=Math.imul(G,ot),n=(n=Math.imul(G,it))+Math.imul(V,ot)|0,r=Math.imul(V,it),i=i+Math.imul(L,rt)|0,n=(n=n+Math.imul(L,st)|0)+Math.imul(M,rt)|0,r=r+Math.imul(M,st)|0,i=i+Math.imul(N,lt)|0,n=(n=n+Math.imul(N,pt)|0)+Math.imul(F,lt)|0,r=r+Math.imul(F,pt)|0,i=i+Math.imul(P,ct)|0,n=(n=n+Math.imul(P,dt)|0)+Math.imul(D,ct)|0,r=r+Math.imul(D,dt)|0;var Dt=(p+(i=i+Math.imul(O,ft)|0)|0)+((8191&(n=(n=n+Math.imul(O,gt)|0)+Math.imul(T,ft)|0))<<13)|0;p=((r=r+Math.imul(T,gt)|0)+(n>>>13)|0)+(Dt>>>26)|0,Dt&=67108863,i=Math.imul(G,rt),n=(n=Math.imul(G,st))+Math.imul(V,rt)|0,r=Math.imul(V,st),i=i+Math.imul(L,lt)|0,n=(n=n+Math.imul(L,pt)|0)+Math.imul(M,lt)|0,r=r+Math.imul(M,pt)|0,i=i+Math.imul(N,ct)|0,n=(n=n+Math.imul(N,dt)|0)+Math.imul(F,ct)|0,r=r+Math.imul(F,dt)|0;var xt=(p+(i=i+Math.imul(P,ft)|0)|0)+((8191&(n=(n=n+Math.imul(P,gt)|0)+Math.imul(D,ft)|0))<<13)|0;p=((r=r+Math.imul(D,gt)|0)+(n>>>13)|0)+(xt>>>26)|0,xt&=67108863,i=Math.imul(G,lt),n=(n=Math.imul(G,pt))+Math.imul(V,lt)|0,r=Math.imul(V,pt),i=i+Math.imul(L,ct)|0,n=(n=n+Math.imul(L,dt)|0)+Math.imul(M,ct)|0,r=r+Math.imul(M,dt)|0;var Nt=(p+(i=i+Math.imul(N,ft)|0)|0)+((8191&(n=(n=n+Math.imul(N,gt)|0)+Math.imul(F,ft)|0))<<13)|0;p=((r=r+Math.imul(F,gt)|0)+(n>>>13)|0)+(Nt>>>26)|0,Nt&=67108863,i=Math.imul(G,ct),n=(n=Math.imul(G,dt))+Math.imul(V,ct)|0,r=Math.imul(V,dt);var Ft=(p+(i=i+Math.imul(L,ft)|0)|0)+((8191&(n=(n=n+Math.imul(L,gt)|0)+Math.imul(M,ft)|0))<<13)|0;p=((r=r+Math.imul(M,gt)|0)+(n>>>13)|0)+(Ft>>>26)|0,Ft&=67108863;var It=(p+(i=Math.imul(G,ft))|0)+((8191&(n=(n=Math.imul(G,gt))+Math.imul(V,ft)|0))<<13)|0;return p=((r=Math.imul(V,gt))+(n>>>13)|0)+(It>>>26)|0,It&=67108863,l[0]=yt,l[1]=mt,l[2]=vt,l[3]=Ct,l[4]=Et,l[5]=wt,l[6]=_t,l[7]=St,l[8]=bt,l[9]=Rt,l[10]=Ot,l[11]=Tt,l[12]=At,l[13]=Pt,l[14]=Dt,l[15]=xt,l[16]=Nt,l[17]=Ft,l[18]=It,0!==p&&(l[19]=p,o.length++),o};function g(t,e,o){return(new y).mulp(t,e,o)}function y(t,e){this.x=t,this.y=e}Math.imul||(f=h),r.prototype.mulTo=function(t,e){var o,i=this.length+t.length;return o=10===this.length&&10===t.length?f(this,t,e):i<63?h(this,t,e):i<1024?function(t,e,o){o.negative=e.negative^t.negative,o.length=t.length+e.length;for(var i=0,n=0,r=0;r<o.length-1;r++){var s=n;n=0;for(var a=67108863&i,l=Math.min(r,e.length-1),p=Math.max(0,r-t.length+1);p<=l;p++){var u=r-p,c=(0|t.words[u])*(0|e.words[p]),d=67108863&c;a=67108863&(d=d+a|0),n+=(s=(s=s+(c/67108864|0)|0)+(d>>>26)|0)>>>26,s&=67108863}o.words[r]=a,i=s,s=n}return 0!==i?o.words[r]=i:o.length--,o.strip()}(this,t,e):g(this,t,e),o},y.prototype.makeRBT=function(t){for(var e=new Array(t),o=r.prototype._countBits(t)-1,i=0;i<t;i++)e[i]=this.revBin(i,o,t);return e},y.prototype.revBin=function(t,e,o){if(0===t||t===o-1)return t;for(var i=0,n=0;n<e;n++)i|=(1&t)<<e-n-1,t>>=1;return i},y.prototype.permute=function(t,e,o,i,n,r){for(var s=0;s<r;s++)i[s]=e[t[s]],n[s]=o[t[s]]},y.prototype.transform=function(t,e,o,i,n,r){this.permute(r,t,e,o,i,n);for(var s=1;s<n;s<<=1)for(var a=s<<1,l=Math.cos(2*Math.PI/a),p=Math.sin(2*Math.PI/a),u=0;u<n;u+=a)for(var c=l,d=p,h=0;h<s;h++){var f=o[u+h],g=i[u+h],y=o[u+h+s],m=i[u+h+s],v=c*y-d*m;m=c*m+d*y,y=v,o[u+h]=f+y,i[u+h]=g+m,o[u+h+s]=f-y,i[u+h+s]=g-m,h!==a&&(v=l*c-p*d,d=l*d+p*c,c=v)}},y.prototype.guessLen13b=function(t,e){var o=1|Math.max(e,t),i=1&o,n=0;for(o=o/2|0;o;o>>>=1)n++;return 1<<n+1+i},y.prototype.conjugate=function(t,e,o){if(!(o<=1))for(var i=0;i<o/2;i++){var n=t[i];t[i]=t[o-i-1],t[o-i-1]=n,n=e[i],e[i]=-e[o-i-1],e[o-i-1]=-n}},y.prototype.normalize13b=function(t,e){for(var o=0,i=0;i<e/2;i++){var n=8192*Math.round(t[2*i+1]/e)+Math.round(t[2*i]/e)+o;t[i]=67108863&n,o=n<67108864?0:n/67108864|0}return t},y.prototype.convert13b=function(t,e,o,n){for(var r=0,s=0;s<e;s++)r+=0|t[s],o[2*s]=8191&r,r>>>=13,o[2*s+1]=8191&r,r>>>=13;for(s=2*e;s<n;++s)o[s]=0;i(0===r),i(!(-8192&r))},y.prototype.stub=function(t){for(var e=new Array(t),o=0;o<t;o++)e[o]=0;return e},y.prototype.mulp=function(t,e,o){var i=2*this.guessLen13b(t.length,e.length),n=this.makeRBT(i),r=this.stub(i),s=new Array(i),a=new Array(i),l=new Array(i),p=new Array(i),u=new Array(i),c=new Array(i),d=o.words;d.length=i,this.convert13b(t.words,t.length,s,i),this.convert13b(e.words,e.length,p,i),this.transform(s,r,a,l,i,n),this.transform(p,r,u,c,i,n);for(var h=0;h<i;h++){var f=a[h]*u[h]-l[h]*c[h];l[h]=a[h]*c[h]+l[h]*u[h],a[h]=f}return this.conjugate(a,l,i),this.transform(a,l,d,r,i,n),this.conjugate(d,r,i),this.normalize13b(d,i),o.negative=t.negative^e.negative,o.length=t.length+e.length,o.strip()},r.prototype.mul=function(t){var e=new r(null);return e.words=new Array(this.length+t.length),this.mulTo(t,e)},r.prototype.mulf=function(t){var e=new r(null);return e.words=new Array(this.length+t.length),g(this,t,e)},r.prototype.imul=function(t){return this.clone().mulTo(t,this)},r.prototype.imuln=function(t){i("number"==typeof t),i(t<67108864);for(var e=0,o=0;o<this.length;o++){var n=(0|this.words[o])*t,r=(67108863&n)+(67108863&e);e>>=26,e+=n/67108864|0,e+=r>>>26,this.words[o]=67108863&r}return 0!==e&&(this.words[o]=e,this.length++),this},r.prototype.muln=function(t){return this.clone().imuln(t)},r.prototype.sqr=function(){return this.mul(this)},r.prototype.isqr=function(){return this.imul(this.clone())},r.prototype.pow=function(t){var e=function(t){for(var e=new Array(t.bitLength()),o=0;o<e.length;o++){var i=o/26|0,n=o%26;e[o]=(t.words[i]&1<<n)>>>n}return e}(t);if(0===e.length)return new r(1);for(var o=this,i=0;i<e.length&&0===e[i];i++,o=o.sqr());if(++i<e.length)for(var n=o.sqr();i<e.length;i++,n=n.sqr())0!==e[i]&&(o=o.mul(n));return o},r.prototype.iushln=function(t){i("number"==typeof t&&t>=0);var e,o=t%26,n=(t-o)/26,r=67108863>>>26-o<<26-o;if(0!==o){var s=0;for(e=0;e<this.length;e++){var a=this.words[e]&r,l=(0|this.words[e])-a<<o;this.words[e]=l|s,s=a>>>26-o}s&&(this.words[e]=s,this.length++)}if(0!==n){for(e=this.length-1;e>=0;e--)this.words[e+n]=this.words[e];for(e=0;e<n;e++)this.words[e]=0;this.length+=n}return this.strip()},r.prototype.ishln=function(t){return i(0===this.negative),this.iushln(t)},r.prototype.iushrn=function(t,e,o){var n;i("number"==typeof t&&t>=0),n=e?(e-e%26)/26:0;var r=t%26,s=Math.min((t-r)/26,this.length),a=67108863^67108863>>>r<<r,l=o;if(n-=s,n=Math.max(0,n),l){for(var p=0;p<s;p++)l.words[p]=this.words[p];l.length=s}if(0===s);else if(this.length>s)for(this.length-=s,p=0;p<this.length;p++)this.words[p]=this.words[p+s];else this.words[0]=0,this.length=1;var u=0;for(p=this.length-1;p>=0&&(0!==u||p>=n);p--){var c=0|this.words[p];this.words[p]=u<<26-r|c>>>r,u=c&a}return l&&0!==u&&(l.words[l.length++]=u),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},r.prototype.ishrn=function(t,e,o){return i(0===this.negative),this.iushrn(t,e,o)},r.prototype.shln=function(t){return this.clone().ishln(t)},r.prototype.ushln=function(t){return this.clone().iushln(t)},r.prototype.shrn=function(t){return this.clone().ishrn(t)},r.prototype.ushrn=function(t){return this.clone().iushrn(t)},r.prototype.testn=function(t){i("number"==typeof t&&t>=0);var e=t%26,o=(t-e)/26,n=1<<e;return!(this.length<=o||!(this.words[o]&n))},r.prototype.imaskn=function(t){i("number"==typeof t&&t>=0);var e=t%26,o=(t-e)/26;if(i(0===this.negative,"imaskn works only with positive numbers"),this.length<=o)return this;if(0!==e&&o++,this.length=Math.min(o,this.length),0!==e){var n=67108863^67108863>>>e<<e;this.words[this.length-1]&=n}return this.strip()},r.prototype.maskn=function(t){return this.clone().imaskn(t)},r.prototype.iaddn=function(t){return i("number"==typeof t),i(t<67108864),t<0?this.isubn(-t):0!==this.negative?1===this.length&&(0|this.words[0])<t?(this.words[0]=t-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(t),this.negative=1,this):this._iaddn(t)},r.prototype._iaddn=function(t){this.words[0]+=t;for(var e=0;e<this.length&&this.words[e]>=67108864;e++)this.words[e]-=67108864,e===this.length-1?this.words[e+1]=1:this.words[e+1]++;return this.length=Math.max(this.length,e+1),this},r.prototype.isubn=function(t){if(i("number"==typeof t),i(t<67108864),t<0)return this.iaddn(-t);if(0!==this.negative)return this.negative=0,this.iaddn(t),this.negative=1,this;if(this.words[0]-=t,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var e=0;e<this.length&&this.words[e]<0;e++)this.words[e]+=67108864,this.words[e+1]-=1;return this.strip()},r.prototype.addn=function(t){return this.clone().iaddn(t)},r.prototype.subn=function(t){return this.clone().isubn(t)},r.prototype.iabs=function(){return this.negative=0,this},r.prototype.abs=function(){return this.clone().iabs()},r.prototype._ishlnsubmul=function(t,e,o){var n,r,s=t.length+o;this._expand(s);var a=0;for(n=0;n<t.length;n++){r=(0|this.words[n+o])+a;var l=(0|t.words[n])*e;a=((r-=67108863&l)>>26)-(l/67108864|0),this.words[n+o]=67108863&r}for(;n<this.length-o;n++)a=(r=(0|this.words[n+o])+a)>>26,this.words[n+o]=67108863&r;if(0===a)return this.strip();for(i(-1===a),a=0,n=0;n<this.length;n++)a=(r=-(0|this.words[n])+a)>>26,this.words[n]=67108863&r;return this.negative=1,this.strip()},r.prototype._wordDiv=function(t,e){var o=(this.length,t.length),i=this.clone(),n=t,s=0|n.words[n.length-1];0!=(o=26-this._countBits(s))&&(n=n.ushln(o),i.iushln(o),s=0|n.words[n.length-1]);var a,l=i.length-n.length;if("mod"!==e){(a=new r(null)).length=l+1,a.words=new Array(a.length);for(var p=0;p<a.length;p++)a.words[p]=0}var u=i.clone()._ishlnsubmul(n,1,l);0===u.negative&&(i=u,a&&(a.words[l]=1));for(var c=l-1;c>=0;c--){var d=67108864*(0|i.words[n.length+c])+(0|i.words[n.length+c-1]);for(d=Math.min(d/s|0,67108863),i._ishlnsubmul(n,d,c);0!==i.negative;)d--,i.negative=0,i._ishlnsubmul(n,1,c),i.isZero()||(i.negative^=1);a&&(a.words[c]=d)}return a&&a.strip(),i.strip(),"div"!==e&&0!==o&&i.iushrn(o),{div:a||null,mod:i}},r.prototype.divmod=function(t,e,o){return i(!t.isZero()),this.isZero()?{div:new r(0),mod:new r(0)}:0!==this.negative&&0===t.negative?(a=this.neg().divmod(t,e),"mod"!==e&&(n=a.div.neg()),"div"!==e&&(s=a.mod.neg(),o&&0!==s.negative&&s.iadd(t)),{div:n,mod:s}):0===this.negative&&0!==t.negative?(a=this.divmod(t.neg(),e),"mod"!==e&&(n=a.div.neg()),{div:n,mod:a.mod}):this.negative&t.negative?(a=this.neg().divmod(t.neg(),e),"div"!==e&&(s=a.mod.neg(),o&&0!==s.negative&&s.isub(t)),{div:a.div,mod:s}):t.length>this.length||this.cmp(t)<0?{div:new r(0),mod:this}:1===t.length?"div"===e?{div:this.divn(t.words[0]),mod:null}:"mod"===e?{div:null,mod:new r(this.modn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new r(this.modn(t.words[0]))}:this._wordDiv(t,e);var n,s,a},r.prototype.div=function(t){return this.divmod(t,"div",!1).div},r.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},r.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},r.prototype.divRound=function(t){var e=this.divmod(t);if(e.mod.isZero())return e.div;var o=0!==e.div.negative?e.mod.isub(t):e.mod,i=t.ushrn(1),n=t.andln(1),r=o.cmp(i);return r<0||1===n&&0===r?e.div:0!==e.div.negative?e.div.isubn(1):e.div.iaddn(1)},r.prototype.modn=function(t){i(t<=67108863);for(var e=(1<<26)%t,o=0,n=this.length-1;n>=0;n--)o=(e*o+(0|this.words[n]))%t;return o},r.prototype.idivn=function(t){i(t<=67108863);for(var e=0,o=this.length-1;o>=0;o--){var n=(0|this.words[o])+67108864*e;this.words[o]=n/t|0,e=n%t}return this.strip()},r.prototype.divn=function(t){return this.clone().idivn(t)},r.prototype.egcd=function(t){i(0===t.negative),i(!t.isZero());var e=this,o=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var n=new r(1),s=new r(0),a=new r(0),l=new r(1),p=0;e.isEven()&&o.isEven();)e.iushrn(1),o.iushrn(1),++p;for(var u=o.clone(),c=e.clone();!e.isZero();){for(var d=0,h=1;!(e.words[0]&h)&&d<26;++d,h<<=1);if(d>0)for(e.iushrn(d);d-- >0;)(n.isOdd()||s.isOdd())&&(n.iadd(u),s.isub(c)),n.iushrn(1),s.iushrn(1);for(var f=0,g=1;!(o.words[0]&g)&&f<26;++f,g<<=1);if(f>0)for(o.iushrn(f);f-- >0;)(a.isOdd()||l.isOdd())&&(a.iadd(u),l.isub(c)),a.iushrn(1),l.iushrn(1);e.cmp(o)>=0?(e.isub(o),n.isub(a),s.isub(l)):(o.isub(e),a.isub(n),l.isub(s))}return{a,b:l,gcd:o.iushln(p)}},r.prototype._invmp=function(t){i(0===t.negative),i(!t.isZero());var e=this,o=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var n,s=new r(1),a=new r(0),l=o.clone();e.cmpn(1)>0&&o.cmpn(1)>0;){for(var p=0,u=1;!(e.words[0]&u)&&p<26;++p,u<<=1);if(p>0)for(e.iushrn(p);p-- >0;)s.isOdd()&&s.iadd(l),s.iushrn(1);for(var c=0,d=1;!(o.words[0]&d)&&c<26;++c,d<<=1);if(c>0)for(o.iushrn(c);c-- >0;)a.isOdd()&&a.iadd(l),a.iushrn(1);e.cmp(o)>=0?(e.isub(o),s.isub(a)):(o.isub(e),a.isub(s))}return(n=0===e.cmpn(1)?s:a).cmpn(0)<0&&n.iadd(t),n},r.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var e=this.clone(),o=t.clone();e.negative=0,o.negative=0;for(var i=0;e.isEven()&&o.isEven();i++)e.iushrn(1),o.iushrn(1);for(;;){for(;e.isEven();)e.iushrn(1);for(;o.isEven();)o.iushrn(1);var n=e.cmp(o);if(n<0){var r=e;e=o,o=r}else if(0===n||0===o.cmpn(1))break;e.isub(o)}return o.iushln(i)},r.prototype.invm=function(t){return this.egcd(t).a.umod(t)},r.prototype.isEven=function(){return!(1&this.words[0])},r.prototype.isOdd=function(){return!(1&~this.words[0])},r.prototype.andln=function(t){return this.words[0]&t},r.prototype.bincn=function(t){i("number"==typeof t);var e=t%26,o=(t-e)/26,n=1<<e;if(this.length<=o)return this._expand(o+1),this.words[o]|=n,this;for(var r=n,s=o;0!==r&&s<this.length;s++){var a=0|this.words[s];r=(a+=r)>>>26,a&=67108863,this.words[s]=a}return 0!==r&&(this.words[s]=r,this.length++),this},r.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},r.prototype.cmpn=function(t){var e,o=t<0;if(0!==this.negative&&!o)return-1;if(0===this.negative&&o)return 1;if(this.strip(),this.length>1)e=1;else{o&&(t=-t),i(t<=67108863,"Number is too big");var n=0|this.words[0];e=n===t?0:n<t?-1:1}return 0!==this.negative?0|-e:e},r.prototype.cmp=function(t){if(0!==this.negative&&0===t.negative)return-1;if(0===this.negative&&0!==t.negative)return 1;var e=this.ucmp(t);return 0!==this.negative?0|-e:e},r.prototype.ucmp=function(t){if(this.length>t.length)return 1;if(this.length<t.length)return-1;for(var e=0,o=this.length-1;o>=0;o--){var i=0|this.words[o],n=0|t.words[o];if(i!==n){i<n?e=-1:i>n&&(e=1);break}}return e},r.prototype.gtn=function(t){return 1===this.cmpn(t)},r.prototype.gt=function(t){return 1===this.cmp(t)},r.prototype.gten=function(t){return this.cmpn(t)>=0},r.prototype.gte=function(t){return this.cmp(t)>=0},r.prototype.ltn=function(t){return-1===this.cmpn(t)},r.prototype.lt=function(t){return-1===this.cmp(t)},r.prototype.lten=function(t){return this.cmpn(t)<=0},r.prototype.lte=function(t){return this.cmp(t)<=0},r.prototype.eqn=function(t){return 0===this.cmpn(t)},r.prototype.eq=function(t){return 0===this.cmp(t)},r.red=function(t){return new S(t)},r.prototype.toRed=function(t){return i(!this.red,"Already a number in reduction context"),i(0===this.negative,"red works only with positives"),t.convertTo(this)._forceRed(t)},r.prototype.fromRed=function(){return i(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},r.prototype._forceRed=function(t){return this.red=t,this},r.prototype.forceRed=function(t){return i(!this.red,"Already a number in reduction context"),this._forceRed(t)},r.prototype.redAdd=function(t){return i(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},r.prototype.redIAdd=function(t){return i(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},r.prototype.redSub=function(t){return i(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},r.prototype.redISub=function(t){return i(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},r.prototype.redShl=function(t){return i(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},r.prototype.redMul=function(t){return i(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},r.prototype.redIMul=function(t){return i(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},r.prototype.redSqr=function(){return i(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},r.prototype.redISqr=function(){return i(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},r.prototype.redSqrt=function(){return i(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},r.prototype.redInvm=function(){return i(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},r.prototype.redNeg=function(){return i(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},r.prototype.redPow=function(t){return i(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var m={k256:null,p224:null,p192:null,p25519:null};function v(t,e){this.name=t,this.p=new r(e,16),this.n=this.p.bitLength(),this.k=new r(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function C(){v.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function E(){v.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function w(){v.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function _(){v.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function S(t){if("string"==typeof t){var e=r._prime(t);this.m=e.p,this.prime=e}else i(t.gtn(1),"modulus must be greater than 1"),this.m=t,this.prime=null}function b(t){S.call(this,t),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new r(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}v.prototype._tmp=function(){var t=new r(null);return t.words=new Array(Math.ceil(this.n/13)),t},v.prototype.ireduce=function(t){var e,o=t;do{this.split(o,this.tmp),e=(o=(o=this.imulK(o)).iadd(this.tmp)).bitLength()}while(e>this.n);var i=e<this.n?-1:o.ucmp(this.p);return 0===i?(o.words[0]=0,o.length=1):i>0?o.isub(this.p):void 0!==o.strip?o.strip():o._strip(),o},v.prototype.split=function(t,e){t.iushrn(this.n,0,e)},v.prototype.imulK=function(t){return t.imul(this.k)},n(C,v),C.prototype.split=function(t,e){for(var o=4194303,i=Math.min(t.length,9),n=0;n<i;n++)e.words[n]=t.words[n];if(e.length=i,t.length<=9)return t.words[0]=0,void(t.length=1);var r=t.words[9];for(e.words[e.length++]=r&o,n=10;n<t.length;n++){var s=0|t.words[n];t.words[n-10]=(s&o)<<4|r>>>22,r=s}r>>>=22,t.words[n-10]=r,0===r&&t.length>10?t.length-=10:t.length-=9},C.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var e=0,o=0;o<t.length;o++){var i=0|t.words[o];e+=977*i,t.words[o]=67108863&e,e=64*i+(e/67108864|0)}return 0===t.words[t.length-1]&&(t.length--,0===t.words[t.length-1]&&t.length--),t},n(E,v),n(w,v),n(_,v),_.prototype.imulK=function(t){for(var e=0,o=0;o<t.length;o++){var i=19*(0|t.words[o])+e,n=67108863&i;i>>>=26,t.words[o]=n,e=i}return 0!==e&&(t.words[t.length++]=e),t},r._prime=function(t){if(m[t])return m[t];var e;if("k256"===t)e=new C;else if("p224"===t)e=new E;else if("p192"===t)e=new w;else{if("p25519"!==t)throw new Error("Unknown prime "+t);e=new _}return m[t]=e,e},S.prototype._verify1=function(t){i(0===t.negative,"red works only with positives"),i(t.red,"red works only with red numbers")},S.prototype._verify2=function(t,e){i(!(t.negative|e.negative),"red works only with positives"),i(t.red&&t.red===e.red,"red works only with red numbers")},S.prototype.imod=function(t){return this.prime?this.prime.ireduce(t)._forceRed(this):t.umod(this.m)._forceRed(this)},S.prototype.neg=function(t){return t.isZero()?t.clone():this.m.sub(t)._forceRed(this)},S.prototype.add=function(t,e){this._verify2(t,e);var o=t.add(e);return o.cmp(this.m)>=0&&o.isub(this.m),o._forceRed(this)},S.prototype.iadd=function(t,e){this._verify2(t,e);var o=t.iadd(e);return o.cmp(this.m)>=0&&o.isub(this.m),o},S.prototype.sub=function(t,e){this._verify2(t,e);var o=t.sub(e);return o.cmpn(0)<0&&o.iadd(this.m),o._forceRed(this)},S.prototype.isub=function(t,e){this._verify2(t,e);var o=t.isub(e);return o.cmpn(0)<0&&o.iadd(this.m),o},S.prototype.shl=function(t,e){return this._verify1(t),this.imod(t.ushln(e))},S.prototype.imul=function(t,e){return this._verify2(t,e),this.imod(t.imul(e))},S.prototype.mul=function(t,e){return this._verify2(t,e),this.imod(t.mul(e))},S.prototype.isqr=function(t){return this.imul(t,t.clone())},S.prototype.sqr=function(t){return this.mul(t,t)},S.prototype.sqrt=function(t){if(t.isZero())return t.clone();var e=this.m.andln(3);if(i(e%2==1),3===e){var o=this.m.add(new r(1)).iushrn(2);return this.pow(t,o)}for(var n=this.m.subn(1),s=0;!n.isZero()&&0===n.andln(1);)s++,n.iushrn(1);i(!n.isZero());var a=new r(1).toRed(this),l=a.redNeg(),p=this.m.subn(1).iushrn(1),u=this.m.bitLength();for(u=new r(2*u*u).toRed(this);0!==this.pow(u,p).cmp(l);)u.redIAdd(l);for(var c=this.pow(u,n),d=this.pow(t,n.addn(1).iushrn(1)),h=this.pow(t,n),f=s;0!==h.cmp(a);){for(var g=h,y=0;0!==g.cmp(a);y++)g=g.redSqr();i(y<f);var m=this.pow(c,new r(1).iushln(f-y-1));d=d.redMul(m),c=m.redSqr(),h=h.redMul(c),f=y}return d},S.prototype.invm=function(t){var e=t._invmp(this.m);return 0!==e.negative?(e.negative=0,this.imod(e).redNeg()):this.imod(e)},S.prototype.pow=function(t,e){if(e.isZero())return new r(1).toRed(this);if(0===e.cmpn(1))return t.clone();var o=new Array(16);o[0]=new r(1).toRed(this),o[1]=t;for(var i=2;i<o.length;i++)o[i]=this.mul(o[i-1],t);var n=o[0],s=0,a=0,l=e.bitLength()%26;for(0===l&&(l=26),i=e.length-1;i>=0;i--){for(var p=e.words[i],u=l-1;u>=0;u--){var c=p>>u&1;n!==o[0]&&(n=this.sqr(n)),0!==c||0!==s?(s<<=1,s|=c,(4==++a||0===i&&0===u)&&(n=this.mul(n,o[s]),a=0,s=0)):a=0}l=26}return n},S.prototype.convertTo=function(t){var e=t.umod(this.m);return e===t?e.clone():e},S.prototype.convertFrom=function(t){var e=t.clone();return e.red=null,e},r.mont=function(t){return new b(t)},n(b,S),b.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},b.prototype.convertFrom=function(t){var e=this.imod(t.mul(this.rinv));return e.red=null,e},b.prototype.imul=function(t,e){if(t.isZero()||e.isZero())return t.words[0]=0,t.length=1,t;var o=t.imul(e),i=o.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),n=o.isub(i).iushrn(this.shift),r=n;return n.cmp(this.m)>=0?r=n.isub(this.m):n.cmpn(0)<0&&(r=n.iadd(this.m)),r._forceRed(this)},b.prototype.mul=function(t,e){if(t.isZero()||e.isZero())return new r(0)._forceRed(this);var o=t.mul(e),i=o.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),n=o.isub(i).iushrn(this.shift),s=n;return n.cmp(this.m)>=0?s=n.isub(this.m):n.cmpn(0)<0&&(s=n.iadd(this.m)),s._forceRed(this)},b.prototype.invm=function(t){return this.imod(t._invmp(this.m).mul(this.r2))._forceRed(this)}}(t=o.nmd(t),this)},60634:(t,e,o)=>{var i=o(72994).Token,n=o(18393).Lexer,r=o(51028).ATN,s=o(16068).e,a=o(41207).X,l=(o(87264).Q,o(87264).F),p=o(10559).PredictionContext,u=o(10559).SingletonPredictionContext,c=o(81367).RuleStopState,d=o(470).I,h=o(10014).Transition,f=o(96160).I,g=o(86587).LexerNoViableAltException;function y(t){t.index=-1,t.line=0,t.column=-1,t.dfaState=null}function m(){return y(this),this}function v(t,e,o,i){return s.call(this,e,i),this.decisionToDFA=o,this.recog=t,this.startIndex=-1,this.line=1,this.column=0,this.mode=n.DEFAULT_MODE,this.prevAccept=new m,this}m.prototype.reset=function(){y(this)},v.prototype=Object.create(s.prototype),v.prototype.constructor=v,v.debug=!1,v.dfa_debug=!1,v.MIN_DFA_EDGE=0,v.MAX_DFA_EDGE=127,v.match_calls=0,v.prototype.copyState=function(t){this.column=t.column,this.line=t.line,this.mode=t.mode,this.startIndex=t.startIndex},v.prototype.match=function(t,e){this.match_calls+=1,this.mode=e;var o=t.mark();try{this.startIndex=t.index,this.prevAccept.reset();var i=this.decisionToDFA[e];return null===i.s0?this.matchATN(t):this.execATN(t,i.s0)}finally{t.release(o)}},v.prototype.reset=function(){this.prevAccept.reset(),this.startIndex=-1,this.line=1,this.column=0,this.mode=n.DEFAULT_MODE},v.prototype.matchATN=function(t){var e=this.atn.modeToStartState[this.mode];v.debug&&console.log("matchATN mode "+this.mode+" start: "+e);var o=this.mode,i=this.computeStartState(t,e),n=i.hasSemanticContext;i.hasSemanticContext=!1;var r=this.addDFAState(i);n||(this.decisionToDFA[this.mode].s0=r);var s=this.execATN(t,r);return v.debug&&console.log("DFA after matchATN: "+this.decisionToDFA[o].toLexerString()),s},v.prototype.execATN=function(t,e){v.debug&&console.log("start state closure="+e.configs),e.isAcceptState&&this.captureSimState(this.prevAccept,t,e);for(var o=t.LA(1),n=e;;){v.debug&&console.log("execATN loop starting closure: "+n.configs);var r=this.getExistingTargetState(n,o);if(null===r&&(r=this.computeTargetState(t,n,o)),r===s.ERROR)break;if(o!==i.EOF&&this.consume(t),r.isAcceptState&&(this.captureSimState(this.prevAccept,t,r),o===i.EOF))break;o=t.LA(1),n=r}return this.failOrAccept(this.prevAccept,t,n.configs,o)},v.prototype.getExistingTargetState=function(t,e){if(null===t.edges||e<v.MIN_DFA_EDGE||e>v.MAX_DFA_EDGE)return null;var o=t.edges[e-v.MIN_DFA_EDGE];return void 0===o&&(o=null),v.debug&&null!==o&&console.log("reuse state "+t.stateNumber+" edge to "+o.stateNumber),o},v.prototype.computeTargetState=function(t,e,o){var i=new l;return this.getReachableConfigSet(t,e.configs,i,o),0===i.items.length?(i.hasSemanticContext||this.addDFAEdge(e,o,s.ERROR),s.ERROR):this.addDFAEdge(e,o,null,i)},v.prototype.failOrAccept=function(t,e,o,n){if(null!==this.prevAccept.dfaState){var r=t.dfaState.lexerActionExecutor;return this.accept(e,r,this.startIndex,t.index,t.line,t.column),t.dfaState.prediction}if(n===i.EOF&&e.index===this.startIndex)return i.EOF;throw new g(this.recog,e,this.startIndex,o)},v.prototype.getReachableConfigSet=function(t,e,o,n){for(var s=r.INVALID_ALT_NUMBER,a=0;a<e.items.length;a++){var l=e.items[a],p=l.alt===s;if(!p||!l.passedThroughNonGreedyDecision){v.debug&&console.log("testing %s at %s\n",this.getTokenName(n),l.toString(this.recog,!0));for(var u=0;u<l.state.transitions.length;u++){var c=l.state.transitions[u],h=this.getReachableTarget(c,n);if(null!==h){var f=l.lexerActionExecutor;null!==f&&(f=f.fixOffsetBeforeMatch(t.index-this.startIndex));var g=n===i.EOF,y=new d({state:h,lexerActionExecutor:f},l);this.closure(t,y,o,p,!0,g)&&(s=l.alt)}}}}},v.prototype.accept=function(t,e,o,i,n,r){v.debug&&console.log("ACTION %s\n",e),t.seek(i),this.line=n,this.column=r,null!==e&&null!==this.recog&&e.execute(this.recog,t,o)},v.prototype.getReachableTarget=function(t,e){return t.matches(e,0,n.MAX_CHAR_VALUE)?t.target:null},v.prototype.computeStartState=function(t,e){for(var o=p.EMPTY,i=new l,n=0;n<e.transitions.length;n++){var r=e.transitions[n].target,s=new d({state:r,alt:n+1,context:o},null);this.closure(t,s,i,!1,!1,!1)}return i},v.prototype.closure=function(t,e,o,i,n,r){var s=null;if(v.debug&&console.log("closure("+e.toString(this.recog,!0)+")"),e.state instanceof c){if(v.debug&&(null!==this.recog?console.log("closure at %s rule stop %s\n",this.recog.ruleNames[e.state.ruleIndex],e):console.log("closure at rule stop %s\n",e)),null===e.context||e.context.hasEmptyPath()){if(null===e.context||e.context.isEmpty())return o.add(e),!0;o.add(new d({state:e.state,context:p.EMPTY},e)),i=!0}if(null!==e.context&&!e.context.isEmpty())for(var a=0;a<e.context.length;a++)if(e.context.getReturnState(a)!==p.EMPTY_RETURN_STATE){var l=e.context.getParent(a),u=this.atn.states[e.context.getReturnState(a)];s=new d({state:u,context:l},e),i=this.closure(t,s,o,i,n,r)}return i}e.state.epsilonOnlyTransitions||i&&e.passedThroughNonGreedyDecision||o.add(e);for(var h=0;h<e.state.transitions.length;h++){var f=e.state.transitions[h];null!==(s=this.getEpsilonTarget(t,e,f,o,n,r))&&(i=this.closure(t,s,o,i,n,r))}return i},v.prototype.getEpsilonTarget=function(t,e,o,r,s,a){var l=null;if(o.serializationType===h.RULE){var p=u.create(e.context,o.followState.stateNumber);l=new d({state:o.target,context:p},e)}else{if(o.serializationType===h.PRECEDENCE)throw"Precedence predicates are not supported in lexers.";if(o.serializationType===h.PREDICATE)v.debug&&console.log("EVAL rule "+o.ruleIndex+":"+o.predIndex),r.hasSemanticContext=!0,this.evaluatePredicate(t,o.ruleIndex,o.predIndex,s)&&(l=new d({state:o.target},e));else if(o.serializationType===h.ACTION)if(null===e.context||e.context.hasEmptyPath()){var c=f.append(e.lexerActionExecutor,this.atn.lexerActions[o.actionIndex]);l=new d({state:o.target,lexerActionExecutor:c},e)}else l=new d({state:o.target},e);else o.serializationType===h.EPSILON?l=new d({state:o.target},e):o.serializationType!==h.ATOM&&o.serializationType!==h.RANGE&&o.serializationType!==h.SET||a&&o.matches(i.EOF,0,n.MAX_CHAR_VALUE)&&(l=new d({state:o.target},e))}return l},v.prototype.evaluatePredicate=function(t,e,o,i){if(null===this.recog)return!0;if(!i)return this.recog.sempred(null,e,o);var n=this.column,r=this.line,s=t.index,a=t.mark();try{return this.consume(t),this.recog.sempred(null,e,o)}finally{this.column=n,this.line=r,t.seek(s),t.release(a)}},v.prototype.captureSimState=function(t,e,o){t.index=e.index,t.line=this.line,t.column=this.column,t.dfaState=o},v.prototype.addDFAEdge=function(t,e,o,i){if(void 0===o&&(o=null),void 0===i&&(i=null),null===o&&null!==i){var n=i.hasSemanticContext;if(i.hasSemanticContext=!1,o=this.addDFAState(i),n)return o}return e<v.MIN_DFA_EDGE||e>v.MAX_DFA_EDGE||(v.debug&&console.log("EDGE "+t+" -> "+o+" upon "+e),null===t.edges&&(t.edges=[]),t.edges[e-v.MIN_DFA_EDGE]=o),o},v.prototype.addDFAState=function(t){for(var e=new a(null,t),o=null,i=0;i<t.items.length;i++){var n=t.items[i];if(n.state instanceof c){o=n;break}}null!==o&&(e.isAcceptState=!0,e.lexerActionExecutor=o.lexerActionExecutor,e.prediction=this.atn.ruleToTokenType[o.state.ruleIndex]);var r=this.decisionToDFA[this.mode],s=r.states.get(e);if(null!==s)return s;var l=e;return l.stateNumber=r.states.length,t.setReadonly(!0),l.configs=t,r.states.add(l),l},v.prototype.getDFA=function(t){return this.decisionToDFA[t]},v.prototype.getText=function(t){return t.getText(this.startIndex,t.index-1)},v.prototype.consume=function(t){t.LA(1)==="\n".charCodeAt(0)?(this.line+=1,this.column=0):this.column+=1,t.consume()},v.prototype.getTokenName=function(t){return-1===t?"EOF":"'"+String.fromCharCode(t)+"'"},e.LexerATNSimulator=v},60843:function(t,e,o){var i=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},n=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},r=this&&this.__param||function(t,e){return function(o,i){e(o,i,t)}};Object.defineProperty(e,"__esModule",{value:!0});var s=o(37132),a=o(72493),l=o(72493),p=o(44081),u=o(83423),c=function(){function t(){this.allSyncListeners={},this.allAsyncListeners={},this.globalSyncListeners=[],this.globalAsyncListeners=[],this.asyncFunctionsQueue=[],this.scheduled=!1,this.firedEvents={}}var e;return e=t,t.prototype.setBeans=function(t,e,o){if(void 0===o&&(o=null),this.logger=t.create("EventService"),o){var i=e.useAsyncEvents();this.addGlobalListener(o,i)}},t.prototype.getListenerList=function(t,e){var o=e?this.allAsyncListeners:this.allSyncListeners,i=o[t];return i||(i=[],o[t]=i),i},t.prototype.addEventListener=function(t,e,o){void 0===o&&(o=!1);var i=this.getListenerList(t,o);i.indexOf(e)<0&&i.push(e)},t.prototype.addModalPriorityEventListener=function(t,o,i){void 0===i&&(i=!1),this.addEventListener(t+e.PRIORITY,o,i)},t.prototype.addGlobalListener=function(t,e){void 0===e&&(e=!1),e?this.globalAsyncListeners.push(t):this.globalSyncListeners.push(t)},t.prototype.removeEventListener=function(t,e,o){void 0===o&&(o=!1);var i=this.getListenerList(t,o);u._.removeFromArray(i,e)},t.prototype.removeGlobalListener=function(t,e){void 0===e&&(e=!1),e?u._.removeFromArray(this.globalAsyncListeners,t):u._.removeFromArray(this.globalSyncListeners,t)},t.prototype.dispatchEvent=function(t){this.dispatchToListeners(t,!0),this.dispatchToListeners(t,!1),this.firedEvents[t.type]=!0},t.prototype.dispatchEventOnce=function(t){this.firedEvents[t.type]||this.dispatchEvent(t)},t.prototype.dispatchToListeners=function(t,o){var i=this,n=o?this.globalAsyncListeners:this.globalSyncListeners,r=t.type,s=this.getListenerList(r+e.PRIORITY,o);u._.forEachSnapshotFirst(s,(function(e){o?i.dispatchAsync((function(){return e(t)})):e(t)}));var a=this.getListenerList(r,o);u._.forEachSnapshotFirst(a,(function(e){o?i.dispatchAsync((function(){return e(t)})):e(t)})),u._.forEachSnapshotFirst(n,(function(e){o?i.dispatchAsync((function(){return e(r,t)})):e(r,t)}))},t.prototype.dispatchAsync=function(t){this.asyncFunctionsQueue.push(t),this.scheduled||(window.setTimeout(this.flushAsyncQueue.bind(this),0),this.scheduled=!0)},t.prototype.flushAsyncQueue=function(){this.scheduled=!1;var t=this.asyncFunctionsQueue.slice();this.asyncFunctionsQueue=[],t.forEach((function(t){return t()}))},t.PRIORITY="-P1",i([r(0,l.Qualifier("loggerFactory")),r(1,l.Qualifier("gridOptionsWrapper")),r(2,l.Qualifier("globalEventListener")),n("design:type",Function),n("design:paramtypes",[s.LoggerFactory,p.GridOptionsWrapper,Function]),n("design:returntype",void 0)],t.prototype,"setBeans",null),e=i([a.Bean("eventService")],t)}();e.EventService=c},61862:(t,e,o)=>{Object.defineProperty(e,"__esModule",{value:!0});var i=o(97156),n=o(65360),r=!1;e.initialiseAgGridWithWebComponents=function(){if(console.warn("ag-grid: initialiseAgGridWithWebComponents is deprecated. Please use the ag-grid-webcomponent dependency instead. "),!r){r=!0,"undefined"!=typeof document&&document.registerElement||console.error("ag-Grid: unable to find document.registerElement() function, unable to initialise ag-Grid as a Web Component");var t=Object.create(HTMLElement.prototype);i.ComponentUtil.ALL_PROPERTIES.forEach((function(e){Object.defineProperty(t,e,{set:function(t){this.__agGridSetProperty(e,t)},get:function(){return this.__agGridGetProperty(e)},enumerable:!0,configurable:!0})}));var e=t;e.__agGridSetProperty=function(t,e){this.__attributes||(this.__attributes={}),this.__attributes[t]=e;var o={};o[t]={currentValue:e},this.onChange(o)},e.onChange=function(t){this._initialised&&i.ComponentUtil.processOnChange(t,this._gridOptions,this.api,this.columnApi)},e.__agGridGetProperty=function(t){return this.__attributes||(this.__attributes={}),this.__attributes[t]},e.setGridOptions=function(t){var e=this.globalEventListener.bind(this);this._gridOptions=i.ComponentUtil.copyAttributesToGridOptions(t,this);var o={globalEventListener:e};this._agGrid=new n.Grid(this,this._gridOptions,o),this.api=t.api,this.columnApi=t.columnApi,this._initialised=!0},e.createdCallback=function(){for(var t=0;t<this.attributes.length;t++){var e=this.attributes[t];this.setPropertyFromAttribute(e)}},e.setPropertyFromAttribute=function(t){var e,o="string"==typeof(e=t.nodeName)?e.replace(/-([a-z])/g,(function(t){return t[1].toUpperCase()})):e,n=t.nodeValue;i.ComponentUtil.ALL_PROPERTIES.indexOf(o)>=0&&(this[o]=n)},e.attachedCallback=function(t){},e.detachedCallback=function(t){},e.attributeChangedCallback=function(t){var e=this.attributes[t];this.setPropertyFromAttribute(e)},e.globalEventListener=function(t,e){var o=t.toLowerCase(),i=new Event(o);i.agGridDetails=e,this.dispatchEvent(i);var n="on"+o;"function"==typeof this[n]&&this[n](i)},document.registerElement("ag-grid",{prototype:t})}}},63387:(t,e,o)=>{o(66346).Set;var i=o(66346).Map,n=o(66346).BitSet,r=o(66346).AltDict,s=o(51028).ATN,a=o(81367).RuleStopState,l=o(87264).Q,p=o(470).G,u=o(7842).Ij,c=(o(66346).Hash,o(66346).hashStuff);function d(){return this}o(66346).equalArrays,d.SLL=0,d.LL=1,d.LL_EXACT_AMBIG_DETECTION=2,d.hasSLLConflictTerminatingPrediction=function(t,e){if(d.allConfigsInRuleStopStates(e))return!0;if(t===d.SLL&&e.hasSemanticContext){for(var o=new l,i=0;i<e.items.length;i++){var n=e.items[i];n=new p({semanticContext:u.NONE},n),o.add(n)}e=o}var r=d.getConflictingAltSubsets(e);return d.hasConflictingAltSet(r)&&!d.hasStateAssociatedWithOneAlt(e)},d.hasConfigInRuleStopState=function(t){for(var e=0;e<t.items.length;e++)if(t.items[e].state instanceof a)return!0;return!1},d.allConfigsInRuleStopStates=function(t){for(var e=0;e<t.items.length;e++)if(!(t.items[e].state instanceof a))return!1;return!0},d.resolvesToJustOneViableAlt=function(t){return d.getSingleViableAlt(t)},d.allSubsetsConflict=function(t){return!d.hasNonConflictingAltSet(t)},d.hasNonConflictingAltSet=function(t){for(var e=0;e<t.length;e++)if(1===t[e].length)return!0;return!1},d.hasConflictingAltSet=function(t){for(var e=0;e<t.length;e++)if(t[e].length>1)return!0;return!1},d.allSubsetsEqual=function(t){for(var e=null,o=0;o<t.length;o++){var i=t[o];if(null===e)e=i;else if(i!==e)return!1}return!0},d.getUniqueAlt=function(t){var e=d.getAlts(t);return 1===e.length?e.minValue():s.INVALID_ALT_NUMBER},d.getAlts=function(t){var e=new n;return t.map((function(t){e.or(t)})),e},d.getConflictingAltSubsets=function(t){var e=new i;return e.hashFunction=function(t){c(t.state.stateNumber,t.context)},e.equalsFunction=function(t,e){return t.state.stateNumber==e.state.stateNumber&&t.context.equals(e.context)},t.items.map((function(t){var o=e.get(t);null===o&&(o=new n,e.put(t,o)),o.add(t.alt)})),e.getValues()},d.getStateToAltMap=function(t){var e=new r;return t.items.map((function(t){var o=e.get(t.state);null===o&&(o=new n,e.put(t.state,o)),o.add(t.alt)})),e},d.hasStateAssociatedWithOneAlt=function(t){for(var e=d.getStateToAltMap(t).values(),o=0;o<e.length;o++)if(1===e[o].length)return!0;return!1},d.getSingleViableAlt=function(t){for(var e=null,o=0;o<t.length;o++){var i=t[o].minValue();if(null===e)e=i;else if(e!==i)return s.INVALID_ALT_NUMBER}return e},e.PredictionMode=d},63405:(t,e,o)=>{Object.defineProperty(e,"__esModule",{value:!0});var i=o(85222);e.Events=i.Events},63626:(t,e,o)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.stringify=e.toJSString=void 0;const i=o(17230),n=new Map([["[object Array]","Array"],["[object Object]","Object"],["[object String]","String"],["[object Date]","Date"],["[object Number]","Number"],["[object Function]","Function"],["[object RegExp]","RegExp"],["[object Boolean]","Boolean"],["[object Null]","Null"],["[object Undefined]","Undefined"]]);const r={Code:function(t){return t.scope?`Code('${t.code}',${JSON.stringify(t.scope)})`:`Code('${t.code}')`},ObjectID:function(t){return`ObjectId('${t.toString("hex")}')`},ObjectId:function(t){return`ObjectId('${t.toString("hex")}')`},Binary:function(t){const e=t.sub_type;if(4===e&&16===t.buffer.length){let e="";try{e=t.toUUID().toString()}catch{e=t.toString("hex")}return`UUID('${e}')`}return`BinData(${e.toString(10)}, '${t.toString("base64")}')`},DBRef:function(t){return t.db?`DBRef('${t.collection}', '${t.oid.toString()}', '${t.db}')`:`DBRef('${t.collection}', '${t.oid.toString()}')`},Timestamp:function(t){return`Timestamp({ t: ${t.high}, i: ${t.low} })`},Long:function(t){return`NumberLong('${t.toString()}')`},Decimal128:function(t){return`NumberDecimal('${t.toString()}')`},Double:function(t){return`Double('${t.toString()}')`},Int32:function(t){return`NumberInt('${t.toString()}')`},MaxKey:function(){return"MaxKey()"},MinKey:function(){return"MinKey()"},Date:function(t){return r.ISODate(t)},ISODate:function(t){try{return`ISODate('${t.toISOString()}')`}catch(e){return`ISODate('${t.toString()}')`}},RegExp:function(t){let e="",o=!1;return t.global&&(o=!0,e+="g"),t.ignoreCase&&(o=!0,e+="i"),t.multiline&&(o=!0,e+="m"),`RegExp(${JSON.stringify(t.source)}${o?`, '${e}'`:""})`},BSONRegExp:function(t){const e=t.options&&t.options?.length>0;let o="RegExp";try{RegExp(t.pattern,t.options||void 0)}catch{o="BSONRegExp"}return`${o}(${JSON.stringify(t.pattern)}${e?`, '${t.options}'`:""})`}};function s(t,e=2){return(0,i.stringify)(t,(function(t,e,o){const i=function(t){const e=function(t){return n.get(Object.prototype.toString.call(t))}(t),o="Object"===e&&t._bsontype;return{type:o||e,isBSON:!!o}}(t),s=r[i.type];return s?s(t):o(t)}),e)}e.toJSString=s,e.stringify=function(t){return s(t,1)?.replace(/ ?\n ? ?/g,"").replace(/ {2,}/g," ")}},63667:(t,e,o)=>{var i=o(65994).e;e.formatArgs=function(e){if(e[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+e[0]+(this.useColors?"%c ":" ")+"+"+t.exports.humanize(this.diff),!this.useColors)return;const o="color: "+this.color;e.splice(1,0,o,"color: inherit");let i=0,n=0;e[0].replace(/%[a-zA-Z%]/g,(t=>{"%%"!==t&&(i++,"%c"===t&&(n=i))})),e.splice(n,0,o)},e.save=function(t){try{t?e.storage.setItem("debug",t):e.storage.removeItem("debug")}catch(t){}},e.load=function(){let t;try{t=e.storage.getItem("debug")||e.storage.getItem("DEBUG")}catch(t){}return!t&&void 0!==i&&"env"in i&&(t=i.env.DEBUG),t},e.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let t;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&(t=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(t[1],10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},e.storage=function(){try{return localStorage}catch(t){}}(),e.destroy=(()=>{let t=!1;return()=>{t||(t=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),e.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],e.log=console.debug||console.log||(()=>{}),t.exports=o(48110)(e);const{formatters:n}=t.exports;n.j=function(t){try{return JSON.stringify(t)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}},64229:function(t,e,o){var i,n=this&&this.__extends||(i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},i(t,e)},function(t,e){function o(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),r=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},s=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var a=o(44081),l=o(98239),p=o(44871),u=o(10042),c=o(72493),d=o(60843),h=o(63405),f=o(25230),g=o(45727),y=o(1571),m=o(42195),v=o(13887),C=o(48011),E=o(41451),w=o(15724),_=o(10190),S=o(50580),b=o(40797),R=o(69065),O=o(19378),T=o(8894),A=o(24463),P=o(66419),D=o(58342),x=o(36819),N=o(51755),F=o(45697),I=o(22131),L=o(23801),M=o(64314),k=o(41832),G=o(55090),V=o(47721),W=o(89929),H=o(68198),B=o(83423),j=function(t){function e(){var e=t.call(this,'<div class="ag-root ag-unselectable" role="grid" unselectable="on">\n <ag-header-root ref="headerRoot" unselectable="on"></ag-header-root>\n <div class="ag-floating-top" ref="eTop" role="presentation" unselectable="on">\n <div class="ag-pinned-left-floating-top" ref="eLeftTop" role="presentation" unselectable="on"></div>\n <div class="ag-floating-top-viewport" ref="eTopViewport" role="presentation" unselectable="on">\n <div class="ag-floating-top-container" ref="eTopContainer" role="presentation" unselectable="on"></div>\n </div>\n <div class="ag-pinned-right-floating-top" ref="eRightTop" role="presentation" unselectable="on"></div>\n <div class="ag-floating-top-full-width-container" ref="eTopFullWidthContainer" role="presentation" unselectable="on"></div>\n </div>\n <div class="ag-body-viewport" ref="eBodyViewport" role="presentation" unselectable="on">\n <div class="ag-pinned-left-cols-container" ref="eLeftContainer" role="presentation" unselectable="on"></div>\n <div class="ag-center-cols-clipper" ref="eCenterColsClipper">\n <div class="ag-center-cols-viewport" ref="eCenterViewport" role="presentation" unselectable="on">\n <div class="ag-center-cols-container" ref="eCenterContainer" role="presentation" unselectable="on"></div>\n </div>\n </div>\n <div class="ag-pinned-right-cols-container" ref="eRightContainer" role="presentation" unselectable="on"></div>\n <div class="ag-full-width-container" ref="eFullWidthContainer" role="presentation" unselectable="on"></div>\n </div>\n <div class="ag-floating-bottom" ref="eBottom" role="presentation" unselectable="on">\n <div class="ag-pinned-left-floating-bottom" ref="eLeftBottom" role="presentation" unselectable="on"></div>\n <div class="ag-floating-bottom-viewport" ref="eBottomViewport" role="presentation" unselectable="on">\n <div class="ag-floating-bottom-container" ref="eBottomContainer" role="presentation" unselectable="on"></div>\n </div>\n <div class="ag-pinned-right-floating-bottom" ref="eRightBottom" role="presentation" unselectable="on"></div>\n <div class="ag-floating-bottom-full-width-container" ref="eBottomFullWidthContainer" role="presentation" unselectable="on"></div>\n </div>\n <div class="ag-body-horizontal-scroll" ref="eHorizontalScrollBody">\n <div class="ag-horizontal-left-spacer" ref="eHorizontalLeftSpacer"></div>\n <div class="ag-body-horizontal-scroll-viewport" ref="eBodyHorizontalScrollViewport">\n <div class="ag-body-horizontal-scroll-container" ref="eBodyHorizontalScrollContainer"></div>\n </div>\n <div class="ag-horizontal-right-spacer" ref="eHorizontalRightSpacer"></div>\n </div>\n <ag-overlay-wrapper ref="overlayWrapper"></ag-overlay-wrapper>\n </div>')||this;return e.scrollLeft=-1,e.scrollTop=-1,e.resetLastHorizontalScrollElementDebounce=B._.debounce(e.resetLastHorizontalScrollElement.bind(e),500),e}return n(e,t),e.prototype.getVScrollPosition=function(){return{top:this.eBodyViewport.scrollTop,bottom:this.eBodyViewport.scrollTop+this.eBodyViewport.offsetHeight}},e.prototype.getHScrollPosition=function(){return{left:this.eCenterViewport.scrollLeft,right:this.eCenterViewport.scrollLeft+this.eCenterViewport.offsetWidth}},e.prototype.onRowDataChanged=function(){this.showOrHideOverlay()},e.prototype.showOrHideOverlay=function(){var t=this.paginationProxy.isEmpty(),e=this.gridOptionsWrapper.isSuppressNoRowsOverlay();this[t&&!e?"showNoRowsOverlay":"hideOverlay"]()},e.prototype.onNewColumnsLoaded=function(){this.columnController.isReady()&&!this.paginationProxy.isEmpty()&&this.hideOverlay()},e.prototype.init=function(){var t=this;this.scrollWidth=this.gridOptionsWrapper.getScrollbarWidth(),this.enableRtl=this.gridOptionsWrapper.isEnableRtl(),this.printLayout=this.gridOptionsWrapper.getDomLayout()===g.Constants.DOM_LAYOUT_PRINT,this.gridOptionsWrapper.addLayoutElement(this.getGui()),this.gridOptionsWrapper.addLayoutElement(this.eBodyViewport),this.suppressScrollOnFloatingRow(),this.setupRowAnimationCssClass(),this.buildRowContainerComponents(),this.addEventListeners(),this.addDragListeners(),this.addScrollListener(),this.gridOptionsWrapper.isRowModelDefault()&&!this.gridOptionsWrapper.getRowData()&&this.showLoadingOverlay(),this.setCellTextSelection(this.gridOptionsWrapper.isEnableCellTextSelect()),this.setPinnedContainerSize(),this.setHeaderAndFloatingHeights(),this.disableBrowserDragging(),this.addMouseListeners(),this.addKeyboardEvents(),this.addBodyViewportListener(),this.addStopEditingWhenGridLosesFocus(),this.mockContextMenuForIPad(),this.addRowDragListener(),this.$scope&&this.addAngularApplyCheck(),this.onDisplayedColumnsWidthChanged(),this.gridApi.registerGridComp(this),this.alignedGridsService.registerGridComp(this),this.headerRootComp.registerGridComp(this),this.navigationService.registerGridComp(this),this.heightScaler.registerGridComp(this),this.autoHeightCalculator.registerGridComp(this),this.columnAnimationService.registerGridComp(this),this.autoWidthCalculator.registerGridComp(this),this.paginationAutoPageSizeService.registerGridComp(this),this.beans.registerGridComp(this),this.rowRenderer.registerGridComp(this),this.rangeController&&this.rangeController.registerGridComp(this),[this.eCenterViewport,this.eBodyViewport].forEach((function(e){var o=t.resizeObserverService.observeResize(e,t.onCenterViewportResized.bind(t));t.addDestroyFunc((function(){return o()}))}))},e.prototype.onDomLayoutChanged=function(){var t=this.gridOptionsWrapper.getDomLayout()===g.Constants.DOM_LAYOUT_PRINT;this.printLayout!==t&&(this.printLayout=t,this.setWidthsOfContainers(),this.setPinnedContainerSize())},e.prototype.onCenterViewportResized=function(){this.checkViewportAndScrolls()},e.prototype.setColumnMovingCss=function(t){this.addOrRemoveCssClass("ag-column-moving",t)},e.prototype.setCellTextSelection=function(t){void 0===t&&(t=!1),[this.eTop,this.eCenterContainer,this.eBottom].forEach((function(e){return B._.addOrRemoveCssClass(e,"ag-selectable",t)}))},e.prototype.addRowDragListener=function(){var t=new x.RowDragFeature(this.eBodyViewport,this);this.getContext().wireBean(t),this.dragAndDropService.addDropTarget(t)},e.prototype.addStopEditingWhenGridLosesFocus=function(){var t=this;if(this.gridOptionsWrapper.isStopEditingWhenGridLosesFocus()){var e=function(e){for(var o=!1,i=e.relatedTarget;B._.exists(i)&&!o;){var n=!!t.gridOptionsWrapper.getDomData(i,w.PopupEditorWrapper.DOM_KEY_POPUP_EDITOR_WRAPPER),r=t.eBodyViewport===i||t.eBottom===i||t.eTop===i;o=n||r,i=i.parentNode}o||t.rowRenderer.stopEditing()};this.addDestroyableEventListener(this.eBodyViewport,"focusout",e),this.addDestroyableEventListener(this.eTop,"focusout",e),this.addDestroyableEventListener(this.eBottom,"focusout",e)}},e.prototype.addAngularApplyCheck=function(){var t=this,e=!1,o=function(){e||(e=!0,window.setTimeout((function(){e=!1,t.$scope.$apply()}),0))};this.addDestroyableEventListener(this.eventService,h.Events.EVENT_DISPLAYED_COLUMNS_CHANGED,o),this.addDestroyableEventListener(this.eventService,h.Events.EVENT_VIRTUAL_COLUMNS_CHANGED,o)},e.prototype.disableBrowserDragging=function(){this.addGuiEventListener("dragstart",(function(t){if(t.target instanceof HTMLImageElement)return t.preventDefault(),!1}))},e.prototype.addEventListeners=function(){this.addDestroyableEventListener(this.eventService,h.Events.EVENT_DISPLAYED_COLUMNS_CHANGED,this.onDisplayedColumnsChanged.bind(this)),this.addDestroyableEventListener(this.eventService,h.Events.EVENT_DISPLAYED_COLUMNS_WIDTH_CHANGED,this.onDisplayedColumnsWidthChanged.bind(this)),this.addDestroyableEventListener(this.eventService,h.Events.EVENT_PINNED_ROW_DATA_CHANGED,this.setHeaderAndFloatingHeights.bind(this)),this.addDestroyableEventListener(this.eventService,h.Events.EVENT_ROW_DATA_CHANGED,this.onRowDataChanged.bind(this)),this.addDestroyableEventListener(this.eventService,h.Events.EVENT_ROW_DATA_UPDATED,this.onRowDataChanged.bind(this)),this.addDestroyableEventListener(this.eventService,h.Events.EVENT_NEW_COLUMNS_LOADED,this.onNewColumnsLoaded.bind(this)),this.addDestroyableEventListener(this.gridOptionsWrapper,a.GridOptionsWrapper.PROP_HEADER_HEIGHT,this.setHeaderAndFloatingHeights.bind(this)),this.addDestroyableEventListener(this.gridOptionsWrapper,a.GridOptionsWrapper.PROP_PIVOT_HEADER_HEIGHT,this.setHeaderAndFloatingHeights.bind(this)),this.addDestroyableEventListener(this.gridOptionsWrapper,a.GridOptionsWrapper.PROP_GROUP_HEADER_HEIGHT,this.setHeaderAndFloatingHeights.bind(this)),this.addDestroyableEventListener(this.gridOptionsWrapper,a.GridOptionsWrapper.PROP_PIVOT_GROUP_HEADER_HEIGHT,this.setHeaderAndFloatingHeights.bind(this)),this.addDestroyableEventListener(this.gridOptionsWrapper,a.GridOptionsWrapper.PROP_FLOATING_FILTERS_HEIGHT,this.setHeaderAndFloatingHeights.bind(this)),this.addDestroyableEventListener(this.gridOptionsWrapper,a.GridOptionsWrapper.PROP_DOM_LAYOUT,this.onDomLayoutChanged.bind(this))},e.prototype.addDragListeners=function(){var t=this;this.gridOptionsWrapper.isEnableRangeSelection()&&!B._.missing(this.rangeController)&&[this.eLeftContainer,this.eRightContainer,this.eCenterContainer,this.eTop,this.eBottom].forEach((function(e){var o={eElement:e,onDragStart:t.rangeController.onDragStart.bind(t.rangeController),onDragStop:t.rangeController.onDragStop.bind(t.rangeController),onDragging:t.rangeController.onDragging.bind(t.rangeController),skipMouseEvent:function(t){return t.shiftKey}};t.dragService.addDragSource(o),t.addDestroyFunc((function(){return t.dragService.removeDragSource(o)}))}))},e.prototype.addMouseListeners=function(){var t=this;["click","mousedown","dblclick","contextmenu","mouseover","mouseout"].forEach((function(e){var o=t.processMouseEvent.bind(t,e);t.eAllCellContainers.forEach((function(i){return t.addDestroyableEventListener(i,e,o)}))}))},e.prototype.addKeyboardEvents=function(){var t=this;["keydown","keypress"].forEach((function(e){var o=t.processKeyboardEvent.bind(t,e);t.eAllCellContainers.forEach((function(i){t.addDestroyableEventListener(i,e,o,!0)}))}))},e.prototype.addBodyViewportListener=function(){var t=this;this.addDestroyableEventListener(this.eBodyViewport,"contextmenu",(function(e){var o=B._.getTarget(e);o!==t.eBodyViewport&&o!==t.eCenterViewport||(t.onContextMenu(e,null,null,null,null),t.preventDefaultOnContextMenu(e))}))},e.prototype.getBodyClientRect=function(){if(this.eBodyViewport)return this.eBodyViewport.getBoundingClientRect()},e.prototype.getRowForEvent=function(t){for(var e=B._.getTarget(t);e;){var o=this.gridOptionsWrapper.getDomData(e,O.RowComp.DOM_DATA_KEY_RENDERED_ROW);if(o)return o;e=e.parentElement}return null},e.prototype.processKeyboardEvent=function(t,e){var o=B._.getCellCompForEvent(this.gridOptionsWrapper,e),i=o.getRenderedRow().getRowNode(),n=o.getColumn(),r=o.isEditing();if(o){if(B._.isUserSuppressingKeyboardEvent(this.gridOptionsWrapper,e,i,n,r))e.preventDefault();else switch(t){case"keydown":this.navigationService.handlePageScrollingKey(e)||o.onKeyDown(e),this.doClipboardOperations(e,o);break;case"keypress":o.onKeyPress(e)}if("keydown"===t){var s=o.createEvent(e,h.Events.EVENT_CELL_KEY_DOWN);this.beans.eventService.dispatchEvent(s)}if("keypress"===t){var a=o.createEvent(e,h.Events.EVENT_CELL_KEY_PRESS);this.beans.eventService.dispatchEvent(a)}}},e.prototype.doClipboardOperations=function(t,e){if((t.ctrlKey||t.metaKey)&&!e.isEditing()&&this.mouseEventService.isEventFromThisGrid(t))switch(t.which){case g.Constants.KEY_A:return this.onCtrlAndA(t);case g.Constants.KEY_C:return this.onCtrlAndC(t);case g.Constants.KEY_V:return this.onCtrlAndV();case g.Constants.KEY_D:return this.onCtrlAndD(t)}},e.prototype.scrollToTop=function(){this.eBodyViewport.scrollTop=0},e.prototype.processMouseEvent=function(t,e){if(this.mouseEventService.isEventFromThisGrid(e)&&!B._.isStopPropagationForAgGrid(e)){var o=this.getRowForEvent(e),i=this.mouseEventService.getRenderedCellForEvent(e);"contextmenu"===t?this.handleContextMenuMouseEvent(e,null,o,i):(i&&i.onMouseEvent(t,e),o&&o.onMouseEvent(t,e)),this.preventDefaultOnContextMenu(e)}},e.prototype.mockContextMenuForIPad=function(){var t=this;B._.isUserAgentIPad()&&this.eAllCellContainers.forEach((function(e){var o=new P.TouchListener(e);t.addDestroyableEventListener(o,P.TouchListener.EVENT_LONG_TAP,(function(e){var o=t.getRowForEvent(e.touchEvent),i=t.mouseEventService.getRenderedCellForEvent(e.touchEvent);t.handleContextMenuMouseEvent(null,e.touchEvent,o,i)})),t.addDestroyFunc((function(){return o.destroy()}))}))},e.prototype.handleContextMenuMouseEvent=function(t,e,o,i){var n=o?o.getRowNode():null,r=i?i.getColumn():null,s=null;if(r){var a=t||e;i.dispatchCellContextMenuEvent(a),s=this.valueService.getValue(r,n)}this.onContextMenu(t,e,n,r,s)},e.prototype.onContextMenu=function(t,e,o,i,n){if((this.gridOptionsWrapper.isAllowContextMenuWithControlKey()||!t||!t.ctrlKey&&!t.metaKey)&&this.contextMenuFactory&&!this.gridOptionsWrapper.isSuppressContextMenu()){var r=t||e.touches[0];this.contextMenuFactory.showMenu(o,i,n,r),(t||e).preventDefault()}},e.prototype.preventDefaultOnContextMenu=function(t){this.gridOptionsWrapper.isSuppressMiddleClickScrolls()&&2===t.which&&t.preventDefault()},e.prototype.onCtrlAndA=function(t){var e=this,o=e.columnController,i=e.pinnedRowModel,n=e.paginationProxy,r=e.rangeController,s=g.Constants.PINNED_BOTTOM,a=g.Constants.PINNED_TOP;if(r&&n.isRowsToRender()){var l=[i.isEmpty(a),i.isEmpty(s)],p=l[0]?null:a,u=void 0,c=void 0;l[1]?(u=null,c=this.paginationProxy.getTotalRowCount()-1):(u=s,c=i.getPinnedBottomRowData().length-1);var d=o.getAllDisplayedColumns();if(B._.missingOrEmpty(d))return;r.setRange({rowStart:0,floatingStart:p,rowEnd:c,floatingEnd:u,columnStart:d[0],columnEnd:d[d.length-1]})}t.preventDefault()},e.prototype.onCtrlAndC=function(t){if(this.clipboardService&&!this.gridOptionsWrapper.isEnableCellTextSelection()){var e=this.focusedCellController.getFocusedCell();this.clipboardService.copyToClipboard(),t.preventDefault(),e&&this.focusedCellController.setFocusedCell(e.rowIndex,e.column,e.floating,!0)}},e.prototype.onCtrlAndV=function(){this.enterprise&&!this.gridOptionsWrapper.isSuppressClipboardPaste()&&this.clipboardService.pasteFromClipboard()},e.prototype.onCtrlAndD=function(t){this.enterprise&&(this.clipboardService.copyRangeDown(),t.preventDefault())},e.prototype.ensureIndexVisible=function(t,e){if(!this.printLayout){var o=this.paginationProxy.getTotalRowCount();if("number"!=typeof t||t<0||t>=o)console.warn("invalid row index for ensureIndexVisible: "+t);else{this.paginationProxy.goToPageWithIndex(t);var i,n=this.paginationProxy.getRow(t);do{var r=n.rowTop,s=n.rowHeight,a=this.paginationProxy.getPixelOffset(),l=n.rowTop-a,p=l+n.rowHeight,u=this.getVScrollPosition(),c=this.heightScaler.getOffset(),d=u.top+c,h=u.bottom+c,f=h-d,g=this.heightScaler.getScrollPositionForPixel(l),y=this.heightScaler.getScrollPositionForPixel(p-f),m=Math.min((g+y)/2,l),v=null;"top"===e?v=g:"bottom"===e?v=y:"middle"===e?v=m:d>l?v=g:h<p&&(v=y),null!==v&&(this.eBodyViewport.scrollTop=v,this.rowRenderer.redrawAfterScroll()),i=r!==n.rowTop||s!==n.rowHeight}while(i);this.animationFrameService.flushAllFrames()}}},e.prototype.getCenterWidth=function(){return this.eCenterViewport.clientWidth},e.prototype.isVerticalScrollShowing=function(){var t=this.gridOptionsWrapper.isAlwaysShowVerticalScroll();return B._.addOrRemoveCssClass(this.eBodyViewport,"ag-force-vertical-scroll",t),t||B._.isVerticalScrollShowing(this.eBodyViewport)},e.prototype.isHorizontalScrollShowing=function(){return B._.isHorizontalScrollShowing(this.eCenterViewport)},e.prototype.checkViewportAndScrolls=function(){this.updateScrollVisibleService(),this.checkBodyHeight(),this.onHorizontalViewportChanged(),this.setPinnedContainerSize()},e.prototype.updateScrollVisibleService=function(){this.updateScrollVisibleServiceImpl(),setTimeout(this.updateScrollVisibleServiceImpl.bind(this),500)},e.prototype.updateScrollVisibleServiceImpl=function(){var t={horizontalScrollShowing:!1,verticalScrollShowing:!1};t.verticalScrollShowing=this.isVerticalScrollShowing(),t.horizontalScrollShowing=this.isHorizontalScrollShowing(),this.scrollVisibleService.setScrollsVisible(t),this.setHorizontalScrollVisible(t.horizontalScrollShowing),this.setVerticalScrollPaddingVisible(t.verticalScrollShowing)},e.prototype.setHorizontalScrollVisible=function(t){var e=this.gridOptionsWrapper.isSuppressHorizontalScroll(),o=t&&this.gridOptionsWrapper.getScrollbarWidth()||0,i=e?0:o,n=B._.isBrowserIE()&&t;this.eCenterViewport.style.height="calc(100% + "+o+"px)",B._.setFixedHeight(this.eHorizontalScrollBody,i),B._.setFixedHeight(this.eBodyHorizontalScrollViewport,i+(n?1:0)),n&&(this.eBodyHorizontalScrollViewport.style.bottom="1px"),B._.setFixedHeight(this.eBodyHorizontalScrollContainer,i)},e.prototype.setVerticalScrollPaddingVisible=function(t){var e=t?"scroll":"hidden";this.eTop.style.overflowY=this.eBottom.style.overflowY=e,this.setFakeHScrollSpacerWidths()},e.prototype.ensureColumnVisible=function(t){var e=this.columnController.getGridColumn(t);if(e)if(e.isPinned())console.warn("calling ensureIndexVisible on a "+e.getPinned()+" pinned column doesn't make sense for column "+e.getColId());else if(this.columnController.isColumnDisplayed(e)){var o,i,n=e.getLeft(),r=n+e.getActualWidth(),s=this.eCenterViewport.clientWidth,a=this.getCenterViewportScrollLeft(),l=this.columnController.getBodyContainerWidth();this.enableRtl?(o=l-a-s,i=l-a):(o=a,i=s+a);var p=o>n,u=i<r,c=s<e.getActualWidth(),d=p||c,h=u,f=this.getCenterViewportScrollLeft();(d||h)&&(f=this.enableRtl?d?l-s-n:l-r:d?n:r-s,this.setCenterViewportScrollLeft(f)),this.onHorizontalViewportChanged(),this.animationFrameService.flushAllFrames()}else console.warn("column is not currently visible")},e.prototype.showLoadingOverlay=function(){this.gridOptionsWrapper.isSuppressLoadingOverlay()||this.overlayWrapper.showLoadingOverlay()},e.prototype.showNoRowsOverlay=function(){this.gridOptionsWrapper.isSuppressNoRowsOverlay()||this.overlayWrapper.showNoRowsOverlay()},e.prototype.hideOverlay=function(){this.overlayWrapper.hideOverlay()},e.prototype.sizeColumnsToFit=function(t){var e=this,o=this.eBodyViewport.clientWidth;o>0?this.columnController.sizeColumnsToFit(o,"sizeColumnsToFit"):void 0===t?window.setTimeout((function(){e.sizeColumnsToFit(100)}),0):100===t?window.setTimeout((function(){e.sizeColumnsToFit(500)}),100):500===t?window.setTimeout((function(){e.sizeColumnsToFit(-1)}),500):console.warn("ag-Grid: tried to call sizeColumnsToFit() but the grid is coming back with zero width, maybe the grid is not visible yet on the screen?")},e.prototype.getCenterContainer=function(){return this.eCenterContainer},e.prototype.getDropTargetBodyContainers=function(){return[this.eCenterViewport,this.eTopViewport,this.eBottomViewport]},e.prototype.getDropTargetLeftContainers=function(){return[this.eLeftContainer,this.eLeftBottom,this.eLeftTop]},e.prototype.getDropTargetRightContainers=function(){return[this.eRightContainer,this.eRightBottom,this.eRightTop]},e.prototype.buildRowContainerComponents=function(){var t=this;this.eAllCellContainers=[this.eLeftContainer,this.eRightContainer,this.eCenterContainer,this.eTop,this.eBottom,this.eFullWidthContainer],this.rowContainerComponents={body:new C.RowContainerComponent({eContainer:this.eCenterContainer,eWrapper:this.eCenterColsClipper,eViewport:this.eBodyViewport}),fullWidth:new C.RowContainerComponent({eContainer:this.eFullWidthContainer}),pinnedLeft:new C.RowContainerComponent({eContainer:this.eLeftContainer}),pinnedRight:new C.RowContainerComponent({eContainer:this.eRightContainer}),floatingTop:new C.RowContainerComponent({eContainer:this.eTopContainer}),floatingTopPinnedLeft:new C.RowContainerComponent({eContainer:this.eLeftTop}),floatingTopPinnedRight:new C.RowContainerComponent({eContainer:this.eRightTop}),floatingTopFullWidth:new C.RowContainerComponent({eContainer:this.eTopFullWidthContainer,hideWhenNoChildren:!0}),floatingBottom:new C.RowContainerComponent({eContainer:this.eBottomContainer}),floatingBottomPinnedLeft:new C.RowContainerComponent({eContainer:this.eLeftBottom}),floatingBottomPinnedRight:new C.RowContainerComponent({eContainer:this.eRightBottom}),floatingBottomFullWith:new C.RowContainerComponent({eContainer:this.eBottomFullWidthContainer,hideWhenNoChildren:!0})},B._.iterateObject(this.rowContainerComponents,(function(e,o){o&&t.getContext().wireBean(o)}))},e.prototype.setupRowAnimationCssClass=function(){var t=this,e=function(){var e=t.gridOptionsWrapper.isAnimateRows()&&!t.heightScaler.isScaling();B._.addOrRemoveCssClass(t.eBodyViewport,"ag-row-animation",e),B._.addOrRemoveCssClass(t.eBodyViewport,"ag-row-no-animation",!e)};e(),this.addDestroyableEventListener(this.eventService,h.Events.EVENT_HEIGHT_SCALE_CHANGED,e)},e.prototype.suppressScrollOnFloatingRow=function(){var t=this;this.addDestroyableEventListener(this.eTopViewport,"scroll",(function(){return t.eTopViewport.scrollLeft=0})),this.addDestroyableEventListener(this.eBottomViewport,"scroll",(function(){return t.eTopViewport.scrollLeft=0}))},e.prototype.getRowContainers=function(){return this.rowContainerComponents},e.prototype.getFloatingTopBottom=function(){return[this.eTop,this.eBottom]},e.prototype.onDisplayedColumnsChanged=function(){this.setPinnedContainerSize(),this.setHeaderAndFloatingHeights(),this.onHorizontalViewportChanged(),this.updateScrollVisibleService()},e.prototype.onDisplayedColumnsWidthChanged=function(){this.setWidthsOfContainers(),this.onHorizontalViewportChanged(),this.updateScrollVisibleService(),this.enableRtl&&this.horizontallyScrollHeaderCenterAndFloatingCenter()},e.prototype.setWidthsOfContainers=function(){this.setCenterWidth(),this.setPinnedContainerSize()},e.prototype.setCenterWidth=function(){var t=this.columnController.getBodyContainerWidth();this.printLayout&&(t+=this.columnController.getPinnedLeftContainerWidth()+this.columnController.getPinnedRightContainerWidth()),this.headerRootComp.setHeaderContainerWidth(t);var e=t+"px";this.eCenterContainer.style.width=e,this.eBottomContainer.style.width=e,this.eTopContainer.style.width=e,this.printLayout||(this.eBodyHorizontalScrollContainer.style.width=e)},e.prototype.setPinnedLeftWidth=function(){var t=this,e=this.pinningLeft,o=this.columnController.getPinnedLeftContainerWidth(),i=this.pinningLeft=!this.printLayout&&o>0,n=[this.eLeftContainer,this.eLeftTop,this.eLeftBottom];e!==i&&this.headerRootComp.setLeftVisible(i),n.forEach((function(e){return B._.setVisible(e,t.pinningLeft)})),i&&n.forEach((function(t){return B._.setFixedWidth(t,o)}))},e.prototype.setPinnedRightWidth=function(){var t=this.pinningRight,e=this.columnController.getPinnedRightContainerWidth(),o=this.pinningRight=!this.printLayout&&e>0,i=[this.eRightContainer,this.eRightTop,this.eRightBottom];t!==o&&this.headerRootComp.setRightVisible(o),i.forEach((function(t){return B._.setVisible(t,o)})),o&&i.forEach((function(t){return B._.setFixedWidth(t,e)}))},e.prototype.setPinnedContainerSize=function(){this.setPinnedLeftWidth(),this.setPinnedRightWidth(),this.setFakeHScrollSpacerWidths()},e.prototype.setFakeHScrollSpacerWidths=function(){var t=this.columnController.getPinnedRightContainerWidth();!this.enableRtl&&this.isVerticalScrollShowing()&&(t+=this.scrollWidth),B._.setFixedWidth(this.eHorizontalRightSpacer,t),B._.addOrRemoveCssClass(this.eHorizontalRightSpacer,"ag-scroller-corner",t<=this.scrollWidth);var e=this.columnController.getPinnedLeftContainerWidth();this.enableRtl&&this.isVerticalScrollShowing()&&(e+=this.scrollWidth),B._.setFixedWidth(this.eHorizontalLeftSpacer,e),B._.addOrRemoveCssClass(this.eHorizontalLeftSpacer,"ag-scroller-corner",e<=this.scrollWidth)},e.prototype.checkBodyHeight=function(){var t=this.eBodyViewport.clientHeight;if(this.bodyHeight!==t){this.bodyHeight=t;var e={type:h.Events.EVENT_BODY_HEIGHT_CHANGED,api:this.gridApi,columnApi:this.columnApi};this.eventService.dispatchEvent(e)}},e.prototype.setHeaderAndFloatingHeights=function(){var t,e,o,i=this,n=i.columnController,r=i.gridOptionsWrapper,s=i.pinnedRowModel,a=i.eTop,l=i.eBottom,p=0,u=n.getHeaderRowCount();n.isPivotMode()?(p=0,e=r.getPivotGroupHeaderHeight(),o=r.getPivotHeaderHeight()):(r.isFloatingFilter()&&u++,p=r.isFloatingFilter()?1:0,e=r.getGroupHeaderHeight(),o=r.getHeaderHeight());var c=u-(1+p);t=p*r.getFloatingFiltersHeight(),t+=c*e,t+=o,this.headerRootComp.setHeight(t);var d=s.getPinnedTopTotalHeight();d&&(d+=1);var h=s.getPinnedBottomTotalHeight();h&&(h+=1);var f=d+"px",g=h+"px";a.style.minHeight=f,a.style.height=f,a.style.display=d?"inherit":"none",l.style.minHeight=g,l.style.height=g,l.style.display=h?"inherit":"none",this.checkBodyHeight()},e.prototype.getBodyHeight=function(){return this.bodyHeight},e.prototype.setHorizontalScrollPosition=function(t){this.eCenterViewport.scrollLeft=t,this.doHorizontalScroll(t)},e.prototype.setVerticalScrollPosition=function(t){this.eBodyViewport.scrollTop=t},e.prototype.scrollHorizontally=function(t){var e=this.eCenterViewport.scrollLeft;return this.setHorizontalScrollPosition(e+t),this.eCenterViewport.scrollLeft-e},e.prototype.scrollVertically=function(t){var e=this.eBodyViewport.scrollTop;return this.setVerticalScrollPosition(e+t),this.eBodyViewport.scrollTop-e},e.prototype.addScrollListener=function(){this.addDestroyableEventListener(this.eCenterViewport,"scroll",this.onCenterViewportScroll.bind(this)),this.addDestroyableEventListener(this.eBodyHorizontalScrollViewport,"scroll",this.onFakeHorizontalScroll.bind(this)),this.addDestroyableEventListener(this.eBodyViewport,"scroll",this.onVerticalScroll.bind(this))},e.prototype.onVerticalScroll=function(){var t=this.eBodyViewport.scrollTop;this.scrollTop=t,this.animationFrameService.setScrollTop(t),this.redrawRowsAfterScroll()},e.prototype.isControllingScroll=function(t){return this.lastHorizontalScrollElement?t===this.lastHorizontalScrollElement:(this.lastHorizontalScrollElement=t,!0)},e.prototype.onFakeHorizontalScroll=function(){this.isControllingScroll(this.eBodyHorizontalScrollViewport)&&this.onBodyHorizontalScroll(this.eBodyHorizontalScrollViewport)},e.prototype.onCenterViewportScroll=function(){this.isControllingScroll(this.eCenterViewport)&&this.onBodyHorizontalScroll(this.eCenterViewport)},e.prototype.onBodyHorizontalScroll=function(t){var e=this.eCenterViewport,o=e.scrollWidth,i=e.clientWidth,n=Math.floor(B._.getScrollLeft(t,this.enableRtl));n<0||n+i>o||(this.doHorizontalScroll(n),this.resetLastHorizontalScrollElementDebounce())},e.prototype.resetLastHorizontalScrollElement=function(){this.lastHorizontalScrollElement=null},e.prototype.doHorizontalScroll=function(t){this.scrollLeft=t;var e={type:h.Events.EVENT_BODY_SCROLL,api:this.gridApi,columnApi:this.columnApi,direction:"horizontal",left:this.scrollLeft,top:this.scrollTop};this.eventService.dispatchEvent(e),this.horizontallyScrollHeaderCenterAndFloatingCenter(t),this.onHorizontalViewportChanged()},e.prototype.redrawRowsAfterScroll=function(){var t={type:h.Events.EVENT_BODY_SCROLL,direction:"vertical",api:this.gridApi,columnApi:this.columnApi,left:this.scrollLeft,top:this.scrollTop};this.eventService.dispatchEvent(t)},e.prototype.onHorizontalViewportChanged=function(){var t=this.eCenterViewport.clientWidth,e=this.getCenterViewportScrollLeft();this.columnController.setVirtualViewportPosition(t,e)},e.prototype.getCenterViewportScrollLeft=function(){return B._.getScrollLeft(this.eCenterViewport,this.enableRtl)},e.prototype.setCenterViewportScrollLeft=function(t){B._.setScrollLeft(this.eCenterViewport,t,this.enableRtl)},e.prototype.horizontallyScrollHeaderCenterAndFloatingCenter=function(t){void 0===t&&(t=this.getCenterViewportScrollLeft());var e=this.enableRtl?t:-t,o=this.eCenterViewport,i=o.clientWidth,n=o.scrollWidth;if(!(Math.abs(e)+i>n||this.enableRtl&&e<0||!this.enableRtl&&e>0)){this.headerRootComp.setHorizontalScroll(e),this.eBottomContainer.style.transform="translateX("+e+"px)",this.eTopContainer.style.transform="translateX("+e+"px)";var r=this.lastHorizontalScrollElement===this.eCenterViewport?this.eBodyHorizontalScrollViewport:this.eCenterViewport;B._.setScrollLeft(r,t,this.enableRtl)}},e.prototype.addScrollEventListener=function(t){this.eBodyViewport.addEventListener("scroll",t)},e.prototype.removeScrollEventListener=function(t){this.eBodyViewport.removeEventListener("scroll",t)},r([c.Autowired("alignedGridsService"),s("design:type",_.AlignedGridsService)],e.prototype,"alignedGridsService",void 0),r([c.Autowired("gridOptionsWrapper"),s("design:type",a.GridOptionsWrapper)],e.prototype,"gridOptionsWrapper",void 0),r([c.Autowired("columnController"),s("design:type",l.ColumnController)],e.prototype,"columnController",void 0),r([c.Autowired("rowRenderer"),s("design:type",u.RowRenderer)],e.prototype,"rowRenderer",void 0),r([c.Autowired("pinnedRowModel"),s("design:type",S.PinnedRowModel)],e.prototype,"pinnedRowModel",void 0),r([c.Autowired("eventService"),s("design:type",d.EventService)],e.prototype,"eventService",void 0),r([c.Autowired("animationFrameService"),s("design:type",R.AnimationFrameService)],e.prototype,"animationFrameService",void 0),r([c.Autowired("navigationService"),s("design:type",T.NavigationService)],e.prototype,"navigationService",void 0),r([c.Autowired("autoHeightCalculator"),s("design:type",L.AutoHeightCalculator)],e.prototype,"autoHeightCalculator",void 0),r([c.Autowired("columnAnimationService"),s("design:type",M.ColumnAnimationService)],e.prototype,"columnAnimationService",void 0),r([c.Autowired("autoWidthCalculator"),s("design:type",k.AutoWidthCalculator)],e.prototype,"autoWidthCalculator",void 0),r([c.Autowired("paginationAutoPageSizeService"),s("design:type",E.PaginationAutoPageSizeService)],e.prototype,"paginationAutoPageSizeService",void 0),r([c.Autowired("beans"),s("design:type",G.Beans)],e.prototype,"beans",void 0),r([c.Autowired("paginationProxy"),s("design:type",E.PaginationProxy)],e.prototype,"paginationProxy",void 0),r([c.Autowired("columnApi"),s("design:type",p.ColumnApi)],e.prototype,"columnApi",void 0),r([c.Autowired("gridApi"),s("design:type",b.GridApi)],e.prototype,"gridApi",void 0),r([c.Autowired("dragService"),s("design:type",f.DragService)],e.prototype,"dragService",void 0),r([c.Autowired("mouseEventService"),s("design:type",y.MouseEventService)],e.prototype,"mouseEventService",void 0),r([c.Autowired("focusedCellController"),s("design:type",m.FocusedCellController)],e.prototype,"focusedCellController",void 0),r([c.Autowired("$scope"),s("design:type",Object)],e.prototype,"$scope",void 0),r([c.Autowired("scrollVisibleService"),s("design:type",v.ScrollVisibleService)],e.prototype,"scrollVisibleService",void 0),r([c.Autowired("valueService"),s("design:type",A.ValueService)],e.prototype,"valueService",void 0),r([c.Autowired("dragAndDropService"),s("design:type",D.DragAndDropService)],e.prototype,"dragAndDropService",void 0),r([c.Autowired("maxDivHeightScaler"),s("design:type",N.MaxDivHeightScaler)],e.prototype,"heightScaler",void 0),r([c.Autowired("enterprise"),s("design:type",Boolean)],e.prototype,"enterprise",void 0),r([c.Autowired("resizeObserverService"),s("design:type",H.ResizeObserverService)],e.prototype,"resizeObserverService",void 0),r([c.Optional("rangeController"),s("design:type",Object)],e.prototype,"rangeController",void 0),r([c.Optional("contextMenuFactory"),s("design:type",Object)],e.prototype,"contextMenuFactory",void 0),r([c.Optional("clipboardService"),s("design:type",Object)],e.prototype,"clipboardService",void 0),r([V.RefSelector("eBodyViewport"),s("design:type",HTMLElement)],e.prototype,"eBodyViewport",void 0),r([V.RefSelector("eCenterContainer"),s("design:type",HTMLElement)],e.prototype,"eCenterContainer",void 0),r([V.RefSelector("eCenterViewport"),s("design:type",HTMLElement)],e.prototype,"eCenterViewport",void 0),r([V.RefSelector("eLeftContainer"),s("design:type",HTMLElement)],e.prototype,"eLeftContainer",void 0),r([V.RefSelector("eRightContainer"),s("design:type",HTMLElement)],e.prototype,"eRightContainer",void 0),r([V.RefSelector("eCenterColsClipper"),s("design:type",HTMLElement)],e.prototype,"eCenterColsClipper",void 0),r([V.RefSelector("eHorizontalScrollBody"),s("design:type",HTMLElement)],e.prototype,"eHorizontalScrollBody",void 0),r([V.RefSelector("eHorizontalLeftSpacer"),s("design:type",HTMLElement)],e.prototype,"eHorizontalLeftSpacer",void 0),r([V.RefSelector("eHorizontalRightSpacer"),s("design:type",HTMLElement)],e.prototype,"eHorizontalRightSpacer",void 0),r([V.RefSelector("eBodyHorizontalScrollViewport"),s("design:type",HTMLElement)],e.prototype,"eBodyHorizontalScrollViewport",void 0),r([V.RefSelector("eBodyHorizontalScrollContainer"),s("design:type",HTMLElement)],e.prototype,"eBodyHorizontalScrollContainer",void 0),r([V.RefSelector("eFullWidthContainer"),s("design:type",HTMLElement)],e.prototype,"eFullWidthContainer",void 0),r([V.RefSelector("eTop"),s("design:type",HTMLElement)],e.prototype,"eTop",void 0),r([V.RefSelector("eLeftTop"),s("design:type",HTMLElement)],e.prototype,"eLeftTop",void 0),r([V.RefSelector("eRightTop"),s("design:type",HTMLElement)],e.prototype,"eRightTop",void 0),r([V.RefSelector("eTopContainer"),s("design:type",HTMLElement)],e.prototype,"eTopContainer",void 0),r([V.RefSelector("eTopViewport"),s("design:type",HTMLElement)],e.prototype,"eTopViewport",void 0),r([V.RefSelector("eTopFullWidthContainer"),s("design:type",HTMLElement)],e.prototype,"eTopFullWidthContainer",void 0),r([V.RefSelector("eBottom"),s("design:type",HTMLElement)],e.prototype,"eBottom",void 0),r([V.RefSelector("eLeftBottom"),s("design:type",HTMLElement)],e.prototype,"eLeftBottom",void 0),r([V.RefSelector("eRightBottom"),s("design:type",HTMLElement)],e.prototype,"eRightBottom",void 0),r([V.RefSelector("eBottomContainer"),s("design:type",HTMLElement)],e.prototype,"eBottomContainer",void 0),r([V.RefSelector("eBottomViewport"),s("design:type",HTMLElement)],e.prototype,"eBottomViewport",void 0),r([V.RefSelector("eBottomFullWidthContainer"),s("design:type",HTMLElement)],e.prototype,"eBottomFullWidthContainer",void 0),r([V.RefSelector("headerRoot"),s("design:type",W.HeaderRootComp)],e.prototype,"headerRootComp",void 0),r([V.RefSelector("overlayWrapper"),s("design:type",F.OverlayWrapperComponent)],e.prototype,"overlayWrapper",void 0),r([c.PostConstruct,s("design:type",Function),s("design:paramtypes",[]),s("design:returntype",void 0)],e.prototype,"init",null),e}(I.Component);e.GridPanel=j},64279:t=>{const{AbortController:e,AbortSignal:o}="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0;t.exports=e,t.exports.AbortSignal=o,t.exports.default=e},64314:function(t,e,o){var i=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},n=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r=o(72493),s=o(44081),a=function(){function t(){this.executeNextFuncs=[],this.executeLaterFuncs=[],this.active=!1,this.animationThreadCount=0}return t.prototype.registerGridComp=function(t){this.gridPanel=t},t.prototype.isActive=function(){return this.active},t.prototype.start=function(){this.active||this.gridOptionsWrapper.isSuppressColumnMoveAnimation()||this.gridOptionsWrapper.isEnableRtl()||(this.ensureAnimationCssClassPresent(),this.active=!0)},t.prototype.finish=function(){this.active&&(this.flush(),this.active=!1)},t.prototype.executeNextVMTurn=function(t){this.active?this.executeNextFuncs.push(t):t()},t.prototype.executeLaterVMTurn=function(t){this.active?this.executeLaterFuncs.push(t):t()},t.prototype.ensureAnimationCssClassPresent=function(){var t=this;this.animationThreadCount++;var e=this.animationThreadCount;this.gridPanel.setColumnMovingCss(!0),this.executeLaterFuncs.push((function(){t.animationThreadCount===e&&t.gridPanel.setColumnMovingCss(!1)}))},t.prototype.flush=function(){var t=this.executeNextFuncs;this.executeNextFuncs=[];var e=this.executeLaterFuncs;this.executeLaterFuncs=[],0===t.length&&0===e.length||(window.setTimeout((function(){return t.forEach((function(t){return t()}))}),0),window.setTimeout((function(){return e.forEach((function(t){return t()}))}),300))},i([r.Autowired("gridOptionsWrapper"),n("design:type",s.GridOptionsWrapper)],t.prototype,"gridOptionsWrapper",void 0),i([r.Bean("columnAnimationService")],t)}();e.ColumnAnimationService=a},65360:(t,e,o)=>{Object.defineProperty(e,"__esModule",{value:!0});var i=o(44081),n=o(54828),r=o(44871),s=o(98239),a=o(10042),l=o(89929),p=o(55e3),u=o(24463),c=o(60843),d=o(64229),h=o(40797),f=o(7897),g=o(31887),y=o(40634),m=o(92427),v=o(73575),C=o(37132),E=o(814),w=o(41832),_=o(97177),S=o(72493),b=o(43460),R=o(81999),O=o(42726),T=o(58342),A=o(25230),P=o(86608),D=o(42195),x=o(1571),N=o(38427),F=o(24048),I=o(18954),L=o(57498),M=o(63405),k=o(30971),G=o(719),V=o(34470),W=o(93121),H=o(21951),B=o(86895),j=o(13887),U=o(33467),z=o(59873),Y=o(42664),K=o(66490),q=o(93830),$=o(64314),Q=o(2461),X=o(663),Z=o(43878),J=o(41451),tt=o(76133),et=o(45727),ot=o(88842),it=o(6065),nt=o(10190),rt=o(50580),st=o(85910),at=o(36777),lt=o(69638),pt=o(22743),ut=o(55090),ct=o(59007),dt=o(69065),ht=o(8894),ft=o(51755),gt=o(4889),yt=o(23801),mt=o(99533),vt=o(68198),Ct=o(9018),Et=o(83423),wt=o(39984),_t=o(45697),St=function(){function t(e,o,M){e||console.error("ag-Grid: no div element provided to the grid"),o||console.error("ag-Grid: no gridOptions provided to the grid"),this.gridOptions=o;var k=this.getRowModelClass(o),G=Et._.exists(t.enterpriseBeans),et=M?M.frameworkFactory:null;Et._.missing(et)&&(et=new B.BaseFrameworkFactory);var St=[];t.enterpriseBeans&&(St=St.concat(t.enterpriseBeans)),t.frameworkBeans&&(St=St.concat(t.frameworkBeans));var bt={enterprise:G,gridOptions:o,eGridDiv:e,$scope:M?M.$scope:null,$compile:M?M.$compile:null,quickFilterOnScope:M?M.quickFilterOnScope:null,globalEventListener:M?M.globalEventListener:null,frameworkFactory:et};M&&M.seedBeanInstances&&Et._.assign(bt,M.seedBeanInstances);var Rt=[{componentName:"AgCheckbox",theClass:H.AgCheckbox},{componentName:"AgGridComp",theClass:d.GridPanel},{componentName:"AgHeaderRoot",theClass:l.HeaderRootComp},{componentName:"AgPagination",theClass:mt.PaginationComp},{componentName:"AgOverlayWrapper",theClass:_t.OverlayWrapperComponent}];t.enterpriseComponents&&(Rt=Rt.concat(t.enterpriseComponents));var Ot={overrideBeans:St,seed:bt,beans:[k,ut.Beans,J.PaginationAutoPageSizeService,h.GridApi,at.UserComponentRegistry,lt.AgComponentUtils,pt.ComponentMetadataProvider,vt.ResizeObserverService,at.UserComponentRegistry,st.UserComponentFactory,ft.MaxDivHeightScaler,yt.AutoHeightCalculator,V.CellRendererFactory,_.HorizontalResizeService,rt.PinnedRowModel,A.DragService,g.DisplayedGroupCreator,c.EventService,i.GridOptionsWrapper,v.PopupService,n.SelectionController,p.FilterManager,s.ColumnController,J.PaginationProxy,a.RowRenderer,y.ExpressionService,f.ColumnFactory,b.CsvCreator,U.Downloader,z.XmlFactory,Y.GridSerializer,m.TemplateService,nt.AlignedGridsService,ht.NavigationService,v.PopupService,ot.ValueCache,u.ValueService,C.LoggerFactory,E.ColumnUtils,w.AutoWidthCalculator,O.StandardMenuFactory,T.DragAndDropService,r.ColumnApi,D.FocusedCellController,x.MouseEventService,ct.Environment,N.CellNavigationService,F.FilterStage,I.SortStage,L.FlattenStage,X.FilterService,W.ValueFormatterService,K.StylingService,j.ScrollVisibleService,P.SortController,q.ColumnHoverService,$.ColumnAnimationService,Q.SortService,gt.SelectableService,Z.AutoGroupColService,tt.ImmutableService,it.ChangeDetectionService,dt.AnimationFrameService,wt.TooltipManager,Ct.ZipContainer],components:Rt,enterpriseDefaultComponents:t.enterpriseDefaultComponents,debug:!!o.debug};this.logger=new C.Logger("ag-Grid",(function(){return o.debug}));var Tt=new C.Logger("Context",(function(){return Ot.debug}));this.context=new S.Context(Ot,Tt);var At=new R.GridCore;this.context.wireBean(At),this.setColumnsAndData(),this.dispatchGridReadyEvent(o),this.logger.log("initialised successfully, enterprise = "+G)}return t.setEnterpriseBeans=function(e,o){this.enterpriseBeans=e,Et._.iterateObject(o,(function(e,o){return t.RowModelClasses[e]=o}))},t.setEnterpriseComponents=function(t){this.enterpriseComponents=t},t.setFrameworkBeans=function(t){this.frameworkBeans=t},t.setEnterpriseDefaultComponents=function(t){this.enterpriseDefaultComponents=t},t.prototype.setColumnsAndData=function(){var t=this.context.getBean("gridOptionsWrapper"),e=this.context.getBean("columnController"),o=this.context.getBean("rowModel"),i=t.getColumnDefs(),n=t.getRowData();Et._.missing(i)&&Et._.missing(n)||(Et._.exists(i)&&e.setColumnDefs(i,"gridInitializing"),Et._.exists(n)&&o.getType()===et.Constants.ROW_MODEL_TYPE_CLIENT_SIDE&&o.setRowData(n))},t.prototype.dispatchGridReadyEvent=function(t){var e=this.context.getBean("eventService"),o={type:M.Events.EVENT_GRID_READY,api:t.api,columnApi:t.columnApi};e.dispatchEvent(o)},t.prototype.getRowModelClass=function(e){var o=e.rowModelType;if(o="enterprise"===o?et.Constants.ROW_MODEL_TYPE_SERVER_SIDE:o,Et._.exists(o)){var i=t.RowModelClasses[o];if(Et._.exists(i))return i;if("normal"===o)return console.warn("ag-Grid: normal rowModel deprecated. Should now be called client side row model instead."),G.ClientSideRowModel;console.error("ag-Grid: could not find matching row model for rowModelType "+o),o===et.Constants.ROW_MODEL_TYPE_VIEWPORT&&console.error("ag-Grid: rowModelType viewport is only available in ag-Grid Enterprise"),o===et.Constants.ROW_MODEL_TYPE_SERVER_SIDE&&console.error("ag-Grid: rowModelType server side is only available in ag-Grid Enterprise")}return G.ClientSideRowModel},t.prototype.destroy=function(){this.gridOptions.api.destroy()},t.RowModelClasses={infinite:k.InfiniteRowModel,clientSide:G.ClientSideRowModel},t}();e.Grid=St},65802:function(t,e,o){var i,n=this&&this.__extends||(i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},i(t,e)},function(t,e){function o(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)});Object.defineProperty(e,"__esModule",{value:!0});var r=o(8534),s=o(44329),a=o(83423),l=function(t){function e(e){var o=t.call(this)||this;return o.maxRowFound=!1,o.blocks={},o.blockCount=0,o.virtualRowCount=e.initialRowCount,o.cacheParams=e,o}return n(e,t),e.prototype.destroy=function(){var e=this;t.prototype.destroy.call(this),this.forEachBlockInOrder((function(t){return e.destroyBlock(t)}))},e.prototype.init=function(){var t=this;this.active=!0,this.addDestroyFunc((function(){return t.active=!1}))},e.prototype.isActive=function(){return this.active},e.prototype.getVirtualRowCount=function(){return this.virtualRowCount},e.prototype.hack_setVirtualRowCount=function(t){this.virtualRowCount=t},e.prototype.isMaxRowFound=function(){return this.maxRowFound},e.prototype.onPageLoaded=function(t){this.cacheParams.rowNodeBlockLoader.loadComplete(),this.checkBlockToLoad(),this.isActive()&&(this.logger.log("onPageLoaded: page = "+t.page.getBlockNumber()+", lastRow = "+t.lastRow),t.success&&this.checkVirtualRowCount(t.page,t.lastRow))},e.prototype.purgeBlocksIfNeeded=function(t){var o=this,i=[];this.forEachBlockInOrder((function(e){e!==t&&i.push(e)})),i.sort((function(t,e){return e.getLastAccessed()-t.getLastAccessed()}));var n=this.cacheParams.maxBlocksInCache>0,r=n?this.cacheParams.maxBlocksInCache-1:null,a=e.MAX_EMPTY_BLOCKS_TO_KEEP-1;i.forEach((function(t,e){if(t.getState()===s.RowNodeBlock.STATE_DIRTY&&e>=a||n&&e>=r){if(t.isAnyNodeOpen(o.virtualRowCount))return;o.removeBlockFromCache(t)}}))},e.prototype.postCreateBlock=function(t){t.addEventListener(s.RowNodeBlock.EVENT_LOAD_COMPLETE,this.onPageLoaded.bind(this)),this.setBlock(t.getBlockNumber(),t),this.purgeBlocksIfNeeded(t),this.checkBlockToLoad()},e.prototype.removeBlockFromCache=function(t){t&&this.destroyBlock(t)},e.prototype.checkBlockToLoad=function(){this.cacheParams.rowNodeBlockLoader.checkBlockToLoad()},e.prototype.checkVirtualRowCount=function(t,e){if("number"==typeof e&&e>=0)this.virtualRowCount=e,this.maxRowFound=!0,this.onCacheUpdated();else if(!this.maxRowFound){var o=(t.getBlockNumber()+1)*this.cacheParams.blockSize+this.cacheParams.overflowSize;this.virtualRowCount<o?(this.virtualRowCount=o,this.onCacheUpdated()):this.cacheParams.dynamicRowHeight&&this.onCacheUpdated()}},e.prototype.setVirtualRowCount=function(t,e){this.virtualRowCount=t,a._.exists(e)&&(this.maxRowFound=e),this.maxRowFound||this.virtualRowCount%this.cacheParams.blockSize==0&&this.virtualRowCount++,this.onCacheUpdated()},e.prototype.forEachNodeDeep=function(t,e){var o=this;this.forEachBlockInOrder((function(i){i.forEachNodeDeep(t,e,o.virtualRowCount)}))},e.prototype.forEachBlockInOrder=function(t){var e=this.getBlockIdsSorted();this.forEachBlockId(e,t)},e.prototype.forEachBlockInReverseOrder=function(t){var e=this.getBlockIdsSorted().reverse();this.forEachBlockId(e,t)},e.prototype.forEachBlockId=function(t,e){var o=this;t.forEach((function(t){var i=o.blocks[t];e(i,t)}))},e.prototype.getBlockIdsSorted=function(){return Object.keys(this.blocks).map((function(t){return parseInt(t,10)})).sort((function(t,e){return t-e}))},e.prototype.getBlock=function(t){return this.blocks[t]},e.prototype.setBlock=function(t,e){this.blocks[t]=e,this.blockCount++,this.cacheParams.rowNodeBlockLoader.addBlock(e)},e.prototype.destroyBlock=function(t){delete this.blocks[t.getBlockNumber()],t.destroy(),this.blockCount--,this.cacheParams.rowNodeBlockLoader.removeBlock(t)},e.prototype.onCacheUpdated=function(){if(this.isActive()){var t={type:e.EVENT_CACHE_UPDATED};this.dispatchEvent(t)}},e.prototype.purgeCache=function(){var t=this;this.forEachBlockInOrder((function(e){return t.removeBlockFromCache(e)})),this.virtualRowCount=this.cacheParams.initialRowCount,this.maxRowFound=!1,this.onCacheUpdated()},e.prototype.getRowNodesInRange=function(t,e){var o=this,i=[],n=-1,r=!1,s=new a.NumberSequence;a._.missing(t)&&(r=!0);var l=!1;return this.forEachBlockInOrder((function(a,p){l||(r&&n+1!==p?l=!0:(n=p,a.forEachNodeShallow((function(o){var n=o===t||o===e;(r||n)&&i.push(o),n&&(r=!r)}),s,o.virtualRowCount)))})),l||r?[]:i},e.EVENT_CACHE_UPDATED="cacheUpdated",e.MAX_EMPTY_BLOCKS_TO_KEEP=2,e}(r.BeanStub);e.RowNodeCache=l},66346:(t,e)=>{function o(t){return"["+t.join(", ")+"]"}function i(t,e){return t.equals(e)}function n(t){return t.hashCode()}function r(t,e){return this.data={},this.hashFunction=t||n,this.equalsFunction=e||i,this}function s(){return this.data=[],this}function a(t,e){return this.data={},this.hashFunction=t||n,this.equalsFunction=e||i,this}function l(){return this.data={},this}function p(){return this}function u(){return this.count=0,this.hash=0,this}String.prototype.seed=String.prototype.seed||Math.round(Math.random()*Math.pow(2,32)),String.prototype.hashCode=function(){var t,e,o,i,n,r,s,a,l=this.toString();for(t=3&l.length,e=l.length-t,o=String.prototype.seed,n=3432918353,r=461845907,a=0;a<e;)s=255&l.charCodeAt(a)|(255&l.charCodeAt(++a))<<8|(255&l.charCodeAt(++a))<<16|(255&l.charCodeAt(++a))<<24,++a,o=27492+(65535&(i=5*(65535&(o=(o^=s=(65535&(s=(s=(65535&s)*n+(((s>>>16)*n&65535)<<16)&4294967295)<<15|s>>>17))*r+(((s>>>16)*r&65535)<<16)&4294967295)<<13|o>>>19))+((5*(o>>>16)&65535)<<16)&4294967295))+((58964+(i>>>16)&65535)<<16);switch(s=0,t){case 3:s^=(255&l.charCodeAt(a+2))<<16;case 2:s^=(255&l.charCodeAt(a+1))<<8;case 1:o^=s=(65535&(s=(s=(65535&(s^=255&l.charCodeAt(a)))*n+(((s>>>16)*n&65535)<<16)&4294967295)<<15|s>>>17))*r+(((s>>>16)*r&65535)<<16)&4294967295}return o^=l.length,o=2246822507*(65535&(o^=o>>>16))+((2246822507*(o>>>16)&65535)<<16)&4294967295,o=3266489909*(65535&(o^=o>>>13))+((3266489909*(o>>>16)&65535)<<16)&4294967295,(o^=o>>>16)>>>0},Object.defineProperty(r.prototype,"length",{get:function(){var t=0;for(var e in this.data)0===e.indexOf("hash_")&&(t+=this.data[e].length);return t}}),r.prototype.add=function(t){var e="hash_"+this.hashFunction(t);if(e in this.data){for(var o=this.data[e],i=0;i<o.length;i++)if(this.equalsFunction(t,o[i]))return o[i];return o.push(t),t}return this.data[e]=[t],t},r.prototype.contains=function(t){return null!=this.get(t)},r.prototype.get=function(t){var e="hash_"+this.hashFunction(t);if(e in this.data)for(var o=this.data[e],i=0;i<o.length;i++)if(this.equalsFunction(t,o[i]))return o[i];return null},r.prototype.values=function(){var t=[];for(var e in this.data)0===e.indexOf("hash_")&&(t=t.concat(this.data[e]));return t},r.prototype.toString=function(){return o(this.values())},s.prototype.add=function(t){this.data[t]=!0},s.prototype.or=function(t){var e=this;Object.keys(t.data).map((function(t){e.add(t)}))},s.prototype.remove=function(t){delete this.data[t]},s.prototype.contains=function(t){return!0===this.data[t]},s.prototype.values=function(){return Object.keys(this.data)},s.prototype.minValue=function(){return Math.min.apply(null,this.values())},s.prototype.hashCode=function(){var t=new u;return t.update(this.values()),t.finish()},s.prototype.equals=function(t){return t instanceof s&&this.hashCode()===t.hashCode()},Object.defineProperty(s.prototype,"length",{get:function(){return this.values().length}}),s.prototype.toString=function(){return"{"+this.values().join(", ")+"}"},Object.defineProperty(a.prototype,"length",{get:function(){var t=0;for(var e in this.data)0===e.indexOf("hash_")&&(t+=this.data[e].length);return t}}),a.prototype.put=function(t,e){var o="hash_"+this.hashFunction(t);if(o in this.data){for(var i=this.data[o],n=0;n<i.length;n++){var r=i[n];if(this.equalsFunction(t,r.key)){var s=r.value;return r.value=e,s}}return i.push({key:t,value:e}),e}return this.data[o]=[{key:t,value:e}],e},a.prototype.containsKey=function(t){var e="hash_"+this.hashFunction(t);if(e in this.data)for(var o=this.data[e],i=0;i<o.length;i++){var n=o[i];if(this.equalsFunction(t,n.key))return!0}return!1},a.prototype.get=function(t){var e="hash_"+this.hashFunction(t);if(e in this.data)for(var o=this.data[e],i=0;i<o.length;i++){var n=o[i];if(this.equalsFunction(t,n.key))return n.value}return null},a.prototype.entries=function(){var t=[];for(var e in this.data)0===e.indexOf("hash_")&&(t=t.concat(this.data[e]));return t},a.prototype.getKeys=function(){return this.entries().map((function(t){return t.key}))},a.prototype.getValues=function(){return this.entries().map((function(t){return t.value}))},a.prototype.toString=function(){return"["+this.entries().map((function(t){return"{"+t.key+":"+t.value+"}"})).join(", ")+"]"},l.prototype.get=function(t){return(t="k-"+t)in this.data?this.data[t]:null},l.prototype.put=function(t,e){t="k-"+t,this.data[t]=e},l.prototype.values=function(){var t=this.data;return Object.keys(this.data).map((function(e){return t[e]}))},u.prototype.update=function(){for(var t=0;t<arguments.length;t++){var e=arguments[t];if(null!=e)if(Array.isArray(e))this.update.apply(e);else{var o=0;switch(typeof e){case"undefined":case"function":continue;case"number":case"boolean":o=e;break;case"string":o=e.hashCode();break;default:e.updateHashCode(this);continue}o=(o*=3432918353)<<15|o>>>17,o*=461845907,this.count=this.count+1;var i=this.hash^o;i=5*(i=i<<13|i>>>19)+3864292196,this.hash=i}}},u.prototype.finish=function(){var t=this.hash^4*this.count;return t^=t>>>16,t*=2246822507,t^=t>>>13,(t*=3266489909)^t>>>16},p.prototype.get=function(t,e){var o=this[t]||null;return null===o?null:o[e]||null},p.prototype.set=function(t,e,o){var i=this[t]||null;null===i&&(i={},this[t]=i),i[e]=o},e.Hash=u,e.Set=r,e.Map=a,e.BitSet=s,e.AltDict=l,e.DoubleDict=p,e.hashStuff=function(){var t=new u;return t.update.apply(arguments),t.finish()},e.escapeWhitespace=function(t,e){return t=t.replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r"),e&&(t=t.replace(/ /g,"·")),t},e.arrayToString=o,e.titleCase=function(t){return t.replace(/\w\S*/g,(function(t){return t.charAt(0).toUpperCase()+t.substr(1)}))},e.equalArrays=function(t,e){if(!Array.isArray(t)||!Array.isArray(e))return!1;if(t==e)return!0;if(t.length!=e.length)return!1;for(var o=0;o<t.length;o++)if(t[o]!=e[o]&&!t[o].equals(e[o]))return!1;return!0}},66419:(t,e,o)=>{Object.defineProperty(e,"__esModule",{value:!0});var i=o(60843),n=o(83423),r=function(){function t(t,e){void 0===e&&(e=!1);var o=this;this.destroyFuncs=[],this.touching=!1,this.eventService=new i.EventService,this.eElement=t,this.preventMouseClick=e;var n=this.onTouchStart.bind(this),r=this.onTouchMove.bind(this),s=this.onTouchEnd.bind(this);this.eElement.addEventListener("touchstart",n,{passive:!0}),this.eElement.addEventListener("touchmove",r,{passive:!0}),this.eElement.addEventListener("touchend",s,{passive:!1}),this.destroyFuncs.push((function(){o.eElement.removeEventListener("touchstart",n,{passive:!0}),o.eElement.removeEventListener("touchmove",r,{passive:!0}),o.eElement.removeEventListener("touchend",s,{passive:!1})}))}return t.prototype.getActiveTouch=function(t){for(var e=0;e<t.length;e++)if(t[e].identifier===this.touchStart.identifier)return t[e];return null},t.prototype.addEventListener=function(t,e){this.eventService.addEventListener(t,e)},t.prototype.removeEventListener=function(t,e){this.eventService.removeEventListener(t,e)},t.prototype.onTouchStart=function(e){var o=this;if(!this.touching){this.touchStart=e.touches[0],this.touching=!0,this.moved=!1;var i=this.touchStart;window.setTimeout((function(){var n=o.touchStart===i;if(o.touching&&n&&!o.moved){o.moved=!0;var r={type:t.EVENT_LONG_TAP,touchStart:o.touchStart,touchEvent:e};o.eventService.dispatchEvent(r)}}),500)}},t.prototype.onTouchMove=function(t){if(this.touching){var e=this.getActiveTouch(t.touches);e&&!n._.areEventsNear(e,this.touchStart,4)&&(this.moved=!0)}},t.prototype.onTouchEnd=function(e){if(this.touching){if(!this.moved){var o={type:t.EVENT_TAP,touchStart:this.touchStart};this.eventService.dispatchEvent(o),this.checkForDoubleTap()}this.preventMouseClick&&e.preventDefault(),this.touching=!1}},t.prototype.checkForDoubleTap=function(){var e=(new Date).getTime();if(this.lastTapTime&&this.lastTapTime>0)if(e-this.lastTapTime>t.DOUBLE_TAP_MILLIS){var o={type:t.EVENT_DOUBLE_TAP,touchStart:this.touchStart};this.eventService.dispatchEvent(o),this.lastTapTime=null}else this.lastTapTime=e;else this.lastTapTime=e},t.prototype.destroy=function(){this.destroyFuncs.forEach((function(t){return t()}))},t.EVENT_TAP="tap",t.EVENT_DOUBLE_TAP="doubleTap",t.EVENT_LONG_TAP="longTap",t.DOUBLE_TAP_MILLIS=500,t}();e.TouchListener=r},66490:function(t,e,o){var i=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},n=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r=o(72493),s=o(40634),a=function(){function t(){}return t.prototype.processAllCellClasses=function(t,e,o,i){this.processClassRules(t.cellClassRules,e,o,i),this.processStaticCellClasses(t,e,o)},t.prototype.processClassRules=function(t,e,o,i){if("object"==typeof t&&null!==t)for(var n=Object.keys(t),r=0;r<n.length;r++){var s=n[r],a=t[s],l=void 0;"string"==typeof a?l=this.expressionService.evaluate(a,e):"function"==typeof a&&(l=a(e)),l?o(s):i&&i(s)}},t.prototype.processStaticCellClasses=function(t,e,o){if(t.cellClass){var i=void 0;"string"==typeof(i="function"==typeof t.cellClass?(0,t.cellClass)(e):t.cellClass)?o(i):Array.isArray(i)&&i.forEach((function(t){o(t)}))}},i([r.Autowired("expressionService"),n("design:type",s.ExpressionService)],t.prototype,"expressionService",void 0),i([r.Bean("stylingService")],t)}();e.StylingService=a},66840:(t,e,o)=>{var i=o(59830),n=o(63655),r=o(96830),s=o(76966),a=o(88141),l=Array.prototype.slice,p=o(36173),u={on:function(t,e,o){return p.eventsApi(this,"on",t,[e,o])&&e?(this._events||(this._events={}),(this._events[t]||(this._events[t]=[])).push({callback:e,context:o,ctx:o||this}),this):this},once:function(t,e,o){if(!p.eventsApi(this,"once",t,[e,o])||!e)return this;var n=this,r=i((function(){n.off(t,r),e.apply(this,arguments)}));return r._callback=e,this.on(t,r,o)},off:function(t,e,o){var i,r,s,a,l,u,c,d;if(!this._events||!p.eventsApi(this,"off",t,[e,o]))return this;if(!t&&!e&&!o)return this._events=void 0,this;for(l=0,u=(a=t?[t]:n(this._events)).length;l<u;l++)if(t=a[l],s=this._events[t]){if(this._events[t]=i=[],e||o)for(c=0,d=s.length;c<d;c++)r=s[c],(e&&e!==r.callback&&e!==r.callback._callback||o&&o!==r.context)&&i.push(r);i.length||delete this._events[t]}return this},trigger:function(t){if(!this._events)return this;var e=l.call(arguments,1);if(!p.eventsApi(this,"trigger",t,e))return this;var o=this._events[t],i=this._events.all;return o&&p.triggerEvents(o,e),i&&p.triggerEvents(i,arguments),this},stopListening:function(t,e,o){var i=this._listeningTo;if(!i)return this;var n=!e&&!o;o||"object"!=typeof e||(o=this),t&&((i={})[t._listenId]=t);var s=this;return a(i,(function(t,i){t.off(e,o,s),(n||r(t._events))&&delete s._listeningTo[i]})),this},createEmitter:function(t){return s(t||{},u)},listenTo:p.createListenMethod("on"),listenToOnce:p.createListenMethod("once"),listenToAndRun:function(t,e,o){return this.listenTo.apply(this,arguments),o||"object"!=typeof e||(o=this),o.apply(this),this}};u.bind=u.on,u.unbind=u.off,u.removeListener=u.off,u.removeAllListeners=u.off,u.emit=u.trigger,t.exports=u},67966:(t,e,o)=>{var i=e;i._reverse=function(t){var e={};return Object.keys(t).forEach((function(o){(0|o)==o&&(o|=0);var i=t[o];e[i]=o})),e},i.der=o(4045)},68198:function(t,e,o){var i=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},n=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r=o(72493),s=o(44081),a=o(83423),l=function(){function t(){}return t.prototype.observeResize=function(t,e){var o,i,n,r,s,l=this.frameworkFactory,p=this.gridOptionsWrapper.isSuppressBrowserResizeObserver();return window.ResizeObserver&&!p?((s=new window.ResizeObserver(e)).observe(t),function(){return s.disconnect()}):(o=a._.offsetWidth(t),i=a._.offsetHeight(t),n=!0,(r=function(){if(n){var s=a._.offsetWidth(t),p=a._.offsetHeight(t);(s!==o||p!==i)&&(o=s,i=p,e()),l.setTimeout(r,500)}})(),function(){return n=!1})},i([r.Autowired("gridOptionsWrapper"),n("design:type",s.GridOptionsWrapper)],t.prototype,"gridOptionsWrapper",void 0),i([r.Autowired("frameworkFactory"),n("design:type",Object)],t.prototype,"frameworkFactory",void 0),i([r.Bean("resizeObserverService")],t)}();e.ResizeObserverService=l},68363:(t,e)=>{Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){this.active=!0,this.nodeIdsToColumns={},this.mapToItems={},this.keepingColumns=t,this.pathRoot={rowNode:e,children:null},this.mapToItems[e.id]=this.pathRoot}return t.prototype.setInactive=function(){this.active=!1},t.prototype.isActive=function(){return this.active},t.prototype.depthFirstSearchChangedPath=function(t,e){if(t.children)for(var o=0;o<t.children.length;o++)this.depthFirstSearchChangedPath(t.children[o],e);e(t.rowNode)},t.prototype.depthFirstSearchEverything=function(t,e,o){if(t.childrenAfterGroup)for(var i=0;i<t.childrenAfterGroup.length;i++){var n=t.childrenAfterGroup[i];n.childrenAfterGroup?this.depthFirstSearchEverything(t.childrenAfterGroup[i],e,o):o&&e(n)}e(t)},t.prototype.forEachChangedNodeDepthFirst=function(t,e){void 0===e&&(e=!1),this.active?this.depthFirstSearchChangedPath(this.pathRoot,t):this.depthFirstSearchEverything(this.pathRoot.rowNode,t,e)},t.prototype.executeFromRootNode=function(t){t(this.pathRoot.rowNode)},t.prototype.createPathItems=function(t){for(var e=t,o=0;!this.mapToItems[e.id];){var i={rowNode:e,children:null};this.mapToItems[e.id]=i,o++,e=e.parent}return o},t.prototype.populateColumnsMap=function(t,e){var o=this;if(this.keepingColumns&&e)for(var i=t;i;)this.nodeIdsToColumns[i.id]||(this.nodeIdsToColumns[i.id]={}),e.forEach((function(t){return o.nodeIdsToColumns[i.id][t.getId()]=!0})),i=i.parent},t.prototype.linkPathItems=function(t,e){for(var o=t,i=0;i<e;i++){var n=this.mapToItems[o.id],r=this.mapToItems[o.parent.id];r.children||(r.children=[]),r.children.push(n),o=o.parent}},t.prototype.addParentNode=function(t,e){var o=this.createPathItems(t);this.linkPathItems(t,o),this.populateColumnsMap(t,e)},t.prototype.canSkip=function(t){return this.active&&!this.mapToItems[t.id]},t.prototype.getValueColumnsForNode=function(t,e){if(!this.keepingColumns)return e;var o=this.nodeIdsToColumns[t.id];return e.filter((function(t){return o[t.getId()]}))},t.prototype.getNotValueColumnsForNode=function(t,e){if(!this.keepingColumns)return null;var o=this.nodeIdsToColumns[t.id];return e.filter((function(t){return!o[t.getId()]}))},t}();e.ChangedPath=o},69036:(t,e,o)=>{var i=o(48898);e.Trees=o(23438).Trees,e.RuleNode=i.RuleNode,e.ParseTreeListener=i.ParseTreeListener,e.ParseTreeVisitor=i.ParseTreeVisitor,e.ParseTreeWalker=i.ParseTreeWalker},69065:function(t,e,o){var i=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},n=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r=o(72493),s=o(44081),a=o(85222),l=o(60843),p=function(){function t(){this.createRowTasks=[],this.destroyRowTasks=[],this.ticking=!1,this.scrollGoingDown=!0,this.lastScrollTop=0}return t.prototype.setScrollTop=function(t){this.scrollGoingDown=t>this.lastScrollTop,this.lastScrollTop=t},t.prototype.init=function(){this.useAnimationFrame=!this.gridOptionsWrapper.isSuppressAnimationFrame()},t.prototype.verifyAnimationFrameOn=function(t){!1===this.useAnimationFrame&&console.warn("ag-Grid: AnimationFrameService."+t+" called but animation frames are off")},t.prototype.addP1Task=function(t,e){this.verifyAnimationFrameOn("addP1Task");var o={task:t,index:e};this.createRowTasks.push(o),this.schedule()},t.prototype.addP2Task=function(t){this.verifyAnimationFrameOn("addP2Task"),this.destroyRowTasks.push(t),this.schedule()},t.prototype.executeFrame=function(t){this.verifyAnimationFrameOn("executeFrame"),this.scrollGoingDown?this.createRowTasks.sort((function(t,e){return e.index-t.index})):this.createRowTasks.sort((function(t,e){return t.index-e.index}));for(var e=(new Date).getTime(),o=(new Date).getTime()-e,i=t<=0;i||o<t;){if(this.createRowTasks.length>0)this.createRowTasks.pop().task();else{if(!(this.destroyRowTasks.length>0))break;this.destroyRowTasks.pop()()}o=(new Date).getTime()-e}this.createRowTasks.length>0||this.destroyRowTasks.length>0?this.requestFrame():this.stopTicking()},t.prototype.stopTicking=function(){this.ticking=!1;var t={type:a.Events.EVENT_ANIMATION_QUEUE_EMPTY,columnApi:this.gridOptionsWrapper.getColumnApi(),api:this.gridOptionsWrapper.getApi()};this.eventService.dispatchEvent(t)},t.prototype.flushAllFrames=function(){this.useAnimationFrame&&this.executeFrame(-1)},t.prototype.schedule=function(){this.useAnimationFrame&&(this.ticking||(this.ticking=!0,this.requestFrame()))},t.prototype.requestFrame=function(){var t=this.executeFrame.bind(this,60);window.requestAnimationFrame?window.requestAnimationFrame(t):window.webkitRequestAnimationFrame?window.webkitRequestAnimationFrame(t):window.setTimeout(t,0)},t.prototype.isQueueEmpty=function(){return this.ticking},i([r.Autowired("gridOptionsWrapper"),n("design:type",s.GridOptionsWrapper)],t.prototype,"gridOptionsWrapper",void 0),i([r.Autowired("eventService"),n("design:type",l.EventService)],t.prototype,"eventService",void 0),i([r.PostConstruct,n("design:type",Function),n("design:paramtypes",[]),n("design:returntype",void 0)],t.prototype,"init",null),i([r.Bean("animationFrameService")],t)}();e.AnimationFrameService=p},69397:function(t,e,o){var i,n=this&&this.__extends||(i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},i(t,e)},function(t,e){function o(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),r=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},s=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var a=o(72493),l=o(34255),p=o(47721),u=o(85910),c=o(22131),d=o(45727),h=o(83423),f=function(t){function e(){var e=t.call(this,'<div class="ag-input-text-wrapper"><input ref="eColumnFloatingFilter" class="ag-floating-filter-input"></div>')||this;return e.lastKnownModel=null,e}return n(e,t),e.prototype.init=function(t){this.onFloatingFilterChanged=t.onFloatingFilterChanged,this.currentParentModel=t.currentParentModel;var e=null!=t.debounceMs?t.debounceMs:500,o=h._.debounce(this.syncUpWithParentFilter.bind(this),e);this.addDestroyableEventListener(this.eColumnFloatingFilter,"input",o),this.addDestroyableEventListener(this.eColumnFloatingFilter,"keypress",o),this.addDestroyableEventListener(this.eColumnFloatingFilter,"keydown",o);var i=t.column.getDefinition();i.filterParams&&i.filterParams.filterOptions&&1===i.filterParams.filterOptions.length&&"inRange"===i.filterParams.filterOptions[0]&&(this.eColumnFloatingFilter.disabled=!0)},e.prototype.onParentModelChanged=function(t,e){if(null!=e)return this.eColumnFloatingFilter.value=this.parseAsText(e.condition1)+" "+e.operator+" "+this.parseAsText(e.condition2),this.eColumnFloatingFilter.disabled=!0,this.lastKnownModel=null,this.eColumnFloatingFilter.title=this.eColumnFloatingFilter.value,void(this.eColumnFloatingFilter.style.cursor="default");if(this.eColumnFloatingFilter.disabled=!1,this.equalModels(this.lastKnownModel,t))this.lastKnownModel||t||(this.eColumnFloatingFilter.value="");else{this.lastKnownModel=t;var o=this.asFloatingFilterText(t);o!==this.eColumnFloatingFilter.value&&(this.eColumnFloatingFilter.value=o,this.eColumnFloatingFilter.title="")}},e.prototype.syncUpWithParentFilter=function(t){var e=this.asParentModel();this.equalModels(this.lastKnownModel,e)||(h._.isKeyPressed(t,d.Constants.KEY_ENTER)?this.onFloatingFilterChanged({model:e,apply:!0}):this.onFloatingFilterChanged({model:e,apply:!1}))&&(this.lastKnownModel=e)},e.prototype.equalModels=function(t,e){return!!h._.referenceCompare(t,e)||!(!t||!e)&&!Array.isArray(t)&&!Array.isArray(e)&&h._.referenceCompare(t.type,e.type)&&h._.referenceCompare(t.filter,e.filter)&&h._.referenceCompare(t.filterTo,e.filterTo)&&h._.referenceCompare(t.filterType,e.filterType)},r([p.RefSelector("eColumnFloatingFilter"),s("design:type",HTMLInputElement)],e.prototype,"eColumnFloatingFilter",void 0),e}(c.Component);e.InputTextFloatingFilterComp=f;var g=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.asFloatingFilterText=function(t){return t?t.filter:""},e.prototype.asParentModel=function(){return{type:this.currentParentModel().type,filter:this.eColumnFloatingFilter.value,filterType:"text"}},e.prototype.parseAsText=function(t){return this.asFloatingFilterText(t)},e}(f);e.TextFloatingFilterComp=g;var y=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.lastKnownModel=null,e}return n(e,t),e.prototype.init=function(t){this.onFloatingFilterChanged=t.onFloatingFilterChanged,this.currentParentModel=t.currentParentModel;var e=null!=t.debounceMs?t.debounceMs:500,o={onDateChanged:h._.debounce(this.onDateChanged.bind(this),e),filterParams:t.column.getColDef().filterParams};this.dateComponentPromise=this.userComponentFactory.newDateComponent(o);var i=h._.loadTemplate("<div></div>");this.dateComponentPromise.then((function(e){i.appendChild(e.getGui());var o=t.column.getDefinition(),n=o.filterParams&&o.filterParams.filterOptions&&1===o.filterParams.filterOptions.length&&"inRange"===o.filterParams.filterOptions[0];e.eDateInput&&(e.eDateInput.disabled=n)})),i.style.width="100%",i.style.height="100%",this.setTemplateFromElement(i)},e.prototype.onDateChanged=function(){var t=this.currentParentModel(),e=this.asParentModel();this.equalModels(t,e)||(this.onFloatingFilterChanged({model:e,apply:!0}),this.lastKnownModel=e)},e.prototype.equalModels=function(t,e){return!!h._.referenceCompare(t,e)||!(!t||!e)&&!Array.isArray(t)&&!Array.isArray(e)&&h._.referenceCompare(t.type,e.type)&&h._.referenceCompare(t.dateFrom,e.dateFrom)&&h._.referenceCompare(t.dateTo,e.dateTo)&&h._.referenceCompare(t.filterType,e.filterType)},e.prototype.asParentModel=function(){var t=this.currentParentModel(),e=this.dateComponentPromise.resolveNow(null,(function(t){return t.getDate()})),o=h._.serializeDateToYyyyMmDd(l.DateFilter.removeTimezone(e),"-");return{type:t.type,dateFrom:o,dateTo:t?t.dateTo:null,filterType:"date"}},e.prototype.onParentModelChanged=function(t){var e=this;this.lastKnownModel=t,this.dateComponentPromise.then((function(o){t&&t.dateFrom?(e.enrichDateInput(t.type,t.dateFrom,t.dateTo,o),o.setDate(h._.parseYyyyMmDdToDate(t.dateFrom,"-"))):o.setDate(null)}))},e.prototype.enrichDateInput=function(t,e,o,i){i.eDateInput&&("inRange"===t?(i.eDateInput.title=e+" to "+o,i.eDateInput.disabled=!0):(i.eDateInput.title="",i.eDateInput.disabled=!1))},r([a.Autowired("userComponentFactory"),s("design:type",u.UserComponentFactory)],e.prototype,"userComponentFactory",void 0),e}(c.Component);e.DateFloatingFilterComp=y;var m=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.asFloatingFilterText=function(t){var e=this.currentParentModel();return null==t&&null==e?"":null==t&&null!=e&&"inRange"!==e.type?(this.eColumnFloatingFilter.disabled=!1,""):null!=e&&"inRange"===e.type?(this.eColumnFloatingFilter.disabled=!0,this.parseAsText(e)):(this.eColumnFloatingFilter.disabled=!1,this.parseAsText(t))},e.prototype.parseAsText=function(t){var e=this.asNumber(t.filter);if(t.type&&"inRange"===t.type){var o=this.asNumber(t.filterTo);return(e?e+"":"")+"-"+(o?o+"":"")}return null!=e?e+"":""},e.prototype.asParentModel=function(){var t,e=this.currentParentModel(),o=this.asNumber(this.eColumnFloatingFilter.value),i=this.eColumnFloatingFilter.value;return t=null==o&&""===i?null:null==o?e.filter:o,{type:e.type,filter:t,filterTo:e?e.filterTo:null,filterType:"number"}},e.prototype.asNumber=function(t){if(null==t)return null;if(""===t)return null;var e=Number(t);return h._.isNumeric(e)?e:null},e}(f);e.NumberFloatingFilterComp=m;var v=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.init=function(e){t.prototype.init.call(this,e),this.eColumnFloatingFilter.disabled=!0},e.prototype.asFloatingFilterText=function(t){if(this.eColumnFloatingFilter.disabled=!0,!t)return"";var e=t instanceof Array?t:t.values;if(0===e.length)return"";var o=e.length>10?e.slice(0,10).concat("..."):e;return"("+e.length+") "+o.join(",")},e.prototype.parseAsText=function(t){return this.asFloatingFilterText(t)},e.prototype.asParentModel=function(){return null==this.eColumnFloatingFilter.value||""===this.eColumnFloatingFilter.value?{values:[],filterType:"set"}:{values:this.eColumnFloatingFilter.value.split(","),filterType:"set"}},e.prototype.equalModels=function(t,e){return!1},e}(f);e.SetFloatingFilterComp=v;var C=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.init=function(e){t.prototype.init.call(this,e),this.eColumnFloatingFilter.disabled=!0},e.prototype.onParentModelChanged=function(t){this.eColumnFloatingFilter.value=this.asFloatingFilterText(this.currentParentModel())},e.prototype.asFloatingFilterText=function(t){return t},e.prototype.parseAsText=function(t){return t},e.prototype.asParentModel=function(){return null},e}(f);e.ReadModelAsStringFloatingFilterComp=C},69638:function(t,e,o){var i=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},n=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r=o(72493),s=o(22743),a=o(83423),l=function(){function t(){}return t.prototype.adaptFunction=function(t,e,o,i){if(null==e)return{component:null,componentFromFramework:o,source:i,paramsFromSelector:null};var n=this.componentMetadataProvider.retrieve(t);return n&&n.functionAdapter?{componentFromFramework:o,component:n.functionAdapter(e),source:i,paramsFromSelector:null}:null},t.prototype.adaptCellRendererFunction=function(t){return function(){function e(){}return e.prototype.refresh=function(t){return!1},e.prototype.getGui=function(){var e=t(this.params),o=typeof e;return"string"===o||"number"===o||"boolean"===o?a._.loadTemplate("<span>"+e+"</span>"):e},e.prototype.init=function(t){this.params=t},e}()},t.prototype.doesImplementIComponent=function(t){return!!t&&t.prototype&&"getGui"in t.prototype},i([r.Autowired("componentMetadataProvider"),n("design:type",s.ComponentMetadataProvider)],t.prototype,"componentMetadataProvider",void 0),i([r.Bean("agComponentUtils")],t)}();e.AgComponentUtils=l},69734:(t,e,o)=>{Object.defineProperty(e,"__esModule",{value:!0});var i=o(83423),n=function(){function t(){this.existingKeys=[]}return t.prototype.addExistingKeys=function(t){this.existingKeys=this.existingKeys.concat(t)},t.prototype.getUniqueKey=function(t,e){t=i._.toStringOrNull(t);for(var o=0;;){var n=void 0;if(t?(n=t,0!==o&&(n+="_"+o)):e?(n=e,0!==o&&(n+="_"+o)):n=""+o,this.existingKeys.indexOf(n)<0)return this.existingKeys.push(n),n;o++}},t}();e.ColumnKeyCreator=n},69992:function(t,e,o){var i=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},n=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r,s=o(58342),a=o(72493),l=o(27887),p=o(26016),u=o(20080),c=o(98239);!function(t){t[t.ColumnMove=0]="ColumnMove",t[t.Pivot=1]="Pivot"}(r||(r={}));var d=function(){function t(t,e){this.dropListeners={},this.pinned=t,this.eContainer=e}return t.prototype.registerGridComp=function(t){switch(this.gridPanel=t,this.moveColumnController.registerGridComp(t),this.pinned){case p.Column.PINNED_LEFT:this.eSecondaryContainers=this.gridPanel.getDropTargetLeftContainers();break;case p.Column.PINNED_RIGHT:this.eSecondaryContainers=this.gridPanel.getDropTargetRightContainers();break;default:this.eSecondaryContainers=this.gridPanel.getDropTargetBodyContainers()}},t.prototype.isInterestedIn=function(t){return t===s.DragSourceType.HeaderCell||t===s.DragSourceType.ToolPanel},t.prototype.getSecondaryContainers=function(){return this.eSecondaryContainers},t.prototype.getContainer=function(){return this.eContainer},t.prototype.init=function(){this.moveColumnController=new l.MoveColumnController(this.pinned,this.eContainer),this.context.wireBean(this.moveColumnController);var t=new u.BodyDropPivotTarget(this.pinned);this.context.wireBean(t),this.dropListeners[r.ColumnMove]=this.moveColumnController,this.dropListeners[r.Pivot]=t,this.dragAndDropService.addDropTarget(this)},t.prototype.getIconName=function(){return this.currentDropListener.getIconName()},t.prototype.getDropType=function(t){return this.columnController.isPivotMode()&&t.dragSource.type===s.DragSourceType.ToolPanel?r.Pivot:r.ColumnMove},t.prototype.onDragEnter=function(t){var e=this.getDropType(t);this.currentDropListener=this.dropListeners[e],this.currentDropListener.onDragEnter(t)},t.prototype.onDragLeave=function(t){this.currentDropListener.onDragLeave(t)},t.prototype.onDragging=function(t){this.currentDropListener.onDragging(t)},t.prototype.onDragStop=function(t){this.currentDropListener.onDragStop(t)},i([a.Autowired("context"),n("design:type",a.Context)],t.prototype,"context",void 0),i([a.Autowired("dragAndDropService"),n("design:type",s.DragAndDropService)],t.prototype,"dragAndDropService",void 0),i([a.Autowired("columnController"),n("design:type",c.ColumnController)],t.prototype,"columnController",void 0),i([a.PostConstruct,n("design:type",Function),n("design:paramtypes",[]),n("design:returntype",void 0)],t.prototype,"init",null),t}();e.BodyDropTarget=d},70040:(t,e,o)=>{var i=o(72994).Token;function n(t,e){return this.start=t,this.stop=e,this}function r(){this.intervals=null,this.readOnly=!1}n.prototype.contains=function(t){return t>=this.start&&t<this.stop},n.prototype.toString=function(){return this.start===this.stop-1?this.start.toString():this.start.toString()+".."+(this.stop-1).toString()},Object.defineProperty(n.prototype,"length",{get:function(){return this.stop-this.start}}),r.prototype.first=function(t){return null===this.intervals||0===this.intervals.length?i.INVALID_TYPE:this.intervals[0].start},r.prototype.addOne=function(t){this.addInterval(new n(t,t+1))},r.prototype.addRange=function(t,e){this.addInterval(new n(t,e+1))},r.prototype.addInterval=function(t){if(null===this.intervals)this.intervals=[],this.intervals.push(t);else{for(var e=0;e<this.intervals.length;e++){var o=this.intervals[e];if(t.stop<o.start)return void this.intervals.splice(e,0,t);if(t.stop===o.start)return void(this.intervals[e].start=t.start);if(t.start<=o.stop)return this.intervals[e]=new n(Math.min(o.start,t.start),Math.max(o.stop,t.stop)),void this.reduce(e)}this.intervals.push(t)}},r.prototype.addSet=function(t){if(null!==t.intervals)for(var e=0;e<t.intervals.length;e++){var o=t.intervals[e];this.addInterval(new n(o.start,o.stop))}return this},r.prototype.reduce=function(t){if(t<this.intervalslength-1){var e=this.intervals[t],o=this.intervals[t+1];e.stop>=o.stop?(this.intervals.pop(t+1),this.reduce(t)):e.stop>=o.start&&(this.intervals[t]=new n(e.start,o.stop),this.intervals.pop(t+1))}},r.prototype.complement=function(t,e){var o=new r;o.addInterval(new n(t,e+1));for(var i=0;i<this.intervals.length;i++)o.removeRange(this.intervals[i]);return o},r.prototype.contains=function(t){if(null===this.intervals)return!1;for(var e=0;e<this.intervals.length;e++)if(this.intervals[e].contains(t))return!0;return!1},Object.defineProperty(r.prototype,"length",{get:function(){var t=0;return this.intervals.map((function(e){t+=e.length})),t}}),r.prototype.removeRange=function(t){if(t.start===t.stop-1)this.removeOne(t.start);else if(null!==this.intervals)for(var e=0,o=0;o<this.intervals.length;o++){var i=this.intervals[e];if(t.stop<=i.start)return;if(t.start>i.start&&t.stop<i.stop){this.intervals[e]=new n(i.start,t.start);var r=new n(t.stop,i.stop);return void this.intervals.splice(e,0,r)}t.start<=i.start&&t.stop>=i.stop?(this.intervals.splice(e,1),e-=1):t.start<i.stop?this.intervals[e]=new n(i.start,t.start):t.stop<i.stop&&(this.intervals[e]=new n(t.stop,i.stop)),e+=1}},r.prototype.removeOne=function(t){if(null!==this.intervals)for(var e=0;e<this.intervals.length;e++){var o=this.intervals[e];if(t<o.start)return;if(t===o.start&&t===o.stop-1)return void this.intervals.splice(e,1);if(t===o.start)return void(this.intervals[e]=new n(o.start+1,o.stop));if(t===o.stop-1)return void(this.intervals[e]=new n(o.start,o.stop-1));if(t<o.stop-1){var i=new n(o.start,t);return o.start=t+1,void this.intervals.splice(e,0,i)}}},r.prototype.toString=function(t,e,o){return t=t||null,e=e||null,o=o||!1,null===this.intervals?"{}":null!==t||null!==e?this.toTokenString(t,e):o?this.toCharString():this.toIndexString()},r.prototype.toCharString=function(){for(var t=[],e=0;e<this.intervals.length;e++){var o=this.intervals[e];o.stop===o.start+1?o.start===i.EOF?t.push("<EOF>"):t.push("'"+String.fromCharCode(o.start)+"'"):t.push("'"+String.fromCharCode(o.start)+"'..'"+String.fromCharCode(o.stop-1)+"'")}return t.length>1?"{"+t.join(", ")+"}":t[0]},r.prototype.toIndexString=function(){for(var t=[],e=0;e<this.intervals.length;e++){var o=this.intervals[e];o.stop===o.start+1?o.start===i.EOF?t.push("<EOF>"):t.push(o.start.toString()):t.push(o.start.toString()+".."+(o.stop-1).toString())}return t.length>1?"{"+t.join(", ")+"}":t[0]},r.prototype.toTokenString=function(t,e){for(var o=[],i=0;i<this.intervals.length;i++)for(var n=this.intervals[i],r=n.start;r<n.stop;r++)o.push(this.elementName(t,e,r));return o.length>1?"{"+o.join(", ")+"}":o[0]},r.prototype.elementName=function(t,e,o){return o===i.EOF?"<EOF>":o===i.EPSILON?"<EPSILON>":t[o]||e[o]},e.Interval=n,e.m=r},71022:(t,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.COLLATION_OPTIONS=void 0,e.COLLATION_OPTIONS={locale:["af","sq","am","ar","ar@collation=compat","hy","as","az","az@collation=search","be","bn","bn@collation=traditional","bs","bs@collation=search","bs_Cyrl","bg","my","ca","ca@collation=search","chr","zh","zh@collation=big5han","zh@collation=gb2312han","zh@collation=pinyin","zh@collation=unihan","zh@collation=zhuyin","zh_Hant","zh_Hant@collation=stroke","hr","hr@collation=search","cs","cs@collation=search","da","da@collation=search","nl","dz","en","en_US","en_US_POSIX","eo","et","ee","fo","fil","fi_FI","fi_FI@collation=search","fi_FI@collation=traditional","fr","fr_CA","gl","gl@collation=search","ka","de","de@collation=search","de@collation=eor","de@collation=phonebook","de_AT","de_AT@collation=phonebook","el","gu","ha","haw","he","he@collation=search","hi","hu","is","is@collation=search","ig","smn","smn@collation=search","id","ga","it","ja","ja@collation=unihan","kl","kl@collation=search","kn","kn@collation=traditional","kk","km","kok","ko","ko@collation=search","ko@collation=searchjl","ko@collation=unihan","ky","lk","lo","lv","li","li@collation=phonetic","lt","dsb","lb","mk","ms","ml","mt","mr","mn","ne","se","se@collation=search","nb","nb@collation=search","nn","nn@collation=search","or","om","ps","fa","fa_AF","pl","pt","pa","ro","ru","sr","sr_Latn","sr_Latn@collation=search","si","si@collation=dictionary","sk","sk@collation=search","sl","es","es@collation=search","es@collation=traditional","sw","sv","sv@collation=search","ta","te","th","bo","to","tr","tr@collation=search","uk","hsb","ur","ug","vi","vi@collation=traditional","wae","cy","yi","yi@collation=search","yo","zu","simple"],strength:[1,2,3,4,5],caseLevel:[!0,!1],caseFirst:["upper","lower","off"],numericOrdering:[!0,!1],alternate:["non-ignorable","shifted"],maxVariable:[!0,!1],backwards:[!0,!1],normalization:[!0,!1]}},71616:function(t,e,o){var i,n=this&&this.__extends||(i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},i(t,e)},function(t,e){function o(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)});Object.defineProperty(e,"__esModule",{value:!0});var r=o(45727),s=o(46379),a=o(83423),l=function(t){function e(){var o=t.call(this,e.TEMPLATE)||this;return o.eInput=o.getGui().querySelector("input"),o}return n(e,t),e.prototype.init=function(t){this.params=t;var e,o=this.eInput;t.cellStartedEdit?(this.focusAfterAttached=!0,t.keyPress===r.Constants.KEY_BACKSPACE||t.keyPress===r.Constants.KEY_DELETE?e="":t.charPress?e=t.charPress:(e=this.getStartValue(t),t.keyPress!==r.Constants.KEY_F2&&(this.highlightAllOnFocus=!0))):(this.focusAfterAttached=!1,e=this.getStartValue(t)),a._.exists(e)&&(o.value=e),this.addDestroyableEventListener(o,"keydown",(function(t){if(t.keyCode===r.Constants.KEY_LEFT||t.keyCode===r.Constants.KEY_RIGHT||t.keyCode===r.Constants.KEY_UP||t.keyCode===r.Constants.KEY_DOWN||t.keyCode===r.Constants.KEY_PAGE_DOWN||t.keyCode===r.Constants.KEY_PAGE_UP||t.keyCode===r.Constants.KEY_PAGE_HOME||t.keyCode===r.Constants.KEY_PAGE_END){t.stopPropagation();var e=t.keyCode===r.Constants.KEY_PAGE_UP,o=t.keyCode===r.Constants.KEY_PAGE_DOWN;(e||o)&&t.preventDefault()}}))},e.prototype.afterGuiAttached=function(){if(this.focusAfterAttached){var t=this.eInput;if(t.focus(),this.highlightAllOnFocus)t.select();else{var e=t.value?t.value.length:0;e>0&&t.setSelectionRange(e,e)}}},e.prototype.focusIn=function(){var t=this.eInput;t.focus(),t.select()},e.prototype.getValue=function(){var t=this.eInput;return this.params.parseValue(t.value)},e.prototype.getStartValue=function(t){return t.useFormatter||t.column.getColDef().refData?t.formatValue(t.value):t.value},e.prototype.isPopup=function(){return!1},e.TEMPLATE='<div class="ag-input-text-wrapper"><input class="ag-cell-edit-input" type="text"/></div>',e}(s.PopupComponent);e.TextCellEditor=l},72493:(t,e,o)=>{Object.defineProperty(e,"__esModule",{value:!0});var i=o(83423),n=function(){function t(t,e){if(this.beanWrappers={},this.componentsMappedByName={},this.destroyed=!1,t&&t.beans){this.contextParams=t,this.logger=e,this.logger.log(">> creating ag-Application Context"),this.setupComponents(),this.createBeans();var o=this.getBeanInstances();this.wireBeans(o),this.logger.log(">> ag-Application Context ready - component is alive")}}return t.prototype.getBeanInstances=function(){return i._.mapObject(this.beanWrappers,(function(t){return t.beanInstance}))},t.prototype.setupComponents=function(){var t=this;this.contextParams.components&&this.contextParams.components.forEach((function(e){return t.addComponent(e)}))},t.prototype.addComponent=function(t){var e=t.componentName.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase().toUpperCase();this.componentsMappedByName[e]=t.theClass},t.prototype.createComponentFromElement=function(t,e){var o=t.nodeName;if(this.componentsMappedByName&&this.componentsMappedByName[o]){var i=new this.componentsMappedByName[o];return this.wireBean(i,e),i}return null},t.prototype.wireBean=function(t,e){if(!t)throw Error("Can't wire to bean since it is null");this.wireBeans([t],e)},t.prototype.wireBeans=function(t,e){this.autoWireBeans(t),this.methodWireBeans(t),this.callLifeCycleMethods(t,"preConstructMethods"),i._.exists(e)&&t.forEach(e),this.callLifeCycleMethods(t,"postConstructMethods")},t.prototype.createBeans=function(){var t=this;this.contextParams.beans.forEach(this.createBeanWrapper.bind(this)),this.contextParams.overrideBeans&&this.contextParams.overrideBeans.forEach(this.createBeanWrapper.bind(this)),i._.iterateObject(this.beanWrappers,(function(e,o){var i;o.bean.__agBeanMetaData&&o.bean.__agBeanMetaData.autowireMethods&&o.bean.__agBeanMetaData.autowireMethods.agConstructor&&(i=o.bean.__agBeanMetaData.autowireMethods.agConstructor);var n,r,s=t.getBeansForParameters(i,o.bean.name),a=(n=o.bean,r=[null].concat(s),new(n.bind.apply(n,r)));o.beanInstance=a,t.logger.log("bean "+t.getBeanName(a)+" created")}))},t.prototype.createBeanWrapper=function(t){var e=t.__agBeanMetaData;if(!e){var o;return o=t.prototype.constructor?t.prototype.constructor.name:""+t,void console.error("context item "+o+" is not a bean")}var i={bean:t,beanInstance:null,beanName:e.beanName};this.beanWrappers[e.beanName]=i},t.prototype.autoWireBeans=function(t){var e=this;t.forEach((function(t){e.forEachMetaDataInHierarchy(t,(function(o,i){var n=o.agClassAttributes;n&&n.forEach((function(o){var n=e.lookupBeanInstance(i,o.beanName,o.optional);t[o.attributeName]=n}))}))}))},t.prototype.methodWireBeans=function(t){var e=this;t.forEach((function(t){e.forEachMetaDataInHierarchy(t,(function(o,n){i._.iterateObject(o.autowireMethods,(function(o,i){if("agConstructor"!==o){var r=e.getBeansForParameters(i,n);t[o].apply(t,r)}}))}))}))},t.prototype.forEachMetaDataInHierarchy=function(t,e){for(var o=Object.getPrototypeOf(t);null!=o;){var i=o.constructor;i.hasOwnProperty("__agBeanMetaData")&&e(i.__agBeanMetaData,this.getBeanName(i)),o=Object.getPrototypeOf(o)}},t.prototype.getBeanName=function(t){if(t.__agBeanMetaData&&t.__agBeanMetaData.beanName)return t.__agBeanMetaData.beanName;var e=t.toString();return e.substring(9,e.indexOf("("))},t.prototype.getBeansForParameters=function(t,e){var o=this,n=[];return t&&i._.iterateObject(t,(function(t,i){var r=o.lookupBeanInstance(e,i);n[Number(t)]=r})),n},t.prototype.lookupBeanInstance=function(t,e,o){if(void 0===o&&(o=!1),"context"===e)return this;if(this.contextParams.seed&&this.contextParams.seed.hasOwnProperty(e))return this.contextParams.seed[e];var i=this.beanWrappers[e];return i?i.beanInstance:(o||console.error("ag-Grid: unable to find bean reference "+e+" while initialising "+t),null)},t.prototype.callLifeCycleMethods=function(t,e){var o=this;t.forEach((function(t){o.forEachMetaDataInHierarchy(t,(function(o){var i=o[e];i&&i.forEach((function(e){return t[e]()}))}))}))},t.prototype.getBean=function(t){return this.lookupBeanInstance("getBean",t,!0)},t.prototype.getEnterpriseDefaultComponents=function(){return this.contextParams.enterpriseDefaultComponents},t.prototype.destroy=function(){if(!this.destroyed){this.logger.log(">> Shutting down ag-Application Context");var t=this.getBeanInstances();this.callLifeCycleMethods(t,"preDestroyMethods"),this.contextParams.seed=null,this.destroyed=!0,this.logger.log(">> ag-Application Context shut down - component is dead")}},t}();function r(t,e,o,i,n,r){if(null!==e)if("number"!=typeof r){var a=s(t.constructor);a.agClassAttributes||(a.agClassAttributes=[]),a.agClassAttributes.push({attributeName:n,beanName:e,optional:o})}else console.error("ag-Grid: Autowired should be on an attribute");else console.error("ag-Grid: Autowired name should not be null")}function s(t){return t.hasOwnProperty("__agBeanMetaData")||(t.__agBeanMetaData={}),t.__agBeanMetaData}e.Context=n,e.PreConstruct=function(t,e,o){var i=s(t.constructor);i.postConstructMethods||(i.preConstructMethods=[]),i.preConstructMethods.push(e)},e.PostConstruct=function(t,e,o){var i=s(t.constructor);i.postConstructMethods||(i.postConstructMethods=[]),i.postConstructMethods.push(e)},e.PreDestroy=function(t,e,o){var i=s(t.constructor);i.preDestroyMethods||(i.preDestroyMethods=[]),i.preDestroyMethods.push(e)},e.Bean=function(t){return function(e){s(e).beanName=t}},e.Autowired=function(t){return function(e,o,i){r(e,t,!1,0,o,null)}},e.Optional=function(t){return function(e,o,i){r(e,t,!0,0,o,null)}},e.Qualifier=function(t){return function(e,o,i){var n,r="function"==typeof e?e:e.constructor;if("number"==typeof i){var a=void 0;o?(n=s(r),a=o):(n=s(r),a="agConstructor"),n.autowireMethods||(n.autowireMethods={}),n.autowireMethods[a]||(n.autowireMethods[a]={}),n.autowireMethods[a][i]=t}}}},72948:function(t,e,o){var i=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},n=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r=o(72493),s=o(74517),a=o(26016),l=o(60843),p=o(44871),u=o(40797),c=function(){function t(t,e,o,i){this.localEventService=new l.EventService,this.expandable=!1,this.colGroupDef=t,this.groupId=e,this.expanded=t&&!!t.openByDefault,this.padding=o,this.level=i}return t.prototype.setOriginalParent=function(t){this.originalParent=this.originalParent},t.prototype.getOriginalParent=function(){return this.originalParent},t.prototype.getLevel=function(){return this.level},t.prototype.isVisible=function(){return!!this.children&&this.children.some((function(t){return t.isVisible()}))},t.prototype.isPadding=function(){return this.padding},t.prototype.setExpanded=function(e){this.expanded=void 0!==e&&e;var o={type:t.EVENT_EXPANDED_CHANGED};this.localEventService.dispatchEvent(o)},t.prototype.isExpandable=function(){return this.expandable},t.prototype.isExpanded=function(){return this.expanded},t.prototype.getGroupId=function(){return this.groupId},t.prototype.getId=function(){return this.getGroupId()},t.prototype.setChildren=function(t){this.children=t},t.prototype.getChildren=function(){return this.children},t.prototype.getColGroupDef=function(){return this.colGroupDef},t.prototype.getLeafColumns=function(){var t=[];return this.addLeafColumns(t),t},t.prototype.addLeafColumns=function(e){this.children&&this.children.forEach((function(o){o instanceof a.Column?e.push(o):o instanceof t&&o.addLeafColumns(e)}))},t.prototype.getColumnGroupShow=function(){return this.padding?this.children[0].getColumnGroupShow():this.colGroupDef.columnGroupShow},t.prototype.setupExpandable=function(){var t=this;this.setExpandable(),this.getLeafColumns().forEach((function(e){return e.addEventListener(a.Column.EVENT_VISIBLE_CHANGED,t.onColumnVisibilityChanged.bind(t))}))},t.prototype.setExpandable=function(){if(!this.isPadding()){for(var e=!1,o=!1,i=!1,n=this.findChildren(),r=0,a=n.length;r<a;r++){var l=n[r];if(l.isVisible()){var p=l.getColumnGroupShow();p===s.ColumnGroup.HEADER_GROUP_SHOW_OPEN?(e=!0,i=!0):p===s.ColumnGroup.HEADER_GROUP_SHOW_CLOSED?(o=!0,i=!0):(e=!0,o=!0)}}var u=e&&o&&i;if(this.expandable!==u){this.expandable=u;var c={type:t.EVENT_EXPANDABLE_CHANGED};this.localEventService.dispatchEvent(c)}}},t.prototype.findChildren=function(){var e=this.children,o=e[0];if(o&&(!o.isPadding||!o.isPadding()))return e;for(;1===e.length&&e[0]instanceof t;)e=e[0].children;return e},t.prototype.onColumnVisibilityChanged=function(){this.setExpandable()},t.prototype.addEventListener=function(t,e){this.localEventService.addEventListener(t,e)},t.prototype.removeEventListener=function(t,e){this.localEventService.removeEventListener(t,e)},t.EVENT_EXPANDED_CHANGED="expandedChanged",t.EVENT_EXPANDABLE_CHANGED="expandableChanged",i([r.Autowired("columnApi"),n("design:type",p.ColumnApi)],t.prototype,"columnApi",void 0),i([r.Autowired("gridApi"),n("design:type",u.GridApi)],t.prototype,"gridApi",void 0),t}();e.OriginalColumnGroup=c},72955:(t,e)=>{Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(){this.isLayoutPanel=!0,this.childPanels=[],this.eGui=document.createElement("div"),this.eGui.style.height="100%"}return t.prototype.addPanel=function(t,e){var o;t.isLayoutPanel?(this.childPanels.push(t),o=t.getGui()):o=t,e&&(o.style.height=e),this.eGui.appendChild(o)},t.prototype.getGui=function(){return this.eGui},t.prototype.doLayout=function(){for(var t=0;t<this.childPanels.length;t++)this.childPanels[t].doLayout()},t}();e.VerticalStack=o},72994:(t,e)=>{function o(){return this.source=null,this.type=null,this.channel=null,this.start=null,this.stop=null,this.tokenIndex=null,this.line=null,this.column=null,this._text=null,this}function i(t,e,n,r,s){return o.call(this),this.source=void 0!==t?t:i.EMPTY_SOURCE,this.type=void 0!==e?e:null,this.channel=void 0!==n?n:o.DEFAULT_CHANNEL,this.start=void 0!==r?r:-1,this.stop=void 0!==s?s:-1,this.tokenIndex=-1,null!==this.source[0]?(this.line=t[0].line,this.column=t[0].column):this.column=-1,this}o.INVALID_TYPE=0,o.EPSILON=-2,o.MIN_USER_TOKEN_TYPE=1,o.EOF=-1,o.DEFAULT_CHANNEL=0,o.HIDDEN_CHANNEL=1,Object.defineProperty(o.prototype,"text",{get:function(){return this._text},set:function(t){this._text=t}}),o.prototype.getTokenSource=function(){return this.source[0]},o.prototype.getInputStream=function(){return this.source[1]},i.prototype=Object.create(o.prototype),i.prototype.constructor=i,i.EMPTY_SOURCE=[null,null],i.prototype.clone=function(){var t=new i(this.source,this.type,this.channel,this.start,this.stop);return t.tokenIndex=this.tokenIndex,t.line=this.line,t.column=this.column,t.text=this.text,t},Object.defineProperty(i.prototype,"text",{get:function(){if(null!==this._text)return this._text;var t=this.getInputStream();if(null===t)return null;var e=t.size;return this.start<e&&this.stop<e?t.getText(this.start,this.stop):"<EOF>"},set:function(t){this._text=t}}),i.prototype.toString=function(){var t=this.text;return t=null!==t?t.replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t"):"<no text>","[@"+this.tokenIndex+","+this.start+":"+this.stop+"='"+t+"',<"+this.type+">"+(this.channel>0?",channel="+this.channel:"")+","+this.line+":"+this.column+"]"},e.Token=o,e.CommonToken=i},73575:function(t,e,o){var i=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},n=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r=o(45727),s=o(72493),a=o(44081),l=o(59007),p=o(60843),u=o(63405),c=o(83423),d=function(){function t(){this.activePopupElements=[]}return t.prototype.registerGridCore=function(t){this.gridCore=t},t.prototype.getDocument=function(){return this.gridOptionsWrapper.getDocument()},t.prototype.getPopupParent=function(){return this.gridOptionsWrapper.getPopupParent()||this.gridCore.getRootGui()},t.prototype.positionPopupForMenu=function(t){var e,o=t.eventSource.getBoundingClientRect(),i=this.getDocument(),n=this.getPopupParent();e=n===i.body?i.documentElement.getBoundingClientRect():n.getBoundingClientRect();var r=o.top-e.top;r=this.keepYWithinBounds(t,r);var s=t.ePopup.clientWidth>0?t.ePopup.clientWidth:200;t.ePopup.style.minWidth=s+"px";var a,l=e.right-e.left-s;function p(){return o.right-e.left-2}function u(){return o.left-e.left-s}this.gridOptionsWrapper.isEnableRtl()?((a=u())<0&&(a=p()),a>l&&(a=0)):((a=p())>l&&(a=u()),a<0&&(a=0)),t.ePopup.style.left=a+"px",t.ePopup.style.top=r+"px"},t.prototype.positionPopupUnderMouseEvent=function(t){var e=this.calculatePointerAlign(t.mouseEvent),o=e.x,i=e.y,n=t.ePopup,r=t.nudgeX,s=t.nudgeY;this.positionPopup({ePopup:n,x:o,y:i,nudgeX:r,nudgeY:s,keepWithinBounds:!0}),this.callPostProcessPopup(t.ePopup,null,t.mouseEvent,t.type,t.column,t.rowNode)},t.prototype.calculatePointerAlign=function(t){var e=this.getDocument(),o=this.getPopupParent(),i=o.getBoundingClientRect(),n=e.documentElement.getBoundingClientRect();return{x:t.clientX-(o===e.body?n.left:i.left),y:t.clientY-(o===e.body?n.top:i.top)}},t.prototype.positionPopupUnderComponent=function(t){var e,o=t.eventSource.getBoundingClientRect(),i=this.getDocument(),n=this.getPopupParent();e=n===i.body?i.documentElement.getBoundingClientRect():n.getBoundingClientRect(),this.positionPopup({ePopup:t.ePopup,minWidth:t.minWidth,minHeight:t.minHeight,nudgeX:t.nudgeX,nudgeY:t.nudgeY,x:o.left-e.left,y:o.top-e.top+o.height,keepWithinBounds:t.keepWithinBounds}),this.callPostProcessPopup(t.ePopup,t.eventSource,null,t.type,t.column,t.rowNode)},t.prototype.callPostProcessPopup=function(t,e,o,i,n,r){var s=this.gridOptionsWrapper.getPostProcessPopupFunc();s&&s({column:n,rowNode:r,ePopup:t,type:i,eventSource:e,mouseEvent:o})},t.prototype.positionPopupOverComponent=function(t){var e,o=t.eventSource.getBoundingClientRect(),i=this.getDocument(),n=this.getPopupParent();e=n===i.body?i.documentElement.getBoundingClientRect():n.getBoundingClientRect(),this.positionPopup({ePopup:t.ePopup,minWidth:t.minWidth,nudgeX:t.nudgeX,nudgeY:t.nudgeY,x:o.left-e.left,y:o.top-e.top,keepWithinBounds:t.keepWithinBounds}),this.callPostProcessPopup(t.ePopup,t.eventSource,null,t.type,t.column,t.rowNode)},t.prototype.positionPopup=function(t){var e=t.x,o=t.y;t.nudgeX&&(e+=t.nudgeX),t.nudgeY&&(o+=t.nudgeY),t.keepWithinBounds&&(e=this.keepXWithinBounds(t,e),o=this.keepYWithinBounds(t,o)),t.ePopup.style.left=e+"px",t.ePopup.style.top=o+"px"},t.prototype.keepYWithinBounds=function(t,e){var o=this.gridOptionsWrapper.getDocument(),i=o.documentElement,n=this.getPopupParent(),r=n.getBoundingClientRect(),s=o.documentElement.getBoundingClientRect(),a=n===o.body,l=Math.min(200,r.height),p=0;t.minHeight&&t.minHeight<l?l=t.minHeight:t.ePopup.offsetHeight>0&&(l=t.ePopup.clientHeight,p=c._.getAbsoluteHeight(t.ePopup)-l);var u=a?c._.getAbsoluteHeight(i)+i.scrollTop:r.height;a&&(u-=Math.abs(s.top-r.top));var d=u-l-p-3;return Math.min(Math.max(e,0),Math.abs(d))},t.prototype.keepXWithinBounds=function(t,e){var o=this.gridOptionsWrapper.getDocument(),i=o.documentElement,n=this.getPopupParent(),r=n.getBoundingClientRect(),s=o.documentElement.getBoundingClientRect(),a=n===o.body,l=Math.min(200,r.width),p=0;t.minWidth&&t.minWidth<l?l=t.minWidth:t.ePopup.clientWidth>0&&(l=t.ePopup.clientWidth,t.ePopup.style.minWidth=l+"px",p=c._.getAbsoluteWidth(t.ePopup)-l);var u=a?c._.getAbsoluteWidth(i)+i.scrollLeft:r.width;a&&(u-=Math.abs(s.left-r.left));var d=u-l-p-3;return Math.min(Math.max(e,0),Math.abs(d))},t.prototype.addAsModalPopup=function(t,e,o,i){return this.addPopup(!0,t,e,o,i)},t.prototype.addPopup=function(t,e,o,i,n){var s=this,a=this.gridOptionsWrapper.getDocument();if(!a)return console.warn("ag-grid: could not find the document, document is empty"),function(){};e.style.top="0px",e.style.left="0px";var l=this.getPopupParent();if(c._.isVisible(e)&&l.contains(e))return function(){};var p=document.createElement("div"),d=this.environment.getTheme();d&&c._.addCssClass(p,d),p.appendChild(e),l.appendChild(p),this.activePopupElements.push(e);var h=!1,f=function(t){(t.which||t.keyCode)===r.Constants.KEY_ESCAPE&&m(null)},g=function(t){m(t)},y=function(t){m(null,t)},m=function(t,o){s.isEventFromCurrentPopup(t,o,e)||s.isEventSameChainAsOriginalEvent(n,t,o)||h||(h=!0,l.removeChild(p),c._.removeFromArray(s.activePopupElements,e),a.removeEventListener("keydown",f),a.removeEventListener("click",g),a.removeEventListener("touchstart",y),a.removeEventListener("contextmenu",g),s.eventService.removeEventListener(u.Events.EVENT_DRAG_STARTED,g),i&&i())};return window.setTimeout((function(){o&&a.addEventListener("keydown",f),t&&(a.addEventListener("click",g),s.eventService.addEventListener(u.Events.EVENT_DRAG_STARTED,g),a.addEventListener("touchstart",y),a.addEventListener("contextmenu",g))}),0),m},t.prototype.isEventFromCurrentPopup=function(t,e,o){var i=t||e;if(i){for(var n=this.activePopupElements.indexOf(o);n<this.activePopupElements.length;n++){var r=this.activePopupElements[n];if(c._.isElementInEventPath(r,i))return!0}for(var s=i.target;s&&s!=document.body;){if(s.classList.contains("ag-custom-component-popup")||null===s.parentElement)return!0;s=s.parentElement}}return!1},t.prototype.isEventSameChainAsOriginalEvent=function(t,e,o){var i=null;if(e?i=e:o&&(i=o.touches[0]),i&&t){var n=e?e.screenX:0,r=e?e.screenY:0,s=Math.abs(t.screenX-n)<5,a=Math.abs(t.screenY-r)<5;if(s&&a)return!0}return!1},i([s.Autowired("gridOptionsWrapper"),n("design:type",a.GridOptionsWrapper)],t.prototype,"gridOptionsWrapper",void 0),i([s.Autowired("environment"),n("design:type",l.Environment)],t.prototype,"environment",void 0),i([s.Autowired("eventService"),n("design:type",p.EventService)],t.prototype,"eventService",void 0),i([s.Bean("popupService")],t)}();e.PopupService=d},74517:function(t,e,o){var i=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},n=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r=o(26016),s=o(60843),a=o(72493),l=o(44081),p=o(44871),u=o(40797),c=function(){function t(t,e,o,i){this.displayedChildren=[],this.localEventService=new s.EventService,this.groupId=e,this.instanceId=o,this.originalColumnGroup=t,this.pinned=i}return t.createUniqueId=function(t,e){return t+"_"+e},t.prototype.reset=function(){this.parent=null,this.children=null,this.displayedChildren=null},t.prototype.getParent=function(){return this.parent},t.prototype.setParent=function(t){this.parent=t},t.prototype.getUniqueId=function(){return t.createUniqueId(this.groupId,this.instanceId)},t.prototype.isEmptyGroup=function(){return 0===this.displayedChildren.length},t.prototype.isMoving=function(){var t=this.getOriginalColumnGroup().getLeafColumns();if(!t||0===t.length)return!1;var e=!0;return t.forEach((function(t){t.isMoving()||(e=!1)})),e},t.prototype.checkLeft=function(){if(this.displayedChildren.forEach((function(e){e instanceof t&&e.checkLeft()})),this.displayedChildren.length>0)if(this.gridOptionsWrapper.isEnableRtl()){var e=this.displayedChildren[this.displayedChildren.length-1].getLeft();this.setLeft(e)}else{var o=this.displayedChildren[0].getLeft();this.setLeft(o)}else this.setLeft(null)},t.prototype.getLeft=function(){return this.left},t.prototype.getOldLeft=function(){return this.oldLeft},t.prototype.setLeft=function(e){this.oldLeft=e,this.left!==e&&(this.left=e,this.localEventService.dispatchEvent(this.createAgEvent(t.EVENT_LEFT_CHANGED)))},t.prototype.getPinned=function(){return this.pinned},t.prototype.createAgEvent=function(t){return{type:t}},t.prototype.addEventListener=function(t,e){this.localEventService.addEventListener(t,e)},t.prototype.removeEventListener=function(t,e){this.localEventService.removeEventListener(t,e)},t.prototype.getGroupId=function(){return this.groupId},t.prototype.getInstanceId=function(){return this.instanceId},t.prototype.isChildInThisGroupDeepSearch=function(e){var o=!1;return this.children.forEach((function(i){e===i&&(o=!0),i instanceof t&&i.isChildInThisGroupDeepSearch(e)&&(o=!0)})),o},t.prototype.getActualWidth=function(){var t=0;return this.displayedChildren&&this.displayedChildren.forEach((function(e){t+=e.getActualWidth()})),t},t.prototype.isResizable=function(){if(!this.displayedChildren)return!1;var t=!1;return this.displayedChildren.forEach((function(e){e.isResizable()&&(t=!0)})),t},t.prototype.getMinWidth=function(){var t=0;return this.displayedChildren.forEach((function(e){t+=e.getMinWidth()})),t},t.prototype.addChild=function(t){this.children||(this.children=[]),this.children.push(t)},t.prototype.getDisplayedChildren=function(){return this.displayedChildren},t.prototype.getLeafColumns=function(){var t=[];return this.addLeafColumns(t),t},t.prototype.getDisplayedLeafColumns=function(){var t=[];return this.addDisplayedLeafColumns(t),t},t.prototype.getDefinition=function(){return this.originalColumnGroup.getColGroupDef()},t.prototype.getColGroupDef=function(){return this.originalColumnGroup.getColGroupDef()},t.prototype.isPadding=function(){return this.originalColumnGroup.isPadding()},t.prototype.isExpandable=function(){return this.originalColumnGroup.isExpandable()},t.prototype.isExpanded=function(){return this.originalColumnGroup.isExpanded()},t.prototype.setExpanded=function(t){this.originalColumnGroup.setExpanded(t)},t.prototype.addDisplayedLeafColumns=function(e){this.displayedChildren.forEach((function(o){o instanceof r.Column?e.push(o):o instanceof t&&o.addDisplayedLeafColumns(e)}))},t.prototype.addLeafColumns=function(e){this.children.forEach((function(o){o instanceof r.Column?e.push(o):o instanceof t&&o.addLeafColumns(e)}))},t.prototype.getChildren=function(){return this.children},t.prototype.getColumnGroupShow=function(){return this.originalColumnGroup.getColumnGroupShow()},t.prototype.getOriginalColumnGroup=function(){return this.originalColumnGroup},t.prototype.calculateDisplayedColumns=function(){var e=this;this.displayedChildren=[];var o=this;if(this.isPadding())for(;o.getParent()&&o.isPadding();)o=o.getParent();o.originalColumnGroup.isExpandable()?this.children.forEach((function(i){switch(i.getColumnGroupShow()){case t.HEADER_GROUP_SHOW_OPEN:o.originalColumnGroup.isExpanded()&&e.displayedChildren.push(i);break;case t.HEADER_GROUP_SHOW_CLOSED:o.originalColumnGroup.isExpanded()||e.displayedChildren.push(i);break;default:e.displayedChildren.push(i)}})):this.displayedChildren=this.children,this.localEventService.dispatchEvent(this.createAgEvent(t.EVENT_DISPLAYED_CHILDREN_CHANGED))},t.HEADER_GROUP_SHOW_OPEN="open",t.HEADER_GROUP_SHOW_CLOSED="closed",t.EVENT_LEFT_CHANGED="leftChanged",t.EVENT_DISPLAYED_CHILDREN_CHANGED="displayedChildrenChanged",i([a.Autowired("gridOptionsWrapper"),n("design:type",l.GridOptionsWrapper)],t.prototype,"gridOptionsWrapper",void 0),i([a.Autowired("columnApi"),n("design:type",p.ColumnApi)],t.prototype,"columnApi",void 0),i([a.Autowired("gridApi"),n("design:type",u.GridApi)],t.prototype,"gridApi",void 0),t}();e.ColumnGroup=c},74591:(t,e,o)=>{var i=o(25003);function n(t){this._reporterState={obj:null,path:[],options:t||{},errors:[]}}function r(t,e){this.path=t,this.rethrow(e)}e.a=n,n.prototype.isError=function(t){return t instanceof r},n.prototype.save=function(){var t=this._reporterState;return{obj:t.obj,pathLen:t.path.length}},n.prototype.restore=function(t){var e=this._reporterState;e.obj=t.obj,e.path=e.path.slice(0,t.pathLen)},n.prototype.enterKey=function(t){return this._reporterState.path.push(t)},n.prototype.exitKey=function(t){var e=this._reporterState;e.path=e.path.slice(0,t-1)},n.prototype.leaveKey=function(t,e,o){var i=this._reporterState;this.exitKey(t),null!==i.obj&&(i.obj[e]=o)},n.prototype.path=function(){return this._reporterState.path.join("/")},n.prototype.enterObject=function(){var t=this._reporterState,e=t.obj;return t.obj={},e},n.prototype.leaveObject=function(t){var e=this._reporterState,o=e.obj;return e.obj=t,o},n.prototype.error=function(t){var e,o=this._reporterState,i=t instanceof r;if(e=i?t:new r(o.path.map((function(t){return"["+JSON.stringify(t)+"]"})).join(""),t.message||t,t.stack),!o.options.partial)throw e;return i||o.errors.push(e),e},n.prototype.wrapResult=function(t){var e=this._reporterState;return e.options.partial?{result:this.isError(t)?null:t,errors:e.errors}:t},i(r,Error),r.prototype.rethrow=function(t){if(this.message=t+" at: "+(this.path||"(shallow)"),Error.captureStackTrace&&Error.captureStackTrace(this,r),!this.stack)try{throw new Error(this.message)}catch(t){this.stack=t.stack}return this}},74763:(t,e,o)=>{var i=o(72994).CommonToken;function n(){return this}function r(t){return n.call(this),this.copyText=void 0!==t&&t,this}r.prototype=Object.create(n.prototype),r.prototype.constructor=r,r.DEFAULT=new r,r.prototype.create=function(t,e,o,n,r,s,a,l){var p=new i(t,e,n,r,s);return p.line=a,p.column=l,null!==o?p.text=o:this.copyText&&null!==t[1]&&(p.text=t[1].getText(r,s)),p},r.prototype.createThin=function(t,e){var o=new i(null,t);return o.text=e,o},e.p=r},75013:(t,e,o)=>{Object.defineProperty(e,"__esModule",{value:!0});var i=o(65360);function n(t,e,o,n){var r,s,a=n.agGrid;if(s=a+".quickFilterText",r=e.$eval(a)){var l=t[0],p={$scope:e,$compile:o,quickFilterOnScope:s},u=new i.Grid(l,r,p);e.$on("$destroy",(function(){u.destroy(),u=null}))}else console.warn("WARNING - grid options for ag-Grid not found. Please ensure the attribute ag-grid points to a valid object on the scope")}e.initialiseAgGridWithAngular1=function(t){t.module("agGrid",[]).directive("agGrid",(function(){return{restrict:"A",controller:["$element","$scope","$compile","$attrs",n],scope:!0}}))}},75167:function(t,e,o){var i,n=this&&this.__extends||(i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},i(t,e)},function(t,e){function o(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)});Object.defineProperty(e,"__esModule",{value:!0});var r=function(t){function e(){return t.call(this,'<div class="ag-tooltip"></div>')||this}return n(e,t),e.prototype.init=function(t){var e=t.value;this.getGui().innerHTML=e},e}(o(46379).PopupComponent);e.TooltipComponent=r},75449:function(t,e,o){var i,n=this&&this.__extends||(i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},i(t,e)},function(t,e){function o(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)});Object.defineProperty(e,"__esModule",{value:!0});var r=o(96652),s=o(46410),a=o(47008),l=o(47008),p=function(t){function e(o,i){var n=t.call(this)||this;return n.portal=null,n.componentWrappingElement="div",n.reactComponent=o,n.parentComponent=i,n.statelessComponent=e.isStateless(n.reactComponent),n}return n(e,t),e.prototype.getFrameworkComponentInstance=function(){return this.componentInstance},e.prototype.isStatelesComponent=function(){return this.statelessComponent},e.prototype.getReactComponentName=function(){return this.reactComponent.name},e.prototype.init=function(t){var e=this;return new l.Promise((function(o){e.eParentElement=e.createParentElement(t),e.createReactComponent(t,o)}))},e.prototype.getGui=function(){return this.eParentElement},e.prototype.destroy=function(){return this.parentComponent.destroyPortal(this.portal)},e.prototype.createReactComponent=function(t,e){var o=this;this.statelessComponent||(t.ref=function(t){o.componentInstance=t});var i=r.createElement(this.reactComponent,t),n=s.createPortal(i,this.eParentElement);this.portal=n,this.parentComponent.mountReactPortal(n,this,e)},e.prototype.createParentElement=function(t){var e=document.createElement(this.parentComponent.props.componentWrappingElement||"div");return a.Utils.addCssClass(e,"ag-react-container"),t.reactContainer=this.eParentElement,e},e.isStateless=function(t){return"function"==typeof t&&!(t.prototype&&t.prototype.isReactComponent)},e}(o(30844).BaseReactComponent);e.ReactComponent=p},76133:function(t,e,o){var i=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},n=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r=o(72493),s=o(45727),a=o(44081),l=o(83423),p=function(){function t(){}return t.prototype.postConstruct=function(){this.rowModel.getType()===s.Constants.ROW_MODEL_TYPE_CLIENT_SIDE&&(this.clientSideRowModel=this.rowModel)},t.prototype.createTransactionForRowData=function(t){if(l._.missing(this.clientSideRowModel))console.error("ag-Grid: ImmutableService only works with ClientSideRowModel");else{var e=this.gridOptionsWrapper.getRowNodeIdFunc();if(e&&!l._.missing(e)){var o={remove:[],update:[],add:[]},i=this.clientSideRowModel.getCopyOfNodesMap(),n=this.gridOptionsWrapper.isSuppressMaintainUnsortedOrder()?null:{};return l._.exists(t)&&t.forEach((function(t,r){var s=e(t),a=i[s];n&&(n[s]=r),a?(a.data!==t&&o.update.push(t),i[s]=void 0):o.add.push(t)})),l._.iterateObject(i,(function(t,e){e&&o.remove.push(e.data)})),[o,n]}console.error("ag-Grid: ImmutableService requires getRowNodeId() callback to be implemented, your row data need IDs!")}},i([r.Autowired("rowModel"),n("design:type",Object)],t.prototype,"rowModel",void 0),i([r.Autowired("gridOptionsWrapper"),n("design:type",a.GridOptionsWrapper)],t.prototype,"gridOptionsWrapper",void 0),i([r.PostConstruct,n("design:type",Function),n("design:paramtypes",[]),n("design:returntype",void 0)],t.prototype,"postConstruct",null),i([r.Bean("immutableService")],t)}();e.ImmutableService=p},77171:(t,e,o)=>{var i=o(72994).Token,n=o(18393).Lexer,r=o(70040).Interval;function s(){return this}function a(t){return s.call(this),this.tokenSource=t,this.tokens=[],this.index=-1,this.fetchedEOF=!1,this}a.prototype=Object.create(s.prototype),a.prototype.constructor=a,a.prototype.mark=function(){return 0},a.prototype.release=function(t){},a.prototype.reset=function(){this.seek(0)},a.prototype.seek=function(t){this.lazyInit(),this.index=this.adjustSeekIndex(t)},a.prototype.get=function(t){return this.lazyInit(),this.tokens[t]},a.prototype.consume=function(){if(!(this.index>=0&&(this.fetchedEOF?this.index<this.tokens.length-1:this.index<this.tokens.length))&&this.LA(1)===i.EOF)throw"cannot consume EOF";this.sync(this.index+1)&&(this.index=this.adjustSeekIndex(this.index+1))},a.prototype.sync=function(t){var e=t-this.tokens.length+1;return!(e>0)||this.fetch(e)>=e},a.prototype.fetch=function(t){if(this.fetchedEOF)return 0;for(var e=0;e<t;e++){var o=this.tokenSource.nextToken();if(o.tokenIndex=this.tokens.length,this.tokens.push(o),o.type===i.EOF)return this.fetchedEOF=!0,e+1}return t},a.prototype.getTokens=function(t,e,o){if(void 0===o&&(o=null),t<0||e<0)return null;this.lazyInit();var n=[];e>=this.tokens.length&&(e=this.tokens.length-1);for(var r=t;r<e;r++){var s=this.tokens[r];if(s.type===i.EOF)break;(null===o||o.contains(s.type))&&n.push(s)}return n},a.prototype.LA=function(t){return this.LT(t).type},a.prototype.LB=function(t){return this.index-t<0?null:this.tokens[this.index-t]},a.prototype.LT=function(t){if(this.lazyInit(),0===t)return null;if(t<0)return this.LB(-t);var e=this.index+t-1;return this.sync(e),e>=this.tokens.length?this.tokens[this.tokens.length-1]:this.tokens[e]},a.prototype.adjustSeekIndex=function(t){return t},a.prototype.lazyInit=function(){-1===this.index&&this.setup()},a.prototype.setup=function(){this.sync(0),this.index=this.adjustSeekIndex(0)},a.prototype.setTokenSource=function(t){this.tokenSource=t,this.tokens=[],this.index=-1,this.fetchedEOF=!1},a.prototype.nextTokenOnChannel=function(t,e){if(this.sync(t),t>=this.tokens.length)return-1;for(var o=this.tokens[t];o.channel!==this.channel;){if(o.type===i.EOF)return-1;t+=1,this.sync(t),o=this.tokens[t]}return t},a.prototype.previousTokenOnChannel=function(t,e){for(;t>=0&&this.tokens[t].channel!==e;)t-=1;return t},a.prototype.getHiddenTokensToRight=function(t,e){if(void 0===e&&(e=-1),this.lazyInit(),t<0||t>=this.tokens.length)throw t+" not in 0.."+this.tokens.length-1;var o=this.nextTokenOnChannel(t+1,n.DEFAULT_TOKEN_CHANNEL),i=t+1,r=-1===o?this.tokens.length-1:o;return this.filterForChannel(i,r,e)},a.prototype.getHiddenTokensToLeft=function(t,e){if(void 0===e&&(e=-1),this.lazyInit(),t<0||t>=this.tokens.length)throw t+" not in 0.."+this.tokens.length-1;var o=this.previousTokenOnChannel(t-1,n.DEFAULT_TOKEN_CHANNEL);if(o===t-1)return null;var i=o+1,r=t-1;return this.filterForChannel(i,r,e)},a.prototype.filterForChannel=function(t,e,o){for(var i=[],r=t;r<e+1;r++){var s=this.tokens[r];-1===o?s.channel!==n.DEFAULT_TOKEN_CHANNEL&&i.push(s):s.channel===o&&i.push(s)}return 0===i.length?null:i},a.prototype.getSourceName=function(){return this.tokenSource.getSourceName()},a.prototype.getText=function(t){this.lazyInit(),this.fill(),null==t&&(t=new r(0,this.tokens.length-1));var e=t.start;e instanceof i&&(e=e.tokenIndex);var o=t.stop;if(o instanceof i&&(o=o.tokenIndex),null===e||null===o||e<0||o<0)return"";o>=this.tokens.length&&(o=this.tokens.length-1);for(var n="",s=e;s<o+1;s++){var a=this.tokens[s];if(a.type===i.EOF)break;n+=a.text}return n},a.prototype.fill=function(){for(this.lazyInit();1e3===this.fetch(1e3););},e.f=a},78481:function(t,e,o){var i,n=this&&this.__extends||(i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},i(t,e)},function(t,e){function o(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),r=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},s=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var a=o(22131),l=o(72493),p=o(26016),u=o(58342),c=o(44871),d=o(98239),h=o(97177),f=o(44081),g=o(34506),y=o(38152),m=o(40797),v=o(86608),C=o(60843),E=o(85910),w=o(21951),_=o(47721),S=o(2299),b=o(63405),R=o(93830),O=o(55090),T=o(81604),A=o(66419),P=o(83423),D=function(t){function e(o,i,n){var r=t.call(this,e.TEMPLATE)||this;return r.column=o,r.dragSourceDropTarget=i,r.pinned=n,r}return n(e,t),e.prototype.getColumn=function(){return this.column},e.prototype.getComponentHolder=function(){return this.column.getColDef()},e.prototype.init=function(){var t=this.getComponentHolder(),e=this.columnController.getDisplayNameForColumn(this.column,"header",!0),o=t.sortable,i=this.menuFactory.isMenuEnabled(this.column)&&!t.suppressMenu;this.appendHeaderComp(e,o,i),this.setupWidth(),this.setupMovingCss(),this.setupTooltip(),this.setupResize(),this.setupMenuClass(),this.setupSortableClass(o),this.addColumnHoverListener(),this.addFeature(this.getContext(),new T.HoverFeature([this.column],this.getGui())),this.addDestroyableEventListener(this.column,p.Column.EVENT_FILTER_ACTIVE_CHANGED,this.onFilterChanged.bind(this)),this.onFilterChanged(),this.addFeature(this.getContext(),new S.SelectAllFeature(this.cbSelectAll,this.column));var n=new y.SetLeftFeature(this.column,this.getGui(),this.beans);n.init(),this.addDestroyFunc(n.destroy.bind(n)),this.addAttributes(),g.CssClassApplier.addHeaderClassesFromColDef(t,this.getGui(),this.gridOptionsWrapper,this.column,null)},e.prototype.addColumnHoverListener=function(){this.addDestroyableEventListener(this.eventService,b.Events.EVENT_COLUMN_HOVER_CHANGED,this.onColumnHover.bind(this)),this.onColumnHover()},e.prototype.onColumnHover=function(){var t=this.columnHoverService.isHovered(this.column);P._.addOrRemoveCssClass(this.getGui(),"ag-column-hover",t)},e.prototype.setupSortableClass=function(t){if(t){var e=this.getGui();P._.addCssClass(e,"ag-header-cell-sortable")}},e.prototype.onFilterChanged=function(){var t=this.column.isFilterActive();P._.addOrRemoveCssClass(this.getGui(),"ag-header-cell-filtered",t)},e.prototype.appendHeaderComp=function(t,e,o){var i=this,n={column:this.column,displayName:t,enableSorting:e,enableMenu:o,showColumnMenu:function(t){i.gridApi.showColumnMenuAfterButtonClick(i.column,t)},progressSort:function(t){i.sortController.progressSort(i.column,!!t,"uiColumnSorted")},setSort:function(t,e){i.sortController.setSortForColumn(i.column,t,!!e,"uiColumnSorted")},api:this.gridApi,columnApi:this.columnApi,context:this.gridOptionsWrapper.getContext()},r=this.afterHeaderCompCreated.bind(this,t);this.userComponentFactory.newHeaderComponent(n).then(r)},e.prototype.afterHeaderCompCreated=function(t,e){this.appendChild(e),this.setupMove(e.getGui(),t)},e.prototype.onColumnMovingChanged=function(){this.column.isMoving()?P._.addCssClass(this.getGui(),"ag-header-cell-moving"):P._.removeCssClass(this.getGui(),"ag-header-cell-moving")},e.prototype.setupMove=function(t,e){var o=this;if(!(this.gridOptionsWrapper.isSuppressMovableColumns()||this.getComponentHolder().suppressMovable||this.column.isLockPosition())&&t){var i={type:u.DragSourceType.HeaderCell,eElement:t,dragItemCallback:function(){return o.createDragItem()},dragItemName:e,dragSourceDropTarget:this.dragSourceDropTarget,dragStarted:function(){return o.column.setMoving(!0,"uiColumnMoved")},dragStopped:function(){return o.column.setMoving(!1,"uiColumnMoved")}};this.dragAndDropService.addDragSource(i,!0),this.addDestroyFunc((function(){return o.dragAndDropService.removeDragSource(i)}))}},e.prototype.createDragItem=function(){var t={};return t[this.column.getId()]=this.column.isVisible(),{columns:[this.column],visibleState:t}},e.prototype.setupResize=function(){var t=this,e=this.getComponentHolder();if(this.eResize)if(this.column.isResizable()){var o=this.horizontalResizeService.addResizeBar({eResizeBar:this.eResize,onResizeStart:this.onResizeStart.bind(this),onResizing:this.onResizing.bind(this,!1),onResizeEnd:this.onResizing.bind(this,!0)});if(this.addDestroyFunc(o),!this.gridOptionsWrapper.isSuppressAutoSize()&&!e.suppressAutoSize){this.addDestroyableEventListener(this.eResize,"dblclick",(function(){t.columnController.autoSizeColumn(t.column,"uiColumnResized")}));var i=new A.TouchListener(this.eResize);this.addDestroyableEventListener(i,A.TouchListener.EVENT_DOUBLE_TAP,(function(){t.columnController.autoSizeColumn(t.column,"uiColumnResized")})),this.addDestroyFunc(i.destroy.bind(i))}}else P._.removeFromParent(this.eResize)},e.prototype.onResizing=function(t,e){var o=this.normaliseResizeAmount(e),i=this.resizeStartWidth+o;this.columnController.setColumnWidth(this.column,i,this.resizeWithShiftKey,t,"uiColumnDragged"),t&&P._.removeCssClass(this.getGui(),"ag-column-resizing")},e.prototype.onResizeStart=function(t){this.resizeStartWidth=this.column.getActualWidth(),this.resizeWithShiftKey=t,P._.addCssClass(this.getGui(),"ag-column-resizing")},e.prototype.getTooltipText=function(){return this.getComponentHolder().headerTooltip},e.prototype.setupTooltip=function(){var t=this.getTooltipText();null!=t&&(this.gridOptionsWrapper.isEnableBrowserTooltips()?this.getGui().setAttribute("title",t):this.beans.tooltipManager.registerTooltip(this))},e.prototype.setupMovingCss=function(){this.addDestroyableEventListener(this.column,p.Column.EVENT_MOVING_CHANGED,this.onColumnMovingChanged.bind(this)),this.onColumnMovingChanged()},e.prototype.addAttributes=function(){this.getGui().setAttribute("col-id",this.column.getColId())},e.prototype.setupWidth=function(){this.addDestroyableEventListener(this.column,p.Column.EVENT_WIDTH_CHANGED,this.onColumnWidthChanged.bind(this)),this.onColumnWidthChanged()},e.prototype.setupMenuClass=function(){this.addDestroyableEventListener(this.column,p.Column.EVENT_MENU_VISIBLE_CHANGED,this.onMenuVisible.bind(this)),this.onColumnWidthChanged()},e.prototype.onMenuVisible=function(){this.addOrRemoveCssClass("ag-column-menu-visible",this.column.isMenuVisible())},e.prototype.onColumnWidthChanged=function(){this.getGui().style.width=this.column.getActualWidth()+"px"},e.prototype.normaliseResizeAmount=function(t){var e=t;return this.gridOptionsWrapper.isEnableRtl()?this.pinned!==p.Column.PINNED_LEFT&&(e*=-1):this.pinned===p.Column.PINNED_RIGHT&&(e*=-1),e},e.TEMPLATE='<div class="ag-header-cell" role="presentation" unselectable="on"><div ref="eResize" class="ag-header-cell-resize" role="presentation"></div><ag-checkbox ref="cbSelectAll" class="ag-header-select-all" role="presentation"></ag-checkbox></div>',r([l.Autowired("gridOptionsWrapper"),s("design:type",f.GridOptionsWrapper)],e.prototype,"gridOptionsWrapper",void 0),r([l.Autowired("dragAndDropService"),s("design:type",u.DragAndDropService)],e.prototype,"dragAndDropService",void 0),r([l.Autowired("columnController"),s("design:type",d.ColumnController)],e.prototype,"columnController",void 0),r([l.Autowired("horizontalResizeService"),s("design:type",h.HorizontalResizeService)],e.prototype,"horizontalResizeService",void 0),r([l.Autowired("menuFactory"),s("design:type",Object)],e.prototype,"menuFactory",void 0),r([l.Autowired("gridApi"),s("design:type",m.GridApi)],e.prototype,"gridApi",void 0),r([l.Autowired("columnApi"),s("design:type",c.ColumnApi)],e.prototype,"columnApi",void 0),r([l.Autowired("sortController"),s("design:type",v.SortController)],e.prototype,"sortController",void 0),r([l.Autowired("eventService"),s("design:type",C.EventService)],e.prototype,"eventService",void 0),r([l.Autowired("userComponentFactory"),s("design:type",E.UserComponentFactory)],e.prototype,"userComponentFactory",void 0),r([l.Autowired("columnHoverService"),s("design:type",R.ColumnHoverService)],e.prototype,"columnHoverService",void 0),r([l.Autowired("beans"),s("design:type",O.Beans)],e.prototype,"beans",void 0),r([_.RefSelector("eResize"),s("design:type",HTMLElement)],e.prototype,"eResize",void 0),r([_.RefSelector("cbSelectAll"),s("design:type",w.AgCheckbox)],e.prototype,"cbSelectAll",void 0),r([l.PostConstruct,s("design:type",Function),s("design:paramtypes",[]),s("design:returntype",void 0)],e.prototype,"init",null),e}(a.Component);e.HeaderWrapperComp=D},79886:function(t,e,o){var i,n=this&&this.__extends||(i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},i(t,e)},function(t,e){function o(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),r=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},s=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var a=o(44081),l=o(40634),p=o(60843),u=o(45727),c=o(72493),d=o(22131),h=o(15068),f=o(93121),g=o(95125),y=o(98239),m=o(26016),v=o(47721),C=o(1571),E=o(85910),w=o(83423),_=function(t){function e(){return t.call(this,e.TEMPLATE)||this}return n(e,t),e.prototype.init=function(t){this.params=t,this.gridOptionsWrapper.isGroupIncludeTotalFooter()&&this.assignBlankValueToGroupFooterCell(t);var e=this.isEmbeddedRowMismatch(),o=null==t.value;this.cellIsBlank=e||o,this.cellIsBlank||(this.setupDragOpenParents(),this.addExpandAndContract(),this.addCheckboxIfNeeded(),this.addValueElement(),this.setupIndent())},e.prototype.assignBlankValueToGroupFooterCell=function(t){t.value||-1!=t.node.level||(t.value="")},e.prototype.isEmbeddedRowMismatch=function(){if(this.params.fullWidth&&this.gridOptionsWrapper.isEmbedFullWidthRows()){var t=this.params.pinned===m.Column.PINNED_LEFT,e=this.params.pinned===m.Column.PINNED_RIGHT,o=!t&&!e;return this.gridOptionsWrapper.isEnableRtl()?this.columnController.isPinningLeft()?!e:!o:this.columnController.isPinningLeft()?!t:!o}return!1},e.prototype.setIndent=function(){if(!this.gridOptionsWrapper.isGroupHideOpenParents()){var t=this.params,e=t.node.uiLevel;t.padding>=0?this.setPaddingDeprecatedWay(e,t.padding):(this.indentClass&&this.removeCssClass(this.indentClass),this.indentClass="ag-row-group-indent-"+e,this.addCssClass(this.indentClass))}},e.prototype.setPaddingDeprecatedWay=function(t,e){w._.doOnce((function(){return console.warn("ag-Grid: since v14.2, configuring padding for groupCellRenderer should be done with Sass variables and themes. Please see the ag-Grid documentation page for Themes, in particular the property $row-group-indent-size.")}),"groupCellRenderer->doDeprecatedWay");var o=t*e;this.gridOptionsWrapper.isEnableRtl()?this.getGui().style.paddingRight=o+"px":this.getGui().style.paddingLeft=o+"px"},e.prototype.setupIndent=function(){var t=this.params.node;this.params.suppressPadding||(this.addDestroyableEventListener(t,h.RowNode.EVENT_UI_LEVEL_CHANGED,this.setIndent.bind(this)),this.setIndent())},e.prototype.addValueElement=function(){var t=this.params,e=this.displayedGroup;e.footer?this.createFooterCell():e.hasChildren()||w._.get(t.colDef,"cellRendererParams.innerRenderer",null)||w._.get(t.colDef,"cellRendererParams.innerRendererFramework",null)?(this.createGroupCell(),e.hasChildren()&&this.addChildCount()):this.createLeafCell()},e.prototype.createFooterCell=function(){var t,e=this.params.footerValueGetter;if(e){var o=w._.cloneObject(this.params);o.value=this.params.value,"function"==typeof e?t=e(o):"string"==typeof e?t=this.expressionService.evaluate(e,o):console.warn("ag-Grid: footerValueGetter should be either a function or a string (expression)")}else t="Total "+this.params.value;this.eValue.innerHTML=t},e.prototype.createGroupCell=function(){var t,e=this,o=this.params,i=this.displayedGroup.rowGroupColumn||o.column,n=this.params.value,r=i?this.valueFormatterService.formatValue(i,o.node,o.scope,n):null;o.valueFormatted=r,(t=1==o.fullWidth?this.useFullWidth(o):this.useInnerRenderer(this.params.colDef.cellRendererParams,i.getColDef(),o))&&t.then((function(t){e.innerCellRenderer=t}))},e.prototype.useInnerRenderer=function(t,e,o){var i=this,n=null,r=this.userComponentFactory.lookupComponentClassDef(t,"innerRenderer");if(r&&null!=r.component&&r.source!=E.ComponentSource.DEFAULT)n=this.userComponentFactory.newInnerCellRenderer(t,o);else{var s=this.userComponentFactory.lookupComponentClassDef(e,"cellRenderer");n=s&&s.source!=E.ComponentSource.DEFAULT?this.userComponentFactory.newCellRenderer(e,o):s&&s.source==E.ComponentSource.DEFAULT&&w._.get(e,"cellRendererParams.innerRenderer",null)?this.userComponentFactory.newInnerCellRenderer(e.cellRendererParams,o):this.userComponentFactory.newCellRenderer({},o)}return null!=n?n.then((function(t){null!=t?w._.bindCellRendererToHtmlElement(n,i.eValue):i.eValue.innerText=null!=o.valueFormatted?o.valueFormatted:o.value})):this.eValue.innerText=null!=o.valueFormatted?o.valueFormatted:o.value,n},e.prototype.useFullWidth=function(t){var e=this.userComponentFactory.newFullWidthGroupRowInnerCellRenderer(t);return null!=e?w._.bindCellRendererToHtmlElement(e,this.eValue):this.eValue.innerText=null!=t.valueFormatted?t.valueFormatted:t.value,e},e.prototype.addChildCount=function(){this.params.suppressCount||(this.addDestroyableEventListener(this.displayedGroup,h.RowNode.EVENT_ALL_CHILDREN_COUNT_CHANGED,this.updateChildCount.bind(this)),this.updateChildCount())},e.prototype.updateChildCount=function(){var t=this.displayedGroup.allChildrenCount;this.eChildCount.innerHTML=t>=0?"("+t+")":""},e.prototype.createLeafCell=function(){w._.exists(this.params.value)&&(this.eValue.innerHTML=this.params.valueFormatted?this.params.valueFormatted:this.params.value)},e.prototype.isUserWantsSelected=function(){var t=this.params.checkbox;return"function"==typeof t?t(this.params):!0===t},e.prototype.addCheckboxIfNeeded=function(){var t=this.displayedGroup,e=this.isUserWantsSelected()&&!t.footer&&!t.rowPinned&&!t.detail;if(e){var o=new g.CheckboxSelectionComponent;this.getContext().wireBean(o),o.init({rowNode:t,column:this.params.column}),this.eCheckbox.appendChild(o.getGui()),this.addDestroyFunc((function(){return o.destroy()}))}w._.addOrRemoveCssClass(this.eCheckbox,"ag-invisible",!e)},e.prototype.addExpandAndContract=function(){var t=this.params,e=t.eGridCell,o=w._.createIconNoSpan("groupExpanded",this.gridOptionsWrapper,null),i=w._.createIconNoSpan("groupContracted",this.gridOptionsWrapper,null);this.eExpanded.appendChild(o),this.eContracted.appendChild(i),this.addDestroyableEventListener(this.eExpanded,"click",this.onExpandClicked.bind(this)),this.addDestroyableEventListener(this.eContracted,"click",this.onExpandClicked.bind(this)),this.addDestroyableEventListener(e,"keydown",this.onKeyDown.bind(this),{capture:!0}),this.addDestroyableEventListener(t.node,h.RowNode.EVENT_EXPANDED_CHANGED,this.showExpandAndContractIcons.bind(this)),this.showExpandAndContractIcons(),this.addDestroyableEventListener(this.displayedGroup,h.RowNode.EVENT_ALL_CHILDREN_COUNT_CHANGED,this.onAllChildrenCountChanged.bind(this)),this.gridOptionsWrapper.isEnableGroupEdit()||!this.isExpandable()||t.suppressDoubleClickExpand||this.addDestroyableEventListener(e,"dblclick",this.onCellDblClicked.bind(this))},e.prototype.onAllChildrenCountChanged=function(){this.showExpandAndContractIcons(),this.setIndent()},e.prototype.onKeyDown=function(t){if(!t.defaultPrevented&&w._.isKeyPressed(t,u.Constants.KEY_ENTER)){if(this.params.column.isCellEditable(this.params.node))return;t.preventDefault(),this.onExpandOrContract()}},e.prototype.setupDragOpenParents=function(){var t=this.params.column,e=this.params.node;if(this.gridOptionsWrapper.isGroupHideOpenParents())if(e.hasChildren()){var o=e.rowGroupColumn;this.draggedFromHideOpenParents=!t.isRowGroupDisplayed(o.getId())}else this.draggedFromHideOpenParents=!0;else this.draggedFromHideOpenParents=!1;if(this.draggedFromHideOpenParents)for(var i=e.parent;!w._.missing(i);){if(i.rowGroupColumn&&t.isRowGroupDisplayed(i.rowGroupColumn.getId())){this.displayedGroup=i;break}i=i.parent}w._.missing(this.displayedGroup)&&(this.displayedGroup=e)},e.prototype.onExpandClicked=function(t){w._.isStopPropagationForAgGrid(t)||(w._.stopPropagationForAgGrid(t),this.onExpandOrContract())},e.prototype.onCellDblClicked=function(t){w._.isStopPropagationForAgGrid(t)||w._.isElementInEventPath(this.eExpanded,t)||w._.isElementInEventPath(this.eContracted,t)||this.onExpandOrContract()},e.prototype.onExpandOrContract=function(){var t=this.displayedGroup;t.setExpanded(!t.expanded)},e.prototype.isExpandable=function(){var t=this.params.node,e=this.columnController.isPivotMode()&&t.leafGroup;return this.draggedFromHideOpenParents||t.isExpandable()&&!t.footer&&!e},e.prototype.showExpandAndContractIcons=function(){var t=this.params.node;if(this.isExpandable()){var e=!!this.draggedFromHideOpenParents||t.expanded;w._.setVisible(this.eContracted,!e),w._.setVisible(this.eExpanded,e)}else w._.setVisible(this.eExpanded,!1),w._.setVisible(this.eContracted,!1);var o=this.displayedGroup,i=this.columnController.isPivotMode()&&o.leafGroup,n=!o.isExpandable(),r=o.footer||n||i;this.addOrRemoveCssClass("ag-row-group-leaf-indent",r)},e.prototype.destroy=function(){t.prototype.destroy.call(this),this.innerCellRenderer&&this.innerCellRenderer.destroy&&this.innerCellRenderer.destroy()},e.prototype.refresh=function(){return!1},e.TEMPLATE='<span><span class="ag-group-expanded" ref="eExpanded"></span><span class="ag-group-contracted" ref="eContracted"></span><span class="ag-group-checkbox ag-invisible" ref="eCheckbox"></span><span class="ag-group-value" ref="eValue"></span><span class="ag-group-child-count" ref="eChildCount"></span></span>',r([c.Autowired("gridOptionsWrapper"),s("design:type",a.GridOptionsWrapper)],e.prototype,"gridOptionsWrapper",void 0),r([c.Autowired("expressionService"),s("design:type",l.ExpressionService)],e.prototype,"expressionService",void 0),r([c.Autowired("eventService"),s("design:type",p.EventService)],e.prototype,"eventService",void 0),r([c.Autowired("valueFormatterService"),s("design:type",f.ValueFormatterService)],e.prototype,"valueFormatterService",void 0),r([c.Autowired("columnController"),s("design:type",y.ColumnController)],e.prototype,"columnController",void 0),r([c.Autowired("mouseEventService"),s("design:type",C.MouseEventService)],e.prototype,"mouseEventService",void 0),r([c.Autowired("userComponentFactory"),s("design:type",E.UserComponentFactory)],e.prototype,"userComponentFactory",void 0),r([v.RefSelector("eExpanded"),s("design:type",HTMLElement)],e.prototype,"eExpanded",void 0),r([v.RefSelector("eContracted"),s("design:type",HTMLElement)],e.prototype,"eContracted",void 0),r([v.RefSelector("eCheckbox"),s("design:type",HTMLElement)],e.prototype,"eCheckbox",void 0),r([v.RefSelector("eValue"),s("design:type",HTMLElement)],e.prototype,"eValue",void 0),r([v.RefSelector("eChildCount"),s("design:type",HTMLElement)],e.prototype,"eChildCount",void 0),e}(d.Component);e.GroupCellRenderer=_},80834:(t,e)=>{Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(){}return t.STRING_PROPERTIES=["headerName","columnGroupShow","headerClass","toolPanelClass","headerValueGetter","pivotKeys","groupId","colId","sort","field","type","tooltipComponent","tooltipField","headerTooltip","cellClass","showRowGroup","template","templateUrl","filter","aggFunc","cellRenderer","cellEditor","pinned"],t.OBJECT_PROPERTIES=["headerGroupComponent","headerGroupComponentFramework","headerGroupComponentParams","cellStyle","cellRendererParams","cellEditorFramework","cellEditorParams","pinnedRowCellRendererFramework","pinnedRowCellRendererParams","filterFramework","filterParams","pivotValueColumn","headerComponent","headerComponentFramework","headerComponentParams","floatingFilterComponent","floatingFilterComponentParams","floatingFilterComponentFramework","tooltipComponent","tooltipComponentParams","tooltipComponentFramework","refData"],t.ARRAY_PROPERTIES=["children","sortingOrder","allowedAggFuncs","menuTabs","pivotTotalColumnIds","cellClassRules","icons"],t.NUMBER_PROPERTIES=["sortedAt","width","minWidth","maxWidth","rowGroupIndex","pivotIndex"],t.BOOLEAN_PROPERTIES=["suppressCellFlash","suppressToolPanel","openByDefault","marryChildren","hide","rowGroup","pivot","checkboxSelection","headerCheckboxSelection","headerCheckboxSelectionFilteredOnly","suppressMenu","suppressSorting","suppressMovable","suppressFilter","lockPosition","lockVisible","lockPinned","unSortIcon","suppressSizeToFit","suppressResize","suppressAutoSize","enableRowGroup","enablePivot","enableValue","editable","suppressPaste","suppressNavigable","enableCellChangeFlash","rowDrag","autoHeight","sortable","resizable","singleClickEdit"],t.FUNCTION_PROPERTIES=["valueGetter","valueSetter","filterValueGetter","keyCreator","cellRenderer","cellRendererFramework","pinnedRowCellRenderer","valueFormatter","pinnedRowValueFormatter","valueParser","comparator","equals","pivotComparator","suppressKeyboardEvent","colSpan","rowSpan","getQuickFilterText","newValueHandler","onCellValueChanged","onCellClicked","onCellDoubleClicked","onCellContextMenu","tooltip","tooltipValueGetter","tooltipComponent","tooltipComponentFramework","cellRendererSelector","cellEditorSelector"],t.ALL_PROPERTIES=t.ARRAY_PROPERTIES.concat(t.OBJECT_PROPERTIES).concat(t.STRING_PROPERTIES).concat(t.NUMBER_PROPERTIES).concat(t.FUNCTION_PROPERTIES).concat(t.BOOLEAN_PROPERTIES),t.FRAMEWORK_PROPERTIES=["__ob__","__metadata__","mappedColumnProperties","hasChildColumns","toColDef","createColDefFromGridColumn"],t}();e.ColDefUtil=o},81204:(t,e,o)=>{var i=o(66346).Set,n=o(41207).X,r=o(81367).StarLoopEntryState,s=o(87264).Q,a=o(4768).DFASerializer,l=o(4768).LexerDFASerializer;function p(t,e){if(void 0===e&&(e=0),this.atnStartState=t,this.decision=e,this._states=new i,this.s0=null,this.precedenceDfa=!1,t instanceof r&&t.isPrecedenceDecision){this.precedenceDfa=!0;var o=new n(null,new s);o.edges=[],o.isAcceptState=!1,o.requiresFullContext=!1,this.s0=o}return this}p.prototype.getPrecedenceStartState=function(t){if(!this.precedenceDfa)throw"Only precedence DFAs may contain a precedence start state.";return t<0||t>=this.s0.edges.length?null:this.s0.edges[t]||null},p.prototype.setPrecedenceStartState=function(t,e){if(!this.precedenceDfa)throw"Only precedence DFAs may contain a precedence start state.";t<0||(this.s0.edges[t]=e)},p.prototype.setPrecedenceDfa=function(t){if(this.precedenceDfa!==t){if(this._states=new DFAStatesSet,t){var e=new n(null,new s);e.edges=[],e.isAcceptState=!1,e.requiresFullContext=!1,this.s0=e}else this.s0=null;this.precedenceDfa=t}},Object.defineProperty(p.prototype,"states",{get:function(){return this._states}}),p.prototype.sortedStates=function(){return this._states.values().sort((function(t,e){return t.stateNumber-e.stateNumber}))},p.prototype.toString=function(t,e){return t=t||null,e=e||null,null===this.s0?"":new a(this,t,e).toString()},p.prototype.toLexerString=function(){return null===this.s0?"":new l(this).toString()},e.DFA=p},81324:(t,e,o)=>{var i=e;i.der=o(4715),i.pem=o(27022)},81367:(t,e)=>{function o(){return this.atn=null,this.stateNumber=o.INVALID_STATE_NUMBER,this.stateType=null,this.ruleIndex=0,this.epsilonOnlyTransitions=!1,this.transitions=[],this.nextTokenWithinRule=null,this}function i(){return o.call(this),this.stateType=o.BASIC,this}function n(){return o.call(this),this.decision=-1,this.nonGreedy=!1,this}function r(){return n.call(this),this.endState=null,this}function s(){return r.call(this),this.stateType=o.BLOCK_START,this}function a(){return o.call(this),this.stateType=o.BLOCK_END,this.startState=null,this}function l(){return o.call(this),this.stateType=o.RULE_STOP,this}function p(){return o.call(this),this.stateType=o.RULE_START,this.stopState=null,this.isPrecedenceRule=!1,this}function u(){return n.call(this),this.stateType=o.PLUS_LOOP_BACK,this}function c(){return r.call(this),this.stateType=o.PLUS_BLOCK_START,this.loopBackState=null,this}function d(){return r.call(this),this.stateType=o.STAR_BLOCK_START,this}function h(){return o.call(this),this.stateType=o.STAR_LOOP_BACK,this}function f(){return n.call(this),this.stateType=o.STAR_LOOP_ENTRY,this.loopBackState=null,this.isPrecedenceDecision=null,this}function g(){return o.call(this),this.stateType=o.LOOP_END,this.loopBackState=null,this}function y(){return n.call(this),this.stateType=o.TOKEN_START,this}o.INVALID_TYPE=0,o.BASIC=1,o.RULE_START=2,o.BLOCK_START=3,o.PLUS_BLOCK_START=4,o.STAR_BLOCK_START=5,o.TOKEN_START=6,o.RULE_STOP=7,o.BLOCK_END=8,o.STAR_LOOP_BACK=9,o.STAR_LOOP_ENTRY=10,o.PLUS_LOOP_BACK=11,o.LOOP_END=12,o.serializationNames=["INVALID","BASIC","RULE_START","BLOCK_START","PLUS_BLOCK_START","STAR_BLOCK_START","TOKEN_START","RULE_STOP","BLOCK_END","STAR_LOOP_BACK","STAR_LOOP_ENTRY","PLUS_LOOP_BACK","LOOP_END"],o.INVALID_STATE_NUMBER=-1,o.prototype.toString=function(){return this.stateNumber},o.prototype.equals=function(t){return t instanceof o&&this.stateNumber===t.stateNumber},o.prototype.isNonGreedyExitState=function(){return!1},o.prototype.addTransition=function(t,e){void 0===e&&(e=-1),0===this.transitions.length?this.epsilonOnlyTransitions=t.isEpsilon:this.epsilonOnlyTransitions!==t.isEpsilon&&(this.epsilonOnlyTransitions=!1),-1===e?this.transitions.push(t):this.transitions.splice(e,1,t)},i.prototype=Object.create(o.prototype),i.prototype.constructor=i,n.prototype=Object.create(o.prototype),n.prototype.constructor=n,r.prototype=Object.create(n.prototype),r.prototype.constructor=r,s.prototype=Object.create(r.prototype),s.prototype.constructor=s,a.prototype=Object.create(o.prototype),a.prototype.constructor=a,l.prototype=Object.create(o.prototype),l.prototype.constructor=l,p.prototype=Object.create(o.prototype),p.prototype.constructor=p,u.prototype=Object.create(n.prototype),u.prototype.constructor=u,c.prototype=Object.create(r.prototype),c.prototype.constructor=c,d.prototype=Object.create(r.prototype),d.prototype.constructor=d,h.prototype=Object.create(o.prototype),h.prototype.constructor=h,f.prototype=Object.create(n.prototype),f.prototype.constructor=f,g.prototype=Object.create(o.prototype),g.prototype.constructor=g,y.prototype=Object.create(n.prototype),y.prototype.constructor=y,e.ATNState=o,e.BasicState=i,e.DecisionState=n,e.BlockStartState=r,e.BlockEndState=a,e.LoopEndState=g,e.RuleStartState=p,e.RuleStopState=l,e.TokensStartState=y,e.PlusLoopbackState=u,e.StarLoopbackState=h,e.StarLoopEntryState=f,e.PlusBlockStartState=c,e.StarBlockStartState=d,e.BasicBlockStartState=s},81604:function(t,e,o){var i,n=this&&this.__extends||(i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},i(t,e)},function(t,e){function o(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),r=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},s=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var a=o(8534),l=o(72493),p=o(93830),u=function(t){function e(e,o){var i=t.call(this)||this;return i.columns=e,i.addMouseHoverListeners(o),i}return n(e,t),e.prototype.addMouseHoverListeners=function(t){this.addDestroyableEventListener(t,"mouseout",this.onMouseOut.bind(this)),this.addDestroyableEventListener(t,"mouseover",this.onMouseOver.bind(this))},e.prototype.onMouseOut=function(){this.columnHoverService.clearMouseOver()},e.prototype.onMouseOver=function(){this.columnHoverService.setMouseOver(this.columns)},r([l.Autowired("columnHoverService"),s("design:type",p.ColumnHoverService)],e.prototype,"columnHoverService",void 0),e}(a.BeanStub);e.HoverFeature=u},81999:function(t,e,o){var i,n=this&&this.__extends||(i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},i(t,e)},function(t,e){function o(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),r=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},s=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var a=o(44081),l=o(44871),p=o(98239),u=o(10042),c=o(55e3),d=o(60843),h=o(64229),f=o(37132),g=o(73575),y=o(72493),m=o(42195),v=o(22131),C=o(40797),E=o(47721),w=o(63405),_=o(68198),S=o(96896),b=o(83423),R=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.init=function(){var t=this;this.logger=this.loggerFactory.create("GridCore");var o=this.enterprise?e.TEMPLATE_ENTERPRISE:e.TEMPLATE_NORMAL;if(this.setTemplate(o),[this.gridApi,this.filterManager,this.rowRenderer,this.popupService].forEach((function(e){return e.registerGridCore(t)})),this.enterprise&&this.clipboardService.registerGridCore(this),this.gridOptionsWrapper.addLayoutElement(this.getGui()),this.setSideBarVisible(this.gridOptionsWrapper.isShowToolPanel()),this.eGridDiv.appendChild(this.getGui()),this.addDestroyFunc((function(){t.eGridDiv.removeChild(t.getGui())})),this.$scope){var i=this.$scope.$watch(this.quickFilterOnScope,(function(e){return t.filterManager.setQuickFilter(e)}));this.addDestroyFunc(i)}this.addRtlSupport(),this.logger.log("ready"),this.gridOptionsWrapper.addLayoutElement(this.eRootWrapperBody);var n=this.gridPanel.getGui();this.addDestroyableEventListener(n,"focusin",(function(){b._.addCssClass(n,"ag-has-focus")})),this.addDestroyableEventListener(n,"focusout",(function(t){n.contains(t.relatedTarget)||b._.removeCssClass(n,"ag-has-focus")}));var r=this.resizeObserverService.observeResize(this.eGridDiv,this.onGridSizeChanged.bind(this));this.addDestroyFunc((function(){return r()}))},e.prototype.onGridSizeChanged=function(){var t={type:w.Events.EVENT_GRID_SIZE_CHANGED,api:this.gridApi,columnApi:this.columnApi,clientWidth:this.eGridDiv.clientWidth,clientHeight:this.eGridDiv.clientHeight};this.eventService.dispatchEvent(t)},e.prototype.addRtlSupport=function(){var t=this.gridOptionsWrapper.isEnableRtl()?"ag-rtl":"ag-ltr";b._.addCssClass(this.getGui(),t)},e.prototype.getRootGui=function(){return this.getGui()},e.prototype.isSideBarVisible=function(){return!!this.sideBarComp&&this.sideBarComp.isVisible()},e.prototype.setSideBarVisible=function(t){this.sideBarComp?this.sideBarComp.setVisible(t):t&&console.warn("ag-Grid: toolPanel is only available in ag-Grid Enterprise")},e.prototype.closeToolPanel=function(){this.sideBarComp?this.sideBarComp.close():console.warn("ag-Grid: toolPanel is only available in ag-Grid Enterprise")},e.prototype.getSideBar=function(){return this.gridOptions.sideBar},e.prototype.refreshSideBar=function(){this.sideBarComp&&this.sideBarComp.refresh()},e.prototype.setSideBar=function(t){this.eRootWrapperBody.removeChild(this.sideBarComp.getGui()),this.gridOptions.sideBar=S.SideBarDefParser.parse(t),this.sideBarComp.reset(),this.eRootWrapperBody.appendChild(this.sideBarComp.getGui())},e.prototype.getOpenedToolPanel=function(){return this.sideBarComp?this.sideBarComp.openedItem():null},e.prototype.openToolPanel=function(t){this.sideBarComp?this.sideBarComp.openToolPanel(t):console.warn("ag-Grid: toolPanel is only available in ag-Grid Enterprise")},e.prototype.isToolPanelShowing=function(){return this.sideBarComp.isToolPanelShowing()},e.prototype.destroy=function(){t.prototype.destroy.call(this),this.logger.log("Grid DOM removed")},e.prototype.ensureNodeVisible=function(t,e){if(void 0===e&&(e="top"),this.doingVirtualPaging)throw new Error("Cannot use ensureNodeVisible when doing virtual paging, as we cannot check rows that are not in memory");for(var o=this.rowModel.getPageLastRow()+1,i="function"==typeof t,n=-1,r=0;r<o;r++){var s=this.rowModel.getRow(r);if(i){if(t(s)){n=r;break}}else if(t===s||t===s.data){n=r;break}}n>=0&&this.gridPanel.ensureIndexVisible(n,e)},e.TEMPLATE_NORMAL='<div class="ag-root-wrapper">\n <div class="ag-root-wrapper-body" ref="rootWrapperBody">\n <ag-grid-comp ref="gridPanel"></ag-grid-comp>\n </div>\n <ag-pagination></ag-pagination>\n </div>',e.TEMPLATE_ENTERPRISE='<div class="ag-root-wrapper">\n <ag-grid-header-drop-zones></ag-grid-header-drop-zones>\n <div ref="rootWrapperBody" class="ag-root-wrapper-body">\n <ag-grid-comp ref="gridPanel"></ag-grid-comp>\n <ag-side-bar ref="sideBar"></ag-side-bar>\n </div>\n <ag-status-bar ref="statusBar"></ag-status-bar>\n <ag-pagination></ag-pagination>\n <ag-watermark></ag-watermark>\n </div>',r([y.Autowired("enterprise"),s("design:type",Boolean)],e.prototype,"enterprise",void 0),r([y.Autowired("gridOptions"),s("design:type",Object)],e.prototype,"gridOptions",void 0),r([y.Autowired("gridOptionsWrapper"),s("design:type",a.GridOptionsWrapper)],e.prototype,"gridOptionsWrapper",void 0),r([y.Autowired("rowModel"),s("design:type",Object)],e.prototype,"rowModel",void 0),r([y.Autowired("frameworkFactory"),s("design:type",Object)],e.prototype,"frameworkFactory",void 0),r([y.Autowired("resizeObserverService"),s("design:type",_.ResizeObserverService)],e.prototype,"resizeObserverService",void 0),r([y.Autowired("columnController"),s("design:type",p.ColumnController)],e.prototype,"columnController",void 0),r([y.Autowired("rowRenderer"),s("design:type",u.RowRenderer)],e.prototype,"rowRenderer",void 0),r([y.Autowired("filterManager"),s("design:type",c.FilterManager)],e.prototype,"filterManager",void 0),r([y.Autowired("eventService"),s("design:type",d.EventService)],e.prototype,"eventService",void 0),r([y.Autowired("eGridDiv"),s("design:type",HTMLElement)],e.prototype,"eGridDiv",void 0),r([y.Autowired("$scope"),s("design:type",Object)],e.prototype,"$scope",void 0),r([y.Autowired("quickFilterOnScope"),s("design:type",String)],e.prototype,"quickFilterOnScope",void 0),r([y.Autowired("popupService"),s("design:type",g.PopupService)],e.prototype,"popupService",void 0),r([y.Autowired("focusedCellController"),s("design:type",m.FocusedCellController)],e.prototype,"focusedCellController",void 0),r([y.Autowired("loggerFactory"),s("design:type",f.LoggerFactory)],e.prototype,"loggerFactory",void 0),r([y.Autowired("columnApi"),s("design:type",l.ColumnApi)],e.prototype,"columnApi",void 0),r([y.Autowired("gridApi"),s("design:type",C.GridApi)],e.prototype,"gridApi",void 0),r([y.Optional("clipboardService"),s("design:type",Object)],e.prototype,"clipboardService",void 0),r([E.RefSelector("gridPanel"),s("design:type",h.GridPanel)],e.prototype,"gridPanel",void 0),r([E.RefSelector("sideBar"),s("design:type",Object)],e.prototype,"sideBarComp",void 0),r([E.RefSelector("rootWrapperBody"),s("design:type",HTMLElement)],e.prototype,"eRootWrapperBody",void 0),r([y.PostConstruct,s("design:type",Function),s("design:paramtypes",[]),s("design:returntype",void 0)],e.prototype,"init",null),e}(v.Component);e.GridCore=R},83423:(t,e,o)=>{Object.defineProperty(e,"__esModule",{value:!0});var i=o(45727),n=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,r=/([^\s,]+)/g,s="__ag_Grid_Stop_Propagation",a=function(){function t(){this.timestamp=(new Date).getTime()}return t.prototype.print=function(t){var e=(new Date).getTime()-this.timestamp;console.info(t+" = "+e),this.timestamp=(new Date).getTime()},t}();e.Timer=a;var l={"&":"&","<":"<",">":">",'"':""","'":"'"},p=/[&<>"']/g,u=function(){function t(){}return t.doIeFocusHack=function(t){(e._.isBrowserIE()||e._.isBrowserEdge())&&(e._.missing(document.activeElement)||document.activeElement===document.body)&&t.focus()},t.doOnce=function(t,e){this.doOnceFlags[e]||(t(),this.doOnceFlags[e]=!0)},t.isLeftClick=function(t){return"buttons"in t?1==t.buttons:1==(t.which||t.button)},t.areEventsNear=function(t,e,o){if(0===o)return!1;var i=Math.abs(t.clientX-e.clientX),n=Math.abs(t.clientY-e.clientY);return Math.max(i,n)<=o},t.jsonEquals=function(t,e){return(t?JSON.stringify(t):null)===(e?JSON.stringify(e):null)},t.shallowCompare=function(t,e){if(this.missing(t)&&this.missing(e))return!0;if(this.missing(t)||this.missing(e))return!1;if(t.length!==e.length)return!1;for(var o=0;o<t.length;o++)if(t[o]!==e[o])return!1;return!0},t.getNameOfClass=function(t){var e=t.toString(),o=/function (.{1,})\(/.exec(e);return o&&o.length>1?o[1]:""},t.values=function(t){var e=[];return this.iterateObject(t,(function(t,o){e.push(o)})),e},t.getValueUsingField=function(t,e,o){if(e&&t){if(o){for(var i=e.split("."),n=t,r=0;r<i.length;r++)if(n=n[i[r]],this.missing(n))return null;return n}return t[e]}},t.getAbsoluteHeight=function(t){var e=window.getComputedStyle(t),o=parseFloat(e.marginTop)+parseFloat(e.marginBottom);return Math.ceil(t.offsetHeight+o)},t.getAbsoluteWidth=function(t){var e=window.getComputedStyle(t),o=parseFloat(e.marginLeft)+parseFloat(e.marginRight);return Math.ceil(t.offsetWidth+o)},t.getScrollLeft=function(t,e){var o=t.scrollLeft;return e&&(o=Math.abs(o),this.isBrowserChrome()&&(o=t.scrollWidth-t.clientWidth-o)),o},t.cleanNumber=function(t){return"string"==typeof t&&(t=parseInt(t,10)),"number"==typeof t?Math.floor(t):null},t.setScrollLeft=function(t,e,o){o&&((this.isBrowserSafari()||this.isBrowserChrome())&&(e=t.scrollWidth-t.clientWidth-e),this.isBrowserFirefox()&&(e*=-1)),t.scrollLeft=e},t.iterateNamedNodeMap=function(t,e){if(t)for(var o=0;o<t.length;o++){var i=t[o];e(i.name,i.value)}},t.iterateObject=function(t,e){if(t&&!this.missing(t))if(Array.isArray(t))t.forEach((function(t,o){e(o+"",t)}));else for(var o=Object.keys(t),i=0;i<o.length;i++){var n=o[i],r=t[n];e(n,r)}},t.cloneObject=function(t){for(var e={},o=Object.keys(t),i=0;i<o.length;i++){var n=o[i],r=t[n];e[n]=r}return e},t.deepCloneObject=function(t){return JSON.parse(JSON.stringify(t))},t.map=function(t,e){for(var o=[],i=0;i<t.length;i++){var n=e(t[i],i);o.push(n)}return o},t.mapObject=function(e,o){var i=[];return t.iterateObject(e,(function(t,e){i.push(o(e))})),i},t.forEach=function(t,e){if(t)for(var o=0;o<t.length;o++)e(t[o],o)},t.filter=function(t,e){var o=[];return t.forEach((function(t){e(t)&&o.push(t)})),o},t.getAllKeysInObjects=function(t){var e={};return t.forEach((function(t){t&&Object.keys(t).forEach((function(t){return e[t]=null}))})),Object.keys(e)},t.mergeDeep=function(e,o){this.exists(o)&&this.iterateObject(o,(function(o,i){var n=e[o];n!==i&&("object"==typeof n&&"object"==typeof i?t.mergeDeep(n,i):e[o]=i)}))},t.assign=function(t){for(var e=this,o=[],i=1;i<arguments.length;i++)o[i-1]=arguments[i];return o.forEach((function(o){e.exists(o)&&e.iterateObject(o,(function(e,o){t[e]=o}))})),t},t.parseYyyyMmDdToDate=function(t,e){try{if(!t)return null;if(-1===t.indexOf(e))return null;var o=t.split(e);return 3!=o.length?null:new Date(Number(o[0]),Number(o[1])-1,Number(o[2]))}catch(t){return null}},t.serializeDateToYyyyMmDd=function(e,o){return e?e.getFullYear()+o+t.pad(e.getMonth()+1,2)+o+t.pad(e.getDate(),2):null},t.pad=function(t,e){for(var o=t+"";o.length<e;)o="0"+o;return o},t.pushAll=function(t,e){this.missing(e)||this.missing(t)||e.forEach((function(e){return t.push(e)}))},t.createArrayOfNumbers=function(t,e){for(var o=[],i=t;i<=e;i++)o.push(i);return o},t.getFunctionParameters=function(t){var e=t.toString().replace(n,""),o=e.slice(e.indexOf("(")+1,e.indexOf(")")).match(r);return null===o?[]:o},t.find=function(t,e,o){if(null==t)return null;if(!Array.isArray(t)){var i=this.values(t);return this.find(i,e,o)}for(var n=t,r=null,s=0;s<n.length;s++){var a=n[s];if("string"==typeof e){if(a[e]===o){r=a;break}}else if(e(a)){r=a;break}}return r},t.toStrings=function(t){return this.map(t,(function(t){return null!=t&&t.toString?t.toString():null}))},t.iterateArray=function(t,e){for(var o=0;o<t.length;o++)e(t[o],o)},t.isNode=function(t){return"function"==typeof Node?t instanceof Node:t&&"object"==typeof t&&"number"==typeof t.nodeType&&"string"==typeof t.nodeName},t.isElement=function(t){return"function"==typeof HTMLElement?t instanceof HTMLElement:t&&"object"==typeof t&&null!==t&&1===t.nodeType&&"string"==typeof t.nodeName},t.isNodeOrElement=function(t){return this.isNode(t)||this.isElement(t)},t.copyNodeList=function(t){for(var e=t?t.length:0,o=[],i=0;i<e;i++)o.push(t[i]);return o},t.isEventFromPrintableCharacter=function(o){var n=String.fromCharCode(o.charCode);if(this.isKeyPressed(o,i.Constants.KEY_NEW_LINE))return!1;if(o.altKey||o.ctrlKey)return!1;if(e._.exists(o.key)){var r=1===o.key.length,s=t.isNumpadDelWithNumlockOnForEdgeOrIe(o);return r||s}return t.PRINTABLE_CHARACTERS.indexOf(n)>=0},t.isUserSuppressingKeyboardEvent=function(t,e,o,i,n){var r=t.getSuppressKeyboardEventFunc(),s=i.getColDef().suppressKeyboardEvent;if(!r&&!s)return!1;var a={event:e,editing:n,column:i,api:t.getApi(),node:o,data:o.data,colDef:i.getColDef(),context:t.getContext(),columnApi:t.getColumnApi()};return!(!s||!s(a))||!!r&&r(a)},t.getCellCompForEvent=function(t,e){for(var o=this.getTarget(e);o;){var i=t.getDomData(o,"cellComp");if(i)return i;o=o.parentElement}return null},t.addChangeListener=function(t,e){t.addEventListener("changed",e),t.addEventListener("paste",e),t.addEventListener("input",e),t.addEventListener("keydown",e),t.addEventListener("keyup",e)},t.makeNull=function(t){return null==t||""===t?null:t},t.missing=function(t){return!this.exists(t)},t.missingOrEmpty=function(t){return!t||this.missing(t)||0===t.length},t.missingOrEmptyObject=function(t){return this.missing(t)||0===Object.keys(t).length},t.exists=function(t,e){return void 0===e&&(e=!1),null!=t&&(""!==t||e)},t.firstExistingValue=function(){for(var t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];for(var i=0;i<t.length;i++){var n=t[i];if(e._.exists(n))return n}return null},t.anyExists=function(t){if(t)for(var e=0;e<t.length;e++)if(this.exists(t[e]))return!0;return!1},t.existsAndNotEmpty=function(t){return null!=t&&this.exists(t)&&t.length>0},t.clearElement=function(t){for(;t&&t.firstChild;)t.removeChild(t.firstChild)},t.removeElement=function(t,e){this.removeFromParent(t.querySelector(e))},t.removeFromParent=function(t){t&&t.parentNode&&t.parentNode.removeChild(t)},t.isVisible=function(t){return null!==t.offsetParent},t.loadTemplate=function(t){var e=document.createElement("div");return e.innerHTML=t,e.firstChild},t.appendHtml=function(t,e){t.lastChild?t.insertAdjacentHTML("afterbegin",e):t.innerHTML=e},t.addOrRemoveCssClass=function(t,e,o){o?this.addCssClass(t,e):this.removeCssClass(t,e)},t.callIfPresent=function(t){t&&t()},t.addCssClass=function(t,e){var o=this;if(e&&0!==e.length)if(e.indexOf(" ")>=0)e.split(" ").forEach((function(e){return o.addCssClass(t,e)}));else if(t.classList)t.classList.contains(e)||t.classList.add(e);else if(t.className&&t.className.length>0){var i=t.className.split(" ");i.indexOf(e)<0&&(i.push(e),t.setAttribute("class",i.join(" ")))}else t.setAttribute("class",e)},t.containsClass=function(t,e){if(t.classList)return t.classList.contains(e);if(t.className){var o=t.className===e,i=t.className.indexOf(" "+e+" ")>=0,n=0===t.className.indexOf(e+" "),r=t.className.lastIndexOf(" "+e)===t.className.length-e.length-1;return o||i||n||r}return!1},t.getElementAttribute=function(t,e){return t.attributes&&t.attributes[e]?t.attributes[e].value:null},t.offsetHeight=function(t){return t&&t.clientHeight?t.clientHeight:0},t.offsetWidth=function(t){return t&&t.clientWidth?t.clientWidth:0},t.sortNumberArray=function(t){t.sort((function(t,e){return t-e}))},t.removeCssClass=function(t,e){if(t.classList)t.classList.contains(e)&&t.classList.remove(e);else if(t.className&&t.className.length>0){var o=t.className.split(" ");if(o.indexOf(e)>=0){for(;o.indexOf(e)>=0;)o.splice(o.indexOf(e),1);t.setAttribute("class",o.join(" "))}}},t.removeRepeatsFromArray=function(t,e){if(t)for(var o=t.length-2;o>=0;o--){var i=t[o]===e,n=t[o+1]===e;i&&n&&t.splice(o+1,1)}},t.removeFromArray=function(t,e){t.indexOf(e)>=0&&t.splice(t.indexOf(e),1)},t.removeAllFromArray=function(t,e){e.forEach((function(e){t.indexOf(e)>=0&&t.splice(t.indexOf(e),1)}))},t.insertIntoArray=function(t,e,o){t.splice(o,0,e)},t.insertArrayIntoArray=function(t,e,o){if(!this.missing(t)&&!this.missing(e))for(var i=e.length-1;i>=0;i--){var n=e[i];this.insertIntoArray(t,n,o)}},t.moveInArray=function(t,e,o){var i=this;e.forEach((function(e){i.removeFromArray(t,e)})),e.slice().reverse().forEach((function(e){i.insertIntoArray(t,e,o)}))},t.defaultComparator=function(t,e,o){void 0===o&&(o=!1);var i=null==t,n=null==e;if(t&&t.toNumber&&(t=t.toNumber()),e&&e.toNumber&&(e=e.toNumber()),i&&n)return 0;if(i)return-1;if(n)return 1;if("string"==typeof t){if(!o)return r(t,e);try{return t.localeCompare(e)}catch(o){return r(t,e)}}return t<e?-1:t>e?1:0;function r(t,e){return t>e?1:t<e?-1:0}},t.compareArrays=function(t,e){if(this.missing(t)&&this.missing(e))return!0;if(this.missing(t)||this.missing(e)||!t||!e)return!1;if(t.length!==e.length)return!1;for(var o=0;o<t.length;o++)if(t[o]!==e[o])return!1;return!0},t.ensureDomOrder=function(t,e,o){o&&o.nextSibling===e||(o?o.nextSibling?t.insertBefore(e,o.nextSibling):t.appendChild(e):t.firstChild&&t.firstChild!==e&&t.insertAdjacentElement("afterbegin",e))},t.insertWithDomOrder=function(t,e,o){o?o.nextSibling?t.insertBefore(e,o.nextSibling):t.appendChild(e):t.firstChild?t.insertBefore(e,t.firstChild):t.appendChild(e)},t.insertTemplateWithDomOrder=function(t,e,o){var i;return o?(o.insertAdjacentHTML("afterend",e),i=o.nextSibling):(t.firstChild?t.insertAdjacentHTML("afterbegin",e):t.innerHTML=e,i=t.firstChild),i},t.every=function(t,e){if(!t||0===t.length)return!0;for(var o=0;o<t.length;o++)if(!e(t[o]))return!1;return!0},t.toStringOrNull=function(t){return this.exists(t)&&t.toString?t.toString():null},t.formatSize=function(t){return"number"==typeof t?t+"px":t},t.formatNumberTwoDecimalPlacesAndCommas=function(t){return"number"!=typeof t?"":(Math.round(100*t)/100).toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,")},t.formatNumberCommas=function(t){return"number"!=typeof t?"":t.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,")},t.prependDC=function(t,e){this.exists(t.firstChild)?t.insertBefore(e,t.firstChild):t.appendChild(e)},t.createIcon=function(t,e,o){var i=this.createIconNoSpan(t,e,o);if(i.className.indexOf("ag-icon")>-1)return i;var n=document.createElement("span");return n.appendChild(i),n},t.createIconNoSpan=function(t,e,o){var i=null,n=o&&o.getColDef().icons?o.getColDef().icons:null;if(n&&(i=n[t]),!i&&e.getIcons()&&(i=e.getIcons()[t]),i){var r=void 0;if("function"==typeof i)r=i();else{if("string"!=typeof i)throw new Error("icon from grid options needs to be a string or a function");r=i}if("string"==typeof r)return this.loadTemplate(r);if(this.isNodeOrElement(r))return r;throw new Error("iconRenderer should return back a string or a dom object")}var s=document.createElement("span"),a=this.iconNameClassMap[t];if(!a)throw new Error(t+" did not find class");return s.setAttribute("class","ag-icon ag-icon-"+a),s.setAttribute("unselectable","on"),s},t.addStylesToElement=function(t,e){var o=this;e&&Object.keys(e).forEach((function(i){var n=o.hyphenToCamelCase(i);n&&(t.style[n]=e[i])}))},t.isHorizontalScrollShowing=function(t){return t.clientWidth<t.scrollWidth},t.isVerticalScrollShowing=function(t){return t.clientHeight<t.scrollHeight},t.getMaxDivHeight=function(){if(!document.body)return-1;var t=1e6,e=navigator.userAgent.toLowerCase().match(/firefox/)?6e6:1e9,o=this.loadTemplate("<div/>");for(document.body.appendChild(o);;){var i=2*t;if(o.style.height=i+"px",i>e||o.clientHeight!==i)break;t=i}return document.body.removeChild(o),t},t.getScrollbarWidth=function(){var t=document.createElement("div");t.style.visibility="hidden",t.style.width="100px",t.style.msOverflowStyle="scrollbar",document.body.appendChild(t);var e=t.offsetWidth;t.style.overflow="scroll";var o=document.createElement("div");o.style.width="100%",t.appendChild(o);var i=o.offsetWidth;return t.parentNode&&t.parentNode.removeChild(t),e-i},t.hasOverflowScrolling=function(){var t=["webkit","moz","o","ms"],e=document.createElement("div"),o=!1;document.getElementsByTagName("body")[0].appendChild(e),e.setAttribute("style",t.map((function(t){return"-"+t+"-overflow-scrolling: touch"})).concat("overflow-scrolling: touch").join(";"));var i=window.getComputedStyle(e);if("touch"===i.overflowScrolling&&(o=!0),!o)for(var n=0,r=t;n<r.length;n++)if("touch"===i[r[n]+"OverflowScrolling"]){o=!0;break}return e.parentNode&&e.parentNode.removeChild(e),o},t.isKeyPressed=function(t,e){return(t.which||t.keyCode)===e},t.setVisible=function(t,e){this.addOrRemoveCssClass(t,"ag-hidden",!e)},t.setHidden=function(t,e){this.addOrRemoveCssClass(t,"ag-invisible",e)},t.setFixedWidth=function(t,e){e=this.formatSize(e),t.style.width=e,t.style.maxWidth=e,t.style.minWidth=e},t.setFixedHeight=function(t,e){e=this.formatSize(e),t.style.height=e,t.style.maxHeight=e,t.style.minHeight=e},t.isBrowserIE=function(){return void 0===this.isIE&&(this.isIE=!!document.documentMode),this.isIE},t.isBrowserEdge=function(){return void 0===this.isEdge&&(this.isEdge=!this.isBrowserIE()&&!!window.StyleMedia),this.isEdge},t.isBrowserSafari=function(){if(void 0===this.isSafari){var t=window;this.isSafari=Object.prototype.toString.call(t.HTMLElement).indexOf("Constructor")>0||!!(e=!t.safari||t.safari.pushNotification)&&"[object SafariRemoteNotification]"===e.toString()}var e;return this.isSafari},t.isBrowserChrome=function(){if(void 0===this.isChrome){var t=window;this.isChrome=!!t.chrome&&(!!t.chrome.webstore||!!t.chrome.runtime)||/Chrome/.test(navigator.userAgent)&&/Google Inc/.test(navigator.vendor)}return this.isChrome},t.isBrowserFirefox=function(){if(void 0===this.isFirefox){var t=window;this.isFirefox=void 0!==t.InstallTrigger}return this.isFirefox},t.isUserAgentIPad=function(){return void 0===this.isIPad&&(this.isIPad=null!=navigator.userAgent.match(/iPad|iPhone/i)),this.isIPad},t.getTarget=function(t){var e=t;return e.target||e.srcElement},t.isElementChildOfClass=function(t,e,o){for(var i=0;t;){if(this.containsClass(t,e))return!0;if(t=t.parentElement,o&&++i>o)break}return!1},t.isElementInEventPath=function(t,o){return!(!o||!t)&&e._.getEventPath(o).indexOf(t)>=0},t.isFunction=function(t){return!!(t&&t.constructor&&t.call&&t.apply)},t.createEventPath=function(t){for(var o=[],i=e._.getTarget(t);i;)o.push(i),i=i.parentElement;return o},t.addAgGridEventPath=function(t){t.__agGridEventPath=this.getEventPath(t)},t.getEventPath=function(t){var e=t;return e.deepPath?e.deepPath():e.path?e.path:e.composedPath?e.composedPath():e.__agGridEventPath?e.__agGridEventPath:this.createEventPath(t)},t.forEachSnapshotFirst=function(t,e){t&&t.slice(0).forEach(e)},t.getBodyWidth=function(){return document.body?document.body.clientWidth:window.innerHeight?window.innerWidth:document.documentElement&&document.documentElement.clientWidth?document.documentElement.clientWidth:-1},t.getBodyHeight=function(){return document.body?document.body.clientHeight:window.innerHeight?window.innerHeight:document.documentElement&&document.documentElement.clientHeight?document.documentElement.clientHeight:-1},t.setCheckboxState=function(t,e){"boolean"==typeof e?(t.checked=e,t.indeterminate=!1):t.indeterminate=!0},t.traverseNodesWithKey=function(t,e){var o=[];!function t(i){i.forEach((function(i){if(i.group||i.hasChildren()){o.push(i.key);var n=o.join("|");e(i,n),t(i.childrenAfterGroup),o.pop()}}))}(t)},t.camelCaseToHyphen=function(t){return null==t?null:t.replace(/([A-Z])/g,(function(t){return"-"+t[0].toLowerCase()}))},t.hyphenToCamelCase=function(t){return null==t?null:t.replace(/-([a-z])/g,(function(t){return t[1].toUpperCase()}))},t.cssStyleObjectToMarkup=function(t){var e=this;if(!t)return"";var o=[];return this.iterateObject(t,(function(t,i){var n=e.camelCaseToHyphen(t);o.push(n+": "+i+";")})),o.join(" ")},t.isNumeric=function(t){return""!==t&&!isNaN(parseFloat(t))&&isFinite(t)},t.escape=function(t){return null!=t&&t.replace?t.replace(p,(function(t){return l[t]})):t},t.normalizeWheel=function(t){var e=0,o=0,i=0,n=0;return"detail"in t&&(o=t.detail),"wheelDelta"in t&&(o=-t.wheelDelta/120),"wheelDeltaY"in t&&(o=-t.wheelDeltaY/120),"wheelDeltaX"in t&&(e=-t.wheelDeltaX/120),"axis"in t&&t.axis===t.HORIZONTAL_AXIS&&(e=o,o=0),i=10*e,n=10*o,"deltaY"in t&&(n=t.deltaY),"deltaX"in t&&(i=t.deltaX),(i||n)&&t.deltaMode&&(1==t.deltaMode?(i*=40,n*=40):(i*=800,n*=800)),i&&!e&&(e=i<1?-1:1),n&&!o&&(o=n<1?-1:1),{spinX:e,spinY:o,pixelX:i,pixelY:n}},t.debounce=function(t,e,o){var i;return void 0===o&&(o=!1),function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var s=this,a=o&&!i;window.clearTimeout(i),i=window.setTimeout((function(){i=null,o||t.apply(s,n)}),e),a&&t.apply(s,n)}},t.stopPropagationForAgGrid=function(t){t[s]=!0},t.isStopPropagationForAgGrid=function(t){return!0===t[s]},t.executeInAWhile=function(t){this.executeAfter(t,400)},t.executeNextVMTurn=function(t){this.executeAfter(t,0)},t.executeAfter=function(t,e){t.length>0&&window.setTimeout((function(){t.forEach((function(t){return t()}))}),e)},t.referenceCompare=function(t,e){return null==t&&null==e||(null!=t||!e)&&(!t||null!=e)&&t===e},t.get=function(e,o,i){if(null==e)return i;if(o.indexOf(".")>-1){var n=o.split(".");return null!=(r=e[n[0]])?t.get(r,n.slice(1,n.length).join("."),i):i}var r;return null!=(r=e[o])?r:i},t.addSafePassiveEventListener=function(e,o,i,n){-1!==t.passiveEvents.indexOf(o)&&(void 0===n?n={}:"boolean"==typeof n&&(n={capture:n}),n.passive=!0),e.addEventListener(o,i,n)},t.camelCaseToHumanText=function(t){return t&&null!=t?t.replace(/([A-Z])([A-Z])([a-z])|([a-z])([A-Z])/g,"$1$4 $2$3$5").replace("."," ").split(" ").map((function(t){return t.substring(0,1).toUpperCase()+(t.length>1?t.substring(1,t.length):"")})).join(" "):null},t.message=function(t){var e=document.createElement("div");e.innerHTML=t;var o=document.querySelector("#__ag__message");o||(o=this.loadTemplate('<div id="__ag__message" style="display: inline-block; position: absolute; top: 0px; left: 0px; color: white; background-color: black; z-index: 20; padding: 2px; border: 1px solid darkred; height: 200px; overflow-y: auto;"></div>'),document.body&&document.body.appendChild(o)),o.insertBefore(e,o.children[0])},t.sortRowNodesByOrder=function(t,e){if(t){for(var o=function(t,o){var i=e[t.id],n=e[o.id],r=void 0!==i,s=void 0!==n;return r&&s?i-n:r||s?r?1:-1:t.__objectId-o.__objectId},i=!1,n=0;n<t.length-1;n++)if(o(t[n],t[n+1])>0){i=!0;break}i&&t.sort(o)}},t.fuzzyCheckStrings=function(t,e,o){var i=this,n={},r=t.filter((function(t){return!e.some((function(e){return e===t}))}));return r.length>0&&r.forEach((function(t){return n[t]=i.fuzzySuggestions(t,e,o)})),n},t.fuzzySuggestions=function(t,o,i){var n=i.slice(0);return n.sort((function(o,i){var n=e._.string_similarity(o.toLowerCase(),t.toLowerCase()),r=e._.string_similarity(i.toLowerCase(),t.toLowerCase());return n>r?-1:n===r?0:1})),n},t.get_bigrams=function(t){var e,o,i,n=t.toLowerCase(),r=new Array(n.length-1);for(e=o=0,i=r.length;o<=i;e=o+=1)r[e]=n.slice(e,e+2);return r},t.isNumpadDelWithNumlockOnForEdgeOrIe=function(e){return!(!t.isBrowserEdge()&&!t.isBrowserIE())&&e.key===t.NUMPAD_DEL_NUMLOCK_ON_KEY&&e.charCode===t.NUMPAD_DEL_NUMLOCK_ON_CHARCODE},t.bindCellRendererToHtmlElement=function(t,e){t.then((function(t){var o=t.getGui();null!=o&&("object"==typeof o?e.appendChild(o):e.innerHTML=o)}))},t.PRINTABLE_CHARACTERS="qwertyuiopasdfghjklzxcvbnmQWERTYUIOPASDFGHJKLZXCVBNM1234567890!\"£$%^&*()_+-=[];'#,./\\|<>?:@~{}",t.NUMPAD_DEL_NUMLOCK_ON_KEY="Del",t.NUMPAD_DEL_NUMLOCK_ON_CHARCODE=46,t.doOnceFlags={},t.compose=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return function(e){return t.reduce((function(t,e){return e(t)}),e)}},t.decToHex=function(t,e){for(var o="",i=0;i<e;i++)o+=String.fromCharCode(255&t),t>>>=8;return o},t.utf8_encode=function(t){for(var e="",o=0,i=(t=t.replace(/\r\n/g,"\n")).length;o<i;o++){var n=t.charCodeAt(o);n<128?e+=String.fromCharCode(n):n>127&&n<2048?(e+=String.fromCharCode(n>>6|192),e+=String.fromCharCode(63&n|128)):(e+=String.fromCharCode(n>>12|224),e+=String.fromCharCode(n>>6&63|128),e+=String.fromCharCode(63&n|128))}return e},t.iconNameClassMap={columnGroupOpened:"expanded",columnGroupClosed:"contracted",columnSelectClosed:"tree-closed",columnSelectOpen:"tree-open",columnMovePin:"pin",columnMoveAdd:"plus",columnMoveHide:"eye-slash",columnMoveMove:"arrows",columnMoveLeft:"left",columnMoveRight:"right",columnMoveGroup:"group",columnMoveValue:"aggregation",columnMovePivot:"pivot",dropNotAllowed:"not-allowed",groupContracted:"expanded",groupExpanded:"contracted",checkboxChecked:"checkbox-checked",checkboxUnchecked:"checkbox-unchecked",checkboxIndeterminate:"checkbox-indeterminate",checkboxCheckedReadOnly:"checkbox-checked-readonly",checkboxUncheckedReadOnly:"checkbox-unchecked-readonly",checkboxIndeterminateReadOnly:"checkbox-indeterminate-readonly",groupLoading:"loading",menu:"menu",filter:"filter",columns:"columns",menuPin:"pin",menuValue:"aggregation",menuAddRowGroup:"group",menuRemoveRowGroup:"group",clipboardCopy:"copy",clipboardCut:"cut",clipboardPaste:"paste",pivotPanel:"pivot",rowGroupPanel:"group",valuePanel:"aggregation",columnDrag:"column-drag",rowDrag:"row-drag",sortAscending:"asc",sortDescending:"desc",sortUnSort:"none"},t.passiveEvents=["touchstart","touchend","touchmove","touchcancel"],t.string_similarity=function(e,o){if(e.length>0&&o.length>0){var i,n=t.get_bigrams(e),r=t.get_bigrams(o),s=n.length+r.length,a=0,l=void 0;for(l=0,i=n.length;l<i;l++){var p,u=n[l],c=void 0;for(c=0,p=r.length;c<p;c++)u===r[c]&&a++}if(a>0)return 2*a/s}return 0},t}();e.Utils=u;var c,d=function(){function t(t,e){void 0===t&&(t=0),void 0===e&&(e=1),this.nextValue=t,this.step=e}return t.prototype.next=function(){var t=this.nextValue;return this.nextValue+=this.step,t},t.prototype.peek=function(){return this.nextValue},t.prototype.skip=function(t){this.nextValue+=t},t}();e.NumberSequence=d,e._=u,function(t){t[t.IN_PROGRESS=0]="IN_PROGRESS",t[t.RESOLVED=1]="RESOLVED"}(c=e.PromiseStatus||(e.PromiseStatus={}));var h=function(){function t(t){this.status=c.IN_PROGRESS,this.resolution=null,this.listOfWaiters=[],t(this.onDone.bind(this),this.onReject.bind(this))}return t.all=function(e){return new t((function(t){var o=[],i=e.length;e.forEach((function(e,n){e.then((function(e){i--,o[n]=e,0==i&&t(o)})),o.push(null)}))}))},t.resolve=function(e){return new t((function(t){return t(e)}))},t.external=function(){var e;return{promise:new t((function(t){e=t})),resolve:function(t){e(t)}}},t.prototype.then=function(t){this.status===c.IN_PROGRESS?this.listOfWaiters.push(t):t(this.resolution)},t.prototype.firstOneOnly=function(t){this.status===c.IN_PROGRESS?0===this.listOfWaiters.length&&this.listOfWaiters.push(t):t(this.resolution)},t.prototype.map=function(e){var o=this;return new t((function(t){o.then((function(o){t(e(o))}))}))},t.prototype.resolveNow=function(t,e){return this.status==c.IN_PROGRESS?t:e(this.resolution)},t.prototype.onDone=function(t){this.status=c.RESOLVED,this.resolution=t,this.listOfWaiters.forEach((function(e){return e(t)}))},t.prototype.onReject=function(t){console.warn("TBI")},t}();e.Promise=h},83463:(t,e,o)=>{o.d(e,{Ay:()=>n,X6:()=>r});var i=o(15942);const n=i.default,r=i.ParseMode;i.parse},83684:function(t,e,o){var i,n=this&&this.__extends||(i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},i(t,e)},function(t,e){function o(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),r=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},s=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var a=o(96652),l=o(46410),p=o(4855),u=o(47008),c=o(47008),d=o(85397),h=o(75449),f=o(43389),g=o(2102),y=function(t){function e(e,o){var i=t.call(this,e,o)||this;return i.props=e,i.state=o,i.destroyed=!1,i.changeDetectionService=new f.ChangeDetectionService,i.api=null,i.portals=[],i.hasPendingPortalUpdate=!1,i}return n(e,t),e.prototype.render=function(){var t=this;return a.createElement("div",{style:this.createStyleForDiv(),ref:function(e){t.eGridDiv=e}},this.portals)},e.prototype.createStyleForDiv=function(){var t={height:"100%"},e=this.props.containerStyle;return e&&Object.keys(e).forEach((function(o){t[o]=e[o]})),t},e.prototype.componentDidMount=function(){var t={seedBeanInstances:{agGridReact:this}},e=this.props.gridOptions||{};d.AgGridColumn.hasChildColumns(this.props)&&(e.columnDefs=d.AgGridColumn.mapChildColumnDefs(this.props)),this.gridOptions=u.ComponentUtil.copyAttributesToGridOptions(e,this.props),new u.Grid(this.eGridDiv,this.gridOptions,t),this.api=this.gridOptions.api,this.columnApi=this.gridOptions.columnApi},e.prototype.shouldComponentUpdate=function(){return!1},e.prototype.waitForInstance=function(t,o,i){var n=this;if(void 0===i&&(i=0),t.getFrameworkComponentInstance()||t.isStatelesComponent())o(null);else{if(i>=e.MAX_COMPONENT_CREATION_TIME)return void console.error("ag-Grid: React Component '"+t.getReactComponentName()+"' not created within "+e.MAX_COMPONENT_CREATION_TIME+"ms");window.setTimeout((function(){return n.waitForInstance(t,o,i+5)}),5)}},e.prototype.mountReactPortal=function(t,e,o){this.portals=this.portals.concat([t]),this.batchUpdate(this.waitForInstance(e,o))},e.prototype.batchUpdate=function(t){var e=this;if(this.hasPendingPortalUpdate)return t&&t();setTimeout((function(){e.api&&e.forceUpdate((function(){t&&t(),e.hasPendingPortalUpdate=!1}))})),this.hasPendingPortalUpdate=!0},e.prototype.destroyPortal=function(t){this.portals=this.portals.filter((function(e){return e!==t})),this.batchUpdate()},e.prototype.getStrategyTypeForProp=function(t){if("rowData"===t){if(this.props.rowDataChangeDetectionStrategy)return this.props.rowDataChangeDetectionStrategy;if(this.props.deltaRowDataMode)return f.ChangeDetectionStrategyType.IdentityCheck}return f.ChangeDetectionStrategyType.DeepValueCheck},e.prototype.componentWillReceiveProps=function(t){var e=this,o=!!t.debug,i={};Object.keys(t).forEach((function(n){-1!==u.ComponentUtil.ALL_PROPERTIES.indexOf(n)&&(e.changeDetectionService.getStrategy(e.getStrategyTypeForProp(n)).areEqual(e.props[n],t[n])||(o&&console.log("agGridReact: ["+n+"] property changed"),i[n]={previousValue:e.props[n],currentValue:t[n]}))})),u.ComponentUtil.getEventCallbacks().forEach((function(n){e.props[n]!==t[n]&&(o&&console.log("agGridReact: ["+n+"] event callback changed"),i[n]={previousValue:e.props[n],currentValue:t[n]})})),u.ComponentUtil.processOnChange(i,this.gridOptions,this.api,this.columnApi)},e.prototype.componentWillUnmount=function(){this.api&&(this.api.destroy(),this.api=null)},e.MAX_COMPONENT_CREATION_TIME=1e3,e}(a.Component);function m(t,e){t.forEach((function(t){y[t]=e}))}e.AgGridReact=y,y.propTypes={gridOptions:p.object},m(u.ComponentUtil.getEventCallbacks(),p.func),m(u.ComponentUtil.BOOLEAN_PROPERTIES,p.bool),m(u.ComponentUtil.STRING_PROPERTIES,p.string),m(u.ComponentUtil.OBJECT_PROPERTIES,p.object),m(u.ComponentUtil.ARRAY_PROPERTIES,p.array),m(u.ComponentUtil.NUMBER_PROPERTIES,p.number),m(u.ComponentUtil.FUNCTION_PROPERTIES,p.func);var v=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.createWrapper=function(t){return this.useLegacyReact()?new g.LegacyReactComponent(t,this.agGridReact):new h.ReactComponent(t,this.agGridReact)},e.prototype.useLegacyReact=function(){return"function"!=typeof l.unstable_renderSubtreeIntoContainer||this.agGridReact&&this.agGridReact.gridOptions&&!this.agGridReact.gridOptions.reactNext},r([c.Autowired("agGridReact"),s("design:type",y)],e.prototype,"agGridReact",void 0),r([c.Bean("frameworkComponentWrapper")],e)}(c.BaseComponentWrapper);u.Grid.setFrameworkBeans([v])},84210:function(t,e,o){var i=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},n=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},r=this&&this.__param||function(t,e){return function(o,i){e(o,i,t)}};Object.defineProperty(e,"__esModule",{value:!0});var s=o(44329),a=o(37132),l=o(72493),p=o(83423),u=function(){function t(t,e){this.activeBlockLoadsCount=0,this.blocks=[],this.active=!0,this.maxConcurrentRequests=t,e&&e>0&&(this.checkBlockToLoadDebounce=p._.debounce(this.performCheckBlocksToLoad.bind(this),e))}return t.prototype.setBeans=function(t){this.logger=t.create("RowNodeBlockLoader")},t.prototype.addBlock=function(t){this.blocks.push(t)},t.prototype.removeBlock=function(t){p._.removeFromArray(this.blocks,t)},t.prototype.destroy=function(){this.active=!1},t.prototype.loadComplete=function(){this.activeBlockLoadsCount--},t.prototype.checkBlockToLoad=function(){this.checkBlockToLoadDebounce?this.checkBlockToLoadDebounce():this.performCheckBlocksToLoad()},t.prototype.performCheckBlocksToLoad=function(){if(this.active)if(this.printCacheStatus(),this.activeBlockLoadsCount>=this.maxConcurrentRequests)this.logger.log("checkBlockToLoad: max loads exceeded");else{var t=null;this.blocks.forEach((function(e){e.getState()===s.RowNodeBlock.STATE_DIRTY&&(t=e)})),t?(t.load(),this.activeBlockLoadsCount++,this.logger.log("checkBlockToLoad: loading page "+t.getBlockNumber()),this.printCacheStatus()):this.logger.log("checkBlockToLoad: no pages to load")}},t.prototype.getBlockState=function(){var t={};return this.blocks.forEach((function(e){var o=e.getNodeIdPrefix(),i={blockNumber:e.getBlockNumber(),startRow:e.getStartRow(),endRow:e.getEndRow(),pageStatus:e.getState()};p._.exists(o)?t[o+e.getBlockNumber()]=i:t[e.getBlockNumber()]=i})),t},t.prototype.printCacheStatus=function(){this.logger.isLogging()&&this.logger.log("printCacheStatus: activePageLoadsCount = "+this.activeBlockLoadsCount+", blocks = "+JSON.stringify(this.getBlockState()))},i([r(0,l.Qualifier("loggerFactory")),n("design:type",Function),n("design:paramtypes",[a.LoggerFactory]),n("design:returntype",void 0)],t.prototype,"setBeans",null),t}();e.RowNodeBlockLoader=u},84537:function(t,e){!function(t){var e=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,7,9,32,4,318,1,80,3,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,68,8,2,0,3,0,2,3,2,4,2,0,15,1,83,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,7,19,58,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,343,9,54,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,10,5350,0,7,14,11465,27,2343,9,87,9,39,4,60,6,26,9,535,9,470,0,2,54,8,3,82,0,12,1,19628,1,4178,9,519,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,245,1,2,9,726,6,110,6,6,9,4759,9,787719,239],o=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,4,51,13,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,39,27,10,22,251,41,7,1,17,2,60,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,31,9,2,0,3,0,2,37,2,0,26,0,2,0,45,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,200,32,32,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,26,3994,6,582,6842,29,1763,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,433,44,212,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,42,9,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,229,29,3,0,496,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,16,621,2467,541,1507,4938,6,4191],i="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-Ა-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-Ꟑꟑꟓꟕ-ꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",n={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},r="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",s={5:r,"5module":r+" export import",6:r+" const class extends export import super"},a=/^in(stanceof)?$/,l=new RegExp("["+i+"]"),p=new RegExp("["+i+"·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・]");function u(t,e){for(var o=65536,i=0;i<e.length;i+=2){if((o+=e[i])>t)return!1;if((o+=e[i+1])>=t)return!0}return!1}function c(t,e){return t<65?36===t:t<91||(t<97?95===t:t<123||(t<=65535?t>=170&&l.test(String.fromCharCode(t)):!1!==e&&u(t,o)))}function d(t,i){return t<48?36===t:t<58||!(t<65)&&(t<91||(t<97?95===t:t<123||(t<=65535?t>=170&&p.test(String.fromCharCode(t)):!1!==i&&(u(t,o)||u(t,e)))))}var h=function(t,e){void 0===e&&(e={}),this.label=t,this.keyword=e.keyword,this.beforeExpr=!!e.beforeExpr,this.startsExpr=!!e.startsExpr,this.isLoop=!!e.isLoop,this.isAssign=!!e.isAssign,this.prefix=!!e.prefix,this.postfix=!!e.postfix,this.binop=e.binop||null,this.updateContext=null};function f(t,e){return new h(t,{beforeExpr:!0,binop:e})}var g={beforeExpr:!0},y={startsExpr:!0},m={};function v(t,e){return void 0===e&&(e={}),e.keyword=t,m[t]=new h(t,e)}var C={num:new h("num",y),regexp:new h("regexp",y),string:new h("string",y),name:new h("name",y),privateId:new h("privateId",y),eof:new h("eof"),bracketL:new h("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new h("]"),braceL:new h("{",{beforeExpr:!0,startsExpr:!0}),braceR:new h("}"),parenL:new h("(",{beforeExpr:!0,startsExpr:!0}),parenR:new h(")"),comma:new h(",",g),semi:new h(";",g),colon:new h(":",g),dot:new h("."),question:new h("?",g),questionDot:new h("?."),arrow:new h("=>",g),template:new h("template"),invalidTemplate:new h("invalidTemplate"),ellipsis:new h("...",g),backQuote:new h("`",y),dollarBraceL:new h("${",{beforeExpr:!0,startsExpr:!0}),eq:new h("=",{beforeExpr:!0,isAssign:!0}),assign:new h("_=",{beforeExpr:!0,isAssign:!0}),incDec:new h("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new h("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:f("||",1),logicalAND:f("&&",2),bitwiseOR:f("|",3),bitwiseXOR:f("^",4),bitwiseAND:f("&",5),equality:f("==/!=/===/!==",6),relational:f("</>/<=/>=",7),bitShift:f("<</>>/>>>",8),plusMin:new h("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:f("%",10),star:f("*",10),slash:f("/",10),starstar:new h("**",{beforeExpr:!0}),coalesce:f("??",1),_break:v("break"),_case:v("case",g),_catch:v("catch"),_continue:v("continue"),_debugger:v("debugger"),_default:v("default",g),_do:v("do",{isLoop:!0,beforeExpr:!0}),_else:v("else",g),_finally:v("finally"),_for:v("for",{isLoop:!0}),_function:v("function",y),_if:v("if"),_return:v("return",g),_switch:v("switch"),_throw:v("throw",g),_try:v("try"),_var:v("var"),_const:v("const"),_while:v("while",{isLoop:!0}),_with:v("with"),_new:v("new",{beforeExpr:!0,startsExpr:!0}),_this:v("this",y),_super:v("super",y),_class:v("class",y),_extends:v("extends",g),_export:v("export"),_import:v("import",y),_null:v("null",y),_true:v("true",y),_false:v("false",y),_in:v("in",{beforeExpr:!0,binop:7}),_instanceof:v("instanceof",{beforeExpr:!0,binop:7}),_typeof:v("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:v("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:v("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},E=/\r\n?|\n|\u2028|\u2029/,w=new RegExp(E.source,"g");function _(t){return 10===t||13===t||8232===t||8233===t}function S(t,e,o){void 0===o&&(o=t.length);for(var i=e;i<o;i++){var n=t.charCodeAt(i);if(_(n))return i<o-1&&13===n&&10===t.charCodeAt(i+1)?i+2:i+1}return-1}var b=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,R=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,O=Object.prototype,T=O.hasOwnProperty,A=O.toString,P=Object.hasOwn||function(t,e){return T.call(t,e)},D=Array.isArray||function(t){return"[object Array]"===A.call(t)},x=Object.create(null);function N(t){return x[t]||(x[t]=new RegExp("^(?:"+t.replace(/ /g,"|")+")$"))}function F(t){return t<=65535?String.fromCharCode(t):(t-=65536,String.fromCharCode(55296+(t>>10),56320+(1023&t)))}var I=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/,L=function(t,e){this.line=t,this.column=e};L.prototype.offset=function(t){return new L(this.line,this.column+t)};var M=function(t,e,o){this.start=e,this.end=o,null!==t.sourceFile&&(this.source=t.sourceFile)};function k(t,e){for(var o=1,i=0;;){var n=S(t,i,e);if(n<0)return new L(o,e-i);++o,i=n}}var G={ecmaVersion:null,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:null,allowSuperOutsideMethod:null,allowHashBang:!1,checkPrivateFields:!0,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1},V=!1;function W(t){var e={};for(var o in G)e[o]=t&&P(t,o)?t[o]:G[o];if("latest"===e.ecmaVersion?e.ecmaVersion=1e8:null==e.ecmaVersion?(!V&&"object"==typeof console&&console.warn&&(V=!0,console.warn("Since Acorn 8.0.0, options.ecmaVersion is required.\nDefaulting to 2020, but this will stop working in the future.")),e.ecmaVersion=11):e.ecmaVersion>=2015&&(e.ecmaVersion-=2009),null==e.allowReserved&&(e.allowReserved=e.ecmaVersion<5),t&&null!=t.allowHashBang||(e.allowHashBang=e.ecmaVersion>=14),D(e.onToken)){var i=e.onToken;e.onToken=function(t){return i.push(t)}}return D(e.onComment)&&(e.onComment=function(t,e){return function(o,i,n,r,s,a){var l={type:o?"Block":"Line",value:i,start:n,end:r};t.locations&&(l.loc=new M(this,s,a)),t.ranges&&(l.range=[n,r]),e.push(l)}}(e,e.onComment)),e}var H=256,B=259;function j(t,e){return 2|(t?4:0)|(e?8:0)}var U=function(t,e,o){this.options=t=W(t),this.sourceFile=t.sourceFile,this.keywords=N(s[t.ecmaVersion>=6?6:"module"===t.sourceType?"5module":5]);var i="";!0!==t.allowReserved&&(i=n[t.ecmaVersion>=6?6:5===t.ecmaVersion?5:3],"module"===t.sourceType&&(i+=" await")),this.reservedWords=N(i);var r=(i?i+" ":"")+n.strict;this.reservedWordsStrict=N(r),this.reservedWordsStrictBind=N(r+" "+n.strictBind),this.input=String(e),this.containsEsc=!1,o?(this.pos=o,this.lineStart=this.input.lastIndexOf("\n",o-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(E).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=C.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule="module"===t.sourceType,this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.potentialArrowInForAwait=!1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports=Object.create(null),0===this.pos&&t.allowHashBang&&"#!"===this.input.slice(0,2)&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(1),this.regexpState=null,this.privateNameStack=[]},z={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},canAwait:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0},allowNewDotTarget:{configurable:!0},inClassStaticBlock:{configurable:!0}};U.prototype.parse=function(){var t=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(t)},z.inFunction.get=function(){return(2&this.currentVarScope().flags)>0},z.inGenerator.get=function(){return(8&this.currentVarScope().flags)>0},z.inAsync.get=function(){return(4&this.currentVarScope().flags)>0},z.canAwait.get=function(){for(var t=this.scopeStack.length-1;t>=0;t--){var e=this.scopeStack[t].flags;if(768&e)return!1;if(2&e)return(4&e)>0}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction},z.allowSuper.get=function(){return(64&this.currentThisScope().flags)>0||this.options.allowSuperOutsideMethod},z.allowDirectSuper.get=function(){return(128&this.currentThisScope().flags)>0},z.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())},z.allowNewDotTarget.get=function(){for(var t=this.scopeStack.length-1;t>=0;t--){var e=this.scopeStack[t].flags;if(768&e||2&e&&!(16&e))return!0}return!1},z.inClassStaticBlock.get=function(){return(this.currentVarScope().flags&H)>0},U.extend=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];for(var o=this,i=0;i<t.length;i++)o=t[i](o);return o},U.parse=function(t,e){return new this(e,t).parse()},U.parseExpressionAt=function(t,e,o){var i=new this(o,t,e);return i.nextToken(),i.parseExpression()},U.tokenizer=function(t,e){return new this(e,t)},Object.defineProperties(U.prototype,z);var Y=U.prototype,K=/^(?:'((?:\\[^]|[^'\\])*?)'|"((?:\\[^]|[^"\\])*?)")/;Y.strictDirective=function(t){if(this.options.ecmaVersion<5)return!1;for(;;){R.lastIndex=t,t+=R.exec(this.input)[0].length;var e=K.exec(this.input.slice(t));if(!e)return!1;if("use strict"===(e[1]||e[2])){R.lastIndex=t+e[0].length;var o=R.exec(this.input),i=o.index+o[0].length,n=this.input.charAt(i);return";"===n||"}"===n||E.test(o[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(n)||"!"===n&&"="===this.input.charAt(i+1))}t+=e[0].length,R.lastIndex=t,t+=R.exec(this.input)[0].length,";"===this.input[t]&&t++}},Y.eat=function(t){return this.type===t&&(this.next(),!0)},Y.isContextual=function(t){return this.type===C.name&&this.value===t&&!this.containsEsc},Y.eatContextual=function(t){return!!this.isContextual(t)&&(this.next(),!0)},Y.expectContextual=function(t){this.eatContextual(t)||this.unexpected()},Y.canInsertSemicolon=function(){return this.type===C.eof||this.type===C.braceR||E.test(this.input.slice(this.lastTokEnd,this.start))},Y.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},Y.semicolon=function(){this.eat(C.semi)||this.insertSemicolon()||this.unexpected()},Y.afterTrailingComma=function(t,e){if(this.type===t)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),e||this.next(),!0},Y.expect=function(t){this.eat(t)||this.unexpected()},Y.unexpected=function(t){this.raise(null!=t?t:this.start,"Unexpected token")};var q=function(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1};Y.checkPatternErrors=function(t,e){if(t){t.trailingComma>-1&&this.raiseRecoverable(t.trailingComma,"Comma is not permitted after the rest element");var o=e?t.parenthesizedAssign:t.parenthesizedBind;o>-1&&this.raiseRecoverable(o,e?"Assigning to rvalue":"Parenthesized pattern")}},Y.checkExpressionErrors=function(t,e){if(!t)return!1;var o=t.shorthandAssign,i=t.doubleProto;if(!e)return o>=0||i>=0;o>=0&&this.raise(o,"Shorthand property assignments are valid only in destructuring patterns"),i>=0&&this.raiseRecoverable(i,"Redefinition of __proto__ property")},Y.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos<this.awaitPos)&&this.raise(this.yieldPos,"Yield expression cannot be a default value"),this.awaitPos&&this.raise(this.awaitPos,"Await expression cannot be a default value")},Y.isSimpleAssignTarget=function(t){return"ParenthesizedExpression"===t.type?this.isSimpleAssignTarget(t.expression):"Identifier"===t.type||"MemberExpression"===t.type};var $=U.prototype;$.parseTopLevel=function(t){var e=Object.create(null);for(t.body||(t.body=[]);this.type!==C.eof;){var o=this.parseStatement(null,!0,e);t.body.push(o)}if(this.inModule)for(var i=0,n=Object.keys(this.undefinedExports);i<n.length;i+=1){var r=n[i];this.raiseRecoverable(this.undefinedExports[r].start,"Export '"+r+"' is not defined")}return this.adaptDirectivePrologue(t.body),this.next(),t.sourceType=this.options.sourceType,this.finishNode(t,"Program")};var Q={kind:"loop"},X={kind:"switch"};$.isLet=function(t){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;R.lastIndex=this.pos;var e=R.exec(this.input),o=this.pos+e[0].length,i=this.input.charCodeAt(o);if(91===i||92===i)return!0;if(t)return!1;if(123===i||i>55295&&i<56320)return!0;if(c(i,!0)){for(var n=o+1;d(i=this.input.charCodeAt(n),!0);)++n;if(92===i||i>55295&&i<56320)return!0;var r=this.input.slice(o,n);if(!a.test(r))return!0}return!1},$.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;R.lastIndex=this.pos;var t,e=R.exec(this.input),o=this.pos+e[0].length;return!(E.test(this.input.slice(this.pos,o))||"function"!==this.input.slice(o,o+8)||o+8!==this.input.length&&(d(t=this.input.charCodeAt(o+8))||t>55295&&t<56320))},$.isUsingKeyword=function(t,e){if(this.options.ecmaVersion<17||!this.isContextual(t?"await":"using"))return!1;R.lastIndex=this.pos;var o=R.exec(this.input),i=this.pos+o[0].length;if(E.test(this.input.slice(this.pos,i)))return!1;if(t){var n,r=i+5;if("using"!==this.input.slice(i,r)||r===this.input.length||d(n=this.input.charCodeAt(r))||n>55295&&n<56320)return!1;R.lastIndex=r;var s=R.exec(this.input);if(s&&E.test(this.input.slice(r,r+s[0].length)))return!1}if(e){var a,l=i+2;if(!("of"!==this.input.slice(i,l)||l!==this.input.length&&(d(a=this.input.charCodeAt(l))||a>55295&&a<56320)))return!1}var p=this.input.charCodeAt(i);return c(p,!0)||92===p},$.isAwaitUsing=function(t){return this.isUsingKeyword(!0,t)},$.isUsing=function(t){return this.isUsingKeyword(!1,t)},$.parseStatement=function(t,e,o){var i,n=this.type,r=this.startNode();switch(this.isLet(t)&&(n=C._var,i="let"),n){case C._break:case C._continue:return this.parseBreakContinueStatement(r,n.keyword);case C._debugger:return this.parseDebuggerStatement(r);case C._do:return this.parseDoStatement(r);case C._for:return this.parseForStatement(r);case C._function:return t&&(this.strict||"if"!==t&&"label"!==t)&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(r,!1,!t);case C._class:return t&&this.unexpected(),this.parseClass(r,!0);case C._if:return this.parseIfStatement(r);case C._return:return this.parseReturnStatement(r);case C._switch:return this.parseSwitchStatement(r);case C._throw:return this.parseThrowStatement(r);case C._try:return this.parseTryStatement(r);case C._const:case C._var:return i=i||this.value,t&&"var"!==i&&this.unexpected(),this.parseVarStatement(r,i);case C._while:return this.parseWhileStatement(r);case C._with:return this.parseWithStatement(r);case C.braceL:return this.parseBlock(!0,r);case C.semi:return this.parseEmptyStatement(r);case C._export:case C._import:if(this.options.ecmaVersion>10&&n===C._import){R.lastIndex=this.pos;var s=R.exec(this.input),a=this.pos+s[0].length,l=this.input.charCodeAt(a);if(40===l||46===l)return this.parseExpressionStatement(r,this.parseExpression())}return this.options.allowImportExportEverywhere||(e||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),n===C._import?this.parseImport(r):this.parseExport(r,o);default:if(this.isAsyncFunction())return t&&this.unexpected(),this.next(),this.parseFunctionStatement(r,!0,!t);var p=this.isAwaitUsing(!1)?"await using":this.isUsing(!1)?"using":null;if(p)return e&&"script"===this.options.sourceType&&this.raise(this.start,"Using declaration cannot appear in the top level when source type is `script`"),"await using"===p&&(this.canAwait||this.raise(this.start,"Await using cannot appear outside of async function"),this.next()),this.next(),this.parseVar(r,!1,p),this.semicolon(),this.finishNode(r,"VariableDeclaration");var u=this.value,c=this.parseExpression();return n===C.name&&"Identifier"===c.type&&this.eat(C.colon)?this.parseLabeledStatement(r,u,c,t):this.parseExpressionStatement(r,c)}},$.parseBreakContinueStatement=function(t,e){var o="break"===e;this.next(),this.eat(C.semi)||this.insertSemicolon()?t.label=null:this.type!==C.name?this.unexpected():(t.label=this.parseIdent(),this.semicolon());for(var i=0;i<this.labels.length;++i){var n=this.labels[i];if(null==t.label||n.name===t.label.name){if(null!=n.kind&&(o||"loop"===n.kind))break;if(t.label&&o)break}}return i===this.labels.length&&this.raise(t.start,"Unsyntactic "+e),this.finishNode(t,o?"BreakStatement":"ContinueStatement")},$.parseDebuggerStatement=function(t){return this.next(),this.semicolon(),this.finishNode(t,"DebuggerStatement")},$.parseDoStatement=function(t){return this.next(),this.labels.push(Q),t.body=this.parseStatement("do"),this.labels.pop(),this.expect(C._while),t.test=this.parseParenExpression(),this.options.ecmaVersion>=6?this.eat(C.semi):this.semicolon(),this.finishNode(t,"DoWhileStatement")},$.parseForStatement=function(t){this.next();var e=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(Q),this.enterScope(0),this.expect(C.parenL),this.type===C.semi)return e>-1&&this.unexpected(e),this.parseFor(t,null);var o=this.isLet();if(this.type===C._var||this.type===C._const||o){var i=this.startNode(),n=o?"let":this.value;return this.next(),this.parseVar(i,!0,n),this.finishNode(i,"VariableDeclaration"),this.parseForAfterInit(t,i,e)}var r=this.isContextual("let"),s=!1,a=this.isUsing(!0)?"using":this.isAwaitUsing(!0)?"await using":null;if(a){var l=this.startNode();return this.next(),"await using"===a&&this.next(),this.parseVar(l,!0,a),this.finishNode(l,"VariableDeclaration"),this.parseForAfterInit(t,l,e)}var p=this.containsEsc,u=new q,c=this.start,d=e>-1?this.parseExprSubscripts(u,"await"):this.parseExpression(!0,u);return this.type===C._in||(s=this.options.ecmaVersion>=6&&this.isContextual("of"))?(e>-1?(this.type===C._in&&this.unexpected(e),t.await=!0):s&&this.options.ecmaVersion>=8&&(d.start!==c||p||"Identifier"!==d.type||"async"!==d.name?this.options.ecmaVersion>=9&&(t.await=!1):this.unexpected()),r&&s&&this.raise(d.start,"The left-hand side of a for-of loop may not start with 'let'."),this.toAssignable(d,!1,u),this.checkLValPattern(d),this.parseForIn(t,d)):(this.checkExpressionErrors(u,!0),e>-1&&this.unexpected(e),this.parseFor(t,d))},$.parseForAfterInit=function(t,e,o){return(this.type===C._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&1===e.declarations.length?(this.options.ecmaVersion>=9&&(this.type===C._in?o>-1&&this.unexpected(o):t.await=o>-1),this.parseForIn(t,e)):(o>-1&&this.unexpected(o),this.parseFor(t,e))},$.parseFunctionStatement=function(t,e,o){return this.next(),this.parseFunction(t,J|(o?0:tt),!1,e)},$.parseIfStatement=function(t){return this.next(),t.test=this.parseParenExpression(),t.consequent=this.parseStatement("if"),t.alternate=this.eat(C._else)?this.parseStatement("if"):null,this.finishNode(t,"IfStatement")},$.parseReturnStatement=function(t){return this.inFunction||this.options.allowReturnOutsideFunction||this.raise(this.start,"'return' outside of function"),this.next(),this.eat(C.semi)||this.insertSemicolon()?t.argument=null:(t.argument=this.parseExpression(),this.semicolon()),this.finishNode(t,"ReturnStatement")},$.parseSwitchStatement=function(t){var e;this.next(),t.discriminant=this.parseParenExpression(),t.cases=[],this.expect(C.braceL),this.labels.push(X),this.enterScope(0);for(var o=!1;this.type!==C.braceR;)if(this.type===C._case||this.type===C._default){var i=this.type===C._case;e&&this.finishNode(e,"SwitchCase"),t.cases.push(e=this.startNode()),e.consequent=[],this.next(),i?e.test=this.parseExpression():(o&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),o=!0,e.test=null),this.expect(C.colon)}else e||this.unexpected(),e.consequent.push(this.parseStatement(null));return this.exitScope(),e&&this.finishNode(e,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(t,"SwitchStatement")},$.parseThrowStatement=function(t){return this.next(),E.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),t.argument=this.parseExpression(),this.semicolon(),this.finishNode(t,"ThrowStatement")};var Z=[];$.parseCatchClauseParam=function(){var t=this.parseBindingAtom(),e="Identifier"===t.type;return this.enterScope(e?32:0),this.checkLValPattern(t,e?4:2),this.expect(C.parenR),t},$.parseTryStatement=function(t){if(this.next(),t.block=this.parseBlock(),t.handler=null,this.type===C._catch){var e=this.startNode();this.next(),this.eat(C.parenL)?e.param=this.parseCatchClauseParam():(this.options.ecmaVersion<10&&this.unexpected(),e.param=null,this.enterScope(0)),e.body=this.parseBlock(!1),this.exitScope(),t.handler=this.finishNode(e,"CatchClause")}return t.finalizer=this.eat(C._finally)?this.parseBlock():null,t.handler||t.finalizer||this.raise(t.start,"Missing catch or finally clause"),this.finishNode(t,"TryStatement")},$.parseVarStatement=function(t,e,o){return this.next(),this.parseVar(t,!1,e,o),this.semicolon(),this.finishNode(t,"VariableDeclaration")},$.parseWhileStatement=function(t){return this.next(),t.test=this.parseParenExpression(),this.labels.push(Q),t.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(t,"WhileStatement")},$.parseWithStatement=function(t){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),t.object=this.parseParenExpression(),t.body=this.parseStatement("with"),this.finishNode(t,"WithStatement")},$.parseEmptyStatement=function(t){return this.next(),this.finishNode(t,"EmptyStatement")},$.parseLabeledStatement=function(t,e,o,i){for(var n=0,r=this.labels;n<r.length;n+=1)r[n].name===e&&this.raise(o.start,"Label '"+e+"' is already declared");for(var s=this.type.isLoop?"loop":this.type===C._switch?"switch":null,a=this.labels.length-1;a>=0;a--){var l=this.labels[a];if(l.statementStart!==t.start)break;l.statementStart=this.start,l.kind=s}return this.labels.push({name:e,kind:s,statementStart:this.start}),t.body=this.parseStatement(i?-1===i.indexOf("label")?i+"label":i:"label"),this.labels.pop(),t.label=o,this.finishNode(t,"LabeledStatement")},$.parseExpressionStatement=function(t,e){return t.expression=e,this.semicolon(),this.finishNode(t,"ExpressionStatement")},$.parseBlock=function(t,e,o){for(void 0===t&&(t=!0),void 0===e&&(e=this.startNode()),e.body=[],this.expect(C.braceL),t&&this.enterScope(0);this.type!==C.braceR;){var i=this.parseStatement(null);e.body.push(i)}return o&&(this.strict=!1),this.next(),t&&this.exitScope(),this.finishNode(e,"BlockStatement")},$.parseFor=function(t,e){return t.init=e,this.expect(C.semi),t.test=this.type===C.semi?null:this.parseExpression(),this.expect(C.semi),t.update=this.type===C.parenR?null:this.parseExpression(),this.expect(C.parenR),t.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(t,"ForStatement")},$.parseForIn=function(t,e){var o=this.type===C._in;return this.next(),"VariableDeclaration"===e.type&&null!=e.declarations[0].init&&(!o||this.options.ecmaVersion<8||this.strict||"var"!==e.kind||"Identifier"!==e.declarations[0].id.type)&&this.raise(e.start,(o?"for-in":"for-of")+" loop variable declaration may not have an initializer"),t.left=e,t.right=o?this.parseExpression():this.parseMaybeAssign(),this.expect(C.parenR),t.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(t,o?"ForInStatement":"ForOfStatement")},$.parseVar=function(t,e,o,i){for(t.declarations=[],t.kind=o;;){var n=this.startNode();if(this.parseVarId(n,o),this.eat(C.eq)?n.init=this.parseMaybeAssign(e):i||"const"!==o||this.type===C._in||this.options.ecmaVersion>=6&&this.isContextual("of")?i||"using"!==o&&"await using"!==o||!(this.options.ecmaVersion>=17)||this.type===C._in||this.isContextual("of")?i||"Identifier"===n.id.type||e&&(this.type===C._in||this.isContextual("of"))?n.init=null:this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):this.raise(this.lastTokEnd,"Missing initializer in "+o+" declaration"):this.unexpected(),t.declarations.push(this.finishNode(n,"VariableDeclarator")),!this.eat(C.comma))break}return t},$.parseVarId=function(t,e){t.id="using"===e||"await using"===e?this.parseIdent():this.parseBindingAtom(),this.checkLValPattern(t.id,"var"===e?1:2,!1)};var J=1,tt=2;function et(t,e){var o=e.key.name,i=t[o],n="true";return"MethodDefinition"!==e.type||"get"!==e.kind&&"set"!==e.kind||(n=(e.static?"s":"i")+e.kind),"iget"===i&&"iset"===n||"iset"===i&&"iget"===n||"sget"===i&&"sset"===n||"sset"===i&&"sget"===n?(t[o]="true",!1):!!i||(t[o]=n,!1)}function ot(t,e){var o=t.computed,i=t.key;return!o&&("Identifier"===i.type&&i.name===e||"Literal"===i.type&&i.value===e)}$.parseFunction=function(t,e,o,i,n){this.initFunction(t),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!i)&&(this.type===C.star&&e&tt&&this.unexpected(),t.generator=this.eat(C.star)),this.options.ecmaVersion>=8&&(t.async=!!i),e&J&&(t.id=4&e&&this.type!==C.name?null:this.parseIdent(),!t.id||e&tt||this.checkLValSimple(t.id,this.strict||t.generator||t.async?this.treatFunctionsAsVar?1:2:3));var r=this.yieldPos,s=this.awaitPos,a=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(j(t.async,t.generator)),e&J||(t.id=this.type===C.name?this.parseIdent():null),this.parseFunctionParams(t),this.parseFunctionBody(t,o,!1,n),this.yieldPos=r,this.awaitPos=s,this.awaitIdentPos=a,this.finishNode(t,e&J?"FunctionDeclaration":"FunctionExpression")},$.parseFunctionParams=function(t){this.expect(C.parenL),t.params=this.parseBindingList(C.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},$.parseClass=function(t,e){this.next();var o=this.strict;this.strict=!0,this.parseClassId(t,e),this.parseClassSuper(t);var i=this.enterClassBody(),n=this.startNode(),r=!1;for(n.body=[],this.expect(C.braceL);this.type!==C.braceR;){var s=this.parseClassElement(null!==t.superClass);s&&(n.body.push(s),"MethodDefinition"===s.type&&"constructor"===s.kind?(r&&this.raiseRecoverable(s.start,"Duplicate constructor in the same class"),r=!0):s.key&&"PrivateIdentifier"===s.key.type&&et(i,s)&&this.raiseRecoverable(s.key.start,"Identifier '#"+s.key.name+"' has already been declared"))}return this.strict=o,this.next(),t.body=this.finishNode(n,"ClassBody"),this.exitClassBody(),this.finishNode(t,e?"ClassDeclaration":"ClassExpression")},$.parseClassElement=function(t){if(this.eat(C.semi))return null;var e=this.options.ecmaVersion,o=this.startNode(),i="",n=!1,r=!1,s="method",a=!1;if(this.eatContextual("static")){if(e>=13&&this.eat(C.braceL))return this.parseClassStaticBlock(o),o;this.isClassElementNameStart()||this.type===C.star?a=!0:i="static"}if(o.static=a,!i&&e>=8&&this.eatContextual("async")&&(!this.isClassElementNameStart()&&this.type!==C.star||this.canInsertSemicolon()?i="async":r=!0),!i&&(e>=9||!r)&&this.eat(C.star)&&(n=!0),!i&&!r&&!n){var l=this.value;(this.eatContextual("get")||this.eatContextual("set"))&&(this.isClassElementNameStart()?s=l:i=l)}if(i?(o.computed=!1,o.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc),o.key.name=i,this.finishNode(o.key,"Identifier")):this.parseClassElementName(o),e<13||this.type===C.parenL||"method"!==s||n||r){var p=!o.static&&ot(o,"constructor"),u=p&&t;p&&"method"!==s&&this.raise(o.key.start,"Constructor can't have get/set modifier"),o.kind=p?"constructor":s,this.parseClassMethod(o,n,r,u)}else this.parseClassField(o);return o},$.isClassElementNameStart=function(){return this.type===C.name||this.type===C.privateId||this.type===C.num||this.type===C.string||this.type===C.bracketL||this.type.keyword},$.parseClassElementName=function(t){this.type===C.privateId?("constructor"===this.value&&this.raise(this.start,"Classes can't have an element named '#constructor'"),t.computed=!1,t.key=this.parsePrivateIdent()):this.parsePropertyName(t)},$.parseClassMethod=function(t,e,o,i){var n=t.key;"constructor"===t.kind?(e&&this.raise(n.start,"Constructor can't be a generator"),o&&this.raise(n.start,"Constructor can't be an async method")):t.static&&ot(t,"prototype")&&this.raise(n.start,"Classes may not have a static property named prototype");var r=t.value=this.parseMethod(e,o,i);return"get"===t.kind&&0!==r.params.length&&this.raiseRecoverable(r.start,"getter should have no params"),"set"===t.kind&&1!==r.params.length&&this.raiseRecoverable(r.start,"setter should have exactly one param"),"set"===t.kind&&"RestElement"===r.params[0].type&&this.raiseRecoverable(r.params[0].start,"Setter cannot use rest params"),this.finishNode(t,"MethodDefinition")},$.parseClassField=function(t){return ot(t,"constructor")?this.raise(t.key.start,"Classes can't have a field named 'constructor'"):t.static&&ot(t,"prototype")&&this.raise(t.key.start,"Classes can't have a static field named 'prototype'"),this.eat(C.eq)?(this.enterScope(576),t.value=this.parseMaybeAssign(),this.exitScope()):t.value=null,this.semicolon(),this.finishNode(t,"PropertyDefinition")},$.parseClassStaticBlock=function(t){t.body=[];var e=this.labels;for(this.labels=[],this.enterScope(320);this.type!==C.braceR;){var o=this.parseStatement(null);t.body.push(o)}return this.next(),this.exitScope(),this.labels=e,this.finishNode(t,"StaticBlock")},$.parseClassId=function(t,e){this.type===C.name?(t.id=this.parseIdent(),e&&this.checkLValSimple(t.id,2,!1)):(!0===e&&this.unexpected(),t.id=null)},$.parseClassSuper=function(t){t.superClass=this.eat(C._extends)?this.parseExprSubscripts(null,!1):null},$.enterClassBody=function(){var t={declared:Object.create(null),used:[]};return this.privateNameStack.push(t),t.declared},$.exitClassBody=function(){var t=this.privateNameStack.pop(),e=t.declared,o=t.used;if(this.options.checkPrivateFields)for(var i=this.privateNameStack.length,n=0===i?null:this.privateNameStack[i-1],r=0;r<o.length;++r){var s=o[r];P(e,s.name)||(n?n.used.push(s):this.raiseRecoverable(s.start,"Private field '#"+s.name+"' must be declared in an enclosing class"))}},$.parseExportAllDeclaration=function(t,e){return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(t.exported=this.parseModuleExportName(),this.checkExport(e,t.exported,this.lastTokStart)):t.exported=null),this.expectContextual("from"),this.type!==C.string&&this.unexpected(),t.source=this.parseExprAtom(),this.options.ecmaVersion>=16&&(t.attributes=this.parseWithClause()),this.semicolon(),this.finishNode(t,"ExportAllDeclaration")},$.parseExport=function(t,e){if(this.next(),this.eat(C.star))return this.parseExportAllDeclaration(t,e);if(this.eat(C._default))return this.checkExport(e,"default",this.lastTokStart),t.declaration=this.parseExportDefaultDeclaration(),this.finishNode(t,"ExportDefaultDeclaration");if(this.shouldParseExportStatement())t.declaration=this.parseExportDeclaration(t),"VariableDeclaration"===t.declaration.type?this.checkVariableExport(e,t.declaration.declarations):this.checkExport(e,t.declaration.id,t.declaration.id.start),t.specifiers=[],t.source=null,this.options.ecmaVersion>=16&&(t.attributes=[]);else{if(t.declaration=null,t.specifiers=this.parseExportSpecifiers(e),this.eatContextual("from"))this.type!==C.string&&this.unexpected(),t.source=this.parseExprAtom(),this.options.ecmaVersion>=16&&(t.attributes=this.parseWithClause());else{for(var o=0,i=t.specifiers;o<i.length;o+=1){var n=i[o];this.checkUnreserved(n.local),this.checkLocalExport(n.local),"Literal"===n.local.type&&this.raise(n.local.start,"A string literal cannot be used as an exported binding without `from`.")}t.source=null,this.options.ecmaVersion>=16&&(t.attributes=[])}this.semicolon()}return this.finishNode(t,"ExportNamedDeclaration")},$.parseExportDeclaration=function(t){return this.parseStatement(null)},$.parseExportDefaultDeclaration=function(){var t;if(this.type===C._function||(t=this.isAsyncFunction())){var e=this.startNode();return this.next(),t&&this.next(),this.parseFunction(e,4|J,!1,t)}if(this.type===C._class){var o=this.startNode();return this.parseClass(o,"nullableID")}var i=this.parseMaybeAssign();return this.semicolon(),i},$.checkExport=function(t,e,o){t&&("string"!=typeof e&&(e="Identifier"===e.type?e.name:e.value),P(t,e)&&this.raiseRecoverable(o,"Duplicate export '"+e+"'"),t[e]=!0)},$.checkPatternExport=function(t,e){var o=e.type;if("Identifier"===o)this.checkExport(t,e,e.start);else if("ObjectPattern"===o)for(var i=0,n=e.properties;i<n.length;i+=1){var r=n[i];this.checkPatternExport(t,r)}else if("ArrayPattern"===o)for(var s=0,a=e.elements;s<a.length;s+=1){var l=a[s];l&&this.checkPatternExport(t,l)}else"Property"===o?this.checkPatternExport(t,e.value):"AssignmentPattern"===o?this.checkPatternExport(t,e.left):"RestElement"===o&&this.checkPatternExport(t,e.argument)},$.checkVariableExport=function(t,e){if(t)for(var o=0,i=e;o<i.length;o+=1){var n=i[o];this.checkPatternExport(t,n.id)}},$.shouldParseExportStatement=function(){return"var"===this.type.keyword||"const"===this.type.keyword||"class"===this.type.keyword||"function"===this.type.keyword||this.isLet()||this.isAsyncFunction()},$.parseExportSpecifier=function(t){var e=this.startNode();return e.local=this.parseModuleExportName(),e.exported=this.eatContextual("as")?this.parseModuleExportName():e.local,this.checkExport(t,e.exported,e.exported.start),this.finishNode(e,"ExportSpecifier")},$.parseExportSpecifiers=function(t){var e=[],o=!0;for(this.expect(C.braceL);!this.eat(C.braceR);){if(o)o=!1;else if(this.expect(C.comma),this.afterTrailingComma(C.braceR))break;e.push(this.parseExportSpecifier(t))}return e},$.parseImport=function(t){return this.next(),this.type===C.string?(t.specifiers=Z,t.source=this.parseExprAtom()):(t.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),t.source=this.type===C.string?this.parseExprAtom():this.unexpected()),this.options.ecmaVersion>=16&&(t.attributes=this.parseWithClause()),this.semicolon(),this.finishNode(t,"ImportDeclaration")},$.parseImportSpecifier=function(){var t=this.startNode();return t.imported=this.parseModuleExportName(),this.eatContextual("as")?t.local=this.parseIdent():(this.checkUnreserved(t.imported),t.local=t.imported),this.checkLValSimple(t.local,2),this.finishNode(t,"ImportSpecifier")},$.parseImportDefaultSpecifier=function(){var t=this.startNode();return t.local=this.parseIdent(),this.checkLValSimple(t.local,2),this.finishNode(t,"ImportDefaultSpecifier")},$.parseImportNamespaceSpecifier=function(){var t=this.startNode();return this.next(),this.expectContextual("as"),t.local=this.parseIdent(),this.checkLValSimple(t.local,2),this.finishNode(t,"ImportNamespaceSpecifier")},$.parseImportSpecifiers=function(){var t=[],e=!0;if(this.type===C.name&&(t.push(this.parseImportDefaultSpecifier()),!this.eat(C.comma)))return t;if(this.type===C.star)return t.push(this.parseImportNamespaceSpecifier()),t;for(this.expect(C.braceL);!this.eat(C.braceR);){if(e)e=!1;else if(this.expect(C.comma),this.afterTrailingComma(C.braceR))break;t.push(this.parseImportSpecifier())}return t},$.parseWithClause=function(){var t=[];if(!this.eat(C._with))return t;this.expect(C.braceL);for(var e={},o=!0;!this.eat(C.braceR);){if(o)o=!1;else if(this.expect(C.comma),this.afterTrailingComma(C.braceR))break;var i=this.parseImportAttribute(),n="Identifier"===i.key.type?i.key.name:i.key.value;P(e,n)&&this.raiseRecoverable(i.key.start,"Duplicate attribute key '"+n+"'"),e[n]=!0,t.push(i)}return t},$.parseImportAttribute=function(){var t=this.startNode();return t.key=this.type===C.string?this.parseExprAtom():this.parseIdent("never"!==this.options.allowReserved),this.expect(C.colon),this.type!==C.string&&this.unexpected(),t.value=this.parseExprAtom(),this.finishNode(t,"ImportAttribute")},$.parseModuleExportName=function(){if(this.options.ecmaVersion>=13&&this.type===C.string){var t=this.parseLiteral(this.value);return I.test(t.value)&&this.raise(t.start,"An export name cannot include a lone surrogate."),t}return this.parseIdent(!0)},$.adaptDirectivePrologue=function(t){for(var e=0;e<t.length&&this.isDirectiveCandidate(t[e]);++e)t[e].directive=t[e].expression.raw.slice(1,-1)},$.isDirectiveCandidate=function(t){return this.options.ecmaVersion>=5&&"ExpressionStatement"===t.type&&"Literal"===t.expression.type&&"string"==typeof t.expression.value&&('"'===this.input[t.start]||"'"===this.input[t.start])};var it=U.prototype;it.toAssignable=function(t,e,o){if(this.options.ecmaVersion>=6&&t)switch(t.type){case"Identifier":this.inAsync&&"await"===t.name&&this.raise(t.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":t.type="ObjectPattern",o&&this.checkPatternErrors(o,!0);for(var i=0,n=t.properties;i<n.length;i+=1){var r=n[i];this.toAssignable(r,e),"RestElement"!==r.type||"ArrayPattern"!==r.argument.type&&"ObjectPattern"!==r.argument.type||this.raise(r.argument.start,"Unexpected token")}break;case"Property":"init"!==t.kind&&this.raise(t.key.start,"Object pattern can't contain getter or setter"),this.toAssignable(t.value,e);break;case"ArrayExpression":t.type="ArrayPattern",o&&this.checkPatternErrors(o,!0),this.toAssignableList(t.elements,e);break;case"SpreadElement":t.type="RestElement",this.toAssignable(t.argument,e),"AssignmentPattern"===t.argument.type&&this.raise(t.argument.start,"Rest elements cannot have a default value");break;case"AssignmentExpression":"="!==t.operator&&this.raise(t.left.end,"Only '=' operator can be used for specifying default value."),t.type="AssignmentPattern",delete t.operator,this.toAssignable(t.left,e);break;case"ParenthesizedExpression":this.toAssignable(t.expression,e,o);break;case"ChainExpression":this.raiseRecoverable(t.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!e)break;default:this.raise(t.start,"Assigning to rvalue")}else o&&this.checkPatternErrors(o,!0);return t},it.toAssignableList=function(t,e){for(var o=t.length,i=0;i<o;i++){var n=t[i];n&&this.toAssignable(n,e)}if(o){var r=t[o-1];6===this.options.ecmaVersion&&e&&r&&"RestElement"===r.type&&"Identifier"!==r.argument.type&&this.unexpected(r.argument.start)}return t},it.parseSpread=function(t){var e=this.startNode();return this.next(),e.argument=this.parseMaybeAssign(!1,t),this.finishNode(e,"SpreadElement")},it.parseRestBinding=function(){var t=this.startNode();return this.next(),6===this.options.ecmaVersion&&this.type!==C.name&&this.unexpected(),t.argument=this.parseBindingAtom(),this.finishNode(t,"RestElement")},it.parseBindingAtom=function(){if(this.options.ecmaVersion>=6)switch(this.type){case C.bracketL:var t=this.startNode();return this.next(),t.elements=this.parseBindingList(C.bracketR,!0,!0),this.finishNode(t,"ArrayPattern");case C.braceL:return this.parseObj(!0)}return this.parseIdent()},it.parseBindingList=function(t,e,o,i){for(var n=[],r=!0;!this.eat(t);)if(r?r=!1:this.expect(C.comma),e&&this.type===C.comma)n.push(null);else{if(o&&this.afterTrailingComma(t))break;if(this.type===C.ellipsis){var s=this.parseRestBinding();this.parseBindingListItem(s),n.push(s),this.type===C.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.expect(t);break}n.push(this.parseAssignableListItem(i))}return n},it.parseAssignableListItem=function(t){var e=this.parseMaybeDefault(this.start,this.startLoc);return this.parseBindingListItem(e),e},it.parseBindingListItem=function(t){return t},it.parseMaybeDefault=function(t,e,o){if(o=o||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(C.eq))return o;var i=this.startNodeAt(t,e);return i.left=o,i.right=this.parseMaybeAssign(),this.finishNode(i,"AssignmentPattern")},it.checkLValSimple=function(t,e,o){void 0===e&&(e=0);var i=0!==e;switch(t.type){case"Identifier":this.strict&&this.reservedWordsStrictBind.test(t.name)&&this.raiseRecoverable(t.start,(i?"Binding ":"Assigning to ")+t.name+" in strict mode"),i&&(2===e&&"let"===t.name&&this.raiseRecoverable(t.start,"let is disallowed as a lexically bound name"),o&&(P(o,t.name)&&this.raiseRecoverable(t.start,"Argument name clash"),o[t.name]=!0),5!==e&&this.declareName(t.name,e,t.start));break;case"ChainExpression":this.raiseRecoverable(t.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":i&&this.raiseRecoverable(t.start,"Binding member expression");break;case"ParenthesizedExpression":return i&&this.raiseRecoverable(t.start,"Binding parenthesized expression"),this.checkLValSimple(t.expression,e,o);default:this.raise(t.start,(i?"Binding":"Assigning to")+" rvalue")}},it.checkLValPattern=function(t,e,o){switch(void 0===e&&(e=0),t.type){case"ObjectPattern":for(var i=0,n=t.properties;i<n.length;i+=1){var r=n[i];this.checkLValInnerPattern(r,e,o)}break;case"ArrayPattern":for(var s=0,a=t.elements;s<a.length;s+=1){var l=a[s];l&&this.checkLValInnerPattern(l,e,o)}break;default:this.checkLValSimple(t,e,o)}},it.checkLValInnerPattern=function(t,e,o){switch(void 0===e&&(e=0),t.type){case"Property":this.checkLValInnerPattern(t.value,e,o);break;case"AssignmentPattern":this.checkLValPattern(t.left,e,o);break;case"RestElement":this.checkLValPattern(t.argument,e,o);break;default:this.checkLValPattern(t,e,o)}};var nt=function(t,e,o,i,n){this.token=t,this.isExpr=!!e,this.preserveSpace=!!o,this.override=i,this.generator=!!n},rt={b_stat:new nt("{",!1),b_expr:new nt("{",!0),b_tmpl:new nt("${",!1),p_stat:new nt("(",!1),p_expr:new nt("(",!0),q_tmpl:new nt("`",!0,!0,(function(t){return t.tryReadTemplateToken()})),f_stat:new nt("function",!1),f_expr:new nt("function",!0),f_expr_gen:new nt("function",!0,!1,null,!0),f_gen:new nt("function",!1,!1,null,!0)},st=U.prototype;st.initialContext=function(){return[rt.b_stat]},st.curContext=function(){return this.context[this.context.length-1]},st.braceIsBlock=function(t){var e=this.curContext();return e===rt.f_expr||e===rt.f_stat||(t!==C.colon||e!==rt.b_stat&&e!==rt.b_expr?t===C._return||t===C.name&&this.exprAllowed?E.test(this.input.slice(this.lastTokEnd,this.start)):t===C._else||t===C.semi||t===C.eof||t===C.parenR||t===C.arrow||(t===C.braceL?e===rt.b_stat:t!==C._var&&t!==C._const&&t!==C.name&&!this.exprAllowed):!e.isExpr)},st.inGeneratorContext=function(){for(var t=this.context.length-1;t>=1;t--){var e=this.context[t];if("function"===e.token)return e.generator}return!1},st.updateContext=function(t){var e,o=this.type;o.keyword&&t===C.dot?this.exprAllowed=!1:(e=o.updateContext)?e.call(this,t):this.exprAllowed=o.beforeExpr},st.overrideContext=function(t){this.curContext()!==t&&(this.context[this.context.length-1]=t)},C.parenR.updateContext=C.braceR.updateContext=function(){if(1!==this.context.length){var t=this.context.pop();t===rt.b_stat&&"function"===this.curContext().token&&(t=this.context.pop()),this.exprAllowed=!t.isExpr}else this.exprAllowed=!0},C.braceL.updateContext=function(t){this.context.push(this.braceIsBlock(t)?rt.b_stat:rt.b_expr),this.exprAllowed=!0},C.dollarBraceL.updateContext=function(){this.context.push(rt.b_tmpl),this.exprAllowed=!0},C.parenL.updateContext=function(t){var e=t===C._if||t===C._for||t===C._with||t===C._while;this.context.push(e?rt.p_stat:rt.p_expr),this.exprAllowed=!0},C.incDec.updateContext=function(){},C._function.updateContext=C._class.updateContext=function(t){!t.beforeExpr||t===C._else||t===C.semi&&this.curContext()!==rt.p_stat||t===C._return&&E.test(this.input.slice(this.lastTokEnd,this.start))||(t===C.colon||t===C.braceL)&&this.curContext()===rt.b_stat?this.context.push(rt.f_stat):this.context.push(rt.f_expr),this.exprAllowed=!1},C.colon.updateContext=function(){"function"===this.curContext().token&&this.context.pop(),this.exprAllowed=!0},C.backQuote.updateContext=function(){this.curContext()===rt.q_tmpl?this.context.pop():this.context.push(rt.q_tmpl),this.exprAllowed=!1},C.star.updateContext=function(t){if(t===C._function){var e=this.context.length-1;this.context[e]===rt.f_expr?this.context[e]=rt.f_expr_gen:this.context[e]=rt.f_gen}this.exprAllowed=!0},C.name.updateContext=function(t){var e=!1;this.options.ecmaVersion>=6&&t!==C.dot&&("of"===this.value&&!this.exprAllowed||"yield"===this.value&&this.inGeneratorContext())&&(e=!0),this.exprAllowed=e};var at=U.prototype;function lt(t){return"Identifier"===t.type||"ParenthesizedExpression"===t.type&<(t.expression)}function pt(t){return"MemberExpression"===t.type&&"PrivateIdentifier"===t.property.type||"ChainExpression"===t.type&&pt(t.expression)||"ParenthesizedExpression"===t.type&&pt(t.expression)}at.checkPropClash=function(t,e,o){if(!(this.options.ecmaVersion>=9&&"SpreadElement"===t.type||this.options.ecmaVersion>=6&&(t.computed||t.method||t.shorthand))){var i,n=t.key;switch(n.type){case"Identifier":i=n.name;break;case"Literal":i=String(n.value);break;default:return}var r=t.kind;if(this.options.ecmaVersion>=6)"__proto__"===i&&"init"===r&&(e.proto&&(o?o.doubleProto<0&&(o.doubleProto=n.start):this.raiseRecoverable(n.start,"Redefinition of __proto__ property")),e.proto=!0);else{var s=e[i="$"+i];s?("init"===r?this.strict&&s.init||s.get||s.set:s.init||s[r])&&this.raiseRecoverable(n.start,"Redefinition of property"):s=e[i]={init:!1,get:!1,set:!1},s[r]=!0}}},at.parseExpression=function(t,e){var o=this.start,i=this.startLoc,n=this.parseMaybeAssign(t,e);if(this.type===C.comma){var r=this.startNodeAt(o,i);for(r.expressions=[n];this.eat(C.comma);)r.expressions.push(this.parseMaybeAssign(t,e));return this.finishNode(r,"SequenceExpression")}return n},at.parseMaybeAssign=function(t,e,o){if(this.isContextual("yield")){if(this.inGenerator)return this.parseYield(t);this.exprAllowed=!1}var i=!1,n=-1,r=-1,s=-1;e?(n=e.parenthesizedAssign,r=e.trailingComma,s=e.doubleProto,e.parenthesizedAssign=e.trailingComma=-1):(e=new q,i=!0);var a=this.start,l=this.startLoc;this.type!==C.parenL&&this.type!==C.name||(this.potentialArrowAt=this.start,this.potentialArrowInForAwait="await"===t);var p=this.parseMaybeConditional(t,e);if(o&&(p=o.call(this,p,a,l)),this.type.isAssign){var u=this.startNodeAt(a,l);return u.operator=this.value,this.type===C.eq&&(p=this.toAssignable(p,!1,e)),i||(e.parenthesizedAssign=e.trailingComma=e.doubleProto=-1),e.shorthandAssign>=p.start&&(e.shorthandAssign=-1),this.type===C.eq?this.checkLValPattern(p):this.checkLValSimple(p),u.left=p,this.next(),u.right=this.parseMaybeAssign(t),s>-1&&(e.doubleProto=s),this.finishNode(u,"AssignmentExpression")}return i&&this.checkExpressionErrors(e,!0),n>-1&&(e.parenthesizedAssign=n),r>-1&&(e.trailingComma=r),p},at.parseMaybeConditional=function(t,e){var o=this.start,i=this.startLoc,n=this.parseExprOps(t,e);if(this.checkExpressionErrors(e))return n;if(this.eat(C.question)){var r=this.startNodeAt(o,i);return r.test=n,r.consequent=this.parseMaybeAssign(),this.expect(C.colon),r.alternate=this.parseMaybeAssign(t),this.finishNode(r,"ConditionalExpression")}return n},at.parseExprOps=function(t,e){var o=this.start,i=this.startLoc,n=this.parseMaybeUnary(e,!1,!1,t);return this.checkExpressionErrors(e)||n.start===o&&"ArrowFunctionExpression"===n.type?n:this.parseExprOp(n,o,i,-1,t)},at.parseExprOp=function(t,e,o,i,n){var r=this.type.binop;if(null!=r&&(!n||this.type!==C._in)&&r>i){var s=this.type===C.logicalOR||this.type===C.logicalAND,a=this.type===C.coalesce;a&&(r=C.logicalAND.binop);var l=this.value;this.next();var p=this.start,u=this.startLoc,c=this.parseExprOp(this.parseMaybeUnary(null,!1,!1,n),p,u,r,n),d=this.buildBinary(e,o,t,c,l,s||a);return(s&&this.type===C.coalesce||a&&(this.type===C.logicalOR||this.type===C.logicalAND))&&this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"),this.parseExprOp(d,e,o,i,n)}return t},at.buildBinary=function(t,e,o,i,n,r){"PrivateIdentifier"===i.type&&this.raise(i.start,"Private identifier can only be left side of binary expression");var s=this.startNodeAt(t,e);return s.left=o,s.operator=n,s.right=i,this.finishNode(s,r?"LogicalExpression":"BinaryExpression")},at.parseMaybeUnary=function(t,e,o,i){var n,r=this.start,s=this.startLoc;if(this.isContextual("await")&&this.canAwait)n=this.parseAwait(i),e=!0;else if(this.type.prefix){var a=this.startNode(),l=this.type===C.incDec;a.operator=this.value,a.prefix=!0,this.next(),a.argument=this.parseMaybeUnary(null,!0,l,i),this.checkExpressionErrors(t,!0),l?this.checkLValSimple(a.argument):this.strict&&"delete"===a.operator&<(a.argument)?this.raiseRecoverable(a.start,"Deleting local variable in strict mode"):"delete"===a.operator&&pt(a.argument)?this.raiseRecoverable(a.start,"Private fields can not be deleted"):e=!0,n=this.finishNode(a,l?"UpdateExpression":"UnaryExpression")}else if(e||this.type!==C.privateId){if(n=this.parseExprSubscripts(t,i),this.checkExpressionErrors(t))return n;for(;this.type.postfix&&!this.canInsertSemicolon();){var p=this.startNodeAt(r,s);p.operator=this.value,p.prefix=!1,p.argument=n,this.checkLValSimple(n),this.next(),n=this.finishNode(p,"UpdateExpression")}}else(i||0===this.privateNameStack.length)&&this.options.checkPrivateFields&&this.unexpected(),n=this.parsePrivateIdent(),this.type!==C._in&&this.unexpected();return o||!this.eat(C.starstar)?n:e?void this.unexpected(this.lastTokStart):this.buildBinary(r,s,n,this.parseMaybeUnary(null,!1,!1,i),"**",!1)},at.parseExprSubscripts=function(t,e){var o=this.start,i=this.startLoc,n=this.parseExprAtom(t,e);if("ArrowFunctionExpression"===n.type&&")"!==this.input.slice(this.lastTokStart,this.lastTokEnd))return n;var r=this.parseSubscripts(n,o,i,!1,e);return t&&"MemberExpression"===r.type&&(t.parenthesizedAssign>=r.start&&(t.parenthesizedAssign=-1),t.parenthesizedBind>=r.start&&(t.parenthesizedBind=-1),t.trailingComma>=r.start&&(t.trailingComma=-1)),r},at.parseSubscripts=function(t,e,o,i,n){for(var r=this.options.ecmaVersion>=8&&"Identifier"===t.type&&"async"===t.name&&this.lastTokEnd===t.end&&!this.canInsertSemicolon()&&t.end-t.start==5&&this.potentialArrowAt===t.start,s=!1;;){var a=this.parseSubscript(t,e,o,i,r,s,n);if(a.optional&&(s=!0),a===t||"ArrowFunctionExpression"===a.type){if(s){var l=this.startNodeAt(e,o);l.expression=a,a=this.finishNode(l,"ChainExpression")}return a}t=a}},at.shouldParseAsyncArrow=function(){return!this.canInsertSemicolon()&&this.eat(C.arrow)},at.parseSubscriptAsyncArrow=function(t,e,o,i){return this.parseArrowExpression(this.startNodeAt(t,e),o,!0,i)},at.parseSubscript=function(t,e,o,i,n,r,s){var a=this.options.ecmaVersion>=11,l=a&&this.eat(C.questionDot);i&&l&&this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions");var p=this.eat(C.bracketL);if(p||l&&this.type!==C.parenL&&this.type!==C.backQuote||this.eat(C.dot)){var u=this.startNodeAt(e,o);u.object=t,p?(u.property=this.parseExpression(),this.expect(C.bracketR)):this.type===C.privateId&&"Super"!==t.type?u.property=this.parsePrivateIdent():u.property=this.parseIdent("never"!==this.options.allowReserved),u.computed=!!p,a&&(u.optional=l),t=this.finishNode(u,"MemberExpression")}else if(!i&&this.eat(C.parenL)){var c=new q,d=this.yieldPos,h=this.awaitPos,f=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var g=this.parseExprList(C.parenR,this.options.ecmaVersion>=8,!1,c);if(n&&!l&&this.shouldParseAsyncArrow())return this.checkPatternErrors(c,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=d,this.awaitPos=h,this.awaitIdentPos=f,this.parseSubscriptAsyncArrow(e,o,g,s);this.checkExpressionErrors(c,!0),this.yieldPos=d||this.yieldPos,this.awaitPos=h||this.awaitPos,this.awaitIdentPos=f||this.awaitIdentPos;var y=this.startNodeAt(e,o);y.callee=t,y.arguments=g,a&&(y.optional=l),t=this.finishNode(y,"CallExpression")}else if(this.type===C.backQuote){(l||r)&&this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions");var m=this.startNodeAt(e,o);m.tag=t,m.quasi=this.parseTemplate({isTagged:!0}),t=this.finishNode(m,"TaggedTemplateExpression")}return t},at.parseExprAtom=function(t,e,o){this.type===C.slash&&this.readRegexp();var i,n=this.potentialArrowAt===this.start;switch(this.type){case C._super:return this.allowSuper||this.raise(this.start,"'super' keyword outside a method"),i=this.startNode(),this.next(),this.type!==C.parenL||this.allowDirectSuper||this.raise(i.start,"super() call outside constructor of a subclass"),this.type!==C.dot&&this.type!==C.bracketL&&this.type!==C.parenL&&this.unexpected(),this.finishNode(i,"Super");case C._this:return i=this.startNode(),this.next(),this.finishNode(i,"ThisExpression");case C.name:var r=this.start,s=this.startLoc,a=this.containsEsc,l=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!a&&"async"===l.name&&!this.canInsertSemicolon()&&this.eat(C._function))return this.overrideContext(rt.f_expr),this.parseFunction(this.startNodeAt(r,s),0,!1,!0,e);if(n&&!this.canInsertSemicolon()){if(this.eat(C.arrow))return this.parseArrowExpression(this.startNodeAt(r,s),[l],!1,e);if(this.options.ecmaVersion>=8&&"async"===l.name&&this.type===C.name&&!a&&(!this.potentialArrowInForAwait||"of"!==this.value||this.containsEsc))return l=this.parseIdent(!1),!this.canInsertSemicolon()&&this.eat(C.arrow)||this.unexpected(),this.parseArrowExpression(this.startNodeAt(r,s),[l],!0,e)}return l;case C.regexp:var p=this.value;return(i=this.parseLiteral(p.value)).regex={pattern:p.pattern,flags:p.flags},i;case C.num:case C.string:return this.parseLiteral(this.value);case C._null:case C._true:case C._false:return(i=this.startNode()).value=this.type===C._null?null:this.type===C._true,i.raw=this.type.keyword,this.next(),this.finishNode(i,"Literal");case C.parenL:var u=this.start,c=this.parseParenAndDistinguishExpression(n,e);return t&&(t.parenthesizedAssign<0&&!this.isSimpleAssignTarget(c)&&(t.parenthesizedAssign=u),t.parenthesizedBind<0&&(t.parenthesizedBind=u)),c;case C.bracketL:return i=this.startNode(),this.next(),i.elements=this.parseExprList(C.bracketR,!0,!0,t),this.finishNode(i,"ArrayExpression");case C.braceL:return this.overrideContext(rt.b_expr),this.parseObj(!1,t);case C._function:return i=this.startNode(),this.next(),this.parseFunction(i,0);case C._class:return this.parseClass(this.startNode(),!1);case C._new:return this.parseNew();case C.backQuote:return this.parseTemplate();case C._import:return this.options.ecmaVersion>=11?this.parseExprImport(o):this.unexpected();default:return this.parseExprAtomDefault()}},at.parseExprAtomDefault=function(){this.unexpected()},at.parseExprImport=function(t){var e=this.startNode();if(this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import"),this.next(),this.type===C.parenL&&!t)return this.parseDynamicImport(e);if(this.type===C.dot){var o=this.startNodeAt(e.start,e.loc&&e.loc.start);return o.name="import",e.meta=this.finishNode(o,"Identifier"),this.parseImportMeta(e)}this.unexpected()},at.parseDynamicImport=function(t){if(this.next(),t.source=this.parseMaybeAssign(),this.options.ecmaVersion>=16)this.eat(C.parenR)?t.options=null:(this.expect(C.comma),this.afterTrailingComma(C.parenR)?t.options=null:(t.options=this.parseMaybeAssign(),this.eat(C.parenR)||(this.expect(C.comma),this.afterTrailingComma(C.parenR)||this.unexpected())));else if(!this.eat(C.parenR)){var e=this.start;this.eat(C.comma)&&this.eat(C.parenR)?this.raiseRecoverable(e,"Trailing comma is not allowed in import()"):this.unexpected(e)}return this.finishNode(t,"ImportExpression")},at.parseImportMeta=function(t){this.next();var e=this.containsEsc;return t.property=this.parseIdent(!0),"meta"!==t.property.name&&this.raiseRecoverable(t.property.start,"The only valid meta property for import is 'import.meta'"),e&&this.raiseRecoverable(t.start,"'import.meta' must not contain escaped characters"),"module"===this.options.sourceType||this.options.allowImportExportEverywhere||this.raiseRecoverable(t.start,"Cannot use 'import.meta' outside a module"),this.finishNode(t,"MetaProperty")},at.parseLiteral=function(t){var e=this.startNode();return e.value=t,e.raw=this.input.slice(this.start,this.end),110===e.raw.charCodeAt(e.raw.length-1)&&(e.bigint=null!=e.value?e.value.toString():e.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(e,"Literal")},at.parseParenExpression=function(){this.expect(C.parenL);var t=this.parseExpression();return this.expect(C.parenR),t},at.shouldParseArrow=function(t){return!this.canInsertSemicolon()},at.parseParenAndDistinguishExpression=function(t,e){var o,i=this.start,n=this.startLoc,r=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var s,a=this.start,l=this.startLoc,p=[],u=!0,c=!1,d=new q,h=this.yieldPos,f=this.awaitPos;for(this.yieldPos=0,this.awaitPos=0;this.type!==C.parenR;){if(u?u=!1:this.expect(C.comma),r&&this.afterTrailingComma(C.parenR,!0)){c=!0;break}if(this.type===C.ellipsis){s=this.start,p.push(this.parseParenItem(this.parseRestBinding())),this.type===C.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element");break}p.push(this.parseMaybeAssign(!1,d,this.parseParenItem))}var g=this.lastTokEnd,y=this.lastTokEndLoc;if(this.expect(C.parenR),t&&this.shouldParseArrow(p)&&this.eat(C.arrow))return this.checkPatternErrors(d,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=h,this.awaitPos=f,this.parseParenArrowList(i,n,p,e);p.length&&!c||this.unexpected(this.lastTokStart),s&&this.unexpected(s),this.checkExpressionErrors(d,!0),this.yieldPos=h||this.yieldPos,this.awaitPos=f||this.awaitPos,p.length>1?((o=this.startNodeAt(a,l)).expressions=p,this.finishNodeAt(o,"SequenceExpression",g,y)):o=p[0]}else o=this.parseParenExpression();if(this.options.preserveParens){var m=this.startNodeAt(i,n);return m.expression=o,this.finishNode(m,"ParenthesizedExpression")}return o},at.parseParenItem=function(t){return t},at.parseParenArrowList=function(t,e,o,i){return this.parseArrowExpression(this.startNodeAt(t,e),o,!1,i)};var ut=[];at.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var t=this.startNode();if(this.next(),this.options.ecmaVersion>=6&&this.type===C.dot){var e=this.startNodeAt(t.start,t.loc&&t.loc.start);e.name="new",t.meta=this.finishNode(e,"Identifier"),this.next();var o=this.containsEsc;return t.property=this.parseIdent(!0),"target"!==t.property.name&&this.raiseRecoverable(t.property.start,"The only valid meta property for new is 'new.target'"),o&&this.raiseRecoverable(t.start,"'new.target' must not contain escaped characters"),this.allowNewDotTarget||this.raiseRecoverable(t.start,"'new.target' can only be used in functions and class static block"),this.finishNode(t,"MetaProperty")}var i=this.start,n=this.startLoc;return t.callee=this.parseSubscripts(this.parseExprAtom(null,!1,!0),i,n,!0,!1),this.eat(C.parenL)?t.arguments=this.parseExprList(C.parenR,this.options.ecmaVersion>=8,!1):t.arguments=ut,this.finishNode(t,"NewExpression")},at.parseTemplateElement=function(t){var e=t.isTagged,o=this.startNode();return this.type===C.invalidTemplate?(e||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),o.value={raw:this.value.replace(/\r\n?/g,"\n"),cooked:null}):o.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,"\n"),cooked:this.value},this.next(),o.tail=this.type===C.backQuote,this.finishNode(o,"TemplateElement")},at.parseTemplate=function(t){void 0===t&&(t={});var e=t.isTagged;void 0===e&&(e=!1);var o=this.startNode();this.next(),o.expressions=[];var i=this.parseTemplateElement({isTagged:e});for(o.quasis=[i];!i.tail;)this.type===C.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(C.dollarBraceL),o.expressions.push(this.parseExpression()),this.expect(C.braceR),o.quasis.push(i=this.parseTemplateElement({isTagged:e}));return this.next(),this.finishNode(o,"TemplateLiteral")},at.isAsyncProp=function(t){return!t.computed&&"Identifier"===t.key.type&&"async"===t.key.name&&(this.type===C.name||this.type===C.num||this.type===C.string||this.type===C.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===C.star)&&!E.test(this.input.slice(this.lastTokEnd,this.start))},at.parseObj=function(t,e){var o=this.startNode(),i=!0,n={};for(o.properties=[],this.next();!this.eat(C.braceR);){if(i)i=!1;else if(this.expect(C.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(C.braceR))break;var r=this.parseProperty(t,e);t||this.checkPropClash(r,n,e),o.properties.push(r)}return this.finishNode(o,t?"ObjectPattern":"ObjectExpression")},at.parseProperty=function(t,e){var o,i,n,r,s=this.startNode();if(this.options.ecmaVersion>=9&&this.eat(C.ellipsis))return t?(s.argument=this.parseIdent(!1),this.type===C.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.finishNode(s,"RestElement")):(s.argument=this.parseMaybeAssign(!1,e),this.type===C.comma&&e&&e.trailingComma<0&&(e.trailingComma=this.start),this.finishNode(s,"SpreadElement"));this.options.ecmaVersion>=6&&(s.method=!1,s.shorthand=!1,(t||e)&&(n=this.start,r=this.startLoc),t||(o=this.eat(C.star)));var a=this.containsEsc;return this.parsePropertyName(s),!t&&!a&&this.options.ecmaVersion>=8&&!o&&this.isAsyncProp(s)?(i=!0,o=this.options.ecmaVersion>=9&&this.eat(C.star),this.parsePropertyName(s)):i=!1,this.parsePropertyValue(s,t,o,i,n,r,e,a),this.finishNode(s,"Property")},at.parseGetterSetter=function(t){var e=t.key.name;this.parsePropertyName(t),t.value=this.parseMethod(!1),t.kind=e;var o="get"===t.kind?0:1;if(t.value.params.length!==o){var i=t.value.start;"get"===t.kind?this.raiseRecoverable(i,"getter should have no params"):this.raiseRecoverable(i,"setter should have exactly one param")}else"set"===t.kind&&"RestElement"===t.value.params[0].type&&this.raiseRecoverable(t.value.params[0].start,"Setter cannot use rest params")},at.parsePropertyValue=function(t,e,o,i,n,r,s,a){(o||i)&&this.type===C.colon&&this.unexpected(),this.eat(C.colon)?(t.value=e?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,s),t.kind="init"):this.options.ecmaVersion>=6&&this.type===C.parenL?(e&&this.unexpected(),t.method=!0,t.value=this.parseMethod(o,i),t.kind="init"):e||a||!(this.options.ecmaVersion>=5)||t.computed||"Identifier"!==t.key.type||"get"!==t.key.name&&"set"!==t.key.name||this.type===C.comma||this.type===C.braceR||this.type===C.eq?this.options.ecmaVersion>=6&&!t.computed&&"Identifier"===t.key.type?((o||i)&&this.unexpected(),this.checkUnreserved(t.key),"await"!==t.key.name||this.awaitIdentPos||(this.awaitIdentPos=n),e?t.value=this.parseMaybeDefault(n,r,this.copyNode(t.key)):this.type===C.eq&&s?(s.shorthandAssign<0&&(s.shorthandAssign=this.start),t.value=this.parseMaybeDefault(n,r,this.copyNode(t.key))):t.value=this.copyNode(t.key),t.kind="init",t.shorthand=!0):this.unexpected():((o||i)&&this.unexpected(),this.parseGetterSetter(t))},at.parsePropertyName=function(t){if(this.options.ecmaVersion>=6){if(this.eat(C.bracketL))return t.computed=!0,t.key=this.parseMaybeAssign(),this.expect(C.bracketR),t.key;t.computed=!1}return t.key=this.type===C.num||this.type===C.string?this.parseExprAtom():this.parseIdent("never"!==this.options.allowReserved)},at.initFunction=function(t){t.id=null,this.options.ecmaVersion>=6&&(t.generator=t.expression=!1),this.options.ecmaVersion>=8&&(t.async=!1)},at.parseMethod=function(t,e,o){var i=this.startNode(),n=this.yieldPos,r=this.awaitPos,s=this.awaitIdentPos;return this.initFunction(i),this.options.ecmaVersion>=6&&(i.generator=t),this.options.ecmaVersion>=8&&(i.async=!!e),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(64|j(e,i.generator)|(o?128:0)),this.expect(C.parenL),i.params=this.parseBindingList(C.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(i,!1,!0,!1),this.yieldPos=n,this.awaitPos=r,this.awaitIdentPos=s,this.finishNode(i,"FunctionExpression")},at.parseArrowExpression=function(t,e,o,i){var n=this.yieldPos,r=this.awaitPos,s=this.awaitIdentPos;return this.enterScope(16|j(o,!1)),this.initFunction(t),this.options.ecmaVersion>=8&&(t.async=!!o),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,t.params=this.toAssignableList(e,!0),this.parseFunctionBody(t,!0,!1,i),this.yieldPos=n,this.awaitPos=r,this.awaitIdentPos=s,this.finishNode(t,"ArrowFunctionExpression")},at.parseFunctionBody=function(t,e,o,i){var n=e&&this.type!==C.braceL,r=this.strict,s=!1;if(n)t.body=this.parseMaybeAssign(i),t.expression=!0,this.checkParams(t,!1);else{var a=this.options.ecmaVersion>=7&&!this.isSimpleParamList(t.params);r&&!a||(s=this.strictDirective(this.end))&&a&&this.raiseRecoverable(t.start,"Illegal 'use strict' directive in function with non-simple parameter list");var l=this.labels;this.labels=[],s&&(this.strict=!0),this.checkParams(t,!r&&!s&&!e&&!o&&this.isSimpleParamList(t.params)),this.strict&&t.id&&this.checkLValSimple(t.id,5),t.body=this.parseBlock(!1,void 0,s&&!r),t.expression=!1,this.adaptDirectivePrologue(t.body.body),this.labels=l}this.exitScope()},at.isSimpleParamList=function(t){for(var e=0,o=t;e<o.length;e+=1)if("Identifier"!==o[e].type)return!1;return!0},at.checkParams=function(t,e){for(var o=Object.create(null),i=0,n=t.params;i<n.length;i+=1){var r=n[i];this.checkLValInnerPattern(r,1,e?null:o)}},at.parseExprList=function(t,e,o,i){for(var n=[],r=!0;!this.eat(t);){if(r)r=!1;else if(this.expect(C.comma),e&&this.afterTrailingComma(t))break;var s=void 0;o&&this.type===C.comma?s=null:this.type===C.ellipsis?(s=this.parseSpread(i),i&&this.type===C.comma&&i.trailingComma<0&&(i.trailingComma=this.start)):s=this.parseMaybeAssign(!1,i),n.push(s)}return n},at.checkUnreserved=function(t){var e=t.start,o=t.end,i=t.name;this.inGenerator&&"yield"===i&&this.raiseRecoverable(e,"Cannot use 'yield' as identifier inside a generator"),this.inAsync&&"await"===i&&this.raiseRecoverable(e,"Cannot use 'await' as identifier inside an async function"),this.currentThisScope().flags&B||"arguments"!==i||this.raiseRecoverable(e,"Cannot use 'arguments' in class field initializer"),!this.inClassStaticBlock||"arguments"!==i&&"await"!==i||this.raise(e,"Cannot use "+i+" in class static initialization block"),this.keywords.test(i)&&this.raise(e,"Unexpected keyword '"+i+"'"),this.options.ecmaVersion<6&&-1!==this.input.slice(e,o).indexOf("\\")||(this.strict?this.reservedWordsStrict:this.reservedWords).test(i)&&(this.inAsync||"await"!==i||this.raiseRecoverable(e,"Cannot use keyword 'await' outside an async function"),this.raiseRecoverable(e,"The keyword '"+i+"' is reserved"))},at.parseIdent=function(t){var e=this.parseIdentNode();return this.next(!!t),this.finishNode(e,"Identifier"),t||(this.checkUnreserved(e),"await"!==e.name||this.awaitIdentPos||(this.awaitIdentPos=e.start)),e},at.parseIdentNode=function(){var t=this.startNode();return this.type===C.name?t.name=this.value:this.type.keyword?(t.name=this.type.keyword,"class"!==t.name&&"function"!==t.name||this.lastTokEnd===this.lastTokStart+1&&46===this.input.charCodeAt(this.lastTokStart)||this.context.pop(),this.type=C.name):this.unexpected(),t},at.parsePrivateIdent=function(){var t=this.startNode();return this.type===C.privateId?t.name=this.value:this.unexpected(),this.next(),this.finishNode(t,"PrivateIdentifier"),this.options.checkPrivateFields&&(0===this.privateNameStack.length?this.raise(t.start,"Private field '#"+t.name+"' must be declared in an enclosing class"):this.privateNameStack[this.privateNameStack.length-1].used.push(t)),t},at.parseYield=function(t){this.yieldPos||(this.yieldPos=this.start);var e=this.startNode();return this.next(),this.type===C.semi||this.canInsertSemicolon()||this.type!==C.star&&!this.type.startsExpr?(e.delegate=!1,e.argument=null):(e.delegate=this.eat(C.star),e.argument=this.parseMaybeAssign(t)),this.finishNode(e,"YieldExpression")},at.parseAwait=function(t){this.awaitPos||(this.awaitPos=this.start);var e=this.startNode();return this.next(),e.argument=this.parseMaybeUnary(null,!0,!1,t),this.finishNode(e,"AwaitExpression")};var ct=U.prototype;ct.raise=function(t,e){var o=k(this.input,t);e+=" ("+o.line+":"+o.column+")",this.sourceFile&&(e+=" in "+this.sourceFile);var i=new SyntaxError(e);throw i.pos=t,i.loc=o,i.raisedAt=this.pos,i},ct.raiseRecoverable=ct.raise,ct.curPosition=function(){if(this.options.locations)return new L(this.curLine,this.pos-this.lineStart)};var dt=U.prototype,ht=function(t){this.flags=t,this.var=[],this.lexical=[],this.functions=[]};dt.enterScope=function(t){this.scopeStack.push(new ht(t))},dt.exitScope=function(){this.scopeStack.pop()},dt.treatFunctionsAsVarInScope=function(t){return 2&t.flags||!this.inModule&&1&t.flags},dt.declareName=function(t,e,o){var i=!1;if(2===e){var n=this.currentScope();i=n.lexical.indexOf(t)>-1||n.functions.indexOf(t)>-1||n.var.indexOf(t)>-1,n.lexical.push(t),this.inModule&&1&n.flags&&delete this.undefinedExports[t]}else if(4===e)this.currentScope().lexical.push(t);else if(3===e){var r=this.currentScope();i=this.treatFunctionsAsVar?r.lexical.indexOf(t)>-1:r.lexical.indexOf(t)>-1||r.var.indexOf(t)>-1,r.functions.push(t)}else for(var s=this.scopeStack.length-1;s>=0;--s){var a=this.scopeStack[s];if(a.lexical.indexOf(t)>-1&&!(32&a.flags&&a.lexical[0]===t)||!this.treatFunctionsAsVarInScope(a)&&a.functions.indexOf(t)>-1){i=!0;break}if(a.var.push(t),this.inModule&&1&a.flags&&delete this.undefinedExports[t],a.flags&B)break}i&&this.raiseRecoverable(o,"Identifier '"+t+"' has already been declared")},dt.checkLocalExport=function(t){-1===this.scopeStack[0].lexical.indexOf(t.name)&&-1===this.scopeStack[0].var.indexOf(t.name)&&(this.undefinedExports[t.name]=t)},dt.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]},dt.currentVarScope=function(){for(var t=this.scopeStack.length-1;;t--){var e=this.scopeStack[t];if(771&e.flags)return e}},dt.currentThisScope=function(){for(var t=this.scopeStack.length-1;;t--){var e=this.scopeStack[t];if(771&e.flags&&!(16&e.flags))return e}};var ft=function(t,e,o){this.type="",this.start=e,this.end=0,t.options.locations&&(this.loc=new M(t,o)),t.options.directSourceFile&&(this.sourceFile=t.options.directSourceFile),t.options.ranges&&(this.range=[e,0])},gt=U.prototype;function yt(t,e,o,i){return t.type=e,t.end=o,this.options.locations&&(t.loc.end=i),this.options.ranges&&(t.range[1]=o),t}gt.startNode=function(){return new ft(this,this.start,this.startLoc)},gt.startNodeAt=function(t,e){return new ft(this,t,e)},gt.finishNode=function(t,e){return yt.call(this,t,e,this.lastTokEnd,this.lastTokEndLoc)},gt.finishNodeAt=function(t,e,o,i){return yt.call(this,t,e,o,i)},gt.copyNode=function(t){var e=new ft(this,t.start,this.startLoc);for(var o in t)e[o]=t[o];return e};var mt,vt,Ct="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS",Et=Ct+" Extended_Pictographic",wt=Et+" EBase EComp EMod EPres ExtPict",_t={9:Ct,10:Et,11:Et,12:wt,13:wt,14:wt},St={9:"",10:"",11:"",12:"",13:"",14:"Basic_Emoji Emoji_Keycap_Sequence RGI_Emoji_Modifier_Sequence RGI_Emoji_Flag_Sequence RGI_Emoji_Tag_Sequence RGI_Emoji_ZWJ_Sequence RGI_Emoji"},bt="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu",Rt="Adlam Adlm Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb",Ot=Rt+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",Tt=Ot+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",At=Tt+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi",Pt=At+" Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith",Dt={9:Rt,10:Ot,11:Tt,12:At,13:Pt,14:Pt+" Gara Garay Gukh Gurung_Khema Hrkt Katakana_Or_Hiragana Kawi Kirat_Rai Krai Nag_Mundari Nagm Ol_Onal Onao Sunu Sunuwar Todhri Todr Tulu_Tigalari Tutg Unknown Zzzz"},xt={};for(var Nt=0,Ft=[9,10,11,12,13,14];Nt<Ft.length;Nt+=1)vt=void 0,(vt=xt[mt=Ft[Nt]]={binary:N(_t[mt]+" "+bt),binaryOfStrings:N(St[mt]),nonBinary:{General_Category:N(bt),Script:N(Dt[mt])}}).nonBinary.Script_Extensions=vt.nonBinary.Script,vt.nonBinary.gc=vt.nonBinary.General_Category,vt.nonBinary.sc=vt.nonBinary.Script,vt.nonBinary.scx=vt.nonBinary.Script_Extensions;var It=U.prototype,Lt=function(t,e){this.parent=t,this.base=e||this};Lt.prototype.separatedFrom=function(t){for(var e=this;e;e=e.parent)for(var o=t;o;o=o.parent)if(e.base===o.base&&e!==o)return!0;return!1},Lt.prototype.sibling=function(){return new Lt(this.parent,this.base)};var Mt=function(t){this.parser=t,this.validFlags="gim"+(t.options.ecmaVersion>=6?"uy":"")+(t.options.ecmaVersion>=9?"s":"")+(t.options.ecmaVersion>=13?"d":"")+(t.options.ecmaVersion>=15?"v":""),this.unicodeProperties=xt[t.options.ecmaVersion>=14?14:t.options.ecmaVersion],this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchV=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=Object.create(null),this.backReferenceNames=[],this.branchID=null};function kt(t){return 105===t||109===t||115===t}function Gt(t){return 36===t||t>=40&&t<=43||46===t||63===t||t>=91&&t<=94||t>=123&&t<=125}function Vt(t){return t>=65&&t<=90||t>=97&&t<=122}Mt.prototype.reset=function(t,e,o){var i=-1!==o.indexOf("v"),n=-1!==o.indexOf("u");this.start=0|t,this.source=e+"",this.flags=o,i&&this.parser.options.ecmaVersion>=15?(this.switchU=!0,this.switchV=!0,this.switchN=!0):(this.switchU=n&&this.parser.options.ecmaVersion>=6,this.switchV=!1,this.switchN=n&&this.parser.options.ecmaVersion>=9)},Mt.prototype.raise=function(t){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+t)},Mt.prototype.at=function(t,e){void 0===e&&(e=!1);var o=this.source,i=o.length;if(t>=i)return-1;var n=o.charCodeAt(t);if(!e&&!this.switchU||n<=55295||n>=57344||t+1>=i)return n;var r=o.charCodeAt(t+1);return r>=56320&&r<=57343?(n<<10)+r-56613888:n},Mt.prototype.nextIndex=function(t,e){void 0===e&&(e=!1);var o=this.source,i=o.length;if(t>=i)return i;var n,r=o.charCodeAt(t);return!e&&!this.switchU||r<=55295||r>=57344||t+1>=i||(n=o.charCodeAt(t+1))<56320||n>57343?t+1:t+2},Mt.prototype.current=function(t){return void 0===t&&(t=!1),this.at(this.pos,t)},Mt.prototype.lookahead=function(t){return void 0===t&&(t=!1),this.at(this.nextIndex(this.pos,t),t)},Mt.prototype.advance=function(t){void 0===t&&(t=!1),this.pos=this.nextIndex(this.pos,t)},Mt.prototype.eat=function(t,e){return void 0===e&&(e=!1),this.current(e)===t&&(this.advance(e),!0)},Mt.prototype.eatChars=function(t,e){void 0===e&&(e=!1);for(var o=this.pos,i=0,n=t;i<n.length;i+=1){var r=n[i],s=this.at(o,e);if(-1===s||s!==r)return!1;o=this.nextIndex(o,e)}return this.pos=o,!0},It.validateRegExpFlags=function(t){for(var e=t.validFlags,o=t.flags,i=!1,n=!1,r=0;r<o.length;r++){var s=o.charAt(r);-1===e.indexOf(s)&&this.raise(t.start,"Invalid regular expression flag"),o.indexOf(s,r+1)>-1&&this.raise(t.start,"Duplicate regular expression flag"),"u"===s&&(i=!0),"v"===s&&(n=!0)}this.options.ecmaVersion>=15&&i&&n&&this.raise(t.start,"Invalid regular expression flag")},It.validateRegExpPattern=function(t){this.regexp_pattern(t),!t.switchN&&this.options.ecmaVersion>=9&&function(t){for(var e in t)return!0;return!1}(t.groupNames)&&(t.switchN=!0,this.regexp_pattern(t))},It.regexp_pattern=function(t){t.pos=0,t.lastIntValue=0,t.lastStringValue="",t.lastAssertionIsQuantifiable=!1,t.numCapturingParens=0,t.maxBackReference=0,t.groupNames=Object.create(null),t.backReferenceNames.length=0,t.branchID=null,this.regexp_disjunction(t),t.pos!==t.source.length&&(t.eat(41)&&t.raise("Unmatched ')'"),(t.eat(93)||t.eat(125))&&t.raise("Lone quantifier brackets")),t.maxBackReference>t.numCapturingParens&&t.raise("Invalid escape");for(var e=0,o=t.backReferenceNames;e<o.length;e+=1){var i=o[e];t.groupNames[i]||t.raise("Invalid named capture referenced")}},It.regexp_disjunction=function(t){var e=this.options.ecmaVersion>=16;for(e&&(t.branchID=new Lt(t.branchID,null)),this.regexp_alternative(t);t.eat(124);)e&&(t.branchID=t.branchID.sibling()),this.regexp_alternative(t);e&&(t.branchID=t.branchID.parent),this.regexp_eatQuantifier(t,!0)&&t.raise("Nothing to repeat"),t.eat(123)&&t.raise("Lone quantifier brackets")},It.regexp_alternative=function(t){for(;t.pos<t.source.length&&this.regexp_eatTerm(t););},It.regexp_eatTerm=function(t){return this.regexp_eatAssertion(t)?(t.lastAssertionIsQuantifiable&&this.regexp_eatQuantifier(t)&&t.switchU&&t.raise("Invalid quantifier"),!0):!!(t.switchU?this.regexp_eatAtom(t):this.regexp_eatExtendedAtom(t))&&(this.regexp_eatQuantifier(t),!0)},It.regexp_eatAssertion=function(t){var e=t.pos;if(t.lastAssertionIsQuantifiable=!1,t.eat(94)||t.eat(36))return!0;if(t.eat(92)){if(t.eat(66)||t.eat(98))return!0;t.pos=e}if(t.eat(40)&&t.eat(63)){var o=!1;if(this.options.ecmaVersion>=9&&(o=t.eat(60)),t.eat(61)||t.eat(33))return this.regexp_disjunction(t),t.eat(41)||t.raise("Unterminated group"),t.lastAssertionIsQuantifiable=!o,!0}return t.pos=e,!1},It.regexp_eatQuantifier=function(t,e){return void 0===e&&(e=!1),!!this.regexp_eatQuantifierPrefix(t,e)&&(t.eat(63),!0)},It.regexp_eatQuantifierPrefix=function(t,e){return t.eat(42)||t.eat(43)||t.eat(63)||this.regexp_eatBracedQuantifier(t,e)},It.regexp_eatBracedQuantifier=function(t,e){var o=t.pos;if(t.eat(123)){var i=0,n=-1;if(this.regexp_eatDecimalDigits(t)&&(i=t.lastIntValue,t.eat(44)&&this.regexp_eatDecimalDigits(t)&&(n=t.lastIntValue),t.eat(125)))return-1!==n&&n<i&&!e&&t.raise("numbers out of order in {} quantifier"),!0;t.switchU&&!e&&t.raise("Incomplete quantifier"),t.pos=o}return!1},It.regexp_eatAtom=function(t){return this.regexp_eatPatternCharacters(t)||t.eat(46)||this.regexp_eatReverseSolidusAtomEscape(t)||this.regexp_eatCharacterClass(t)||this.regexp_eatUncapturingGroup(t)||this.regexp_eatCapturingGroup(t)},It.regexp_eatReverseSolidusAtomEscape=function(t){var e=t.pos;if(t.eat(92)){if(this.regexp_eatAtomEscape(t))return!0;t.pos=e}return!1},It.regexp_eatUncapturingGroup=function(t){var e=t.pos;if(t.eat(40)){if(t.eat(63)){if(this.options.ecmaVersion>=16){var o=this.regexp_eatModifiers(t),i=t.eat(45);if(o||i){for(var n=0;n<o.length;n++){var r=o.charAt(n);o.indexOf(r,n+1)>-1&&t.raise("Duplicate regular expression modifiers")}if(i){var s=this.regexp_eatModifiers(t);o||s||58!==t.current()||t.raise("Invalid regular expression modifiers");for(var a=0;a<s.length;a++){var l=s.charAt(a);(s.indexOf(l,a+1)>-1||o.indexOf(l)>-1)&&t.raise("Duplicate regular expression modifiers")}}}}if(t.eat(58)){if(this.regexp_disjunction(t),t.eat(41))return!0;t.raise("Unterminated group")}}t.pos=e}return!1},It.regexp_eatCapturingGroup=function(t){if(t.eat(40)){if(this.options.ecmaVersion>=9?this.regexp_groupSpecifier(t):63===t.current()&&t.raise("Invalid group"),this.regexp_disjunction(t),t.eat(41))return t.numCapturingParens+=1,!0;t.raise("Unterminated group")}return!1},It.regexp_eatModifiers=function(t){for(var e="",o=0;-1!==(o=t.current())&&kt(o);)e+=F(o),t.advance();return e},It.regexp_eatExtendedAtom=function(t){return t.eat(46)||this.regexp_eatReverseSolidusAtomEscape(t)||this.regexp_eatCharacterClass(t)||this.regexp_eatUncapturingGroup(t)||this.regexp_eatCapturingGroup(t)||this.regexp_eatInvalidBracedQuantifier(t)||this.regexp_eatExtendedPatternCharacter(t)},It.regexp_eatInvalidBracedQuantifier=function(t){return this.regexp_eatBracedQuantifier(t,!0)&&t.raise("Nothing to repeat"),!1},It.regexp_eatSyntaxCharacter=function(t){var e=t.current();return!!Gt(e)&&(t.lastIntValue=e,t.advance(),!0)},It.regexp_eatPatternCharacters=function(t){for(var e=t.pos,o=0;-1!==(o=t.current())&&!Gt(o);)t.advance();return t.pos!==e},It.regexp_eatExtendedPatternCharacter=function(t){var e=t.current();return!(-1===e||36===e||e>=40&&e<=43||46===e||63===e||91===e||94===e||124===e||(t.advance(),0))},It.regexp_groupSpecifier=function(t){if(t.eat(63)){this.regexp_eatGroupName(t)||t.raise("Invalid group");var e=this.options.ecmaVersion>=16,o=t.groupNames[t.lastStringValue];if(o)if(e)for(var i=0,n=o;i<n.length;i+=1)n[i].separatedFrom(t.branchID)||t.raise("Duplicate capture group name");else t.raise("Duplicate capture group name");e?(o||(t.groupNames[t.lastStringValue]=[])).push(t.branchID):t.groupNames[t.lastStringValue]=!0}},It.regexp_eatGroupName=function(t){if(t.lastStringValue="",t.eat(60)){if(this.regexp_eatRegExpIdentifierName(t)&&t.eat(62))return!0;t.raise("Invalid capture group name")}return!1},It.regexp_eatRegExpIdentifierName=function(t){if(t.lastStringValue="",this.regexp_eatRegExpIdentifierStart(t)){for(t.lastStringValue+=F(t.lastIntValue);this.regexp_eatRegExpIdentifierPart(t);)t.lastStringValue+=F(t.lastIntValue);return!0}return!1},It.regexp_eatRegExpIdentifierStart=function(t){var e=t.pos,o=this.options.ecmaVersion>=11,i=t.current(o);return t.advance(o),92===i&&this.regexp_eatRegExpUnicodeEscapeSequence(t,o)&&(i=t.lastIntValue),function(t){return c(t,!0)||36===t||95===t}(i)?(t.lastIntValue=i,!0):(t.pos=e,!1)},It.regexp_eatRegExpIdentifierPart=function(t){var e=t.pos,o=this.options.ecmaVersion>=11,i=t.current(o);return t.advance(o),92===i&&this.regexp_eatRegExpUnicodeEscapeSequence(t,o)&&(i=t.lastIntValue),function(t){return d(t,!0)||36===t||95===t||8204===t||8205===t}(i)?(t.lastIntValue=i,!0):(t.pos=e,!1)},It.regexp_eatAtomEscape=function(t){return!!(this.regexp_eatBackReference(t)||this.regexp_eatCharacterClassEscape(t)||this.regexp_eatCharacterEscape(t)||t.switchN&&this.regexp_eatKGroupName(t))||(t.switchU&&(99===t.current()&&t.raise("Invalid unicode escape"),t.raise("Invalid escape")),!1)},It.regexp_eatBackReference=function(t){var e=t.pos;if(this.regexp_eatDecimalEscape(t)){var o=t.lastIntValue;if(t.switchU)return o>t.maxBackReference&&(t.maxBackReference=o),!0;if(o<=t.numCapturingParens)return!0;t.pos=e}return!1},It.regexp_eatKGroupName=function(t){if(t.eat(107)){if(this.regexp_eatGroupName(t))return t.backReferenceNames.push(t.lastStringValue),!0;t.raise("Invalid named reference")}return!1},It.regexp_eatCharacterEscape=function(t){return this.regexp_eatControlEscape(t)||this.regexp_eatCControlLetter(t)||this.regexp_eatZero(t)||this.regexp_eatHexEscapeSequence(t)||this.regexp_eatRegExpUnicodeEscapeSequence(t,!1)||!t.switchU&&this.regexp_eatLegacyOctalEscapeSequence(t)||this.regexp_eatIdentityEscape(t)},It.regexp_eatCControlLetter=function(t){var e=t.pos;if(t.eat(99)){if(this.regexp_eatControlLetter(t))return!0;t.pos=e}return!1},It.regexp_eatZero=function(t){return 48===t.current()&&!Bt(t.lookahead())&&(t.lastIntValue=0,t.advance(),!0)},It.regexp_eatControlEscape=function(t){var e=t.current();return 116===e?(t.lastIntValue=9,t.advance(),!0):110===e?(t.lastIntValue=10,t.advance(),!0):118===e?(t.lastIntValue=11,t.advance(),!0):102===e?(t.lastIntValue=12,t.advance(),!0):114===e&&(t.lastIntValue=13,t.advance(),!0)},It.regexp_eatControlLetter=function(t){var e=t.current();return!!Vt(e)&&(t.lastIntValue=e%32,t.advance(),!0)},It.regexp_eatRegExpUnicodeEscapeSequence=function(t,e){void 0===e&&(e=!1);var o,i=t.pos,n=e||t.switchU;if(t.eat(117)){if(this.regexp_eatFixedHexDigits(t,4)){var r=t.lastIntValue;if(n&&r>=55296&&r<=56319){var s=t.pos;if(t.eat(92)&&t.eat(117)&&this.regexp_eatFixedHexDigits(t,4)){var a=t.lastIntValue;if(a>=56320&&a<=57343)return t.lastIntValue=1024*(r-55296)+(a-56320)+65536,!0}t.pos=s,t.lastIntValue=r}return!0}if(n&&t.eat(123)&&this.regexp_eatHexDigits(t)&&t.eat(125)&&((o=t.lastIntValue)>=0&&o<=1114111))return!0;n&&t.raise("Invalid unicode escape"),t.pos=i}return!1},It.regexp_eatIdentityEscape=function(t){if(t.switchU)return!!this.regexp_eatSyntaxCharacter(t)||!!t.eat(47)&&(t.lastIntValue=47,!0);var e=t.current();return!(99===e||t.switchN&&107===e||(t.lastIntValue=e,t.advance(),0))},It.regexp_eatDecimalEscape=function(t){t.lastIntValue=0;var e=t.current();if(e>=49&&e<=57){do{t.lastIntValue=10*t.lastIntValue+(e-48),t.advance()}while((e=t.current())>=48&&e<=57);return!0}return!1};function Wt(t){return Vt(t)||95===t}function Ht(t){return Wt(t)||Bt(t)}function Bt(t){return t>=48&&t<=57}function jt(t){return t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102}function Ut(t){return t>=65&&t<=70?t-65+10:t>=97&&t<=102?t-97+10:t-48}function zt(t){return t>=48&&t<=55}It.regexp_eatCharacterClassEscape=function(t){var e=t.current();if(function(t){return 100===t||68===t||115===t||83===t||119===t||87===t}(e))return t.lastIntValue=-1,t.advance(),1;var o=!1;if(t.switchU&&this.options.ecmaVersion>=9&&((o=80===e)||112===e)){var i;if(t.lastIntValue=-1,t.advance(),t.eat(123)&&(i=this.regexp_eatUnicodePropertyValueExpression(t))&&t.eat(125))return o&&2===i&&t.raise("Invalid property name"),i;t.raise("Invalid property name")}return 0},It.regexp_eatUnicodePropertyValueExpression=function(t){var e=t.pos;if(this.regexp_eatUnicodePropertyName(t)&&t.eat(61)){var o=t.lastStringValue;if(this.regexp_eatUnicodePropertyValue(t)){var i=t.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(t,o,i),1}}if(t.pos=e,this.regexp_eatLoneUnicodePropertyNameOrValue(t)){var n=t.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(t,n)}return 0},It.regexp_validateUnicodePropertyNameAndValue=function(t,e,o){P(t.unicodeProperties.nonBinary,e)||t.raise("Invalid property name"),t.unicodeProperties.nonBinary[e].test(o)||t.raise("Invalid property value")},It.regexp_validateUnicodePropertyNameOrValue=function(t,e){return t.unicodeProperties.binary.test(e)?1:t.switchV&&t.unicodeProperties.binaryOfStrings.test(e)?2:void t.raise("Invalid property name")},It.regexp_eatUnicodePropertyName=function(t){var e=0;for(t.lastStringValue="";Wt(e=t.current());)t.lastStringValue+=F(e),t.advance();return""!==t.lastStringValue},It.regexp_eatUnicodePropertyValue=function(t){var e=0;for(t.lastStringValue="";Ht(e=t.current());)t.lastStringValue+=F(e),t.advance();return""!==t.lastStringValue},It.regexp_eatLoneUnicodePropertyNameOrValue=function(t){return this.regexp_eatUnicodePropertyValue(t)},It.regexp_eatCharacterClass=function(t){if(t.eat(91)){var e=t.eat(94),o=this.regexp_classContents(t);return t.eat(93)||t.raise("Unterminated character class"),e&&2===o&&t.raise("Negated character class may contain strings"),!0}return!1},It.regexp_classContents=function(t){return 93===t.current()?1:t.switchV?this.regexp_classSetExpression(t):(this.regexp_nonEmptyClassRanges(t),1)},It.regexp_nonEmptyClassRanges=function(t){for(;this.regexp_eatClassAtom(t);){var e=t.lastIntValue;if(t.eat(45)&&this.regexp_eatClassAtom(t)){var o=t.lastIntValue;!t.switchU||-1!==e&&-1!==o||t.raise("Invalid character class"),-1!==e&&-1!==o&&e>o&&t.raise("Range out of order in character class")}}},It.regexp_eatClassAtom=function(t){var e=t.pos;if(t.eat(92)){if(this.regexp_eatClassEscape(t))return!0;if(t.switchU){var o=t.current();(99===o||zt(o))&&t.raise("Invalid class escape"),t.raise("Invalid escape")}t.pos=e}var i=t.current();return 93!==i&&(t.lastIntValue=i,t.advance(),!0)},It.regexp_eatClassEscape=function(t){var e=t.pos;if(t.eat(98))return t.lastIntValue=8,!0;if(t.switchU&&t.eat(45))return t.lastIntValue=45,!0;if(!t.switchU&&t.eat(99)){if(this.regexp_eatClassControlLetter(t))return!0;t.pos=e}return this.regexp_eatCharacterClassEscape(t)||this.regexp_eatCharacterEscape(t)},It.regexp_classSetExpression=function(t){var e,o=1;if(this.regexp_eatClassSetRange(t));else if(e=this.regexp_eatClassSetOperand(t)){2===e&&(o=2);for(var i=t.pos;t.eatChars([38,38]);)38!==t.current()&&(e=this.regexp_eatClassSetOperand(t))?2!==e&&(o=1):t.raise("Invalid character in character class");if(i!==t.pos)return o;for(;t.eatChars([45,45]);)this.regexp_eatClassSetOperand(t)||t.raise("Invalid character in character class");if(i!==t.pos)return o}else t.raise("Invalid character in character class");for(;;)if(!this.regexp_eatClassSetRange(t)){if(!(e=this.regexp_eatClassSetOperand(t)))return o;2===e&&(o=2)}},It.regexp_eatClassSetRange=function(t){var e=t.pos;if(this.regexp_eatClassSetCharacter(t)){var o=t.lastIntValue;if(t.eat(45)&&this.regexp_eatClassSetCharacter(t)){var i=t.lastIntValue;return-1!==o&&-1!==i&&o>i&&t.raise("Range out of order in character class"),!0}t.pos=e}return!1},It.regexp_eatClassSetOperand=function(t){return this.regexp_eatClassSetCharacter(t)?1:this.regexp_eatClassStringDisjunction(t)||this.regexp_eatNestedClass(t)},It.regexp_eatNestedClass=function(t){var e=t.pos;if(t.eat(91)){var o=t.eat(94),i=this.regexp_classContents(t);if(t.eat(93))return o&&2===i&&t.raise("Negated character class may contain strings"),i;t.pos=e}if(t.eat(92)){var n=this.regexp_eatCharacterClassEscape(t);if(n)return n;t.pos=e}return null},It.regexp_eatClassStringDisjunction=function(t){var e=t.pos;if(t.eatChars([92,113])){if(t.eat(123)){var o=this.regexp_classStringDisjunctionContents(t);if(t.eat(125))return o}else t.raise("Invalid escape");t.pos=e}return null},It.regexp_classStringDisjunctionContents=function(t){for(var e=this.regexp_classString(t);t.eat(124);)2===this.regexp_classString(t)&&(e=2);return e},It.regexp_classString=function(t){for(var e=0;this.regexp_eatClassSetCharacter(t);)e++;return 1===e?1:2},It.regexp_eatClassSetCharacter=function(t){var e=t.pos;if(t.eat(92))return!(!this.regexp_eatCharacterEscape(t)&&!this.regexp_eatClassSetReservedPunctuator(t)&&(t.eat(98)?(t.lastIntValue=8,0):(t.pos=e,1)));var o=t.current();return!(o<0||o===t.lookahead()&&function(t){return 33===t||t>=35&&t<=38||t>=42&&t<=44||46===t||t>=58&&t<=64||94===t||96===t||126===t}(o)||function(t){return 40===t||41===t||45===t||47===t||t>=91&&t<=93||t>=123&&t<=125}(o)||(t.advance(),t.lastIntValue=o,0))},It.regexp_eatClassSetReservedPunctuator=function(t){var e=t.current();return!!function(t){return 33===t||35===t||37===t||38===t||44===t||45===t||t>=58&&t<=62||64===t||96===t||126===t}(e)&&(t.lastIntValue=e,t.advance(),!0)},It.regexp_eatClassControlLetter=function(t){var e=t.current();return!(!Bt(e)&&95!==e||(t.lastIntValue=e%32,t.advance(),0))},It.regexp_eatHexEscapeSequence=function(t){var e=t.pos;if(t.eat(120)){if(this.regexp_eatFixedHexDigits(t,2))return!0;t.switchU&&t.raise("Invalid escape"),t.pos=e}return!1},It.regexp_eatDecimalDigits=function(t){var e=t.pos,o=0;for(t.lastIntValue=0;Bt(o=t.current());)t.lastIntValue=10*t.lastIntValue+(o-48),t.advance();return t.pos!==e},It.regexp_eatHexDigits=function(t){var e=t.pos,o=0;for(t.lastIntValue=0;jt(o=t.current());)t.lastIntValue=16*t.lastIntValue+Ut(o),t.advance();return t.pos!==e},It.regexp_eatLegacyOctalEscapeSequence=function(t){if(this.regexp_eatOctalDigit(t)){var e=t.lastIntValue;if(this.regexp_eatOctalDigit(t)){var o=t.lastIntValue;e<=3&&this.regexp_eatOctalDigit(t)?t.lastIntValue=64*e+8*o+t.lastIntValue:t.lastIntValue=8*e+o}else t.lastIntValue=e;return!0}return!1},It.regexp_eatOctalDigit=function(t){var e=t.current();return zt(e)?(t.lastIntValue=e-48,t.advance(),!0):(t.lastIntValue=0,!1)},It.regexp_eatFixedHexDigits=function(t,e){var o=t.pos;t.lastIntValue=0;for(var i=0;i<e;++i){var n=t.current();if(!jt(n))return t.pos=o,!1;t.lastIntValue=16*t.lastIntValue+Ut(n),t.advance()}return!0};var Yt=function(t){this.type=t.type,this.value=t.value,this.start=t.start,this.end=t.end,t.options.locations&&(this.loc=new M(t,t.startLoc,t.endLoc)),t.options.ranges&&(this.range=[t.start,t.end])},Kt=U.prototype;function qt(t){return"function"!=typeof BigInt?null:BigInt(t.replace(/_/g,""))}Kt.next=function(t){!t&&this.type.keyword&&this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword),this.options.onToken&&this.options.onToken(new Yt(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},Kt.getToken=function(){return this.next(),new Yt(this)},"undefined"!=typeof Symbol&&(Kt[Symbol.iterator]=function(){var t=this;return{next:function(){var e=t.getToken();return{done:e.type===C.eof,value:e}}}}),Kt.nextToken=function(){var t=this.curContext();return t&&t.preserveSpace||this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length?this.finishToken(C.eof):t.override?t.override(this):void this.readToken(this.fullCharCodeAtPos())},Kt.readToken=function(t){return c(t,this.options.ecmaVersion>=6)||92===t?this.readWord():this.getTokenFromCode(t)},Kt.fullCharCodeAtPos=function(){var t=this.input.charCodeAt(this.pos);if(t<=55295||t>=56320)return t;var e=this.input.charCodeAt(this.pos+1);return e<=56319||e>=57344?t:(t<<10)+e-56613888},Kt.skipBlockComment=function(){var t=this.options.onComment&&this.curPosition(),e=this.pos,o=this.input.indexOf("*/",this.pos+=2);if(-1===o&&this.raise(this.pos-2,"Unterminated comment"),this.pos=o+2,this.options.locations)for(var i=void 0,n=e;(i=S(this.input,n,this.pos))>-1;)++this.curLine,n=this.lineStart=i;this.options.onComment&&this.options.onComment(!0,this.input.slice(e+2,o),e,this.pos,t,this.curPosition())},Kt.skipLineComment=function(t){for(var e=this.pos,o=this.options.onComment&&this.curPosition(),i=this.input.charCodeAt(this.pos+=t);this.pos<this.input.length&&!_(i);)i=this.input.charCodeAt(++this.pos);this.options.onComment&&this.options.onComment(!1,this.input.slice(e+t,this.pos),e,this.pos,o,this.curPosition())},Kt.skipSpace=function(){t:for(;this.pos<this.input.length;){var t=this.input.charCodeAt(this.pos);switch(t){case 32:case 160:++this.pos;break;case 13:10===this.input.charCodeAt(this.pos+1)&&++this.pos;case 10:case 8232:case 8233:++this.pos,this.options.locations&&(++this.curLine,this.lineStart=this.pos);break;case 47:switch(this.input.charCodeAt(this.pos+1)){case 42:this.skipBlockComment();break;case 47:this.skipLineComment(2);break;default:break t}break;default:if(!(t>8&&t<14||t>=5760&&b.test(String.fromCharCode(t))))break t;++this.pos}}},Kt.finishToken=function(t,e){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var o=this.type;this.type=t,this.value=e,this.updateContext(o)},Kt.readToken_dot=function(){var t=this.input.charCodeAt(this.pos+1);if(t>=48&&t<=57)return this.readNumber(!0);var e=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&46===t&&46===e?(this.pos+=3,this.finishToken(C.ellipsis)):(++this.pos,this.finishToken(C.dot))},Kt.readToken_slash=function(){var t=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):61===t?this.finishOp(C.assign,2):this.finishOp(C.slash,1)},Kt.readToken_mult_modulo_exp=function(t){var e=this.input.charCodeAt(this.pos+1),o=1,i=42===t?C.star:C.modulo;return this.options.ecmaVersion>=7&&42===t&&42===e&&(++o,i=C.starstar,e=this.input.charCodeAt(this.pos+2)),61===e?this.finishOp(C.assign,o+1):this.finishOp(i,o)},Kt.readToken_pipe_amp=function(t){var e=this.input.charCodeAt(this.pos+1);return e===t?this.options.ecmaVersion>=12&&61===this.input.charCodeAt(this.pos+2)?this.finishOp(C.assign,3):this.finishOp(124===t?C.logicalOR:C.logicalAND,2):61===e?this.finishOp(C.assign,2):this.finishOp(124===t?C.bitwiseOR:C.bitwiseAND,1)},Kt.readToken_caret=function(){return 61===this.input.charCodeAt(this.pos+1)?this.finishOp(C.assign,2):this.finishOp(C.bitwiseXOR,1)},Kt.readToken_plus_min=function(t){var e=this.input.charCodeAt(this.pos+1);return e===t?45!==e||this.inModule||62!==this.input.charCodeAt(this.pos+2)||0!==this.lastTokEnd&&!E.test(this.input.slice(this.lastTokEnd,this.pos))?this.finishOp(C.incDec,2):(this.skipLineComment(3),this.skipSpace(),this.nextToken()):61===e?this.finishOp(C.assign,2):this.finishOp(C.plusMin,1)},Kt.readToken_lt_gt=function(t){var e=this.input.charCodeAt(this.pos+1),o=1;return e===t?(o=62===t&&62===this.input.charCodeAt(this.pos+2)?3:2,61===this.input.charCodeAt(this.pos+o)?this.finishOp(C.assign,o+1):this.finishOp(C.bitShift,o)):33!==e||60!==t||this.inModule||45!==this.input.charCodeAt(this.pos+2)||45!==this.input.charCodeAt(this.pos+3)?(61===e&&(o=2),this.finishOp(C.relational,o)):(this.skipLineComment(4),this.skipSpace(),this.nextToken())},Kt.readToken_eq_excl=function(t){var e=this.input.charCodeAt(this.pos+1);return 61===e?this.finishOp(C.equality,61===this.input.charCodeAt(this.pos+2)?3:2):61===t&&62===e&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(C.arrow)):this.finishOp(61===t?C.eq:C.prefix,1)},Kt.readToken_question=function(){var t=this.options.ecmaVersion;if(t>=11){var e=this.input.charCodeAt(this.pos+1);if(46===e){var o=this.input.charCodeAt(this.pos+2);if(o<48||o>57)return this.finishOp(C.questionDot,2)}if(63===e)return t>=12&&61===this.input.charCodeAt(this.pos+2)?this.finishOp(C.assign,3):this.finishOp(C.coalesce,2)}return this.finishOp(C.question,1)},Kt.readToken_numberSign=function(){var t=35;if(this.options.ecmaVersion>=13&&(++this.pos,c(t=this.fullCharCodeAtPos(),!0)||92===t))return this.finishToken(C.privateId,this.readWord1());this.raise(this.pos,"Unexpected character '"+F(t)+"'")},Kt.getTokenFromCode=function(t){switch(t){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(C.parenL);case 41:return++this.pos,this.finishToken(C.parenR);case 59:return++this.pos,this.finishToken(C.semi);case 44:return++this.pos,this.finishToken(C.comma);case 91:return++this.pos,this.finishToken(C.bracketL);case 93:return++this.pos,this.finishToken(C.bracketR);case 123:return++this.pos,this.finishToken(C.braceL);case 125:return++this.pos,this.finishToken(C.braceR);case 58:return++this.pos,this.finishToken(C.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(C.backQuote);case 48:var e=this.input.charCodeAt(this.pos+1);if(120===e||88===e)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(111===e||79===e)return this.readRadixNumber(8);if(98===e||66===e)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(t);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(t);case 124:case 38:return this.readToken_pipe_amp(t);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(t);case 60:case 62:return this.readToken_lt_gt(t);case 61:case 33:return this.readToken_eq_excl(t);case 63:return this.readToken_question();case 126:return this.finishOp(C.prefix,1);case 35:return this.readToken_numberSign()}this.raise(this.pos,"Unexpected character '"+F(t)+"'")},Kt.finishOp=function(t,e){var o=this.input.slice(this.pos,this.pos+e);return this.pos+=e,this.finishToken(t,o)},Kt.readRegexp=function(){for(var t,e,o=this.pos;;){this.pos>=this.input.length&&this.raise(o,"Unterminated regular expression");var i=this.input.charAt(this.pos);if(E.test(i)&&this.raise(o,"Unterminated regular expression"),t)t=!1;else{if("["===i)e=!0;else if("]"===i&&e)e=!1;else if("/"===i&&!e)break;t="\\"===i}++this.pos}var n=this.input.slice(o,this.pos);++this.pos;var r=this.pos,s=this.readWord1();this.containsEsc&&this.unexpected(r);var a=this.regexpState||(this.regexpState=new Mt(this));a.reset(o,n,s),this.validateRegExpFlags(a),this.validateRegExpPattern(a);var l=null;try{l=new RegExp(n,s)}catch(t){}return this.finishToken(C.regexp,{pattern:n,flags:s,value:l})},Kt.readInt=function(t,e,o){for(var i=this.options.ecmaVersion>=12&&void 0===e,n=o&&48===this.input.charCodeAt(this.pos),r=this.pos,s=0,a=0,l=0,p=null==e?1/0:e;l<p;++l,++this.pos){var u=this.input.charCodeAt(this.pos),c=void 0;if(i&&95===u)n&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed in legacy octal numeric literals"),95===a&&this.raiseRecoverable(this.pos,"Numeric separator must be exactly one underscore"),0===l&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed at the first of digits"),a=u;else{if((c=u>=97?u-97+10:u>=65?u-65+10:u>=48&&u<=57?u-48:1/0)>=t)break;a=u,s=s*t+c}}return i&&95===a&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===r||null!=e&&this.pos-r!==e?null:s},Kt.readRadixNumber=function(t){var e=this.pos;this.pos+=2;var o=this.readInt(t);return null==o&&this.raise(this.start+2,"Expected number in radix "+t),this.options.ecmaVersion>=11&&110===this.input.charCodeAt(this.pos)?(o=qt(this.input.slice(e,this.pos)),++this.pos):c(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(C.num,o)},Kt.readNumber=function(t){var e=this.pos;t||null!==this.readInt(10,void 0,!0)||this.raise(e,"Invalid number");var o=this.pos-e>=2&&48===this.input.charCodeAt(e);o&&this.strict&&this.raise(e,"Invalid number");var i=this.input.charCodeAt(this.pos);if(!o&&!t&&this.options.ecmaVersion>=11&&110===i){var n=qt(this.input.slice(e,this.pos));return++this.pos,c(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(C.num,n)}o&&/[89]/.test(this.input.slice(e,this.pos))&&(o=!1),46!==i||o||(++this.pos,this.readInt(10),i=this.input.charCodeAt(this.pos)),69!==i&&101!==i||o||(43!==(i=this.input.charCodeAt(++this.pos))&&45!==i||++this.pos,null===this.readInt(10)&&this.raise(e,"Invalid number")),c(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var r,s=(r=this.input.slice(e,this.pos),o?parseInt(r,8):parseFloat(r.replace(/_/g,"")));return this.finishToken(C.num,s)},Kt.readCodePoint=function(){var t;if(123===this.input.charCodeAt(this.pos)){this.options.ecmaVersion<6&&this.unexpected();var e=++this.pos;t=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,t>1114111&&this.invalidStringToken(e,"Code point out of bounds")}else t=this.readHexChar(4);return t},Kt.readString=function(t){for(var e="",o=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var i=this.input.charCodeAt(this.pos);if(i===t)break;92===i?(e+=this.input.slice(o,this.pos),e+=this.readEscapedChar(!1),o=this.pos):8232===i||8233===i?(this.options.ecmaVersion<10&&this.raise(this.start,"Unterminated string constant"),++this.pos,this.options.locations&&(this.curLine++,this.lineStart=this.pos)):(_(i)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return e+=this.input.slice(o,this.pos++),this.finishToken(C.string,e)};var $t={};Kt.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(t){if(t!==$t)throw t;this.readInvalidTemplateToken()}this.inTemplateElement=!1},Kt.invalidStringToken=function(t,e){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw $t;this.raise(t,e)},Kt.readTmplToken=function(){for(var t="",e=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var o=this.input.charCodeAt(this.pos);if(96===o||36===o&&123===this.input.charCodeAt(this.pos+1))return this.pos!==this.start||this.type!==C.template&&this.type!==C.invalidTemplate?(t+=this.input.slice(e,this.pos),this.finishToken(C.template,t)):36===o?(this.pos+=2,this.finishToken(C.dollarBraceL)):(++this.pos,this.finishToken(C.backQuote));if(92===o)t+=this.input.slice(e,this.pos),t+=this.readEscapedChar(!0),e=this.pos;else if(_(o)){switch(t+=this.input.slice(e,this.pos),++this.pos,o){case 13:10===this.input.charCodeAt(this.pos)&&++this.pos;case 10:t+="\n";break;default:t+=String.fromCharCode(o)}this.options.locations&&(++this.curLine,this.lineStart=this.pos),e=this.pos}else++this.pos}},Kt.readInvalidTemplateToken=function(){for(;this.pos<this.input.length;this.pos++)switch(this.input[this.pos]){case"\\":++this.pos;break;case"$":if("{"!==this.input[this.pos+1])break;case"`":return this.finishToken(C.invalidTemplate,this.input.slice(this.start,this.pos));case"\r":"\n"===this.input[this.pos+1]&&++this.pos;case"\n":case"\u2028":case"\u2029":++this.curLine,this.lineStart=this.pos+1}this.raise(this.start,"Unterminated template")},Kt.readEscapedChar=function(t){var e=this.input.charCodeAt(++this.pos);switch(++this.pos,e){case 110:return"\n";case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return F(this.readCodePoint());case 116:return"\t";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:10===this.input.charCodeAt(this.pos)&&++this.pos;case 10:return this.options.locations&&(this.lineStart=this.pos,++this.curLine),"";case 56:case 57:if(this.strict&&this.invalidStringToken(this.pos-1,"Invalid escape sequence"),t){var o=this.pos-1;this.invalidStringToken(o,"Invalid escape sequence in template string")}default:if(e>=48&&e<=55){var i=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],n=parseInt(i,8);return n>255&&(i=i.slice(0,-1),n=parseInt(i,8)),this.pos+=i.length-1,e=this.input.charCodeAt(this.pos),"0"===i&&56!==e&&57!==e||!this.strict&&!t||this.invalidStringToken(this.pos-1-i.length,t?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(n)}return _(e)?(this.options.locations&&(this.lineStart=this.pos,++this.curLine),""):String.fromCharCode(e)}},Kt.readHexChar=function(t){var e=this.pos,o=this.readInt(16,t);return null===o&&this.invalidStringToken(e,"Bad character escape sequence"),o},Kt.readWord1=function(){this.containsEsc=!1;for(var t="",e=!0,o=this.pos,i=this.options.ecmaVersion>=6;this.pos<this.input.length;){var n=this.fullCharCodeAtPos();if(d(n,i))this.pos+=n<=65535?1:2;else{if(92!==n)break;this.containsEsc=!0,t+=this.input.slice(o,this.pos);var r=this.pos;117!==this.input.charCodeAt(++this.pos)&&this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX"),++this.pos;var s=this.readCodePoint();(e?c:d)(s,i)||this.invalidStringToken(r,"Invalid Unicode escape"),t+=F(s),o=this.pos}e=!1}return t+this.input.slice(o,this.pos)},Kt.readWord=function(){var t=this.readWord1(),e=C.name;return this.keywords.test(t)&&(e=m[t]),this.finishToken(e,t)};var Qt="8.15.0";U.acorn={Parser:U,version:Qt,defaultOptions:G,Position:L,SourceLocation:M,getLineInfo:k,Node:ft,TokenType:h,tokTypes:C,keywordTypes:m,TokContext:nt,tokContexts:rt,isIdentifierChar:d,isIdentifierStart:c,Token:Yt,isNewLine:_,lineBreak:E,lineBreakG:w,nonASCIIwhitespace:b},t.Node=ft,t.Parser=U,t.Position=L,t.SourceLocation=M,t.TokContext=nt,t.Token=Yt,t.TokenType=h,t.defaultOptions=G,t.getLineInfo=k,t.isIdentifierChar=d,t.isIdentifierStart=c,t.isNewLine=_,t.keywordTypes=m,t.lineBreak=E,t.lineBreakG=w,t.nonASCIIwhitespace=b,t.parse=function(t,e){return U.parse(t,e)},t.parseExpressionAt=function(t,e,o){return U.parseExpressionAt(t,e,o)},t.tokContexts=rt,t.tokTypes=C,t.tokenizer=function(t,e){return U.tokenizer(t,e)},t.version=Qt}(e)},84715:function(t,e,o){var i,n=this&&this.__extends||(i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},i(t,e)},function(t,e){function o(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),r=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},s=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var a=o(46379),l=o(45727),p=o(72493),u=o(44081),c=o(93121),d=o(83423),h=function(t){function e(){var e=t.call(this,'<div class="ag-cell-edit-input"><select class="ag-cell-edit-input"/></div>')||this;return e.eSelect=e.getGui().querySelector("select"),e}return n(e,t),e.prototype.init=function(t){var e=this;this.focusAfterAttached=t.cellStartedEdit,d._.missing(t.values)?console.warn("ag-Grid: no values found for select cellEditor"):(t.values.forEach((function(o){var i=document.createElement("option");i.value=o;var n=e.valueFormatterService.formatValue(t.column,null,null,o),r=null!=n;i.text=r?n:o,t.value===o&&(i.selected=!0),e.eSelect.appendChild(i)})),this.gridOptionsWrapper.isFullRowEdit()||this.addDestroyableEventListener(this.eSelect,"change",(function(){return t.stopEditing()})),this.addDestroyableEventListener(this.eSelect,"keydown",(function(t){(t.keyCode===l.Constants.KEY_UP||t.keyCode===l.Constants.KEY_DOWN)&&t.stopPropagation()})),this.addDestroyableEventListener(this.eSelect,"mousedown",(function(t){t.stopPropagation()})))},e.prototype.afterGuiAttached=function(){this.focusAfterAttached&&this.eSelect.focus()},e.prototype.focusIn=function(){this.eSelect.focus()},e.prototype.getValue=function(){return this.eSelect.value},e.prototype.isPopup=function(){return!1},r([p.Autowired("gridOptionsWrapper"),s("design:type",u.GridOptionsWrapper)],e.prototype,"gridOptionsWrapper",void 0),r([p.Autowired("valueFormatterService"),s("design:type",c.ValueFormatterService)],e.prototype,"valueFormatterService",void 0),e}(a.PopupComponent);e.SelectCellEditor=h},85222:(t,e)=>{Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(){}return t.EVENT_COLUMN_EVERYTHING_CHANGED="columnEverythingChanged",t.EVENT_NEW_COLUMNS_LOADED="newColumnsLoaded",t.EVENT_COLUMN_PIVOT_MODE_CHANGED="columnPivotModeChanged",t.EVENT_COLUMN_ROW_GROUP_CHANGED="columnRowGroupChanged",t.EVENT_EXPAND_COLLAPSE_ALL="expandOrCollapseAll",t.EVENT_COLUMN_PIVOT_CHANGED="columnPivotChanged",t.EVENT_GRID_COLUMNS_CHANGED="gridColumnsChanged",t.EVENT_COLUMN_VALUE_CHANGED="columnValueChanged",t.EVENT_COLUMN_MOVED="columnMoved",t.EVENT_COLUMN_VISIBLE="columnVisible",t.EVENT_COLUMN_PINNED="columnPinned",t.EVENT_COLUMN_GROUP_OPENED="columnGroupOpened",t.EVENT_COLUMN_RESIZED="columnResized",t.EVENT_DISPLAYED_COLUMNS_CHANGED="displayedColumnsChanged",t.EVENT_VIRTUAL_COLUMNS_CHANGED="virtualColumnsChanged",t.EVENT_ROW_GROUP_OPENED="rowGroupOpened",t.EVENT_ROW_DATA_CHANGED="rowDataChanged",t.EVENT_ROW_DATA_UPDATED="rowDataUpdated",t.EVENT_PINNED_ROW_DATA_CHANGED="pinnedRowDataChanged",t.EVENT_RANGE_SELECTION_CHANGED="rangeSelectionChanged",t.EVENT_TOOL_PANEL_VISIBLE_CHANGED="toolPanelVisibleChanged",t.EVENT_MODEL_UPDATED="modelUpdated",t.EVENT_PASTE_START="pasteStart",t.EVENT_PASTE_END="pasteEnd",t.EVENT_CELL_CLICKED="cellClicked",t.EVENT_CELL_DOUBLE_CLICKED="cellDoubleClicked",t.EVENT_CELL_MOUSE_DOWN="cellMouseDown",t.EVENT_CELL_CONTEXT_MENU="cellContextMenu",t.EVENT_CELL_VALUE_CHANGED="cellValueChanged",t.EVENT_ROW_VALUE_CHANGED="rowValueChanged",t.EVENT_CELL_FOCUSED="cellFocused",t.EVENT_ROW_SELECTED="rowSelected",t.EVENT_SELECTION_CHANGED="selectionChanged",t.EVENT_CELL_KEY_DOWN="cellKeyDown",t.EVENT_CELL_KEY_PRESS="cellKeyPress",t.EVENT_CELL_MOUSE_OVER="cellMouseOver",t.EVENT_CELL_MOUSE_OUT="cellMouseOut",t.EVENT_FILTER_CHANGED="filterChanged",t.EVENT_FILTER_MODIFIED="filterModified",t.EVENT_FILTER_OPENED="filterOpened",t.EVENT_SORT_CHANGED="sortChanged",t.EVENT_VIRTUAL_ROW_REMOVED="virtualRowRemoved",t.EVENT_ROW_CLICKED="rowClicked",t.EVENT_ROW_DOUBLE_CLICKED="rowDoubleClicked",t.EVENT_GRID_READY="gridReady",t.EVENT_GRID_SIZE_CHANGED="gridSizeChanged",t.EVENT_VIEWPORT_CHANGED="viewportChanged",t.EVENT_FIRST_DATA_RENDERED="firstDataRendered",t.EVENT_DRAG_STARTED="dragStarted",t.EVENT_DRAG_STOPPED="dragStopped",t.EVENT_ROW_EDITING_STARTED="rowEditingStarted",t.EVENT_ROW_EDITING_STOPPED="rowEditingStopped",t.EVENT_CELL_EDITING_STARTED="cellEditingStarted",t.EVENT_CELL_EDITING_STOPPED="cellEditingStopped",t.EVENT_BODY_SCROLL="bodyScroll",t.EVENT_ANIMATION_QUEUE_EMPTY="animationQueueEmpty",t.EVENT_HEIGHT_SCALE_CHANGED="heightScaleChanged",t.EVENT_PAGINATION_CHANGED="paginationChanged",t.EVENT_COMPONENT_STATE_CHANGED="componentStateChanged",t.EVENT_BODY_HEIGHT_CHANGED="bodyHeightChanged",t.EVENT_DISPLAYED_COLUMNS_WIDTH_CHANGED="displayedColumnsWidthChanged",t.EVENT_SCROLL_VISIBILITY_CHANGED="scrollVisibilityChanged",t.EVENT_COLUMN_HOVER_CHANGED="columnHoverChanged",t.EVENT_FLASH_CELLS="flashCells",t.EVENT_ROW_DRAG_ENTER="rowDragEnter",t.EVENT_ROW_DRAG_MOVE="rowDragMove",t.EVENT_ROW_DRAG_LEAVE="rowDragLeave",t.EVENT_ROW_DRAG_END="rowDragEnd",t.EVENT_COLUMN_ROW_GROUP_CHANGE_REQUEST="columnRowGroupChangeRequest",t.EVENT_COLUMN_PIVOT_CHANGE_REQUEST="columnPivotChangeRequest",t.EVENT_COLUMN_VALUE_CHANGE_REQUEST="columnValueChangeRequest",t.EVENT_COLUMN_AGG_FUNC_CHANGE_REQUEST="columnAggFuncChangeRequest",t}();e.Events=o},85397:function(t,e,o){var i,n=this&&this.__extends||(i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},i(t,e)},function(t,e){function o(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)});Object.defineProperty(e,"__esModule",{value:!0});var r=o(96652),s=o(96652),a=o(4855),l=o(47008),p=function(t){function e(e,o){var i=t.call(this,e,o)||this;return i.props=e,i.state=o,i}return n(e,t),e.prototype.render=function(){return null},e.mapChildColumnDefs=function(t){return r.Children.map(t.children,(function(t){return e.toColDef(t.props)}))},e.toColDef=function(t){var o=e.createColDefFromGridColumn(t);return e.hasChildColumns(t)&&(o.children=e.getChildColDefs(t.children)),o},e.hasChildColumns=function(t){return r.Children.count(t.children)>0},e.getChildColDefs=function(t){return r.Children.map(t,(function(t){return e.createColDefFromGridColumn(t.props)}))},e.createColDefFromGridColumn=function(t){var o={};return e.assign(o,t),delete o.children,o},e.assign=function(t,e){return[e].reduce((function(t,e){return Object.keys(e).forEach((function(o){t[o]=e[o]})),t}),t)},e}(s.Component);function u(t,e){t.forEach((function(t){p[t]=e}))}e.AgGridColumn=p,u(l.ColDefUtil.BOOLEAN_PROPERTIES,a.bool),u(l.ColDefUtil.STRING_PROPERTIES,a.string),u(l.ColDefUtil.OBJECT_PROPERTIES,a.object),u(l.ColDefUtil.ARRAY_PROPERTIES,a.array),u(l.ColDefUtil.NUMBER_PROPERTIES,a.number),u(l.ColDefUtil.FUNCTION_PROPERTIES,a.func)},85910:function(t,e,o){var i=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},n=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r,s=o(72493),a=o(44081),l=o(36777),p=o(69638),u=o(22743),c=o(83423);!function(t){t[t.DEFAULT=0]="DEFAULT",t[t.REGISTERED_BY_NAME=1]="REGISTERED_BY_NAME",t[t.HARDCODED=2]="HARDCODED"}(r=e.ComponentSource||(e.ComponentSource={}));var d=function(){function t(){}return t.prototype.newDateComponent=function(t){return this.createAndInitUserComponent(this.gridOptions,t,"dateComponent","agDateInput")},t.prototype.newHeaderComponent=function(t){return this.createAndInitUserComponent(t.column.getColDef(),t,"headerComponent","agColumnHeader")},t.prototype.newHeaderGroupComponent=function(t){return this.createAndInitUserComponent(t.columnGroup.getColGroupDef(),t,"headerGroupComponent","agColumnGroupHeader")},t.prototype.newFullWidthGroupRowInnerCellRenderer=function(t){return this.createAndInitUserComponent(this.gridOptions,t,"groupRowInnerRenderer",null,!0)},t.prototype.newFullWidthCellRenderer=function(t,e,o){return this.createAndInitUserComponent(null,t,e,o)},t.prototype.newCellRenderer=function(t,e){return this.createAndInitUserComponent(t,e,"cellRenderer",null,!0)},t.prototype.newPinnedRowCellRenderer=function(t,e){return this.createAndInitUserComponent(t,e,"pinnedRowCellRenderer",null,!0)},t.prototype.newCellEditor=function(t,e){return this.createAndInitUserComponent(t,e,"cellEditor","agCellEditor")},t.prototype.newInnerCellRenderer=function(t,e){return this.createAndInitUserComponent(t,e,"innerRenderer",null)},t.prototype.newLoadingOverlayComponent=function(t){return this.createAndInitUserComponent(this.gridOptions,t,"loadingOverlayComponent","agLoadingOverlay")},t.prototype.newNoRowsOverlayComponent=function(t){return this.createAndInitUserComponent(this.gridOptions,t,"noRowsOverlayComponent","agNoRowsOverlay")},t.prototype.newTooltipComponent=function(t){var e=t.column&&t.column.getColDef();return this.createAndInitUserComponent(e,t,"tooltipComponent","agTooltipComponent")},t.prototype.newFilterComponent=function(t,e,o,i){return this.createAndInitUserComponent(t,e,"filter",o,!1,i)},t.prototype.newFloatingFilterComponent=function(t,e,o){return this.createAndInitUserComponent(t,e,"floatingFilterComponent",o,!0)},t.prototype.newToolPanelComponent=function(t,e){return this.createAndInitUserComponent(t,e,"toolPanel")},t.prototype.newStatusPanelComponent=function(t,e){return this.createAndInitUserComponent(t,e,"statusPanel")},t.prototype.createAndInitUserComponent=function(t,e,o,i,n,r){void 0===n&&(n=!1),t||(t=this.gridOptions);var s=this.createComponentInstance(t,o,e,i,n);if(!s)return null;var a=s.componentInstance,l=this.createFinalParams(t,o,e,s.paramsFromSelector);this.addReactHacks(l);var p=r?r(l,a):l,u=this.initComponent(a,p);return null==u?c.Promise.resolve(a):u.map((function(t){return a}))},t.prototype.addReactHacks=function(t){var e=this.context.getBean("agGridReact");e&&(t.agGridReact=c._.cloneObject(e));var o=this.context.getBean("frameworkComponentWrapper");o&&(t.frameworkComponentWrapper=o)},t.prototype.createUserComponentFromConcreteClass=function(t,e){var o=new t;return this.initComponent(o,e),o},t.prototype.lookupComponentClassDef=function(t,e,o,i){void 0===o&&(o=null);var n,s=null,a=null,l=null,p=null;if(null!=t){var u=t[e];null==u||!0===u||("string"==typeof u?s=u:"boolean"==typeof u||(this.agComponentUtils.doesImplementIComponent(u)?a=u:l=u)),p=t[e+"Framework"],n=t[e+"Selector"]}if(a&&p||s&&p||l&&p)throw Error("ag-grid: you are trying to specify: "+e+" twice as a component.");if(p&&!this.frameworkComponentWrapper)throw Error("ag-grid: you are specifying a framework component but you are not using a framework version of ag-grid for : "+e);if(n&&(s||a||l||p))throw Error("ag-grid: you can't specify both, the selector and the component of ag-grid for : "+e);if(p)return{componentFromFramework:!0,component:p,source:r.HARDCODED,paramsFromSelector:null};if(a)return{componentFromFramework:!1,component:a,source:r.HARDCODED,paramsFromSelector:null};if(l)return this.agComponentUtils.adaptFunction(e,l,!1,r.HARDCODED);var c,d=n?n(o):null;if(!(c=d&&d.component?d.component:s||i))return null;var h=this.lookupFromRegisteredComponents(e,c);return{componentFromFramework:h.componentFromFramework,component:h.component,source:h.source,paramsFromSelector:d?d.params:null}},t.prototype.lookupFromRegisteredComponents=function(t,e){var o=null!=e?e:t,i=this.userComponentRegistry.retrieve(o);return null==i?null:i.componentFromFramework?{component:i.component,componentFromFramework:!0,source:r.REGISTERED_BY_NAME,paramsFromSelector:null}:this.agComponentUtils.doesImplementIComponent(i.component)?{component:i.component,componentFromFramework:!1,source:i.source==l.RegisteredComponentSource.REGISTERED?r.REGISTERED_BY_NAME:r.DEFAULT,paramsFromSelector:null}:this.agComponentUtils.adaptFunction(t,i.component,i.componentFromFramework,i.source==l.RegisteredComponentSource.REGISTERED?r.REGISTERED_BY_NAME:r.DEFAULT)},t.prototype.createFinalParams=function(t,e,o,i){void 0===i&&(i=null);var n={};c._.mergeDeep(n,o);var r=t?t[e+"Params"]:null;return null!=r&&("function"==typeof r?c._.mergeDeep(n,r(o)):"object"==typeof r&&c._.mergeDeep(n,r)),c._.mergeDeep(n,i),n},t.prototype.createComponentInstance=function(t,e,o,i,n){var r,s=this.lookupComponentClassDef(t,e,o,i);if(!s||!s.component)return n||console.error("Error creating component "+e+"=>"+i),null;if(s.componentFromFramework){var a=s.component,l=this.componentMetadataProvider.retrieve(e);r=this.frameworkComponentWrapper.wrap(a,l.mandatoryMethodList,l.optionalMethodList,i)}else r=new s.component;return{componentInstance:r,paramsFromSelector:s.paramsFromSelector}},t.prototype.initComponent=function(t,e){return this.context.wireBean(t),null==t.init?void 0:t.init(e)},i([s.Autowired("gridOptions"),n("design:type",Object)],t.prototype,"gridOptions",void 0),i([s.Autowired("gridOptionsWrapper"),n("design:type",a.GridOptionsWrapper)],t.prototype,"gridOptionsWrapper",void 0),i([s.Autowired("context"),n("design:type",s.Context)],t.prototype,"context",void 0),i([s.Autowired("agComponentUtils"),n("design:type",p.AgComponentUtils)],t.prototype,"agComponentUtils",void 0),i([s.Autowired("componentMetadataProvider"),n("design:type",u.ComponentMetadataProvider)],t.prototype,"componentMetadataProvider",void 0),i([s.Autowired("userComponentRegistry"),n("design:type",l.UserComponentRegistry)],t.prototype,"userComponentRegistry",void 0),i([s.Optional("frameworkComponentWrapper"),n("design:type",Object)],t.prototype,"frameworkComponentWrapper",void 0),i([s.Bean("userComponentFactory")],t)}();e.UserComponentFactory=d},86021:(t,e,o)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.ParseMode=void 0,e.parse=a;const i=o(84537),n=o(87065),r=o(39031),s=o(32391);function a(t,e){const o=(0,s.buildOptions)(e),{hasComments:a,ast:l}=function(t){let e=!1;return{ast:(0,i.parse)(t,{ecmaVersion:6,onComment:()=>e=!0,locations:!0,ranges:!0,sourceFile:t}),hasComments:e}}(`(\n${t}\n)`);return a&&!o.allowComments||!(0,n.checkTree)(l,o)?"":(0,r.executeAST)(l)}Object.defineProperty(e,"ParseMode",{enumerable:!0,get:function(){return s.ParseMode}}),e.default=a},86587:(t,e,o)=>{var i=o(10014).PredicateTransition;function n(t){return Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,n):(new Error).stack,this.message=t.message,this.recognizer=t.recognizer,this.input=t.input,this.ctx=t.ctx,this.offendingToken=null,this.offendingState=-1,null!==this.recognizer&&(this.offendingState=this.recognizer.state),this}function r(t,e,o,i){return n.call(this,{message:"",recognizer:t,input:e,ctx:null}),this.startIndex=o,this.deadEndConfigs=i,this}function s(t,e,o,i,r,s){s=s||t._ctx,i=i||t.getCurrentToken(),o=o||t.getCurrentToken(),e=e||t.getInputStream(),n.call(this,{message:"",recognizer:t,input:e,ctx:s}),this.deadEndConfigs=r,this.startToken=o,this.offendingToken=i}function a(t){n.call(this,{message:"",recognizer:t,input:t.getInputStream(),ctx:t._ctx}),this.offendingToken=t.getCurrentToken()}function l(t,e,o){n.call(this,{message:this.formatMessage(e,o||null),recognizer:t,input:t.getInputStream(),ctx:t._ctx});var r=t._interp.atn.states[t.state].transitions[0];return r instanceof i?(this.ruleIndex=r.ruleIndex,this.predicateIndex=r.predIndex):(this.ruleIndex=0,this.predicateIndex=0),this.predicate=e,this.offendingToken=t.getCurrentToken(),this}function p(){return Error.call(this),Error.captureStackTrace(this,p),this}n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n.prototype.getExpectedTokens=function(){return null!==this.recognizer?this.recognizer.atn.getExpectedTokens(this.offendingState,this.ctx):null},n.prototype.toString=function(){return this.message},r.prototype=Object.create(n.prototype),r.prototype.constructor=r,r.prototype.toString=function(){var t="";return this.startIndex>=0&&this.startIndex<this.input.size&&(t=this.input.getText((this.startIndex,this.startIndex))),"LexerNoViableAltException"+t},s.prototype=Object.create(n.prototype),s.prototype.constructor=s,a.prototype=Object.create(n.prototype),a.prototype.constructor=a,l.prototype=Object.create(n.prototype),l.prototype.constructor=l,l.prototype.formatMessage=function(t,e){return null!==e?e:"failed predicate: {"+t+"}?"},p.prototype=Object.create(Error.prototype),p.prototype.constructor=p,e.RecognitionException=n,e.NoViableAltException=s,e.LexerNoViableAltException=r,e.InputMismatchException=a,e.FailedPredicateException=l,e.ParseCancellationException=p},86608:function(t,e,o){var i=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},n=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r=o(26016),s=o(72493),a=o(44081),l=o(44871),p=o(98239),u=o(60843),c=o(63405),d=o(40797),h=o(83423),f=function(){function t(){}var e;return e=t,t.prototype.progressSort=function(t,e,o){void 0===o&&(o="api");var i=this.getNextSortDirection(t);this.setSortForColumn(t,i,e,o)},t.prototype.setSortForColumn=function(t,e,o,i){if(void 0===i&&(i="api"),e!==r.Column.SORT_ASC&&e!==r.Column.SORT_DESC&&(e=null),t.setSort(e,i),t.getSort()){var n=Number((new Date).valueOf());t.setSortedAt(n)}else t.setSortedAt(null);o&&!this.gridOptionsWrapper.isSuppressMultiSort()||this.clearSortBarThisColumn(t,i),this.dispatchSortChangedEvents()},t.prototype.onSortChanged=function(){this.dispatchSortChangedEvents()},t.prototype.dispatchSortChangedEvents=function(){var t={type:c.Events.EVENT_SORT_CHANGED,api:this.gridApi,columnApi:this.columnApi};this.eventService.dispatchEvent(t)},t.prototype.clearSortBarThisColumn=function(t,e){this.columnController.getPrimaryAndSecondaryAndAutoColumns().forEach((function(o){o!==t&&o.setSort(void 0,e)}))},t.prototype.getNextSortDirection=function(t){var o;if(o=t.getColDef().sortingOrder?t.getColDef().sortingOrder:this.gridOptionsWrapper.getSortingOrder()?this.gridOptionsWrapper.getSortingOrder():e.DEFAULT_SORTING_ORDER,!Array.isArray(o)||o.length<=0)return console.warn("ag-grid: sortingOrder must be an array with at least one element, currently it's "+o),null;var i,n=o.indexOf(t.getSort()),r=n<0,s=n==o.length-1;return i=r||s?o[0]:o[n+1],e.DEFAULT_SORTING_ORDER.indexOf(i)<0?(console.warn("ag-grid: invalid sort type "+i),null):i},t.prototype.getSortModel=function(){var t=this.getColumnsWithSortingOrdered();return h._.map(t,(function(t){return{colId:t.getColId(),sort:t.getSort()}}))},t.prototype.setSortModel=function(t,e){var o=this;void 0===e&&(e="api");var i=t&&t.length>0;this.columnController.getPrimaryAndSecondaryAndAutoColumns().forEach((function(n){var r=null,s=-1;if(i&&n.getColDef().sortable)for(var a=0;a<t.length;a++){var l=t[a];"string"==typeof l.colId&&"string"==typeof n.getColId()&&o.compareColIds(l,n)&&(r=l.sort,s=a)}r?(n.setSort(r,e),n.setSortedAt(s)):(n.setSort(null,e),n.setSortedAt(null))})),this.dispatchSortChangedEvents()},t.prototype.compareColIds=function(t,e){return t.colId===e.getColId()},t.prototype.getColumnsWithSortingOrdered=function(){var t=this.columnController.getPrimaryAndSecondaryAndAutoColumns(),e=h._.filter(t,(function(t){return!!t.getSort()}));return e.sort((function(t,e){return t.sortedAt-e.sortedAt})),e},t.prototype.getSortForRowController=function(){var t=this.getColumnsWithSortingOrdered();return h._.map(t,(function(t){return{inverter:t.getSort()===r.Column.SORT_ASC?1:-1,column:t}}))},t.DEFAULT_SORTING_ORDER=[r.Column.SORT_ASC,r.Column.SORT_DESC,null],i([s.Autowired("gridOptionsWrapper"),n("design:type",a.GridOptionsWrapper)],t.prototype,"gridOptionsWrapper",void 0),i([s.Autowired("columnController"),n("design:type",p.ColumnController)],t.prototype,"columnController",void 0),i([s.Autowired("eventService"),n("design:type",u.EventService)],t.prototype,"eventService",void 0),i([s.Autowired("columnApi"),n("design:type",l.ColumnApi)],t.prototype,"columnApi",void 0),i([s.Autowired("gridApi"),n("design:type",d.GridApi)],t.prototype,"gridApi",void 0),e=i([s.Bean("sortController")],t)}();e.SortController=f},86895:(t,e)=>{Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(){}return t.prototype.dateComponent=function(t){return t.dateComponent},t.prototype.colDefFloatingCellRenderer=function(t){return t.pinnedRowCellRenderer},t.prototype.colDefCellRenderer=function(t){return t.cellRenderer},t.prototype.colDefCellEditor=function(t){return t.cellEditor},t.prototype.colDefFilter=function(t){return t.filter},t.prototype.gridOptionsFullWidthCellRenderer=function(t){return t.fullWidthCellRenderer},t.prototype.gridOptionsGroupRowRenderer=function(t){return t.groupRowRenderer},t.prototype.gridOptionsGroupRowInnerRenderer=function(t){return t.groupRowInnerRenderer},t.prototype.setTimeout=function(t,e){window.setTimeout(t,e)},t}();e.BaseFrameworkFactory=o},87065:(t,e,o)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.checkTree=void 0;const i=o(34437);class n{constructor(t){this.options=t,this.checkSafeCall=t=>{const e=this.options.allowMethods;if("Identifier"===t.callee.type)return i.GLOBAL_FUNCTIONS.indexOf(t.callee.name)>=0&&t.arguments.every(this.checkSafeExpression);if(e&&"MemberExpression"===t.callee.type){const e=t.callee.object,o=t.callee.property;if("Identifier"===e.type&&"Identifier"===o.type)return(0,i.isMethodWhitelisted)(e.name,o.name)&&t.arguments.every(this.checkSafeExpression);if("NewExpression"!==e.type&&"CallExpression"!==e.type||"Identifier"!==e.callee.type)return this.checkSafeExpression(e)&&t.arguments.every(this.checkSafeExpression);{const n=e.callee;return(0,i.isMethodWhitelisted)(n.name,o.name)&&t.arguments.every(this.checkSafeExpression)}}return!1},this.checkSafeExpression=t=>{switch(t?.type){case"Identifier":return Object.prototype.hasOwnProperty.call(i.GLOBALS,t.name);case"Literal":return!0;case"ArrayExpression":return t.elements.every(this.checkSafeExpression);case"UnaryExpression":return this.checkSafeExpression(t.argument);case"BinaryExpression":return this.checkSafeExpression(t.left)&&this.checkSafeExpression(t.right);case"CallExpression":case"NewExpression":return this.checkSafeCall(t);case"ObjectExpression":return t.properties.every((t=>!("computed"in t&&t.computed||"method"in t&&t.method)&&!(!("key"in t)||!["Literal","Identifier"].includes(t.key.type))&&"value"in t&&(["FunctionExpression","ArrowFunctionExpression"].includes(t.value.type)||this.checkSafeExpression(t.value))));default:return!1}}}}e.checkTree=(t,e)=>"Program"===t.type&&1===t.body.length&&"ExpressionStatement"===t.body[0].type&&new n(e).checkSafeExpression(t.body[0].expression)},87264:(t,e,o)=>{var i=o(51028).ATN,n=o(66346),r=n.Hash,s=n.Set,a=o(7842).Ij,l=o(10559).merge;function p(t){return t.hashCodeForConfigSet()}function u(t,e){return t===e||null!==t&&null!==e&&t.equalsForConfigSet(e)}function c(t){return this.configLookup=new s(p,u),this.fullCtx=void 0===t||t,this.readOnly=!1,this.configs=[],this.uniqueAlt=0,this.conflictingAlts=null,this.hasSemanticContext=!1,this.dipsIntoOuterContext=!1,this.cachedHashCode=-1,this}function d(){return c.call(this),this.configLookup=new s,this}c.prototype.add=function(t,e){if(void 0===e&&(e=null),this.readOnly)throw"This set is readonly";t.semanticContext!==a.NONE&&(this.hasSemanticContext=!0),t.reachesIntoOuterContext>0&&(this.dipsIntoOuterContext=!0);var o=this.configLookup.add(t);if(o===t)return this.cachedHashCode=-1,this.configs.push(t),!0;var i=!this.fullCtx,n=l(o.context,t.context,i,e);return o.reachesIntoOuterContext=Math.max(o.reachesIntoOuterContext,t.reachesIntoOuterContext),t.precedenceFilterSuppressed&&(o.precedenceFilterSuppressed=!0),o.context=n,!0},c.prototype.getStates=function(){for(var t=new s,e=0;e<this.configs.length;e++)t.add(this.configs[e].state);return t},c.prototype.getPredicates=function(){for(var t=[],e=0;e<this.configs.length;e++){var o=this.configs[e].semanticContext;o!==a.NONE&&t.push(o.semanticContext)}return t},Object.defineProperty(c.prototype,"items",{get:function(){return this.configs}}),c.prototype.optimizeConfigs=function(t){if(this.readOnly)throw"This set is readonly";if(0!==this.configLookup.length)for(var e=0;e<this.configs.length;e++){var o=this.configs[e];o.context=t.getCachedContext(o.context)}},c.prototype.addAll=function(t){for(var e=0;e<t.length;e++)this.add(t[e]);return!1},c.prototype.equals=function(t){return this===t||t instanceof c&&n.equalArrays(this.configs,t.configs)&&this.fullCtx===t.fullCtx&&this.uniqueAlt===t.uniqueAlt&&this.conflictingAlts===t.conflictingAlts&&this.hasSemanticContext===t.hasSemanticContext&&this.dipsIntoOuterContext===t.dipsIntoOuterContext},c.prototype.hashCode=function(){var t=new r;return this.updateHashCode(t),t.finish()},c.prototype.updateHashCode=function(t){this.readOnly?(-1===this.cachedHashCode&&((t=new r).update(this.configs),this.cachedHashCode=t.finish()),t.update(this.cachedHashCode)):t.update(this.configs)},Object.defineProperty(c.prototype,"length",{get:function(){return this.configs.length}}),c.prototype.isEmpty=function(){return 0===this.configs.length},c.prototype.contains=function(t){if(null===this.configLookup)throw"This method is not implemented for readonly sets.";return this.configLookup.contains(t)},c.prototype.containsFast=function(t){if(null===this.configLookup)throw"This method is not implemented for readonly sets.";return this.configLookup.containsFast(t)},c.prototype.clear=function(){if(this.readOnly)throw"This set is readonly";this.configs=[],this.cachedHashCode=-1,this.configLookup=new s},c.prototype.setReadonly=function(t){this.readOnly=t,t&&(this.configLookup=null)},c.prototype.toString=function(){return n.arrayToString(this.configs)+(this.hasSemanticContext?",hasSemanticContext="+this.hasSemanticContext:"")+(this.uniqueAlt!==i.INVALID_ALT_NUMBER?",uniqueAlt="+this.uniqueAlt:"")+(null!==this.conflictingAlts?",conflictingAlts="+this.conflictingAlts:"")+(this.dipsIntoOuterContext?",dipsIntoOuterContext":"")},d.prototype=Object.create(c.prototype),d.prototype.constructor=d,e.Q=c,e.F=d},87952:function(t,e,o){var i,n=this&&this.__extends||(i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},i(t,e)},function(t,e){function o(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),r=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},s=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var a=o(22131),l=o(72493),p=o(15068),u=o(58342),c=o(85222),d=o(8534),h=o(83423),f=function(t){function e(e,o,i,n){var r=t.call(this,'<div class="ag-row-drag"></div>')||this;return r.visibleMode=null,r.rowNode=e,r.column=o,r.cellValue=i,r.beans=n,r}return n(e,t),e.prototype.postConstruct=function(){this.getGui().appendChild(h._.createIconNoSpan("rowDrag",this.beans.gridOptionsWrapper,null)),this.addDragSource(),this.checkCompatibility(),this.beans.gridOptionsWrapper.isRowDragManaged()?this.addFeature(this.beans.context,new y(this,this.beans,this.rowNode,this.column)):this.addFeature(this.beans.context,new g(this,this.beans,this.rowNode,this.column))},e.prototype.checkCompatibility=function(){var t=this.beans.gridOptionsWrapper.isRowDragManaged();this.beans.gridOptionsWrapper.isTreeData()&&t&&h._.doOnce((function(){return console.warn("ag-Grid: If using row drag with tree data, you cannot have rowDragManaged=true")}),"RowDragComp.managedAndTreeData")},e.prototype.addDragSource=function(){var t=this,e={rowNode:this.rowNode},o={type:u.DragSourceType.RowDrag,eElement:this.getGui(),dragItemName:this.cellValue,dragItemCallback:function(){return e},dragStartPixels:0};this.beans.dragAndDropService.addDragSource(o,!0),this.addDestroyFunc((function(){return t.beans.dragAndDropService.removeDragSource(o)}))},e.prototype.getVisibleMode=function(){return this.visibleMode},e.prototype.setVisibleMode=function(t){this.visibleMode=t},r([l.PostConstruct,s("design:type",Function),s("design:paramtypes",[]),s("design:returntype",void 0)],e.prototype,"postConstruct",null),e}(a.Component);e.RowDragComp=f;var g=function(t){function e(e,o,i,n){var r=t.call(this)||this;return r.parent=e,r.beans=o,r.column=n,r.rowNode=i,r}return n(e,t),e.prototype.postConstruct=function(){this.addDestroyableEventListener(this.beans.gridOptionsWrapper,"suppressRowDrag",this.onSuppressRowDrag.bind(this)),this.addDestroyableEventListener(this.rowNode,p.RowNode.EVENT_DATA_CHANGED,this.workOutVisibility.bind(this)),this.addDestroyableEventListener(this.rowNode,p.RowNode.EVENT_CELL_CHANGED,this.workOutVisibility.bind(this)),this.workOutVisibility()},e.prototype.onSuppressRowDrag=function(){this.workOutVisibility()},e.prototype.workOutVisibility=function(){if(this.beans.gridOptionsWrapper.isSuppressRowDrag())this.parent.setVisibleMode("display"),this.parent.setVisible(!1,"display");else{var t=this.column.isRowDrag(this.rowNode);if(!this.parent.getVisibleMode()){var e=h._.isFunction(this.column.getColDef().rowDrag);this.parent.setVisibleMode(e?"visibility":"display")}this.parent.setVisible(t,this.parent.getVisibleMode())}},r([l.PostConstruct,s("design:type",Function),s("design:paramtypes",[]),s("design:returntype",void 0)],e.prototype,"postConstruct",null),e}(d.BeanStub),y=function(t){function e(e,o,i,n){var r=t.call(this)||this;return r.parent=e,r.beans=o,r.column=n,r.rowNode=i,r}return n(e,t),e.prototype.postConstruct=function(){this.addDestroyableEventListener(this.beans.eventService,c.Events.EVENT_SORT_CHANGED,this.onSortChanged.bind(this)),this.addDestroyableEventListener(this.beans.eventService,c.Events.EVENT_FILTER_CHANGED,this.onFilterChanged.bind(this)),this.addDestroyableEventListener(this.beans.eventService,c.Events.EVENT_COLUMN_ROW_GROUP_CHANGED,this.onRowGroupChanged.bind(this)),this.addDestroyableEventListener(this.rowNode,p.RowNode.EVENT_DATA_CHANGED,this.workOutVisibility.bind(this)),this.addDestroyableEventListener(this.rowNode,p.RowNode.EVENT_CELL_CHANGED,this.workOutVisibility.bind(this)),this.addDestroyableEventListener(this.beans.gridOptionsWrapper,"suppressRowDrag",this.onSuppressRowDrag.bind(this)),this.updateSortActive(),this.updateFilterActive(),this.updateRowGroupActive(),this.workOutVisibility()},e.prototype.updateRowGroupActive=function(){var t=this.beans.columnController.getRowGroupColumns();this.rowGroupActive=!h._.missingOrEmpty(t)},e.prototype.onRowGroupChanged=function(){this.updateRowGroupActive(),this.workOutVisibility()},e.prototype.updateSortActive=function(){var t=this.beans.sortController.getSortModel();this.sortActive=!h._.missingOrEmpty(t)},e.prototype.onSortChanged=function(){this.updateSortActive(),this.workOutVisibility()},e.prototype.updateFilterActive=function(){this.filterActive=this.beans.filterManager.isAnyFilterPresent()},e.prototype.onFilterChanged=function(){this.updateFilterActive(),this.workOutVisibility()},e.prototype.onSuppressRowDrag=function(){this.workOutVisibility()},e.prototype.workOutVisibility=function(){var t=this.sortActive||this.filterActive||this.rowGroupActive,e=this.beans.gridOptionsWrapper.isSuppressRowDrag();if(t||e)this.parent.setVisibleMode("display"),this.parent.setVisible(!1,"display");else{var o=this.column.isRowDrag(this.rowNode);if(!this.parent.getVisibleMode()){var i=h._.isFunction(this.column.getColDef().rowDrag);this.parent.setVisibleMode(i?"visibility":"display")}this.parent.setVisible(o,this.parent.getVisibleMode())}},r([l.PostConstruct,s("design:type",Function),s("design:paramtypes",[]),s("design:returntype",void 0)],e.prototype,"postConstruct",null),e}(d.BeanStub)},88333:(t,e,o)=>{Object.defineProperty(e,"__esModule",{value:!0});var i=o(83423),n=function(){function t(e){var o=this;this.items=[],this.params=e,this.eGui=document.createElement("div"),this.eGui.innerHTML=t.TEMPLATE,this.eHeader=this.eGui.querySelector('[ref="tabHeader"]'),this.eBody=this.eGui.querySelector('[ref="tabBody"]'),i._.addCssClass(this.eGui,e.cssClass),e.items&&e.items.forEach((function(t){return o.addItem(t)}))}return t.prototype.setAfterAttachedParams=function(t){this.afterAttachedParams=t},t.prototype.getMinDimensions=function(){var t=this.eGui.cloneNode(!0),e=t.querySelector('[ref="tabBody"]');t.style.position="fixed",this.eGui.appendChild(t);var o=0,n=0;return this.items.forEach((function(r){i._.clearElement(e);var s=r.tabbedItem.bodyPromise.resolveNow(null,(function(t){return t.cloneNode(!0)}));null!=s&&(e.appendChild(s),o<t.offsetWidth&&(o=t.offsetWidth),n<t.offsetHeight&&(n=t.offsetHeight))})),this.eGui.removeChild(t),{height:n,width:o}},t.prototype.showFirstItem=function(){this.items.length>0&&this.showItemWrapper(this.items[0])},t.prototype.addItem=function(t){var e=document.createElement("span");e.appendChild(t.title),i._.addCssClass(e,"ag-tab"),this.eHeader.appendChild(e);var o={tabbedItem:t,eHeaderButton:e};this.items.push(o),e.addEventListener("click",this.showItemWrapper.bind(this,o))},t.prototype.showItem=function(t){var e=i._.find(this.items,(function(e){return e.tabbedItem===t}));e&&this.showItemWrapper(e)},t.prototype.showItemWrapper=function(t){var e=this;this.params.onItemClicked&&this.params.onItemClicked({item:t.tabbedItem}),this.activeItem!==t?(i._.clearElement(this.eBody),t.tabbedItem.bodyPromise.then((function(t){e.eBody.appendChild(t)})),this.activeItem&&i._.removeCssClass(this.activeItem.eHeaderButton,"ag-tab-selected"),i._.addCssClass(t.eHeaderButton,"ag-tab-selected"),this.activeItem=t,t.tabbedItem.afterAttachedCallback&&t.tabbedItem.afterAttachedCallback(this.afterAttachedParams)):i._.callIfPresent(this.params.onActiveItemClicked)},t.prototype.getGui=function(){return this.eGui},t.TEMPLATE='<div><div ref="tabHeader" class="ag-tab-header"></div><div ref="tabBody" class="ag-tab-body"></div></div>',t}();e.TabbedLayout=n},88842:function(t,e,o){var i=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},n=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r=o(72493),s=o(44081),a=function(){function t(){this.cacheVersion=0}return t.prototype.init=function(){this.active=this.gridOptionsWrapper.isValueCache(),this.neverExpires=this.gridOptionsWrapper.isValueCacheNeverExpires()},t.prototype.onDataChanged=function(){this.neverExpires||this.expire()},t.prototype.expire=function(){this.cacheVersion++},t.prototype.setValue=function(t,e,o){this.active&&(t.__cacheVersion!==this.cacheVersion&&(t.__cacheVersion=this.cacheVersion,t.__cacheData={}),t.__cacheData[e]=o)},t.prototype.getValue=function(t,e){return this.active&&t.__cacheVersion===this.cacheVersion&&void 0!==t.__cacheData[e]?t.__cacheData[e]:void 0},i([r.Autowired("gridOptionsWrapper"),n("design:type",s.GridOptionsWrapper)],t.prototype,"gridOptionsWrapper",void 0),i([r.PostConstruct,n("design:type",Function),n("design:paramtypes",[]),n("design:returntype",void 0)],t.prototype,"init",null),i([r.Bean("valueCache")],t)}();e.ValueCache=a},89929:function(t,e,o){var i,n=this&&this.__extends||(i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},i(t,e)},function(t,e){function o(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),r=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},s=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var a=o(44081),l=o(98239),p=o(26016),u=o(72493),c=o(40706),d=o(60843),h=o(63405),f=o(22131),g=o(47721),y=o(40797),m=o(41832),v=o(45727),C=o(83423),E=function(t){function e(){return t.call(this,e.TEMPLATE)||this}return n(e,t),e.prototype.registerGridComp=function(t){this.gridPanel=t,this.childContainers.forEach((function(e){return e.registerGridComp(t)}))},e.prototype.postConstruct=function(){var t=this;this.printLayout=this.gridOptionsWrapper.getDomLayout()===v.Constants.DOM_LAYOUT_PRINT,this.gridApi.registerHeaderRootComp(this),this.autoWidthCalculator.registerHeaderRootComp(this);var e=new c.HeaderContainer(this.eHeaderContainer,this.eHeaderViewport,null),o=new c.HeaderContainer(this.ePinnedLeftHeader,null,p.Column.PINNED_LEFT),i=new c.HeaderContainer(this.ePinnedRightHeader,null,p.Column.PINNED_RIGHT);this.childContainers=[e,o,i],this.childContainers.forEach((function(e){return t.getContext().wireBean(e)})),this.addDestroyableEventListener(this.eventService,h.Events.EVENT_COLUMN_VALUE_CHANGED,this.refreshHeader.bind(this)),this.addDestroyableEventListener(this.gridOptionsWrapper,a.GridOptionsWrapper.PROP_DOM_LAYOUT,this.onDomLayoutChanged.bind(this)),this.addDestroyableEventListener(this.eventService,h.Events.EVENT_COLUMN_PIVOT_MODE_CHANGED,this.onPivotModeChanged.bind(this)),this.onPivotModeChanged(),this.addPreventHeaderScroll(),this.columnController.isReady()&&this.refreshHeader()},e.prototype.onDomLayoutChanged=function(){var t=this.gridOptionsWrapper.getDomLayout()===v.Constants.DOM_LAYOUT_PRINT;this.printLayout!==t&&(this.printLayout=t,this.refreshHeader())},e.prototype.setHorizontalScroll=function(t){this.eHeaderContainer.style.transform="translateX("+t+"px)"},e.prototype.forEachHeaderElement=function(t){this.childContainers.forEach((function(e){return e.forEachHeaderElement(t)}))},e.prototype.destroy=function(){t.prototype.destroy.call(this),this.childContainers.forEach((function(t){return t.destroy()}))},e.prototype.refreshHeader=function(){this.childContainers.forEach((function(t){return t.refresh()}))},e.prototype.onPivotModeChanged=function(){var t=this.columnController.isPivotMode();C._.addOrRemoveCssClass(this.getGui(),"ag-pivot-on",t),C._.addOrRemoveCssClass(this.getGui(),"ag-pivot-off",!t)},e.prototype.setHeight=function(t){var e=t+"px";this.getGui().style.height=e,this.getGui().style.minHeight=e},e.prototype.addPreventHeaderScroll=function(){var t=this;this.addDestroyableEventListener(this.eHeaderViewport,"scroll",(function(){var e=t.eHeaderViewport.scrollLeft;0!==e&&(t.gridPanel.scrollHorizontally(e),t.eHeaderViewport.scrollLeft=0)}))},e.prototype.setHeaderContainerWidth=function(t){this.eHeaderContainer.style.width=t+"px"},e.prototype.setLeftVisible=function(t){C._.setVisible(this.ePinnedLeftHeader,t)},e.prototype.setRightVisible=function(t){C._.setVisible(this.ePinnedRightHeader,t)},e.TEMPLATE='<div class="ag-header" role="row">\n <div class="ag-pinned-left-header" ref="ePinnedLeftHeader" role="presentation"></div>\n <div class="ag-header-viewport" ref="eHeaderViewport" role="presentation">\n <div class="ag-header-container" ref="eHeaderContainer" role="presentation"></div>\n </div>\n <div class="ag-pinned-right-header" ref="ePinnedRightHeader" role="presentation"></div>\n </div>',r([g.RefSelector("ePinnedLeftHeader"),s("design:type",HTMLElement)],e.prototype,"ePinnedLeftHeader",void 0),r([g.RefSelector("ePinnedRightHeader"),s("design:type",HTMLElement)],e.prototype,"ePinnedRightHeader",void 0),r([g.RefSelector("eHeaderContainer"),s("design:type",HTMLElement)],e.prototype,"eHeaderContainer",void 0),r([g.RefSelector("eHeaderViewport"),s("design:type",HTMLElement)],e.prototype,"eHeaderViewport",void 0),r([u.Autowired("gridOptionsWrapper"),s("design:type",a.GridOptionsWrapper)],e.prototype,"gridOptionsWrapper",void 0),r([u.Autowired("columnController"),s("design:type",l.ColumnController)],e.prototype,"columnController",void 0),r([u.Autowired("eventService"),s("design:type",d.EventService)],e.prototype,"eventService",void 0),r([u.Autowired("gridApi"),s("design:type",y.GridApi)],e.prototype,"gridApi",void 0),r([u.Autowired("autoWidthCalculator"),s("design:type",m.AutoWidthCalculator)],e.prototype,"autoWidthCalculator",void 0),r([u.PostConstruct,s("design:type",Function),s("design:paramtypes",[]),s("design:returntype",void 0)],e.prototype,"postConstruct",null),e}(f.Component);e.HeaderRootComp=E},92378:function(t,e,o){var i,n=this&&this.__extends||(i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},i(t,e)},function(t,e){function o(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),r=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},s=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var a=o(47721),l=o(13650),p=o(83423),u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.modelFromFloatingFilter=function(t){return{type:this.selectedFilter,filter:Number(t),filterTo:this.filterNumberTo,filterType:"number"}},e.prototype.getApplicableFilterTypes=function(){return[l.BaseFilter.EQUALS,l.BaseFilter.NOT_EQUAL,l.BaseFilter.LESS_THAN,l.BaseFilter.LESS_THAN_OR_EQUAL,l.BaseFilter.GREATER_THAN,l.BaseFilter.GREATER_THAN_OR_EQUAL,l.BaseFilter.IN_RANGE]},e.prototype.bodyTemplate=function(t){var e=this.translate.bind(this),o=t==l.FilterConditionType.MAIN?"filterText":"filterConditionText",i=t==l.FilterConditionType.MAIN?"filterNumberToPanel":"filterNumberToPanelCondition",n=t==l.FilterConditionType.MAIN?"filterToText":"filterToConditionText";return'<div class="ag-filter-body">\n <div class="ag-input-text-wrapper">\n <input class="ag-filter-filter" id="'+o+'" type="text" placeholder="'+e("filterOoo")+'"/>\n </div>\n <div class="ag-input-text-wrapper ag-filter-number-to" id="'+i+'">\n <input class="ag-filter-filter" id="'+n+'" type="text" placeholder="'+e("filterOoo")+'"/>\n </div>\n </div>'},e.prototype.initialiseFilterBodyUi=function(e){t.prototype.initialiseFilterBodyUi.call(this,e),e===l.FilterConditionType.MAIN?(this.eFilterTextField=this.queryForHtmlInputElement("#filterText"),this.addFilterChangedEventListeners(e,this.eFilterTextField,this.eFilterToTextField)):(this.eFilterTextConditionField=this.queryForHtmlInputElement("#filterConditionText"),this.addFilterChangedEventListeners(e,this.eFilterTextConditionField,this.eFilterToConditionText),this.setFilter(this.filterNumberCondition,l.FilterConditionType.CONDITION),this.setFilterTo(this.filterNumberConditionTo,l.FilterConditionType.CONDITION),this.setFilterType(this.selectedFilterCondition,l.FilterConditionType.CONDITION))},e.prototype.addFilterChangedEventListeners=function(t,e,o){var i=this,n=this.getDebounceMs(this.filterParams),r=p._.debounce((function(){return i.onTextFieldsChanged(t,e,o)}),n);this.addDestroyableEventListener(e,"input",r),this.addDestroyableEventListener(o,"input",r)},e.prototype.afterGuiAttached=function(){this.eFilterTextField.focus()},e.prototype.comparator=function(){return function(t,e){return t===e?0:t<e?1:t>e?-1:void 0}},e.prototype.onTextFieldsChanged=function(t,e,o){var i=this.stringToFloat(e.value),n=this.stringToFloat(o.value);t===l.FilterConditionType.MAIN?this.filterNumber===i&&this.filterNumberTo===n||(this.filterNumber=i,this.filterNumberTo=n,this.onFilterChanged()):this.filterNumberCondition===i&&this.filterNumberConditionTo===n||(this.filterNumberCondition=i,this.filterNumberConditionTo=n,this.onFilterChanged())},e.prototype.filterValues=function(t){return t===l.FilterConditionType.MAIN?this.selectedFilter!==l.BaseFilter.IN_RANGE?this.asNumber(this.filterNumber):[this.asNumber(this.filterNumber),this.asNumber(this.filterNumberTo)]:this.selectedFilterCondition!==l.BaseFilter.IN_RANGE?this.asNumber(this.filterNumberCondition):[this.asNumber(this.filterNumberCondition),this.asNumber(this.filterNumberConditionTo)]},e.prototype.asNumber=function(t){return p._.isNumeric(t)?t:null},e.prototype.stringToFloat=function(t){var e=p._.makeNull(t);return e&&""===e.trim()&&(e=null),null!=e?parseFloat(e):null},e.prototype.setFilter=function(t,e){if(null!==(t=p._.makeNull(t))&&"number"!=typeof t&&(t=parseFloat(t)),e===l.FilterConditionType.MAIN){if(this.filterNumber=t,!this.eFilterTextField)return;this.eFilterTextField.value=t}else{if(this.filterNumberCondition=t,!this.eFilterTextConditionField)return;this.eFilterTextConditionField.value=t}},e.prototype.setFilterTo=function(t,e){if(null!==(t=p._.makeNull(t))&&"number"!=typeof t&&(t=parseFloat(t)),e===l.FilterConditionType.MAIN){if(this.filterNumberTo=t,!this.eFilterToTextField)return;this.eFilterToTextField.value=t}else{if(this.filterNumberConditionTo=t,!this.eFilterToConditionText)return;this.eFilterToConditionText.value=t}},e.prototype.getFilter=function(t){return t===l.FilterConditionType.MAIN?this.filterNumber:this.filterNumberCondition},e.prototype.serialize=function(t){var e=t===l.FilterConditionType.MAIN?this.selectedFilter:this.selectedFilterCondition,o=t===l.FilterConditionType.MAIN?this.filterNumber:this.filterNumberCondition,i=t===l.FilterConditionType.MAIN?this.filterNumberTo:this.filterNumberConditionTo;return{type:e||this.defaultFilter,filter:o,filterTo:i,filterType:"number"}},e.prototype.parse=function(t,e){this.setFilterType(t.type,e),this.setFilter(t.filter,e),this.setFilterTo(t.filterTo,e)},e.prototype.refreshFilterBodyUi=function(t){var o=t===l.FilterConditionType.MAIN?this.selectedFilter:this.selectedFilterCondition,i=t===l.FilterConditionType.MAIN?this.eNumberToPanel:this.eNumberToConditionPanel;if(i){var n=o===e.IN_RANGE;p._.setVisible(i,n)}var r=t===l.FilterConditionType.MAIN?this.eFilterTextField:this.eFilterTextConditionField;if(r){var s=!this.doesFilterHaveHiddenInput(o)&&o!==l.BaseFilter.EMPTY;p._.setVisible(r,s)}},e.prototype.resetState=function(t){void 0===t&&(t=!1),t||(this.setFilterType(this.defaultFilter,l.FilterConditionType.MAIN),this.setFilter(null,l.FilterConditionType.MAIN),this.setFilterTo(null,l.FilterConditionType.MAIN)),this.setFilterType(this.defaultFilter,l.FilterConditionType.CONDITION),this.setFilter(null,l.FilterConditionType.CONDITION),this.setFilterTo(null,l.FilterConditionType.CONDITION)},e.prototype.setType=function(t,e){this.setFilterType(t,e)},e.LESS_THAN="lessThan",r([a.QuerySelector("#filterText"),s("design:type",HTMLInputElement)],e.prototype,"eFilterTextField",void 0),r([a.QuerySelector("#filterTextCondition"),s("design:type",HTMLInputElement)],e.prototype,"eFilterTextConditionField",void 0),r([a.QuerySelector("#filterToText"),s("design:type",HTMLInputElement)],e.prototype,"eFilterToTextField",void 0),r([a.QuerySelector("#filterToConditionText"),s("design:type",HTMLInputElement)],e.prototype,"eFilterToConditionText",void 0),r([a.QuerySelector("#filterNumberToPanel"),s("design:type",HTMLElement)],e.prototype,"eNumberToPanel",void 0),r([a.QuerySelector("#filterNumberToPanelCondition"),s("design:type",HTMLElement)],e.prototype,"eNumberToConditionPanel",void 0),e}(l.ScalarBaseFilter);e.NumberFilter=u},92427:function(t,e,o){var i=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},n=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r=o(72493),s=o(72493),a=function(){function t(){this.templateCache={},this.waitingCallbacks={}}return t.prototype.getTemplate=function(t,e){var o=this.templateCache[t];if(o)return o;var i=this.waitingCallbacks[t],n=this;if(!i){i=[],this.waitingCallbacks[t]=i;var r=new XMLHttpRequest;r.onload=function(){n.handleHttpResult(this,t)},r.open("GET",t),r.send()}return e&&i.push(e),null},t.prototype.handleHttpResult=function(t,e){if(200===t.status&&null!==t.response){this.templateCache[e]=t.response||t.responseText;for(var o=this.waitingCallbacks[e],i=0;i<o.length;i++)(0,o[i])();if(this.$scope){var n=this;window.setTimeout((function(){n.$scope.$apply()}),0)}}else console.warn("Unable to get template error "+t.status+" - "+e)},i([s.Autowired("$scope"),n("design:type",Object)],t.prototype,"$scope",void 0),i([r.Bean("templateService")],t)}();e.TemplateService=a},92702:function(t,e,o){var i=this&&this.__createBinding||(Object.create?function(t,e,o,i){void 0===i&&(i=o);var n=Object.getOwnPropertyDescriptor(e,o);n&&!("get"in n?!e.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return e[o]}}),Object.defineProperty(t,i,n)}:function(t,e,o,i){void 0===i&&(i=o),t[i]=e[o]}),n=this&&this.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),r=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var o in t)"default"!==o&&Object.prototype.hasOwnProperty.call(t,o)&&i(e,t,o);return n(e,t),e},s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_MAX_TIME_MS=e.DEFAULT_COLLATION=e.DEFAULT_PROJECT=e.DEFAULT_SKIP=e.DEFAULT_LIMIT=e.DEFAULT_SORT=e.DEFAULT_FILTER=e.QUERY_PROPERTIES=e.toJSString=e.stringify=e.validate=e.isLimitValid=e.isSkipValid=e.isMaxTimeMSValid=e.isSortValid=e.isProjectValid=e.parseProject=e.isCollationValid=e.isFilterValid=e.parseCollation=e.parseFilter=e.parseSort=void 0;const a=r(o(86021)),l=s(o(20990)),p=s(o(46696)),u=o(57903),c=o(31555);Object.defineProperty(e,"stringify",{enumerable:!0,get:function(){return c.stringify}}),Object.defineProperty(e,"toJSString",{enumerable:!0,get:function(){return c.toJSString}});const d=(0,p.default)("mongodb-query-parser"),h={};e.DEFAULT_FILTER=h;const f=null;e.DEFAULT_SORT=f,e.DEFAULT_LIMIT=0,e.DEFAULT_SKIP=0;const g=null;e.DEFAULT_PROJECT=g;const y=null;function m(t){if(null==t)return!0;const e=l.default.trim("number"==typeof t?`${t}`:t);return"{}"===e||l.default.isEmpty(e)}function v(t){return m(t)?0:!!/^\d+$/.test(`${t}`)&&parseInt(`${t}`,10)}function C(t){return(0,a.default)(t,{mode:a.ParseMode.Loose})}function E(t){return(0,a.default)(t,{mode:a.ParseMode.Loose})}function w(t){return m(t)?f:(0,a.default)(t,{mode:a.ParseMode.Loose})}function _(t){return(0,a.default)(t,{mode:a.ParseMode.Loose,allowMethods:!0})}function S(t){if(m(t))return h;try{return _(t)}catch(e){return d('Filter "%s" is invalid',t,e),!1}}function b(t){if(m(t))return y;try{return function(t){for(const[e,o]of Object.entries(t)){if(!u.COLLATION_OPTIONS[e])return d('Collation "%s" is invalid bc of its keys',t),!1;if(!1===u.COLLATION_OPTIONS[e].includes(o))return d('Collation "%s" is invalid bc of its values',t),!1}return t}(E(t))}catch(e){return d('Collation "%s" is invalid',t,e),!1}}function R(){return!0}function O(t){if(m(t))return g;try{const e=C(t);return l.default.isObject(e)?l.default.every(e,R)?e:(d('Project "%s" is invalid bc of its values',t),!1):(d('Project "%s" is invalid. Only documents are allowed',t),!1)}catch(e){return d('Project "%s" is invalid',t,e),!1}}e.DEFAULT_COLLATION=y,e.DEFAULT_MAX_TIME_MS=6e4,e.QUERY_PROPERTIES=["filter","project","sort","skip","limit"],e.parseSort=w,e.parseFilter=function(t){return m(t)?h:_(t)},e.parseCollation=function(t){return m(t)?y:E(t)},e.isFilterValid=S,e.isCollationValid=b,e.parseProject=function(t){return m(t)?g:C(t)},e.isProjectValid=O;const T=[1,-1,"asc","desc"];function A(t){return l.default.includes(T,t)||!(!l.default.isObject(t)||!t.$meta)}function P(t){return l.default.isArray(t)&&2===t.length&&l.default.isString(t[0])&&A(t[1])}function D(t){try{const e=w(t);return m(e)?f:l.default.isArray(e)&&l.default.every(e,P)||l.default.isObject(e)&&!l.default.isArray(e)&&l.default.every(e,A)?e:(d('Sort "%s" is invalid bc of its values',t),!1)}catch(e){return d('Sort "%s" is invalid',t,e),!1}}function x(t){return m(t)?6e4:v(t)}function N(t){return m(t)?0:v(t)}function F(t){return m(t)?0:v(t)}e.isSortValid=D,e.isMaxTimeMSValid=x,e.isSkipValid=N,e.isLimitValid=F;const I={isMaxTimeMSValid:x,isFilterValid:S,isProjectValid:O,isSortValid:D,isLimitValid:F,isSkipValid:N,isCollationValid:b,isNumberValid:v};e.validate=function(t,e){const o=I[`is${l.default.upperFirst(t)}Valid`];return o?o(e):(d("Do not know how to validate `%s`. Returning false.",t),!1)},e.default=function(t,e=null){return 1===arguments.length&&l.default.isString(t)?_(t):{filter:_(t),project:e!==g?C(e):e}}},93121:function(t,e,o){var i=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},n=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r=o(72493),s=o(44081),a=o(40634),l=function(){function t(){}return t.prototype.formatValue=function(t,e,o,i){var n,r=t.getColDef(),s=null;if(n=e&&e.rowPinned&&r.pinnedRowValueFormatter?r.pinnedRowValueFormatter:r.valueFormatter){var a={value:i,node:e,data:e?e.data:null,colDef:t.getColDef(),column:t,api:this.gridOptionsWrapper.getApi(),columnApi:this.gridOptionsWrapper.getColumnApi(),context:this.gridOptionsWrapper.getContext()};a.$scope=o,s=this.expressionService.evaluate(n,a)}else if(r.refData)return r.refData[i]||"";return null==s&&Array.isArray(i)&&(s=i.join(", ")),s},i([r.Autowired("gridOptionsWrapper"),n("design:type",s.GridOptionsWrapper)],t.prototype,"gridOptionsWrapper",void 0),i([r.Autowired("expressionService"),n("design:type",a.ExpressionService)],t.prototype,"expressionService",void 0),i([r.Bean("valueFormatterService")],t)}();e.ValueFormatterService=l},93343:(t,e)=>{function o(){return this}function i(){return o.call(this),this}function n(t){if(o.call(this),null===t)throw"delegates";return this.delegates=t,this}o.prototype.syntaxError=function(t,e,o,i,n,r){},o.prototype.reportAmbiguity=function(t,e,o,i,n,r,s){},o.prototype.reportAttemptingFullContext=function(t,e,o,i,n,r){},o.prototype.reportContextSensitivity=function(t,e,o,i,n,r){},i.prototype=Object.create(o.prototype),i.prototype.constructor=i,i.INSTANCE=new i,i.prototype.syntaxError=function(t,e,o,i,n,r){console.error("line "+o+":"+i+" "+n)},n.prototype=Object.create(o.prototype),n.prototype.constructor=n,n.prototype.syntaxError=function(t,e,o,i,n,r){this.delegates.map((function(s){s.syntaxError(t,e,o,i,n,r)}))},n.prototype.reportAmbiguity=function(t,e,o,i,n,r,s){this.delegates.map((function(a){a.reportAmbiguity(t,e,o,i,n,r,s)}))},n.prototype.reportAttemptingFullContext=function(t,e,o,i,n,r){this.delegates.map((function(s){s.reportAttemptingFullContext(t,e,o,i,n,r)}))},n.prototype.reportContextSensitivity=function(t,e,o,i,n,r){this.delegates.map((function(s){s.reportContextSensitivity(t,e,o,i,n,r)}))},e.ErrorListener=o,e.q=i,e.X=n},93567:(t,e,o)=>{var i=o(59830),n=o(63655),r=o(96830),s=o(76966),a=o(88141),l=Array.prototype.slice,p=o(57585),u={on:function(t,e,o){return p.eventsApi(this,"on",t,[e,o])&&e?(this._events||(this._events={}),(this._events[t]||(this._events[t]=[])).push({callback:e,context:o,ctx:o||this}),this):this},once:function(t,e,o){if(!p.eventsApi(this,"once",t,[e,o])||!e)return this;var n=this,r=i((function(){n.off(t,r),e.apply(this,arguments)}));return r._callback=e,this.on(t,r,o)},off:function(t,e,o){var i,r,s,a,l,u,c,d;if(!this._events||!p.eventsApi(this,"off",t,[e,o]))return this;if(!t&&!e&&!o)return this._events=void 0,this;for(l=0,u=(a=t?[t]:n(this._events)).length;l<u;l++)if(t=a[l],s=this._events[t]){if(this._events[t]=i=[],e||o)for(c=0,d=s.length;c<d;c++)r=s[c],(e&&e!==r.callback&&e!==r.callback._callback||o&&o!==r.context)&&i.push(r);i.length||delete this._events[t]}return this},trigger:function(t){if(!this._events)return this;var e=l.call(arguments,1);if(!p.eventsApi(this,"trigger",t,e))return this;var o=this._events[t],i=this._events.all;return o&&p.triggerEvents(o,e),i&&p.triggerEvents(i,arguments),this},stopListening:function(t,e,o){var i=this._listeningTo;if(!i)return this;var n=!e&&!o;o||"object"!=typeof e||(o=this),t&&((i={})[t._listenId]=t);var s=this;return a(i,(function(t,i){t.off(e,o,s),(n||r(t._events))&&delete s._listeningTo[i]})),this},createEmitter:function(t){return s(t||{},u)},listenTo:p.createListenMethod("on"),listenToOnce:p.createListenMethod("once"),listenToAndRun:function(t,e,o){return this.listenTo.apply(this,arguments),o||"object"!=typeof e||(o=this),o.apply(this),this}};u.bind=u.on,u.unbind=u.off,u.removeListener=u.off,u.removeAllListeners=u.off,u.emit=u.trigger,t.exports=u},93830:function(t,e,o){var i,n=this&&this.__extends||(i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},i(t,e)},function(t,e){function o(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),r=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},s=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var a=o(60843),l=o(72493),p=o(63405),u=o(8534),c=o(44871),d=o(40797),h=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.setMouseOver=function(t){this.selectedColumns=t;var e={type:p.Events.EVENT_COLUMN_HOVER_CHANGED,api:this.gridApi,columnApi:this.columnApi};this.eventService.dispatchEvent(e)},e.prototype.clearMouseOver=function(){this.selectedColumns=null;var t={type:p.Events.EVENT_COLUMN_HOVER_CHANGED,api:this.gridApi,columnApi:this.columnApi};this.eventService.dispatchEvent(t)},e.prototype.isHovered=function(t){return this.selectedColumns&&this.selectedColumns.indexOf(t)>=0},r([l.Autowired("eventService"),s("design:type",a.EventService)],e.prototype,"eventService",void 0),r([l.Autowired("columnApi"),s("design:type",c.ColumnApi)],e.prototype,"columnApi",void 0),r([l.Autowired("gridApi"),s("design:type",d.GridApi)],e.prototype,"gridApi",void 0),r([l.Bean("columnHoverService")],e)}(u.BeanStub);e.ColumnHoverService=h},93862:(t,e,o)=>{var i=o(25003),n=o(67787).Buffer,r=o(5555);function s(t){r.call(this,t),this.enc="pem"}i(s,r),t.exports=s,s.prototype.decode=function(t,e){for(var o=t.toString().split(/[\r\n]+/g),i=e.label.toUpperCase(),s=/^-----(BEGIN|END) ([^-]+)-----$/,a=-1,l=-1,p=0;p<o.length;p++){var u=o[p].match(s);if(null!==u&&u[2]===i){if(-1!==a){if("END"!==u[1])break;l=p;break}if("BEGIN"!==u[1])break;a=p}}if(-1===a||-1===l)throw new Error("PEM section not found for: "+i);var c=o.slice(a+1,l).join("");c.replace(/[^a-z0-9\+\/=]+/gi,"");var d=new n(c,"base64");return r.prototype.decode.call(this,d,e)}},94591:function(t,e,o){var i=o(67787).Buffer,n=this&&this.__createBinding||(Object.create?function(t,e,o,i){void 0===i&&(i=o);var n=Object.getOwnPropertyDescriptor(e,o);n&&!("get"in n?!e.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return e[o]}}),Object.defineProperty(t,i,n)}:function(t,e,o,i){void 0===i&&(i=o),t[i]=e[o]}),r=this&&this.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),s=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var o in t)"default"!==o&&Object.prototype.hasOwnProperty.call(t,o)&&n(e,t,o);return r(e,t),e};Object.defineProperty(e,"__esModule",{value:!0}),e.GLOBAL_FUNCTIONS=e.GLOBALS=void 0,e.getScopeFunction=function(t,e){if(e&&c[t])return c[t];if(!e&&u[t])return u[t];if(d[t])return d[t];throw new Error(`Attempted to access scope property '${t}' that doesn't exist`)},e.isMethodWhitelisted=function(t,e){if(Object.prototype.hasOwnProperty.call(h,t)){const o=h[t].allowedMethods;return"string"==typeof o?h[o].allowedMethods[e]:o[e]}return!1},e.getClass=function(t){if(Object.prototype.hasOwnProperty.call(h,t))return h[t].class;throw new Error(`Attempted to access member '${t}' that doesn't exist`)};const a=s(o(62444));function l(t){return Object.freeze(Object.create(null,Object.getOwnPropertyDescriptors(t)))}function p(t){return"string"==typeof t?a.Long.fromString(t):a.Long.fromNumber(t)}const u=l({Date:function(...t){return Date(...t)}}),c=l({Date:function(...t){return new Date(...t)}}),d=l({RegExp,Binary:function(t,e){return new a.Binary(t,e)},BinData:function(t,e){return new a.Binary(i.from(e,"base64"),t)},UUID:function(t){return void 0===t?(new a.UUID).toBinary():new a.Binary(i.from(t.replace(/-/g,""),"hex"),4)},Code:function(t,e){return new a.Code(t,e)},DBRef:function(t,e,o,i){return new a.DBRef(t,e,o,i)},Decimal128:function(t){return a.Decimal128.fromString(t)},NumberDecimal:function(t){return a.Decimal128.fromString(t)},Double:function(t){return new a.Double(t)},Int32:function(t){return new a.Int32(t)},NumberInt:function(t){return parseInt(t,10)},Long:function(t,e){return new a.Long(t,e)},NumberLong:p,Int64:p,Map:function(t){return new(a.Map??Map)(t)},MaxKey:function(){return new a.MaxKey},MinKey:function(){return new a.MinKey},ObjectID:function(t){return new a.ObjectId(t)},ObjectId:function(t){return new a.ObjectId(t)},Symbol:function(t){return new a.BSONSymbol(t)},Timestamp:function(t,e){return"number"==typeof t&&"number"==typeof e||void 0!==e?new a.Timestamp({t,i:e}):new a.Timestamp(t)},ISODate:function(t){if(void 0===t)return new Date;if("string"!=typeof t)return new Date(t);const e=t.match(/^(?<Y>\d{4})-?(?<M>\d{2})-?(?<D>\d{2})([T ](?<h>\d{2})(:?(?<m>\d{2})(:?((?<s>\d{2})(\.(?<ms>\d+))?))?)?(?<tz>Z|([+-])(\d{2}):?(\d{2})?)?)?$/);if(null!==e&&void 0!==e.groups){const{Y:t,M:o,D:i,h:n,m:r,s,ms:a,tz:l}=e.groups,p=new Date(`${t}-${o}-${i}T${n||"00"}:${r||"00"}:${s||"00"}.${a||"000"}${l||"Z"}`);if(p.getTime()>=-621672192e5&&p.getTime()<=0xe677d21fdbff)return p}throw new Error(`${JSON.stringify(t)} is not a valid ISODate`)}});e.GLOBALS=l({Infinity:1/0,NaN:NaN,undefined:void 0});const h=l({Math:l({class:Math,allowedMethods:l({abs:!0,acos:!0,acosh:!0,asin:!0,asinh:!0,atan:!0,atan2:!0,atanh:!0,cbrt:!0,ceil:!0,clz32:!0,cos:!0,cosh:!0,exp:!0,expm1:!0,floor:!0,fround:!0,hypot:!0,imul:!0,log:!0,log10:!0,log1p:!0,log2:!0,max:!0,min:!0,pow:!0,round:!0,sign:!0,sin:!0,sinh:!0,sqrt:!0,tan:!0,tanh:!0,trunc:!0})}),Date:l({class:Date,allowedMethods:l({getDate:!0,getDay:!0,getFullYear:!0,getHours:!0,getMilliseconds:!0,getMinutes:!0,getMonth:!0,getSeconds:!0,getTime:!0,getTimezoneOffset:!0,getUTCDate:!0,getUTCDay:!0,getUTCFullYear:!0,getUTCHours:!0,getUTCMilliseconds:!0,getUTCMinutes:!0,getUTCMonth:!0,getUTCSeconds:!0,getYear:!0,now:!0,setDate:!0,setFullYear:!0,setHours:!0,setMilliseconds:!0,setMinutes:!0,setMonth:!0,setSeconds:!0,setTime:!0,setUTCDate:!0,setUTCFullYear:!0,setUTCHours:!0,setUTCMilliseconds:!0,setUTCMinutes:!0,setUTCMonth:!0,setUTCSeconds:!0,setYear:!0,toISOString:!0,valueOf:!0})}),ISODate:l({class:Date,allowedMethods:"Date"}),Binary:l({class:a.Binary,allowedMethods:{createFromHexString:!0,createFromBase64:!0}})});e.GLOBAL_FUNCTIONS=Object.freeze([...Object.keys(d),...Object.keys(c),...Object.keys(u)])},95125:function(t,e,o){var i,n=this&&this.__extends||(i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},i(t,e)},function(t,e){function o(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),r=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},s=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var a=o(22131),l=o(15068),p=o(72493),u=o(44081),c=o(63405),d=o(60843),h=o(40797),f=o(44871),g=o(83423),y=function(t){function e(){return t.call(this,'<span class="ag-selection-checkbox" unselectable="on"/>')||this}return n(e,t),e.prototype.createAndAddIcons=function(){this.eCheckedIcon=g._.createIconNoSpan("checkboxChecked",this.gridOptionsWrapper,this.column),this.eUncheckedIcon=g._.createIconNoSpan("checkboxUnchecked",this.gridOptionsWrapper,this.column),this.eIndeterminateIcon=g._.createIconNoSpan("checkboxIndeterminate",this.gridOptionsWrapper,this.column);var t=this.getGui();t.appendChild(this.eCheckedIcon),t.appendChild(this.eUncheckedIcon),t.appendChild(this.eIndeterminateIcon)},e.prototype.onDataChanged=function(){this.onSelectionChanged()},e.prototype.onSelectableChanged=function(){this.showOrHideSelect()},e.prototype.onSelectionChanged=function(){var t=this.rowNode.isSelected();g._.setVisible(this.eCheckedIcon,!0===t),g._.setVisible(this.eUncheckedIcon,!1===t),g._.setVisible(this.eIndeterminateIcon,"boolean"!=typeof t)},e.prototype.onCheckedClicked=function(){var t=this.gridOptionsWrapper.isGroupSelectsFiltered();return this.rowNode.setSelectedParams({newValue:!1,groupSelectsFiltered:t})},e.prototype.onUncheckedClicked=function(t){var e=this.gridOptionsWrapper.isGroupSelectsFiltered();return this.rowNode.setSelectedParams({newValue:!0,rangeSelect:t.shiftKey,groupSelectsFiltered:e})},e.prototype.onIndeterminateClicked=function(t){0===this.onUncheckedClicked(t)&&this.onCheckedClicked()},e.prototype.init=function(t){this.rowNode=t.rowNode,this.column=t.column,this.createAndAddIcons(),this.onSelectionChanged(),this.addGuiEventListener("click",(function(t){return g._.stopPropagationForAgGrid(t)})),this.addGuiEventListener("dblclick",(function(t){return g._.stopPropagationForAgGrid(t)})),this.addDestroyableEventListener(this.eCheckedIcon,"click",this.onCheckedClicked.bind(this)),this.addDestroyableEventListener(this.eUncheckedIcon,"click",this.onUncheckedClicked.bind(this)),this.addDestroyableEventListener(this.eIndeterminateIcon,"click",this.onIndeterminateClicked.bind(this)),this.addDestroyableEventListener(this.rowNode,l.RowNode.EVENT_ROW_SELECTED,this.onSelectionChanged.bind(this)),this.addDestroyableEventListener(this.rowNode,l.RowNode.EVENT_DATA_CHANGED,this.onDataChanged.bind(this)),this.addDestroyableEventListener(this.rowNode,l.RowNode.EVENT_SELECTABLE_CHANGED,this.onSelectableChanged.bind(this)),this.isRowSelectableFunc=this.gridOptionsWrapper.getIsRowSelectableFunc(),(this.isRowSelectableFunc||this.checkboxCallbackExists())&&(this.addDestroyableEventListener(this.eventService,c.Events.EVENT_DISPLAYED_COLUMNS_CHANGED,this.showOrHideSelect.bind(this)),this.showOrHideSelect())},e.prototype.showOrHideSelect=function(){var t=this.rowNode.selectable;t&&this.checkboxCallbackExists()&&(t=this.column.isCellCheckboxSelection(this.rowNode)),this.setVisible(t)},e.prototype.checkboxCallbackExists=function(){var t=this.column?this.column.getColDef():null;return t&&"function"==typeof t.checkboxSelection},r([p.Autowired("gridOptionsWrapper"),s("design:type",u.GridOptionsWrapper)],e.prototype,"gridOptionsWrapper",void 0),r([p.Autowired("eventService"),s("design:type",d.EventService)],e.prototype,"eventService",void 0),r([p.Autowired("gridApi"),s("design:type",h.GridApi)],e.prototype,"gridApi",void 0),r([p.Autowired("columnApi"),s("design:type",f.ColumnApi)],e.prototype,"columnApi",void 0),e}(a.Component);e.CheckboxSelectionComponent=y},95574:function(t,e,o){var i,n=this&&this.__extends||(i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},i(t,e)},function(t,e){function o(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),r=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},s=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var a=o(22131),l=o(98239),p=o(44081),u=o(72493),c=o(66419),d=o(47721),h=o(72948),f=o(83423),g=function(t){function e(){return t.call(this,e.TEMPLATE)||this}return n(e,t),e.prototype.init=function(t){this.params=t,this.setupLabel(),this.addGroupExpandIcon(),this.setupExpandIcons()},e.prototype.setupExpandIcons=function(){var t=this;this.addInIcon("columnGroupOpened","agOpened"),this.addInIcon("columnGroupClosed","agClosed");var e=function(e){if(!f._.isStopPropagationForAgGrid(e)){var o=!t.params.columnGroup.isExpanded();t.columnController.setColumnGroupOpened(t.params.columnGroup.getOriginalColumnGroup(),o,"uiColumnExpanded")}};this.addTouchAndClickListeners(this.eCloseIcon,e),this.addTouchAndClickListeners(this.eOpenIcon,e);var o=function(t){f._.stopPropagationForAgGrid(t)};this.addDestroyableEventListener(this.eCloseIcon,"dblclick",o),this.addDestroyableEventListener(this.eOpenIcon,"dblclick",o),this.addDestroyableEventListener(this.getGui(),"dblclick",e),this.updateIconVisibility();var i=this.params.columnGroup.getOriginalColumnGroup();this.addDestroyableEventListener(i,h.OriginalColumnGroup.EVENT_EXPANDED_CHANGED,this.updateIconVisibility.bind(this)),this.addDestroyableEventListener(i,h.OriginalColumnGroup.EVENT_EXPANDABLE_CHANGED,this.updateIconVisibility.bind(this))},e.prototype.addTouchAndClickListeners=function(t,e){var o=new c.TouchListener(this.eCloseIcon);this.addDestroyableEventListener(o,c.TouchListener.EVENT_TAP,e),this.addDestroyFunc((function(){return o.destroy()})),this.addDestroyableEventListener(t,"click",e)},e.prototype.updateIconVisibility=function(){if(this.params.columnGroup.isExpandable()){var t=this.params.columnGroup.isExpanded();f._.setVisible(this.eOpenIcon,!t),f._.setVisible(this.eCloseIcon,t)}else f._.setVisible(this.eOpenIcon,!1),f._.setVisible(this.eCloseIcon,!1)},e.prototype.addInIcon=function(t,e){var o=f._.createIconNoSpan(t,this.gridOptionsWrapper,null);this.getRefElement(e).appendChild(o)},e.prototype.addGroupExpandIcon=function(){if(!this.params.columnGroup.isExpandable())return f._.setVisible(this.eOpenIcon,!1),void f._.setVisible(this.eCloseIcon,!1)},e.prototype.setupLabel=function(){this.params.displayName&&""!==this.params.displayName&&(this.getRefElement("agLabel").innerHTML=this.params.displayName)},e.TEMPLATE='<div class="ag-header-group-cell-label" ref="agContainer"><span ref="agLabel" class="ag-header-group-text"></span><span ref="agOpened" class="ag-header-icon ag-header-expand-icon ag-header-expand-icon-expanded"></span><span ref="agClosed" class="ag-header-icon ag-header-expand-icon ag-header-expand-icon-collapsed"></span></div>',r([u.Autowired("columnController"),s("design:type",l.ColumnController)],e.prototype,"columnController",void 0),r([u.Autowired("gridOptionsWrapper"),s("design:type",p.GridOptionsWrapper)],e.prototype,"gridOptionsWrapper",void 0),r([d.RefSelector("agOpened"),s("design:type",HTMLElement)],e.prototype,"eOpenIcon",void 0),r([d.RefSelector("agClosed"),s("design:type",HTMLElement)],e.prototype,"eCloseIcon",void 0),e}(a.Component);e.HeaderGroupComp=g},96160:(t,e,o)=>{var i=o(66346).hashStuff,n=o(56645).LexerIndexedCustomAction;function r(t){return this.lexerActions=null===t?[]:t,this.cachedHashCode=i(t),this}r.append=function(t,e){return new r(null===t?[e]:t.lexerActions.concat([e]))},r.prototype.fixOffsetBeforeMatch=function(t){for(var e=null,o=0;o<this.lexerActions.length;o++)!this.lexerActions[o].isPositionDependent||this.lexerActions[o]instanceof n||(null===e&&(e=this.lexerActions.concat([])),e[o]=new n(t,this.lexerActions[o]));return null===e?this:new r(e)},r.prototype.execute=function(t,e,o){var i=!1,r=e.index;try{for(var s=0;s<this.lexerActions.length;s++){var a=this.lexerActions[s];if(a instanceof n){var l=a.offset;e.seek(o+l),a=a.action,i=o+l!==r}else a.isPositionDependent&&(e.seek(r),i=!1);a.execute(t)}}finally{i&&e.seek(r)}},r.prototype.hashCode=function(){return this.cachedHashCode},r.prototype.updateHashCode=function(t){t.update(this.cachedHashCode)},r.prototype.equals=function(t){if(this===t)return!0;if(t instanceof r){if(this.cachedHashCode!=t.cachedHashCode)return!1;if(this.lexerActions.length!=t.lexerActions.length)return!1;for(var e=this.lexerActions.length,o=0;o<e;++o)if(!this.lexerActions[o].equals(t.lexerActions[o]))return!1;return!0}return!1},e.I=r},96896:(t,e)=>{Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(){}return t.parse=function(e){if(!e)return null;if(!0===e)return{toolPanels:[t.DEFAULT_COLUMN_COMP,t.DEFAULT_FILTER_COMP],defaultToolPanel:"columns"};if("string"==typeof e)return t.parse([e]);if(Array.isArray(e)){var o=[];return e.forEach((function(e){var i=t.DEFAULT_BY_KEY[e];i?o.push(i):console.warn("ag-grid: the key "+e+" is not a valid key for specifying a tool panel, valid keys are: "+Object.keys(t.DEFAULT_BY_KEY).join(","))})),0===o.length?null:{toolPanels:o,defaultToolPanel:o[0].id}}return{toolPanels:t.parseComponents(e.toolPanels),defaultToolPanel:e.defaultToolPanel,hiddenByDefault:e.hiddenByDefault}},t.parseComponents=function(e){var o=[];return e.forEach((function(e){var i=null;if("string"==typeof e){var n=t.DEFAULT_BY_KEY[e];if(!n)return void console.warn("ag-grid: the key "+e+" is not a valid key for specifying a tool panel, valid keys are: "+Object.keys(t.DEFAULT_BY_KEY).join(","));i=n}else i=e;o.push(i)})),o},t.DEFAULT_COLUMN_COMP={id:"columns",labelDefault:"Columns",labelKey:"columns",iconKey:"columns",toolPanel:"agColumnsToolPanel"},t.DEFAULT_FILTER_COMP={id:"filters",labelDefault:"Filters",labelKey:"filters",iconKey:"filter",toolPanel:"agFiltersToolPanel"},t.DEFAULT_BY_KEY={columns:t.DEFAULT_COLUMN_COMP,filters:t.DEFAULT_FILTER_COMP},t}();e.SideBarDefParser=o},97156:(t,e,o)=>{Object.defineProperty(e,"__esModule",{value:!0});var i=o(63405),n=o(37789),r=o(44081),s=o(83423),a=function(){function t(){}return t.getEventCallbacks=function(){return t.EVENT_CALLBACKS||(t.EVENT_CALLBACKS=[],t.EVENT_CALLBACKS_NO_PREFIX=[],t.EVENTS.forEach((function(e){t.EVENT_CALLBACKS.push(t.getCallbackForEvent(e)),t.EVENT_CALLBACKS_NO_PREFIX.push(e)}))),t.EVENT_CALLBACKS},t.copyAttributesToGridOptions=function(e,o,i){void 0===i&&(i=!1),l(o),"object"!=typeof e&&(e={});var n=e;return t.ARRAY_PROPERTIES.concat(t.STRING_PROPERTIES).concat(t.OBJECT_PROPERTIES).concat(t.FUNCTION_PROPERTIES).forEach((function(t){void 0!==o[t]&&(n[t]=o[t])})),t.BOOLEAN_PROPERTIES.forEach((function(e){void 0!==o[e]&&(n[e]=t.toBoolean(o[e]))})),t.NUMBER_PROPERTIES.forEach((function(e){void 0!==o[e]&&(n[e]=t.toNumber(o[e]))})),t.getEventCallbacks().forEach((function(t){void 0!==o[t]&&(n[t]=o[t])})),i||t.EVENT_CALLBACKS_NO_PREFIX.forEach((function(e){var i=t.getCallbackForEvent(e);void 0===o[e]&&void 0===o[i]||r.GridOptionsWrapper.checkEventDeprecation(e)})),e},t.getCallbackForEvent=function(t){return!t||t.length<2?t:"on"+t[0].toUpperCase()+t.substr(1)},t.processOnChange=function(e,o,n,r){if(e){l(e);var a=o;t.ARRAY_PROPERTIES.concat(t.OBJECT_PROPERTIES).concat(t.STRING_PROPERTIES).forEach((function(t){e[t]&&(a[t]=e[t].currentValue)})),t.BOOLEAN_PROPERTIES.forEach((function(o){e[o]&&(a[o]=t.toBoolean(e[o].currentValue))})),t.NUMBER_PROPERTIES.forEach((function(o){e[o]&&(a[o]=t.toNumber(e[o].currentValue))})),t.getEventCallbacks().forEach((function(t){e[t]&&(a[t]=e[t].currentValue)})),e.enableCellTextSelection&&n.setEnableCellTextSelection(t.toBoolean(e.enableCellTextSelection.currentValue)),e.showToolPanel&&n.showToolPanel(t.toBoolean(e.showToolPanel.currentValue)),e.quickFilterText&&n.setQuickFilter(e.quickFilterText.currentValue),e.rowData&&n.setRowData(e.rowData.currentValue),e.pinnedTopRowData&&n.setPinnedTopRowData(e.pinnedTopRowData.currentValue),e.pinnedBottomRowData&&n.setPinnedBottomRowData(e.pinnedBottomRowData.currentValue),e.columnDefs&&n.setColumnDefs(e.columnDefs.currentValue,"gridOptionsChanged"),e.datasource&&n.setDatasource(e.datasource.currentValue),e.headerHeight&&n.setHeaderHeight(t.toNumber(e.headerHeight.currentValue)),e.paginationPageSize&&n.paginationSetPageSize(t.toNumber(e.paginationPageSize.currentValue)),e.pivotMode&&r.setPivotMode(t.toBoolean(e.pivotMode.currentValue)),e.groupRemoveSingleChildren&&n.setGroupRemoveSingleChildren(t.toBoolean(e.groupRemoveSingleChildren.currentValue)),e.suppressRowDrag&&n.setSuppressRowDrag(t.toBoolean(e.suppressRowDrag.currentValue)),e.gridAutoHeight&&n.setGridAutoHeight(t.toBoolean(e.gridAutoHeight.currentValue)),e.suppressClipboardPaste&&n.setSuppressClipboardPaste(t.toBoolean(e.suppressClipboardPaste.currentValue)),e.sideBar&&n.setSideBar(e.sideBar.currentValue),e.datasource&&n.setDatasource(e.datasource.currentValue);var p={type:i.Events.EVENT_COMPONENT_STATE_CHANGED,api:o.api,columnApi:o.columnApi};s._.iterateObject(e,(function(t,e){p[t]=e})),n.dispatchEvent(p)}},t.toBoolean=function(t){return"boolean"==typeof t?t:"string"==typeof t&&("TRUE"===t.toUpperCase()||""==t)},t.toNumber=function(t){return"number"==typeof t?t:"string"==typeof t?Number(t):void 0},t.EVENTS=[],t.STRING_PROPERTIES=n.PropertyKeys.STRING_PROPERTIES,t.OBJECT_PROPERTIES=n.PropertyKeys.OBJECT_PROPERTIES,t.ARRAY_PROPERTIES=n.PropertyKeys.ARRAY_PROPERTIES,t.NUMBER_PROPERTIES=n.PropertyKeys.NUMBER_PROPERTIES,t.BOOLEAN_PROPERTIES=n.PropertyKeys.BOOLEAN_PROPERTIES,t.FUNCTION_PROPERTIES=n.PropertyKeys.FUNCTION_PROPERTIES,t.ALL_PROPERTIES=n.PropertyKeys.ALL_PROPERTIES,t}();function l(t){(t.rowDeselected||t.onRowDeselected)&&console.warn("ag-grid: as of v3.4 rowDeselected no longer exists. Please check the docs.")}e.ComponentUtil=a,s._.iterateObject(i.Events,(function(t,e){a.EVENTS.push(e)}))},97177:function(t,e,o){var i=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},n=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r=o(44081),s=o(72493),a=o(25230),l=function(){function t(){}return t.prototype.addResizeBar=function(t){var e=this,o={dragStartPixels:t.dragStartPixels||0,eElement:t.eResizeBar,onDragStart:this.onDragStart.bind(this,t),onDragStop:this.onDragStop.bind(this,t),onDragging:this.onDragging.bind(this,t)};return this.dragService.addDragSource(o,!0),function(){return e.dragService.removeDragSource(o)}},t.prototype.onDragStart=function(t,e){this.draggingStarted=!0,this.dragStartX=e.clientX,this.setResizeIcons();var o=e instanceof MouseEvent&&!0===e.shiftKey;t.onResizeStart(o)},t.prototype.setResizeIcons=function(){this.oldBodyCursor=this.eGridDiv.style.cursor,this.oldMsUserSelect=this.eGridDiv.style.msUserSelect,this.oldWebkitUserSelect=this.eGridDiv.style.webkitUserSelect,this.eGridDiv.style.cursor="col-resize",this.eGridDiv.style.msUserSelect="none",this.eGridDiv.style.webkitUserSelect="none"},t.prototype.onDragStop=function(t,e){t.onResizeEnd(this.resizeAmount),this.resetIcons()},t.prototype.resetIcons=function(){this.eGridDiv.style.cursor=this.oldBodyCursor,this.eGridDiv.style.msUserSelect=this.oldMsUserSelect,this.eGridDiv.style.webkitUserSelect=this.oldWebkitUserSelect},t.prototype.onDragging=function(t,e){this.resizeAmount=e.clientX-this.dragStartX,t.onResizing(this.resizeAmount)},i([s.Autowired("gridOptionsWrapper"),n("design:type",r.GridOptionsWrapper)],t.prototype,"gridOptionsWrapper",void 0),i([s.Autowired("dragService"),n("design:type",a.DragService)],t.prototype,"dragService",void 0),i([s.Autowired("eGridDiv"),n("design:type",HTMLElement)],t.prototype,"eGridDiv",void 0),i([s.Bean("horizontalResizeService")],t)}();e.HorizontalResizeService=l},98239:function(t,e,o){var i=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},n=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},r=this&&this.__param||function(t,e){return function(o,i){e(o,i,t)}};Object.defineProperty(e,"__esModule",{value:!0});var s=o(74517),a=o(26016),l=o(44081),p=o(40634),u=o(7897),c=o(31887),d=o(41832),h=o(60843),f=o(814),g=o(37132),y=o(63405),m=o(72948),v=o(12598),C=o(72493),E=o(64314),w=o(43878),_=o(88842),S=o(40797),b=o(44871),R=o(83423),O=function(){function t(){this.primaryHeaderRowCount=0,this.secondaryHeaderRowCount=0,this.secondaryColumnsPresent=!1,this.gridHeaderRowCount=0,this.displayedLeftColumns=[],this.displayedRightColumns=[],this.displayedCenterColumns=[],this.allDisplayedColumns=[],this.allDisplayedVirtualColumns=[],this.allDisplayedCenterVirtualColumns=[],this.rowGroupColumns=[],this.valueColumns=[],this.pivotColumns=[],this.ready=!1,this.autoGroupsNeedBuilding=!1,this.pivotMode=!1,this.bodyWidth=0,this.leftWidth=0,this.rightWidth=0,this.bodyWidthDirty=!0}return t.prototype.init=function(){var t=this.gridOptionsWrapper.isPivotMode();this.suppressColumnVirtualisation=this.gridOptionsWrapper.isSuppressColumnVirtualisation(),this.isPivotSettingAllowed(t)&&(this.pivotMode=t),this.usingTreeData=this.gridOptionsWrapper.isTreeData()},t.prototype.setColumnDefs=function(t,e){void 0===e&&(e="api");var o=!!this.columnDefs;this.columnDefs=t,this.valueCache.expire(),this.autoGroupsNeedBuilding=!0;var i=this.primaryColumns,n=this.columnFactory.createColumnTree(t,!0,i);this.primaryColumnTree=n.columnTree,this.primaryHeaderRowCount=n.treeDept+1,this.primaryColumns=this.getColumnsFromTree(this.primaryColumnTree),this.extractRowGroupColumns(e,i),this.extractPivotColumns(e,i),this.createValueColumns(e,i),this.ready=!0,this.updateGridColumns(),this.updateDisplayedColumns(e),this.checkDisplayedVirtualColumns(),this.gridOptionsWrapper.isDeltaColumnMode()&&o&&this.resetColumnState(!0,e);var r={type:y.Events.EVENT_COLUMN_EVERYTHING_CHANGED,api:this.gridApi,columnApi:this.columnApi,source:e};this.eventService.dispatchEvent(r);var s={type:y.Events.EVENT_NEW_COLUMNS_LOADED,api:this.gridApi,columnApi:this.columnApi};this.eventService.dispatchEvent(s)},t.prototype.isAutoRowHeightActive=function(){return this.autoRowHeightColumns&&this.autoRowHeightColumns.length>0},t.prototype.getAllAutoRowHeightCols=function(){return this.autoRowHeightColumns},t.prototype.setVirtualViewportLeftAndRight=function(){this.gridOptionsWrapper.isEnableRtl()?(this.viewportLeft=this.bodyWidth-this.scrollPosition-this.scrollWidth,this.viewportRight=this.bodyWidth-this.scrollPosition):(this.viewportLeft=this.scrollPosition,this.viewportRight=this.scrollWidth+this.scrollPosition)},t.prototype.getDisplayedColumnsStartingAt=function(t){for(var e=t,o=[];e&&R._.exists(e);)o.push(e),e=this.getDisplayedColAfter(e);return o},t.prototype.checkDisplayedVirtualColumns=function(){if(R._.exists(this.displayedCenterColumns)){var t=this.allDisplayedVirtualColumns.map((function(t){return t.getId()})).join("#");if(this.updateVirtualSets(),t!==this.allDisplayedVirtualColumns.map((function(t){return t.getId()})).join("#")){var e={type:y.Events.EVENT_VIRTUAL_COLUMNS_CHANGED,api:this.gridApi,columnApi:this.columnApi};this.eventService.dispatchEvent(e)}}},t.prototype.setVirtualViewportPosition=function(t,e){(t!==this.scrollWidth||e!==this.scrollPosition||this.bodyWidthDirty)&&(this.scrollWidth=t,this.scrollPosition=e,this.bodyWidthDirty=!0,this.setVirtualViewportLeftAndRight(),this.ready&&this.checkDisplayedVirtualColumns())},t.prototype.isPivotMode=function(){return this.pivotMode},t.prototype.isPivotSettingAllowed=function(t){return!t||!this.gridOptionsWrapper.isTreeData()||(console.warn("ag-Grid: Pivot mode not available in conjunction Tree Data i.e. 'gridOptions.treeData: true'"),!1)},t.prototype.setPivotMode=function(t,e){if(void 0===e&&(e="api"),t!==this.pivotMode&&this.isPivotSettingAllowed(this.pivotMode)){this.pivotMode=t,this.updateDisplayedColumns(e);var o={type:y.Events.EVENT_COLUMN_PIVOT_MODE_CHANGED,api:this.gridApi,columnApi:this.columnApi};this.eventService.dispatchEvent(o)}},t.prototype.getSecondaryPivotColumn=function(t,e){if(!this.secondaryColumnsPresent)return null;var o=this.getPrimaryColumn(e),i=null;return this.secondaryColumns&&this.secondaryColumns.forEach((function(e){var n=e.getColDef().pivotKeys,r=e.getColDef().pivotValueColumn;R._.compareArrays(n,t)&&r===o&&(i=e)})),i},t.prototype.setBeans=function(t){this.logger=t.create("ColumnController")},t.prototype.setFirstRightAndLastLeftPinned=function(t){var e,o;this.gridOptionsWrapper.isEnableRtl()?(e=this.displayedLeftColumns?this.displayedLeftColumns[0]:null,o=this.displayedRightColumns?this.displayedRightColumns[this.displayedRightColumns.length-1]:null):(e=this.displayedLeftColumns?this.displayedLeftColumns[this.displayedLeftColumns.length-1]:null,o=this.displayedRightColumns?this.displayedRightColumns[0]:null),this.gridColumns.forEach((function(i){i.setLastLeftPinned(i===e,t),i.setFirstRightPinned(i===o,t)}))},t.prototype.autoSizeColumns=function(t,e){var o=this;void 0===e&&(e="api");for(var i=[],n=-1;0!==n;)n=0,this.actionOnGridColumns(t,(function(t){if(i.indexOf(t)>=0)return!1;var r=o.autoWidthCalculator.getPreferredWidthForColumn(t);if(r>0){var s=o.normaliseColumnWidth(t,r);t.setActualWidth(s,e),i.push(t),n++}return!0}),e);if(i.length>0){var r={type:y.Events.EVENT_COLUMN_RESIZED,columns:i,column:1===i.length?i[0]:null,finished:!0,api:this.gridApi,columnApi:this.columnApi,source:"autosizeColumns"};this.eventService.dispatchEvent(r)}},t.prototype.autoSizeColumn=function(t,e){void 0===e&&(e="api"),t&&this.autoSizeColumns([t],e)},t.prototype.autoSizeAllColumns=function(t){void 0===t&&(t="api");var e=this.getAllDisplayedColumns();this.autoSizeColumns(e,t)},t.prototype.getColumnsFromTree=function(t){var e=[];return function t(o){for(var i=0;i<o.length;i++){var n=o[i];n instanceof a.Column?e.push(n):n instanceof m.OriginalColumnGroup&&t(n.getChildren())}}(t),e},t.prototype.getAllDisplayedColumnGroups=function(){return this.displayedLeftColumnTree&&this.displayedRightColumnTree&&this.displayedCentreColumnTree?this.displayedLeftColumnTree.concat(this.displayedCentreColumnTree).concat(this.displayedRightColumnTree):null},t.prototype.getPrimaryColumnTree=function(){return this.primaryColumnTree},t.prototype.getHeaderRowCount=function(){return this.gridHeaderRowCount},t.prototype.getLeftDisplayedColumnGroups=function(){return this.displayedLeftColumnTree},t.prototype.getRightDisplayedColumnGroups=function(){return this.displayedRightColumnTree},t.prototype.getCenterDisplayedColumnGroups=function(){return this.displayedCentreColumnTree},t.prototype.getDisplayedColumnGroups=function(t){switch(t){case a.Column.PINNED_LEFT:return this.getLeftDisplayedColumnGroups();case a.Column.PINNED_RIGHT:return this.getRightDisplayedColumnGroups();default:return this.getCenterDisplayedColumnGroups()}},t.prototype.isColumnDisplayed=function(t){return this.getAllDisplayedColumns().indexOf(t)>=0},t.prototype.getAllDisplayedColumns=function(){return this.allDisplayedColumns},t.prototype.getAllDisplayedVirtualColumns=function(){return this.allDisplayedVirtualColumns},t.prototype.getDisplayedLeftColumnsForRow=function(t){return this.colSpanActive?this.getDisplayedColumnsForRow(t,this.displayedLeftColumns):this.displayedLeftColumns},t.prototype.getDisplayedRightColumnsForRow=function(t){return this.colSpanActive?this.getDisplayedColumnsForRow(t,this.displayedRightColumns):this.displayedRightColumns},t.prototype.getDisplayedColumnsForRow=function(t,e,o,i){for(var n,r=[],s=null,a=function(a){var l,p=e[a],u=e.length-a,c=Math.min(p.getColSpan(t),u),d=[p];if(c>1){for(var h=c-1,f=1;f<=h;f++)d.push(e[a+f]);a+=h}o?(l=!1,d.forEach((function(t){o(t)&&(l=!0)}))):l=!0,l&&(0===r.length&&s&&i&&i(p)&&r.push(s),r.push(p)),s=p,n=a},l=0;l<e.length;l++)a(l),l=n;return r},t.prototype.getAllDisplayedCenterVirtualColumnsForRow=function(t){var e=this;if(!this.colSpanActive)return this.allDisplayedCenterVirtualColumns;var o=this.suppressColumnVirtualisation?null:this.isColumnInViewport.bind(this);return this.getDisplayedColumnsForRow(t,this.displayedCenterColumns,o,(function(t){return t.getLeft()>e.viewportLeft}))},t.prototype.isColumnInViewport=function(t){var e=t.getLeft(),o=t.getLeft()+t.getActualWidth(),i=this.viewportLeft-200,n=this.viewportRight+200;return!(e<i&&o<i||e>n&&o>n)},t.prototype.getPinnedLeftContainerWidth=function(){return this.getWidthOfColsInList(this.displayedLeftColumns)},t.prototype.getPinnedRightContainerWidth=function(){return this.getWidthOfColsInList(this.displayedRightColumns)},t.prototype.updatePrimaryColumnList=function(t,e,o,i,n,r){var s=this;if(void 0===r&&(r="api"),t&&!R._.missingOrEmpty(t)){var a=!1;if(t.forEach((function(t){var n=s.getPrimaryColumn(t);if(n){if(o){if(e.indexOf(n)>=0)return;e.push(n)}else{if(e.indexOf(n)<0)return;R._.removeFromArray(e,n)}i(n),a=!0}})),a){this.autoGroupsNeedBuilding&&this.updateGridColumns(),this.updateDisplayedColumns(r);var l={type:n,columns:e,column:1===e.length?e[0]:null,api:this.gridApi,columnApi:this.columnApi,source:r};this.eventService.dispatchEvent(l)}}},t.prototype.setRowGroupColumns=function(t,e){void 0===e&&(e="api"),this.autoGroupsNeedBuilding=!0,this.setPrimaryColumnList(t,this.rowGroupColumns,y.Events.EVENT_COLUMN_ROW_GROUP_CHANGED,this.setRowGroupActive.bind(this),e)},t.prototype.setRowGroupActive=function(t,e,o){t!==e.isRowGroupActive()&&(e.setRowGroupActive(t,o),t||this.gridOptionsWrapper.isSuppressMakeColumnVisibleAfterUnGroup()||e.setVisible(!0,o))},t.prototype.addRowGroupColumn=function(t,e){void 0===e&&(e="api"),t&&this.addRowGroupColumns([t],e)},t.prototype.addRowGroupColumns=function(t,e){void 0===e&&(e="api"),this.autoGroupsNeedBuilding=!0,this.updatePrimaryColumnList(t,this.rowGroupColumns,!0,this.setRowGroupActive.bind(this,!0),y.Events.EVENT_COLUMN_ROW_GROUP_CHANGED,e)},t.prototype.removeRowGroupColumns=function(t,e){void 0===e&&(e="api"),this.autoGroupsNeedBuilding=!0,this.updatePrimaryColumnList(t,this.rowGroupColumns,!1,this.setRowGroupActive.bind(this,!1),y.Events.EVENT_COLUMN_ROW_GROUP_CHANGED,e)},t.prototype.removeRowGroupColumn=function(t,e){void 0===e&&(e="api"),t&&this.removeRowGroupColumns([t],e)},t.prototype.addPivotColumns=function(t,e){void 0===e&&(e="api"),this.updatePrimaryColumnList(t,this.pivotColumns,!0,(function(t){return t.setPivotActive(!0,e)}),y.Events.EVENT_COLUMN_PIVOT_CHANGED,e)},t.prototype.setPivotColumns=function(t,e){void 0===e&&(e="api"),this.setPrimaryColumnList(t,this.pivotColumns,y.Events.EVENT_COLUMN_PIVOT_CHANGED,(function(t,o){o.setPivotActive(t,e)}),e)},t.prototype.addPivotColumn=function(t,e){void 0===e&&(e="api"),this.addPivotColumns([t],e)},t.prototype.removePivotColumns=function(t,e){void 0===e&&(e="api"),this.updatePrimaryColumnList(t,this.pivotColumns,!1,(function(t){return t.setPivotActive(!1,e)}),y.Events.EVENT_COLUMN_PIVOT_CHANGED,e)},t.prototype.removePivotColumn=function(t,e){void 0===e&&(e="api"),this.removePivotColumns([t],e)},t.prototype.setPrimaryColumnList=function(t,e,o,i,n){var r=this;e.length=0,R._.exists(t)&&t.forEach((function(t){var o=r.getPrimaryColumn(t);o&&e.push(o)})),this.primaryColumns.forEach((function(t){var o=e.indexOf(t)>=0;i(o,t)})),this.autoGroupsNeedBuilding&&this.updateGridColumns(),this.updateDisplayedColumns(n);var s={type:o,columns:e,column:1===e.length?e[0]:null,api:this.gridApi,columnApi:this.columnApi,source:n};this.eventService.dispatchEvent(s)},t.prototype.setValueColumns=function(t,e){void 0===e&&(e="api"),this.setPrimaryColumnList(t,this.valueColumns,y.Events.EVENT_COLUMN_VALUE_CHANGED,this.setValueActive.bind(this),e)},t.prototype.setValueActive=function(t,e,o){if(t!==e.isValueActive()&&(e.setValueActive(t,o),t&&!e.getAggFunc())){var i=this.aggFuncService.getDefaultAggFunc(e);e.setAggFunc(i)}},t.prototype.addValueColumns=function(t,e){void 0===e&&(e="api"),this.updatePrimaryColumnList(t,this.valueColumns,!0,this.setValueActive.bind(this,!0),y.Events.EVENT_COLUMN_VALUE_CHANGED,e)},t.prototype.addValueColumn=function(t,e){void 0===e&&(e="api"),t&&this.addValueColumns([t],e)},t.prototype.removeValueColumn=function(t,e){void 0===e&&(e="api"),this.removeValueColumns([t],e)},t.prototype.removeValueColumns=function(t,e){void 0===e&&(e="api"),this.updatePrimaryColumnList(t,this.valueColumns,!1,this.setValueActive.bind(this,!1),y.Events.EVENT_COLUMN_VALUE_CHANGED,e)},t.prototype.normaliseColumnWidth=function(t,e){return e<t.getMinWidth()&&(e=t.getMinWidth()),t.isGreaterThanMax(e)&&(e=t.getMaxWidth()),e},t.prototype.getPrimaryOrGridColumn=function(t){return this.getPrimaryColumn(t)||this.getGridColumn(t)},t.prototype.setColumnWidth=function(t,e,o,i,n){void 0===n&&(n="api");var r=this.getPrimaryOrGridColumn(t);if(r){var s=[];if(s.push({width:e,ratios:[1],columns:[r]}),"shift"===this.gridOptionsWrapper.getColResizeDefault()&&(o=!o),o){var a=this.getDisplayedColAfter(r);if(!a)return;var l=r.getActualWidth()-e,p=a.getActualWidth()+l;s.push({width:p,ratios:[1],columns:[a]})}this.resizeColumnSets(s,i,n)}},t.prototype.checkMinAndMaxWidthsForSet=function(t){var e=t.columns,o=t.width,i=0,n=0,r=!0;return e.forEach((function(t){i+=t.getMinWidth(),t.getMaxWidth()>0?n+=t.getMaxWidth():r=!1})),o>=i&&(!r||o<=n)},t.prototype.resizeColumnSets=function(t,e,o){if(R._.every(t,this.checkMinAndMaxWidthsForSet.bind(this))){var i=[],n=[];t.forEach((function(t){var e=t.width,o=t.columns,r=t.ratios,s={},a={};o.forEach((function(t){return n.push(t)}));for(var l=!0,p=0,u=function(){if(++p>1e3)return console.error("ag-Grid: infinite loop in resizeColumnSets"),"break";l=!1;var t=[],i=[],n=0,u=e;o.forEach((function(e,o){if(a[e.getId()])u-=s[e.getId()];else{t.push(e);var l=r[o];n+=l,i.push(l)}}));var c=1/n;t.forEach((function(o,i){var n;i===t.length-1?n=u:(n=Math.round(r[i]*e*c),u-=n),n<o.getMinWidth()?(n=o.getMinWidth(),a[o.getId()]=!0,l=!0):o.getMaxWidth()>0&&n>o.getMaxWidth()&&(n=o.getMaxWidth(),a[o.getId()]=!0,l=!0),s[o.getId()]=n}))};l&&"break"!==u(););o.forEach((function(t){var e=s[t.getId()];t.getActualWidth()!==e&&(t.setActualWidth(e),i.push(t))}))}));var r=i.length>0;if(r&&(this.setLeftValues(o),this.updateBodyWidths(),this.checkDisplayedVirtualColumns()),r||e){var s={type:y.Events.EVENT_COLUMN_RESIZED,columns:n,column:1===n.length?n[0]:null,finished:e,api:this.gridApi,columnApi:this.columnApi,source:o};this.eventService.dispatchEvent(s)}}else if(e){var a=t&&t.length>0?t[0].columns:null,l={type:y.Events.EVENT_COLUMN_RESIZED,columns:a,column:a&&1===a.length?a[0]:null,finished:e,api:this.gridApi,columnApi:this.columnApi,source:o};this.eventService.dispatchEvent(l)}},t.prototype.setColumnAggFunc=function(t,e,o){if(void 0===o&&(o="api"),t){t.setAggFunc(e);var i={type:y.Events.EVENT_COLUMN_VALUE_CHANGED,columns:[t],column:t,api:this.gridApi,columnApi:this.columnApi,source:o};this.eventService.dispatchEvent(i)}},t.prototype.moveRowGroupColumn=function(t,e,o){void 0===o&&(o="api");var i=this.rowGroupColumns[t];this.rowGroupColumns.splice(t,1),this.rowGroupColumns.splice(e,0,i);var n={type:y.Events.EVENT_COLUMN_ROW_GROUP_CHANGED,columns:this.rowGroupColumns,column:1===this.rowGroupColumns.length?this.rowGroupColumns[0]:null,api:this.gridApi,columnApi:this.columnApi,source:o};this.eventService.dispatchEvent(n)},t.prototype.moveColumns=function(t,e,o){if(void 0===o&&(o="api"),this.columnAnimationService.start(),e>this.gridColumns.length-t.length)return console.warn("ag-Grid: tried to insert columns in invalid location, toIndex = "+e),void console.warn("ag-Grid: remember that you should not count the moving columns when calculating the new index");var i=this.getGridColumns(t);if(this.doesMovePassRules(i,e)){R._.moveInArray(this.gridColumns,i,e),this.updateDisplayedColumns(o);var n={type:y.Events.EVENT_COLUMN_MOVED,columns:i,column:1===i.length?i[0]:null,toIndex:e,api:this.gridApi,columnApi:this.columnApi,source:o};this.eventService.dispatchEvent(n),this.columnAnimationService.finish()}},t.prototype.doesMovePassRules=function(t,e){var o=this.gridColumns.slice();return R._.moveInArray(o,t,e),!!this.doesMovePassMarryChildren(o)&&!!this.doesMovePassLockedPositions(o)},t.prototype.doesMovePassLockedPositions=function(t){var e=!1,o=!0;return t.forEach((function(t){t.isLockPosition()?e&&(o=!1):e=!0})),o},t.prototype.doesMovePassMarryChildren=function(t){var e=!0;return this.columnUtils.depthFirstOriginalTreeSearch(null,this.gridBalancedTree,(function(o){if(o instanceof m.OriginalColumnGroup){var i=o;if(i.getColGroupDef()&&i.getColGroupDef().marryChildren){var n=[];i.getLeafColumns().forEach((function(e){var o=t.indexOf(e);n.push(o)})),Math.max.apply(Math,n)-Math.min.apply(Math,n)>i.getLeafColumns().length-1&&(e=!1)}}})),e},t.prototype.moveColumn=function(t,e,o){void 0===o&&(o="api"),this.moveColumns([t],e,o)},t.prototype.moveColumnByIndex=function(t,e,o){void 0===o&&(o="api");var i=this.gridColumns[t];this.moveColumn(i,e,o)},t.prototype.getBodyContainerWidth=function(){return this.bodyWidth},t.prototype.getContainerWidth=function(t){switch(t){case a.Column.PINNED_LEFT:return this.leftWidth;case a.Column.PINNED_RIGHT:return this.rightWidth;default:return this.bodyWidth}},t.prototype.updateBodyWidths=function(){var t=this.getWidthOfColsInList(this.displayedCenterColumns),e=this.getWidthOfColsInList(this.displayedLeftColumns),o=this.getWidthOfColsInList(this.displayedRightColumns);if(this.bodyWidthDirty=this.bodyWidth!==t,this.bodyWidth!==t||this.leftWidth!==e||this.rightWidth!==o){this.bodyWidth=t,this.leftWidth=e,this.rightWidth=o;var i={type:y.Events.EVENT_DISPLAYED_COLUMNS_WIDTH_CHANGED,api:this.gridApi,columnApi:this.columnApi};this.eventService.dispatchEvent(i)}},t.prototype.getValueColumns=function(){return this.valueColumns?this.valueColumns:[]},t.prototype.getPivotColumns=function(){return this.pivotColumns?this.pivotColumns:[]},t.prototype.isPivotActive=function(){return this.pivotColumns&&this.pivotColumns.length>0&&this.pivotMode},t.prototype.getRowGroupColumns=function(){return this.rowGroupColumns?this.rowGroupColumns:[]},t.prototype.getDisplayedCenterColumns=function(){return this.displayedCenterColumns},t.prototype.getDisplayedLeftColumns=function(){return this.displayedLeftColumns},t.prototype.getDisplayedRightColumns=function(){return this.displayedRightColumns},t.prototype.getDisplayedColumns=function(t){switch(t){case a.Column.PINNED_LEFT:return this.getDisplayedLeftColumns();case a.Column.PINNED_RIGHT:return this.getDisplayedRightColumns();default:return this.getDisplayedCenterColumns()}},t.prototype.getAllPrimaryColumns=function(){return this.primaryColumns?this.primaryColumns.slice():null},t.prototype.getSecondaryColumns=function(){return this.secondaryColumns?this.secondaryColumns.slice():null},t.prototype.getAllColumnsForQuickFilter=function(){return this.columnsForQuickFilter},t.prototype.getAllGridColumns=function(){return this.gridColumns},t.prototype.isEmpty=function(){return R._.missingOrEmpty(this.gridColumns)},t.prototype.isRowGroupEmpty=function(){return R._.missingOrEmpty(this.rowGroupColumns)},t.prototype.setColumnVisible=function(t,e,o){void 0===o&&(o="api"),this.setColumnsVisible([t],e,o)},t.prototype.setColumnsVisible=function(t,e,o){var i=this;void 0===o&&(o="api"),this.columnAnimationService.start(),this.actionOnGridColumns(t,(function(t){return t.isVisible()!==e&&(t.setVisible(e,o),!0)}),o,(function(){return{type:y.Events.EVENT_COLUMN_VISIBLE,visible:e,column:null,columns:null,api:i.gridApi,columnApi:i.columnApi,source:o}})),this.columnAnimationService.finish()},t.prototype.setColumnPinned=function(t,e,o){void 0===o&&(o="api"),t&&this.setColumnsPinned([t],e,o)},t.prototype.setColumnsPinned=function(t,e,o){var i,n=this;void 0===o&&(o="api"),"print"!==this.gridOptionsWrapper.getDomLayout()?(this.columnAnimationService.start(),i=!0===e||e===a.Column.PINNED_LEFT?a.Column.PINNED_LEFT:e===a.Column.PINNED_RIGHT?a.Column.PINNED_RIGHT:null,this.actionOnGridColumns(t,(function(t){return t.getPinned()!==i&&(t.setPinned(i),!0)}),o,(function(){return{type:y.Events.EVENT_COLUMN_PINNED,pinned:i,column:null,columns:null,api:n.gridApi,columnApi:n.columnApi,source:o}})),this.columnAnimationService.finish()):console.warn("Changing the column pinning status is not allowed with domLayout='print'")},t.prototype.actionOnGridColumns=function(t,e,o,i){var n=this;if(!R._.missingOrEmpty(t)){var r=[];if(t.forEach((function(t){var o=n.getGridColumn(t);o&&!1!==e(o)&&r.push(o)})),0!==r.length&&(this.updateDisplayedColumns(o),R._.exists(i)&&i)){var s=i();s.columns=r,s.column=1===r.length?r[0]:null,this.eventService.dispatchEvent(s)}}},t.prototype.getDisplayedColBefore=function(t){var e=this.getAllDisplayedColumns(),o=e.indexOf(t);return o>0?e[o-1]:null},t.prototype.getDisplayedColAfter=function(t){var e=this.getAllDisplayedColumns(),o=e.indexOf(t);return o<e.length-1?e[o+1]:null},t.prototype.getDisplayedGroupAfter=function(t){for(var e=t.getDisplayedLeafColumns()[0],o=t.getOriginalColumnGroup().getLevel();;){if(!(e=this.getDisplayedColAfter(e)))return null;for(var i=e.getParent();i.getOriginalColumnGroup().getLevel()!==o;)i=i.getParent();if(i!==t)return i}},t.prototype.isPinningLeft=function(){return this.displayedLeftColumns.length>0},t.prototype.isPinningRight=function(){return this.displayedRightColumns.length>0},t.prototype.getPrimaryAndSecondaryAndAutoColumns=function(){var t=this.primaryColumns?this.primaryColumns.slice(0):[];return this.groupAutoColumns&&R._.exists(this.groupAutoColumns)&&this.groupAutoColumns.forEach((function(e){return t.push(e)})),this.secondaryColumnsPresent&&this.secondaryColumns&&this.secondaryColumns.forEach((function(e){return t.push(e)})),t},t.prototype.createStateItemFromColumn=function(t){var e=t.isRowGroupActive()?this.rowGroupColumns.indexOf(t):null,o=t.isPivotActive()?this.pivotColumns.indexOf(t):null,i=t.isValueActive()?t.getAggFunc():null;return{colId:t.getColId(),hide:!t.isVisible(),aggFunc:i,width:t.getActualWidth(),pivotIndex:o,pinned:t.getPinned(),rowGroupIndex:e}},t.prototype.getColumnState=function(){if(R._.missing(this.primaryColumns))return[];var t=this.primaryColumns.map(this.createStateItemFromColumn.bind(this)),e=(this.groupAutoColumns?this.groupAutoColumns.map(this.createStateItemFromColumn.bind(this)):[]).concat(t);return this.pivotMode||this.orderColumnStateList(e),e},t.prototype.orderColumnStateList=function(t){var e=this.gridColumns.map((function(t){return t.getColId()}));t.sort((function(t,o){return e.indexOf(t.colId)-e.indexOf(o.colId)}))},t.prototype.resetColumnState=function(t,e){void 0===t&&(t=!1),void 0===e&&(e="api");var o=this.getColumnsFromTree(this.primaryColumnTree),i=[],n=1e3,r=1e3;o&&o.forEach((function(t){var e=t.getColDef().rowGroupIndex,o=t.getColDef().rowGroup,s=t.getColDef().pivotIndex,a=t.getColDef().pivot,l={colId:t.getColId(),aggFunc:t.getColDef().aggFunc,hide:t.getColDef().hide,pinned:t.getColDef().pinned,rowGroupIndex:e,pivotIndex:t.getColDef().pivotIndex,width:t.getColDef().width};R._.missing(e)&&o&&(l.rowGroupIndex=n++),R._.missing(s)&&a&&(l.pivotIndex=r++),i.push(l)})),this.setColumnState(i,t,e)},t.prototype.setColumnState=function(t,e,o){var i=this;if(void 0===e&&(e=!1),void 0===o&&(o="api"),R._.missingOrEmpty(this.primaryColumns))return!1;var n=this.getColumnState();this.autoGroupsNeedBuilding=!0;var r=this.primaryColumns.slice();this.rowGroupColumns=[],this.valueColumns=[],this.pivotColumns=[];var s=!0,a={},l={},p=[];if(t&&t.forEach((function(t){if(R._.exists(i.getAutoColumn(t.colId)))p.push(t);else{var e=i.getPrimaryColumn(t.colId);e?(i.syncColumnWithStateItem(e,t,a,l,o),R._.removeFromArray(r,e)):(console.warn("ag-grid: column "+t.colId+" not found"),s=!1)}})),r.forEach(this.syncColumnWithNoState.bind(this)),this.rowGroupColumns.sort(this.sortColumnListUsingIndexes.bind(this,a)),this.pivotColumns.sort(this.sortColumnListUsingIndexes.bind(this,l)),this.updateGridColumns(),p.forEach((function(t){var e=i.getAutoColumn(t.colId);i.syncColumnWithStateItem(e,t,a,l,o)})),t){var u=t.map((function(t){return t.colId}));this.gridColumns.sort((function(t,e){return u.indexOf(t.getId())-u.indexOf(e.getId())}))}if(this.updateDisplayedColumns(o),!e){var c={type:y.Events.EVENT_COLUMN_EVERYTHING_CHANGED,api:this.gridApi,columnApi:this.columnApi,source:o};this.eventService.dispatchEvent(c)}return this.raiseColumnEvents(n,o),s},t.prototype.raiseColumnEvents=function(t,e){var o=this;if(!this.gridOptionsWrapper.isSuppressSetColumnStateEvents()){var i=this.getColumnState(),n=function(n,r,s){if(!R._.compareArrays(t.map(r).sort(),i.map(r).sort())){var a={type:n,columns:s,column:1===s.length?s[0]:null,api:o.gridApi,columnApi:o.columnApi,source:e};o.eventService.dispatchEvent(a)}},r=function(e){var i=[],n={};return t.forEach((function(t){n[t.colId]=t})),o.gridColumns.forEach((function(t){var o=n[t.getColId()];o&&!e(o,t)||i.push(t)})),i};n(y.Events.EVENT_COLUMN_VALUE_CHANGED,(function(t){return t.colId+"-"+t.aggFunc}),this.valueColumns),n(y.Events.EVENT_COLUMN_PIVOT_CHANGED,(function(t){return t.colId+"-"+t.pivotIndex}),this.pivotColumns),n(y.Events.EVENT_COLUMN_ROW_GROUP_CHANGED,(function(t){return t.colId+"-"+t.rowGroupIndex}),this.rowGroupColumns),this.raiseColumnPinnedEvent(r((function(t,e){return t.pinned!==e.getPinned()})),e);var s=r((function(t,e){return t.hide===e.isVisible()}));this.raiseColumnVisibleEvent(s,e),this.raiseColumnResizeEvent(r((function(t,e){return t.width!==e.getActualWidth()})),e),this.raiseColumnMovedEvent(t,e)}},t.prototype.raiseColumnPinnedEvent=function(t,e){if(t.length>0){var o={type:y.Events.EVENT_COLUMN_PINNED,pinned:null,columns:t,column:null,api:this.gridApi,columnApi:this.columnApi,source:e};this.eventService.dispatchEvent(o)}},t.prototype.raiseColumnVisibleEvent=function(t,e){if(t.length>0){var o={type:y.Events.EVENT_COLUMN_VISIBLE,visible:void 0,columns:t,column:null,api:this.gridApi,columnApi:this.columnApi,source:e};this.eventService.dispatchEvent(o)}},t.prototype.raiseColumnResizeEvent=function(t,e){if(t.length>0){var o={type:y.Events.EVENT_COLUMN_RESIZED,columns:t,column:null,finished:!0,api:this.gridApi,columnApi:this.columnApi,source:e};this.eventService.dispatchEvent(o)}},t.prototype.raiseColumnMovedEvent=function(t,e){for(var o=[],i=this.getColumnState(),n=function(e){var n=t[e],s=i[e];if(!n||s.hide)return"continue";if(n.colId!==s.colId){var a=R._.find(r.allDisplayedColumns,(function(t){return t.getColId()===s.colId}));o.push(a)}},r=this,s=0;s<i.length;s++)n(s);if(o.length>0){var a={type:y.Events.EVENT_COLUMN_MOVED,columns:o,column:null,toIndex:void 0,api:this.gridApi,columnApi:this.columnApi,source:e};this.eventService.dispatchEvent(a)}},t.prototype.sortColumnListUsingIndexes=function(t,e,o){return t[e.getId()]-t[o.getId()]},t.prototype.syncColumnWithNoState=function(t,e){t.setVisible(!1,e),t.setAggFunc(null),t.setPinned(null),t.setRowGroupActive(!1,e),t.setPivotActive(!1,e),t.setValueActive(!1,e)},t.prototype.syncColumnWithStateItem=function(t,e,o,i,n){if(t){t.setVisible(!e.hide,n),t.setPinned(e.pinned);var r=this.gridOptionsWrapper.getMinColWidth();e.width&&r&&e.width>=r&&t.setActualWidth(e.width,n),"string"==typeof e.aggFunc?(t.setAggFunc(e.aggFunc),t.setValueActive(!0,n),this.valueColumns.push(t)):(R._.exists(e.aggFunc)&&console.warn("ag-Grid: stateItem.aggFunc must be a string. if using your own aggregation functions, register the functions first before using them in get/set state. This is because it isintended for the column state to be stored and retrieved as simple JSON."),t.setAggFunc(null),t.setValueActive(!1,n)),"number"==typeof e.rowGroupIndex?(this.rowGroupColumns.push(t),t.setRowGroupActive(!0,n),o[t.getId()]=e.rowGroupIndex):t.setRowGroupActive(!1,n),"number"==typeof e.pivotIndex?(this.pivotColumns.push(t),t.setPivotActive(!0,n),i[t.getId()]=e.pivotIndex):t.setPivotActive(!1,n)}},t.prototype.getGridColumns=function(t){return this.getColumns(t,this.getGridColumn.bind(this))},t.prototype.getColumns=function(t,e){var o=[];return t&&t.forEach((function(t){var i=e(t);i&&o.push(i)})),o},t.prototype.getColumnWithValidation=function(t){var e=this.getPrimaryColumn(t);return e||console.warn("ag-Grid: could not find column "+e),e},t.prototype.getPrimaryColumn=function(t){return this.getColumn(t,this.primaryColumns)},t.prototype.getGridColumn=function(t){return this.getColumn(t,this.gridColumns)},t.prototype.getColumn=function(t,e){if(!t)return null;for(var o=0;o<e.length;o++)if(this.columnsMatch(e[o],t))return e[o];return this.getAutoColumn(t)},t.prototype.getAutoColumn=function(t){var e=this;return this.groupAutoColumns&&R._.exists(this.groupAutoColumns)&&!R._.missing(this.groupAutoColumns)?R._.find(this.groupAutoColumns,(function(o){return e.columnsMatch(o,t)})):null},t.prototype.columnsMatch=function(t,e){var o=t===e,i=t.getColDef()===e,n=t.getColId()==e;return o||i||n},t.prototype.getDisplayNameForColumn=function(t,e,o){if(void 0===o&&(o=!1),!t)return null;var i=this.getHeaderName(t.getColDef(),t,null,null,e);return o?this.wrapHeaderNameWithAggFunc(t,i):i},t.prototype.getDisplayNameForOriginalColumnGroup=function(t,e,o){var i=e?e.getColGroupDef():null;return i?this.getHeaderName(i,null,t,e,o):null},t.prototype.getDisplayNameForColumnGroup=function(t,e){return this.getDisplayNameForOriginalColumnGroup(t,t.getOriginalColumnGroup(),e)},t.prototype.getHeaderName=function(t,e,o,i,n){var r=t.headerValueGetter;if(r){var s={colDef:t,column:e,columnGroup:o,originalColumnGroup:i,location:n,api:this.gridOptionsWrapper.getApi(),context:this.gridOptionsWrapper.getContext()};return"function"==typeof r?r(s):"string"==typeof r?this.expressionService.evaluate(r,s):(console.warn("ag-grid: headerValueGetter must be a function or a string"),"")}return null!=t.headerName?t.headerName:t.field?R._.camelCaseToHumanText(t.field):""},t.prototype.wrapHeaderNameWithAggFunc=function(t,e){if(this.gridOptionsWrapper.isSuppressAggFuncInHeader())return e;var o,i=t.getColDef().pivotValueColumn,n=null;if(R._.exists(i))n=i?i.getAggFunc():null,o=!0;else{var r=t.isValueActive(),s=this.pivotMode||!this.isRowGroupEmpty();r&&s?(n=t.getAggFunc(),o=!0):o=!1}if(o){var a="string"==typeof n?n:"func";return this.gridOptionsWrapper.getLocaleTextFunc()(a,a)+"("+e+")"}return e},t.prototype.getColumnGroup=function(t,e){if(!t)return null;if(t instanceof s.ColumnGroup)return t;var o=this.getAllDisplayedColumnGroups(),i="number"==typeof e,n=null;return this.columnUtils.depthFirstAllColumnTreeSearch(o,(function(o){if(o instanceof s.ColumnGroup){var r=o;(i?t===r.getGroupId()&&e===r.getInstanceId():t===r.getGroupId())&&(n=r)}})),n},t.prototype.isReady=function(){return this.ready},t.prototype.createValueColumns=function(t,e){this.valueColumns=this.extractColumns(e,this.valueColumns,(function(e,o){return e.setValueActive(o,t)}),(function(){return null}),(function(t){return!!t.aggFunc})),this.valueColumns.forEach((function(t){t.getAggFunc()||t.setAggFunc(t.getColDef().aggFunc)}))},t.prototype.extractRowGroupColumns=function(t,e){this.rowGroupColumns=this.extractColumns(e,this.rowGroupColumns,(function(e,o){return e.setRowGroupActive(o,t)}),(function(t){return t.rowGroupIndex}),(function(t){return t.rowGroup}))},t.prototype.extractColumns=function(t,e,o,i,n){var r=this;e||(e=[]);var s=e.filter((function(t){return r.primaryColumns.indexOf(t)<0})),a=e.filter((function(t){return r.primaryColumns.indexOf(t)>=0})),l=this.primaryColumns.filter((function(e){return!t||t.indexOf(e)<0}));s.forEach((function(t){return o(t,!1)}));var p=[];return l.forEach((function(t){"number"==typeof i(t.getColDef())&&p.push(t)})),p.sort((function(t,e){var o=i(t.getColDef()),n=i(e.getColDef());return o===n?0:o<n?-1:1})),l.forEach((function(t){if(n(t.getColDef())){if(p.indexOf(t)>=0)return;p.push(t)}})),p.forEach((function(t){return o(t,!0)})),a.concat(p)},t.prototype.extractPivotColumns=function(t,e){this.pivotColumns=this.extractColumns(e,this.pivotColumns,(function(e,o){return e.setPivotActive(o,t)}),(function(t){return t.pivotIndex}),(function(t){return t.pivot}))},t.prototype.resetColumnGroupState=function(t){void 0===t&&(t="api");var e=[];this.columnUtils.depthFirstOriginalTreeSearch(null,this.primaryColumnTree,(function(t){if(t instanceof m.OriginalColumnGroup){var o={groupId:t.getGroupId(),open:t.getColGroupDef().openByDefault};e.push(o)}})),this.setColumnGroupState(e,t)},t.prototype.getColumnGroupState=function(){var t=[];return this.columnUtils.depthFirstOriginalTreeSearch(null,this.gridBalancedTree,(function(e){if(e instanceof m.OriginalColumnGroup){var o=e;t.push({groupId:o.getGroupId(),open:o.isExpanded()})}})),t},t.prototype.setColumnGroupState=function(t,e){var o=this;void 0===e&&(e="api"),this.columnAnimationService.start();var i=[];t.forEach((function(t){var e=t.groupId,n=t.open,r=o.getOriginalColumnGroup(e);r&&r.isExpanded()!==n&&(o.logger.log("columnGroupOpened("+r.getGroupId()+","+n+")"),r.setExpanded(n),i.push(r))})),this.updateGroupsAndDisplayedColumns(e),i.forEach((function(t){var e={type:y.Events.EVENT_COLUMN_GROUP_OPENED,columnGroup:t,api:o.gridApi,columnApi:o.columnApi};o.eventService.dispatchEvent(e)})),this.columnAnimationService.finish()},t.prototype.setColumnGroupOpened=function(t,e,o){var i;void 0===o&&(o="api"),i=t instanceof m.OriginalColumnGroup?t.getId():t,this.setColumnGroupState([{groupId:i,open:e}],o)},t.prototype.getOriginalColumnGroup=function(t){if(t instanceof m.OriginalColumnGroup)return t;"string"!=typeof t&&console.error("ag-Grid: group key must be a string");var e=null;return this.columnUtils.depthFirstOriginalTreeSearch(null,this.gridBalancedTree,(function(o){if(o instanceof m.OriginalColumnGroup){var i=o;i.getId()===t&&(e=i)}})),e},t.prototype.calculateColumnsForDisplay=function(){var t=this;return this.pivotMode&&!this.secondaryColumnsPresent?R._.filter(this.gridColumns,(function(e){var o=t.groupAutoColumns&&t.groupAutoColumns.indexOf(e)>=0,i=t.valueColumns&&t.valueColumns.indexOf(e)>=0;return o||i})):R._.filter(this.gridColumns,(function(e){return t.groupAutoColumns&&t.groupAutoColumns.indexOf(e)>=0||e.isVisible()}))},t.prototype.checkColSpanActiveInCols=function(t){var e=!1;return t.forEach((function(t){R._.exists(t.getColDef().colSpan)&&(e=!0)})),e},t.prototype.calculateColumnsForGroupDisplay=function(){var t=this;this.groupDisplayColumns=[];var e=function(e){var o=e.getColDef();o&&R._.exists(o.showRowGroup)&&t.groupDisplayColumns.push(e)};this.gridColumns.forEach(e),this.groupAutoColumns&&this.groupAutoColumns.forEach(e)},t.prototype.getGroupDisplayColumns=function(){return this.groupDisplayColumns},t.prototype.updateDisplayedColumns=function(t){var e=this.calculateColumnsForDisplay();this.buildDisplayedTrees(e),this.calculateColumnsForGroupDisplay(),this.updateGroupsAndDisplayedColumns(t),this.setFirstRightAndLastLeftPinned(t)},t.prototype.isSecondaryColumnsPresent=function(){return this.secondaryColumnsPresent},t.prototype.setSecondaryColumns=function(t,e){void 0===e&&(e="api");var o=t&&t.length>0;if(o||this.secondaryColumnsPresent){if(o){this.processSecondaryColumnDefinitions(t);var i=this.columnFactory.createColumnTree(t,!1);this.secondaryBalancedTree=i.columnTree,this.secondaryHeaderRowCount=i.treeDept+1,this.secondaryColumns=this.getColumnsFromTree(this.secondaryBalancedTree),this.secondaryColumnsPresent=!0}else this.secondaryBalancedTree=null,this.secondaryHeaderRowCount=-1,this.secondaryColumns=null,this.secondaryColumnsPresent=!1;this.updateGridColumns(),this.updateDisplayedColumns(e)}},t.prototype.processSecondaryColumnDefinitions=function(t){var e=this.gridOptionsWrapper.getProcessSecondaryColDefFunc(),o=this.gridOptionsWrapper.getProcessSecondaryColGroupDefFunc();(e||o)&&t&&function t(i){i.forEach((function(i){if(R._.exists(i.children)){var n=i;o&&o(n),t(n.children)}else e&&e(i)}))}(t)},t.prototype.updateGridColumns=function(){this.gridColsArePrimary&&(this.lastPrimaryOrder=this.gridColumns),this.secondaryColumns&&this.secondaryBalancedTree?(this.gridBalancedTree=this.secondaryBalancedTree.slice(),this.gridHeaderRowCount=this.secondaryHeaderRowCount,this.gridColumns=this.secondaryColumns.slice(),this.gridColsArePrimary=!1):(this.gridBalancedTree=this.primaryColumnTree.slice(),this.gridHeaderRowCount=this.primaryHeaderRowCount,this.gridColumns=this.primaryColumns.slice(),this.gridColsArePrimary=!0,this.orderGridColsLikeLastPrimary()),this.addAutoGroupToGridColumns(),this.autoRowHeightColumns=this.gridColumns.filter((function(t){return t.getColDef().autoHeight})),this.putFixedColumnsFirst(),this.setupQuickFilterColumns(),this.clearDisplayedColumns(),this.colSpanActive=this.checkColSpanActiveInCols(this.gridColumns);var t={type:y.Events.EVENT_GRID_COLUMNS_CHANGED,api:this.gridApi,columnApi:this.columnApi};this.eventService.dispatchEvent(t)},t.prototype.orderGridColsLikeLastPrimary=function(){var t=this;if(!R._.missing(this.lastPrimaryOrder)){var e=!0;if(this.gridColumns.forEach((function(o){t.lastPrimaryOrder.indexOf(o)>=0&&(e=!1)})),!e){var o=this.lastPrimaryOrder.filter((function(e){return t.gridColumns.indexOf(e)>=0})),i=this.gridColumns.filter((function(t){return o.indexOf(t)<0})),n=o.slice();i.forEach((function(t){var e=t.getOriginalParent();if(e){for(var o=[];!o.length&&e;)e.getLeafColumns().forEach((function(t){var e=n.indexOf(t)>=0,i=o.indexOf(t)<0;e&&i&&o.push(t)})),e=e.getOriginalParent();if(o.length){var i=o.map((function(t){return n.indexOf(t)})),r=Math.max.apply(Math,i);R._.insertIntoArray(n,t,r+1)}else n.push(t)}else n.push(t)})),this.gridColumns=n}}},t.prototype.isPrimaryColumnGroupsPresent=function(){return this.primaryHeaderRowCount>1},t.prototype.setupQuickFilterColumns=function(){this.groupAutoColumns?this.columnsForQuickFilter=this.primaryColumns.concat(this.groupAutoColumns):this.columnsForQuickFilter=this.primaryColumns},t.prototype.putFixedColumnsFirst=function(){var t=this.gridColumns.filter((function(t){return t.isLockPosition()})),e=this.gridColumns.filter((function(t){return!t.isLockPosition()}));this.gridColumns=t.concat(e)},t.prototype.addAutoGroupToGridColumns=function(){if(this.createGroupAutoColumnsIfNeeded(),!R._.missing(this.groupAutoColumns)){this.gridColumns=this.groupAutoColumns?this.groupAutoColumns.concat(this.gridColumns):this.gridColumns;var t=this.columnFactory.createForAutoGroups(this.groupAutoColumns,this.gridBalancedTree);this.gridBalancedTree=t.concat(this.gridBalancedTree)}},t.prototype.clearDisplayedColumns=function(){this.displayedLeftColumnTree=[],this.displayedRightColumnTree=[],this.displayedCentreColumnTree=[],this.displayedLeftHeaderRows={},this.displayedRightHeaderRows={},this.displayedCentreHeaderRows={},this.displayedLeftColumns=[],this.displayedRightColumns=[],this.displayedCenterColumns=[],this.allDisplayedColumns=[],this.allDisplayedVirtualColumns=[]},t.prototype.updateGroupsAndDisplayedColumns=function(t){this.updateOpenClosedVisibilityInColumnGroups(),this.updateDisplayedColumnsFromTrees(t),this.updateVirtualSets(),this.updateBodyWidths();var e={type:y.Events.EVENT_DISPLAYED_COLUMNS_CHANGED,api:this.gridApi,columnApi:this.columnApi};this.eventService.dispatchEvent(e)},t.prototype.updateDisplayedColumnsFromTrees=function(t){this.addToDisplayedColumns(this.displayedLeftColumnTree,this.displayedLeftColumns),this.addToDisplayedColumns(this.displayedCentreColumnTree,this.displayedCenterColumns),this.addToDisplayedColumns(this.displayedRightColumnTree,this.displayedRightColumns),this.setupAllDisplayedColumns(),this.setLeftValues(t)},t.prototype.setupAllDisplayedColumns=function(){this.gridOptionsWrapper.isEnableRtl()?this.allDisplayedColumns=this.displayedRightColumns.concat(this.displayedCenterColumns).concat(this.displayedLeftColumns):this.allDisplayedColumns=this.displayedLeftColumns.concat(this.displayedCenterColumns).concat(this.displayedRightColumns)},t.prototype.setLeftValues=function(t){this.setLeftValuesOfColumns(t),this.setLeftValuesOfGroups()},t.prototype.setLeftValuesOfColumns=function(t){var e=this,o=this.primaryColumns.slice(0),i=this.gridOptionsWrapper.isEnableRtl();[this.displayedLeftColumns,this.displayedRightColumns,this.displayedCenterColumns].forEach((function(n){if(i){var r=e.getWidthOfColsInList(n);n.forEach((function(e){r-=e.getActualWidth(),e.setLeft(r,t)}))}else{var s=0;n.forEach((function(e){e.setLeft(s,t),s+=e.getActualWidth()}))}R._.removeAllFromArray(o,n)})),o.forEach((function(e){e.setLeft(null,t)}))},t.prototype.setLeftValuesOfGroups=function(){[this.displayedLeftColumnTree,this.displayedRightColumnTree,this.displayedCentreColumnTree].forEach((function(t){t.forEach((function(t){t instanceof s.ColumnGroup&&t.checkLeft()}))}))},t.prototype.addToDisplayedColumns=function(t,e){e.length=0,this.columnUtils.depthFirstDisplayedColumnTreeSearch(t,(function(t){t instanceof a.Column&&e.push(t)}))},t.prototype.updateDisplayedCenterVirtualColumns=function(){this.suppressColumnVirtualisation?this.allDisplayedCenterVirtualColumns=this.displayedCenterColumns:this.allDisplayedCenterVirtualColumns=this.filterOutColumnsWithinViewport(),this.allDisplayedVirtualColumns=this.allDisplayedCenterVirtualColumns.concat(this.displayedLeftColumns).concat(this.displayedRightColumns);var t={};return this.allDisplayedVirtualColumns.forEach((function(e){t[e.getId()]=!0})),t},t.prototype.getVirtualHeaderGroupRow=function(t,e){var o;switch(t){case a.Column.PINNED_LEFT:o=this.displayedLeftHeaderRows[e];break;case a.Column.PINNED_RIGHT:o=this.displayedRightHeaderRows[e];break;default:o=this.displayedCentreHeaderRows[e]}return R._.missing(o)&&(o=[]),o},t.prototype.updateDisplayedVirtualGroups=function(t){function e(o,i,n){for(var r=!1,s=0;s<o.length;s++){var l=o[s];(l instanceof a.Column?!0===t[l.getId()]:e(l.getDisplayedChildren(),i,n+1))&&(r=!0,i[n]||(i[n]=[]),i[n].push(l))}return r}this.displayedLeftHeaderRows={},this.displayedRightHeaderRows={},this.displayedCentreHeaderRows={},e(this.displayedLeftColumnTree,this.displayedLeftHeaderRows,0),e(this.displayedRightColumnTree,this.displayedRightHeaderRows,0),e(this.displayedCentreColumnTree,this.displayedCentreHeaderRows,0)},t.prototype.updateVirtualSets=function(){var t=this.updateDisplayedCenterVirtualColumns();this.updateDisplayedVirtualGroups(t)},t.prototype.filterOutColumnsWithinViewport=function(){return R._.filter(this.displayedCenterColumns,this.isColumnInViewport.bind(this))},t.prototype.sizeColumnsToFit=function(t,e){var o=this;void 0===e&&(e="api");var i=this.getAllDisplayedColumns();if(!(t<=0||0===i.length)){for(var n=R._.filter(i,(function(t){return!0===t.getColDef().suppressSizeToFit})),r=R._.filter(i,(function(t){return!0!==t.getColDef().suppressSizeToFit})),s=r.slice(0),a=!1;!a;){a=!0;var l=t-this.getWidthOfColsInList(n);if(l<=0)r.forEach((function(t){t.setMinimum(e)}));else for(var p=l/this.getWidthOfColsInList(r),u=l,c=r.length-1;c>=0;c--){var d=r[c],h=Math.round(d.getActualWidth()*p);h<d.getMinWidth()?(d.setMinimum(e),f(d),a=!1):d.isGreaterThanMax(h)?(d.setActualWidth(d.getMaxWidth(),e),f(d),a=!1):0===c?d.setActualWidth(u,e):d.setActualWidth(h,e),u-=h}}this.setLeftValues(e),this.updateBodyWidths(),s.forEach((function(t){var e={type:y.Events.EVENT_COLUMN_RESIZED,column:t,columns:[t],finished:!0,api:o.gridApi,columnApi:o.columnApi,source:"sizeColumnsToFit"};o.eventService.dispatchEvent(e)}))}function f(t){R._.removeFromArray(r,t),n.push(t)}},t.prototype.buildDisplayedTrees=function(t){var e=R._.filter(t,(function(t){return"left"===t.getPinned()})),o=R._.filter(t,(function(t){return"right"===t.getPinned()})),i=R._.filter(t,(function(t){return"left"!==t.getPinned()&&"right"!==t.getPinned()})),n=new v.GroupInstanceIdCreator;this.displayedLeftColumnTree=this.displayedGroupCreator.createDisplayedGroups(e,this.gridBalancedTree,n,a.Column.PINNED_LEFT,this.displayedLeftColumnTree),this.displayedRightColumnTree=this.displayedGroupCreator.createDisplayedGroups(o,this.gridBalancedTree,n,a.Column.PINNED_RIGHT,this.displayedRightColumnTree),this.displayedCentreColumnTree=this.displayedGroupCreator.createDisplayedGroups(i,this.gridBalancedTree,n,null,this.displayedCentreColumnTree)},t.prototype.updateOpenClosedVisibilityInColumnGroups=function(){var t=this.getAllDisplayedColumnGroups();this.columnUtils.depthFirstAllColumnTreeSearch(t,(function(t){t instanceof s.ColumnGroup&&t.calculateDisplayedColumns()}))},t.prototype.getGroupAutoColumns=function(){return this.groupAutoColumns},t.prototype.createGroupAutoColumnsIfNeeded=function(){if(this.autoGroupsNeedBuilding)if(this.autoGroupsNeedBuilding=!1,!(this.rowGroupColumns.length>0||this.usingTreeData)||this.gridOptionsWrapper.isGroupSuppressAutoColumn()||this.gridOptionsWrapper.isGroupUseEntireRow()||this.gridOptionsWrapper.isGroupSuppressRow())this.groupAutoColumns=null;else{var t=this.autoGroupColService.createAutoGroupColumns(this.rowGroupColumns);!this.autoColsEqual(t,this.groupAutoColumns)&&(this.groupAutoColumns=t)}},t.prototype.autoColsEqual=function(t,e){if(!t&&!e)return!0;if(!t||!e)return!1;if(t.length!==e.length)return!1;for(var o=0;o<t.length;o++){var i=t[o],n=e[o];if(i.getColId()!==n.getColId())return!1}return!0},t.prototype.getWidthOfColsInList=function(t){for(var e=0,o=0;o<t.length;o++)e+=t[o].getActualWidth();return e},t.prototype.getGridBalancedTree=function(){return this.gridBalancedTree},i([C.Autowired("gridOptionsWrapper"),n("design:type",l.GridOptionsWrapper)],t.prototype,"gridOptionsWrapper",void 0),i([C.Autowired("expressionService"),n("design:type",p.ExpressionService)],t.prototype,"expressionService",void 0),i([C.Autowired("columnFactory"),n("design:type",u.ColumnFactory)],t.prototype,"columnFactory",void 0),i([C.Autowired("displayedGroupCreator"),n("design:type",c.DisplayedGroupCreator)],t.prototype,"displayedGroupCreator",void 0),i([C.Autowired("autoWidthCalculator"),n("design:type",d.AutoWidthCalculator)],t.prototype,"autoWidthCalculator",void 0),i([C.Autowired("eventService"),n("design:type",h.EventService)],t.prototype,"eventService",void 0),i([C.Autowired("columnUtils"),n("design:type",f.ColumnUtils)],t.prototype,"columnUtils",void 0),i([C.Autowired("context"),n("design:type",C.Context)],t.prototype,"context",void 0),i([C.Autowired("columnAnimationService"),n("design:type",E.ColumnAnimationService)],t.prototype,"columnAnimationService",void 0),i([C.Autowired("autoGroupColService"),n("design:type",w.AutoGroupColService)],t.prototype,"autoGroupColService",void 0),i([C.Optional("aggFuncService"),n("design:type",Object)],t.prototype,"aggFuncService",void 0),i([C.Optional("valueCache"),n("design:type",_.ValueCache)],t.prototype,"valueCache",void 0),i([C.Autowired("columnApi"),n("design:type",b.ColumnApi)],t.prototype,"columnApi",void 0),i([C.Autowired("gridApi"),n("design:type",S.GridApi)],t.prototype,"gridApi",void 0),i([C.PostConstruct,n("design:type",Function),n("design:paramtypes",[]),n("design:returntype",void 0)],t.prototype,"init",null),i([r(0,C.Qualifier("loggerFactory")),n("design:type",Function),n("design:paramtypes",[g.LoggerFactory]),n("design:returntype",void 0)],t.prototype,"setBeans",null),i([C.Bean("columnController")],t)}();e.ColumnController=O},99093:function(t,e,o){var i,n=this&&this.__extends||(i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},i(t,e)},function(t,e){function o(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),r=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},s=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var a=o(72493),l=o(22131),p=o(44081),u=o(47721),c=o(83423),d=function(t){function e(){return t.call(this,e.TEMPLATE)||this}return n(e,t),e.prototype.init=function(t){var e=c._.createIconNoSpan("groupLoading",this.gridOptionsWrapper,null);this.eLoadingIcon.appendChild(e);var o=this.gridOptionsWrapper.getLocaleTextFunc();this.eLoadingText.innerText=o("loadingOoo","Loading")},e.prototype.refresh=function(t){return!1},e.TEMPLATE='<div class="ag-stub-cell">\n <span class="ag-loading-icon" ref="eLoadingIcon"></span>\n <span class="ag-loading-text" ref="eLoadingText"></span>\n </div>',r([a.Autowired("gridOptionsWrapper"),s("design:type",p.GridOptionsWrapper)],e.prototype,"gridOptionsWrapper",void 0),r([u.RefSelector("eLoadingIcon"),s("design:type",HTMLElement)],e.prototype,"eLoadingIcon",void 0),r([u.RefSelector("eLoadingText"),s("design:type",HTMLElement)],e.prototype,"eLoadingText",void 0),e}(l.Component);e.LoadingCellRenderer=d},99104:function(t,e,o){var i,n=this&&this.__extends||(i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},i(t,e)},function(t,e){function o(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),r=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},s=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var a=o(13650),l=o(47721),p=o(83423),u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.getDefaultType=function(){return a.BaseFilter.CONTAINS},e.prototype.customInit=function(){this.comparator=this.filterParams.textCustomComparator?this.filterParams.textCustomComparator:e.DEFAULT_COMPARATOR,this.formatter=this.filterParams.textFormatter?this.filterParams.textFormatter:1==this.filterParams.caseSensitive?e.DEFAULT_FORMATTER:e.DEFAULT_LOWERCASE_FORMATTER,t.prototype.customInit.call(this)},e.prototype.modelFromFloatingFilter=function(t){return{type:this.selectedFilter,filter:t,filterType:"text"}},e.prototype.getApplicableFilterTypes=function(){return[a.BaseFilter.EQUALS,a.BaseFilter.NOT_EQUAL,a.BaseFilter.STARTS_WITH,a.BaseFilter.ENDS_WITH,a.BaseFilter.CONTAINS,a.BaseFilter.NOT_CONTAINS]},e.prototype.bodyTemplate=function(t){var e=this.translate.bind(this);return'<div class="ag-filter-body">\n <div class="ag-input-text-wrapper">\n <input class="ag-filter-filter" id='+(t==a.FilterConditionType.MAIN?"filterText":"filterConditionText")+' type="text" placeholder="'+e("filterOoo","Filter...")+'"/>\n </div>\n </div>'},e.prototype.initialiseFilterBodyUi=function(e){t.prototype.initialiseFilterBodyUi.call(this,e),this.addFilterChangedListener(e),this.setFilter(this.filterConditionText,a.FilterConditionType.CONDITION),this.setFilterType(this.selectedFilterCondition,a.FilterConditionType.CONDITION)},e.prototype.addFilterChangedListener=function(t){var e=this,o=t===a.FilterConditionType.MAIN?this.eFilterTextField:this.eFilterConditionTextField,i=this.getDebounceMs(this.filterParams),n=p._.debounce((function(){return e.onFilterTextFieldChanged(t)}),i);this.addDestroyableEventListener(o,"input",n)},e.prototype.refreshFilterBodyUi=function(t){var e=t===a.FilterConditionType.MAIN?this.selectedFilter:this.selectedFilterCondition;this.eFilterConditionTextField&&this.addFilterChangedListener(a.FilterConditionType.CONDITION);var o=t===a.FilterConditionType.MAIN?this.eFilterTextField:this.eFilterConditionTextField;if(o){var i=!this.doesFilterHaveHiddenInput(e)&&e!==a.BaseFilter.EMPTY;p._.setVisible(o,i)}},e.prototype.afterGuiAttached=function(){this.eFilterTextField.focus()},e.prototype.filterValues=function(t){return t===a.FilterConditionType.MAIN?this.filterText:this.filterConditionText},e.prototype.individualFilterPasses=function(t,e){var o=e==a.FilterConditionType.MAIN?this.filterText:this.filterConditionText,i=e==a.FilterConditionType.MAIN?this.selectedFilter:this.selectedFilterCondition,n=this.customFilterOptions[i];if(n&&(null!=o||n.hideFilterInput)){var r=this.filterParams.valueGetter(t.node),s=this.formatter(r);return n.test(o,s)}return o?this.checkIndividualFilter(t,i,o):e===a.FilterConditionType.MAIN||"AND"===this.conditionValue},e.prototype.checkIndividualFilter=function(t,e,o){var i=this.filterParams.valueGetter(t.node),n=this.formatter(o);if(null==i||void 0===i)return e===a.BaseFilter.NOT_EQUAL||e===a.BaseFilter.NOT_CONTAINS;var r=this.formatter(i);return this.comparator(e,r,n)},e.prototype.onFilterTextFieldChanged=function(t){var e=t===a.FilterConditionType.MAIN?this.eFilterTextField.value:this.eFilterConditionTextField.value,o=t===a.FilterConditionType.MAIN?this.filterText:this.filterConditionText,i=p._.makeNull(e);if(i&&""===i.trim()&&(i=null),o!==i){var n=i&&1!=this.filterParams.caseSensitive?i.toLowerCase():i,r=o&&1!=this.filterParams.caseSensitive?o.toLowerCase():o;t===a.FilterConditionType.MAIN?this.filterText=this.formatter(i):this.filterConditionText=this.formatter(i),r!==n&&this.onFilterChanged()}},e.prototype.setFilter=function(t,e){if(t=p._.makeNull(t),e===a.FilterConditionType.MAIN)if(t){if(this.filterText=this.formatter(t),!this.eFilterTextField)return;this.eFilterTextField.value=t}else{if(this.filterText=null,!this.eFilterTextField)return;this.eFilterTextField.value=null}else if(t){if(this.filterConditionText=this.formatter(t),!this.eFilterConditionTextField)return;this.eFilterConditionTextField.value=t}else{if(this.filterConditionText=null,!this.eFilterConditionTextField)return;this.eFilterConditionTextField.value=null}},e.prototype.getFilter=function(){return this.filterText},e.prototype.resetState=function(t){void 0===t&&(t=!1),t||(this.setFilterType(this.defaultFilter,a.FilterConditionType.MAIN),this.setFilter(null,a.FilterConditionType.MAIN)),this.setFilterType(this.defaultFilter,a.FilterConditionType.CONDITION),this.setFilter(null,a.FilterConditionType.CONDITION)},e.prototype.serialize=function(t){var e=t===a.FilterConditionType.MAIN?this.selectedFilter:this.selectedFilterCondition,o=t===a.FilterConditionType.MAIN?this.filterText:this.filterConditionText;return{type:e||this.defaultFilter,filter:o,filterType:"text"}},e.prototype.parse=function(t,e){this.setFilterType(t.type,e),this.setFilter(t.filter,e)},e.prototype.setType=function(t,e){this.setFilterType(t,e)},e.DEFAULT_FORMATTER=function(t){return t},e.DEFAULT_LOWERCASE_FORMATTER=function(t){return null==t?null:t.toString().toLowerCase()},e.DEFAULT_COMPARATOR=function(t,o,i){switch(t){case e.CONTAINS:return o.indexOf(i)>=0;case e.NOT_CONTAINS:return-1===o.indexOf(i);case e.EQUALS:return o===i;case e.NOT_EQUAL:return o!=i;case e.STARTS_WITH:return 0===o.indexOf(i);case e.ENDS_WITH:var n=o.lastIndexOf(i);return n>=0&&n===o.length-i.length;default:return console.warn("invalid filter type "+t),!1}},r([l.QuerySelector("#filterText"),s("design:type",HTMLInputElement)],e.prototype,"eFilterTextField",void 0),r([l.QuerySelector("#filterConditionText"),s("design:type",HTMLInputElement)],e.prototype,"eFilterConditionTextField",void 0),e}(a.ComparableBaseFilter);e.TextFilter=u},99162:function(t,e,o){var i,n=this&&this.__extends||(i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},i(t,e)},function(t,e){function o(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),r=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},s=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},a=this&&this.__param||function(t,e){return function(o,i){e(o,i,t)}};Object.defineProperty(e,"__esModule",{value:!0});var l=o(72493),p=o(60843),u=o(63405),c=o(37132),d=o(28921),h=o(65802),f=o(40797),g=o(44871),y=function(t){function e(e){return t.call(this,e)||this}return n(e,t),e.prototype.setBeans=function(t){this.logger=t.create("InfiniteCache")},e.prototype.init=function(){t.prototype.init.call(this),this.getRow(0)},e.prototype.moveItemsDown=function(t,e,o){for(var i=t.getStartRow(),n=e+o,r=t.getEndRow()-1;r>=i;r--)if(!(r<n)){var s=r-o,a=this.getRow(s,!0);a?t.setRowNode(r,a):(t.setBlankRowNode(r),t.setDirty())}},e.prototype.insertItems=function(t,e,o){for(var i=t.getStartRow(),n=t.getEndRow(),r=[],s=0;s<o.length;s++){var a=e+s;if(a>=i&&a<n){var l=o[s],p=t.setNewData(a,l);r.push(p)}}return r},e.prototype.insertItemsAtIndex=function(t,e){var o=this,i=[];this.forEachBlockInReverseOrder((function(n){n.getEndRow()<=t||(o.moveItemsDown(n,t,e.length),o.insertItems(n,t,e).forEach((function(t){return i.push(t)})))})),this.isMaxRowFound()&&this.hack_setVirtualRowCount(this.getVirtualRowCount()+e.length),this.onCacheUpdated();var n={type:u.Events.EVENT_ROW_DATA_UPDATED,api:this.gridApi,columnApi:this.columnApi};this.eventService.dispatchEvent(n)},e.prototype.getRow=function(t,e){void 0===e&&(e=!1);var o=Math.floor(t/this.cacheParams.blockSize),i=this.getBlock(o);if(!i){if(e)return null;i=this.createBlock(o)}return i.getRow(t)},e.prototype.createBlock=function(t){var e=new d.InfiniteBlock(t,this.cacheParams);return this.getContext().wireBean(e),this.postCreateBlock(e),e},e.prototype.refreshCache=function(){this.forEachBlockInOrder((function(t){return t.setDirty()})),this.checkBlockToLoad()},r([l.Autowired("eventService"),s("design:type",p.EventService)],e.prototype,"eventService",void 0),r([l.Autowired("columnApi"),s("design:type",g.ColumnApi)],e.prototype,"columnApi",void 0),r([l.Autowired("gridApi"),s("design:type",f.GridApi)],e.prototype,"gridApi",void 0),r([a(0,l.Qualifier("loggerFactory")),s("design:type",Function),s("design:paramtypes",[c.LoggerFactory]),s("design:returntype",void 0)],e.prototype,"setBeans",null),r([l.PostConstruct,s("design:type",Function),s("design:paramtypes",[]),s("design:returntype",void 0)],e.prototype,"init",null),e}(h.RowNodeCache);e.InfiniteCache=y},99533:function(t,e,o){var i,n=this&&this.__extends||(i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])},i(t,e)},function(t,e){function o(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),r=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},s=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var a=o(22131),l=o(72493),p=o(44081),u=o(47721),c=o(60843),d=o(63405),h=o(10042),f=o(41451),g=o(83423),y=function(t){function e(){return t.call(this)||this}return n(e,t),e.prototype.postConstruct=function(){this.setTemplate(this.getTemplate()),this.gridOptionsWrapper.isPagination()&&!this.gridOptionsWrapper.isSuppressPaginationPanel()?(this.addDestroyableEventListener(this.eventService,d.Events.EVENT_PAGINATION_CHANGED,this.onPaginationChanged.bind(this)),this.addDestroyableEventListener(this.btFirst,"click",this.onBtFirst.bind(this)),this.addDestroyableEventListener(this.btLast,"click",this.onBtLast.bind(this)),this.addDestroyableEventListener(this.btNext,"click",this.onBtNext.bind(this)),this.addDestroyableEventListener(this.btPrevious,"click",this.onBtPrevious.bind(this)),this.onPaginationChanged()):this.setVisible(!1)},e.prototype.onPaginationChanged=function(){this.enableOrDisableButtons(),this.updateRowLabels(),this.setCurrentPageLabel(),this.setTotalLabels()},e.prototype.setCurrentPageLabel=function(){var t=this.paginationProxy.getTotalPages()>0,e=this.paginationProxy.getCurrentPage(),o=t?e+1:0;this.lbCurrent.innerHTML=this.formatNumber(o)},e.prototype.formatNumber=function(t){var e=this.gridOptionsWrapper.getPaginationNumberFormatterFunc();return e?e({value:t}):g._.formatNumberCommas(t)},e.prototype.getTemplate=function(){var t=this.gridOptionsWrapper.getLocaleTextFunc(),e=t("page","Page"),o=t("to","to"),i=t("of","of");return'<div class="ag-paging-panel ag-unselectable">\n <span ref="eSummaryPanel" class="ag-paging-row-summary-panel">\n <span ref="lbFirstRowOnPage"></span> '+o+' <span ref="lbLastRowOnPage"></span> '+i+' <span ref="lbRecordCount"></span>\n </span>\n <span class="ag-paging-page-summary-panel">\n <button type="button" class="ag-paging-button" ref="btFirst">'+t("first","First")+'</button>\n <button type="button" class="ag-paging-button" ref="btPrevious">'+t("previous","Previous")+"</button>\n "+e+' <span ref="lbCurrent"></span> '+i+' <span ref="lbTotal"></span>\n <button type="button" class="ag-paging-button" ref="btNext">'+t("next","Next")+'</button>\n <button type="button" class="ag-paging-button" ref="btLast">'+t("last","Last")+"</button>\n </span>\n </div>"},e.prototype.onBtNext=function(){this.paginationProxy.goToNextPage()},e.prototype.onBtPrevious=function(){this.paginationProxy.goToPreviousPage()},e.prototype.onBtFirst=function(){this.paginationProxy.goToFirstPage()},e.prototype.onBtLast=function(){this.paginationProxy.goToLastPage()},e.prototype.enableOrDisableButtons=function(){var t=this.paginationProxy.getCurrentPage(),e=this.paginationProxy.isLastPageFound(),o=this.paginationProxy.getTotalPages(),i=0===t;this.btPrevious.disabled=i,this.btFirst.disabled=i;var n=this.isZeroPagesToDisplay(),r=e&&t===o-1||n;this.btNext.disabled=r;var s=!e||n||t===o-1;this.btLast.disabled=s},e.prototype.updateRowLabels=function(){var t,e,o=this.paginationProxy.getCurrentPage(),i=this.paginationProxy.getPageSize(),n=this.paginationProxy.isLastPageFound(),r=this.paginationProxy.isLastPageFound()?this.paginationProxy.getTotalRowCount():null;this.isZeroPagesToDisplay()?(t=0,e=0):(e=(t=i*o+1)+i-1,n&&e>r&&(e=r)),this.lbFirstRowOnPage.innerHTML=this.formatNumber(t),this.lbLastRowOnPage.innerHTML=this.formatNumber(e)},e.prototype.isZeroPagesToDisplay=function(){var t=this.paginationProxy.isLastPageFound(),e=this.paginationProxy.getTotalPages();return t&&0===e},e.prototype.setTotalLabels=function(){var t=this.paginationProxy.isLastPageFound(),e=this.paginationProxy.getTotalPages(),o=this.paginationProxy.isLastPageFound()?this.paginationProxy.getTotalRowCount():null;if(t)this.lbTotal.innerHTML=this.formatNumber(e),this.lbRecordCount.innerHTML=this.formatNumber(o);else{var i=this.gridOptionsWrapper.getLocaleTextFunc()("more","more");this.lbTotal.innerHTML=i,this.lbRecordCount.innerHTML=i}},r([l.Autowired("gridOptionsWrapper"),s("design:type",p.GridOptionsWrapper)],e.prototype,"gridOptionsWrapper",void 0),r([l.Autowired("eventService"),s("design:type",c.EventService)],e.prototype,"eventService",void 0),r([l.Autowired("paginationProxy"),s("design:type",f.PaginationProxy)],e.prototype,"paginationProxy",void 0),r([l.Autowired("rowRenderer"),s("design:type",h.RowRenderer)],e.prototype,"rowRenderer",void 0),r([u.RefSelector("btFirst"),s("design:type",HTMLButtonElement)],e.prototype,"btFirst",void 0),r([u.RefSelector("btPrevious"),s("design:type",HTMLButtonElement)],e.prototype,"btPrevious",void 0),r([u.RefSelector("btNext"),s("design:type",HTMLButtonElement)],e.prototype,"btNext",void 0),r([u.RefSelector("btLast"),s("design:type",HTMLButtonElement)],e.prototype,"btLast",void 0),r([u.RefSelector("lbRecordCount"),s("design:type",Object)],e.prototype,"lbRecordCount",void 0),r([u.RefSelector("lbFirstRowOnPage"),s("design:type",Object)],e.prototype,"lbFirstRowOnPage",void 0),r([u.RefSelector("lbLastRowOnPage"),s("design:type",Object)],e.prototype,"lbLastRowOnPage",void 0),r([u.RefSelector("eSummaryPanel"),s("design:type",Object)],e.prototype,"eSummaryPanel",void 0),r([u.RefSelector("lbCurrent"),s("design:type",Object)],e.prototype,"lbCurrent",void 0),r([u.RefSelector("lbTotal"),s("design:type",Object)],e.prototype,"lbTotal",void 0),r([l.PostConstruct,s("design:type",Function),s("design:paramtypes",[]),s("design:returntype",void 0)],e.prototype,"postConstruct",null),e}(a.Component);e.PaginationComp=y},99770:(t,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.DefaultColumnTypes={numericColumn:{headerClass:"ag-numeric-header",cellClass:"ag-numeric-cell"}}}};
|